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
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ jobs:
runs-on: ubuntu-latest
env:
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
BW_USERNAME: ${{ secrets.BW_USERNAME }}
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
BW_NUMBER: ${{ secrets.BW_NUMBER }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ concurrency:

env:
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
BW_USERNAME: ${{ secrets.BW_USERNAME }}
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
BW_NUMBER: ${{ secrets.BW_NUMBER }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ concurrency:
env:
PYTHON_VERSION: "3.12"
OPERATING_SYSTEM: ubuntu
BW_USERNAME: ${{ secrets.BW_USERNAME }}
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
USER_NUMBER: ${{ secrets.USER_NUMBER }}
VZW_NUMBER: ${{ secrets.VZW_NUMBER }}
ATT_NUMBER: ${{ secrets.ATT_NUMBER }}
Expand Down
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ configuration = bandwidth.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: Basic
configuration = bandwidth.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)

# Configure your client ID and secret for OAuth
configuration = bandwidth.Configuration(
client_id = os.environ["CLIENT_ID"],
Expand Down Expand Up @@ -371,11 +365,6 @@ Class | Method | HTTP request | Description


Authentication schemes defined for the API:
<a id="Basic"></a>
### Basic

- **Type**: HTTP basic authentication

<a id="OAuth2"></a>
### OAuth2

Expand Down
157 changes: 60 additions & 97 deletions bandwidth.yml

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions bandwidth/api/calls_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ def _create_call_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -642,7 +641,6 @@ def _get_call_state_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1050,7 +1048,6 @@ def _list_calls_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1385,7 +1382,6 @@ def _update_call_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1720,7 +1716,6 @@ def _update_call_bxml_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
9 changes: 0 additions & 9 deletions bandwidth/api/conferences_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ def _download_conference_recording_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -647,7 +646,6 @@ def _get_conference_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -966,7 +964,6 @@ def _get_conference_member_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1285,7 +1282,6 @@ def _get_conference_recording_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1589,7 +1585,6 @@ def _list_conference_recordings_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1963,7 +1958,6 @@ def _list_conferences_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -2295,7 +2289,6 @@ def _update_conference_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -2627,7 +2620,6 @@ def _update_conference_bxml_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -2974,7 +2966,6 @@ def _update_conference_member_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
5 changes: 0 additions & 5 deletions bandwidth/api/endpoints_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ def _create_endpoint_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -644,7 +643,6 @@ def _delete_endpoint_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -948,7 +946,6 @@ def _get_endpoint_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1305,7 +1302,6 @@ def _list_endpoints_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1637,7 +1633,6 @@ def _update_endpoint_bxml_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
4 changes: 0 additions & 4 deletions bandwidth/api/media_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@ def _delete_media_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -627,7 +626,6 @@ def _get_media_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -931,7 +929,6 @@ def _list_media_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1348,7 +1345,6 @@ def _upload_media_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
2 changes: 0 additions & 2 deletions bandwidth/api/messages_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ def _create_message_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1092,7 +1091,6 @@ def _list_messages_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
3 changes: 0 additions & 3 deletions bandwidth/api/mfa_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ def _generate_messaging_code_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -631,7 +630,6 @@ def _generate_voice_code_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -939,7 +937,6 @@ def _verify_code_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
1 change: 0 additions & 1 deletion bandwidth/api/multi_channel_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ def _create_multi_channel_message_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
3 changes: 0 additions & 3 deletions bandwidth/api/phone_number_lookup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ def _create_async_bulk_lookup_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -608,7 +607,6 @@ def _create_sync_lookup_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -888,7 +886,6 @@ def _get_async_bulk_lookup_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
10 changes: 0 additions & 10 deletions bandwidth/api/recordings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ def _delete_recording_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -659,7 +658,6 @@ def _delete_recording_media_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -978,7 +976,6 @@ def _delete_recording_transcription_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1299,7 +1296,6 @@ def _download_call_recording_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1618,7 +1614,6 @@ def _get_call_recording_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -1937,7 +1932,6 @@ def _get_recording_transcription_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -2294,7 +2288,6 @@ def _list_account_call_recordings_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -2598,7 +2591,6 @@ def _list_call_recordings_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -2945,7 +2937,6 @@ def _transcribe_call_recording_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down Expand Up @@ -3277,7 +3268,6 @@ def _update_call_recording_state_serialize(

# authentication setting
_auth_settings: List[str] = [
'Basic',
'OAuth2'
]

Expand Down
Loading
Loading