bandwidth-sdk 5.0.0 → 6.0.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.
- package/.github/workflows/test-pr.yml +2 -2
- package/.openapi-generator/FILES +32 -18
- package/api/multi-channel-api.ts +1 -3
- package/api/toll-free-verification-api.ts +80 -0
- package/bandwidth.yml +549 -194
- package/base.ts +6 -0
- package/configuration.ts +1 -1
- package/coverage/clover.xml +214 -189
- package/coverage/coverage-final.json +7 -8
- package/coverage/lcov-report/index.html +20 -20
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +15 -15
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +3 -9
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +251 -11
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +20 -2
- package/coverage/lcov-report/node-sdk/common.ts.html +18 -18
- package/coverage/lcov-report/node-sdk/configuration.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/{multi-channel-status-enum.ts.html → inbound-callback-type-enum.ts.html} +10 -13
- package/coverage/lcov-report/node-sdk/models/index.html +16 -31
- package/coverage/lcov-report/node-sdk/models/index.ts.html +34 -13
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/{callback-type-enum.ts.html → status-callback-type-enum.ts.html} +8 -8
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
- package/coverage/lcov.info +554 -496
- package/dist/api/toll-free-verification-api.d.ts +37 -0
- package/dist/api/toll-free-verification-api.js +92 -0
- package/dist/base.js +6 -0
- package/dist/configuration.js +1 -1
- package/dist/models/blocked-webhook.d.ts +55 -0
- package/dist/models/callback.d.ts +33 -0
- package/dist/models/create-multi-channel-message-response.d.ts +3 -3
- package/dist/models/error-object.d.ts +11 -4
- package/dist/models/error-source.d.ts +42 -0
- package/dist/models/failure-webhook.d.ts +1 -1
- package/dist/models/inbound-callback-message.d.ts +17 -0
- package/dist/models/inbound-callback-type-enum.d.ts +22 -0
- package/dist/models/inbound-callback-type-enum.js +26 -0
- package/dist/models/inbound-callback.d.ts +56 -0
- package/dist/models/index.d.ts +16 -9
- package/dist/models/index.js +16 -9
- package/dist/models/list-message-item.d.ts +1 -1
- package/dist/models/message-request.d.ts +1 -1
- package/dist/models/message.d.ts +3 -3
- package/dist/models/mms-message-content-file.d.ts +24 -0
- package/dist/models/mms-message-content.d.ts +4 -3
- package/dist/models/multi-channel-error.d.ts +38 -0
- package/dist/models/multi-channel-message-content.d.ts +31 -0
- package/dist/models/multi-channel-message-content.js +15 -0
- package/dist/models/{tag.d.ts → multi-channel-message-response-data-channel-list-inner.d.ts} +3 -16
- package/dist/models/multi-channel-message-response-data-channel-list-inner.js +15 -0
- package/dist/models/multi-channel-message-response-data.d.ts +69 -0
- package/dist/models/multi-channel-message-response-data.js +15 -0
- package/dist/models/priority-enum.d.ts +1 -1
- package/dist/models/priority-enum.js +1 -1
- package/dist/models/rbm-action-base.d.ts +1 -1
- package/dist/models/{deferred-result.d.ts → rbm-location-response.d.ts} +10 -10
- package/dist/models/rbm-location-response.js +15 -0
- package/dist/models/rbm-suggestion-response.d.ts +30 -0
- package/dist/models/rbm-suggestion-response.js +15 -0
- package/dist/models/status-callback-message.d.ts +99 -0
- package/dist/models/status-callback-message.js +15 -0
- package/dist/models/status-callback-type-enum.d.ts +23 -0
- package/dist/models/status-callback-type-enum.js +27 -0
- package/dist/models/status-callback.d.ts +68 -0
- package/dist/models/status-callback.js +15 -0
- package/dist/models/tfv-status.d.ts +2 -2
- package/dist/models/tfv-submission-info.d.ts +4 -4
- package/dist/models/verification-denial-webhook.d.ts +2 -2
- package/dist/models/verification-request.d.ts +4 -4
- package/dist/models/verification-update-request.d.ts +4 -4
- package/docs/BlockedWebhook.md +30 -0
- package/docs/Callback.md +35 -0
- package/docs/CreateMultiChannelMessageResponse.md +1 -1
- package/docs/ErrorObject.md +6 -4
- package/docs/ErrorSource.md +27 -0
- package/docs/FailureWebhook.md +2 -2
- package/docs/InboundCallback.md +31 -0
- package/docs/InboundCallbackMessage.md +50 -0
- package/docs/InboundCallbackTypeEnum.md +13 -0
- package/docs/ListMessageItem.md +1 -1
- package/docs/Message.md +3 -3
- package/docs/MessageRequest.md +1 -1
- package/docs/MessagesApi.md +1 -0
- package/docs/MmsMessageContent.md +1 -1
- package/docs/MmsMessageContentFile.md +20 -0
- package/docs/MultiChannelAction.md +2 -2
- package/docs/MultiChannelActionCalendarEvent.md +2 -2
- package/docs/MultiChannelApi.md +1 -0
- package/docs/MultiChannelChannelListObjectContent.md +1 -1
- package/docs/MultiChannelError.md +24 -0
- package/docs/MultiChannelMessageContent.md +23 -0
- package/docs/MultiChannelMessageResponseData.md +35 -0
- package/docs/MultiChannelMessageResponseDataChannelListInner.md +28 -0
- package/docs/PriorityEnum.md +1 -1
- package/docs/RbmActionBase.md +2 -2
- package/docs/RbmActionDial.md +2 -2
- package/docs/RbmActionOpenUrl.md +2 -2
- package/docs/RbmActionViewLocation.md +2 -2
- package/docs/RbmLocationResponse.md +22 -0
- package/docs/RbmSuggestionResponse.md +22 -0
- package/docs/StatusCallback.md +35 -0
- package/docs/StatusCallbackMessage.md +45 -0
- package/docs/StatusCallbackTypeEnum.md +15 -0
- package/docs/TfvStatus.md +2 -2
- package/docs/TfvSubmissionInfo.md +4 -4
- package/docs/TollFreeVerificationApi.md +63 -0
- package/docs/VerificationDenialWebhook.md +2 -2
- package/docs/VerificationRequest.md +4 -4
- package/docs/VerificationUpdateRequest.md +4 -4
- package/models/blocked-webhook.ts +65 -0
- package/models/callback.ts +36 -0
- package/models/create-multi-channel-message-response.ts +3 -3
- package/models/error-object.ts +13 -4
- package/models/error-source.ts +48 -0
- package/models/failure-webhook.ts +1 -1
- package/models/inbound-callback-message.ts +44 -0
- package/models/inbound-callback-type-enum.ts +32 -0
- package/models/inbound-callback.ts +68 -0
- package/models/index.ts +16 -9
- package/models/list-message-item.ts +1 -1
- package/models/message-request.ts +1 -1
- package/models/message.ts +3 -3
- package/models/mms-message-content-file.ts +30 -0
- package/models/mms-message-content.ts +6 -3
- package/models/multi-channel-channel-list-object-content.ts +3 -0
- package/models/multi-channel-error.ts +48 -0
- package/models/multi-channel-message-content.ts +39 -0
- package/models/multi-channel-message-response-data-channel-list-inner.ts +32 -0
- package/models/multi-channel-message-response-data.ts +83 -0
- package/models/priority-enum.ts +1 -1
- package/models/rbm-action-base.ts +1 -1
- package/models/{deferred-result.ts → rbm-location-response.ts} +10 -10
- package/models/{tag.ts → rbm-suggestion-response.ts} +8 -8
- package/models/status-callback-message.ts +113 -0
- package/models/status-callback-type-enum.ts +33 -0
- package/models/status-callback.ts +80 -0
- package/models/tfv-status.ts +2 -2
- package/models/tfv-submission-info.ts +4 -4
- package/models/verification-denial-webhook.ts +2 -2
- package/models/verification-request.ts +4 -4
- package/models/verification-update-request.ts +4 -4
- package/package.json +1 -1
- package/tests/unit/api/toll-free-verification-api.test.ts +7 -0
- package/tests/unit/models/inbound-callback-type-enum.test.ts +9 -0
- package/tests/unit/models/status-callback-type-enum.test.ts +10 -0
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-direction-enum.ts.html +0 -178
- package/dist/models/callback-type-enum.d.ts +0 -23
- package/dist/models/callback-type-enum.js +0 -27
- package/dist/models/message-callback-message.d.ts +0 -92
- package/dist/models/message-callback.d.ts +0 -62
- package/dist/models/multi-channel-callback-data.d.ts +0 -50
- package/dist/models/multi-channel-message-callback-data.d.ts +0 -69
- package/dist/models/multi-channel-message-data.d.ts +0 -75
- package/dist/models/multi-channel-message-direction-enum.d.ts +0 -21
- package/dist/models/multi-channel-message-direction-enum.js +0 -25
- package/dist/models/multi-channel-status-enum.d.ts +0 -23
- package/dist/models/multi-channel-status-enum.js +0 -27
- package/docs/CallbackTypeEnum.md +0 -15
- package/docs/DeferredResult.md +0 -22
- package/docs/MessageCallback.md +0 -33
- package/docs/MessageCallbackMessage.md +0 -43
- package/docs/MultiChannelCallbackData.md +0 -28
- package/docs/MultiChannelMessageCallbackData.md +0 -34
- package/docs/MultiChannelMessageData.md +0 -36
- package/docs/MultiChannelMessageDirectionEnum.md +0 -10
- package/docs/MultiChannelStatusEnum.md +0 -14
- package/models/callback-type-enum.ts +0 -33
- package/models/message-callback-message.ts +0 -104
- package/models/message-callback.ts +0 -74
- package/models/multi-channel-callback-data.ts +0 -62
- package/models/multi-channel-message-callback-data.ts +0 -83
- package/models/multi-channel-message-data.ts +0 -89
- package/models/multi-channel-message-direction-enum.ts +0 -31
- package/models/multi-channel-status-enum.ts +0 -33
- package/tests/unit/models/callback-type-enum.test.ts +0 -10
- package/tests/unit/models/multi-channel-message-direction-enum.test.ts +0 -8
- package/tests/unit/models/multi-channel-status-enum.test.ts +0 -10
- /package/dist/models/{deferred-result.js → blocked-webhook.js} +0 -0
- /package/dist/models/{message-callback-message.js → callback.js} +0 -0
- /package/dist/models/{message-callback.js → error-source.js} +0 -0
- /package/dist/models/{multi-channel-callback-data.js → inbound-callback-message.js} +0 -0
- /package/dist/models/{multi-channel-message-callback-data.js → inbound-callback.js} +0 -0
- /package/dist/models/{multi-channel-message-data.js → mms-message-content-file.js} +0 -0
- /package/dist/models/{tag.js → multi-channel-error.js} +0 -0
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface RbmSuggestionResponse
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface RbmSuggestionResponse {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* The text associated with the suggestion response.
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof RbmSuggestionResponse
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'text'?: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Base64 payload the customer receives when the reply is clicked.
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof RbmSuggestionResponse
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'postbackData'?: string;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Bandwidth
|
|
5
|
+
* Bandwidth\'s Communication APIs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: letstalk@bandwidth.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { MessageDirectionEnum } from './message-direction-enum';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { PriorityEnum } from './priority-enum';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Message payload schema within a callback
|
|
28
|
+
* @export
|
|
29
|
+
* @interface StatusCallbackMessage
|
|
30
|
+
*/
|
|
31
|
+
export interface StatusCallbackMessage {
|
|
32
|
+
/**
|
|
33
|
+
* A unique identifier of the message.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof StatusCallbackMessage
|
|
36
|
+
*/
|
|
37
|
+
'id': string;
|
|
38
|
+
/**
|
|
39
|
+
* The Bandwidth phone number or alphanumeric identifier associated with the message.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof StatusCallbackMessage
|
|
42
|
+
*/
|
|
43
|
+
'owner': string;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof StatusCallbackMessage
|
|
48
|
+
*/
|
|
49
|
+
'applicationId': string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof StatusCallbackMessage
|
|
54
|
+
*/
|
|
55
|
+
'time': string;
|
|
56
|
+
/**
|
|
57
|
+
* The number of segments the user\'s message is broken into before sending over carrier networks.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof StatusCallbackMessage
|
|
60
|
+
*/
|
|
61
|
+
'segmentCount': number;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {MessageDirectionEnum}
|
|
65
|
+
* @memberof StatusCallbackMessage
|
|
66
|
+
*/
|
|
67
|
+
'direction': MessageDirectionEnum;
|
|
68
|
+
/**
|
|
69
|
+
* The phone number recipients of the message.
|
|
70
|
+
* @type {Set<string>}
|
|
71
|
+
* @memberof StatusCallbackMessage
|
|
72
|
+
*/
|
|
73
|
+
'to': Set<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The Bandwidth phone number or alphanumeric identifier the message was sent from.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof StatusCallbackMessage
|
|
78
|
+
*/
|
|
79
|
+
'from': string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof StatusCallbackMessage
|
|
84
|
+
*/
|
|
85
|
+
'text'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* A custom string that will be included in callback events of the message. Max 1024 characters.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof StatusCallbackMessage
|
|
90
|
+
*/
|
|
91
|
+
'tag'?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Optional media, not applicable for sms
|
|
94
|
+
* @type {Array<string>}
|
|
95
|
+
* @memberof StatusCallbackMessage
|
|
96
|
+
*/
|
|
97
|
+
'media'?: Array<string>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {PriorityEnum}
|
|
101
|
+
* @memberof StatusCallbackMessage
|
|
102
|
+
*/
|
|
103
|
+
'priority'?: PriorityEnum;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {MultiChannelMessageChannelEnum}
|
|
107
|
+
* @memberof StatusCallbackMessage
|
|
108
|
+
*/
|
|
109
|
+
'channel'?: MultiChannelMessageChannelEnum;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Bandwidth
|
|
5
|
+
* Bandwidth\'s Communication APIs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: letstalk@bandwidth.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The possible status callbacks when sending an MT SMS or MMS or RBM message: - `message-sending` indicates that Bandwidth is sending the message to the upstream provider. - `message-delivered` indicates that the message was successfully sent. - `message-failed` indicates that the message could not be sent to the intended recipient. - `message-read` indicates that the RBM message was read by the recipient.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const StatusCallbackTypeEnum = {
|
|
24
|
+
MessageSending: 'message-sending',
|
|
25
|
+
MessageDelivered: 'message-delivered',
|
|
26
|
+
MessageFailed: 'message-failed',
|
|
27
|
+
MessageRead: 'message-read'
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type StatusCallbackTypeEnum = typeof StatusCallbackTypeEnum[keyof typeof StatusCallbackTypeEnum];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Bandwidth
|
|
5
|
+
* Bandwidth\'s Communication APIs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: letstalk@bandwidth.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { StatusCallbackMessage } from './status-callback-message';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { StatusCallbackTypeEnum } from './status-callback-type-enum';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Represents a status callback for an outbound MT SMS or MMS or RBM message.
|
|
25
|
+
* @export
|
|
26
|
+
* @interface StatusCallback
|
|
27
|
+
*/
|
|
28
|
+
export interface StatusCallback {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof StatusCallback
|
|
33
|
+
*/
|
|
34
|
+
'time': string;
|
|
35
|
+
/**
|
|
36
|
+
* Represents the time at which the message was read, for `message-read` callbacks.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof StatusCallback
|
|
39
|
+
*/
|
|
40
|
+
'eventTime'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {StatusCallbackTypeEnum}
|
|
44
|
+
* @memberof StatusCallback
|
|
45
|
+
*/
|
|
46
|
+
'type': StatusCallbackTypeEnum;
|
|
47
|
+
/**
|
|
48
|
+
* The destination phone number the message was sent to. For status callbacks, this the the Bandwidth user\'s client phone number.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof StatusCallback
|
|
51
|
+
*/
|
|
52
|
+
'to': string;
|
|
53
|
+
/**
|
|
54
|
+
* A detailed description of the event described by the callback.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof StatusCallback
|
|
57
|
+
*/
|
|
58
|
+
'description': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {StatusCallbackMessage}
|
|
62
|
+
* @memberof StatusCallback
|
|
63
|
+
*/
|
|
64
|
+
'message': StatusCallbackMessage;
|
|
65
|
+
/**
|
|
66
|
+
* Optional error code, applicable only when type is `message-failed`.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof StatusCallback
|
|
69
|
+
*/
|
|
70
|
+
'errorCode'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* 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.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof StatusCallback
|
|
75
|
+
*/
|
|
76
|
+
'carrierName'?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
package/models/tfv-status.ts
CHANGED
|
@@ -75,13 +75,13 @@ export interface TfvStatus {
|
|
|
75
75
|
*/
|
|
76
76
|
'submission'?: TfvSubmissionInfo;
|
|
77
77
|
/**
|
|
78
|
-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
78
|
+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
79
79
|
* @type {boolean}
|
|
80
80
|
* @memberof TfvStatus
|
|
81
81
|
*/
|
|
82
82
|
'blocked'?: boolean;
|
|
83
83
|
/**
|
|
84
|
-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
84
|
+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof TfvStatus
|
|
87
87
|
*/
|
|
@@ -84,22 +84,22 @@ export interface TfvSubmissionInfo {
|
|
|
84
84
|
*/
|
|
85
85
|
'isvReseller'?: string | null;
|
|
86
86
|
/**
|
|
87
|
-
* The Toll-Free Verification request privacy policy URL.
|
|
87
|
+
* The Toll-Free Verification request privacy policy URL.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof TfvSubmissionInfo
|
|
90
90
|
*/
|
|
91
91
|
'privacyPolicyUrl'?: string;
|
|
92
92
|
/**
|
|
93
|
-
* The Toll-Free Verification request terms and conditions policy URL.
|
|
93
|
+
* The Toll-Free Verification request terms and conditions policy URL.
|
|
94
94
|
* @type {string}
|
|
95
95
|
* @memberof TfvSubmissionInfo
|
|
96
96
|
*/
|
|
97
97
|
'termsAndConditionsUrl'?: string;
|
|
98
98
|
/**
|
|
99
|
-
* The company \'Doing Business As\'.
|
|
99
|
+
* The company \'Doing Business As\'.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof TfvSubmissionInfo
|
|
102
102
|
*/
|
|
103
|
-
'
|
|
103
|
+
'businessDba'?: string;
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -72,13 +72,13 @@ export interface VerificationDenialWebhook {
|
|
|
72
72
|
*/
|
|
73
73
|
'status'?: string;
|
|
74
74
|
/**
|
|
75
|
-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
75
|
+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
76
76
|
* @type {boolean}
|
|
77
77
|
* @memberof VerificationDenialWebhook
|
|
78
78
|
*/
|
|
79
79
|
'blocked'?: boolean;
|
|
80
80
|
/**
|
|
81
|
-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
81
|
+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
82
82
|
* @type {string}
|
|
83
83
|
* @memberof VerificationDenialWebhook
|
|
84
84
|
*/
|
|
@@ -90,22 +90,22 @@ export interface VerificationRequest {
|
|
|
90
90
|
*/
|
|
91
91
|
'isvReseller'?: string | null;
|
|
92
92
|
/**
|
|
93
|
-
* The Toll-Free Verification request privacy policy URL.
|
|
93
|
+
* The Toll-Free Verification request privacy policy URL.
|
|
94
94
|
* @type {string}
|
|
95
95
|
* @memberof VerificationRequest
|
|
96
96
|
*/
|
|
97
97
|
'privacyPolicyUrl'?: string;
|
|
98
98
|
/**
|
|
99
|
-
* The Toll-Free Verification request terms and conditions policy URL.
|
|
99
|
+
* The Toll-Free Verification request terms and conditions policy URL.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof VerificationRequest
|
|
102
102
|
*/
|
|
103
103
|
'termsAndConditionsUrl'?: string;
|
|
104
104
|
/**
|
|
105
|
-
* The company \'Doing Business As\'.
|
|
105
|
+
* The company \'Doing Business As\'.
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof VerificationRequest
|
|
108
108
|
*/
|
|
109
|
-
'
|
|
109
|
+
'businessDba'?: string;
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -84,22 +84,22 @@ export interface VerificationUpdateRequest {
|
|
|
84
84
|
*/
|
|
85
85
|
'isvReseller'?: string | null;
|
|
86
86
|
/**
|
|
87
|
-
* The Toll-Free Verification request privacy policy URL.
|
|
87
|
+
* The Toll-Free Verification request privacy policy URL.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof VerificationUpdateRequest
|
|
90
90
|
*/
|
|
91
91
|
'privacyPolicyUrl'?: string;
|
|
92
92
|
/**
|
|
93
|
-
* The Toll-Free Verification request terms and conditions policy URL.
|
|
93
|
+
* The Toll-Free Verification request terms and conditions policy URL.
|
|
94
94
|
* @type {string}
|
|
95
95
|
* @memberof VerificationUpdateRequest
|
|
96
96
|
*/
|
|
97
97
|
'termsAndConditionsUrl'?: string;
|
|
98
98
|
/**
|
|
99
|
-
* The company \'Doing Business As\'.
|
|
99
|
+
* The company \'Doing Business As\'.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof VerificationUpdateRequest
|
|
102
102
|
*/
|
|
103
|
-
'
|
|
103
|
+
'businessDba'?: string;
|
|
104
104
|
}
|
|
105
105
|
|
package/package.json
CHANGED
|
@@ -59,6 +59,13 @@ describe('TollFreeVerificationApi', () => {
|
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
+
describe('deleteVerificationRequest', () => {
|
|
63
|
+
test('should delete toll-free verification request', async () => {
|
|
64
|
+
const { status } = await tfvApi.deleteVerificationRequest(BW_ACCOUNT_ID, '+18005551234');
|
|
65
|
+
expect(status).toEqual(204);
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
62
69
|
describe('listTollFreeUseCases', () => {
|
|
63
70
|
test('should list toll-free use cases', async () => {
|
|
64
71
|
const { status, data } = await tfvApi.listTollFreeUseCases();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InboundCallbackTypeEnum } from '../../../models/inbound-callback-type-enum';
|
|
2
|
+
|
|
3
|
+
describe('InboundCallbackTypeEnum', () => {
|
|
4
|
+
test('should define the expected values', () => {
|
|
5
|
+
expect(InboundCallbackTypeEnum.MessageReceived).toBe('message-received');
|
|
6
|
+
expect(InboundCallbackTypeEnum.RequestLocationResponse).toBe('request-location-response');
|
|
7
|
+
expect(InboundCallbackTypeEnum.SuggestionResponse).toBe('suggestion-response');
|
|
8
|
+
});
|
|
9
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StatusCallbackTypeEnum } from '../../../models/status-callback-type-enum';
|
|
2
|
+
|
|
3
|
+
describe('StatusCallbackTypeEnum', () => {
|
|
4
|
+
test('should define the expected values', () => {
|
|
5
|
+
expect(StatusCallbackTypeEnum.MessageSending).toBe('message-sending');
|
|
6
|
+
expect(StatusCallbackTypeEnum.MessageDelivered).toBe('message-delivered');
|
|
7
|
+
expect(StatusCallbackTypeEnum.MessageFailed).toBe('message-failed');
|
|
8
|
+
expect(StatusCallbackTypeEnum.MessageRead).toBe('message-read');
|
|
9
|
+
});
|
|
10
|
+
});
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!doctype html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
|
|
5
|
-
<head>
|
|
6
|
-
<title>Code coverage report for node-sdk/models/multi-channel-message-direction-enum.ts</title>
|
|
7
|
-
<meta charset="utf-8" />
|
|
8
|
-
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
|
-
<link rel="stylesheet" href="../../base.css" />
|
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.png" />
|
|
11
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
-
<style type='text/css'>
|
|
13
|
-
.coverage-summary .sorter {
|
|
14
|
-
background-image: url(../../sort-arrow-sprite.png);
|
|
15
|
-
}
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<div class='wrapper'>
|
|
21
|
-
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../index.html">All files</a> / <a href="index.html">node-sdk/models</a> multi-channel-message-direction-enum.ts</h1>
|
|
23
|
-
<div class='clearfix'>
|
|
24
|
-
|
|
25
|
-
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">100% </span>
|
|
27
|
-
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>1/1</span>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">100% </span>
|
|
34
|
-
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/0</span>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">100% </span>
|
|
41
|
-
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/0</span>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">100% </span>
|
|
48
|
-
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>1/1</span>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</div>
|
|
54
|
-
<p class="quiet">
|
|
55
|
-
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
-
</p>
|
|
57
|
-
<template id="filterTemplate">
|
|
58
|
-
<div class="quiet">
|
|
59
|
-
Filter:
|
|
60
|
-
<input type="search" id="fileSearch">
|
|
61
|
-
</div>
|
|
62
|
-
</template>
|
|
63
|
-
</div>
|
|
64
|
-
<div class='status-line high'></div>
|
|
65
|
-
<pre><table class="coverage">
|
|
66
|
-
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
-
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
-
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
-
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
-
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
-
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
-
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
-
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
-
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
-
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
-
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
-
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
-
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
-
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
-
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
-
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
-
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
-
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
-
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
-
<a name='L20'></a><a href='#L20'>20</a>
|
|
86
|
-
<a name='L21'></a><a href='#L21'>21</a>
|
|
87
|
-
<a name='L22'></a><a href='#L22'>22</a>
|
|
88
|
-
<a name='L23'></a><a href='#L23'>23</a>
|
|
89
|
-
<a name='L24'></a><a href='#L24'>24</a>
|
|
90
|
-
<a name='L25'></a><a href='#L25'>25</a>
|
|
91
|
-
<a name='L26'></a><a href='#L26'>26</a>
|
|
92
|
-
<a name='L27'></a><a href='#L27'>27</a>
|
|
93
|
-
<a name='L28'></a><a href='#L28'>28</a>
|
|
94
|
-
<a name='L29'></a><a href='#L29'>29</a>
|
|
95
|
-
<a name='L30'></a><a href='#L30'>30</a>
|
|
96
|
-
<a name='L31'></a><a href='#L31'>31</a>
|
|
97
|
-
<a name='L32'></a><a href='#L32'>32</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
98
|
-
<span class="cline-any cline-neutral"> </span>
|
|
99
|
-
<span class="cline-any cline-neutral"> </span>
|
|
100
|
-
<span class="cline-any cline-neutral"> </span>
|
|
101
|
-
<span class="cline-any cline-neutral"> </span>
|
|
102
|
-
<span class="cline-any cline-neutral"> </span>
|
|
103
|
-
<span class="cline-any cline-neutral"> </span>
|
|
104
|
-
<span class="cline-any cline-neutral"> </span>
|
|
105
|
-
<span class="cline-any cline-neutral"> </span>
|
|
106
|
-
<span class="cline-any cline-neutral"> </span>
|
|
107
|
-
<span class="cline-any cline-neutral"> </span>
|
|
108
|
-
<span class="cline-any cline-neutral"> </span>
|
|
109
|
-
<span class="cline-any cline-neutral"> </span>
|
|
110
|
-
<span class="cline-any cline-neutral"> </span>
|
|
111
|
-
<span class="cline-any cline-neutral"> </span>
|
|
112
|
-
<span class="cline-any cline-neutral"> </span>
|
|
113
|
-
<span class="cline-any cline-neutral"> </span>
|
|
114
|
-
<span class="cline-any cline-neutral"> </span>
|
|
115
|
-
<span class="cline-any cline-neutral"> </span>
|
|
116
|
-
<span class="cline-any cline-neutral"> </span>
|
|
117
|
-
<span class="cline-any cline-neutral"> </span>
|
|
118
|
-
<span class="cline-any cline-neutral"> </span>
|
|
119
|
-
<span class="cline-any cline-yes">9x</span>
|
|
120
|
-
<span class="cline-any cline-neutral"> </span>
|
|
121
|
-
<span class="cline-any cline-neutral"> </span>
|
|
122
|
-
<span class="cline-any cline-neutral"> </span>
|
|
123
|
-
<span class="cline-any cline-neutral"> </span>
|
|
124
|
-
<span class="cline-any cline-neutral"> </span>
|
|
125
|
-
<span class="cline-any cline-neutral"> </span>
|
|
126
|
-
<span class="cline-any cline-neutral"> </span>
|
|
127
|
-
<span class="cline-any cline-neutral"> </span>
|
|
128
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">/* tslint:disable */
|
|
129
|
-
/* eslint-disable */
|
|
130
|
-
/**
|
|
131
|
-
* Bandwidth
|
|
132
|
-
* Bandwidth\'s Communication APIs
|
|
133
|
-
*
|
|
134
|
-
* The version of the OpenAPI document: 1.0.0
|
|
135
|
-
* Contact: letstalk@bandwidth.com
|
|
136
|
-
*
|
|
137
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
138
|
-
* https://openapi-generator.tech
|
|
139
|
-
* Do not edit the class manually.
|
|
140
|
-
*/
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @export
|
|
147
|
-
* @enum {string}
|
|
148
|
-
*/
|
|
149
|
-
|
|
150
|
-
export const MultiChannelMessageDirectionEnum = {
|
|
151
|
-
Inbound: 'INBOUND',
|
|
152
|
-
Outbound: 'OUTBOUND'
|
|
153
|
-
} as const;
|
|
154
|
-
|
|
155
|
-
export type MultiChannelMessageDirectionEnum = typeof MultiChannelMessageDirectionEnum[keyof typeof MultiChannelMessageDirectionEnum];
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</pre></td></tr></table></pre>
|
|
160
|
-
|
|
161
|
-
<div class='push'></div><!-- for sticky footer -->
|
|
162
|
-
</div><!-- /wrapper -->
|
|
163
|
-
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
|
-
Code coverage generated by
|
|
165
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-05-13T18:34:11.363Z
|
|
167
|
-
</div>
|
|
168
|
-
<script src="../../prettify.js"></script>
|
|
169
|
-
<script>
|
|
170
|
-
window.onload = function () {
|
|
171
|
-
prettyPrint();
|
|
172
|
-
};
|
|
173
|
-
</script>
|
|
174
|
-
<script src="../../sorter.js"></script>
|
|
175
|
-
<script src="../../block-navigation.js"></script>
|
|
176
|
-
</body>
|
|
177
|
-
</html>
|
|
178
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
* Indicates the type of the callback: - `message-received` for inbound callbacks. - One of `message-sending`, `message-delivered`, `message-failed` for status callbacks.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare const CallbackTypeEnum: {
|
|
18
|
-
readonly MessageReceived: "message-received";
|
|
19
|
-
readonly MessageSending: "message-sending";
|
|
20
|
-
readonly MessageDelivered: "message-delivered";
|
|
21
|
-
readonly MessageFailed: "message-failed";
|
|
22
|
-
};
|
|
23
|
-
export type CallbackTypeEnum = typeof CallbackTypeEnum[keyof typeof CallbackTypeEnum];
|
|
@@ -1,27 +0,0 @@
|
|
|
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.CallbackTypeEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Indicates the type of the callback: - `message-received` for inbound callbacks. - One of `message-sending`, `message-delivered`, `message-failed` for status callbacks.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
exports.CallbackTypeEnum = {
|
|
23
|
-
MessageReceived: 'message-received',
|
|
24
|
-
MessageSending: 'message-sending',
|
|
25
|
-
MessageDelivered: 'message-delivered',
|
|
26
|
-
MessageFailed: 'message-failed'
|
|
27
|
-
};
|