Skip to content

Commit b962ced

Browse files
committed
Add SIP credentials model and related documentation
- Introduced `SipCredentials` model for managing SIP connection credentials. - Added documentation for `CreateEndpointRequestBase`, `CreateEndpointResponse`, `CreateEndpointResponseObject`, `CreateWebRtcConnectionRequest`, `Device`, `DeviceStatusEnum`, `Endpoint`, `EndpointDirectionEnum`, `EndpointEvent`, `EndpointEventTypeEnum`, `EndpointResponse`, `EndpointStatusEnum`, `EndpointTypeEnum`, `Endpoints`, `EndpointsApi`, `ErrorResponse`, `ListEndpointsResponse`, `Page`, `SipConnectionMetadata`, and `SipCredentials`. - Implemented example usage in the documentation for each model.
1 parent 3190b90 commit b962ced

54 files changed

Lines changed: 4667 additions & 8594 deletions

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,5 @@ target/
7777

7878
# Test Fixtures
7979
test/fixtures/
80+
81+
.env

.openapi-generator/FILES

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ bandwidth/__init__.py
55
bandwidth/api/__init__.py
66
bandwidth/api/calls_api.py
77
bandwidth/api/conferences_api.py
8+
bandwidth/api/endpoints_api.py
89
bandwidth/api/media_api.py
910
bandwidth/api/messages_api.py
1011
bandwidth/api/mfa_api.py
@@ -58,16 +59,31 @@ bandwidth/models/create_async_bulk_lookup_response.py
5859
bandwidth/models/create_async_bulk_lookup_response_data.py
5960
bandwidth/models/create_call.py
6061
bandwidth/models/create_call_response.py
62+
bandwidth/models/create_endpoint_request_base.py
63+
bandwidth/models/create_endpoint_response.py
64+
bandwidth/models/create_endpoint_response_object.py
6165
bandwidth/models/create_message_request_error.py
6266
bandwidth/models/create_multi_channel_message_response.py
6367
bandwidth/models/create_sync_lookup_response.py
6468
bandwidth/models/create_sync_lookup_response_data.py
69+
bandwidth/models/create_web_rtc_connection_request.py
6570
bandwidth/models/deactivation_event_enum.py
71+
bandwidth/models/device.py
72+
bandwidth/models/device_status_enum.py
6673
bandwidth/models/disconnect_callback.py
6774
bandwidth/models/diversion.py
6875
bandwidth/models/dtmf_callback.py
76+
bandwidth/models/endpoint.py
77+
bandwidth/models/endpoint_direction_enum.py
78+
bandwidth/models/endpoint_event.py
79+
bandwidth/models/endpoint_event_type_enum.py
80+
bandwidth/models/endpoint_response.py
81+
bandwidth/models/endpoint_status_enum.py
82+
bandwidth/models/endpoint_type_enum.py
83+
bandwidth/models/endpoints.py
6984
bandwidth/models/error.py
7085
bandwidth/models/error_object.py
86+
bandwidth/models/error_response.py
7187
bandwidth/models/error_source.py
7288
bandwidth/models/failure_webhook.py
7389
bandwidth/models/field_error.py
@@ -85,6 +101,7 @@ bandwidth/models/line_type_enum.py
85101
bandwidth/models/link.py
86102
bandwidth/models/link_schema.py
87103
bandwidth/models/links_object.py
104+
bandwidth/models/list_endpoints_response.py
88105
bandwidth/models/list_message_direction_enum.py
89106
bandwidth/models/list_message_item.py
90107
bandwidth/models/lookup_error_response.py
@@ -128,6 +145,7 @@ bandwidth/models/multi_channel_message_content.py
128145
bandwidth/models/multi_channel_message_request.py
129146
bandwidth/models/multi_channel_message_response_data.py
130147
bandwidth/models/opt_in_workflow.py
148+
bandwidth/models/page.py
131149
bandwidth/models/page_info.py
132150
bandwidth/models/priority_enum.py
133151
bandwidth/models/product_type_enum.py
@@ -156,6 +174,8 @@ bandwidth/models/recording_transcription_metadata.py
156174
bandwidth/models/recording_transcriptions.py
157175
bandwidth/models/redirect_callback.py
158176
bandwidth/models/redirect_method_enum.py
177+
bandwidth/models/sip_connection_metadata.py
178+
bandwidth/models/sip_credentials.py
159179
bandwidth/models/sms_message_content.py
160180
bandwidth/models/standalone_card_orientation_enum.py
161181
bandwidth/models/status_callback.py
@@ -238,16 +258,32 @@ docs/CreateAsyncBulkLookupResponse.md
238258
docs/CreateAsyncBulkLookupResponseData.md
239259
docs/CreateCall.md
240260
docs/CreateCallResponse.md
261+
docs/CreateEndpointRequestBase.md
262+
docs/CreateEndpointResponse.md
263+
docs/CreateEndpointResponseObject.md
241264
docs/CreateMessageRequestError.md
242265
docs/CreateMultiChannelMessageResponse.md
243266
docs/CreateSyncLookupResponse.md
244267
docs/CreateSyncLookupResponseData.md
268+
docs/CreateWebRtcConnectionRequest.md
245269
docs/DeactivationEventEnum.md
270+
docs/Device.md
271+
docs/DeviceStatusEnum.md
246272
docs/DisconnectCallback.md
247273
docs/Diversion.md
248274
docs/DtmfCallback.md
275+
docs/Endpoint.md
276+
docs/EndpointDirectionEnum.md
277+
docs/EndpointEvent.md
278+
docs/EndpointEventTypeEnum.md
279+
docs/EndpointResponse.md
280+
docs/EndpointStatusEnum.md
281+
docs/EndpointTypeEnum.md
282+
docs/Endpoints.md
283+
docs/EndpointsApi.md
249284
docs/Error.md
250285
docs/ErrorObject.md
286+
docs/ErrorResponse.md
251287
docs/ErrorSource.md
252288
docs/FailureWebhook.md
253289
docs/FieldError.md
@@ -265,6 +301,7 @@ docs/LineTypeEnum.md
265301
docs/Link.md
266302
docs/LinkSchema.md
267303
docs/LinksObject.md
304+
docs/ListEndpointsResponse.md
268305
docs/ListMessageDirectionEnum.md
269306
docs/ListMessageItem.md
270307
docs/LookupErrorResponse.md
@@ -312,6 +349,7 @@ docs/MultiChannelMessageContent.md
312349
docs/MultiChannelMessageRequest.md
313350
docs/MultiChannelMessageResponseData.md
314351
docs/OptInWorkflow.md
352+
docs/Page.md
315353
docs/PageInfo.md
316354
docs/PhoneNumberLookupApi.md
317355
docs/PriorityEnum.md
@@ -342,6 +380,8 @@ docs/RecordingTranscriptions.md
342380
docs/RecordingsApi.md
343381
docs/RedirectCallback.md
344382
docs/RedirectMethodEnum.md
383+
docs/SipConnectionMetadata.md
384+
docs/SipCredentials.md
345385
docs/SmsMessageContent.md
346386
docs/StandaloneCardOrientationEnum.md
347387
docs/StatisticsApi.md

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ Class | Method | HTTP request | Description
117117
*ConferencesApi* | [**update_conference**](docs/ConferencesApi.md#update_conference) | **POST** /accounts/{accountId}/conferences/{conferenceId} | Update Conference
118118
*ConferencesApi* | [**update_conference_bxml**](docs/ConferencesApi.md#update_conference_bxml) | **PUT** /accounts/{accountId}/conferences/{conferenceId}/bxml | Update Conference BXML
119119
*ConferencesApi* | [**update_conference_member**](docs/ConferencesApi.md#update_conference_member) | **PUT** /accounts/{accountId}/conferences/{conferenceId}/members/{memberId} | Update Conference Member
120+
*EndpointsApi* | [**create_endpoint**](docs/EndpointsApi.md#create_endpoint) | **POST** /accounts/{accountId}/endpoints | Create Endpoint
121+
*EndpointsApi* | [**delete_endpoint**](docs/EndpointsApi.md#delete_endpoint) | **DELETE** /accounts/{accountId}/endpoints/{endpointId} | Delete Endpoint
122+
*EndpointsApi* | [**get_endpoint**](docs/EndpointsApi.md#get_endpoint) | **GET** /accounts/{accountId}/endpoints/{endpointId} | Get Endpoint
123+
*EndpointsApi* | [**list_endpoints**](docs/EndpointsApi.md#list_endpoints) | **GET** /accounts/{accountId}/endpoints | List Endpoints
124+
*EndpointsApi* | [**update_endpoint_bxml**](docs/EndpointsApi.md#update_endpoint_bxml) | **PUT** /accounts/{accountId}/endpoints/{endpointId}/bxml | Update Endpoint BXML
120125
*MFAApi* | [**generate_messaging_code**](docs/MFAApi.md#generate_messaging_code) | **POST** /accounts/{accountId}/code/messaging | Messaging Authentication Code
121126
*MFAApi* | [**generate_voice_code**](docs/MFAApi.md#generate_voice_code) | **POST** /accounts/{accountId}/code/voice | Voice Authentication Code
122127
*MFAApi* | [**verify_code**](docs/MFAApi.md#verify_code) | **POST** /accounts/{accountId}/code/verify | Verify Authentication Code
@@ -196,16 +201,31 @@ Class | Method | HTTP request | Description
196201
- [CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
197202
- [CreateCall](docs/CreateCall.md)
198203
- [CreateCallResponse](docs/CreateCallResponse.md)
204+
- [CreateEndpointRequestBase](docs/CreateEndpointRequestBase.md)
205+
- [CreateEndpointResponse](docs/CreateEndpointResponse.md)
206+
- [CreateEndpointResponseObject](docs/CreateEndpointResponseObject.md)
199207
- [CreateMessageRequestError](docs/CreateMessageRequestError.md)
200208
- [CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
201209
- [CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
202210
- [CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
211+
- [CreateWebRtcConnectionRequest](docs/CreateWebRtcConnectionRequest.md)
203212
- [DeactivationEventEnum](docs/DeactivationEventEnum.md)
213+
- [Device](docs/Device.md)
214+
- [DeviceStatusEnum](docs/DeviceStatusEnum.md)
204215
- [DisconnectCallback](docs/DisconnectCallback.md)
205216
- [Diversion](docs/Diversion.md)
206217
- [DtmfCallback](docs/DtmfCallback.md)
218+
- [Endpoint](docs/Endpoint.md)
219+
- [EndpointDirectionEnum](docs/EndpointDirectionEnum.md)
220+
- [EndpointEvent](docs/EndpointEvent.md)
221+
- [EndpointEventTypeEnum](docs/EndpointEventTypeEnum.md)
222+
- [EndpointResponse](docs/EndpointResponse.md)
223+
- [EndpointStatusEnum](docs/EndpointStatusEnum.md)
224+
- [EndpointTypeEnum](docs/EndpointTypeEnum.md)
225+
- [Endpoints](docs/Endpoints.md)
207226
- [Error](docs/Error.md)
208227
- [ErrorObject](docs/ErrorObject.md)
228+
- [ErrorResponse](docs/ErrorResponse.md)
209229
- [ErrorSource](docs/ErrorSource.md)
210230
- [FailureWebhook](docs/FailureWebhook.md)
211231
- [FieldError](docs/FieldError.md)
@@ -223,6 +243,7 @@ Class | Method | HTTP request | Description
223243
- [Link](docs/Link.md)
224244
- [LinkSchema](docs/LinkSchema.md)
225245
- [LinksObject](docs/LinksObject.md)
246+
- [ListEndpointsResponse](docs/ListEndpointsResponse.md)
226247
- [ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
227248
- [ListMessageItem](docs/ListMessageItem.md)
228249
- [LookupErrorResponse](docs/LookupErrorResponse.md)
@@ -266,6 +287,7 @@ Class | Method | HTTP request | Description
266287
- [MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
267288
- [MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
268289
- [OptInWorkflow](docs/OptInWorkflow.md)
290+
- [Page](docs/Page.md)
269291
- [PageInfo](docs/PageInfo.md)
270292
- [PriorityEnum](docs/PriorityEnum.md)
271293
- [ProductTypeEnum](docs/ProductTypeEnum.md)
@@ -294,6 +316,8 @@ Class | Method | HTTP request | Description
294316
- [RecordingTranscriptions](docs/RecordingTranscriptions.md)
295317
- [RedirectCallback](docs/RedirectCallback.md)
296318
- [RedirectMethodEnum](docs/RedirectMethodEnum.md)
319+
- [SipConnectionMetadata](docs/SipConnectionMetadata.md)
320+
- [SipCredentials](docs/SipCredentials.md)
297321
- [SmsMessageContent](docs/SmsMessageContent.md)
298322
- [StandaloneCardOrientationEnum](docs/StandaloneCardOrientationEnum.md)
299323
- [StatusCallback](docs/StatusCallback.md)

0 commit comments

Comments
 (0)