bandwidth-sdk 17.3.2 → 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 +6 -6
- data/README.md +28 -2
- data/bandwidth.yml +979 -60
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +783 -152
- data/coverage/index.html +21642 -14804
- 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/{BusinessRegistrationIssuingCountryEnum.md → DeviceStatusEnum.md} +2 -2
- 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/MediaApi.md +1 -1
- data/docs/MessageRequest.md +1 -1
- data/docs/MmsMessageContentFile.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/TfvSubmissionInfo.md +3 -3
- data/docs/UpdateCall.md +1 -1
- data/docs/VerificationRequest.md +3 -3
- data/docs/VerificationUpdateRequest.md +3 -3
- 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/api/media_api.rb +2 -2
- 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/mms_message_content_file.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/tfv_submission_info.rb +4 -2
- data/lib/bandwidth-sdk/models/update_call.rb +6 -6
- data/lib/bandwidth-sdk/models/verification_request.rb +4 -2
- data/lib/bandwidth-sdk/models/verification_update_request.rb +4 -2
- 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 -2
- data/spec/smoke/endpoints_api_spec.rb +148 -0
- data/spec/smoke/phone_number_lookup_api_spec.rb +1 -9
- data/spec/unit/api/endpoints_api_spec.rb +172 -0
- data/spec/unit/api/phone_number_lookup_api_spec.rb +2 -0
- data/spec/unit/api/toll_free_verification_api_spec.rb +1 -1
- metadata +104 -54
- data/lib/bandwidth-sdk/models/business_registration_issuing_country_enum.rb +0 -55
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 (
|
|
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,9 +35,9 @@ 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
|
-
parallel (1.
|
|
40
|
+
parallel (1.28.0)
|
|
41
41
|
parser (3.3.11.1)
|
|
42
42
|
ast (~> 2.4.1)
|
|
43
43
|
racc
|
|
@@ -52,7 +52,7 @@ GEM
|
|
|
52
52
|
racc (1.8.1)
|
|
53
53
|
rainbow (3.1.1)
|
|
54
54
|
rake (13.2.1)
|
|
55
|
-
regexp_parser (2.
|
|
55
|
+
regexp_parser (2.12.0)
|
|
56
56
|
reline (0.6.3)
|
|
57
57
|
io-console (~> 0.5)
|
|
58
58
|
rspec (3.13.2)
|
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,8 +184,11 @@ 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
|
-
- [Bandwidth::BusinessRegistrationIssuingCountryEnum](docs/BusinessRegistrationIssuingCountryEnum.md)
|
|
184
192
|
- [Bandwidth::BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
|
|
185
193
|
- [Bandwidth::CallDirectionEnum](docs/CallDirectionEnum.md)
|
|
186
194
|
- [Bandwidth::CallRecordingMetadata](docs/CallRecordingMetadata.md)
|
|
@@ -211,15 +219,28 @@ Class | Method | HTTP request | Description
|
|
|
211
219
|
- [Bandwidth::CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
|
|
212
220
|
- [Bandwidth::CreateCall](docs/CreateCall.md)
|
|
213
221
|
- [Bandwidth::CreateCallResponse](docs/CreateCallResponse.md)
|
|
222
|
+
- [Bandwidth::CreateEndpointRequestBase](docs/CreateEndpointRequestBase.md)
|
|
223
|
+
- [Bandwidth::CreateEndpointResponse](docs/CreateEndpointResponse.md)
|
|
224
|
+
- [Bandwidth::CreateEndpointResponseData](docs/CreateEndpointResponseData.md)
|
|
214
225
|
- [Bandwidth::CreateMessageRequestError](docs/CreateMessageRequestError.md)
|
|
215
226
|
- [Bandwidth::CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
|
|
216
227
|
- [Bandwidth::CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
|
|
217
228
|
- [Bandwidth::CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
|
|
229
|
+
- [Bandwidth::CreateWebRtcConnectionRequest](docs/CreateWebRtcConnectionRequest.md)
|
|
218
230
|
- [Bandwidth::DeactivationEventEnum](docs/DeactivationEventEnum.md)
|
|
231
|
+
- [Bandwidth::Device](docs/Device.md)
|
|
232
|
+
- [Bandwidth::DeviceStatusEnum](docs/DeviceStatusEnum.md)
|
|
219
233
|
- [Bandwidth::DisconnectCallback](docs/DisconnectCallback.md)
|
|
220
234
|
- [Bandwidth::Diversion](docs/Diversion.md)
|
|
221
235
|
- [Bandwidth::DtmfCallback](docs/DtmfCallback.md)
|
|
222
|
-
- [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)
|
|
223
244
|
- [Bandwidth::ErrorObject](docs/ErrorObject.md)
|
|
224
245
|
- [Bandwidth::ErrorSource](docs/ErrorSource.md)
|
|
225
246
|
- [Bandwidth::FailureWebhook](docs/FailureWebhook.md)
|
|
@@ -238,6 +259,7 @@ Class | Method | HTTP request | Description
|
|
|
238
259
|
- [Bandwidth::Link](docs/Link.md)
|
|
239
260
|
- [Bandwidth::LinkSchema](docs/LinkSchema.md)
|
|
240
261
|
- [Bandwidth::LinksObject](docs/LinksObject.md)
|
|
262
|
+
- [Bandwidth::ListEndpointsResponse](docs/ListEndpointsResponse.md)
|
|
241
263
|
- [Bandwidth::ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
|
|
242
264
|
- [Bandwidth::ListMessageItem](docs/ListMessageItem.md)
|
|
243
265
|
- [Bandwidth::LookupErrorResponse](docs/LookupErrorResponse.md)
|
|
@@ -281,6 +303,7 @@ Class | Method | HTTP request | Description
|
|
|
281
303
|
- [Bandwidth::MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
|
|
282
304
|
- [Bandwidth::MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
|
|
283
305
|
- [Bandwidth::OptInWorkflow](docs/OptInWorkflow.md)
|
|
306
|
+
- [Bandwidth::Page](docs/Page.md)
|
|
284
307
|
- [Bandwidth::PageInfo](docs/PageInfo.md)
|
|
285
308
|
- [Bandwidth::PriorityEnum](docs/PriorityEnum.md)
|
|
286
309
|
- [Bandwidth::ProductTypeEnum](docs/ProductTypeEnum.md)
|
|
@@ -309,6 +332,8 @@ Class | Method | HTTP request | Description
|
|
|
309
332
|
- [Bandwidth::RecordingTranscriptions](docs/RecordingTranscriptions.md)
|
|
310
333
|
- [Bandwidth::RedirectCallback](docs/RedirectCallback.md)
|
|
311
334
|
- [Bandwidth::RedirectMethodEnum](docs/RedirectMethodEnum.md)
|
|
335
|
+
- [Bandwidth::SipConnectionMetadata](docs/SipConnectionMetadata.md)
|
|
336
|
+
- [Bandwidth::SipCredentials](docs/SipCredentials.md)
|
|
312
337
|
- [Bandwidth::SmsMessageContent](docs/SmsMessageContent.md)
|
|
313
338
|
- [Bandwidth::StandaloneCardOrientationEnum](docs/StandaloneCardOrientationEnum.md)
|
|
314
339
|
- [Bandwidth::StatusCallback](docs/StatusCallback.md)
|
|
@@ -345,6 +370,7 @@ Class | Method | HTTP request | Description
|
|
|
345
370
|
- [Bandwidth::VoiceCodeResponse](docs/VoiceCodeResponse.md)
|
|
346
371
|
- [Bandwidth::WebhookSubscription](docs/WebhookSubscription.md)
|
|
347
372
|
- [Bandwidth::WebhookSubscriptionBasicAuthentication](docs/WebhookSubscriptionBasicAuthentication.md)
|
|
373
|
+
- [Bandwidth::WebhookSubscriptionError](docs/WebhookSubscriptionError.md)
|
|
348
374
|
- [Bandwidth::WebhookSubscriptionRequestSchema](docs/WebhookSubscriptionRequestSchema.md)
|
|
349
375
|
- [Bandwidth::WebhookSubscriptionTypeEnum](docs/WebhookSubscriptionTypeEnum.md)
|
|
350
376
|
- [Bandwidth::WebhookSubscriptionsListBody](docs/WebhookSubscriptionsListBody.md)
|