4141from ..._base_client import make_request_options
4242from ...types .notification_list_response import NotificationListResponse
4343from ...types .notification_template_state import NotificationTemplateState
44- from ...types .notification_template_get_response import NotificationTemplateGetResponse
44+ from ...types .notification_template_response import NotificationTemplateResponse
4545from ...types .notification_template_payload_param import NotificationTemplatePayloadParam
4646from ...types .notification_content_mutation_response import NotificationContentMutationResponse
4747from ...types .notification_retrieve_content_response import NotificationRetrieveContentResponse
@@ -85,15 +85,15 @@ def create(
8585 extra_query : Query | None = None ,
8686 extra_body : Body | None = None ,
8787 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
88- ) -> NotificationTemplateGetResponse :
88+ ) -> NotificationTemplateResponse :
8989 """Create a notification template.
9090
9191 Requires all fields in the notification object.
9292 Templates are created in draft state by default.
9393
9494 Args:
95- notification: Full document shape used in POST and PUT request bodies, and returned inside the
96- GET response envelope .
95+ notification: Core template fields used in POST and PUT request bodies (nested under a
96+ `notification` key) and returned at the top level in responses .
9797
9898 state: Template state after creation. Case-insensitive input, normalized to uppercase
9999 in the response. Defaults to "DRAFT".
@@ -118,7 +118,7 @@ def create(
118118 options = make_request_options (
119119 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
120120 ),
121- cast_to = NotificationTemplateGetResponse ,
121+ cast_to = NotificationTemplateResponse ,
122122 )
123123
124124 def retrieve (
@@ -132,7 +132,7 @@ def retrieve(
132132 extra_query : Query | None = None ,
133133 extra_body : Body | None = None ,
134134 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
135- ) -> NotificationTemplateGetResponse :
135+ ) -> NotificationTemplateResponse :
136136 """Retrieve a notification template by ID.
137137
138138 Returns the published version by
@@ -161,7 +161,7 @@ def retrieve(
161161 timeout = timeout ,
162162 query = maybe_transform ({"version" : version }, notification_retrieve_params .NotificationRetrieveParams ),
163163 ),
164- cast_to = NotificationTemplateGetResponse ,
164+ cast_to = NotificationTemplateResponse ,
165165 )
166166
167167 def list (
@@ -511,14 +511,14 @@ def replace(
511511 extra_query : Query | None = None ,
512512 extra_body : Body | None = None ,
513513 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
514- ) -> NotificationTemplateGetResponse :
514+ ) -> NotificationTemplateResponse :
515515 """Replace a notification template.
516516
517517 All fields are required.
518518
519519 Args:
520- notification: Full document shape used in POST and PUT request bodies, and returned inside the
521- GET response envelope .
520+ notification: Core template fields used in POST and PUT request bodies (nested under a
521+ `notification` key) and returned at the top level in responses .
522522
523523 state: Template state after update. Case-insensitive input, normalized to uppercase in
524524 the response. Defaults to "DRAFT".
@@ -545,7 +545,7 @@ def replace(
545545 options = make_request_options (
546546 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
547547 ),
548- cast_to = NotificationTemplateGetResponse ,
548+ cast_to = NotificationTemplateResponse ,
549549 )
550550
551551 def retrieve_content (
@@ -636,15 +636,15 @@ async def create(
636636 extra_query : Query | None = None ,
637637 extra_body : Body | None = None ,
638638 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
639- ) -> NotificationTemplateGetResponse :
639+ ) -> NotificationTemplateResponse :
640640 """Create a notification template.
641641
642642 Requires all fields in the notification object.
643643 Templates are created in draft state by default.
644644
645645 Args:
646- notification: Full document shape used in POST and PUT request bodies, and returned inside the
647- GET response envelope .
646+ notification: Core template fields used in POST and PUT request bodies (nested under a
647+ `notification` key) and returned at the top level in responses .
648648
649649 state: Template state after creation. Case-insensitive input, normalized to uppercase
650650 in the response. Defaults to "DRAFT".
@@ -669,7 +669,7 @@ async def create(
669669 options = make_request_options (
670670 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
671671 ),
672- cast_to = NotificationTemplateGetResponse ,
672+ cast_to = NotificationTemplateResponse ,
673673 )
674674
675675 async def retrieve (
@@ -683,7 +683,7 @@ async def retrieve(
683683 extra_query : Query | None = None ,
684684 extra_body : Body | None = None ,
685685 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
686- ) -> NotificationTemplateGetResponse :
686+ ) -> NotificationTemplateResponse :
687687 """Retrieve a notification template by ID.
688688
689689 Returns the published version by
@@ -714,7 +714,7 @@ async def retrieve(
714714 {"version" : version }, notification_retrieve_params .NotificationRetrieveParams
715715 ),
716716 ),
717- cast_to = NotificationTemplateGetResponse ,
717+ cast_to = NotificationTemplateResponse ,
718718 )
719719
720720 async def list (
@@ -1066,14 +1066,14 @@ async def replace(
10661066 extra_query : Query | None = None ,
10671067 extra_body : Body | None = None ,
10681068 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
1069- ) -> NotificationTemplateGetResponse :
1069+ ) -> NotificationTemplateResponse :
10701070 """Replace a notification template.
10711071
10721072 All fields are required.
10731073
10741074 Args:
1075- notification: Full document shape used in POST and PUT request bodies, and returned inside the
1076- GET response envelope .
1075+ notification: Core template fields used in POST and PUT request bodies (nested under a
1076+ `notification` key) and returned at the top level in responses .
10771077
10781078 state: Template state after update. Case-insensitive input, normalized to uppercase in
10791079 the response. Defaults to "DRAFT".
@@ -1100,7 +1100,7 @@ async def replace(
11001100 options = make_request_options (
11011101 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
11021102 ),
1103- cast_to = NotificationTemplateGetResponse ,
1103+ cast_to = NotificationTemplateResponse ,
11041104 )
11051105
11061106 async def retrieve_content (
0 commit comments