bandwidth-sdk 5.0.0 → 5.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/workflows/test-pr.yml +2 -2
- package/.openapi-generator/FILES +2 -0
- package/bandwidth.yml +31 -20
- package/configuration.ts +1 -1
- package/coverage/clover.xml +6 -5
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +6 -6
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/common.ts.html +1 -1
- 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/callback-type-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/index.html +5 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +7 -4
- 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/multi-channel-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/multi-channel-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
- 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/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 +3 -2
- package/dist/configuration.js +1 -1
- package/dist/models/blocked-webhook.d.ts +55 -0
- package/dist/models/blocked-webhook.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -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/TfvStatus.md +2 -2
- package/docs/TfvSubmissionInfo.md +4 -4
- 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/index.ts +1 -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
|
@@ -163,7 +163,7 @@ export type PriorityEnum = typeof PriorityEnum[keyof typeof PriorityEnum];
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -175,7 +175,7 @@ export type RbmActionTypeEnum = typeof RbmActionTypeEnum[keyof typeof RbmActionT
|
|
|
175
175
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
176
176
|
Code coverage generated by
|
|
177
177
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
178
|
-
at 2025-
|
|
178
|
+
at 2025-06-03T18:25:28.102Z
|
|
179
179
|
</div>
|
|
180
180
|
<script src="../../prettify.js"></script>
|
|
181
181
|
<script>
|
|
@@ -166,7 +166,7 @@ export type RbmMediaHeightEnum = typeof RbmMediaHeightEnum[keyof typeof RbmMedia
|
|
|
166
166
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
167
167
|
Code coverage generated by
|
|
168
168
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
169
|
-
at 2025-
|
|
169
|
+
at 2025-06-03T18:25:28.102Z
|
|
170
170
|
</div>
|
|
171
171
|
<script src="../../prettify.js"></script>
|
|
172
172
|
<script>
|
|
@@ -163,7 +163,7 @@ export type RecordingStateEnum = typeof RecordingStateEnum[keyof typeof Recordin
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type RedirectMethodEnum = typeof RedirectMethodEnum[keyof typeof Redirect
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type StandaloneCardOrientationEnum = typeof StandaloneCardOrientationEnum
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type TfvCallbackStatusEnum = typeof TfvCallbackStatusEnum[keyof typeof Tf
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -166,7 +166,7 @@ export type TfvStatusEnum = typeof TfvStatusEnum[keyof typeof TfvStatusEnum];
|
|
|
166
166
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
167
167
|
Code coverage generated by
|
|
168
168
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
169
|
-
at 2025-
|
|
169
|
+
at 2025-06-03T18:25:28.102Z
|
|
170
170
|
</div>
|
|
171
171
|
<script src="../../prettify.js"></script>
|
|
172
172
|
<script>
|
|
@@ -163,7 +163,7 @@ export type ThumbnailAlignmentEnum = typeof ThumbnailAlignmentEnum[keyof typeof
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type WebhookSubscriptionTypeEnum = typeof WebhookSubscriptionTypeEnum[key
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2025-
|
|
166
|
+
at 2025-06-03T18:25:28.102Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
package/coverage/lcov.info
CHANGED
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/5.
|
|
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/5.1.0/typescript-axios" }) });
|
|
39
39
|
this.formDataCtor = param.formDataCtor;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { TfvCallbackStatusEnum } from './tfv-callback-status-enum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlockedWebhook
|
|
17
|
+
*/
|
|
18
|
+
export interface BlockedWebhook {
|
|
19
|
+
/**
|
|
20
|
+
* User\'s account ID.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BlockedWebhook
|
|
23
|
+
*/
|
|
24
|
+
'accountId'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Toll-free telephone number in E.164 format.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BlockedWebhook
|
|
29
|
+
*/
|
|
30
|
+
'phoneNumber'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {TfvCallbackStatusEnum}
|
|
34
|
+
* @memberof BlockedWebhook
|
|
35
|
+
*/
|
|
36
|
+
'status'?: TfvCallbackStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BlockedWebhook
|
|
41
|
+
*/
|
|
42
|
+
'internalTicketNumber'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof BlockedWebhook
|
|
47
|
+
*/
|
|
48
|
+
'blocked'?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BlockedWebhook
|
|
53
|
+
*/
|
|
54
|
+
'blockedReason'?: string;
|
|
55
|
+
}
|
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './account-statistics';
|
|
|
2
2
|
export * from './additional-denial-reason';
|
|
3
3
|
export * from './address';
|
|
4
4
|
export * from './answer-callback';
|
|
5
|
+
export * from './blocked-webhook';
|
|
5
6
|
export * from './bridge-complete-callback';
|
|
6
7
|
export * from './bridge-target-complete-callback';
|
|
7
8
|
export * from './call-direction-enum';
|
package/dist/models/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./account-statistics"), exports);
|
|
|
18
18
|
__exportStar(require("./additional-denial-reason"), exports);
|
|
19
19
|
__exportStar(require("./address"), exports);
|
|
20
20
|
__exportStar(require("./answer-callback"), exports);
|
|
21
|
+
__exportStar(require("./blocked-webhook"), exports);
|
|
21
22
|
__exportStar(require("./bridge-complete-callback"), exports);
|
|
22
23
|
__exportStar(require("./bridge-target-complete-callback"), exports);
|
|
23
24
|
__exportStar(require("./call-direction-enum"), exports);
|
|
@@ -66,13 +66,13 @@ export interface TfvStatus {
|
|
|
66
66
|
*/
|
|
67
67
|
'submission'?: TfvSubmissionInfo;
|
|
68
68
|
/**
|
|
69
|
-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
69
|
+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
70
70
|
* @type {boolean}
|
|
71
71
|
* @memberof TfvStatus
|
|
72
72
|
*/
|
|
73
73
|
'blocked'?: boolean;
|
|
74
74
|
/**
|
|
75
|
-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
75
|
+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @memberof TfvStatus
|
|
78
78
|
*/
|
|
@@ -73,21 +73,21 @@ export interface TfvSubmissionInfo {
|
|
|
73
73
|
*/
|
|
74
74
|
'isvReseller'?: string | null;
|
|
75
75
|
/**
|
|
76
|
-
* The Toll-Free Verification request privacy policy URL.
|
|
76
|
+
* The Toll-Free Verification request privacy policy URL.
|
|
77
77
|
* @type {string}
|
|
78
78
|
* @memberof TfvSubmissionInfo
|
|
79
79
|
*/
|
|
80
80
|
'privacyPolicyUrl'?: string;
|
|
81
81
|
/**
|
|
82
|
-
* The Toll-Free Verification request terms and conditions policy URL.
|
|
82
|
+
* The Toll-Free Verification request terms and conditions policy URL.
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof TfvSubmissionInfo
|
|
85
85
|
*/
|
|
86
86
|
'termsAndConditionsUrl'?: string;
|
|
87
87
|
/**
|
|
88
|
-
* The company \'Doing Business As\'.
|
|
88
|
+
* The company \'Doing Business As\'.
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof TfvSubmissionInfo
|
|
91
91
|
*/
|
|
92
|
-
'
|
|
92
|
+
'businessDba'?: string;
|
|
93
93
|
}
|
|
@@ -65,13 +65,13 @@ export interface VerificationDenialWebhook {
|
|
|
65
65
|
*/
|
|
66
66
|
'status'?: string;
|
|
67
67
|
/**
|
|
68
|
-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
68
|
+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
69
69
|
* @type {boolean}
|
|
70
70
|
* @memberof VerificationDenialWebhook
|
|
71
71
|
*/
|
|
72
72
|
'blocked'?: boolean;
|
|
73
73
|
/**
|
|
74
|
-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
74
|
+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof VerificationDenialWebhook
|
|
77
77
|
*/
|
|
@@ -79,21 +79,21 @@ export interface VerificationRequest {
|
|
|
79
79
|
*/
|
|
80
80
|
'isvReseller'?: string | null;
|
|
81
81
|
/**
|
|
82
|
-
* The Toll-Free Verification request privacy policy URL.
|
|
82
|
+
* The Toll-Free Verification request privacy policy URL.
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof VerificationRequest
|
|
85
85
|
*/
|
|
86
86
|
'privacyPolicyUrl'?: string;
|
|
87
87
|
/**
|
|
88
|
-
* The Toll-Free Verification request terms and conditions policy URL.
|
|
88
|
+
* The Toll-Free Verification request terms and conditions policy URL.
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof VerificationRequest
|
|
91
91
|
*/
|
|
92
92
|
'termsAndConditionsUrl'?: string;
|
|
93
93
|
/**
|
|
94
|
-
* The company \'Doing Business As\'.
|
|
94
|
+
* The company \'Doing Business As\'.
|
|
95
95
|
* @type {string}
|
|
96
96
|
* @memberof VerificationRequest
|
|
97
97
|
*/
|
|
98
|
-
'
|
|
98
|
+
'businessDba'?: string;
|
|
99
99
|
}
|
|
@@ -73,21 +73,21 @@ export interface VerificationUpdateRequest {
|
|
|
73
73
|
*/
|
|
74
74
|
'isvReseller'?: string | null;
|
|
75
75
|
/**
|
|
76
|
-
* The Toll-Free Verification request privacy policy URL.
|
|
76
|
+
* The Toll-Free Verification request privacy policy URL.
|
|
77
77
|
* @type {string}
|
|
78
78
|
* @memberof VerificationUpdateRequest
|
|
79
79
|
*/
|
|
80
80
|
'privacyPolicyUrl'?: string;
|
|
81
81
|
/**
|
|
82
|
-
* The Toll-Free Verification request terms and conditions policy URL.
|
|
82
|
+
* The Toll-Free Verification request terms and conditions policy URL.
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof VerificationUpdateRequest
|
|
85
85
|
*/
|
|
86
86
|
'termsAndConditionsUrl'?: string;
|
|
87
87
|
/**
|
|
88
|
-
* The company \'Doing Business As\'.
|
|
88
|
+
* The company \'Doing Business As\'.
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof VerificationUpdateRequest
|
|
91
91
|
*/
|
|
92
|
-
'
|
|
92
|
+
'businessDba'?: string;
|
|
93
93
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# BlockedWebhook
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**accountId** | **string** | User\'s account ID. | [optional] [default to undefined]
|
|
9
|
+
**phoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional] [default to undefined]
|
|
10
|
+
**status** | [**TfvCallbackStatusEnum**](TfvCallbackStatusEnum.md) | | [optional] [default to undefined]
|
|
11
|
+
**internalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] [default to undefined]
|
|
12
|
+
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
13
|
+
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { BlockedWebhook } from 'bandwidth-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: BlockedWebhook = {
|
|
21
|
+
accountId,
|
|
22
|
+
phoneNumber,
|
|
23
|
+
status,
|
|
24
|
+
internalTicketNumber,
|
|
25
|
+
blocked,
|
|
26
|
+
blockedReason,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/TfvStatus.md
CHANGED
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**createdDateTime** | **string** | Date and time the verification request was created. | [optional] [default to undefined]
|
|
14
14
|
**modifiedDateTime** | **string** | Date and time the verification request was last modified. | [optional] [default to undefined]
|
|
15
15
|
**submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional] [default to undefined]
|
|
16
|
-
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
17
|
-
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
16
|
+
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
17
|
+
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**optInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | [optional] [default to undefined]
|
|
15
15
|
**additionalInformation** | **string** | Any additional information. | [optional] [default to undefined]
|
|
16
16
|
**isvReseller** | **string** | ISV name. | [optional] [default to undefined]
|
|
17
|
-
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL.
|
|
18
|
-
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL.
|
|
19
|
-
**
|
|
17
|
+
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. | [optional] [default to undefined]
|
|
18
|
+
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. | [optional] [default to undefined]
|
|
19
|
+
**businessDba** | **string** | The company \'Doing Business As\'. | [optional] [default to undefined]
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -35,7 +35,7 @@ const instance: TfvSubmissionInfo = {
|
|
|
35
35
|
isvReseller,
|
|
36
36
|
privacyPolicyUrl,
|
|
37
37
|
termsAndConditionsUrl,
|
|
38
|
-
|
|
38
|
+
businessDba,
|
|
39
39
|
};
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**phoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional] [default to undefined]
|
|
14
14
|
**resubmitAllowed** | **boolean** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional] [default to undefined]
|
|
15
15
|
**status** | **string** | | [optional] [default to 'UNVERIFIED']
|
|
16
|
-
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
17
|
-
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
16
|
+
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
17
|
+
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
@@ -15,9 +15,9 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**optInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | [default to undefined]
|
|
16
16
|
**additionalInformation** | **string** | Any additional information. | [optional] [default to undefined]
|
|
17
17
|
**isvReseller** | **string** | ISV name. | [optional] [default to undefined]
|
|
18
|
-
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL.
|
|
19
|
-
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL.
|
|
20
|
-
**
|
|
18
|
+
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. | [optional] [default to undefined]
|
|
19
|
+
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. | [optional] [default to undefined]
|
|
20
|
+
**businessDba** | **string** | The company \'Doing Business As\'. | [optional] [default to undefined]
|
|
21
21
|
|
|
22
22
|
## Example
|
|
23
23
|
|
|
@@ -37,7 +37,7 @@ const instance: VerificationRequest = {
|
|
|
37
37
|
isvReseller,
|
|
38
38
|
privacyPolicyUrl,
|
|
39
39
|
termsAndConditionsUrl,
|
|
40
|
-
|
|
40
|
+
businessDba,
|
|
41
41
|
};
|
|
42
42
|
```
|
|
43
43
|
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**optInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | [default to undefined]
|
|
15
15
|
**additionalInformation** | **string** | Any additional information. | [optional] [default to undefined]
|
|
16
16
|
**isvReseller** | **string** | ISV name. | [optional] [default to undefined]
|
|
17
|
-
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL.
|
|
18
|
-
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL.
|
|
19
|
-
**
|
|
17
|
+
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. | [optional] [default to undefined]
|
|
18
|
+
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. | [optional] [default to undefined]
|
|
19
|
+
**businessDba** | **string** | The company \'Doing Business As\'. | [optional] [default to undefined]
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -35,7 +35,7 @@ const instance: VerificationUpdateRequest = {
|
|
|
35
35
|
isvReseller,
|
|
36
36
|
privacyPolicyUrl,
|
|
37
37
|
termsAndConditionsUrl,
|
|
38
|
-
|
|
38
|
+
businessDba,
|
|
39
39
|
};
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { TfvCallbackStatusEnum } from './tfv-callback-status-enum';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface BlockedWebhook
|
|
24
|
+
*/
|
|
25
|
+
export interface BlockedWebhook {
|
|
26
|
+
/**
|
|
27
|
+
* User\'s account ID.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BlockedWebhook
|
|
30
|
+
*/
|
|
31
|
+
'accountId'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Toll-free telephone number in E.164 format.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof BlockedWebhook
|
|
36
|
+
*/
|
|
37
|
+
'phoneNumber'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {TfvCallbackStatusEnum}
|
|
41
|
+
* @memberof BlockedWebhook
|
|
42
|
+
*/
|
|
43
|
+
'status'?: TfvCallbackStatusEnum;
|
|
44
|
+
/**
|
|
45
|
+
* Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof BlockedWebhook
|
|
48
|
+
*/
|
|
49
|
+
'internalTicketNumber'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof BlockedWebhook
|
|
54
|
+
*/
|
|
55
|
+
'blocked'?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof BlockedWebhook
|
|
60
|
+
*/
|
|
61
|
+
'blockedReason'?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
package/models/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './account-statistics';
|
|
|
2
2
|
export * from './additional-denial-reason';
|
|
3
3
|
export * from './address';
|
|
4
4
|
export * from './answer-callback';
|
|
5
|
+
export * from './blocked-webhook';
|
|
5
6
|
export * from './bridge-complete-callback';
|
|
6
7
|
export * from './bridge-target-complete-callback';
|
|
7
8
|
export * from './call-direction-enum';
|
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
|
|