Skip to content

Commit 34b90f3

Browse files
authored
Merge branch 'main' into SWI-8974
2 parents 368d585 + 6f76b72 commit 34b90f3

File tree

130 files changed

+4591
-1525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+4591
-1525
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ jobs:
3232

3333
steps:
3434
- name: Set Release Version
35-
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
35+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
3636

3737
- name: Check Release Tag Format
3838
run: |
3939
re=[0-9]+\.[0-9]+\.[0-9]+
4040
if ! [[ $RELEASE_VERSION =~ $re ]]; then
41-
echo 'Tag does not match expected regex pattern for releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)'
41+
echo 'Tag does not match expected regex pattern for releases (v[0-9]+\.[0-9]+\.[0-9]+)'
4242
echo $RELEASE_VERSION
4343
echo 'Please update your tag to match the expected regex pattern'
4444
exit 1
4545
fi
4646
4747
- name: Checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949

5050
- name: Set OpenAPI Generator Version
5151
run: |

.github/workflows/test-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4747

4848
- name: Set up Python
4949
uses: actions/setup-python@v5

.github/workflows/test-smoke.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
5151
steps:
5252
- name: Checkout
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v5
5454

5555
- name: Set up Python
5656
uses: actions/setup-python@v5
@@ -89,7 +89,7 @@ jobs:
8989
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_UP_APPLICATION_ID }}
9090
steps:
9191
- name: Checkout
92-
uses: actions/checkout@v4
92+
uses: actions/checkout@v5
9393

9494
- name: Set up Python
9595
uses: actions/setup-python@v5

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=bandwidth
1616

17-
pytest-3.8:
18-
extends: .pytest
19-
image: python:3.8-alpine
2017
pytest-3.9:
2118
extends: .pytest
2219
image: python:3.9-alpine
@@ -29,3 +26,6 @@ pytest-3.11:
2926
pytest-3.12:
3027
extends: .pytest
3128
image: python:3.12-alpine
29+
pytest-3.13:
30+
extends: .pytest
31+
image: python:3.13-alpine

.openapi-generator/FILES

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ bandwidth/models/account_statistics.py
2323
bandwidth/models/additional_denial_reason.py
2424
bandwidth/models/address.py
2525
bandwidth/models/answer_callback.py
26+
bandwidth/models/async_lookup_request.py
2627
bandwidth/models/blocked_webhook.py
2728
bandwidth/models/bridge_complete_callback.py
2829
bandwidth/models/bridge_target_complete_callback.py
@@ -41,6 +42,7 @@ bandwidth/models/callback.py
4142
bandwidth/models/callback_method_enum.py
4243
bandwidth/models/card_width_enum.py
4344
bandwidth/models/code_request.py
45+
bandwidth/models/completed_lookup_status_enum.py
4446
bandwidth/models/conference.py
4547
bandwidth/models/conference_completed_callback.py
4648
bandwidth/models/conference_created_callback.py
@@ -52,11 +54,15 @@ bandwidth/models/conference_recording_metadata.py
5254
bandwidth/models/conference_redirect_callback.py
5355
bandwidth/models/conference_state_enum.py
5456
bandwidth/models/contact.py
57+
bandwidth/models/create_async_bulk_lookup_response.py
58+
bandwidth/models/create_async_bulk_lookup_response_data.py
5559
bandwidth/models/create_call.py
5660
bandwidth/models/create_call_response.py
57-
bandwidth/models/create_lookup_response.py
5861
bandwidth/models/create_message_request_error.py
5962
bandwidth/models/create_multi_channel_message_response.py
63+
bandwidth/models/create_sync_lookup_response.py
64+
bandwidth/models/create_sync_lookup_response_data.py
65+
bandwidth/models/deactivation_event_enum.py
6066
bandwidth/models/disconnect_callback.py
6167
bandwidth/models/diversion.py
6268
bandwidth/models/dtmf_callback.py
@@ -67,18 +73,24 @@ bandwidth/models/failure_webhook.py
6773
bandwidth/models/field_error.py
6874
bandwidth/models/file_format_enum.py
6975
bandwidth/models/gather_callback.py
76+
bandwidth/models/get_async_bulk_lookup_response.py
77+
bandwidth/models/get_async_bulk_lookup_response_data.py
78+
bandwidth/models/in_progress_lookup_status_enum.py
7079
bandwidth/models/inbound_callback.py
7180
bandwidth/models/inbound_callback_message.py
7281
bandwidth/models/inbound_callback_type_enum.py
7382
bandwidth/models/initiate_callback.py
83+
bandwidth/models/latest_message_delivery_status_enum.py
84+
bandwidth/models/line_type_enum.py
7485
bandwidth/models/link.py
86+
bandwidth/models/link_schema.py
7587
bandwidth/models/links_object.py
7688
bandwidth/models/list_message_direction_enum.py
7789
bandwidth/models/list_message_item.py
78-
bandwidth/models/lookup_request.py
90+
bandwidth/models/lookup_error_response.py
91+
bandwidth/models/lookup_error_schema.py
92+
bandwidth/models/lookup_error_schema_meta.py
7993
bandwidth/models/lookup_result.py
80-
bandwidth/models/lookup_status.py
81-
bandwidth/models/lookup_status_enum.py
8294
bandwidth/models/machine_detection_complete_callback.py
8395
bandwidth/models/machine_detection_configuration.py
8496
bandwidth/models/machine_detection_mode_enum.py
@@ -140,6 +152,7 @@ bandwidth/models/status_callback.py
140152
bandwidth/models/status_callback_message.py
141153
bandwidth/models/status_callback_type_enum.py
142154
bandwidth/models/stir_shaken.py
155+
bandwidth/models/sync_lookup_request.py
143156
bandwidth/models/telephone_number.py
144157
bandwidth/models/tfv_basic_authentication.py
145158
bandwidth/models/tfv_callback_status_enum.py
@@ -149,7 +162,6 @@ bandwidth/models/tfv_status_enum.py
149162
bandwidth/models/tfv_submission_info.py
150163
bandwidth/models/tfv_submission_wrapper.py
151164
bandwidth/models/thumbnail_alignment_enum.py
152-
bandwidth/models/tn_lookup_request_error.py
153165
bandwidth/models/transcribe_recording.py
154166
bandwidth/models/transcription.py
155167
bandwidth/models/transcription_available_callback.py
@@ -179,6 +191,7 @@ docs/AccountStatistics.md
179191
docs/AdditionalDenialReason.md
180192
docs/Address.md
181193
docs/AnswerCallback.md
194+
docs/AsyncLookupRequest.md
182195
docs/BlockedWebhook.md
183196
docs/BridgeCompleteCallback.md
184197
docs/BridgeTargetCompleteCallback.md
@@ -198,6 +211,7 @@ docs/CallbackMethodEnum.md
198211
docs/CallsApi.md
199212
docs/CardWidthEnum.md
200213
docs/CodeRequest.md
214+
docs/CompletedLookupStatusEnum.md
201215
docs/Conference.md
202216
docs/ConferenceCompletedCallback.md
203217
docs/ConferenceCreatedCallback.md
@@ -210,11 +224,15 @@ docs/ConferenceRedirectCallback.md
210224
docs/ConferenceStateEnum.md
211225
docs/ConferencesApi.md
212226
docs/Contact.md
227+
docs/CreateAsyncBulkLookupResponse.md
228+
docs/CreateAsyncBulkLookupResponseData.md
213229
docs/CreateCall.md
214230
docs/CreateCallResponse.md
215-
docs/CreateLookupResponse.md
216231
docs/CreateMessageRequestError.md
217232
docs/CreateMultiChannelMessageResponse.md
233+
docs/CreateSyncLookupResponse.md
234+
docs/CreateSyncLookupResponseData.md
235+
docs/DeactivationEventEnum.md
218236
docs/DisconnectCallback.md
219237
docs/Diversion.md
220238
docs/DtmfCallback.md
@@ -225,18 +243,24 @@ docs/FailureWebhook.md
225243
docs/FieldError.md
226244
docs/FileFormatEnum.md
227245
docs/GatherCallback.md
246+
docs/GetAsyncBulkLookupResponse.md
247+
docs/GetAsyncBulkLookupResponseData.md
248+
docs/InProgressLookupStatusEnum.md
228249
docs/InboundCallback.md
229250
docs/InboundCallbackMessage.md
230251
docs/InboundCallbackTypeEnum.md
231252
docs/InitiateCallback.md
253+
docs/LatestMessageDeliveryStatusEnum.md
254+
docs/LineTypeEnum.md
232255
docs/Link.md
256+
docs/LinkSchema.md
233257
docs/LinksObject.md
234258
docs/ListMessageDirectionEnum.md
235259
docs/ListMessageItem.md
236-
docs/LookupRequest.md
260+
docs/LookupErrorResponse.md
261+
docs/LookupErrorSchema.md
262+
docs/LookupErrorSchemaMeta.md
237263
docs/LookupResult.md
238-
docs/LookupStatus.md
239-
docs/LookupStatusEnum.md
240264
docs/MFAApi.md
241265
docs/MachineDetectionCompleteCallback.md
242266
docs/MachineDetectionConfiguration.md
@@ -305,6 +329,7 @@ docs/StatusCallback.md
305329
docs/StatusCallbackMessage.md
306330
docs/StatusCallbackTypeEnum.md
307331
docs/StirShaken.md
332+
docs/SyncLookupRequest.md
308333
docs/TelephoneNumber.md
309334
docs/TfvBasicAuthentication.md
310335
docs/TfvCallbackStatusEnum.md
@@ -314,7 +339,6 @@ docs/TfvStatusEnum.md
314339
docs/TfvSubmissionInfo.md
315340
docs/TfvSubmissionWrapper.md
316341
docs/ThumbnailAlignmentEnum.md
317-
docs/TnLookupRequestError.md
318342
docs/TollFreeVerificationApi.md
319343
docs/TranscribeRecording.md
320344
docs/Transcription.md

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.11.0
1+
7.17.0

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.8"
54
- "3.9"
65
- "3.10"
76
- "3.11"
87
- "3.12"
8+
- "3.13"
99
# uncomment the following if needed
10-
#- "3.12-dev" # 3.12 development branch
10+
#- "3.13-dev" # 3.13 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

README.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
55

66
- API version: 1.0.0
77
- Package version: 1.0.0
8-
- Generator version: 7.11.0
8+
- Generator version: 7.17.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://dev.bandwidth.com](https://dev.bandwidth.com)
1111

1212
## Requirements.
1313

14-
Python 3.8+
14+
Python 3.9+
1515

1616
## Installation & Usage
1717
### pip install
1818

1919
If the python package is hosted on a repository, you can install directly using:
2020

2121
```sh
22-
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
22+
pip install git+https://github.com/bandwidth/python-sdk.git
2323
```
24-
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
24+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/bandwidth/python-sdk.git`)
2525

2626
Then import the package:
2727
```python
@@ -123,8 +123,9 @@ Class | Method | HTTP request | Description
123123
*MessagesApi* | [**create_message**](docs/MessagesApi.md#create_message) | **POST** /users/{accountId}/messages | Create Message
124124
*MessagesApi* | [**list_messages**](docs/MessagesApi.md#list_messages) | **GET** /users/{accountId}/messages | List Messages
125125
*MultiChannelApi* | [**create_multi_channel_message**](docs/MultiChannelApi.md#create_multi_channel_message) | **POST** /users/{accountId}/messages/multiChannel | Create Multi-Channel Message
126-
*PhoneNumberLookupApi* | [**create_lookup**](docs/PhoneNumberLookupApi.md#create_lookup) | **POST** /accounts/{accountId}/tnlookup | Create Lookup
127-
*PhoneNumberLookupApi* | [**get_lookup_status**](docs/PhoneNumberLookupApi.md#get_lookup_status) | **GET** /accounts/{accountId}/tnlookup/{requestId} | Get Lookup Request Status
126+
*PhoneNumberLookupApi* | [**create_async_bulk_lookup**](docs/PhoneNumberLookupApi.md#create_async_bulk_lookup) | **POST** /accounts/{accountId}/phoneNumberLookup/bulk | Create Asynchronous Bulk Number Lookup
127+
*PhoneNumberLookupApi* | [**create_sync_lookup**](docs/PhoneNumberLookupApi.md#create_sync_lookup) | **POST** /accounts/{accountId}/phoneNumberLookup | Create Synchronous Number Lookup
128+
*PhoneNumberLookupApi* | [**get_async_bulk_lookup**](docs/PhoneNumberLookupApi.md#get_async_bulk_lookup) | **GET** /accounts/{accountId}/phoneNumberLookup/bulk/{requestId} | Get Asynchronous Bulk Number Lookup
128129
*RecordingsApi* | [**delete_recording**](docs/RecordingsApi.md#delete_recording) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording
129130
*RecordingsApi* | [**delete_recording_media**](docs/RecordingsApi.md#delete_recording_media) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media
130131
*RecordingsApi* | [**delete_recording_transcription**](docs/RecordingsApi.md#delete_recording_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
@@ -156,6 +157,7 @@ Class | Method | HTTP request | Description
156157
- [AdditionalDenialReason](docs/AdditionalDenialReason.md)
157158
- [Address](docs/Address.md)
158159
- [AnswerCallback](docs/AnswerCallback.md)
160+
- [AsyncLookupRequest](docs/AsyncLookupRequest.md)
159161
- [BlockedWebhook](docs/BlockedWebhook.md)
160162
- [BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
161163
- [BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
@@ -174,6 +176,7 @@ Class | Method | HTTP request | Description
174176
- [CallbackMethodEnum](docs/CallbackMethodEnum.md)
175177
- [CardWidthEnum](docs/CardWidthEnum.md)
176178
- [CodeRequest](docs/CodeRequest.md)
179+
- [CompletedLookupStatusEnum](docs/CompletedLookupStatusEnum.md)
177180
- [Conference](docs/Conference.md)
178181
- [ConferenceCompletedCallback](docs/ConferenceCompletedCallback.md)
179182
- [ConferenceCreatedCallback](docs/ConferenceCreatedCallback.md)
@@ -185,11 +188,15 @@ Class | Method | HTTP request | Description
185188
- [ConferenceRedirectCallback](docs/ConferenceRedirectCallback.md)
186189
- [ConferenceStateEnum](docs/ConferenceStateEnum.md)
187190
- [Contact](docs/Contact.md)
191+
- [CreateAsyncBulkLookupResponse](docs/CreateAsyncBulkLookupResponse.md)
192+
- [CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
188193
- [CreateCall](docs/CreateCall.md)
189194
- [CreateCallResponse](docs/CreateCallResponse.md)
190-
- [CreateLookupResponse](docs/CreateLookupResponse.md)
191195
- [CreateMessageRequestError](docs/CreateMessageRequestError.md)
192196
- [CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
197+
- [CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
198+
- [CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
199+
- [DeactivationEventEnum](docs/DeactivationEventEnum.md)
193200
- [DisconnectCallback](docs/DisconnectCallback.md)
194201
- [Diversion](docs/Diversion.md)
195202
- [DtmfCallback](docs/DtmfCallback.md)
@@ -200,18 +207,24 @@ Class | Method | HTTP request | Description
200207
- [FieldError](docs/FieldError.md)
201208
- [FileFormatEnum](docs/FileFormatEnum.md)
202209
- [GatherCallback](docs/GatherCallback.md)
210+
- [GetAsyncBulkLookupResponse](docs/GetAsyncBulkLookupResponse.md)
211+
- [GetAsyncBulkLookupResponseData](docs/GetAsyncBulkLookupResponseData.md)
212+
- [InProgressLookupStatusEnum](docs/InProgressLookupStatusEnum.md)
203213
- [InboundCallback](docs/InboundCallback.md)
204214
- [InboundCallbackMessage](docs/InboundCallbackMessage.md)
205215
- [InboundCallbackTypeEnum](docs/InboundCallbackTypeEnum.md)
206216
- [InitiateCallback](docs/InitiateCallback.md)
217+
- [LatestMessageDeliveryStatusEnum](docs/LatestMessageDeliveryStatusEnum.md)
218+
- [LineTypeEnum](docs/LineTypeEnum.md)
207219
- [Link](docs/Link.md)
220+
- [LinkSchema](docs/LinkSchema.md)
208221
- [LinksObject](docs/LinksObject.md)
209222
- [ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
210223
- [ListMessageItem](docs/ListMessageItem.md)
211-
- [LookupRequest](docs/LookupRequest.md)
224+
- [LookupErrorResponse](docs/LookupErrorResponse.md)
225+
- [LookupErrorSchema](docs/LookupErrorSchema.md)
226+
- [LookupErrorSchemaMeta](docs/LookupErrorSchemaMeta.md)
212227
- [LookupResult](docs/LookupResult.md)
213-
- [LookupStatus](docs/LookupStatus.md)
214-
- [LookupStatusEnum](docs/LookupStatusEnum.md)
215228
- [MachineDetectionCompleteCallback](docs/MachineDetectionCompleteCallback.md)
216229
- [MachineDetectionConfiguration](docs/MachineDetectionConfiguration.md)
217230
- [MachineDetectionModeEnum](docs/MachineDetectionModeEnum.md)
@@ -273,6 +286,7 @@ Class | Method | HTTP request | Description
273286
- [StatusCallbackMessage](docs/StatusCallbackMessage.md)
274287
- [StatusCallbackTypeEnum](docs/StatusCallbackTypeEnum.md)
275288
- [StirShaken](docs/StirShaken.md)
289+
- [SyncLookupRequest](docs/SyncLookupRequest.md)
276290
- [TelephoneNumber](docs/TelephoneNumber.md)
277291
- [TfvBasicAuthentication](docs/TfvBasicAuthentication.md)
278292
- [TfvCallbackStatusEnum](docs/TfvCallbackStatusEnum.md)
@@ -282,7 +296,6 @@ Class | Method | HTTP request | Description
282296
- [TfvSubmissionInfo](docs/TfvSubmissionInfo.md)
283297
- [TfvSubmissionWrapper](docs/TfvSubmissionWrapper.md)
284298
- [ThumbnailAlignmentEnum](docs/ThumbnailAlignmentEnum.md)
285-
- [TnLookupRequestError](docs/TnLookupRequestError.md)
286299
- [TranscribeRecording](docs/TranscribeRecording.md)
287300
- [Transcription](docs/Transcription.md)
288301
- [TranscriptionAvailableCallback](docs/TranscriptionAvailableCallback.md)

0 commit comments

Comments
 (0)