bandwidth-sdk 6.1.0 → 6.2.1
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/phone-number-lookup-api.ts +8 -0
- package/api/transcriptions-api.ts +16 -16
- package/bandwidth.yml +272 -15
- package/configuration.ts +1 -1
- package/coverage/clover.xml +175 -136
- 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 +26 -2
- 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 +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 +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 +343 -274
- package/dist/api/calls-api.d.ts +5 -5
- package/dist/api/conferences-api.d.ts +9 -9
- package/dist/api/media-api.d.ts +4 -4
- package/dist/api/messages-api.d.ts +54 -5
- package/dist/api/messages-api.js +94 -10
- package/dist/api/mfaapi.d.ts +3 -3
- package/dist/api/multi-channel-api.d.ts +1 -1
- package/dist/api/phone-number-lookup-api.d.ts +10 -2
- package/dist/api/phone-number-lookup-api.js +8 -0
- package/dist/api/recordings-api.d.ts +10 -10
- package/dist/api/statistics-api.d.ts +1 -1
- package/dist/api/toll-free-verification-api.d.ts +9 -9
- package/dist/api/transcriptions-api.d.ts +19 -19
- 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/StopStream.d.ts +1 -0
- package/dist/models/call-state.d.ts +1 -1
- 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/stir-shaken.d.ts +1 -1
- 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/CallState.md +1 -1
- 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/StirShaken.md +1 -1
- 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/StopStream.ts +1 -0
- package/models/call-state.ts +1 -1
- 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/stir-shaken.ts +1 -1
- 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/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
|
@@ -104,6 +104,7 @@ var PhoneNumberLookupApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
105
105
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
|
+
* @deprecated
|
|
107
108
|
* @throws {RequiredError}
|
|
108
109
|
*/
|
|
109
110
|
createLookup: function (accountId_1, lookupRequest_1) {
|
|
@@ -149,6 +150,7 @@ var PhoneNumberLookupApiAxiosParamCreator = function (configuration) {
|
|
|
149
150
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
150
151
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
151
152
|
* @param {*} [options] Override http request option.
|
|
153
|
+
* @deprecated
|
|
152
154
|
* @throws {RequiredError}
|
|
153
155
|
*/
|
|
154
156
|
getLookupStatus: function (accountId_1, requestId_1) {
|
|
@@ -203,6 +205,7 @@ var PhoneNumberLookupApiFp = function (configuration) {
|
|
|
203
205
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
204
206
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
205
207
|
* @param {*} [options] Override http request option.
|
|
208
|
+
* @deprecated
|
|
206
209
|
* @throws {RequiredError}
|
|
207
210
|
*/
|
|
208
211
|
createLookup: function (accountId, lookupRequest, options) {
|
|
@@ -227,6 +230,7 @@ var PhoneNumberLookupApiFp = function (configuration) {
|
|
|
227
230
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
228
231
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
229
232
|
* @param {*} [options] Override http request option.
|
|
233
|
+
* @deprecated
|
|
230
234
|
* @throws {RequiredError}
|
|
231
235
|
*/
|
|
232
236
|
getLookupStatus: function (accountId, requestId, options) {
|
|
@@ -261,6 +265,7 @@ var PhoneNumberLookupApiFactory = function (configuration, basePath, axios) {
|
|
|
261
265
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
262
266
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
263
267
|
* @param {*} [options] Override http request option.
|
|
268
|
+
* @deprecated
|
|
264
269
|
* @throws {RequiredError}
|
|
265
270
|
*/
|
|
266
271
|
createLookup: function (accountId, lookupRequest, options) {
|
|
@@ -272,6 +277,7 @@ var PhoneNumberLookupApiFactory = function (configuration, basePath, axios) {
|
|
|
272
277
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
273
278
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
274
279
|
* @param {*} [options] Override http request option.
|
|
280
|
+
* @deprecated
|
|
275
281
|
* @throws {RequiredError}
|
|
276
282
|
*/
|
|
277
283
|
getLookupStatus: function (accountId, requestId, options) {
|
|
@@ -297,6 +303,7 @@ var PhoneNumberLookupApi = /** @class */ (function (_super) {
|
|
|
297
303
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
298
304
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
299
305
|
* @param {*} [options] Override http request option.
|
|
306
|
+
* @deprecated
|
|
300
307
|
* @throws {RequiredError}
|
|
301
308
|
* @memberof PhoneNumberLookupApi
|
|
302
309
|
*/
|
|
@@ -310,6 +317,7 @@ var PhoneNumberLookupApi = /** @class */ (function (_super) {
|
|
|
310
317
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
311
318
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
312
319
|
* @param {*} [options] Override http request option.
|
|
320
|
+
* @deprecated
|
|
313
321
|
* @throws {RequiredError}
|
|
314
322
|
* @memberof PhoneNumberLookupApi
|
|
315
323
|
*/
|
|
@@ -357,7 +357,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
* @memberof RecordingsApi
|
|
359
359
|
*/
|
|
360
|
-
deleteRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
360
|
+
deleteRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
361
361
|
/**
|
|
362
362
|
* Deletes the specified recording\'s media.
|
|
363
363
|
* @summary Delete Recording Media
|
|
@@ -368,7 +368,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
368
368
|
* @throws {RequiredError}
|
|
369
369
|
* @memberof RecordingsApi
|
|
370
370
|
*/
|
|
371
|
-
deleteRecordingMedia(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
371
|
+
deleteRecordingMedia(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
372
372
|
/**
|
|
373
373
|
* Deletes the specified recording\'s transcription. Note: After the deletion is requested and a `204` 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.
|
|
374
374
|
* @summary Delete Transcription
|
|
@@ -379,7 +379,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
379
379
|
* @throws {RequiredError}
|
|
380
380
|
* @memberof RecordingsApi
|
|
381
381
|
*/
|
|
382
|
-
deleteRecordingTranscription(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
382
|
+
deleteRecordingTranscription(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
383
383
|
/**
|
|
384
384
|
* Downloads the specified recording.
|
|
385
385
|
* @summary Download Recording
|
|
@@ -390,7 +390,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof RecordingsApi
|
|
392
392
|
*/
|
|
393
|
-
downloadCallRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
393
|
+
downloadCallRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
394
394
|
/**
|
|
395
395
|
* Returns metadata for the specified recording.
|
|
396
396
|
* @summary Get Call Recording
|
|
@@ -401,7 +401,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
* @memberof RecordingsApi
|
|
403
403
|
*/
|
|
404
|
-
getCallRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallRecordingMetadata, any>>;
|
|
404
|
+
getCallRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallRecordingMetadata, any, {}>>;
|
|
405
405
|
/**
|
|
406
406
|
* Downloads the specified transcription. If the recording was multi-channel, then there will be 2 transcripts. The caller/called party transcript will be the first item while [`<PlayAudio>`](/docs/voice/bxml/playAudio) and [`<SpeakSentence>`](/docs/voice/bxml/speakSentence) transcript will be the second item. During a [`<Transfer>`](/docs/voice/bxml/transfer) the A-leg transcript will be the first item while the B-leg transcript will be the second item.
|
|
407
407
|
* @summary Get Transcription
|
|
@@ -412,7 +412,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
412
412
|
* @throws {RequiredError}
|
|
413
413
|
* @memberof RecordingsApi
|
|
414
414
|
*/
|
|
415
|
-
getRecordingTranscription(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordingTranscriptions, any>>;
|
|
415
|
+
getRecordingTranscription(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordingTranscriptions, any, {}>>;
|
|
416
416
|
/**
|
|
417
417
|
* Returns a list of metadata for the recordings associated with the specified account. The list can be filtered by the optional from, to, minStartTime, and maxStartTime arguments. The list is capped at 1000 entries and may be empty if no recordings match the specified criteria.
|
|
418
418
|
* @summary Get Call Recordings
|
|
@@ -425,7 +425,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
425
425
|
* @throws {RequiredError}
|
|
426
426
|
* @memberof RecordingsApi
|
|
427
427
|
*/
|
|
428
|
-
listAccountCallRecordings(accountId: string, to?: string, from?: string, minStartTime?: string, maxStartTime?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallRecordingMetadata[], any>>;
|
|
428
|
+
listAccountCallRecordings(accountId: string, to?: string, from?: string, minStartTime?: string, maxStartTime?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallRecordingMetadata[], any, {}>>;
|
|
429
429
|
/**
|
|
430
430
|
* Returns a (potentially empty) list of metadata for the recordings that took place during the specified call.
|
|
431
431
|
* @summary List Call Recordings
|
|
@@ -435,7 +435,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
435
435
|
* @throws {RequiredError}
|
|
436
436
|
* @memberof RecordingsApi
|
|
437
437
|
*/
|
|
438
|
-
listCallRecordings(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallRecordingMetadata[], any>>;
|
|
438
|
+
listCallRecordings(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallRecordingMetadata[], any, {}>>;
|
|
439
439
|
/**
|
|
440
440
|
* Generate the transcription for a specific recording. Transcription can succeed only for recordings of length greater than 500 milliseconds and less than 4 hours.
|
|
441
441
|
* @summary Create Transcription Request
|
|
@@ -447,7 +447,7 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
447
447
|
* @throws {RequiredError}
|
|
448
448
|
* @memberof RecordingsApi
|
|
449
449
|
*/
|
|
450
|
-
transcribeCallRecording(accountId: string, callId: string, recordingId: string, transcribeRecording: TranscribeRecording, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
450
|
+
transcribeCallRecording(accountId: string, callId: string, recordingId: string, transcribeRecording: TranscribeRecording, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
451
451
|
/**
|
|
452
452
|
* Pause or resume a recording on an active phone call.
|
|
453
453
|
* @summary Update Recording
|
|
@@ -458,5 +458,5 @@ export declare class RecordingsApi extends BaseAPI {
|
|
|
458
458
|
* @throws {RequiredError}
|
|
459
459
|
* @memberof RecordingsApi
|
|
460
460
|
*/
|
|
461
|
-
updateCallRecordingState(accountId: string, callId: string, updateCallRecording: UpdateCallRecording, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
461
|
+
updateCallRecordingState(accountId: string, callId: string, updateCallRecording: UpdateCallRecording, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
462
462
|
}
|
|
@@ -70,5 +70,5 @@ export declare class StatisticsApi extends BaseAPI {
|
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
* @memberof StatisticsApi
|
|
72
72
|
*/
|
|
73
|
-
getStatistics(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountStatistics, any>>;
|
|
73
|
+
getStatistics(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountStatistics, any, {}>>;
|
|
74
74
|
}
|
|
@@ -292,7 +292,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
* @memberof TollFreeVerificationApi
|
|
294
294
|
*/
|
|
295
|
-
createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any>>;
|
|
295
|
+
createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}>>;
|
|
296
296
|
/**
|
|
297
297
|
* Delete a toll-free verification submission for a toll-free number.
|
|
298
298
|
* @summary Delete a Toll-Free Verification Submission
|
|
@@ -302,7 +302,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
302
302
|
* @throws {RequiredError}
|
|
303
303
|
* @memberof TollFreeVerificationApi
|
|
304
304
|
*/
|
|
305
|
-
deleteVerificationRequest(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
305
|
+
deleteVerificationRequest(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
306
306
|
/**
|
|
307
307
|
* Delete a webhook subscription by ID.
|
|
308
308
|
* @summary Delete Webhook Subscription
|
|
@@ -312,7 +312,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
* @memberof TollFreeVerificationApi
|
|
314
314
|
*/
|
|
315
|
-
deleteWebhookSubscription(accountId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
315
|
+
deleteWebhookSubscription(accountId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
316
316
|
/**
|
|
317
317
|
* Gets the verification status for a phone number that is provisioned to your account. Submission information will be appended to the response if it is available.
|
|
318
318
|
* @summary Get Toll-Free Verification Status
|
|
@@ -322,7 +322,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
322
322
|
* @throws {RequiredError}
|
|
323
323
|
* @memberof TollFreeVerificationApi
|
|
324
324
|
*/
|
|
325
|
-
getTollFreeVerificationStatus(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TfvStatus, any>>;
|
|
325
|
+
getTollFreeVerificationStatus(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TfvStatus, any, {}>>;
|
|
326
326
|
/**
|
|
327
327
|
* Lists valid toll-free use cases.
|
|
328
328
|
* @summary List Toll-Free Use Cases
|
|
@@ -330,7 +330,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
330
330
|
* @throws {RequiredError}
|
|
331
331
|
* @memberof TollFreeVerificationApi
|
|
332
332
|
*/
|
|
333
|
-
listTollFreeUseCases(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
333
|
+
listTollFreeUseCases(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
334
334
|
/**
|
|
335
335
|
* Lists all webhook subscriptions that are registered to receive status updates for the toll-free verification requests submitted under this account (password will not be returned through this API If `basicAuthentication` is defined, the `password` property of that object will be null).
|
|
336
336
|
* @summary List Webhook Subscriptions
|
|
@@ -339,7 +339,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
339
339
|
* @throws {RequiredError}
|
|
340
340
|
* @memberof TollFreeVerificationApi
|
|
341
341
|
*/
|
|
342
|
-
listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscriptionsListBody, any>>;
|
|
342
|
+
listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscriptionsListBody, any, {}>>;
|
|
343
343
|
/**
|
|
344
344
|
* Submit a request for verification of a toll-free phone number.
|
|
345
345
|
* @summary Request Toll-Free Verification
|
|
@@ -349,7 +349,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
349
349
|
* @throws {RequiredError}
|
|
350
350
|
* @memberof TollFreeVerificationApi
|
|
351
351
|
*/
|
|
352
|
-
requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
352
|
+
requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
353
353
|
/**
|
|
354
354
|
* Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
|
|
355
355
|
* @summary Update Toll-Free Verification Request
|
|
@@ -360,7 +360,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
360
360
|
* @throws {RequiredError}
|
|
361
361
|
* @memberof TollFreeVerificationApi
|
|
362
362
|
*/
|
|
363
|
-
updateTollFreeVerificationRequest(accountId: string, phoneNumber: string, tfvSubmissionWrapper: TfvSubmissionWrapper, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
363
|
+
updateTollFreeVerificationRequest(accountId: string, phoneNumber: string, tfvSubmissionWrapper: TfvSubmissionWrapper, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
364
364
|
/**
|
|
365
365
|
* Update an existing webhook subscription (`callbackUrl` and `basicAuthentication` can be updated).
|
|
366
366
|
* @summary Update Webhook Subscription
|
|
@@ -371,5 +371,5 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
* @memberof TollFreeVerificationApi
|
|
373
373
|
*/
|
|
374
|
-
updateWebhookSubscription(accountId: string, id: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any>>;
|
|
374
|
+
updateWebhookSubscription(accountId: string, id: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}>>;
|
|
375
375
|
}
|
|
@@ -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.
|
|
@@ -136,10 +136,10 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
* @memberof TranscriptionsApi
|
|
138
138
|
*/
|
|
139
|
-
deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
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.
|
|
@@ -147,15 +147,15 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
* @memberof TranscriptionsApi
|
|
149
149
|
*/
|
|
150
|
-
getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionResponse, any>>;
|
|
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.
|
|
157
157
|
* @throws {RequiredError}
|
|
158
158
|
* @memberof TranscriptionsApi
|
|
159
159
|
*/
|
|
160
|
-
listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionMetadata[], any>>;
|
|
160
|
+
listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionMetadata[], any, {}>>;
|
|
161
161
|
}
|
|
@@ -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.1
|
|
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.1/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
|
+
};
|
|
@@ -65,7 +65,7 @@ export interface CallState {
|
|
|
65
65
|
*/
|
|
66
66
|
'state'?: string;
|
|
67
67
|
/**
|
|
68
|
-
* For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. | Property | Description | |:------------------|:------------| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are `TN-
|
|
68
|
+
* For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. | Property | Description | |:------------------|:------------| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are `TN-Validation-Passed` or `TN-Validation-Failed`. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are `A` (full), `B` (partial) or `C` (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the `stirShaken` object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken).
|
|
69
69
|
* @type {{ [key: string]: string; }}
|
|
70
70
|
* @memberof CallState
|
|
71
71
|
*/
|
|
@@ -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
|
*/
|