bandwidth-sdk 18.0.0 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +28 -1
- data/bandwidth.yml +944 -19
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +784 -152
- data/coverage/index.html +21650 -14800
- data/docs/BrtcError.md +26 -0
- data/docs/BrtcErrorResponse.md +22 -0
- data/docs/BrtcErrorSource.md +24 -0
- data/docs/BrtcLink.md +22 -0
- data/docs/CreateCall.md +2 -2
- data/docs/CreateEndpointRequestBase.md +26 -0
- data/docs/CreateEndpointResponse.md +22 -0
- data/docs/CreateEndpointResponseData.md +32 -0
- data/docs/CreateWebRtcConnectionRequest.md +28 -0
- data/docs/Device.md +24 -0
- data/docs/DeviceStatusEnum.md +15 -0
- data/docs/Endpoint.md +30 -0
- data/docs/EndpointDirectionEnum.md +15 -0
- data/docs/EndpointEvent.md +34 -0
- data/docs/EndpointEventTypeEnum.md +15 -0
- data/docs/EndpointResponse.md +22 -0
- data/docs/EndpointStatusEnum.md +15 -0
- data/docs/EndpointTypeEnum.md +15 -0
- data/docs/Endpoints.md +28 -0
- data/docs/EndpointsApi.md +395 -0
- data/docs/InboundCallback.md +2 -2
- data/docs/ListEndpointsResponse.md +24 -0
- data/docs/LookupResult.md +1 -1
- data/docs/MachineDetectionConfiguration.md +1 -1
- data/docs/MessageRequest.md +1 -1
- data/docs/Page.md +24 -0
- data/docs/RbmActionBase.md +1 -1
- data/docs/RbmSuggestionResponse.md +1 -1
- data/docs/SipConnectionMetadata.md +24 -0
- data/docs/SipCredentials.md +20 -0
- data/docs/StatusCallback.md +1 -1
- data/docs/SyncLookupRequest.md +3 -1
- data/docs/UpdateCall.md +1 -1
- data/docs/WebhookSubscriptionError.md +22 -0
- data/docs/WebhookSubscriptionsListBody.md +1 -1
- data/lib/bandwidth-sdk/api/endpoints_api.rb +397 -0
- data/lib/bandwidth-sdk/configuration.rb +30 -0
- data/lib/bandwidth-sdk/models/brtc_error.rb +219 -0
- data/lib/bandwidth-sdk/models/brtc_error_response.rb +204 -0
- data/lib/bandwidth-sdk/models/brtc_error_source.rb +176 -0
- data/lib/bandwidth-sdk/models/brtc_link.rb +166 -0
- data/lib/bandwidth-sdk/models/create_call.rb +7 -7
- data/lib/bandwidth-sdk/models/create_endpoint_request_base.rb +250 -0
- data/lib/bandwidth-sdk/models/create_endpoint_response.rb +218 -0
- data/lib/bandwidth-sdk/models/create_endpoint_response_data.rb +356 -0
- data/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb +266 -0
- data/lib/bandwidth-sdk/models/device.rb +258 -0
- data/lib/bandwidth-sdk/models/device_status_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/endpoint.rb +329 -0
- data/lib/bandwidth-sdk/models/endpoint_direction_enum.rb +41 -0
- data/lib/bandwidth-sdk/models/endpoint_event.rb +381 -0
- data/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/endpoint_response.rb +218 -0
- data/lib/bandwidth-sdk/models/endpoint_status_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/endpoint_type_enum.rb +39 -0
- data/lib/bandwidth-sdk/models/endpoints.rb +311 -0
- data/lib/bandwidth-sdk/models/inbound_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/list_endpoints_response.rb +229 -0
- data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- data/lib/bandwidth-sdk/models/page.rb +259 -0
- data/lib/bandwidth-sdk/models/sip_connection_metadata.rb +175 -0
- data/lib/bandwidth-sdk/models/sip_credentials.rb +156 -0
- data/lib/bandwidth-sdk/models/status_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/sync_lookup_request.rb +35 -4
- data/lib/bandwidth-sdk/models/update_call.rb +6 -6
- data/lib/bandwidth-sdk/models/webhook_subscription_error.rb +165 -0
- data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +24 -1
- data/spec/smoke/endpoints_api_spec.rb +148 -0
- data/spec/unit/api/endpoints_api_spec.rb +172 -0
- data/spec/unit/api/phone_number_lookup_api_spec.rb +2 -0
- metadata +104 -52
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7dcbb1ebc9528006813652f3007134fe9a14e34066014f28de61b269e320ff6
|
|
4
|
+
data.tar.gz: d30c0d59eaf1bf08d79322c4da54d513da7220516720735591ee846d35be1514
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d187aa225ac4ae82b347c548ced916af4f953be2c08520e58b56f187db204be71fa74721eaac199896b9c562f380ac4b27988e2289eb5dba6c66f51dce32d8ce
|
|
7
|
+
data.tar.gz: ad3b1f601bd8694f5aa8a14149bd86c3a46ab9d9bc88f2de15904d9940953b6126ae735328080edcc557995fea32e4036a83b2698877badda2421c775a2cbda0
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bandwidth-sdk (18.
|
|
4
|
+
bandwidth-sdk (18.1.0)
|
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
|
6
6
|
faraday-multipart
|
|
7
7
|
marcel
|
|
@@ -11,7 +11,7 @@ GEM
|
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
13
|
ast (2.4.3)
|
|
14
|
-
bigdecimal (4.1.
|
|
14
|
+
bigdecimal (4.1.2)
|
|
15
15
|
byebug (13.0.0)
|
|
16
16
|
reline (>= 0.6.0)
|
|
17
17
|
coderay (1.1.3)
|
|
@@ -26,7 +26,7 @@ GEM
|
|
|
26
26
|
faraday-net_http (3.4.2)
|
|
27
27
|
net-http (~> 0.5)
|
|
28
28
|
io-console (0.8.2)
|
|
29
|
-
json (2.19.
|
|
29
|
+
json (2.19.5)
|
|
30
30
|
language_server-protocol (3.17.0.5)
|
|
31
31
|
lint_roller (1.1.0)
|
|
32
32
|
logger (1.7.0)
|
|
@@ -35,7 +35,7 @@ GEM
|
|
|
35
35
|
multipart-post (2.4.1)
|
|
36
36
|
net-http (0.9.1)
|
|
37
37
|
uri (>= 0.11.1)
|
|
38
|
-
ox (2.14.
|
|
38
|
+
ox (2.14.26)
|
|
39
39
|
bigdecimal (>= 3.0)
|
|
40
40
|
parallel (1.28.0)
|
|
41
41
|
parser (3.3.11.1)
|
data/README.md
CHANGED
|
@@ -131,6 +131,11 @@ Class | Method | HTTP request | Description
|
|
|
131
131
|
*Bandwidth::ConferencesApi* | [**update_conference**](docs/ConferencesApi.md#update_conference) | **POST** /accounts/{accountId}/conferences/{conferenceId} | Update Conference
|
|
132
132
|
*Bandwidth::ConferencesApi* | [**update_conference_bxml**](docs/ConferencesApi.md#update_conference_bxml) | **PUT** /accounts/{accountId}/conferences/{conferenceId}/bxml | Update Conference BXML
|
|
133
133
|
*Bandwidth::ConferencesApi* | [**update_conference_member**](docs/ConferencesApi.md#update_conference_member) | **PUT** /accounts/{accountId}/conferences/{conferenceId}/members/{memberId} | Update Conference Member
|
|
134
|
+
*Bandwidth::EndpointsApi* | [**create_endpoint**](docs/EndpointsApi.md#create_endpoint) | **POST** /accounts/{accountId}/endpoints | Create Endpoint
|
|
135
|
+
*Bandwidth::EndpointsApi* | [**delete_endpoint**](docs/EndpointsApi.md#delete_endpoint) | **DELETE** /accounts/{accountId}/endpoints/{endpointId} | Delete Endpoint
|
|
136
|
+
*Bandwidth::EndpointsApi* | [**get_endpoint**](docs/EndpointsApi.md#get_endpoint) | **GET** /accounts/{accountId}/endpoints/{endpointId} | Get Endpoint
|
|
137
|
+
*Bandwidth::EndpointsApi* | [**list_endpoints**](docs/EndpointsApi.md#list_endpoints) | **GET** /accounts/{accountId}/endpoints | List Endpoints
|
|
138
|
+
*Bandwidth::EndpointsApi* | [**update_endpoint_bxml**](docs/EndpointsApi.md#update_endpoint_bxml) | **PUT** /accounts/{accountId}/endpoints/{endpointId}/bxml | Update Endpoint BXML
|
|
134
139
|
*Bandwidth::MFAApi* | [**generate_messaging_code**](docs/MFAApi.md#generate_messaging_code) | **POST** /accounts/{accountId}/code/messaging | Messaging Authentication Code
|
|
135
140
|
*Bandwidth::MFAApi* | [**generate_voice_code**](docs/MFAApi.md#generate_voice_code) | **POST** /accounts/{accountId}/code/voice | Voice Authentication Code
|
|
136
141
|
*Bandwidth::MFAApi* | [**verify_code**](docs/MFAApi.md#verify_code) | **POST** /accounts/{accountId}/code/verify | Verify Authentication Code
|
|
@@ -179,6 +184,10 @@ Class | Method | HTTP request | Description
|
|
|
179
184
|
- [Bandwidth::BlockedWebhook](docs/BlockedWebhook.md)
|
|
180
185
|
- [Bandwidth::BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
|
|
181
186
|
- [Bandwidth::BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
|
|
187
|
+
- [Bandwidth::BrtcError](docs/BrtcError.md)
|
|
188
|
+
- [Bandwidth::BrtcErrorResponse](docs/BrtcErrorResponse.md)
|
|
189
|
+
- [Bandwidth::BrtcErrorSource](docs/BrtcErrorSource.md)
|
|
190
|
+
- [Bandwidth::BrtcLink](docs/BrtcLink.md)
|
|
182
191
|
- [Bandwidth::BusinessEntityTypeEnum](docs/BusinessEntityTypeEnum.md)
|
|
183
192
|
- [Bandwidth::BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
|
|
184
193
|
- [Bandwidth::CallDirectionEnum](docs/CallDirectionEnum.md)
|
|
@@ -210,15 +219,28 @@ Class | Method | HTTP request | Description
|
|
|
210
219
|
- [Bandwidth::CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
|
|
211
220
|
- [Bandwidth::CreateCall](docs/CreateCall.md)
|
|
212
221
|
- [Bandwidth::CreateCallResponse](docs/CreateCallResponse.md)
|
|
222
|
+
- [Bandwidth::CreateEndpointRequestBase](docs/CreateEndpointRequestBase.md)
|
|
223
|
+
- [Bandwidth::CreateEndpointResponse](docs/CreateEndpointResponse.md)
|
|
224
|
+
- [Bandwidth::CreateEndpointResponseData](docs/CreateEndpointResponseData.md)
|
|
213
225
|
- [Bandwidth::CreateMessageRequestError](docs/CreateMessageRequestError.md)
|
|
214
226
|
- [Bandwidth::CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
|
|
215
227
|
- [Bandwidth::CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
|
|
216
228
|
- [Bandwidth::CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
|
|
229
|
+
- [Bandwidth::CreateWebRtcConnectionRequest](docs/CreateWebRtcConnectionRequest.md)
|
|
217
230
|
- [Bandwidth::DeactivationEventEnum](docs/DeactivationEventEnum.md)
|
|
231
|
+
- [Bandwidth::Device](docs/Device.md)
|
|
232
|
+
- [Bandwidth::DeviceStatusEnum](docs/DeviceStatusEnum.md)
|
|
218
233
|
- [Bandwidth::DisconnectCallback](docs/DisconnectCallback.md)
|
|
219
234
|
- [Bandwidth::Diversion](docs/Diversion.md)
|
|
220
235
|
- [Bandwidth::DtmfCallback](docs/DtmfCallback.md)
|
|
221
|
-
- [Bandwidth::
|
|
236
|
+
- [Bandwidth::Endpoint](docs/Endpoint.md)
|
|
237
|
+
- [Bandwidth::EndpointDirectionEnum](docs/EndpointDirectionEnum.md)
|
|
238
|
+
- [Bandwidth::EndpointEvent](docs/EndpointEvent.md)
|
|
239
|
+
- [Bandwidth::EndpointEventTypeEnum](docs/EndpointEventTypeEnum.md)
|
|
240
|
+
- [Bandwidth::EndpointResponse](docs/EndpointResponse.md)
|
|
241
|
+
- [Bandwidth::EndpointStatusEnum](docs/EndpointStatusEnum.md)
|
|
242
|
+
- [Bandwidth::EndpointTypeEnum](docs/EndpointTypeEnum.md)
|
|
243
|
+
- [Bandwidth::Endpoints](docs/Endpoints.md)
|
|
222
244
|
- [Bandwidth::ErrorObject](docs/ErrorObject.md)
|
|
223
245
|
- [Bandwidth::ErrorSource](docs/ErrorSource.md)
|
|
224
246
|
- [Bandwidth::FailureWebhook](docs/FailureWebhook.md)
|
|
@@ -237,6 +259,7 @@ Class | Method | HTTP request | Description
|
|
|
237
259
|
- [Bandwidth::Link](docs/Link.md)
|
|
238
260
|
- [Bandwidth::LinkSchema](docs/LinkSchema.md)
|
|
239
261
|
- [Bandwidth::LinksObject](docs/LinksObject.md)
|
|
262
|
+
- [Bandwidth::ListEndpointsResponse](docs/ListEndpointsResponse.md)
|
|
240
263
|
- [Bandwidth::ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
|
|
241
264
|
- [Bandwidth::ListMessageItem](docs/ListMessageItem.md)
|
|
242
265
|
- [Bandwidth::LookupErrorResponse](docs/LookupErrorResponse.md)
|
|
@@ -280,6 +303,7 @@ Class | Method | HTTP request | Description
|
|
|
280
303
|
- [Bandwidth::MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
|
|
281
304
|
- [Bandwidth::MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
|
|
282
305
|
- [Bandwidth::OptInWorkflow](docs/OptInWorkflow.md)
|
|
306
|
+
- [Bandwidth::Page](docs/Page.md)
|
|
283
307
|
- [Bandwidth::PageInfo](docs/PageInfo.md)
|
|
284
308
|
- [Bandwidth::PriorityEnum](docs/PriorityEnum.md)
|
|
285
309
|
- [Bandwidth::ProductTypeEnum](docs/ProductTypeEnum.md)
|
|
@@ -308,6 +332,8 @@ Class | Method | HTTP request | Description
|
|
|
308
332
|
- [Bandwidth::RecordingTranscriptions](docs/RecordingTranscriptions.md)
|
|
309
333
|
- [Bandwidth::RedirectCallback](docs/RedirectCallback.md)
|
|
310
334
|
- [Bandwidth::RedirectMethodEnum](docs/RedirectMethodEnum.md)
|
|
335
|
+
- [Bandwidth::SipConnectionMetadata](docs/SipConnectionMetadata.md)
|
|
336
|
+
- [Bandwidth::SipCredentials](docs/SipCredentials.md)
|
|
311
337
|
- [Bandwidth::SmsMessageContent](docs/SmsMessageContent.md)
|
|
312
338
|
- [Bandwidth::StandaloneCardOrientationEnum](docs/StandaloneCardOrientationEnum.md)
|
|
313
339
|
- [Bandwidth::StatusCallback](docs/StatusCallback.md)
|
|
@@ -344,6 +370,7 @@ Class | Method | HTTP request | Description
|
|
|
344
370
|
- [Bandwidth::VoiceCodeResponse](docs/VoiceCodeResponse.md)
|
|
345
371
|
- [Bandwidth::WebhookSubscription](docs/WebhookSubscription.md)
|
|
346
372
|
- [Bandwidth::WebhookSubscriptionBasicAuthentication](docs/WebhookSubscriptionBasicAuthentication.md)
|
|
373
|
+
- [Bandwidth::WebhookSubscriptionError](docs/WebhookSubscriptionError.md)
|
|
347
374
|
- [Bandwidth::WebhookSubscriptionRequestSchema](docs/WebhookSubscriptionRequestSchema.md)
|
|
348
375
|
- [Bandwidth::WebhookSubscriptionTypeEnum](docs/WebhookSubscriptionTypeEnum.md)
|
|
349
376
|
- [Bandwidth::WebhookSubscriptionsListBody](docs/WebhookSubscriptionsListBody.md)
|