Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,7 @@ paths:
servers: *ref_2
/accounts/{accountId}/tnlookup:
post:
deprecated: true
summary: Create Lookup
description: Create a Phone Number Lookup Request.
operationId: createLookup
Expand Down Expand Up @@ -1359,6 +1360,7 @@ paths:
description: Production
/accounts/{accountId}/tnlookup/{requestId}:
get:
deprecated: true
summary: Get Lookup Request Status
description: Get an existing Phone Number Lookup Request.
operationId: getLookupStatus
Expand Down
18 changes: 12 additions & 6 deletions bandwidth/api/phone_number_lookup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create_lookup(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
) -> CreateLookupResponse:
"""Create Lookup
"""(Deprecated) Create Lookup

Create a Phone Number Lookup Request.

Expand Down Expand Up @@ -88,6 +88,7 @@ def create_lookup(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("POST /accounts/{accountId}/tnlookup is deprecated.", DeprecationWarning)

_param = self._create_lookup_serialize(
account_id=account_id,
Expand Down Expand Up @@ -136,7 +137,7 @@ def create_lookup_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
) -> ApiResponse[CreateLookupResponse]:
"""Create Lookup
"""(Deprecated) Create Lookup

Create a Phone Number Lookup Request.

Expand Down Expand Up @@ -165,6 +166,7 @@ def create_lookup_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("POST /accounts/{accountId}/tnlookup is deprecated.", DeprecationWarning)

_param = self._create_lookup_serialize(
account_id=account_id,
Expand Down Expand Up @@ -213,7 +215,7 @@ def create_lookup_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
) -> RESTResponseType:
"""Create Lookup
"""(Deprecated) Create Lookup

Create a Phone Number Lookup Request.

Expand Down Expand Up @@ -242,6 +244,7 @@ def create_lookup_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("POST /accounts/{accountId}/tnlookup is deprecated.", DeprecationWarning)

_param = self._create_lookup_serialize(
account_id=account_id,
Expand Down Expand Up @@ -369,7 +372,7 @@ def get_lookup_status(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
) -> LookupStatus:
"""Get Lookup Request Status
"""(Deprecated) Get Lookup Request Status

Get an existing Phone Number Lookup Request.

Expand Down Expand Up @@ -398,6 +401,7 @@ def get_lookup_status(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /accounts/{accountId}/tnlookup/{requestId} is deprecated.", DeprecationWarning)

_param = self._get_lookup_status_serialize(
account_id=account_id,
Expand Down Expand Up @@ -446,7 +450,7 @@ def get_lookup_status_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
) -> ApiResponse[LookupStatus]:
"""Get Lookup Request Status
"""(Deprecated) Get Lookup Request Status

Get an existing Phone Number Lookup Request.

Expand Down Expand Up @@ -475,6 +479,7 @@ def get_lookup_status_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /accounts/{accountId}/tnlookup/{requestId} is deprecated.", DeprecationWarning)

_param = self._get_lookup_status_serialize(
account_id=account_id,
Expand Down Expand Up @@ -523,7 +528,7 @@ def get_lookup_status_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
) -> RESTResponseType:
"""Get Lookup Request Status
"""(Deprecated) Get Lookup Request Status

Get an existing Phone Number Lookup Request.

Expand Down Expand Up @@ -552,6 +557,7 @@ def get_lookup_status_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /accounts/{accountId}/tnlookup/{requestId} is deprecated.", DeprecationWarning)

_param = self._get_lookup_status_serialize(
account_id=account_id,
Expand Down