@@ -59,7 +59,7 @@ def create_lookup(
5959 _headers : Optional [Dict [StrictStr , Any ]] = None ,
6060 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 1 )] = 0 ,
6161 ) -> CreateLookupResponse :
62- """Create Lookup
62+ """(Deprecated) Create Lookup
6363
6464 Create a Phone Number Lookup Request.
6565
@@ -88,6 +88,7 @@ def create_lookup(
8888 :type _host_index: int, optional
8989 :return: Returns the result object.
9090 """ # noqa: E501
91+ warnings .warn ("POST /accounts/{accountId}/tnlookup is deprecated." , DeprecationWarning )
9192
9293 _param = self ._create_lookup_serialize (
9394 account_id = account_id ,
@@ -136,7 +137,7 @@ def create_lookup_with_http_info(
136137 _headers : Optional [Dict [StrictStr , Any ]] = None ,
137138 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 1 )] = 0 ,
138139 ) -> ApiResponse [CreateLookupResponse ]:
139- """Create Lookup
140+ """(Deprecated) Create Lookup
140141
141142 Create a Phone Number Lookup Request.
142143
@@ -165,6 +166,7 @@ def create_lookup_with_http_info(
165166 :type _host_index: int, optional
166167 :return: Returns the result object.
167168 """ # noqa: E501
169+ warnings .warn ("POST /accounts/{accountId}/tnlookup is deprecated." , DeprecationWarning )
168170
169171 _param = self ._create_lookup_serialize (
170172 account_id = account_id ,
@@ -213,7 +215,7 @@ def create_lookup_without_preload_content(
213215 _headers : Optional [Dict [StrictStr , Any ]] = None ,
214216 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 1 )] = 0 ,
215217 ) -> RESTResponseType :
216- """Create Lookup
218+ """(Deprecated) Create Lookup
217219
218220 Create a Phone Number Lookup Request.
219221
@@ -242,6 +244,7 @@ def create_lookup_without_preload_content(
242244 :type _host_index: int, optional
243245 :return: Returns the result object.
244246 """ # noqa: E501
247+ warnings .warn ("POST /accounts/{accountId}/tnlookup is deprecated." , DeprecationWarning )
245248
246249 _param = self ._create_lookup_serialize (
247250 account_id = account_id ,
@@ -369,7 +372,7 @@ def get_lookup_status(
369372 _headers : Optional [Dict [StrictStr , Any ]] = None ,
370373 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 1 )] = 0 ,
371374 ) -> LookupStatus :
372- """Get Lookup Request Status
375+ """(Deprecated) Get Lookup Request Status
373376
374377 Get an existing Phone Number Lookup Request.
375378
@@ -398,6 +401,7 @@ def get_lookup_status(
398401 :type _host_index: int, optional
399402 :return: Returns the result object.
400403 """ # noqa: E501
404+ warnings .warn ("GET /accounts/{accountId}/tnlookup/{requestId} is deprecated." , DeprecationWarning )
401405
402406 _param = self ._get_lookup_status_serialize (
403407 account_id = account_id ,
@@ -446,7 +450,7 @@ def get_lookup_status_with_http_info(
446450 _headers : Optional [Dict [StrictStr , Any ]] = None ,
447451 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 1 )] = 0 ,
448452 ) -> ApiResponse [LookupStatus ]:
449- """Get Lookup Request Status
453+ """(Deprecated) Get Lookup Request Status
450454
451455 Get an existing Phone Number Lookup Request.
452456
@@ -475,6 +479,7 @@ def get_lookup_status_with_http_info(
475479 :type _host_index: int, optional
476480 :return: Returns the result object.
477481 """ # noqa: E501
482+ warnings .warn ("GET /accounts/{accountId}/tnlookup/{requestId} is deprecated." , DeprecationWarning )
478483
479484 _param = self ._get_lookup_status_serialize (
480485 account_id = account_id ,
@@ -523,7 +528,7 @@ def get_lookup_status_without_preload_content(
523528 _headers : Optional [Dict [StrictStr , Any ]] = None ,
524529 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 1 )] = 0 ,
525530 ) -> RESTResponseType :
526- """Get Lookup Request Status
531+ """(Deprecated) Get Lookup Request Status
527532
528533 Get an existing Phone Number Lookup Request.
529534
@@ -552,6 +557,7 @@ def get_lookup_status_without_preload_content(
552557 :type _host_index: int, optional
553558 :return: Returns the result object.
554559 """ # noqa: E501
560+ warnings .warn ("GET /accounts/{accountId}/tnlookup/{requestId} is deprecated." , DeprecationWarning )
555561
556562 _param = self ._get_lookup_status_serialize (
557563 account_id = account_id ,
0 commit comments