@@ -919,6 +919,36 @@ def register_device(self, *, timeout: float | None = None, bearer_token: str | N
919919 bearer_token = bearer_token ,
920920 )
921921
922+ def get_push_devices (self , * , timeout : float | None = None , bearer_token : str | None = None , ** request : Any ) -> Any :
923+ """GET /{version}/notifications/push/devices
924+
925+ Narrow the list with userId, deviceKey (the provider token) or
926+ platform (ios, android, chrome, safari, expo).
927+ """
928+ return self ._transport .send (
929+ target = "hub" ,
930+ path = "/{version}/notifications/push/devices" ,
931+ method = "GET" ,
932+ path_params = {},
933+ request = request ,
934+ scope = "project" ,
935+ timeout = timeout ,
936+ bearer_token = bearer_token ,
937+ )
938+
939+ def get_push_device (self , id : str , * , timeout : float | None = None , bearer_token : str | None = None , ** request : Any ) -> Any :
940+ """GET /{version}/notifications/push/devices/{id}"""
941+ return self ._transport .send (
942+ target = "hub" ,
943+ path = "/{version}/notifications/push/devices/{id}" ,
944+ method = "GET" ,
945+ path_params = {"id" : id },
946+ request = request ,
947+ scope = "project" ,
948+ timeout = timeout ,
949+ bearer_token = bearer_token ,
950+ )
951+
922952 def get_all_contacts (self , * , timeout : float | None = None , bearer_token : str | None = None , ** request : Any ) -> Any :
923953 """GET /{version}/notifications/contacts"""
924954 return self ._transport .send (
@@ -2627,6 +2657,36 @@ async def register_device(self, *, timeout: float | None = None, bearer_token: s
26272657 bearer_token = bearer_token ,
26282658 )
26292659
2660+ async def get_push_devices (self , * , timeout : float | None = None , bearer_token : str | None = None , ** request : Any ) -> Any :
2661+ """GET /{version}/notifications/push/devices
2662+
2663+ Narrow the list with userId, deviceKey (the provider token) or
2664+ platform (ios, android, chrome, safari, expo).
2665+ """
2666+ return await self ._transport .send (
2667+ target = "hub" ,
2668+ path = "/{version}/notifications/push/devices" ,
2669+ method = "GET" ,
2670+ path_params = {},
2671+ request = request ,
2672+ scope = "project" ,
2673+ timeout = timeout ,
2674+ bearer_token = bearer_token ,
2675+ )
2676+
2677+ async def get_push_device (self , id : str , * , timeout : float | None = None , bearer_token : str | None = None , ** request : Any ) -> Any :
2678+ """GET /{version}/notifications/push/devices/{id}"""
2679+ return await self ._transport .send (
2680+ target = "hub" ,
2681+ path = "/{version}/notifications/push/devices/{id}" ,
2682+ method = "GET" ,
2683+ path_params = {"id" : id },
2684+ request = request ,
2685+ scope = "project" ,
2686+ timeout = timeout ,
2687+ bearer_token = bearer_token ,
2688+ )
2689+
26302690 async def get_all_contacts (self , * , timeout : float | None = None , bearer_token : str | None = None , ** request : Any ) -> Any :
26312691 """GET /{version}/notifications/contacts"""
26322692 return await self ._transport .send (
0 commit comments