bandwidth-sdk 8.0.0 → 8.1.1
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.
- package/.github/workflows/deploy.yml +1 -1
- package/.github/workflows/test-pr.yml +1 -1
- package/.github/workflows/test-smoke.yml +1 -1
- package/.openapi-generator/FILES +48 -2
- package/README.md +28 -1
- package/api/endpoints-api.ts +519 -0
- package/api.ts +1 -0
- package/bandwidth.yml +944 -19
- package/base.ts +30 -0
- package/configuration.ts +1 -1
- package/coverage/clover.xml +815 -611
- package/coverage/coverage-final.json +95 -87
- package/coverage/lcov-report/index.html +38 -38
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +14 -14
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +18 -18
- package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +1642 -0
- package/coverage/lcov-report/node-sdk/api/index.html +24 -9
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +13 -13
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +11 -11
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +12 -12
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +10 -10
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +12 -12
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +19 -19
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +10 -10
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +18 -18
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +12 -12
- package/coverage/lcov-report/node-sdk/api.ts.html +18 -15
- package/coverage/lcov-report/node-sdk/base.ts.html +104 -14
- package/coverage/lcov-report/node-sdk/common.ts.html +39 -39
- package/coverage/lcov-report/node-sdk/configuration.ts.html +26 -26
- package/coverage/lcov-report/node-sdk/index.html +7 -7
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +23 -23
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +8 -8
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +13 -13
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +15 -15
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Connect.ts.html +184 -0
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Endpoint.ts.html +142 -0
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +7 -7
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +6 -6
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +5 -5
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +5 -5
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +5 -5
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +38 -8
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +39 -33
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +163 -0
- package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +166 -0
- package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +163 -0
- package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +163 -0
- package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +160 -0
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/index.html +80 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +247 -181
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
- package/coverage/lcov.info +1234 -761
- package/custom_templates/modelAllOf.mustache +14 -0
- package/dist/api/endpoints-api.d.ts +236 -0
- package/dist/api/endpoints-api.js +666 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +30 -0
- package/dist/configuration.js +1 -1
- package/dist/models/brtc-error-response.d.ts +18 -0
- package/dist/models/brtc-error-source.d.ts +29 -0
- package/dist/models/brtc-error-source.js +15 -0
- package/dist/models/brtc-error.d.ts +31 -0
- package/dist/models/brtc-error.js +15 -0
- package/dist/models/brtc-link.d.ts +25 -0
- package/dist/models/brtc-link.js +15 -0
- package/dist/models/bxml/verbs/Connect.d.ts +25 -0
- package/dist/models/bxml/verbs/Connect.js +45 -0
- package/dist/models/bxml/verbs/Endpoint.d.ts +15 -0
- package/dist/models/bxml/verbs/Endpoint.js +37 -0
- package/dist/models/bxml/verbs/index.d.ts +2 -0
- package/dist/models/bxml/verbs/index.js +2 -0
- package/dist/models/create-call.d.ts +2 -2
- package/dist/models/create-endpoint-request-base.d.ts +29 -0
- package/dist/models/create-endpoint-request-base.js +15 -0
- package/dist/models/create-endpoint-response-data.d.ts +42 -0
- package/dist/models/create-endpoint-response-data.js +15 -0
- package/dist/models/create-endpoint-response.d.ts +19 -0
- package/dist/models/create-endpoint-response.js +15 -0
- package/dist/models/create-web-rtc-connection-request.d.ts +33 -0
- package/dist/models/create-web-rtc-connection-request.js +15 -0
- package/dist/models/device-status-enum.d.ts +16 -0
- package/dist/models/device-status-enum.js +20 -0
- package/dist/models/device.d.ts +27 -0
- package/dist/models/device.js +15 -0
- package/dist/models/endpoint-direction-enum.d.ts +17 -0
- package/dist/models/endpoint-direction-enum.js +21 -0
- package/dist/models/endpoint-event-type-enum.d.ts +16 -0
- package/dist/models/endpoint-event-type-enum.js +20 -0
- package/dist/models/endpoint-event.d.ts +45 -0
- package/dist/models/endpoint-event.js +15 -0
- package/dist/models/endpoint-response.d.ts +19 -0
- package/dist/models/endpoint-response.js +15 -0
- package/dist/models/endpoint-status-enum.d.ts +16 -0
- package/dist/models/endpoint-status-enum.js +20 -0
- package/dist/models/endpoint-type-enum.d.ts +15 -0
- package/dist/models/endpoint-type-enum.js +19 -0
- package/dist/models/endpoint.d.ts +38 -0
- package/dist/models/endpoint.js +15 -0
- package/dist/models/endpoints.d.ts +33 -0
- package/dist/models/endpoints.js +15 -0
- package/dist/models/inbound-callback-message.d.ts +48 -2
- package/dist/models/inbound-callback-type-enum.d.ts +1 -1
- package/dist/models/inbound-callback-type-enum.js +1 -1
- package/dist/models/inbound-callback.d.ts +2 -2
- package/dist/models/index.d.ts +23 -1
- package/dist/models/index.js +23 -1
- package/dist/models/list-endpoints-response.d.ts +21 -0
- package/dist/models/list-endpoints-response.js +15 -0
- package/dist/models/lookup-result.d.ts +1 -1
- package/dist/models/machine-detection-configuration.d.ts +1 -1
- package/dist/models/message-request.d.ts +1 -1
- package/dist/models/multi-channel-action-calendar-event.d.ts +28 -2
- package/dist/models/multi-channel-channel-list-mmsobject.d.ts +14 -2
- package/dist/models/multi-channel-channel-list-mmsresponse-object.d.ts +18 -3
- package/dist/models/multi-channel-channel-list-rbmobject.d.ts +14 -2
- package/dist/models/multi-channel-channel-list-rbmresponse-object.d.ts +18 -3
- package/dist/models/multi-channel-channel-list-smsobject.d.ts +14 -2
- package/dist/models/multi-channel-channel-list-smsresponse-object.d.ts +18 -3
- package/dist/models/page.d.ts +29 -0
- package/dist/models/page.js +15 -0
- package/dist/models/rbm-action-dial.d.ts +16 -2
- package/dist/models/rbm-action-open-url.d.ts +20 -2
- package/dist/models/rbm-action-view-location.d.ts +24 -2
- package/dist/models/rbm-card-content-media.d.ts +12 -2
- package/dist/models/rbm-open-url-enum.d.ts +1 -1
- package/dist/models/rbm-open-url-enum.js +1 -1
- package/dist/models/rbm-web-view-enum.d.ts +1 -1
- package/dist/models/rbm-web-view-enum.js +1 -1
- package/dist/models/sip-connection-metadata.d.ts +27 -0
- package/dist/models/sip-connection-metadata.js +15 -0
- package/dist/models/sip-credentials.d.ts +21 -0
- package/dist/models/sip-credentials.js +15 -0
- package/dist/models/status-callback.d.ts +1 -1
- package/dist/models/sync-lookup-request.d.ts +4 -0
- package/dist/models/update-call.d.ts +1 -1
- package/dist/models/{model-error.d.ts → webhook-subscription-error.d.ts} +1 -1
- package/dist/models/webhook-subscription-error.js +15 -0
- package/dist/models/webhook-subscriptions-list-body.d.ts +2 -2
- package/docs/BrtcError.md +28 -0
- package/docs/BrtcErrorResponse.md +24 -0
- package/docs/BrtcErrorSource.md +26 -0
- package/docs/BrtcLink.md +24 -0
- package/docs/Callback.md +2 -2
- package/docs/CreateCall.md +2 -2
- package/docs/CreateEndpointRequestBase.md +28 -0
- package/docs/CreateEndpointResponse.md +24 -0
- package/docs/CreateEndpointResponseData.md +34 -0
- package/docs/CreateWebRtcConnectionRequest.md +30 -0
- package/docs/Device.md +26 -0
- package/docs/DeviceStatusEnum.md +10 -0
- package/docs/Endpoint.md +32 -0
- package/docs/EndpointDirectionEnum.md +12 -0
- package/docs/EndpointEvent.md +37 -0
- package/docs/EndpointEventTypeEnum.md +10 -0
- package/docs/EndpointResponse.md +24 -0
- package/docs/EndpointStatusEnum.md +10 -0
- package/docs/EndpointTypeEnum.md +8 -0
- package/docs/Endpoints.md +30 -0
- package/docs/EndpointsApi.md +334 -0
- package/docs/InboundCallback.md +2 -2
- package/docs/InboundCallbackTypeEnum.md +1 -1
- package/docs/ListEndpointsResponse.md +26 -0
- package/docs/LookupResult.md +1 -1
- package/docs/MachineDetectionConfiguration.md +1 -1
- package/docs/MessageRequest.md +1 -1
- package/docs/Page.md +26 -0
- package/docs/RbmOpenUrlEnum.md +1 -1
- package/docs/RbmWebViewEnum.md +1 -1
- package/docs/SipConnectionMetadata.md +26 -0
- package/docs/SipCredentials.md +22 -0
- package/docs/StatusCallback.md +1 -1
- package/docs/SyncLookupRequest.md +2 -0
- package/docs/UpdateCall.md +1 -1
- package/docs/{Error.md → WebhookSubscriptionError.md} +3 -3
- package/docs/WebhookSubscriptionsListBody.md +1 -1
- package/models/brtc-error-response.ts +28 -0
- package/models/brtc-error-source.ts +35 -0
- package/models/brtc-error.ts +39 -0
- package/models/brtc-link.ts +31 -0
- package/models/bxml/verbs/Connect.ts +33 -0
- package/models/bxml/verbs/Endpoint.ts +19 -0
- package/models/bxml/verbs/index.ts +2 -0
- package/models/create-call.ts +2 -2
- package/models/create-endpoint-request-base.ts +41 -0
- package/models/create-endpoint-response-data.ts +58 -0
- package/models/create-endpoint-response.ts +31 -0
- package/models/create-web-rtc-connection-request.ts +47 -0
- package/models/device-status-enum.ts +26 -0
- package/models/device.ts +37 -0
- package/models/endpoint-direction-enum.ts +27 -0
- package/models/endpoint-event-type-enum.ts +26 -0
- package/models/endpoint-event.ts +63 -0
- package/models/endpoint-response.ts +31 -0
- package/models/endpoint-status-enum.ts +26 -0
- package/models/endpoint-type-enum.ts +25 -0
- package/models/endpoint.ts +54 -0
- package/models/endpoints.ts +45 -0
- package/models/inbound-callback-message.ts +42 -1
- package/models/inbound-callback-type-enum.ts +1 -1
- package/models/inbound-callback.ts +2 -2
- package/models/index.ts +23 -1
- package/models/list-endpoints-response.ts +35 -0
- package/models/lookup-result.ts +1 -1
- package/models/machine-detection-configuration.ts +1 -1
- package/models/message-request.ts +1 -1
- package/models/multi-channel-action-calendar-event.ts +27 -1
- package/models/multi-channel-channel-list-mmsobject.ts +12 -1
- package/models/multi-channel-channel-list-mmsresponse-object.ts +16 -1
- package/models/multi-channel-channel-list-rbmobject.ts +12 -1
- package/models/multi-channel-channel-list-rbmresponse-object.ts +16 -1
- package/models/multi-channel-channel-list-smsobject.ts +12 -1
- package/models/multi-channel-channel-list-smsresponse-object.ts +16 -1
- package/models/page.ts +35 -0
- package/models/rbm-action-dial.ts +15 -1
- package/models/rbm-action-open-url.ts +17 -1
- package/models/rbm-action-view-location.ts +23 -1
- package/models/rbm-card-content-media.ts +11 -1
- package/models/rbm-open-url-enum.ts +1 -1
- package/models/rbm-web-view-enum.ts +1 -1
- package/models/sip-connection-metadata.ts +35 -0
- package/models/sip-credentials.ts +27 -0
- package/models/status-callback.ts +1 -1
- package/models/sync-lookup-request.ts +4 -0
- package/models/update-call.ts +1 -1
- package/models/{model-error.ts → webhook-subscription-error.ts} +1 -1
- package/models/webhook-subscriptions-list-body.ts +3 -3
- package/package.json +1 -1
- package/tests/smoke/endpoints-api.test.ts +141 -0
- package/tests/unit/api/endpoints-api.test.ts +106 -0
- package/tests/unit/api/phone-number-lookup-api.test.ts +4 -1
- package/tests/unit/models/brtc-error-response.test.ts +50 -0
- package/tests/unit/models/brtc-error-source.test.ts +17 -0
- package/tests/unit/models/brtc-error.test.ts +30 -0
- package/tests/unit/models/brtc-link.test.ts +15 -0
- package/tests/unit/models/bxml/verbs/Connect.test.ts +47 -0
- package/tests/unit/models/bxml/verbs/Endpoint.test.ts +12 -0
- package/tests/unit/models/create-endpoint-request-base.test.ts +21 -0
- package/tests/unit/models/create-endpoint-response-data.test.ts +44 -0
- package/tests/unit/models/create-endpoint-response.test.ts +86 -0
- package/tests/unit/models/create-web-rtc-connection-request.test.ts +21 -0
- package/tests/unit/models/device-status-enum.test.ts +12 -0
- package/tests/unit/models/device.test.ts +19 -0
- package/tests/unit/models/endpoint-direction-enum.test.ts +14 -0
- package/tests/unit/models/endpoint-event-type-enum.test.ts +12 -0
- package/tests/unit/models/endpoint-event.test.ts +44 -0
- package/tests/unit/models/endpoint-response.test.ts +84 -0
- package/tests/unit/models/endpoint-status-enum.test.ts +12 -0
- package/tests/unit/models/endpoint-type-enum.test.ts +10 -0
- package/tests/unit/models/endpoint.test.ts +50 -0
- package/tests/unit/models/endpoints.test.ts +25 -0
- package/tests/unit/models/list-endpoints-response.test.ts +94 -0
- package/tests/unit/models/page.test.ts +17 -0
- package/tests/unit/models/sip-connection-metadata.test.ts +25 -0
- package/tests/unit/models/sip-credentials.test.ts +13 -0
- /package/dist/models/{model-error.js → brtc-error-response.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const EndpointDirectionEnum: {
|
|
13
|
+
readonly Inbound: "INBOUND";
|
|
14
|
+
readonly Outbound: "OUTBOUND";
|
|
15
|
+
readonly Bidirectional: "BIDIRECTIONAL";
|
|
16
|
+
};
|
|
17
|
+
export type EndpointDirectionEnum = typeof EndpointDirectionEnum[keyof typeof EndpointDirectionEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EndpointDirectionEnum = void 0;
|
|
17
|
+
exports.EndpointDirectionEnum = {
|
|
18
|
+
Inbound: 'INBOUND',
|
|
19
|
+
Outbound: 'OUTBOUND',
|
|
20
|
+
Bidirectional: 'BIDIRECTIONAL'
|
|
21
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const EndpointEventTypeEnum: {
|
|
13
|
+
readonly DeviceConnected: "DEVICE_CONNECTED";
|
|
14
|
+
readonly DeviceDisconnected: "DEVICE_DISCONNECTED";
|
|
15
|
+
};
|
|
16
|
+
export type EndpointEventTypeEnum = typeof EndpointEventTypeEnum[keyof typeof EndpointEventTypeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EndpointEventTypeEnum = void 0;
|
|
17
|
+
exports.EndpointEventTypeEnum = {
|
|
18
|
+
DeviceConnected: 'DEVICE_CONNECTED',
|
|
19
|
+
DeviceDisconnected: 'DEVICE_DISCONNECTED'
|
|
20
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Device } from './device';
|
|
13
|
+
import type { EndpointEventTypeEnum } from './endpoint-event-type-enum';
|
|
14
|
+
import type { EndpointStatusEnum } from './endpoint-status-enum';
|
|
15
|
+
import type { EndpointTypeEnum } from './endpoint-type-enum';
|
|
16
|
+
/**
|
|
17
|
+
* @type EndpointEvent
|
|
18
|
+
* An event that occurred on an endpoint.
|
|
19
|
+
*/
|
|
20
|
+
export interface EndpointEvent {
|
|
21
|
+
/**
|
|
22
|
+
* The unique ID of the endpoint.
|
|
23
|
+
*/
|
|
24
|
+
'endpointId': string;
|
|
25
|
+
'type': EndpointTypeEnum;
|
|
26
|
+
'status': EndpointStatusEnum;
|
|
27
|
+
/**
|
|
28
|
+
* The time the endpoint was created. In ISO-8601 format.
|
|
29
|
+
*/
|
|
30
|
+
'creationTimestamp': string;
|
|
31
|
+
/**
|
|
32
|
+
* The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours.
|
|
33
|
+
*/
|
|
34
|
+
'expirationTimestamp': string;
|
|
35
|
+
/**
|
|
36
|
+
* A tag for the endpoint.
|
|
37
|
+
*/
|
|
38
|
+
'tag'?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The time the event occurred. In ISO-8601 format.
|
|
41
|
+
*/
|
|
42
|
+
'eventTime': string;
|
|
43
|
+
'eventType': EndpointEventTypeEnum;
|
|
44
|
+
'device'?: Device;
|
|
45
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BrtcError } from './brtc-error';
|
|
13
|
+
import type { BrtcLink } from './brtc-link';
|
|
14
|
+
import type { Endpoint } from './endpoint';
|
|
15
|
+
export interface EndpointResponse {
|
|
16
|
+
'links': Array<BrtcLink>;
|
|
17
|
+
'data': Endpoint;
|
|
18
|
+
'errors': Array<BrtcError>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const EndpointStatusEnum: {
|
|
13
|
+
readonly Connected: "CONNECTED";
|
|
14
|
+
readonly Disconnected: "DISCONNECTED";
|
|
15
|
+
};
|
|
16
|
+
export type EndpointStatusEnum = typeof EndpointStatusEnum[keyof typeof EndpointStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EndpointStatusEnum = void 0;
|
|
17
|
+
exports.EndpointStatusEnum = {
|
|
18
|
+
Connected: 'CONNECTED',
|
|
19
|
+
Disconnected: 'DISCONNECTED'
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const EndpointTypeEnum: {
|
|
13
|
+
readonly Webrtc: "WEBRTC";
|
|
14
|
+
};
|
|
15
|
+
export type EndpointTypeEnum = typeof EndpointTypeEnum[keyof typeof EndpointTypeEnum];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EndpointTypeEnum = void 0;
|
|
17
|
+
exports.EndpointTypeEnum = {
|
|
18
|
+
Webrtc: 'WEBRTC'
|
|
19
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Device } from './device';
|
|
13
|
+
import type { EndpointStatusEnum } from './endpoint-status-enum';
|
|
14
|
+
import type { EndpointTypeEnum } from './endpoint-type-enum';
|
|
15
|
+
/**
|
|
16
|
+
* @type Endpoint
|
|
17
|
+
*/
|
|
18
|
+
export interface Endpoint {
|
|
19
|
+
/**
|
|
20
|
+
* The unique ID of the endpoint.
|
|
21
|
+
*/
|
|
22
|
+
'endpointId': string;
|
|
23
|
+
'type': EndpointTypeEnum;
|
|
24
|
+
'status': EndpointStatusEnum;
|
|
25
|
+
/**
|
|
26
|
+
* The time the endpoint was created. In ISO-8601 format.
|
|
27
|
+
*/
|
|
28
|
+
'creationTimestamp': string;
|
|
29
|
+
/**
|
|
30
|
+
* The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours.
|
|
31
|
+
*/
|
|
32
|
+
'expirationTimestamp': string;
|
|
33
|
+
/**
|
|
34
|
+
* A tag for the endpoint.
|
|
35
|
+
*/
|
|
36
|
+
'tag'?: string;
|
|
37
|
+
'devices'?: Array<Device>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { EndpointStatusEnum } from './endpoint-status-enum';
|
|
13
|
+
import type { EndpointTypeEnum } from './endpoint-type-enum';
|
|
14
|
+
export interface Endpoints {
|
|
15
|
+
/**
|
|
16
|
+
* The unique ID of the endpoint.
|
|
17
|
+
*/
|
|
18
|
+
'endpointId': string;
|
|
19
|
+
'type': EndpointTypeEnum;
|
|
20
|
+
'status': EndpointStatusEnum;
|
|
21
|
+
/**
|
|
22
|
+
* The time the endpoint was created. In ISO-8601 format.
|
|
23
|
+
*/
|
|
24
|
+
'creationTimestamp': string;
|
|
25
|
+
/**
|
|
26
|
+
* The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours.
|
|
27
|
+
*/
|
|
28
|
+
'expirationTimestamp': string;
|
|
29
|
+
/**
|
|
30
|
+
* A tag for the endpoint.
|
|
31
|
+
*/
|
|
32
|
+
'tag'?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,8 +9,54 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MessageDirectionEnum } from './message-direction-enum';
|
|
13
|
+
import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum';
|
|
14
|
+
import type { MultiChannelMessageContent } from './multi-channel-message-content';
|
|
15
|
+
import type { PriorityEnum } from './priority-enum';
|
|
16
|
+
import type { RbmLocationResponse } from './rbm-location-response';
|
|
17
|
+
import type { RbmSuggestionResponse } from './rbm-suggestion-response';
|
|
13
18
|
/**
|
|
14
19
|
* @type InboundCallbackMessage
|
|
15
20
|
*/
|
|
16
|
-
export
|
|
21
|
+
export interface InboundCallbackMessage {
|
|
22
|
+
/**
|
|
23
|
+
* A unique identifier of the message.
|
|
24
|
+
*/
|
|
25
|
+
'id': string;
|
|
26
|
+
/**
|
|
27
|
+
* The Bandwidth phone number or alphanumeric identifier associated with the message.
|
|
28
|
+
*/
|
|
29
|
+
'owner': string;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the Application your from number or senderId is associated with in the Bandwidth App.
|
|
32
|
+
*/
|
|
33
|
+
'applicationId': string;
|
|
34
|
+
'time': string;
|
|
35
|
+
/**
|
|
36
|
+
* The number of segments the user\'s message is broken into before sending over carrier networks.
|
|
37
|
+
*/
|
|
38
|
+
'segmentCount': number;
|
|
39
|
+
'direction': MessageDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
* The phone number recipients of the message.
|
|
42
|
+
*/
|
|
43
|
+
'to': Set<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The Bandwidth phone number or alphanumeric identifier the message was sent from.
|
|
46
|
+
*/
|
|
47
|
+
'from': string;
|
|
48
|
+
'text'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* A custom string that will be included in callback events of the message. Max 1024 characters.
|
|
51
|
+
*/
|
|
52
|
+
'tag'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Optional media, not applicable for sms
|
|
55
|
+
*/
|
|
56
|
+
'media'?: Array<string>;
|
|
57
|
+
'priority'?: PriorityEnum;
|
|
58
|
+
'channel'?: MultiChannelMessageChannelEnum;
|
|
59
|
+
'content'?: MultiChannelMessageContent;
|
|
60
|
+
'suggestionResponse'?: RbmSuggestionResponse;
|
|
61
|
+
'locationResponse'?: RbmLocationResponse;
|
|
62
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The possible inbound callback types originating from MO messages or multichannel message client responses: - `message-received` indicates an MO message from a Bandwidth user\'s client to a Bandwidth number. - `request-location-response` indicates a response to a location request sent by the Bandwidth user\'s client after receiving an RBM message.
|
|
13
|
+
* The possible inbound callback types originating from MO messages or multichannel message client responses: - `message-received` indicates an MO message from a Bandwidth user\'s client to a Bandwidth number. - `request-location-response` indicates a response to a location request sent by the Bandwidth user\'s client after receiving an RBM message. - `suggestion-response` indicates a response to a suggestion sent by the Bandwidth user\'s client after receiving an RBM message.
|
|
14
14
|
*/
|
|
15
15
|
export declare const InboundCallbackTypeEnum: {
|
|
16
16
|
readonly MessageReceived: "message-received";
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.InboundCallbackTypeEnum = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* The possible inbound callback types originating from MO messages or multichannel message client responses: - `message-received` indicates an MO message from a Bandwidth user\'s client to a Bandwidth number. - `request-location-response` indicates a response to a location request sent by the Bandwidth user\'s client after receiving an RBM message.
|
|
18
|
+
* The possible inbound callback types originating from MO messages or multichannel message client responses: - `message-received` indicates an MO message from a Bandwidth user\'s client to a Bandwidth number. - `request-location-response` indicates a response to a location request sent by the Bandwidth user\'s client after receiving an RBM message. - `suggestion-response` indicates a response to a suggestion sent by the Bandwidth user\'s client after receiving an RBM message.
|
|
19
19
|
*/
|
|
20
20
|
exports.InboundCallbackTypeEnum = {
|
|
21
21
|
MessageReceived: 'message-received',
|
|
@@ -18,7 +18,7 @@ export interface InboundCallback {
|
|
|
18
18
|
'time': string;
|
|
19
19
|
'type': InboundCallbackTypeEnum;
|
|
20
20
|
/**
|
|
21
|
-
* The destination phone number the message was sent to.
|
|
21
|
+
* The destination phone number the message was sent to. For inbound callbacks, this is the Bandwidth number or alphanumeric identifier that received the message.
|
|
22
22
|
*/
|
|
23
23
|
'to': string;
|
|
24
24
|
/**
|
|
@@ -27,7 +27,7 @@ export interface InboundCallback {
|
|
|
27
27
|
'description': string;
|
|
28
28
|
'message': InboundCallbackMessage;
|
|
29
29
|
/**
|
|
30
|
-
* The name of the Authorized Message Provider (AMP) that handled this message.
|
|
30
|
+
* The name of the Authorized Message Provider (AMP) that handled this message. In the US, this is the carrier that the message was sent to. This field is present only when this account feature has been enabled.
|
|
31
31
|
*/
|
|
32
32
|
'carrierName'?: string;
|
|
33
33
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ export * from './async-lookup-request';
|
|
|
6
6
|
export * from './blocked-webhook';
|
|
7
7
|
export * from './bridge-complete-callback';
|
|
8
8
|
export * from './bridge-target-complete-callback';
|
|
9
|
+
export * from './brtc-error';
|
|
10
|
+
export * from './brtc-error-response';
|
|
11
|
+
export * from './brtc-error-source';
|
|
12
|
+
export * from './brtc-link';
|
|
9
13
|
export * from './business-entity-type-enum';
|
|
10
14
|
export * from './business-registration-type-enum';
|
|
11
15
|
export * from './call-direction-enum';
|
|
@@ -37,14 +41,28 @@ export * from './create-async-bulk-lookup-response';
|
|
|
37
41
|
export * from './create-async-bulk-lookup-response-data';
|
|
38
42
|
export * from './create-call';
|
|
39
43
|
export * from './create-call-response';
|
|
44
|
+
export * from './create-endpoint-request-base';
|
|
45
|
+
export * from './create-endpoint-response';
|
|
46
|
+
export * from './create-endpoint-response-data';
|
|
40
47
|
export * from './create-message-request-error';
|
|
41
48
|
export * from './create-multi-channel-message-response';
|
|
42
49
|
export * from './create-sync-lookup-response';
|
|
43
50
|
export * from './create-sync-lookup-response-data';
|
|
51
|
+
export * from './create-web-rtc-connection-request';
|
|
44
52
|
export * from './deactivation-event-enum';
|
|
53
|
+
export * from './device';
|
|
54
|
+
export * from './device-status-enum';
|
|
45
55
|
export * from './disconnect-callback';
|
|
46
56
|
export * from './diversion';
|
|
47
57
|
export * from './dtmf-callback';
|
|
58
|
+
export * from './endpoint';
|
|
59
|
+
export * from './endpoint-direction-enum';
|
|
60
|
+
export * from './endpoint-event';
|
|
61
|
+
export * from './endpoint-event-type-enum';
|
|
62
|
+
export * from './endpoint-response';
|
|
63
|
+
export * from './endpoint-status-enum';
|
|
64
|
+
export * from './endpoint-type-enum';
|
|
65
|
+
export * from './endpoints';
|
|
48
66
|
export * from './error-object';
|
|
49
67
|
export * from './error-source';
|
|
50
68
|
export * from './failure-webhook';
|
|
@@ -63,6 +81,7 @@ export * from './line-type-enum';
|
|
|
63
81
|
export * from './link';
|
|
64
82
|
export * from './link-schema';
|
|
65
83
|
export * from './links-object';
|
|
84
|
+
export * from './list-endpoints-response';
|
|
66
85
|
export * from './list-message-direction-enum';
|
|
67
86
|
export * from './list-message-item';
|
|
68
87
|
export * from './lookup-error-response';
|
|
@@ -87,7 +106,6 @@ export * from './mfa-request-error';
|
|
|
87
106
|
export * from './mfa-unauthorized-request-error';
|
|
88
107
|
export * from './mms-message-content';
|
|
89
108
|
export * from './mms-message-content-file';
|
|
90
|
-
export * from './model-error';
|
|
91
109
|
export * from './multi-channel-action';
|
|
92
110
|
export * from './multi-channel-action-calendar-event';
|
|
93
111
|
export * from './multi-channel-channel-list-mmsobject';
|
|
@@ -107,6 +125,7 @@ export * from './multi-channel-message-content';
|
|
|
107
125
|
export * from './multi-channel-message-request';
|
|
108
126
|
export * from './multi-channel-message-response-data';
|
|
109
127
|
export * from './opt-in-workflow';
|
|
128
|
+
export * from './page';
|
|
110
129
|
export * from './page-info';
|
|
111
130
|
export * from './priority-enum';
|
|
112
131
|
export * from './product-type-enum';
|
|
@@ -135,6 +154,8 @@ export * from './recording-transcription-metadata';
|
|
|
135
154
|
export * from './recording-transcriptions';
|
|
136
155
|
export * from './redirect-callback';
|
|
137
156
|
export * from './redirect-method-enum';
|
|
157
|
+
export * from './sip-connection-metadata';
|
|
158
|
+
export * from './sip-credentials';
|
|
138
159
|
export * from './sms-message-content';
|
|
139
160
|
export * from './standalone-card-orientation-enum';
|
|
140
161
|
export * from './status-callback';
|
|
@@ -171,6 +192,7 @@ export * from './voice-api-error';
|
|
|
171
192
|
export * from './voice-code-response';
|
|
172
193
|
export * from './webhook-subscription';
|
|
173
194
|
export * from './webhook-subscription-basic-authentication';
|
|
195
|
+
export * from './webhook-subscription-error';
|
|
174
196
|
export * from './webhook-subscription-request-schema';
|
|
175
197
|
export * from './webhook-subscription-type-enum';
|
|
176
198
|
export * from './webhook-subscriptions-list-body';
|
package/dist/models/index.js
CHANGED
|
@@ -22,6 +22,10 @@ __exportStar(require("./async-lookup-request"), exports);
|
|
|
22
22
|
__exportStar(require("./blocked-webhook"), exports);
|
|
23
23
|
__exportStar(require("./bridge-complete-callback"), exports);
|
|
24
24
|
__exportStar(require("./bridge-target-complete-callback"), exports);
|
|
25
|
+
__exportStar(require("./brtc-error"), exports);
|
|
26
|
+
__exportStar(require("./brtc-error-response"), exports);
|
|
27
|
+
__exportStar(require("./brtc-error-source"), exports);
|
|
28
|
+
__exportStar(require("./brtc-link"), exports);
|
|
25
29
|
__exportStar(require("./business-entity-type-enum"), exports);
|
|
26
30
|
__exportStar(require("./business-registration-type-enum"), exports);
|
|
27
31
|
__exportStar(require("./call-direction-enum"), exports);
|
|
@@ -53,14 +57,28 @@ __exportStar(require("./create-async-bulk-lookup-response"), exports);
|
|
|
53
57
|
__exportStar(require("./create-async-bulk-lookup-response-data"), exports);
|
|
54
58
|
__exportStar(require("./create-call"), exports);
|
|
55
59
|
__exportStar(require("./create-call-response"), exports);
|
|
60
|
+
__exportStar(require("./create-endpoint-request-base"), exports);
|
|
61
|
+
__exportStar(require("./create-endpoint-response"), exports);
|
|
62
|
+
__exportStar(require("./create-endpoint-response-data"), exports);
|
|
56
63
|
__exportStar(require("./create-message-request-error"), exports);
|
|
57
64
|
__exportStar(require("./create-multi-channel-message-response"), exports);
|
|
58
65
|
__exportStar(require("./create-sync-lookup-response"), exports);
|
|
59
66
|
__exportStar(require("./create-sync-lookup-response-data"), exports);
|
|
67
|
+
__exportStar(require("./create-web-rtc-connection-request"), exports);
|
|
60
68
|
__exportStar(require("./deactivation-event-enum"), exports);
|
|
69
|
+
__exportStar(require("./device"), exports);
|
|
70
|
+
__exportStar(require("./device-status-enum"), exports);
|
|
61
71
|
__exportStar(require("./disconnect-callback"), exports);
|
|
62
72
|
__exportStar(require("./diversion"), exports);
|
|
63
73
|
__exportStar(require("./dtmf-callback"), exports);
|
|
74
|
+
__exportStar(require("./endpoint"), exports);
|
|
75
|
+
__exportStar(require("./endpoint-direction-enum"), exports);
|
|
76
|
+
__exportStar(require("./endpoint-event"), exports);
|
|
77
|
+
__exportStar(require("./endpoint-event-type-enum"), exports);
|
|
78
|
+
__exportStar(require("./endpoint-response"), exports);
|
|
79
|
+
__exportStar(require("./endpoint-status-enum"), exports);
|
|
80
|
+
__exportStar(require("./endpoint-type-enum"), exports);
|
|
81
|
+
__exportStar(require("./endpoints"), exports);
|
|
64
82
|
__exportStar(require("./error-object"), exports);
|
|
65
83
|
__exportStar(require("./error-source"), exports);
|
|
66
84
|
__exportStar(require("./failure-webhook"), exports);
|
|
@@ -79,6 +97,7 @@ __exportStar(require("./line-type-enum"), exports);
|
|
|
79
97
|
__exportStar(require("./link"), exports);
|
|
80
98
|
__exportStar(require("./link-schema"), exports);
|
|
81
99
|
__exportStar(require("./links-object"), exports);
|
|
100
|
+
__exportStar(require("./list-endpoints-response"), exports);
|
|
82
101
|
__exportStar(require("./list-message-direction-enum"), exports);
|
|
83
102
|
__exportStar(require("./list-message-item"), exports);
|
|
84
103
|
__exportStar(require("./lookup-error-response"), exports);
|
|
@@ -103,7 +122,6 @@ __exportStar(require("./mfa-request-error"), exports);
|
|
|
103
122
|
__exportStar(require("./mfa-unauthorized-request-error"), exports);
|
|
104
123
|
__exportStar(require("./mms-message-content"), exports);
|
|
105
124
|
__exportStar(require("./mms-message-content-file"), exports);
|
|
106
|
-
__exportStar(require("./model-error"), exports);
|
|
107
125
|
__exportStar(require("./multi-channel-action"), exports);
|
|
108
126
|
__exportStar(require("./multi-channel-action-calendar-event"), exports);
|
|
109
127
|
__exportStar(require("./multi-channel-channel-list-mmsobject"), exports);
|
|
@@ -123,6 +141,7 @@ __exportStar(require("./multi-channel-message-content"), exports);
|
|
|
123
141
|
__exportStar(require("./multi-channel-message-request"), exports);
|
|
124
142
|
__exportStar(require("./multi-channel-message-response-data"), exports);
|
|
125
143
|
__exportStar(require("./opt-in-workflow"), exports);
|
|
144
|
+
__exportStar(require("./page"), exports);
|
|
126
145
|
__exportStar(require("./page-info"), exports);
|
|
127
146
|
__exportStar(require("./priority-enum"), exports);
|
|
128
147
|
__exportStar(require("./product-type-enum"), exports);
|
|
@@ -151,6 +170,8 @@ __exportStar(require("./recording-transcription-metadata"), exports);
|
|
|
151
170
|
__exportStar(require("./recording-transcriptions"), exports);
|
|
152
171
|
__exportStar(require("./redirect-callback"), exports);
|
|
153
172
|
__exportStar(require("./redirect-method-enum"), exports);
|
|
173
|
+
__exportStar(require("./sip-connection-metadata"), exports);
|
|
174
|
+
__exportStar(require("./sip-credentials"), exports);
|
|
154
175
|
__exportStar(require("./sms-message-content"), exports);
|
|
155
176
|
__exportStar(require("./standalone-card-orientation-enum"), exports);
|
|
156
177
|
__exportStar(require("./status-callback"), exports);
|
|
@@ -187,6 +208,7 @@ __exportStar(require("./voice-api-error"), exports);
|
|
|
187
208
|
__exportStar(require("./voice-code-response"), exports);
|
|
188
209
|
__exportStar(require("./webhook-subscription"), exports);
|
|
189
210
|
__exportStar(require("./webhook-subscription-basic-authentication"), exports);
|
|
211
|
+
__exportStar(require("./webhook-subscription-error"), exports);
|
|
190
212
|
__exportStar(require("./webhook-subscription-request-schema"), exports);
|
|
191
213
|
__exportStar(require("./webhook-subscription-type-enum"), exports);
|
|
192
214
|
__exportStar(require("./webhook-subscriptions-list-body"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BrtcError } from './brtc-error';
|
|
13
|
+
import type { BrtcLink } from './brtc-link';
|
|
14
|
+
import type { Endpoints } from './endpoints';
|
|
15
|
+
import type { Page } from './page';
|
|
16
|
+
export interface ListEndpointsResponse {
|
|
17
|
+
'links': Array<BrtcLink>;
|
|
18
|
+
'page'?: Page;
|
|
19
|
+
'data': Array<Endpoints>;
|
|
20
|
+
'errors': Array<BrtcError>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|