bandwidth-sdk 3.2.1 → 4.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.
- package/.github/CODEOWNERS +1 -1
- package/.github/workflows/deploy.yml +8 -2
- package/.github/workflows/test-pr.yml +2 -2
- package/.github/workflows/test-smoke.yml +39 -10
- package/.openapi-generator/FILES +28 -8
- package/README.md +3 -4
- package/api/toll-free-verification-api.ts +715 -0
- package/api.ts +1 -0
- package/bandwidth.yml +1638 -589
- package/base.ts +48 -0
- package/configuration.ts +1 -1
- package/coverage/clover.xml +677 -442
- package/coverage/coverage-final.json +70 -65
- package/coverage/lcov-report/index.html +26 -26
- 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/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/phone-number-lookup-api.ts.html +11 -11
- 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 +2230 -0
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +12 -12
- package/coverage/lcov-report/node-sdk/api.ts.html +16 -13
- package/coverage/lcov-report/node-sdk/base.ts.html +158 -14
- package/coverage/lcov-report/node-sdk/common.ts.html +32 -32
- package/coverage/lcov-report/node-sdk/configuration.ts.html +16 -16
- package/coverage/lcov-report/node-sdk/index.html +7 -7
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +6 -6
- 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 +6 -6
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- 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/CustomParam.ts.html +4 -4
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +31 -31
- 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/callback-type-enum.ts.html +184 -0
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/index.html +65 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +162 -105
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/lookup-status-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/priority-enum.ts.html +2 -2
- 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/tfv-callback-status-enum.ts.html +178 -0
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +187 -0
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +178 -0
- package/coverage/lcov.info +1115 -530
- package/custom_templates/README.mustache +3 -4
- package/dist/api/toll-free-verification-api.d.ts +338 -0
- package/dist/api/toll-free-verification-api.js +870 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +48 -0
- package/dist/configuration.js +1 -1
- package/dist/models/additional-denial-reason.d.ts +36 -0
- package/dist/models/address.d.ts +60 -0
- package/dist/models/callback-type-enum.d.ts +23 -0
- package/dist/models/callback-type-enum.js +27 -0
- package/dist/models/contact.d.ts +42 -0
- package/dist/models/failure-webhook.d.ts +54 -0
- package/dist/models/index.d.ts +27 -8
- package/dist/models/index.js +27 -8
- package/dist/models/links-object.d.ts +42 -0
- package/dist/models/{message-sending-callback-message.d.ts → message-callback-message.d.ts} +17 -17
- package/dist/models/message-callback.d.ts +56 -0
- package/dist/models/model-error.d.ts +37 -0
- package/dist/models/opt-in-workflow.d.ts +30 -0
- package/dist/models/{transcription-list.d.ts → telephone-number.d.ts} +6 -7
- package/dist/models/tfv-basic-authentication.d.ts +30 -0
- package/dist/models/tfv-basic-authentication.js +15 -0
- package/dist/models/tfv-callback-status-enum.d.ts +21 -0
- package/dist/models/tfv-callback-status-enum.js +25 -0
- package/dist/models/tfv-error.d.ts +36 -0
- package/dist/models/tfv-error.js +15 -0
- package/dist/models/tfv-status-enum.d.ts +24 -0
- package/dist/models/tfv-status-enum.js +28 -0
- package/dist/models/tfv-status.d.ts +68 -0
- package/dist/models/tfv-status.js +15 -0
- package/dist/models/tfv-submission-info.d.ts +75 -0
- package/dist/models/tfv-submission-info.js +15 -0
- package/dist/models/tfv-submission-wrapper.d.ts +25 -0
- package/dist/models/tfv-submission-wrapper.js +15 -0
- package/dist/models/verification-denial-webhook.d.ts +67 -0
- package/dist/models/verification-denial-webhook.js +15 -0
- package/dist/models/verification-request.d.ts +81 -0
- package/dist/models/verification-request.js +15 -0
- package/dist/models/verification-update-request.d.ts +75 -0
- package/dist/models/verification-update-request.js +15 -0
- package/dist/models/verification-webhook.d.ts +43 -0
- package/dist/models/verification-webhook.js +15 -0
- package/dist/models/webhook-subscription-basic-authentication.d.ts +30 -0
- package/dist/models/webhook-subscription-basic-authentication.js +15 -0
- package/dist/models/webhook-subscription-request-schema.d.ts +37 -0
- package/dist/models/webhook-subscription-request-schema.js +15 -0
- package/dist/models/webhook-subscription-type-enum.d.ts +21 -0
- package/dist/models/webhook-subscription-type-enum.js +25 -0
- package/dist/models/webhook-subscription.d.ts +62 -0
- package/dist/models/webhook-subscription.js +15 -0
- package/dist/models/webhook-subscriptions-list-body.d.ts +39 -0
- package/dist/models/webhook-subscriptions-list-body.js +15 -0
- package/models/additional-denial-reason.ts +42 -0
- package/models/address.ts +66 -0
- package/models/callback-type-enum.ts +33 -0
- package/models/contact.ts +48 -0
- package/models/failure-webhook.ts +60 -0
- package/models/index.ts +27 -8
- package/models/links-object.ts +48 -0
- package/models/{message-sending-callback-message.ts → message-callback-message.ts} +17 -17
- package/models/message-callback.ts +68 -0
- package/models/model-error.ts +45 -0
- package/models/opt-in-workflow.ts +36 -0
- package/models/telephone-number.ts +30 -0
- package/models/tfv-basic-authentication.ts +36 -0
- package/models/tfv-callback-status-enum.ts +31 -0
- package/models/tfv-error.ts +42 -0
- package/models/tfv-status-enum.ts +34 -0
- package/models/tfv-status.ts +80 -0
- package/models/tfv-submission-info.ts +87 -0
- package/models/{transcription-list.ts → tfv-submission-wrapper.ts} +6 -6
- package/models/verification-denial-webhook.ts +75 -0
- package/models/verification-request.ts +93 -0
- package/models/verification-update-request.ts +87 -0
- package/models/verification-webhook.ts +53 -0
- package/models/webhook-subscription-basic-authentication.ts +36 -0
- package/models/webhook-subscription-request-schema.ts +45 -0
- package/models/webhook-subscription-type-enum.ts +31 -0
- package/models/webhook-subscription.ts +74 -0
- package/models/webhook-subscriptions-list-body.ts +51 -0
- package/openapi-config.yml +0 -1
- package/package.json +1 -1
- package/tests/callUtils.ts +0 -8
- package/tests/smoke/phone-number-lookup-api.test.ts +2 -12
- package/tests/smoke/toll-free-verification-api.test.ts +18 -0
- package/tests/unit/api/calls-api.test.ts +5 -5
- package/tests/unit/api/conferences-api.test.ts +4 -4
- package/tests/unit/api/messages-api.test.ts +5 -14
- package/tests/unit/api/phone-number-lookup-api.test.ts +2 -12
- package/tests/unit/api/recordings-api.test.ts +6 -6
- package/tests/unit/api/toll-free-verification-api.test.ts +159 -0
- package/tests/unit/models/callback-type-enum.test.ts +10 -0
- package/tests/unit/models/tfv-callback-status-enum.test.ts +8 -0
- package/tests/unit/models/tfv-status-enum.test.ts +11 -0
- package/tests/unit/models/webhook-subscription-type-enum.test.ts +8 -0
- package/dist/models/inbound-message-callback-message.d.ts +0 -92
- package/dist/models/inbound-message-callback.d.ts +0 -49
- package/dist/models/message-delivered-callback-message.d.ts +0 -92
- package/dist/models/message-delivered-callback.d.ts +0 -49
- package/dist/models/message-failed-callback-message.d.ts +0 -92
- package/dist/models/message-failed-callback.d.ts +0 -55
- package/dist/models/message-sending-callback.d.ts +0 -49
- package/dist/models/transcription-metadata.d.ts +0 -42
- package/models/inbound-message-callback-message.ts +0 -104
- package/models/inbound-message-callback.ts +0 -57
- package/models/message-delivered-callback-message.ts +0 -104
- package/models/message-delivered-callback.ts +0 -57
- package/models/message-failed-callback-message.ts +0 -104
- package/models/message-failed-callback.ts +0 -63
- package/models/message-sending-callback.ts +0 -57
- package/models/transcription-metadata.ts +0 -48
- /package/dist/models/{inbound-message-callback-message.js → additional-denial-reason.js} +0 -0
- /package/dist/models/{inbound-message-callback.js → address.js} +0 -0
- /package/dist/models/{message-delivered-callback-message.js → contact.js} +0 -0
- /package/dist/models/{message-delivered-callback.js → failure-webhook.js} +0 -0
- /package/dist/models/{message-failed-callback-message.js → links-object.js} +0 -0
- /package/dist/models/{message-failed-callback.js → message-callback-message.js} +0 -0
- /package/dist/models/{message-sending-callback-message.js → message-callback.js} +0 -0
- /package/dist/models/{message-sending-callback.js → model-error.js} +0 -0
- /package/dist/models/{transcription-list.js → opt-in-workflow.js} +0 -0
- /package/dist/models/{transcription-metadata.js → telephone-number.js} +0 -0
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -35,4 +35,5 @@ __exportStar(require("./api/messages-api"), exports);
|
|
|
35
35
|
__exportStar(require("./api/phone-number-lookup-api"), exports);
|
|
36
36
|
__exportStar(require("./api/recordings-api"), exports);
|
|
37
37
|
__exportStar(require("./api/statistics-api"), exports);
|
|
38
|
+
__exportStar(require("./api/toll-free-verification-api"), exports);
|
|
38
39
|
__exportStar(require("./api/transcriptions-api"), exports);
|
package/dist/base.js
CHANGED
|
@@ -300,6 +300,54 @@ exports.operationServerMap = {
|
|
|
300
300
|
description: "Production",
|
|
301
301
|
}
|
|
302
302
|
],
|
|
303
|
+
"TollFreeVerificationApi.createWebhookSubscription": [
|
|
304
|
+
{
|
|
305
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
306
|
+
description: "Production",
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"TollFreeVerificationApi.deleteWebhookSubscription": [
|
|
310
|
+
{
|
|
311
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
312
|
+
description: "Production",
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"TollFreeVerificationApi.getTollFreeVerificationStatus": [
|
|
316
|
+
{
|
|
317
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
318
|
+
description: "Production",
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"TollFreeVerificationApi.listTollFreeUseCases": [
|
|
322
|
+
{
|
|
323
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
324
|
+
description: "Production",
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"TollFreeVerificationApi.listWebhookSubscriptions": [
|
|
328
|
+
{
|
|
329
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
330
|
+
description: "Production",
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"TollFreeVerificationApi.requestTollFreeVerification": [
|
|
334
|
+
{
|
|
335
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
336
|
+
description: "Production",
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"TollFreeVerificationApi.updateTollFreeVerificationRequest": [
|
|
340
|
+
{
|
|
341
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
342
|
+
description: "Production",
|
|
343
|
+
}
|
|
344
|
+
],
|
|
345
|
+
"TollFreeVerificationApi.updateWebhookSubscription": [
|
|
346
|
+
{
|
|
347
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
348
|
+
description: "Production",
|
|
349
|
+
}
|
|
350
|
+
],
|
|
303
351
|
"TranscriptionsApi.deleteRealTimeTranscription": [
|
|
304
352
|
{
|
|
305
353
|
url: "https://voice.bandwidth.com/api/v2",
|
package/dist/configuration.js
CHANGED
|
@@ -35,7 +35,7 @@ var Configuration = /** @class */ (function () {
|
|
|
35
35
|
this.accessToken = param.accessToken;
|
|
36
36
|
this.basePath = param.basePath;
|
|
37
37
|
this.serverIndex = param.serverIndex;
|
|
38
|
-
this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign(__assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/
|
|
38
|
+
this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign(__assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.1.0/typescript-axios" }) });
|
|
39
39
|
this.formDataCtor = param.formDataCtor;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdditionalDenialReason
|
|
16
|
+
*/
|
|
17
|
+
export interface AdditionalDenialReason {
|
|
18
|
+
/**
|
|
19
|
+
* Reason code for denial.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AdditionalDenialReason
|
|
22
|
+
*/
|
|
23
|
+
'statusCode': number;
|
|
24
|
+
/**
|
|
25
|
+
* Explanation for why a verification request was declined.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdditionalDenialReason
|
|
28
|
+
*/
|
|
29
|
+
'reason': string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether a Toll-Free Verification request qualifies for resubmission via PUT.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof AdditionalDenialReason
|
|
34
|
+
*/
|
|
35
|
+
'resubmitAllowed': boolean;
|
|
36
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Address
|
|
16
|
+
*/
|
|
17
|
+
export interface Address {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the business using the toll-free number.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Address
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The address of the business using the toll-free number.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Address
|
|
28
|
+
*/
|
|
29
|
+
'addr1': string;
|
|
30
|
+
/**
|
|
31
|
+
* The address of the business using the toll-free number.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Address
|
|
34
|
+
*/
|
|
35
|
+
'addr2'?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The city of the business using the toll-free number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Address
|
|
40
|
+
*/
|
|
41
|
+
'city': string;
|
|
42
|
+
/**
|
|
43
|
+
* The state of the business using the toll-free number.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Address
|
|
46
|
+
*/
|
|
47
|
+
'state': string;
|
|
48
|
+
/**
|
|
49
|
+
* The zip of the business using the toll-free number.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Address
|
|
52
|
+
*/
|
|
53
|
+
'zip': string;
|
|
54
|
+
/**
|
|
55
|
+
* The website of the business using the toll-free number.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Address
|
|
58
|
+
*/
|
|
59
|
+
'url': string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 Received: "message-received";
|
|
19
|
+
readonly Sending: "message-sending";
|
|
20
|
+
readonly Delivered: "message-delivered";
|
|
21
|
+
readonly Failed: "message-failed";
|
|
22
|
+
};
|
|
23
|
+
export type CallbackTypeEnum = typeof CallbackTypeEnum[keyof typeof CallbackTypeEnum];
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
Received: 'message-received',
|
|
24
|
+
Sending: 'message-sending',
|
|
25
|
+
Delivered: 'message-delivered',
|
|
26
|
+
Failed: 'message-failed'
|
|
27
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Contact
|
|
16
|
+
*/
|
|
17
|
+
export interface Contact {
|
|
18
|
+
/**
|
|
19
|
+
* The first name of the business contact using the toll-free number.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Contact
|
|
22
|
+
*/
|
|
23
|
+
'firstName': string;
|
|
24
|
+
/**
|
|
25
|
+
* The last name of the business contact using the toll-free number.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Contact
|
|
28
|
+
*/
|
|
29
|
+
'lastName': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Contact
|
|
34
|
+
*/
|
|
35
|
+
'email': string;
|
|
36
|
+
/**
|
|
37
|
+
* Contact telephone number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Contact
|
|
40
|
+
*/
|
|
41
|
+
'phoneNumber': string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FailureWebhook
|
|
16
|
+
*/
|
|
17
|
+
export interface FailureWebhook {
|
|
18
|
+
/**
|
|
19
|
+
* User\'s account ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FailureWebhook
|
|
22
|
+
*/
|
|
23
|
+
'accountId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Toll-free telephone number in E.164 format.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FailureWebhook
|
|
28
|
+
*/
|
|
29
|
+
'phoneNumber'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FailureWebhook
|
|
34
|
+
*/
|
|
35
|
+
'errorCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* A description of the error that was encountered.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FailureWebhook
|
|
40
|
+
*/
|
|
41
|
+
'errorDescription'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Details of the errors that were encountered when processing the request.
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof FailureWebhook
|
|
46
|
+
*/
|
|
47
|
+
'errors'?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FailureWebhook
|
|
52
|
+
*/
|
|
53
|
+
'internalTicketNumber'?: string;
|
|
54
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './account-statistics';
|
|
2
|
+
export * from './additional-denial-reason';
|
|
3
|
+
export * from './address';
|
|
2
4
|
export * from './answer-callback';
|
|
3
5
|
export * from './bridge-complete-callback';
|
|
4
6
|
export * from './bridge-target-complete-callback';
|
|
@@ -12,6 +14,7 @@ export * from './call-transcription-metadata';
|
|
|
12
14
|
export * from './call-transcription-response';
|
|
13
15
|
export * from './call-transcription-track-enum';
|
|
14
16
|
export * from './callback-method-enum';
|
|
17
|
+
export * from './callback-type-enum';
|
|
15
18
|
export * from './code-request';
|
|
16
19
|
export * from './conference';
|
|
17
20
|
export * from './conference-completed-callback';
|
|
@@ -23,6 +26,7 @@ export * from './conference-recording-available-callback';
|
|
|
23
26
|
export * from './conference-recording-metadata';
|
|
24
27
|
export * from './conference-redirect-callback';
|
|
25
28
|
export * from './conference-state-enum';
|
|
29
|
+
export * from './contact';
|
|
26
30
|
export * from './create-call';
|
|
27
31
|
export * from './create-call-response';
|
|
28
32
|
export * from './create-lookup-response';
|
|
@@ -31,12 +35,12 @@ export * from './deferred-result';
|
|
|
31
35
|
export * from './disconnect-callback';
|
|
32
36
|
export * from './diversion';
|
|
33
37
|
export * from './dtmf-callback';
|
|
38
|
+
export * from './failure-webhook';
|
|
34
39
|
export * from './field-error';
|
|
35
40
|
export * from './file-format-enum';
|
|
36
41
|
export * from './gather-callback';
|
|
37
|
-
export * from './inbound-message-callback';
|
|
38
|
-
export * from './inbound-message-callback-message';
|
|
39
42
|
export * from './initiate-callback';
|
|
43
|
+
export * from './links-object';
|
|
40
44
|
export * from './list-message-direction-enum';
|
|
41
45
|
export * from './list-message-item';
|
|
42
46
|
export * from './lookup-request';
|
|
@@ -49,14 +53,10 @@ export * from './machine-detection-mode-enum';
|
|
|
49
53
|
export * from './machine-detection-result';
|
|
50
54
|
export * from './media';
|
|
51
55
|
export * from './message';
|
|
52
|
-
export * from './message-
|
|
53
|
-
export * from './message-
|
|
56
|
+
export * from './message-callback';
|
|
57
|
+
export * from './message-callback-message';
|
|
54
58
|
export * from './message-direction-enum';
|
|
55
|
-
export * from './message-failed-callback';
|
|
56
|
-
export * from './message-failed-callback-message';
|
|
57
59
|
export * from './message-request';
|
|
58
|
-
export * from './message-sending-callback';
|
|
59
|
-
export * from './message-sending-callback-message';
|
|
60
60
|
export * from './message-status-enum';
|
|
61
61
|
export * from './message-type-enum';
|
|
62
62
|
export * from './messages-list';
|
|
@@ -65,6 +65,8 @@ export * from './messaging-request-error';
|
|
|
65
65
|
export * from './mfa-forbidden-request-error';
|
|
66
66
|
export * from './mfa-request-error';
|
|
67
67
|
export * from './mfa-unauthorized-request-error';
|
|
68
|
+
export * from './model-error';
|
|
69
|
+
export * from './opt-in-workflow';
|
|
68
70
|
export * from './page-info';
|
|
69
71
|
export * from './priority-enum';
|
|
70
72
|
export * from './recording-available-callback';
|
|
@@ -76,6 +78,14 @@ export * from './redirect-callback';
|
|
|
76
78
|
export * from './redirect-method-enum';
|
|
77
79
|
export * from './stir-shaken';
|
|
78
80
|
export * from './tag';
|
|
81
|
+
export * from './telephone-number';
|
|
82
|
+
export * from './tfv-basic-authentication';
|
|
83
|
+
export * from './tfv-callback-status-enum';
|
|
84
|
+
export * from './tfv-error';
|
|
85
|
+
export * from './tfv-status';
|
|
86
|
+
export * from './tfv-status-enum';
|
|
87
|
+
export * from './tfv-submission-info';
|
|
88
|
+
export * from './tfv-submission-wrapper';
|
|
79
89
|
export * from './tn-lookup-request-error';
|
|
80
90
|
export * from './transcribe-recording';
|
|
81
91
|
export * from './transcription';
|
|
@@ -87,8 +97,17 @@ export * from './update-call';
|
|
|
87
97
|
export * from './update-call-recording';
|
|
88
98
|
export * from './update-conference';
|
|
89
99
|
export * from './update-conference-member';
|
|
100
|
+
export * from './verification-denial-webhook';
|
|
101
|
+
export * from './verification-request';
|
|
102
|
+
export * from './verification-update-request';
|
|
103
|
+
export * from './verification-webhook';
|
|
90
104
|
export * from './verify-code-request';
|
|
91
105
|
export * from './verify-code-response';
|
|
92
106
|
export * from './voice-api-error';
|
|
93
107
|
export * from './voice-code-response';
|
|
108
|
+
export * from './webhook-subscription';
|
|
109
|
+
export * from './webhook-subscription-basic-authentication';
|
|
110
|
+
export * from './webhook-subscription-request-schema';
|
|
111
|
+
export * from './webhook-subscription-type-enum';
|
|
112
|
+
export * from './webhook-subscriptions-list-body';
|
|
94
113
|
export * from './bxml';
|
package/dist/models/index.js
CHANGED
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./account-statistics"), exports);
|
|
18
|
+
__exportStar(require("./additional-denial-reason"), exports);
|
|
19
|
+
__exportStar(require("./address"), exports);
|
|
18
20
|
__exportStar(require("./answer-callback"), exports);
|
|
19
21
|
__exportStar(require("./bridge-complete-callback"), exports);
|
|
20
22
|
__exportStar(require("./bridge-target-complete-callback"), exports);
|
|
@@ -28,6 +30,7 @@ __exportStar(require("./call-transcription-metadata"), exports);
|
|
|
28
30
|
__exportStar(require("./call-transcription-response"), exports);
|
|
29
31
|
__exportStar(require("./call-transcription-track-enum"), exports);
|
|
30
32
|
__exportStar(require("./callback-method-enum"), exports);
|
|
33
|
+
__exportStar(require("./callback-type-enum"), exports);
|
|
31
34
|
__exportStar(require("./code-request"), exports);
|
|
32
35
|
__exportStar(require("./conference"), exports);
|
|
33
36
|
__exportStar(require("./conference-completed-callback"), exports);
|
|
@@ -39,6 +42,7 @@ __exportStar(require("./conference-recording-available-callback"), exports);
|
|
|
39
42
|
__exportStar(require("./conference-recording-metadata"), exports);
|
|
40
43
|
__exportStar(require("./conference-redirect-callback"), exports);
|
|
41
44
|
__exportStar(require("./conference-state-enum"), exports);
|
|
45
|
+
__exportStar(require("./contact"), exports);
|
|
42
46
|
__exportStar(require("./create-call"), exports);
|
|
43
47
|
__exportStar(require("./create-call-response"), exports);
|
|
44
48
|
__exportStar(require("./create-lookup-response"), exports);
|
|
@@ -47,12 +51,12 @@ __exportStar(require("./deferred-result"), exports);
|
|
|
47
51
|
__exportStar(require("./disconnect-callback"), exports);
|
|
48
52
|
__exportStar(require("./diversion"), exports);
|
|
49
53
|
__exportStar(require("./dtmf-callback"), exports);
|
|
54
|
+
__exportStar(require("./failure-webhook"), exports);
|
|
50
55
|
__exportStar(require("./field-error"), exports);
|
|
51
56
|
__exportStar(require("./file-format-enum"), exports);
|
|
52
57
|
__exportStar(require("./gather-callback"), exports);
|
|
53
|
-
__exportStar(require("./inbound-message-callback"), exports);
|
|
54
|
-
__exportStar(require("./inbound-message-callback-message"), exports);
|
|
55
58
|
__exportStar(require("./initiate-callback"), exports);
|
|
59
|
+
__exportStar(require("./links-object"), exports);
|
|
56
60
|
__exportStar(require("./list-message-direction-enum"), exports);
|
|
57
61
|
__exportStar(require("./list-message-item"), exports);
|
|
58
62
|
__exportStar(require("./lookup-request"), exports);
|
|
@@ -65,14 +69,10 @@ __exportStar(require("./machine-detection-mode-enum"), exports);
|
|
|
65
69
|
__exportStar(require("./machine-detection-result"), exports);
|
|
66
70
|
__exportStar(require("./media"), exports);
|
|
67
71
|
__exportStar(require("./message"), exports);
|
|
68
|
-
__exportStar(require("./message-
|
|
69
|
-
__exportStar(require("./message-
|
|
72
|
+
__exportStar(require("./message-callback"), exports);
|
|
73
|
+
__exportStar(require("./message-callback-message"), exports);
|
|
70
74
|
__exportStar(require("./message-direction-enum"), exports);
|
|
71
|
-
__exportStar(require("./message-failed-callback"), exports);
|
|
72
|
-
__exportStar(require("./message-failed-callback-message"), exports);
|
|
73
75
|
__exportStar(require("./message-request"), exports);
|
|
74
|
-
__exportStar(require("./message-sending-callback"), exports);
|
|
75
|
-
__exportStar(require("./message-sending-callback-message"), exports);
|
|
76
76
|
__exportStar(require("./message-status-enum"), exports);
|
|
77
77
|
__exportStar(require("./message-type-enum"), exports);
|
|
78
78
|
__exportStar(require("./messages-list"), exports);
|
|
@@ -81,6 +81,8 @@ __exportStar(require("./messaging-request-error"), exports);
|
|
|
81
81
|
__exportStar(require("./mfa-forbidden-request-error"), exports);
|
|
82
82
|
__exportStar(require("./mfa-request-error"), exports);
|
|
83
83
|
__exportStar(require("./mfa-unauthorized-request-error"), exports);
|
|
84
|
+
__exportStar(require("./model-error"), exports);
|
|
85
|
+
__exportStar(require("./opt-in-workflow"), exports);
|
|
84
86
|
__exportStar(require("./page-info"), exports);
|
|
85
87
|
__exportStar(require("./priority-enum"), exports);
|
|
86
88
|
__exportStar(require("./recording-available-callback"), exports);
|
|
@@ -92,6 +94,14 @@ __exportStar(require("./redirect-callback"), exports);
|
|
|
92
94
|
__exportStar(require("./redirect-method-enum"), exports);
|
|
93
95
|
__exportStar(require("./stir-shaken"), exports);
|
|
94
96
|
__exportStar(require("./tag"), exports);
|
|
97
|
+
__exportStar(require("./telephone-number"), exports);
|
|
98
|
+
__exportStar(require("./tfv-basic-authentication"), exports);
|
|
99
|
+
__exportStar(require("./tfv-callback-status-enum"), exports);
|
|
100
|
+
__exportStar(require("./tfv-error"), exports);
|
|
101
|
+
__exportStar(require("./tfv-status"), exports);
|
|
102
|
+
__exportStar(require("./tfv-status-enum"), exports);
|
|
103
|
+
__exportStar(require("./tfv-submission-info"), exports);
|
|
104
|
+
__exportStar(require("./tfv-submission-wrapper"), exports);
|
|
95
105
|
__exportStar(require("./tn-lookup-request-error"), exports);
|
|
96
106
|
__exportStar(require("./transcribe-recording"), exports);
|
|
97
107
|
__exportStar(require("./transcription"), exports);
|
|
@@ -103,8 +113,17 @@ __exportStar(require("./update-call"), exports);
|
|
|
103
113
|
__exportStar(require("./update-call-recording"), exports);
|
|
104
114
|
__exportStar(require("./update-conference"), exports);
|
|
105
115
|
__exportStar(require("./update-conference-member"), exports);
|
|
116
|
+
__exportStar(require("./verification-denial-webhook"), exports);
|
|
117
|
+
__exportStar(require("./verification-request"), exports);
|
|
118
|
+
__exportStar(require("./verification-update-request"), exports);
|
|
119
|
+
__exportStar(require("./verification-webhook"), exports);
|
|
106
120
|
__exportStar(require("./verify-code-request"), exports);
|
|
107
121
|
__exportStar(require("./verify-code-response"), exports);
|
|
108
122
|
__exportStar(require("./voice-api-error"), exports);
|
|
109
123
|
__exportStar(require("./voice-code-response"), exports);
|
|
124
|
+
__exportStar(require("./webhook-subscription"), exports);
|
|
125
|
+
__exportStar(require("./webhook-subscription-basic-authentication"), exports);
|
|
126
|
+
__exportStar(require("./webhook-subscription-request-schema"), exports);
|
|
127
|
+
__exportStar(require("./webhook-subscription-type-enum"), exports);
|
|
128
|
+
__exportStar(require("./webhook-subscriptions-list-body"), exports);
|
|
110
129
|
__exportStar(require("./bxml"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LinksObject
|
|
16
|
+
*/
|
|
17
|
+
export interface LinksObject {
|
|
18
|
+
/**
|
|
19
|
+
* The first (or only) page of results matching the query.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LinksObject
|
|
22
|
+
*/
|
|
23
|
+
'first'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* If more results exist than specified by \'size\', this link returns the next page of \'size\' results.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LinksObject
|
|
28
|
+
*/
|
|
29
|
+
'next'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* If the results are more than one page, this link returns the previous page of \'size\' results.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LinksObject
|
|
34
|
+
*/
|
|
35
|
+
'previous'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* If more results exist than specified by \'size\', this link return the last page of result.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LinksObject
|
|
40
|
+
*/
|
|
41
|
+
'last'?: string;
|
|
42
|
+
}
|
|
@@ -12,81 +12,81 @@
|
|
|
12
12
|
import type { MessageDirectionEnum } from './message-direction-enum';
|
|
13
13
|
import type { PriorityEnum } from './priority-enum';
|
|
14
14
|
/**
|
|
15
|
-
* Message
|
|
15
|
+
* Message payload schema within a MessageCallback
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface MessageCallbackMessage
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface MessageCallbackMessage {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @type {string}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof MessageCallbackMessage
|
|
24
24
|
*/
|
|
25
25
|
'id': string;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof MessageCallbackMessage
|
|
30
30
|
*/
|
|
31
31
|
'owner': string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof MessageCallbackMessage
|
|
36
36
|
*/
|
|
37
37
|
'applicationId': string;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof MessageCallbackMessage
|
|
42
42
|
*/
|
|
43
43
|
'time': string;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {number}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof MessageCallbackMessage
|
|
48
48
|
*/
|
|
49
49
|
'segmentCount': number;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {MessageDirectionEnum}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof MessageCallbackMessage
|
|
54
54
|
*/
|
|
55
55
|
'direction': MessageDirectionEnum;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {Set<string>}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof MessageCallbackMessage
|
|
60
60
|
*/
|
|
61
61
|
'to': Set<string>;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {string}
|
|
65
|
-
* @memberof
|
|
65
|
+
* @memberof MessageCallbackMessage
|
|
66
66
|
*/
|
|
67
67
|
'from': string;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof MessageCallbackMessage
|
|
72
72
|
*/
|
|
73
73
|
'text': string;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {string}
|
|
77
|
-
* @memberof
|
|
77
|
+
* @memberof MessageCallbackMessage
|
|
78
78
|
*/
|
|
79
79
|
'tag'?: string;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Optional media, applicable only for mms
|
|
82
82
|
* @type {Array<string>}
|
|
83
|
-
* @memberof
|
|
83
|
+
* @memberof MessageCallbackMessage
|
|
84
84
|
*/
|
|
85
|
-
'media'
|
|
85
|
+
'media'?: Array<string> | null;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
88
|
* @type {PriorityEnum}
|
|
89
|
-
* @memberof
|
|
89
|
+
* @memberof MessageCallbackMessage
|
|
90
90
|
*/
|
|
91
91
|
'priority'?: PriorityEnum;
|
|
92
92
|
}
|