44
55import httpx
66
7- from ..types import SentDmServicesContractsDataCustomerDto , customer_update_params
7+ from ..types import Customer , customer_update_params
88from .._types import NOT_GIVEN , Body , Query , Headers , NotGiven
99from .._utils import (
1010 maybe_transform ,
1919 async_to_streamed_response_wrapper ,
2020)
2121from .._base_client import make_request_options
22- from ..types .sent_dm_services_contracts_data_customer_dto import SentDmServicesContractsDataCustomerDto
23- from ..types .sent_dm_services_contracts_data_customer_dto_param import SentDmServicesContractsDataCustomerDtoParam
22+ from ..types .customer import Customer
23+ from ..types .customer_param import CustomerParam
2424
2525__all__ = ["CustomersResource" , "AsyncCustomersResource" ]
2626
@@ -55,7 +55,7 @@ def retrieve(
5555 extra_query : Query | None = None ,
5656 extra_body : Body | None = None ,
5757 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
58- ) -> SentDmServicesContractsDataCustomerDto :
58+ ) -> Customer :
5959 """
6060 Args:
6161 extra_headers: Send extra headers
@@ -73,21 +73,21 @@ def retrieve(
7373 options = make_request_options (
7474 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
7575 ),
76- cast_to = SentDmServicesContractsDataCustomerDto ,
76+ cast_to = Customer ,
7777 )
7878
7979 def update (
8080 self ,
8181 id : str ,
8282 * ,
83- customer : SentDmServicesContractsDataCustomerDtoParam | NotGiven = NOT_GIVEN ,
83+ customer : CustomerParam | NotGiven = NOT_GIVEN ,
8484 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
8585 # The extra values given here take precedence over values defined on the client or passed to this method.
8686 extra_headers : Headers | None = None ,
8787 extra_query : Query | None = None ,
8888 extra_body : Body | None = None ,
8989 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
90- ) -> SentDmServicesContractsDataCustomerDto :
90+ ) -> Customer :
9191 """
9292 Args:
9393 extra_headers: Send extra headers
@@ -106,7 +106,7 @@ def update(
106106 options = make_request_options (
107107 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
108108 ),
109- cast_to = SentDmServicesContractsDataCustomerDto ,
109+ cast_to = Customer ,
110110 )
111111
112112 def delete (
@@ -171,7 +171,7 @@ async def retrieve(
171171 extra_query : Query | None = None ,
172172 extra_body : Body | None = None ,
173173 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
174- ) -> SentDmServicesContractsDataCustomerDto :
174+ ) -> Customer :
175175 """
176176 Args:
177177 extra_headers: Send extra headers
@@ -189,21 +189,21 @@ async def retrieve(
189189 options = make_request_options (
190190 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
191191 ),
192- cast_to = SentDmServicesContractsDataCustomerDto ,
192+ cast_to = Customer ,
193193 )
194194
195195 async def update (
196196 self ,
197197 id : str ,
198198 * ,
199- customer : SentDmServicesContractsDataCustomerDtoParam | NotGiven = NOT_GIVEN ,
199+ customer : CustomerParam | NotGiven = NOT_GIVEN ,
200200 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
201201 # The extra values given here take precedence over values defined on the client or passed to this method.
202202 extra_headers : Headers | None = None ,
203203 extra_query : Query | None = None ,
204204 extra_body : Body | None = None ,
205205 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
206- ) -> SentDmServicesContractsDataCustomerDto :
206+ ) -> Customer :
207207 """
208208 Args:
209209 extra_headers: Send extra headers
@@ -222,7 +222,7 @@ async def update(
222222 options = make_request_options (
223223 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
224224 ),
225- cast_to = SentDmServicesContractsDataCustomerDto ,
225+ cast_to = Customer ,
226226 )
227227
228228 async def delete (
0 commit comments