bandwidth-sdk 7.1.0 → 7.3.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/deploy.yml +9 -4
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -0
- package/api/messages-api.ts +4 -4
- package/bandwidth.yml +81 -5
- package/configuration.ts +1 -1
- package/coverage/clover.xml +16 -6
- package/coverage/coverage-final.json +4 -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 +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +5 -5
- 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 +2 -2
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/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 +35 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +10 -4
- 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 +172 -0
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +175 -0
- 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 +27 -5
- package/custom_templates/package.mustache +6 -7
- package/dist/api/messages-api.d.ts +4 -4
- package/dist/api/messages-api.js +4 -4
- package/dist/configuration.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/multi-channel-action.d.ts +4 -0
- package/dist/models/rbm-message-media.d.ts +1 -1
- package/dist/models/rbm-open-url-enum.d.ts +19 -0
- package/dist/models/rbm-open-url-enum.js +23 -0
- package/dist/models/rbm-web-view-enum.d.ts +20 -0
- package/dist/models/rbm-web-view-enum.js +24 -0
- package/dist/models/tfv-status.d.ts +4 -0
- package/dist/models/verification-request.d.ts +4 -0
- package/dist/models/verification-update-request.d.ts +4 -0
- package/docs/MessagesApi.md +3 -2
- package/docs/MultiChannelAction.md +4 -0
- package/docs/MultiChannelChannelListRBMObjectAllOfContent.md +1 -1
- package/docs/RbmActionOpenUrl.md +4 -0
- package/docs/RbmMessageMedia.md +1 -1
- package/docs/RbmOpenUrlEnum.md +11 -0
- package/docs/RbmWebViewEnum.md +13 -0
- package/docs/TfvStatus.md +2 -0
- package/docs/VerificationRequest.md +2 -0
- package/docs/VerificationUpdateRequest.md +2 -0
- package/models/index.ts +2 -0
- package/models/multi-channel-action.ts +8 -0
- package/models/rbm-action-open-url.ts +6 -0
- package/models/rbm-message-media.ts +1 -1
- package/models/rbm-open-url-enum.ts +29 -0
- package/models/rbm-web-view-enum.ts +30 -0
- package/models/tfv-status.ts +4 -0
- package/models/verification-request.ts +4 -0
- package/models/verification-update-request.ts +4 -0
- package/package.json +7 -3
- package/tests/smoke/multi-channel-api.test.ts +240 -4
- package/tests/unit/api/toll-free-verification-api.test.ts +15 -2
- package/tests/unit/models/rbm-open-url-enum.test.ts +8 -0
- package/tests/unit/models/rbm-veb-view-enum.test.ts +9 -0
|
@@ -5,6 +5,10 @@ on:
|
|
|
5
5
|
types:
|
|
6
6
|
- published
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
id-token: write
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
8
12
|
jobs:
|
|
9
13
|
deploy:
|
|
10
14
|
name: Deploy SDK to NPM
|
|
@@ -48,9 +52,12 @@ jobs:
|
|
|
48
52
|
- name: Setup Node
|
|
49
53
|
uses: actions/setup-node@v6
|
|
50
54
|
with:
|
|
51
|
-
node-version:
|
|
55
|
+
node-version: 20
|
|
52
56
|
registry-url: "https://registry.npmjs.org"
|
|
53
57
|
|
|
58
|
+
- name: Update NPM
|
|
59
|
+
run: npm install -g npm@latest
|
|
60
|
+
|
|
54
61
|
- name: Set OpenAPI Generator Version
|
|
55
62
|
run: |
|
|
56
63
|
OPENAPI_VERSION=$(jq .[\"generator-cli\"].version openapitools.json)
|
|
@@ -73,10 +80,8 @@ jobs:
|
|
|
73
80
|
|
|
74
81
|
- name: Publish npm Package
|
|
75
82
|
run: |
|
|
76
|
-
npm version $PACKAGE_VERSION --no-git-tag-version
|
|
83
|
+
npm version $PACKAGE_VERSION --no-git-tag-version
|
|
77
84
|
npm publish --access public
|
|
78
|
-
env:
|
|
79
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
80
85
|
|
|
81
86
|
- uses: Bandwidth/build-notify-slack-action@v2
|
|
82
87
|
if: always()
|
package/.openapi-generator/FILES
CHANGED
|
@@ -148,8 +148,10 @@ docs/RbmMessageContentFile.md
|
|
|
148
148
|
docs/RbmMessageContentRichCard.md
|
|
149
149
|
docs/RbmMessageContentText.md
|
|
150
150
|
docs/RbmMessageMedia.md
|
|
151
|
+
docs/RbmOpenUrlEnum.md
|
|
151
152
|
docs/RbmStandaloneCard.md
|
|
152
153
|
docs/RbmSuggestionResponse.md
|
|
154
|
+
docs/RbmWebViewEnum.md
|
|
153
155
|
docs/RecordingAvailableCallback.md
|
|
154
156
|
docs/RecordingCompleteCallback.md
|
|
155
157
|
docs/RecordingStateEnum.md
|
|
@@ -329,8 +331,10 @@ models/rbm-message-content-file.ts
|
|
|
329
331
|
models/rbm-message-content-rich-card.ts
|
|
330
332
|
models/rbm-message-content-text.ts
|
|
331
333
|
models/rbm-message-media.ts
|
|
334
|
+
models/rbm-open-url-enum.ts
|
|
332
335
|
models/rbm-standalone-card.ts
|
|
333
336
|
models/rbm-suggestion-response.ts
|
|
337
|
+
models/rbm-web-view-enum.ts
|
|
334
338
|
models/recording-available-callback.ts
|
|
335
339
|
models/recording-complete-callback.ts
|
|
336
340
|
models/recording-state-enum.ts
|
package/README.md
CHANGED
|
@@ -286,8 +286,10 @@ Class | Method | HTTP request | Description
|
|
|
286
286
|
- [RbmMessageContentRichCard](docs/RbmMessageContentRichCard.md)
|
|
287
287
|
- [RbmMessageContentText](docs/RbmMessageContentText.md)
|
|
288
288
|
- [RbmMessageMedia](docs/RbmMessageMedia.md)
|
|
289
|
+
- [RbmOpenUrlEnum](docs/RbmOpenUrlEnum.md)
|
|
289
290
|
- [RbmStandaloneCard](docs/RbmStandaloneCard.md)
|
|
290
291
|
- [RbmSuggestionResponse](docs/RbmSuggestionResponse.md)
|
|
292
|
+
- [RbmWebViewEnum](docs/RbmWebViewEnum.md)
|
|
291
293
|
- [RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
|
|
292
294
|
- [RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
|
|
293
295
|
- [RecordingStateEnum](docs/RecordingStateEnum.md)
|
package/api/messages-api.ts
CHANGED
|
@@ -93,7 +93,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
93
93
|
};
|
|
94
94
|
},
|
|
95
95
|
/**
|
|
96
|
-
* Returns a list of messages based on query parameters.
|
|
96
|
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
97
97
|
* @summary List Messages
|
|
98
98
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
99
99
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
@@ -293,7 +293,7 @@ export const MessagesApiFp = function(configuration?: Configuration) {
|
|
|
293
293
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Returns a list of messages based on query parameters.
|
|
296
|
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
297
297
|
* @summary List Messages
|
|
298
298
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
299
299
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
@@ -353,7 +353,7 @@ export const MessagesApiFactory = function (configuration?: Configuration, baseP
|
|
|
353
353
|
return localVarFp.createMessage(accountId, messageRequest, options).then((request) => request(axios, basePath));
|
|
354
354
|
},
|
|
355
355
|
/**
|
|
356
|
-
* Returns a list of messages based on query parameters.
|
|
356
|
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
357
357
|
* @summary List Messages
|
|
358
358
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
359
359
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
@@ -409,7 +409,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
/**
|
|
412
|
-
* Returns a list of messages based on query parameters.
|
|
412
|
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
413
413
|
* @summary List Messages
|
|
414
414
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
415
415
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
package/bandwidth.yml
CHANGED
|
@@ -163,7 +163,13 @@ paths:
|
|
|
163
163
|
/users/{accountId}/messages:
|
|
164
164
|
get:
|
|
165
165
|
summary: List Messages
|
|
166
|
-
description:
|
|
166
|
+
description: >
|
|
167
|
+
Returns a list of messages based on query parameters.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
**Rate Limit:** This endpoint is rate limited to 3500 requests per 5
|
|
171
|
+
minutes per Source IP address. Exceeding the limit returns HTTP 429 with
|
|
172
|
+
a `Retry-After` header.
|
|
167
173
|
operationId: listMessages
|
|
168
174
|
tags:
|
|
169
175
|
- Messages
|
|
@@ -207,10 +213,12 @@ paths:
|
|
|
207
213
|
$ref: '#/components/responses/messagingForbiddenError'
|
|
208
214
|
'404':
|
|
209
215
|
$ref: '#/components/responses/messagingNotFoundError'
|
|
216
|
+
'405':
|
|
217
|
+
$ref: '#/components/responses/messagingMethodNotAllowedError'
|
|
210
218
|
'415':
|
|
211
219
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
|
212
220
|
'429':
|
|
213
|
-
$ref: '#/components/responses/
|
|
221
|
+
$ref: '#/components/responses/listMessagesTooManyRequestsError'
|
|
214
222
|
'500':
|
|
215
223
|
$ref: '#/components/responses/messagingInternalServerError'
|
|
216
224
|
post:
|
|
@@ -2257,7 +2265,9 @@ components:
|
|
|
2257
2265
|
type: object
|
|
2258
2266
|
properties:
|
|
2259
2267
|
media:
|
|
2260
|
-
|
|
2268
|
+
type: array
|
|
2269
|
+
items:
|
|
2270
|
+
$ref: '#/components/schemas/rbmMessageContentFile'
|
|
2261
2271
|
suggestions:
|
|
2262
2272
|
$ref: '#/components/schemas/multiChannelFullActions'
|
|
2263
2273
|
required:
|
|
@@ -2378,6 +2388,35 @@ components:
|
|
|
2378
2388
|
- OPEN_URL
|
|
2379
2389
|
- REQUEST_LOCATION
|
|
2380
2390
|
example: REPLY
|
|
2391
|
+
rbmOpenUrlEnum:
|
|
2392
|
+
type: string
|
|
2393
|
+
description: >-
|
|
2394
|
+
Specifies how the URL should be opened on a mobile device.
|
|
2395
|
+
|
|
2396
|
+
- `BROWSER` Opens the URL in the device's default browser. If
|
|
2397
|
+
application is not set or the device doesn’t support WebView, this
|
|
2398
|
+
option is used by default.
|
|
2399
|
+
|
|
2400
|
+
- `WEBVIEW` Opens the URL in an in-app WebView.
|
|
2401
|
+
enum:
|
|
2402
|
+
- BROWSER
|
|
2403
|
+
- WEBVIEW
|
|
2404
|
+
example: WEBVIEW
|
|
2405
|
+
rbmWebViewEnum:
|
|
2406
|
+
type: string
|
|
2407
|
+
description: >-
|
|
2408
|
+
Defines the layout of the WebView on a mobile device. It must be defined
|
|
2409
|
+
when application is set to `WEBVIEW`
|
|
2410
|
+
|
|
2411
|
+
- `FULL` WebView takes the full screen.
|
|
2412
|
+
|
|
2413
|
+
- `HALF` WebView takes half of the screen.
|
|
2414
|
+
|
|
2415
|
+
- `TALL` WebView takes three-quarters of the screen.
|
|
2416
|
+
enum:
|
|
2417
|
+
- FULL
|
|
2418
|
+
- HALF
|
|
2419
|
+
- TALL
|
|
2381
2420
|
rbmActionText:
|
|
2382
2421
|
title: Text
|
|
2383
2422
|
type: string
|
|
@@ -2482,6 +2521,10 @@ components:
|
|
|
2482
2521
|
description: The URL to open in browser.
|
|
2483
2522
|
example: https://dev.bandwidth.com
|
|
2484
2523
|
maxLength: 2048
|
|
2524
|
+
application:
|
|
2525
|
+
$ref: '#/components/schemas/rbmOpenUrlEnum'
|
|
2526
|
+
webviewViewMode:
|
|
2527
|
+
$ref: '#/components/schemas/rbmWebViewEnum'
|
|
2485
2528
|
required:
|
|
2486
2529
|
- url
|
|
2487
2530
|
multiChannelFullActions:
|
|
@@ -5842,7 +5885,6 @@ components:
|
|
|
5842
5885
|
type: object
|
|
5843
5886
|
internalTicketNumber:
|
|
5844
5887
|
type: string
|
|
5845
|
-
format: uuid
|
|
5846
5888
|
description: >-
|
|
5847
5889
|
Unique identifier (UUID) generated by Bandwidth to assist in tracking
|
|
5848
5890
|
the verification status of a toll-free number - included in all webhook
|
|
@@ -5850,7 +5892,6 @@ components:
|
|
|
5850
5892
|
example: acde070d-8c4c-4f0d-9d8a-162843c10333
|
|
5851
5893
|
internalTicketNumberForWebhook:
|
|
5852
5894
|
type: string
|
|
5853
|
-
format: uuid
|
|
5854
5895
|
description: >-
|
|
5855
5896
|
Unique identifier (UUID) generated by Bandwidth to assist in tracking
|
|
5856
5897
|
the verification status of a toll-free number.
|
|
@@ -5923,6 +5964,8 @@ components:
|
|
|
5923
5964
|
$ref: '#/components/schemas/helpMessageResponse'
|
|
5924
5965
|
ageGatedContent:
|
|
5925
5966
|
$ref: '#/components/schemas/ageGatedContent'
|
|
5967
|
+
cvToken:
|
|
5968
|
+
$ref: '#/components/schemas/cvToken'
|
|
5926
5969
|
verificationUpdateRequest:
|
|
5927
5970
|
type: object
|
|
5928
5971
|
required:
|
|
@@ -5972,6 +6015,8 @@ components:
|
|
|
5972
6015
|
$ref: '#/components/schemas/helpMessageResponse'
|
|
5973
6016
|
ageGatedContent:
|
|
5974
6017
|
$ref: '#/components/schemas/ageGatedContent'
|
|
6018
|
+
cvToken:
|
|
6019
|
+
$ref: '#/components/schemas/cvToken'
|
|
5975
6020
|
tfvBasicAuthentication:
|
|
5976
6021
|
type: object
|
|
5977
6022
|
properties:
|
|
@@ -6423,6 +6468,8 @@ components:
|
|
|
6423
6468
|
$ref: '#/components/schemas/blocked'
|
|
6424
6469
|
blockedReason:
|
|
6425
6470
|
$ref: '#/components/schemas/blockedReason'
|
|
6471
|
+
cvToken:
|
|
6472
|
+
$ref: '#/components/schemas/cvToken'
|
|
6426
6473
|
tfvSubmissionInfo:
|
|
6427
6474
|
type: object
|
|
6428
6475
|
properties:
|
|
@@ -6487,6 +6534,18 @@ components:
|
|
|
6487
6534
|
nullable: true
|
|
6488
6535
|
pattern: ^[ -~]{16,64}$
|
|
6489
6536
|
type: string
|
|
6537
|
+
cvToken:
|
|
6538
|
+
type: string
|
|
6539
|
+
description: >-
|
|
6540
|
+
The token provided by Campaign Verify to validate your political use
|
|
6541
|
+
case. Only required for 527 political organizations. If you are not a
|
|
6542
|
+
527 political organization, this field should be omitted. If you pass an
|
|
6543
|
+
empty string, it will be passed along and potentially rejected.
|
|
6544
|
+
minLength: 0
|
|
6545
|
+
maxLength: 500
|
|
6546
|
+
nullable: true
|
|
6547
|
+
example: >-
|
|
6548
|
+
cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
|
|
6490
6549
|
responses:
|
|
6491
6550
|
createMessageResponse:
|
|
6492
6551
|
description: Accepted
|
|
@@ -6701,6 +6760,23 @@ components:
|
|
|
6701
6760
|
- type: internal-server-error
|
|
6702
6761
|
description: Internal server error. No further information available
|
|
6703
6762
|
source: {}
|
|
6763
|
+
listMessagesTooManyRequestsError:
|
|
6764
|
+
description: Too Many Requests
|
|
6765
|
+
headers:
|
|
6766
|
+
Retry-After:
|
|
6767
|
+
description: The number of seconds to wait before retrying the request.
|
|
6768
|
+
schema:
|
|
6769
|
+
type: integer
|
|
6770
|
+
example: 300
|
|
6771
|
+
content:
|
|
6772
|
+
application/json:
|
|
6773
|
+
schema:
|
|
6774
|
+
$ref: '#/components/schemas/messagingRequestError'
|
|
6775
|
+
example:
|
|
6776
|
+
type: rate_limit_exceeded
|
|
6777
|
+
description: >-
|
|
6778
|
+
Rate limit exceeded. Wait for Retry-After time before sending
|
|
6779
|
+
another request.
|
|
6704
6780
|
createCallResponse:
|
|
6705
6781
|
description: Created
|
|
6706
6782
|
headers:
|
package/configuration.ts
CHANGED
|
@@ -141,7 +141,7 @@ export class Configuration {
|
|
|
141
141
|
...param.baseOptions,
|
|
142
142
|
headers: {
|
|
143
143
|
...param.baseOptions?.headers,
|
|
144
|
-
'User-Agent': "OpenAPI-Generator/7.
|
|
144
|
+
'User-Agent': "OpenAPI-Generator/7.3.0/typescript-axios"
|
|
145
145
|
},
|
|
146
146
|
};
|
|
147
147
|
this.formDataCtor = param.formDataCtor;
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1770147494436" clover="3.2.0">
|
|
3
|
+
<project timestamp="1770147494436" name="All files">
|
|
4
|
+
<metrics statements="1970" coveredstatements="1807" conditionals="1466" coveredconditionals="1055" methods="497" coveredmethods="378" elements="3933" coveredelements="3240" complexity="0" loc="1970" ncloc="1970" packages="5" files="87" classes="87"/>
|
|
5
5
|
<package name="node-sdk">
|
|
6
6
|
<metrics statements="108" coveredstatements="85" conditionals="91" coveredconditionals="52" methods="23" coveredmethods="20"/>
|
|
7
7
|
<file name="api.ts" path="/home/runner/work/node-sdk/node-sdk/api.ts">
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<line num="97" count="23" type="stmt"/>
|
|
84
84
|
<line num="98" count="23" type="cond" truecount="5" falsecount="0"/>
|
|
85
85
|
<line num="101" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
86
|
-
<line num="102" count="
|
|
86
|
+
<line num="102" count="139" type="cond" truecount="3" falsecount="1"/>
|
|
87
87
|
<line num="106" count="11" type="stmt"/>
|
|
88
88
|
<line num="107" count="55" type="stmt"/>
|
|
89
89
|
<line num="110" count="11" type="stmt"/>
|
|
@@ -1601,7 +1601,7 @@
|
|
|
1601
1601
|
</file>
|
|
1602
1602
|
</package>
|
|
1603
1603
|
<package name="node-sdk.models">
|
|
1604
|
-
<metrics statements="
|
|
1604
|
+
<metrics statements="213" coveredstatements="213" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1605
1605
|
<file name="business-entity-type-enum.ts" path="/home/runner/work/node-sdk/node-sdk/models/business-entity-type-enum.ts">
|
|
1606
1606
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1607
1607
|
<line num="21" count="9" type="stmt"/>
|
|
@@ -1659,7 +1659,7 @@
|
|
|
1659
1659
|
<line num="21" count="9" type="stmt"/>
|
|
1660
1660
|
</file>
|
|
1661
1661
|
<file name="index.ts" path="/home/runner/work/node-sdk/node-sdk/models/index.ts">
|
|
1662
|
-
<metrics statements="
|
|
1662
|
+
<metrics statements="177" coveredstatements="177" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1663
1663
|
<line num="1" count="8" type="stmt"/>
|
|
1664
1664
|
<line num="2" count="8" type="stmt"/>
|
|
1665
1665
|
<line num="3" count="8" type="stmt"/>
|
|
@@ -1835,6 +1835,8 @@
|
|
|
1835
1835
|
<line num="173" count="8" type="stmt"/>
|
|
1836
1836
|
<line num="174" count="8" type="stmt"/>
|
|
1837
1837
|
<line num="175" count="8" type="stmt"/>
|
|
1838
|
+
<line num="176" count="8" type="stmt"/>
|
|
1839
|
+
<line num="177" count="8" type="stmt"/>
|
|
1838
1840
|
</file>
|
|
1839
1841
|
<file name="latest-message-delivery-status-enum.ts" path="/home/runner/work/node-sdk/node-sdk/models/latest-message-delivery-status-enum.ts">
|
|
1840
1842
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -1884,6 +1886,14 @@
|
|
|
1884
1886
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1885
1887
|
<line num="21" count="9" type="stmt"/>
|
|
1886
1888
|
</file>
|
|
1889
|
+
<file name="rbm-open-url-enum.ts" path="/home/runner/work/node-sdk/node-sdk/models/rbm-open-url-enum.ts">
|
|
1890
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1891
|
+
<line num="21" count="9" type="stmt"/>
|
|
1892
|
+
</file>
|
|
1893
|
+
<file name="rbm-web-view-enum.ts" path="/home/runner/work/node-sdk/node-sdk/models/rbm-web-view-enum.ts">
|
|
1894
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1895
|
+
<line num="21" count="9" type="stmt"/>
|
|
1896
|
+
</file>
|
|
1887
1897
|
<file name="recording-state-enum.ts" path="/home/runner/work/node-sdk/node-sdk/models/recording-state-enum.ts">
|
|
1888
1898
|
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1889
1899
|
<line num="21" count="9" type="stmt"/>
|