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
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ stages:
- pip install -r test-requirements.txt
- pytest --cov=bandwidth

pytest-3.8:
extends: .pytest
image: python:3.8-alpine
pytest-3.9:
extends: .pytest
image: python:3.9-alpine
Expand All @@ -29,3 +26,6 @@ pytest-3.11:
pytest-3.12:
extends: .pytest
image: python:3.12-alpine
pytest-3.13:
extends: .pytest
image: python:3.13-alpine
44 changes: 34 additions & 10 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bandwidth/models/account_statistics.py
bandwidth/models/additional_denial_reason.py
bandwidth/models/address.py
bandwidth/models/answer_callback.py
bandwidth/models/async_lookup_request.py
bandwidth/models/blocked_webhook.py
bandwidth/models/bridge_complete_callback.py
bandwidth/models/bridge_target_complete_callback.py
Expand All @@ -41,6 +42,7 @@ bandwidth/models/callback.py
bandwidth/models/callback_method_enum.py
bandwidth/models/card_width_enum.py
bandwidth/models/code_request.py
bandwidth/models/completed_lookup_status_enum.py
bandwidth/models/conference.py
bandwidth/models/conference_completed_callback.py
bandwidth/models/conference_created_callback.py
Expand All @@ -52,11 +54,15 @@ bandwidth/models/conference_recording_metadata.py
bandwidth/models/conference_redirect_callback.py
bandwidth/models/conference_state_enum.py
bandwidth/models/contact.py
bandwidth/models/create_async_bulk_lookup_response.py
bandwidth/models/create_async_bulk_lookup_response_data.py
bandwidth/models/create_call.py
bandwidth/models/create_call_response.py
bandwidth/models/create_lookup_response.py
bandwidth/models/create_message_request_error.py
bandwidth/models/create_multi_channel_message_response.py
bandwidth/models/create_sync_lookup_response.py
bandwidth/models/create_sync_lookup_response_data.py
bandwidth/models/deactivation_event_enum.py
bandwidth/models/disconnect_callback.py
bandwidth/models/diversion.py
bandwidth/models/dtmf_callback.py
Expand All @@ -67,18 +73,24 @@ bandwidth/models/failure_webhook.py
bandwidth/models/field_error.py
bandwidth/models/file_format_enum.py
bandwidth/models/gather_callback.py
bandwidth/models/get_async_bulk_lookup_response.py
bandwidth/models/get_async_bulk_lookup_response_data.py
bandwidth/models/in_progress_lookup_status_enum.py
bandwidth/models/inbound_callback.py
bandwidth/models/inbound_callback_message.py
bandwidth/models/inbound_callback_type_enum.py
bandwidth/models/initiate_callback.py
bandwidth/models/latest_message_delivery_status_enum.py
bandwidth/models/line_type_enum.py
bandwidth/models/link.py
bandwidth/models/link_schema.py
bandwidth/models/links_object.py
bandwidth/models/list_message_direction_enum.py
bandwidth/models/list_message_item.py
bandwidth/models/lookup_request.py
bandwidth/models/lookup_error_response.py
bandwidth/models/lookup_error_schema.py
bandwidth/models/lookup_error_schema_meta.py
bandwidth/models/lookup_result.py
bandwidth/models/lookup_status.py
bandwidth/models/lookup_status_enum.py
bandwidth/models/machine_detection_complete_callback.py
bandwidth/models/machine_detection_configuration.py
bandwidth/models/machine_detection_mode_enum.py
Expand Down Expand Up @@ -140,6 +152,7 @@ bandwidth/models/status_callback.py
bandwidth/models/status_callback_message.py
bandwidth/models/status_callback_type_enum.py
bandwidth/models/stir_shaken.py
bandwidth/models/sync_lookup_request.py
bandwidth/models/telephone_number.py
bandwidth/models/tfv_basic_authentication.py
bandwidth/models/tfv_callback_status_enum.py
Expand All @@ -149,7 +162,6 @@ bandwidth/models/tfv_status_enum.py
bandwidth/models/tfv_submission_info.py
bandwidth/models/tfv_submission_wrapper.py
bandwidth/models/thumbnail_alignment_enum.py
bandwidth/models/tn_lookup_request_error.py
bandwidth/models/transcribe_recording.py
bandwidth/models/transcription.py
bandwidth/models/transcription_available_callback.py
Expand Down Expand Up @@ -179,6 +191,7 @@ docs/AccountStatistics.md
docs/AdditionalDenialReason.md
docs/Address.md
docs/AnswerCallback.md
docs/AsyncLookupRequest.md
docs/BlockedWebhook.md
docs/BridgeCompleteCallback.md
docs/BridgeTargetCompleteCallback.md
Expand All @@ -198,6 +211,7 @@ docs/CallbackMethodEnum.md
docs/CallsApi.md
docs/CardWidthEnum.md
docs/CodeRequest.md
docs/CompletedLookupStatusEnum.md
docs/Conference.md
docs/ConferenceCompletedCallback.md
docs/ConferenceCreatedCallback.md
Expand All @@ -210,11 +224,15 @@ docs/ConferenceRedirectCallback.md
docs/ConferenceStateEnum.md
docs/ConferencesApi.md
docs/Contact.md
docs/CreateAsyncBulkLookupResponse.md
docs/CreateAsyncBulkLookupResponseData.md
docs/CreateCall.md
docs/CreateCallResponse.md
docs/CreateLookupResponse.md
docs/CreateMessageRequestError.md
docs/CreateMultiChannelMessageResponse.md
docs/CreateSyncLookupResponse.md
docs/CreateSyncLookupResponseData.md
docs/DeactivationEventEnum.md
docs/DisconnectCallback.md
docs/Diversion.md
docs/DtmfCallback.md
Expand All @@ -225,18 +243,24 @@ docs/FailureWebhook.md
docs/FieldError.md
docs/FileFormatEnum.md
docs/GatherCallback.md
docs/GetAsyncBulkLookupResponse.md
docs/GetAsyncBulkLookupResponseData.md
docs/InProgressLookupStatusEnum.md
docs/InboundCallback.md
docs/InboundCallbackMessage.md
docs/InboundCallbackTypeEnum.md
docs/InitiateCallback.md
docs/LatestMessageDeliveryStatusEnum.md
docs/LineTypeEnum.md
docs/Link.md
docs/LinkSchema.md
docs/LinksObject.md
docs/ListMessageDirectionEnum.md
docs/ListMessageItem.md
docs/LookupRequest.md
docs/LookupErrorResponse.md
docs/LookupErrorSchema.md
docs/LookupErrorSchemaMeta.md
docs/LookupResult.md
docs/LookupStatus.md
docs/LookupStatusEnum.md
docs/MFAApi.md
docs/MachineDetectionCompleteCallback.md
docs/MachineDetectionConfiguration.md
Expand Down Expand Up @@ -305,6 +329,7 @@ docs/StatusCallback.md
docs/StatusCallbackMessage.md
docs/StatusCallbackTypeEnum.md
docs/StirShaken.md
docs/SyncLookupRequest.md
docs/TelephoneNumber.md
docs/TfvBasicAuthentication.md
docs/TfvCallbackStatusEnum.md
Expand All @@ -314,7 +339,6 @@ docs/TfvStatusEnum.md
docs/TfvSubmissionInfo.md
docs/TfvSubmissionWrapper.md
docs/ThumbnailAlignmentEnum.md
docs/TnLookupRequestError.md
docs/TollFreeVerificationApi.md
docs/TranscribeRecording.md
docs/Transcription.md
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.11.0
7.17.0
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# ref: https://docs.travis-ci.com/user/languages/python
language: python
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
# uncomment the following if needed
#- "3.12-dev" # 3.12 development branch
#- "3.13-dev" # 3.13 development branch
#- "nightly" # nightly build
# command to install dependencies
install:
Expand Down
35 changes: 24 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

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

## Requirements.

Python 3.8+
Python 3.9+

## Installation & Usage
### pip install

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

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

Then import the package:
```python
Expand Down Expand Up @@ -121,8 +121,9 @@ Class | Method | HTTP request | Description
*MessagesApi* | [**create_message**](docs/MessagesApi.md#create_message) | **POST** /users/{accountId}/messages | Create Message
*MessagesApi* | [**list_messages**](docs/MessagesApi.md#list_messages) | **GET** /users/{accountId}/messages | List Messages
*MultiChannelApi* | [**create_multi_channel_message**](docs/MultiChannelApi.md#create_multi_channel_message) | **POST** /users/{accountId}/messages/multiChannel | Create Multi-Channel Message
*PhoneNumberLookupApi* | [**create_lookup**](docs/PhoneNumberLookupApi.md#create_lookup) | **POST** /accounts/{accountId}/tnlookup | Create Lookup
*PhoneNumberLookupApi* | [**get_lookup_status**](docs/PhoneNumberLookupApi.md#get_lookup_status) | **GET** /accounts/{accountId}/tnlookup/{requestId} | Get Lookup Request Status
*PhoneNumberLookupApi* | [**create_async_bulk_lookup**](docs/PhoneNumberLookupApi.md#create_async_bulk_lookup) | **POST** /accounts/{accountId}/phoneNumberLookup/bulk | Create Asynchronous Bulk Number Lookup
*PhoneNumberLookupApi* | [**create_sync_lookup**](docs/PhoneNumberLookupApi.md#create_sync_lookup) | **POST** /accounts/{accountId}/phoneNumberLookup | Create Synchronous Number Lookup
*PhoneNumberLookupApi* | [**get_async_bulk_lookup**](docs/PhoneNumberLookupApi.md#get_async_bulk_lookup) | **GET** /accounts/{accountId}/phoneNumberLookup/bulk/{requestId} | Get Asynchronous Bulk Number Lookup
*RecordingsApi* | [**delete_recording**](docs/RecordingsApi.md#delete_recording) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording
*RecordingsApi* | [**delete_recording_media**](docs/RecordingsApi.md#delete_recording_media) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media
*RecordingsApi* | [**delete_recording_transcription**](docs/RecordingsApi.md#delete_recording_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
Expand Down Expand Up @@ -154,6 +155,7 @@ Class | Method | HTTP request | Description
- [AdditionalDenialReason](docs/AdditionalDenialReason.md)
- [Address](docs/Address.md)
- [AnswerCallback](docs/AnswerCallback.md)
- [AsyncLookupRequest](docs/AsyncLookupRequest.md)
- [BlockedWebhook](docs/BlockedWebhook.md)
- [BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
- [BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
Expand All @@ -172,6 +174,7 @@ Class | Method | HTTP request | Description
- [CallbackMethodEnum](docs/CallbackMethodEnum.md)
- [CardWidthEnum](docs/CardWidthEnum.md)
- [CodeRequest](docs/CodeRequest.md)
- [CompletedLookupStatusEnum](docs/CompletedLookupStatusEnum.md)
- [Conference](docs/Conference.md)
- [ConferenceCompletedCallback](docs/ConferenceCompletedCallback.md)
- [ConferenceCreatedCallback](docs/ConferenceCreatedCallback.md)
Expand All @@ -183,11 +186,15 @@ Class | Method | HTTP request | Description
- [ConferenceRedirectCallback](docs/ConferenceRedirectCallback.md)
- [ConferenceStateEnum](docs/ConferenceStateEnum.md)
- [Contact](docs/Contact.md)
- [CreateAsyncBulkLookupResponse](docs/CreateAsyncBulkLookupResponse.md)
- [CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
- [CreateCall](docs/CreateCall.md)
- [CreateCallResponse](docs/CreateCallResponse.md)
- [CreateLookupResponse](docs/CreateLookupResponse.md)
- [CreateMessageRequestError](docs/CreateMessageRequestError.md)
- [CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
- [CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
- [CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
- [DeactivationEventEnum](docs/DeactivationEventEnum.md)
- [DisconnectCallback](docs/DisconnectCallback.md)
- [Diversion](docs/Diversion.md)
- [DtmfCallback](docs/DtmfCallback.md)
Expand All @@ -198,18 +205,24 @@ Class | Method | HTTP request | Description
- [FieldError](docs/FieldError.md)
- [FileFormatEnum](docs/FileFormatEnum.md)
- [GatherCallback](docs/GatherCallback.md)
- [GetAsyncBulkLookupResponse](docs/GetAsyncBulkLookupResponse.md)
- [GetAsyncBulkLookupResponseData](docs/GetAsyncBulkLookupResponseData.md)
- [InProgressLookupStatusEnum](docs/InProgressLookupStatusEnum.md)
- [InboundCallback](docs/InboundCallback.md)
- [InboundCallbackMessage](docs/InboundCallbackMessage.md)
- [InboundCallbackTypeEnum](docs/InboundCallbackTypeEnum.md)
- [InitiateCallback](docs/InitiateCallback.md)
- [LatestMessageDeliveryStatusEnum](docs/LatestMessageDeliveryStatusEnum.md)
- [LineTypeEnum](docs/LineTypeEnum.md)
- [Link](docs/Link.md)
- [LinkSchema](docs/LinkSchema.md)
- [LinksObject](docs/LinksObject.md)
- [ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
- [ListMessageItem](docs/ListMessageItem.md)
- [LookupRequest](docs/LookupRequest.md)
- [LookupErrorResponse](docs/LookupErrorResponse.md)
- [LookupErrorSchema](docs/LookupErrorSchema.md)
- [LookupErrorSchemaMeta](docs/LookupErrorSchemaMeta.md)
- [LookupResult](docs/LookupResult.md)
- [LookupStatus](docs/LookupStatus.md)
- [LookupStatusEnum](docs/LookupStatusEnum.md)
- [MachineDetectionCompleteCallback](docs/MachineDetectionCompleteCallback.md)
- [MachineDetectionConfiguration](docs/MachineDetectionConfiguration.md)
- [MachineDetectionModeEnum](docs/MachineDetectionModeEnum.md)
Expand Down Expand Up @@ -271,6 +284,7 @@ Class | Method | HTTP request | Description
- [StatusCallbackMessage](docs/StatusCallbackMessage.md)
- [StatusCallbackTypeEnum](docs/StatusCallbackTypeEnum.md)
- [StirShaken](docs/StirShaken.md)
- [SyncLookupRequest](docs/SyncLookupRequest.md)
- [TelephoneNumber](docs/TelephoneNumber.md)
- [TfvBasicAuthentication](docs/TfvBasicAuthentication.md)
- [TfvCallbackStatusEnum](docs/TfvCallbackStatusEnum.md)
Expand All @@ -280,7 +294,6 @@ Class | Method | HTTP request | Description
- [TfvSubmissionInfo](docs/TfvSubmissionInfo.md)
- [TfvSubmissionWrapper](docs/TfvSubmissionWrapper.md)
- [ThumbnailAlignmentEnum](docs/ThumbnailAlignmentEnum.md)
- [TnLookupRequestError](docs/TnLookupRequestError.md)
- [TranscribeRecording](docs/TranscribeRecording.md)
- [Transcription](docs/Transcription.md)
- [TranscriptionAvailableCallback](docs/TranscriptionAvailableCallback.md)
Expand Down
Loading