bandwidth-sdk 6.0.0 → 6.2.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 +6 -0
- package/api/messages-api.ts +105 -7
- package/api/transcriptions-api.ts +16 -16
- package/bandwidth.yml +266 -11
- package/configuration.ts +1 -1
- package/coverage/clover.xml +134 -95
- package/coverage/coverage-final.json +8 -5
- package/coverage/lcov-report/block-navigation.js +1 -1
- package/coverage/lcov-report/index.html +17 -17
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +15 -15
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +309 -15
- 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 +17 -17
- 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 +187 -0
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +178 -0
- 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 +8 -2
- 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 +5 -2
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.html +50 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +13 -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 +6 -3
- 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 +199 -0
- 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/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-report/sorter.js +21 -7
- package/coverage/lcov.info +245 -176
- package/dist/api/messages-api.d.ts +53 -4
- package/dist/api/messages-api.js +94 -10
- package/dist/api/transcriptions-api.d.ts +16 -16
- package/dist/api/transcriptions-api.js +16 -16
- package/dist/configuration.js +1 -1
- package/dist/models/business-entity-type-enum.d.ts +24 -0
- package/dist/models/business-entity-type-enum.js +28 -0
- package/dist/models/business-registration-type-enum.d.ts +21 -0
- package/dist/models/business-registration-type-enum.js +25 -0
- package/dist/models/bxml/verbs/StartStream.d.ts +2 -0
- package/dist/models/bxml/verbs/StopStream.d.ts +1 -0
- package/dist/models/call-transcription-metadata.d.ts +1 -1
- package/dist/models/conference-member.d.ts +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/list-message-item.d.ts +36 -0
- package/dist/models/message-type-enum.d.ts +1 -0
- package/dist/models/message-type-enum.js +2 -1
- package/dist/models/multi-channel-message-response-data.d.ts +1 -1
- package/dist/models/opt-in-workflow.d.ts +6 -0
- package/dist/models/product-type-enum.d.ts +28 -0
- package/dist/models/product-type-enum.js +32 -0
- package/dist/models/tfv-submission-info.d.ts +20 -0
- package/dist/models/verification-request.d.ts +32 -0
- package/dist/models/verification-update-request.d.ts +32 -0
- package/docs/BusinessEntityTypeEnum.md +17 -0
- package/docs/BusinessRegistrationTypeEnum.md +11 -0
- package/docs/CallTranscriptionMetadata.md +1 -1
- package/docs/ConferenceMember.md +1 -1
- package/docs/ListMessageItem.md +12 -0
- package/docs/MessageTypeEnum.md +2 -0
- package/docs/MessagesApi.md +36 -0
- package/docs/MultiChannelMessageResponseData.md +2 -2
- package/docs/OptInWorkflow.md +2 -0
- package/docs/ProductTypeEnum.md +25 -0
- package/docs/TfvSubmissionInfo.md +6 -0
- package/docs/TranscriptionsApi.md +4 -4
- package/docs/VerificationRequest.md +10 -0
- package/docs/VerificationUpdateRequest.md +10 -0
- package/models/business-entity-type-enum.ts +34 -0
- package/models/business-registration-type-enum.ts +31 -0
- package/models/bxml/verbs/StartStream.ts +2 -0
- package/models/bxml/verbs/StopStream.ts +1 -0
- package/models/call-transcription-metadata.ts +1 -1
- package/models/conference-member.ts +1 -1
- package/models/index.ts +3 -0
- package/models/list-message-item.ts +36 -0
- package/models/message-type-enum.ts +2 -1
- package/models/multi-channel-message-response-data.ts +1 -1
- package/models/opt-in-workflow.ts +6 -0
- package/models/product-type-enum.ts +38 -0
- package/models/tfv-submission-info.ts +26 -0
- package/models/verification-request.ts +38 -0
- package/models/verification-update-request.ts +38 -0
- package/package.json +1 -1
- package/tests/smoke/bxml.test.ts +2 -1
- package/tests/smoke/messages-api.test.ts +6 -1
- package/tests/unit/api/messages-api.test.ts +6 -0
- package/tests/unit/models/business-entity-type-enum.test.ts +11 -0
- package/tests/unit/models/business-registration-type-enum.test.ts +8 -0
- package/tests/unit/models/bxml/verbs/StartStream.test.ts +7 -5
- package/tests/unit/models/bxml/verbs/StopStream.test.ts +3 -2
- package/tests/unit/models/message-type-enum.test.ts +1 -0
- package/tests/unit/models/product-type-enum.test.ts +15 -0
package/dist/api/messages-api.js
CHANGED
|
@@ -158,6 +158,18 @@ var MessagesApiAxiosParamCreator = function (configuration) {
|
|
|
158
158
|
* @param {string} [fromDateTime] The start of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
159
159
|
* @param {string} [toDateTime] The end of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
160
160
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
161
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
162
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
163
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
164
|
+
* @param {string} [location] Location Id associated with the message.
|
|
165
|
+
* @param {boolean} [carrierQueued] A boolean value indicating whether the message is queued in the carrier network. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
166
|
+
* @param {number} [fromCarrierLatency] The minimum carrier latency of the message in seconds. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
167
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
168
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
169
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
170
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
171
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
172
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
161
173
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
162
174
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
163
175
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -165,12 +177,12 @@ var MessagesApiAxiosParamCreator = function (configuration) {
|
|
|
165
177
|
* @param {*} [options] Override http request option.
|
|
166
178
|
* @throws {RequiredError}
|
|
167
179
|
*/
|
|
168
|
-
listMessages: function (accountId_1, messageId_1, sourceTn_1, destinationTn_1, messageStatus_1, messageDirection_1, carrierName_1, messageType_1, errorCode_1, fromDateTime_1, toDateTime_1, campaignId_1, sort_1, pageToken_1, limit_1, limitTotalCount_1) {
|
|
180
|
+
listMessages: function (accountId_1, messageId_1, sourceTn_1, destinationTn_1, messageStatus_1, messageDirection_1, carrierName_1, messageType_1, errorCode_1, fromDateTime_1, toDateTime_1, campaignId_1, fromBwLatency_1, bwQueued_1, product_1, location_1, carrierQueued_1, fromCarrierLatency_1, callingNumberCountryA3_1, calledNumberCountryA3_1, fromSegmentCount_1, toSegmentCount_1, fromMessageSize_1, toMessageSize_1, sort_1, pageToken_1, limit_1, limitTotalCount_1) {
|
|
169
181
|
var args_1 = [];
|
|
170
|
-
for (var _i =
|
|
171
|
-
args_1[_i -
|
|
182
|
+
for (var _i = 28; _i < arguments.length; _i++) {
|
|
183
|
+
args_1[_i - 28] = arguments[_i];
|
|
172
184
|
}
|
|
173
|
-
return __awaiter(_this, __spreadArray([accountId_1, messageId_1, sourceTn_1, destinationTn_1, messageStatus_1, messageDirection_1, carrierName_1, messageType_1, errorCode_1, fromDateTime_1, toDateTime_1, campaignId_1, sort_1, pageToken_1, limit_1, limitTotalCount_1], args_1, true), void 0, function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options) {
|
|
185
|
+
return __awaiter(_this, __spreadArray([accountId_1, messageId_1, sourceTn_1, destinationTn_1, messageStatus_1, messageDirection_1, carrierName_1, messageType_1, errorCode_1, fromDateTime_1, toDateTime_1, campaignId_1, fromBwLatency_1, bwQueued_1, product_1, location_1, carrierQueued_1, fromCarrierLatency_1, callingNumberCountryA3_1, calledNumberCountryA3_1, fromSegmentCount_1, toSegmentCount_1, fromMessageSize_1, toMessageSize_1, sort_1, pageToken_1, limit_1, limitTotalCount_1], args_1, true), void 0, function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options) {
|
|
174
186
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
175
187
|
if (options === void 0) { options = {}; }
|
|
176
188
|
return __generator(this, function (_a) {
|
|
@@ -221,6 +233,42 @@ var MessagesApiAxiosParamCreator = function (configuration) {
|
|
|
221
233
|
if (campaignId !== undefined) {
|
|
222
234
|
localVarQueryParameter['campaignId'] = campaignId;
|
|
223
235
|
}
|
|
236
|
+
if (fromBwLatency !== undefined) {
|
|
237
|
+
localVarQueryParameter['fromBwLatency'] = fromBwLatency;
|
|
238
|
+
}
|
|
239
|
+
if (bwQueued !== undefined) {
|
|
240
|
+
localVarQueryParameter['bwQueued'] = bwQueued;
|
|
241
|
+
}
|
|
242
|
+
if (product !== undefined) {
|
|
243
|
+
localVarQueryParameter['product'] = product;
|
|
244
|
+
}
|
|
245
|
+
if (location !== undefined) {
|
|
246
|
+
localVarQueryParameter['location'] = location;
|
|
247
|
+
}
|
|
248
|
+
if (carrierQueued !== undefined) {
|
|
249
|
+
localVarQueryParameter['carrierQueued'] = carrierQueued;
|
|
250
|
+
}
|
|
251
|
+
if (fromCarrierLatency !== undefined) {
|
|
252
|
+
localVarQueryParameter['fromCarrierLatency'] = fromCarrierLatency;
|
|
253
|
+
}
|
|
254
|
+
if (callingNumberCountryA3 !== undefined) {
|
|
255
|
+
localVarQueryParameter['callingNumberCountryA3'] = callingNumberCountryA3;
|
|
256
|
+
}
|
|
257
|
+
if (calledNumberCountryA3 !== undefined) {
|
|
258
|
+
localVarQueryParameter['calledNumberCountryA3'] = calledNumberCountryA3;
|
|
259
|
+
}
|
|
260
|
+
if (fromSegmentCount !== undefined) {
|
|
261
|
+
localVarQueryParameter['fromSegmentCount'] = fromSegmentCount;
|
|
262
|
+
}
|
|
263
|
+
if (toSegmentCount !== undefined) {
|
|
264
|
+
localVarQueryParameter['toSegmentCount'] = toSegmentCount;
|
|
265
|
+
}
|
|
266
|
+
if (fromMessageSize !== undefined) {
|
|
267
|
+
localVarQueryParameter['fromMessageSize'] = fromMessageSize;
|
|
268
|
+
}
|
|
269
|
+
if (toMessageSize !== undefined) {
|
|
270
|
+
localVarQueryParameter['toMessageSize'] = toMessageSize;
|
|
271
|
+
}
|
|
224
272
|
if (sort !== undefined) {
|
|
225
273
|
localVarQueryParameter['sort'] = sort;
|
|
226
274
|
}
|
|
@@ -292,6 +340,18 @@ var MessagesApiFp = function (configuration) {
|
|
|
292
340
|
* @param {string} [fromDateTime] The start of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
293
341
|
* @param {string} [toDateTime] The end of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
294
342
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
343
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
344
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
345
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
346
|
+
* @param {string} [location] Location Id associated with the message.
|
|
347
|
+
* @param {boolean} [carrierQueued] A boolean value indicating whether the message is queued in the carrier network. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
348
|
+
* @param {number} [fromCarrierLatency] The minimum carrier latency of the message in seconds. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
349
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
350
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
351
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
352
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
353
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
354
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
295
355
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
296
356
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
297
357
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -299,13 +359,13 @@ var MessagesApiFp = function (configuration) {
|
|
|
299
359
|
* @param {*} [options] Override http request option.
|
|
300
360
|
* @throws {RequiredError}
|
|
301
361
|
*/
|
|
302
|
-
listMessages: function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options) {
|
|
362
|
+
listMessages: function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options) {
|
|
303
363
|
return __awaiter(this, void 0, void 0, function () {
|
|
304
364
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
305
365
|
var _a, _b, _c;
|
|
306
366
|
return __generator(this, function (_d) {
|
|
307
367
|
switch (_d.label) {
|
|
308
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options)];
|
|
368
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options)];
|
|
309
369
|
case 1:
|
|
310
370
|
localVarAxiosArgs = _d.sent();
|
|
311
371
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -351,6 +411,18 @@ var MessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
351
411
|
* @param {string} [fromDateTime] The start of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
352
412
|
* @param {string} [toDateTime] The end of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
353
413
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
414
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
415
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
416
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
417
|
+
* @param {string} [location] Location Id associated with the message.
|
|
418
|
+
* @param {boolean} [carrierQueued] A boolean value indicating whether the message is queued in the carrier network. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
419
|
+
* @param {number} [fromCarrierLatency] The minimum carrier latency of the message in seconds. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
420
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
421
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
422
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
423
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
424
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
425
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
354
426
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
355
427
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
356
428
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -358,8 +430,8 @@ var MessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
358
430
|
* @param {*} [options] Override http request option.
|
|
359
431
|
* @throws {RequiredError}
|
|
360
432
|
*/
|
|
361
|
-
listMessages: function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options) {
|
|
362
|
-
return localVarFp.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options).then(function (request) { return request(axios, basePath); });
|
|
433
|
+
listMessages: function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options) {
|
|
434
|
+
return localVarFp.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options).then(function (request) { return request(axios, basePath); });
|
|
363
435
|
},
|
|
364
436
|
};
|
|
365
437
|
};
|
|
@@ -403,6 +475,18 @@ var MessagesApi = /** @class */ (function (_super) {
|
|
|
403
475
|
* @param {string} [fromDateTime] The start of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
404
476
|
* @param {string} [toDateTime] The end of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days.
|
|
405
477
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
478
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
479
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
480
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
481
|
+
* @param {string} [location] Location Id associated with the message.
|
|
482
|
+
* @param {boolean} [carrierQueued] A boolean value indicating whether the message is queued in the carrier network. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
483
|
+
* @param {number} [fromCarrierLatency] The minimum carrier latency of the message in seconds. Only available for OUTBOUND messages from accounts with the Advanced Quality Metrics feature enabled.
|
|
484
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
485
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
486
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
487
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
488
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
489
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
406
490
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
407
491
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
408
492
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -411,9 +495,9 @@ var MessagesApi = /** @class */ (function (_super) {
|
|
|
411
495
|
* @throws {RequiredError}
|
|
412
496
|
* @memberof MessagesApi
|
|
413
497
|
*/
|
|
414
|
-
MessagesApi.prototype.listMessages = function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options) {
|
|
498
|
+
MessagesApi.prototype.listMessages = function (accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options) {
|
|
415
499
|
var _this = this;
|
|
416
|
-
return (0, exports.MessagesApiFp)(this.configuration).listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
500
|
+
return (0, exports.MessagesApiFp)(this.configuration).listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
417
501
|
};
|
|
418
502
|
return MessagesApi;
|
|
419
503
|
}(base_1.BaseAPI));
|
|
@@ -21,7 +21,7 @@ import type { CallTranscriptionResponse } from '../models';
|
|
|
21
21
|
export declare const TranscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
24
|
-
* @summary Delete
|
|
24
|
+
* @summary Delete Real-time Transcription
|
|
25
25
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
26
26
|
* @param {string} callId Programmable Voice API Call ID.
|
|
27
27
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -31,7 +31,7 @@ export declare const TranscriptionsApiAxiosParamCreator: (configuration?: Config
|
|
|
31
31
|
deleteRealTimeTranscription: (accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
32
|
/**
|
|
33
33
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
34
|
-
* @summary
|
|
34
|
+
* @summary Get Real-time Transcription
|
|
35
35
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
36
36
|
* @param {string} callId Programmable Voice API Call ID.
|
|
37
37
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -40,8 +40,8 @@ export declare const TranscriptionsApiAxiosParamCreator: (configuration?: Config
|
|
|
40
40
|
*/
|
|
41
41
|
getRealTimeTranscription: (accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @summary
|
|
43
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
44
|
+
* @summary List Real-time Transcriptions
|
|
45
45
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
46
46
|
* @param {string} callId Programmable Voice API Call ID.
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
@@ -56,7 +56,7 @@ export declare const TranscriptionsApiAxiosParamCreator: (configuration?: Config
|
|
|
56
56
|
export declare const TranscriptionsApiFp: (configuration?: Configuration) => {
|
|
57
57
|
/**
|
|
58
58
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
59
|
-
* @summary Delete
|
|
59
|
+
* @summary Delete Real-time Transcription
|
|
60
60
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
61
61
|
* @param {string} callId Programmable Voice API Call ID.
|
|
62
62
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -66,7 +66,7 @@ export declare const TranscriptionsApiFp: (configuration?: Configuration) => {
|
|
|
66
66
|
deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
67
67
|
/**
|
|
68
68
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
69
|
-
* @summary
|
|
69
|
+
* @summary Get Real-time Transcription
|
|
70
70
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
71
71
|
* @param {string} callId Programmable Voice API Call ID.
|
|
72
72
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -75,8 +75,8 @@ export declare const TranscriptionsApiFp: (configuration?: Configuration) => {
|
|
|
75
75
|
*/
|
|
76
76
|
getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallTranscriptionResponse>>;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
|
-
* @summary
|
|
78
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
79
|
+
* @summary List Real-time Transcriptions
|
|
80
80
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
81
81
|
* @param {string} callId Programmable Voice API Call ID.
|
|
82
82
|
* @param {*} [options] Override http request option.
|
|
@@ -91,7 +91,7 @@ export declare const TranscriptionsApiFp: (configuration?: Configuration) => {
|
|
|
91
91
|
export declare const TranscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
92
92
|
/**
|
|
93
93
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
94
|
-
* @summary Delete
|
|
94
|
+
* @summary Delete Real-time Transcription
|
|
95
95
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
96
96
|
* @param {string} callId Programmable Voice API Call ID.
|
|
97
97
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -101,7 +101,7 @@ export declare const TranscriptionsApiFactory: (configuration?: Configuration, b
|
|
|
101
101
|
deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
102
102
|
/**
|
|
103
103
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
104
|
-
* @summary
|
|
104
|
+
* @summary Get Real-time Transcription
|
|
105
105
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
106
106
|
* @param {string} callId Programmable Voice API Call ID.
|
|
107
107
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -110,8 +110,8 @@ export declare const TranscriptionsApiFactory: (configuration?: Configuration, b
|
|
|
110
110
|
*/
|
|
111
111
|
getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): AxiosPromise<CallTranscriptionResponse>;
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @summary
|
|
113
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
114
|
+
* @summary List Real-time Transcriptions
|
|
115
115
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
116
116
|
* @param {string} callId Programmable Voice API Call ID.
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
@@ -128,7 +128,7 @@ export declare const TranscriptionsApiFactory: (configuration?: Configuration, b
|
|
|
128
128
|
export declare class TranscriptionsApi extends BaseAPI {
|
|
129
129
|
/**
|
|
130
130
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
131
|
-
* @summary Delete
|
|
131
|
+
* @summary Delete Real-time Transcription
|
|
132
132
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
133
133
|
* @param {string} callId Programmable Voice API Call ID.
|
|
134
134
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -139,7 +139,7 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
139
139
|
deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
140
140
|
/**
|
|
141
141
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
142
|
-
* @summary
|
|
142
|
+
* @summary Get Real-time Transcription
|
|
143
143
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
144
144
|
* @param {string} callId Programmable Voice API Call ID.
|
|
145
145
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -149,8 +149,8 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
149
149
|
*/
|
|
150
150
|
getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionResponse, any>>;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
153
|
-
* @summary
|
|
152
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
153
|
+
* @summary List Real-time Transcriptions
|
|
154
154
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
155
155
|
* @param {string} callId Programmable Voice API Call ID.
|
|
156
156
|
* @param {*} [options] Override http request option.
|
|
@@ -100,7 +100,7 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
return {
|
|
101
101
|
/**
|
|
102
102
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
103
|
-
* @summary Delete
|
|
103
|
+
* @summary Delete Real-time Transcription
|
|
104
104
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
105
105
|
* @param {string} callId Programmable Voice API Call ID.
|
|
106
106
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -148,7 +148,7 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
},
|
|
149
149
|
/**
|
|
150
150
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
151
|
-
* @summary
|
|
151
|
+
* @summary Get Real-time Transcription
|
|
152
152
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
153
153
|
* @param {string} callId Programmable Voice API Call ID.
|
|
154
154
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -195,8 +195,8 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
});
|
|
196
196
|
},
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
199
|
-
* @summary
|
|
198
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
199
|
+
* @summary List Real-time Transcriptions
|
|
200
200
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
201
201
|
* @param {string} callId Programmable Voice API Call ID.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
@@ -250,7 +250,7 @@ var TranscriptionsApiFp = function (configuration) {
|
|
|
250
250
|
return {
|
|
251
251
|
/**
|
|
252
252
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
253
|
-
* @summary Delete
|
|
253
|
+
* @summary Delete Real-time Transcription
|
|
254
254
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
255
255
|
* @param {string} callId Programmable Voice API Call ID.
|
|
256
256
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -275,7 +275,7 @@ var TranscriptionsApiFp = function (configuration) {
|
|
|
275
275
|
},
|
|
276
276
|
/**
|
|
277
277
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
278
|
-
* @summary
|
|
278
|
+
* @summary Get Real-time Transcription
|
|
279
279
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
280
280
|
* @param {string} callId Programmable Voice API Call ID.
|
|
281
281
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -299,8 +299,8 @@ var TranscriptionsApiFp = function (configuration) {
|
|
|
299
299
|
});
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
303
|
-
* @summary
|
|
302
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
303
|
+
* @summary List Real-time Transcriptions
|
|
304
304
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
305
305
|
* @param {string} callId Programmable Voice API Call ID.
|
|
306
306
|
* @param {*} [options] Override http request option.
|
|
@@ -334,7 +334,7 @@ var TranscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
334
334
|
return {
|
|
335
335
|
/**
|
|
336
336
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
337
|
-
* @summary Delete
|
|
337
|
+
* @summary Delete Real-time Transcription
|
|
338
338
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
339
339
|
* @param {string} callId Programmable Voice API Call ID.
|
|
340
340
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -346,7 +346,7 @@ var TranscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
346
346
|
},
|
|
347
347
|
/**
|
|
348
348
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
349
|
-
* @summary
|
|
349
|
+
* @summary Get Real-time Transcription
|
|
350
350
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
351
351
|
* @param {string} callId Programmable Voice API Call ID.
|
|
352
352
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -357,8 +357,8 @@ var TranscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
357
357
|
return localVarFp.getRealTimeTranscription(accountId, callId, transcriptionId, options).then(function (request) { return request(axios, basePath); });
|
|
358
358
|
},
|
|
359
359
|
/**
|
|
360
|
-
*
|
|
361
|
-
* @summary
|
|
360
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
361
|
+
* @summary List Real-time Transcriptions
|
|
362
362
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
363
363
|
* @param {string} callId Programmable Voice API Call ID.
|
|
364
364
|
* @param {*} [options] Override http request option.
|
|
@@ -383,7 +383,7 @@ var TranscriptionsApi = /** @class */ (function (_super) {
|
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
|
|
386
|
-
* @summary Delete
|
|
386
|
+
* @summary Delete Real-time Transcription
|
|
387
387
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
388
388
|
* @param {string} callId Programmable Voice API Call ID.
|
|
389
389
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -397,7 +397,7 @@ var TranscriptionsApi = /** @class */ (function (_super) {
|
|
|
397
397
|
};
|
|
398
398
|
/**
|
|
399
399
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
400
|
-
* @summary
|
|
400
|
+
* @summary Get Real-time Transcription
|
|
401
401
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
402
402
|
* @param {string} callId Programmable Voice API Call ID.
|
|
403
403
|
* @param {string} transcriptionId Programmable Voice API Transcription ID.
|
|
@@ -410,8 +410,8 @@ var TranscriptionsApi = /** @class */ (function (_super) {
|
|
|
410
410
|
return (0, exports.TranscriptionsApiFp)(this.configuration).getRealTimeTranscription(accountId, callId, transcriptionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
411
411
|
};
|
|
412
412
|
/**
|
|
413
|
-
*
|
|
414
|
-
* @summary
|
|
413
|
+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
414
|
+
* @summary List Real-time Transcriptions
|
|
415
415
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
416
416
|
* @param {string} callId Programmable Voice API Call ID.
|
|
417
417
|
* @param {*} [options] Override http request option.
|
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/6.
|
|
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/6.2.0/typescript-axios" }) });
|
|
39
39
|
this.formDataCtor = param.formDataCtor;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
@@ -0,0 +1,24 @@
|
|
|
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 type of registered business. If no option is applicable, please provide \"SOLE_PROPRIETOR\" as a value. Optional until early 2026; required if `businessRegistrationNumber` is provided. Available starting October 1st, 2025.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const BusinessEntityTypeEnum: {
|
|
18
|
+
readonly SoleProprietor: "SOLE_PROPRIETOR";
|
|
19
|
+
readonly PrivateProfit: "PRIVATE_PROFIT";
|
|
20
|
+
readonly PublicProfit: "PUBLIC_PROFIT";
|
|
21
|
+
readonly NonProfit: "NON_PROFIT";
|
|
22
|
+
readonly Government: "GOVERNMENT";
|
|
23
|
+
};
|
|
24
|
+
export type BusinessEntityTypeEnum = typeof BusinessEntityTypeEnum[keyof typeof BusinessEntityTypeEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
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.BusinessEntityTypeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The type of registered business. If no option is applicable, please provide \"SOLE_PROPRIETOR\" as a value. Optional until early 2026; required if `businessRegistrationNumber` is provided. Available starting October 1st, 2025.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.BusinessEntityTypeEnum = {
|
|
23
|
+
SoleProprietor: 'SOLE_PROPRIETOR',
|
|
24
|
+
PrivateProfit: 'PRIVATE_PROFIT',
|
|
25
|
+
PublicProfit: 'PUBLIC_PROFIT',
|
|
26
|
+
NonProfit: 'NON_PROFIT',
|
|
27
|
+
Government: 'GOVERNMENT'
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
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 type of business registration number. Optional until early 2026; required if `businessRegistrationNumber` is provided. Available starting October 1st, 2025.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const BusinessRegistrationTypeEnum: {
|
|
18
|
+
readonly Ein: "EIN";
|
|
19
|
+
readonly Cbn: "CBN";
|
|
20
|
+
};
|
|
21
|
+
export type BusinessRegistrationTypeEnum = typeof BusinessRegistrationTypeEnum[keyof typeof BusinessRegistrationTypeEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
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.BusinessRegistrationTypeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The type of business registration number. Optional until early 2026; required if `businessRegistrationNumber` is provided. Available starting October 1st, 2025.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.BusinessRegistrationTypeEnum = {
|
|
23
|
+
Ein: 'EIN',
|
|
24
|
+
Cbn: 'CBN'
|
|
25
|
+
};
|
|
@@ -28,7 +28,7 @@ export interface CallTranscriptionMetadata {
|
|
|
28
28
|
*/
|
|
29
29
|
'transcriptionName'?: string;
|
|
30
30
|
/**
|
|
31
|
-
* A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/
|
|
31
|
+
* A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice-apis/voice/#tag/Transcriptions/operation/getRealTimeTranscription) endpoint.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CallTranscriptionMetadata
|
|
34
34
|
*/
|
|
@@ -28,7 +28,7 @@ export interface ConferenceMember {
|
|
|
28
28
|
*/
|
|
29
29
|
'conferenceId'?: string;
|
|
30
30
|
/**
|
|
31
|
-
* A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member\'s [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint.
|
|
31
|
+
* A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member\'s [Get Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/updateConferenceMember) endpoint.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ConferenceMember
|
|
34
34
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export * from './answer-callback';
|
|
|
5
5
|
export * from './blocked-webhook';
|
|
6
6
|
export * from './bridge-complete-callback';
|
|
7
7
|
export * from './bridge-target-complete-callback';
|
|
8
|
+
export * from './business-entity-type-enum';
|
|
9
|
+
export * from './business-registration-type-enum';
|
|
8
10
|
export * from './call-direction-enum';
|
|
9
11
|
export * from './call-recording-metadata';
|
|
10
12
|
export * from './call-state';
|
|
@@ -87,6 +89,7 @@ export * from './multi-channel-message-response-data-channel-list-inner';
|
|
|
87
89
|
export * from './opt-in-workflow';
|
|
88
90
|
export * from './page-info';
|
|
89
91
|
export * from './priority-enum';
|
|
92
|
+
export * from './product-type-enum';
|
|
90
93
|
export * from './rbm-action-base';
|
|
91
94
|
export * from './rbm-action-dial';
|
|
92
95
|
export * from './rbm-action-open-url';
|
package/dist/models/index.js
CHANGED
|
@@ -21,6 +21,8 @@ __exportStar(require("./answer-callback"), exports);
|
|
|
21
21
|
__exportStar(require("./blocked-webhook"), exports);
|
|
22
22
|
__exportStar(require("./bridge-complete-callback"), exports);
|
|
23
23
|
__exportStar(require("./bridge-target-complete-callback"), exports);
|
|
24
|
+
__exportStar(require("./business-entity-type-enum"), exports);
|
|
25
|
+
__exportStar(require("./business-registration-type-enum"), exports);
|
|
24
26
|
__exportStar(require("./call-direction-enum"), exports);
|
|
25
27
|
__exportStar(require("./call-recording-metadata"), exports);
|
|
26
28
|
__exportStar(require("./call-state"), exports);
|
|
@@ -103,6 +105,7 @@ __exportStar(require("./multi-channel-message-response-data-channel-list-inner")
|
|
|
103
105
|
__exportStar(require("./opt-in-workflow"), exports);
|
|
104
106
|
__exportStar(require("./page-info"), exports);
|
|
105
107
|
__exportStar(require("./priority-enum"), exports);
|
|
108
|
+
__exportStar(require("./product-type-enum"), exports);
|
|
106
109
|
__exportStar(require("./rbm-action-base"), exports);
|
|
107
110
|
__exportStar(require("./rbm-action-dial"), exports);
|
|
108
111
|
__exportStar(require("./rbm-action-open-url"), exports);
|