bandwidth-sdk 7.4.1 → 8.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/.openapi-generator/FILES +0 -2
- package/README.md +0 -1
- package/api/media-api.ts +4 -4
- package/bandwidth.yml +157 -64
- package/configuration.ts +1 -1
- package/coverage/clover.xml +5 -10
- package/coverage/coverage-final.json +1 -2
- package/coverage/lcov-report/index.html +7 -7
- 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 +5 -5
- 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/business-entity-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +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/completed-lookup-status-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/deactivation-event-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/in-progress-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.html +5 -20
- package/coverage/lcov-report/node-sdk/models/index.ts.html +4 -7
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/list-message-direction-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 +1 -1
- package/coverage/lcov-report/node-sdk/models/product-type-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/rbm-open-url-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-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/status-callback-type-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 +2 -13
- package/dist/api/media-api.d.ts +4 -4
- package/dist/api/media-api.js +4 -4
- package/dist/configuration.js +1 -1
- package/dist/models/business-entity-type-enum.d.ts +1 -1
- package/dist/models/business-entity-type-enum.js +1 -1
- package/dist/models/business-registration-type-enum.d.ts +1 -1
- package/dist/models/business-registration-type-enum.js +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/lookup-error-schema.d.ts +3 -3
- package/dist/models/lookup-result.d.ts +5 -1
- package/dist/models/mms-message-content-file.d.ts +1 -1
- package/dist/models/tfv-submission-info.d.ts +5 -3
- package/dist/models/verification-request.d.ts +5 -3
- package/dist/models/verification-update-request.d.ts +5 -3
- package/docs/BusinessEntityTypeEnum.md +1 -1
- package/docs/BusinessRegistrationTypeEnum.md +1 -1
- package/docs/LookupErrorSchema.md +3 -3
- package/docs/LookupResult.md +3 -1
- package/docs/MediaApi.md +1 -1
- package/docs/MmsMessageContentFile.md +1 -1
- package/docs/TfvSubmissionInfo.md +2 -2
- package/docs/VerificationRequest.md +2 -2
- package/docs/VerificationUpdateRequest.md +2 -2
- package/models/business-entity-type-enum.ts +1 -1
- package/models/business-registration-type-enum.ts +1 -1
- package/models/index.ts +0 -1
- package/models/lookup-error-schema.ts +3 -3
- package/models/lookup-result.ts +5 -1
- package/models/mms-message-content-file.ts +1 -1
- package/models/tfv-submission-info.ts +5 -5
- package/models/verification-request.ts +5 -5
- package/models/verification-update-request.ts +5 -5
- package/package.json +1 -1
- package/tests/smoke/phone-number-lookup-api.test.ts +2 -10
- package/tests/unit/api/phone-number-lookup-api.test.ts +0 -8
- package/tests/unit/api/toll-free-verification-api.test.ts +1 -1
- package/coverage/lcov-report/node-sdk/models/business-registration-issuing-country-enum.ts.html +0 -217
- package/dist/models/business-registration-issuing-country-enum.d.ts +0 -34
- package/dist/models/business-registration-issuing-country-enum.js +0 -38
- package/docs/BusinessRegistrationIssuingCountryEnum.md +0 -41
- package/models/business-registration-issuing-country-enum.ts +0 -44
- package/tests/unit/models/business-registration-issuing-country-enum.test.ts +0 -23
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { sleep } from '../callUtils';
|
|
13
13
|
|
|
14
14
|
describe('PhoneNumberLookupApi', () => {
|
|
15
|
-
jest.setTimeout(
|
|
15
|
+
jest.setTimeout(70000);
|
|
16
16
|
const config = new Configuration({
|
|
17
17
|
clientId: BW_CLIENT_ID,
|
|
18
18
|
clientSecret: BW_CLIENT_SECRET
|
|
@@ -38,16 +38,12 @@ describe('PhoneNumberLookupApi', () => {
|
|
|
38
38
|
expect(createData.errors).toBeInstanceOf(Array);
|
|
39
39
|
|
|
40
40
|
const requestId = createData.data.requestId;
|
|
41
|
-
await sleep(
|
|
41
|
+
await sleep(60);
|
|
42
42
|
|
|
43
43
|
const { status: getStatus, data: getData }
|
|
44
44
|
= await phoneNumberLookupApi.getAsyncBulkLookup(BW_ACCOUNT_ID, requestId);
|
|
45
45
|
|
|
46
46
|
expect(getStatus).toEqual(200);
|
|
47
|
-
expect(getData.links[0]).toBeDefined();
|
|
48
|
-
expect(getData.links[0].rel).toBeString();
|
|
49
|
-
expect(getData.links[0].href).toBeString();
|
|
50
|
-
expect(getData.links[0].method).toBeString();
|
|
51
47
|
expect(getData.data.requestId).toEqual(requestId);
|
|
52
48
|
expect(getData.data.status).toBeOneOf(Object.values(InProgressLookupStatusEnum));
|
|
53
49
|
expect(getData.data.results).toBeInstanceOf(Array);
|
|
@@ -66,10 +62,6 @@ describe('PhoneNumberLookupApi', () => {
|
|
|
66
62
|
const { status, data } = await phoneNumberLookupApi.createSyncLookup(BW_ACCOUNT_ID, request);
|
|
67
63
|
|
|
68
64
|
expect(status).toEqual(200);
|
|
69
|
-
expect(data.links[0]).toBeDefined();
|
|
70
|
-
expect(data.links[0].rel).toBeString();
|
|
71
|
-
expect(data.links[0].href).toBeString();
|
|
72
|
-
expect(data.links[0].method).toBeString();
|
|
73
65
|
expect(data.data.requestId).toBeString();
|
|
74
66
|
expect(data.data.status).toBeOneOf(Object.values(CompletedLookupStatusEnum));
|
|
75
67
|
expect(data.data.results).toBeInstanceOf(Array);
|
|
@@ -45,10 +45,6 @@ describe('PhoneNumberLookupApi', () => {
|
|
|
45
45
|
const { status, data } = await phoneNumberLookupApi.createSyncLookup(BW_ACCOUNT_ID, request);
|
|
46
46
|
|
|
47
47
|
expect(status).toEqual(200);
|
|
48
|
-
expect(data.links[0]).toBeDefined();
|
|
49
|
-
expect(data.links[0].rel).toBeString();
|
|
50
|
-
expect(data.links[0].href).toBeString();
|
|
51
|
-
expect(data.links[0].method).toBeString();
|
|
52
48
|
expect(data.data.requestId).toBeString();
|
|
53
49
|
expect(data.data.status).toBeOneOf(Object.values(CompletedLookupStatusEnum));
|
|
54
50
|
expect(data.data.results).toBeInstanceOf(Array);
|
|
@@ -70,10 +66,6 @@ describe('PhoneNumberLookupApi', () => {
|
|
|
70
66
|
const { status, data } = await phoneNumberLookupApi.getAsyncBulkLookup(BW_ACCOUNT_ID, requestId);
|
|
71
67
|
|
|
72
68
|
expect(status).toEqual(200);
|
|
73
|
-
expect(data.links[0]).toBeDefined();
|
|
74
|
-
expect(data.links[0].rel).toBeString();
|
|
75
|
-
expect(data.links[0].href).toBeString();
|
|
76
|
-
expect(data.links[0].method).toBeString();
|
|
77
69
|
expect(data.data.requestId).toBeString();
|
|
78
70
|
expect(data.data.status).toBeOneOf(Object.values(InProgressLookupStatusEnum));
|
|
79
71
|
expect(data.data.results).toBeInstanceOf(Array);
|
|
@@ -140,7 +140,7 @@ describe('TollFreeVerificationApi', () => {
|
|
|
140
140
|
businessDba: 'businessDba',
|
|
141
141
|
businessRegistrationNumber: 'businessRegistrationNumber',
|
|
142
142
|
businessRegistrationType: BusinessRegistrationTypeEnum.Ein,
|
|
143
|
-
businessRegistrationIssuingCountry:
|
|
143
|
+
businessRegistrationIssuingCountry: 'USA',
|
|
144
144
|
businessEntityType: BusinessEntityTypeEnum.NonProfit,
|
|
145
145
|
helpMessageResponse: 'helpMessageResponse',
|
|
146
146
|
ageGatedContent: true,
|
package/coverage/lcov-report/node-sdk/models/business-registration-issuing-country-enum.ts.html
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!doctype html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
|
|
5
|
-
<head>
|
|
6
|
-
<title>Code coverage report for node-sdk/models/business-registration-issuing-country-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> business-registration-issuing-country-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>
|
|
98
|
-
<a name='L33'></a><a href='#L33'>33</a>
|
|
99
|
-
<a name='L34'></a><a href='#L34'>34</a>
|
|
100
|
-
<a name='L35'></a><a href='#L35'>35</a>
|
|
101
|
-
<a name='L36'></a><a href='#L36'>36</a>
|
|
102
|
-
<a name='L37'></a><a href='#L37'>37</a>
|
|
103
|
-
<a name='L38'></a><a href='#L38'>38</a>
|
|
104
|
-
<a name='L39'></a><a href='#L39'>39</a>
|
|
105
|
-
<a name='L40'></a><a href='#L40'>40</a>
|
|
106
|
-
<a name='L41'></a><a href='#L41'>41</a>
|
|
107
|
-
<a name='L42'></a><a href='#L42'>42</a>
|
|
108
|
-
<a name='L43'></a><a href='#L43'>43</a>
|
|
109
|
-
<a name='L44'></a><a href='#L44'>44</a>
|
|
110
|
-
<a name='L45'></a><a href='#L45'>45</a></td><td class="line-coverage quiet"><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-neutral"> </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>
|
|
129
|
-
<span class="cline-any cline-neutral"> </span>
|
|
130
|
-
<span class="cline-any cline-yes">9x</span>
|
|
131
|
-
<span class="cline-any cline-neutral"> </span>
|
|
132
|
-
<span class="cline-any cline-neutral"> </span>
|
|
133
|
-
<span class="cline-any cline-neutral"> </span>
|
|
134
|
-
<span class="cline-any cline-neutral"> </span>
|
|
135
|
-
<span class="cline-any cline-neutral"> </span>
|
|
136
|
-
<span class="cline-any cline-neutral"> </span>
|
|
137
|
-
<span class="cline-any cline-neutral"> </span>
|
|
138
|
-
<span class="cline-any cline-neutral"> </span>
|
|
139
|
-
<span class="cline-any cline-neutral"> </span>
|
|
140
|
-
<span class="cline-any cline-neutral"> </span>
|
|
141
|
-
<span class="cline-any cline-neutral"> </span>
|
|
142
|
-
<span class="cline-any cline-neutral"> </span>
|
|
143
|
-
<span class="cline-any cline-neutral"> </span>
|
|
144
|
-
<span class="cline-any cline-neutral"> </span>
|
|
145
|
-
<span class="cline-any cline-neutral"> </span>
|
|
146
|
-
<span class="cline-any cline-neutral"> </span>
|
|
147
|
-
<span class="cline-any cline-neutral"> </span>
|
|
148
|
-
<span class="cline-any cline-neutral"> </span>
|
|
149
|
-
<span class="cline-any cline-neutral"> </span>
|
|
150
|
-
<span class="cline-any cline-neutral"> </span>
|
|
151
|
-
<span class="cline-any cline-neutral"> </span>
|
|
152
|
-
<span class="cline-any cline-neutral"> </span>
|
|
153
|
-
<span class="cline-any cline-neutral"> </span>
|
|
154
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">/* tslint:disable */
|
|
155
|
-
/* eslint-disable */
|
|
156
|
-
/**
|
|
157
|
-
* Bandwidth
|
|
158
|
-
* Bandwidth\'s Communication APIs
|
|
159
|
-
*
|
|
160
|
-
* The version of the OpenAPI document: 1.0.0
|
|
161
|
-
* Contact: letstalk@bandwidth.com
|
|
162
|
-
*
|
|
163
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
164
|
-
* https://openapi-generator.tech
|
|
165
|
-
* Do not edit the class manually.
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | Registration Type | Supported Countries | |----------------------|------------------------------------| | EIN | USA | | CBN | CAN | | NEQ | CAN | | PROVINCIAL_NUMBER | CAN | | CRN | GBR, HKG | | VAT | GBR, IRL, BRA, NLD | | ACN | AUS | | ABN | AUS | | BRN | HKG | | SIREN | FRA | | SIRET | FRA | | NZBN | NZL | | UST_IDNR | DEU | | CIF | ESP | | NIF | ESP | | CNPJ | BRA | | UID | CHE | | OTHER | Must Provide Country Code |
|
|
172
|
-
*/
|
|
173
|
-
|
|
174
|
-
export const BusinessRegistrationIssuingCountryEnum = {
|
|
175
|
-
Usa: 'USA',
|
|
176
|
-
Can: 'CAN',
|
|
177
|
-
Hkg: 'HKG',
|
|
178
|
-
Gbr: 'GBR',
|
|
179
|
-
Irl: 'IRL',
|
|
180
|
-
Bra: 'BRA',
|
|
181
|
-
Nld: 'NLD',
|
|
182
|
-
Aus: 'AUS',
|
|
183
|
-
Fra: 'FRA',
|
|
184
|
-
Nzl: 'NZL',
|
|
185
|
-
Deu: 'DEU',
|
|
186
|
-
Esp: 'ESP',
|
|
187
|
-
Che: 'CHE',
|
|
188
|
-
Cyp: 'CYP',
|
|
189
|
-
Ind: 'IND',
|
|
190
|
-
Chn: 'CHN',
|
|
191
|
-
Bgr: 'BGR'
|
|
192
|
-
} as const;
|
|
193
|
-
|
|
194
|
-
export type BusinessRegistrationIssuingCountryEnum = typeof BusinessRegistrationIssuingCountryEnum[keyof typeof BusinessRegistrationIssuingCountryEnum];
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</pre></td></tr></table></pre>
|
|
199
|
-
|
|
200
|
-
<div class='push'></div><!-- for sticky footer -->
|
|
201
|
-
</div><!-- /wrapper -->
|
|
202
|
-
<div class='footer quiet pad2 space-top1 center small'>
|
|
203
|
-
Code coverage generated by
|
|
204
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
205
|
-
at 2026-03-24T19:57:58.531Z
|
|
206
|
-
</div>
|
|
207
|
-
<script src="../../prettify.js"></script>
|
|
208
|
-
<script>
|
|
209
|
-
window.onload = function () {
|
|
210
|
-
prettyPrint();
|
|
211
|
-
};
|
|
212
|
-
</script>
|
|
213
|
-
<script src="../../sorter.js"></script>
|
|
214
|
-
<script src="../../block-navigation.js"></script>
|
|
215
|
-
</body>
|
|
216
|
-
</html>
|
|
217
|
-
|
|
@@ -1,34 +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
|
-
* The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | Registration Type | Supported Countries | |----------------------|------------------------------------| | EIN | USA | | CBN | CAN | | NEQ | CAN | | PROVINCIAL_NUMBER | CAN | | CRN | GBR, HKG | | VAT | GBR, IRL, BRA, NLD | | ACN | AUS | | ABN | AUS | | BRN | HKG | | SIREN | FRA | | SIRET | FRA | | NZBN | NZL | | UST_IDNR | DEU | | CIF | ESP | | NIF | ESP | | CNPJ | BRA | | UID | CHE | | OTHER | Must Provide Country Code |
|
|
14
|
-
*/
|
|
15
|
-
export declare const BusinessRegistrationIssuingCountryEnum: {
|
|
16
|
-
readonly Usa: "USA";
|
|
17
|
-
readonly Can: "CAN";
|
|
18
|
-
readonly Hkg: "HKG";
|
|
19
|
-
readonly Gbr: "GBR";
|
|
20
|
-
readonly Irl: "IRL";
|
|
21
|
-
readonly Bra: "BRA";
|
|
22
|
-
readonly Nld: "NLD";
|
|
23
|
-
readonly Aus: "AUS";
|
|
24
|
-
readonly Fra: "FRA";
|
|
25
|
-
readonly Nzl: "NZL";
|
|
26
|
-
readonly Deu: "DEU";
|
|
27
|
-
readonly Esp: "ESP";
|
|
28
|
-
readonly Che: "CHE";
|
|
29
|
-
readonly Cyp: "CYP";
|
|
30
|
-
readonly Ind: "IND";
|
|
31
|
-
readonly Chn: "CHN";
|
|
32
|
-
readonly Bgr: "BGR";
|
|
33
|
-
};
|
|
34
|
-
export type BusinessRegistrationIssuingCountryEnum = typeof BusinessRegistrationIssuingCountryEnum[keyof typeof BusinessRegistrationIssuingCountryEnum];
|
|
@@ -1,38 +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.BusinessRegistrationIssuingCountryEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | Registration Type | Supported Countries | |----------------------|------------------------------------| | EIN | USA | | CBN | CAN | | NEQ | CAN | | PROVINCIAL_NUMBER | CAN | | CRN | GBR, HKG | | VAT | GBR, IRL, BRA, NLD | | ACN | AUS | | ABN | AUS | | BRN | HKG | | SIREN | FRA | | SIRET | FRA | | NZBN | NZL | | UST_IDNR | DEU | | CIF | ESP | | NIF | ESP | | CNPJ | BRA | | UID | CHE | | OTHER | Must Provide Country Code |
|
|
19
|
-
*/
|
|
20
|
-
exports.BusinessRegistrationIssuingCountryEnum = {
|
|
21
|
-
Usa: 'USA',
|
|
22
|
-
Can: 'CAN',
|
|
23
|
-
Hkg: 'HKG',
|
|
24
|
-
Gbr: 'GBR',
|
|
25
|
-
Irl: 'IRL',
|
|
26
|
-
Bra: 'BRA',
|
|
27
|
-
Nld: 'NLD',
|
|
28
|
-
Aus: 'AUS',
|
|
29
|
-
Fra: 'FRA',
|
|
30
|
-
Nzl: 'NZL',
|
|
31
|
-
Deu: 'DEU',
|
|
32
|
-
Esp: 'ESP',
|
|
33
|
-
Che: 'CHE',
|
|
34
|
-
Cyp: 'CYP',
|
|
35
|
-
Ind: 'IND',
|
|
36
|
-
Chn: 'CHN',
|
|
37
|
-
Bgr: 'BGR'
|
|
38
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# BusinessRegistrationIssuingCountryEnum
|
|
2
|
-
|
|
3
|
-
The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | Registration Type | Supported Countries | |----------------------|------------------------------------| | EIN | USA | | CBN | CAN | | NEQ | CAN | | PROVINCIAL_NUMBER | CAN | | CRN | GBR, HKG | | VAT | GBR, IRL, BRA, NLD | | ACN | AUS | | ABN | AUS | | BRN | HKG | | SIREN | FRA | | SIRET | FRA | | NZBN | NZL | | UST_IDNR | DEU | | CIF | ESP | | NIF | ESP | | CNPJ | BRA | | UID | CHE | | OTHER | Must Provide Country Code |
|
|
4
|
-
|
|
5
|
-
## Enum
|
|
6
|
-
|
|
7
|
-
* `Usa` (value: `'USA'`)
|
|
8
|
-
|
|
9
|
-
* `Can` (value: `'CAN'`)
|
|
10
|
-
|
|
11
|
-
* `Hkg` (value: `'HKG'`)
|
|
12
|
-
|
|
13
|
-
* `Gbr` (value: `'GBR'`)
|
|
14
|
-
|
|
15
|
-
* `Irl` (value: `'IRL'`)
|
|
16
|
-
|
|
17
|
-
* `Bra` (value: `'BRA'`)
|
|
18
|
-
|
|
19
|
-
* `Nld` (value: `'NLD'`)
|
|
20
|
-
|
|
21
|
-
* `Aus` (value: `'AUS'`)
|
|
22
|
-
|
|
23
|
-
* `Fra` (value: `'FRA'`)
|
|
24
|
-
|
|
25
|
-
* `Nzl` (value: `'NZL'`)
|
|
26
|
-
|
|
27
|
-
* `Deu` (value: `'DEU'`)
|
|
28
|
-
|
|
29
|
-
* `Esp` (value: `'ESP'`)
|
|
30
|
-
|
|
31
|
-
* `Che` (value: `'CHE'`)
|
|
32
|
-
|
|
33
|
-
* `Cyp` (value: `'CYP'`)
|
|
34
|
-
|
|
35
|
-
* `Ind` (value: `'IND'`)
|
|
36
|
-
|
|
37
|
-
* `Chn` (value: `'CHN'`)
|
|
38
|
-
|
|
39
|
-
* `Bgr` (value: `'BGR'`)
|
|
40
|
-
|
|
41
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,44 +0,0 @@
|
|
|
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 country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | Registration Type | Supported Countries | |----------------------|------------------------------------| | EIN | USA | | CBN | CAN | | NEQ | CAN | | PROVINCIAL_NUMBER | CAN | | CRN | GBR, HKG | | VAT | GBR, IRL, BRA, NLD | | ACN | AUS | | ABN | AUS | | BRN | HKG | | SIREN | FRA | | SIRET | FRA | | NZBN | NZL | | UST_IDNR | DEU | | CIF | ESP | | NIF | ESP | | CNPJ | BRA | | UID | CHE | | OTHER | Must Provide Country Code |
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
export const BusinessRegistrationIssuingCountryEnum = {
|
|
22
|
-
Usa: 'USA',
|
|
23
|
-
Can: 'CAN',
|
|
24
|
-
Hkg: 'HKG',
|
|
25
|
-
Gbr: 'GBR',
|
|
26
|
-
Irl: 'IRL',
|
|
27
|
-
Bra: 'BRA',
|
|
28
|
-
Nld: 'NLD',
|
|
29
|
-
Aus: 'AUS',
|
|
30
|
-
Fra: 'FRA',
|
|
31
|
-
Nzl: 'NZL',
|
|
32
|
-
Deu: 'DEU',
|
|
33
|
-
Esp: 'ESP',
|
|
34
|
-
Che: 'CHE',
|
|
35
|
-
Cyp: 'CYP',
|
|
36
|
-
Ind: 'IND',
|
|
37
|
-
Chn: 'CHN',
|
|
38
|
-
Bgr: 'BGR'
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type BusinessRegistrationIssuingCountryEnum = typeof BusinessRegistrationIssuingCountryEnum[keyof typeof BusinessRegistrationIssuingCountryEnum];
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BusinessRegistrationIssuingCountryEnum } from '../../../models/business-registration-issuing-country-enum';
|
|
2
|
-
|
|
3
|
-
describe('BusinessRegistrationIssuingCountryEnum', () => {
|
|
4
|
-
test('should define the expected values', () => {
|
|
5
|
-
expect(BusinessRegistrationIssuingCountryEnum.Usa).toBe('USA');
|
|
6
|
-
expect(BusinessRegistrationIssuingCountryEnum.Can).toBe('CAN');
|
|
7
|
-
expect(BusinessRegistrationIssuingCountryEnum.Hkg).toBe('HKG');
|
|
8
|
-
expect(BusinessRegistrationIssuingCountryEnum.Gbr).toBe('GBR');
|
|
9
|
-
expect(BusinessRegistrationIssuingCountryEnum.Irl).toBe('IRL');
|
|
10
|
-
expect(BusinessRegistrationIssuingCountryEnum.Bra).toBe('BRA');
|
|
11
|
-
expect(BusinessRegistrationIssuingCountryEnum.Nld).toBe('NLD');
|
|
12
|
-
expect(BusinessRegistrationIssuingCountryEnum.Aus).toBe('AUS');
|
|
13
|
-
expect(BusinessRegistrationIssuingCountryEnum.Fra).toBe('FRA');
|
|
14
|
-
expect(BusinessRegistrationIssuingCountryEnum.Nzl).toBe('NZL');
|
|
15
|
-
expect(BusinessRegistrationIssuingCountryEnum.Deu).toBe('DEU');
|
|
16
|
-
expect(BusinessRegistrationIssuingCountryEnum.Esp).toBe('ESP');
|
|
17
|
-
expect(BusinessRegistrationIssuingCountryEnum.Che).toBe('CHE');
|
|
18
|
-
expect(BusinessRegistrationIssuingCountryEnum.Cyp).toBe('CYP');
|
|
19
|
-
expect(BusinessRegistrationIssuingCountryEnum.Ind).toBe('IND');
|
|
20
|
-
expect(BusinessRegistrationIssuingCountryEnum.Chn).toBe('CHN');
|
|
21
|
-
expect(BusinessRegistrationIssuingCountryEnum.Bgr).toBe('BGR');
|
|
22
|
-
});
|
|
23
|
-
});
|