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
package/dist/api/calls-api.d.ts
CHANGED
|
@@ -209,7 +209,7 @@ export declare class CallsApi extends BaseAPI {
|
|
|
209
209
|
* @throws {RequiredError}
|
|
210
210
|
* @memberof CallsApi
|
|
211
211
|
*/
|
|
212
|
-
createCall(accountId: string, createCall: CreateCall, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCallResponse, any>>;
|
|
212
|
+
createCall(accountId: string, createCall: CreateCall, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCallResponse, any, {}>>;
|
|
213
213
|
/**
|
|
214
214
|
* Retrieve the current state of a specific call. This information is near-realtime, so it may take a few minutes for your call to be accessible using this endpoint. **Note**: Call information is kept for 7 days after the calls are hung up. If you attempt to retrieve information for a call that is older than 7 days, you will get an HTTP 404 response.
|
|
215
215
|
* @summary Get Call State Information
|
|
@@ -219,7 +219,7 @@ export declare class CallsApi extends BaseAPI {
|
|
|
219
219
|
* @throws {RequiredError}
|
|
220
220
|
* @memberof CallsApi
|
|
221
221
|
*/
|
|
222
|
-
getCallState(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallState, any>>;
|
|
222
|
+
getCallState(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallState, any, {}>>;
|
|
223
223
|
/**
|
|
224
224
|
* Returns a max of 10000 calls, sorted by `createdTime` from oldest to newest. **NOTE:** If the number of calls in the account is bigger than `pageSize`, a `Link` header (with format `<{url}>; rel=\"next\"`) will be returned in the response. The url can be used to retrieve the next page of call records. Also, call information is kept for 7 days after the calls are hung up. If you attempt to retrieve information for a call that is older than 7 days, you will get an empty array [] in response.
|
|
225
225
|
* @summary Get Calls
|
|
@@ -235,7 +235,7 @@ export declare class CallsApi extends BaseAPI {
|
|
|
235
235
|
* @throws {RequiredError}
|
|
236
236
|
* @memberof CallsApi
|
|
237
237
|
*/
|
|
238
|
-
listCalls(accountId: string, to?: string, from?: string, minStartTime?: string, maxStartTime?: string, disconnectCause?: string, pageSize?: number, pageToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallState[], any>>;
|
|
238
|
+
listCalls(accountId: string, to?: string, from?: string, minStartTime?: string, maxStartTime?: string, disconnectCause?: string, pageSize?: number, pageToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallState[], any, {}>>;
|
|
239
239
|
/**
|
|
240
240
|
* Interrupts and redirects a call to a different URL that should return a BXML document.
|
|
241
241
|
* @summary Update Call
|
|
@@ -246,7 +246,7 @@ export declare class CallsApi extends BaseAPI {
|
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
* @memberof CallsApi
|
|
248
248
|
*/
|
|
249
|
-
updateCall(accountId: string, callId: string, updateCall: UpdateCall, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
249
|
+
updateCall(accountId: string, callId: string, updateCall: UpdateCall, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
250
250
|
/**
|
|
251
251
|
* Interrupts and replaces an active call\'s BXML document.
|
|
252
252
|
* @summary Update Call BXML
|
|
@@ -257,5 +257,5 @@ export declare class CallsApi extends BaseAPI {
|
|
|
257
257
|
* @throws {RequiredError}
|
|
258
258
|
* @memberof CallsApi
|
|
259
259
|
*/
|
|
260
|
-
updateCallBxml(accountId: string, callId: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
260
|
+
updateCallBxml(accountId: string, callId: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
261
261
|
}
|
|
@@ -328,7 +328,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
328
328
|
* @throws {RequiredError}
|
|
329
329
|
* @memberof ConferencesApi
|
|
330
330
|
*/
|
|
331
|
-
downloadConferenceRecording(accountId: string, conferenceId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
331
|
+
downloadConferenceRecording(accountId: string, conferenceId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
332
332
|
/**
|
|
333
333
|
* Returns information about the specified conference.
|
|
334
334
|
* @summary Get Conference Information
|
|
@@ -338,7 +338,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
338
338
|
* @throws {RequiredError}
|
|
339
339
|
* @memberof ConferencesApi
|
|
340
340
|
*/
|
|
341
|
-
getConference(accountId: string, conferenceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Conference, any>>;
|
|
341
|
+
getConference(accountId: string, conferenceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Conference, any, {}>>;
|
|
342
342
|
/**
|
|
343
343
|
* Returns information about the specified conference member.
|
|
344
344
|
* @summary Get Conference Member
|
|
@@ -349,7 +349,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
349
349
|
* @throws {RequiredError}
|
|
350
350
|
* @memberof ConferencesApi
|
|
351
351
|
*/
|
|
352
|
-
getConferenceMember(accountId: string, conferenceId: string, memberId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConferenceMember, any>>;
|
|
352
|
+
getConferenceMember(accountId: string, conferenceId: string, memberId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConferenceMember, any, {}>>;
|
|
353
353
|
/**
|
|
354
354
|
* Returns metadata for the specified recording.
|
|
355
355
|
* @summary Get Conference Recording Information
|
|
@@ -360,7 +360,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
360
360
|
* @throws {RequiredError}
|
|
361
361
|
* @memberof ConferencesApi
|
|
362
362
|
*/
|
|
363
|
-
getConferenceRecording(accountId: string, conferenceId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConferenceRecordingMetadata, any>>;
|
|
363
|
+
getConferenceRecording(accountId: string, conferenceId: string, recordingId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConferenceRecordingMetadata, any, {}>>;
|
|
364
364
|
/**
|
|
365
365
|
* Returns a (potentially empty) list of metadata for the recordings that took place during the specified conference.
|
|
366
366
|
* @summary Get Conference Recordings
|
|
@@ -370,7 +370,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
* @memberof ConferencesApi
|
|
372
372
|
*/
|
|
373
|
-
listConferenceRecordings(accountId: string, conferenceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConferenceRecordingMetadata[], any>>;
|
|
373
|
+
listConferenceRecordings(accountId: string, conferenceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConferenceRecordingMetadata[], any, {}>>;
|
|
374
374
|
/**
|
|
375
375
|
* Returns a max of 1000 conferences, sorted by `createdTime` from oldest to newest. **NOTE:** If the number of conferences in the account is bigger than `pageSize`, a `Link` header (with format `<{url}>; rel=\"next\"`) will be returned in the response. The url can be used to retrieve the next page of conference records.
|
|
376
376
|
* @summary Get Conferences
|
|
@@ -384,7 +384,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
384
384
|
* @throws {RequiredError}
|
|
385
385
|
* @memberof ConferencesApi
|
|
386
386
|
*/
|
|
387
|
-
listConferences(accountId: string, name?: string, minCreatedTime?: string, maxCreatedTime?: string, pageSize?: number, pageToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Conference[], any>>;
|
|
387
|
+
listConferences(accountId: string, name?: string, minCreatedTime?: string, maxCreatedTime?: string, pageSize?: number, pageToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Conference[], any, {}>>;
|
|
388
388
|
/**
|
|
389
389
|
* Update the conference state.
|
|
390
390
|
* @summary Update Conference
|
|
@@ -395,7 +395,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
395
395
|
* @throws {RequiredError}
|
|
396
396
|
* @memberof ConferencesApi
|
|
397
397
|
*/
|
|
398
|
-
updateConference(accountId: string, conferenceId: string, updateConference: UpdateConference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
398
|
+
updateConference(accountId: string, conferenceId: string, updateConference: UpdateConference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
399
399
|
/**
|
|
400
400
|
* Update the conference BXML document.
|
|
401
401
|
* @summary Update Conference BXML
|
|
@@ -406,7 +406,7 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
* @memberof ConferencesApi
|
|
408
408
|
*/
|
|
409
|
-
updateConferenceBxml(accountId: string, conferenceId: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
409
|
+
updateConferenceBxml(accountId: string, conferenceId: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
410
410
|
/**
|
|
411
411
|
* Updates settings for a particular conference member.
|
|
412
412
|
* @summary Update Conference Member
|
|
@@ -418,5 +418,5 @@ export declare class ConferencesApi extends BaseAPI {
|
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
* @memberof ConferencesApi
|
|
420
420
|
*/
|
|
421
|
-
updateConferenceMember(accountId: string, conferenceId: string, memberId: string, updateConferenceMember: UpdateConferenceMember, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
421
|
+
updateConferenceMember(accountId: string, conferenceId: string, memberId: string, updateConferenceMember: UpdateConferenceMember, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
422
422
|
}
|
package/dist/api/media-api.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ export declare class MediaApi extends BaseAPI {
|
|
|
164
164
|
* @throws {RequiredError}
|
|
165
165
|
* @memberof MediaApi
|
|
166
166
|
*/
|
|
167
|
-
deleteMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
167
|
+
deleteMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
168
168
|
/**
|
|
169
169
|
* Downloads a media file you previously uploaded.
|
|
170
170
|
* @summary Get Media
|
|
@@ -174,7 +174,7 @@ export declare class MediaApi extends BaseAPI {
|
|
|
174
174
|
* @throws {RequiredError}
|
|
175
175
|
* @memberof MediaApi
|
|
176
176
|
*/
|
|
177
|
-
getMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
177
|
+
getMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
178
178
|
/**
|
|
179
179
|
* Gets a list of your media files. No query parameters are supported.
|
|
180
180
|
* @summary List Media
|
|
@@ -184,7 +184,7 @@ export declare class MediaApi extends BaseAPI {
|
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
* @memberof MediaApi
|
|
186
186
|
*/
|
|
187
|
-
listMedia(accountId: string, continuationToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Media[], any>>;
|
|
187
|
+
listMedia(accountId: string, continuationToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Media[], any, {}>>;
|
|
188
188
|
/**
|
|
189
189
|
* Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found [here](https://support.bandwidth.com/hc/en-us/articles/360014128994-What-MMS-file-types-are-supported-).
|
|
190
190
|
* @summary Upload Media
|
|
@@ -197,5 +197,5 @@ export declare class MediaApi extends BaseAPI {
|
|
|
197
197
|
* @throws {RequiredError}
|
|
198
198
|
* @memberof MediaApi
|
|
199
199
|
*/
|
|
200
|
-
uploadMedia(accountId: string, mediaId: string, body: File, contentType?: string, cacheControl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
200
|
+
uploadMedia(accountId: string, mediaId: string, body: File, contentType?: string, cacheControl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
201
201
|
}
|
|
@@ -18,6 +18,7 @@ import type { MessageRequest } from '../models';
|
|
|
18
18
|
import type { MessageStatusEnum } from '../models';
|
|
19
19
|
import type { MessageTypeEnum } from '../models';
|
|
20
20
|
import type { MessagesList } from '../models';
|
|
21
|
+
import type { ProductTypeEnum } from '../models';
|
|
21
22
|
/**
|
|
22
23
|
* MessagesApi - axios parameter creator
|
|
23
24
|
* @export
|
|
@@ -47,6 +48,18 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
47
48
|
* @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.
|
|
48
49
|
* @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.
|
|
49
50
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
51
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
52
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
53
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
54
|
+
* @param {string} [location] Location Id associated with the message.
|
|
55
|
+
* @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.
|
|
56
|
+
* @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.
|
|
57
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
58
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
59
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
60
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
61
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
62
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
50
63
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
51
64
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
52
65
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -54,7 +67,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
54
67
|
* @param {*} [options] Override http request option.
|
|
55
68
|
* @throws {RequiredError}
|
|
56
69
|
*/
|
|
57
|
-
listMessages: (accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
listMessages: (accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
71
|
};
|
|
59
72
|
/**
|
|
60
73
|
* MessagesApi - functional programming interface
|
|
@@ -85,6 +98,18 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
85
98
|
* @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.
|
|
86
99
|
* @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.
|
|
87
100
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
101
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
102
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
103
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
104
|
+
* @param {string} [location] Location Id associated with the message.
|
|
105
|
+
* @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.
|
|
106
|
+
* @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.
|
|
107
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
108
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
109
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
110
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
111
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
112
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
88
113
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
89
114
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
90
115
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -92,7 +117,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
92
117
|
* @param {*} [options] Override http request option.
|
|
93
118
|
* @throws {RequiredError}
|
|
94
119
|
*/
|
|
95
|
-
listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessagesList>>;
|
|
120
|
+
listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessagesList>>;
|
|
96
121
|
};
|
|
97
122
|
/**
|
|
98
123
|
* MessagesApi - factory interface
|
|
@@ -123,6 +148,18 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
123
148
|
* @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.
|
|
124
149
|
* @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.
|
|
125
150
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
151
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
152
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
153
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
154
|
+
* @param {string} [location] Location Id associated with the message.
|
|
155
|
+
* @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.
|
|
156
|
+
* @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.
|
|
157
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
158
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
159
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
160
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
161
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
162
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
126
163
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
127
164
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
128
165
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -130,7 +167,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
130
167
|
* @param {*} [options] Override http request option.
|
|
131
168
|
* @throws {RequiredError}
|
|
132
169
|
*/
|
|
133
|
-
listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<MessagesList>;
|
|
170
|
+
listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<MessagesList>;
|
|
134
171
|
};
|
|
135
172
|
/**
|
|
136
173
|
* MessagesApi - object-oriented interface
|
|
@@ -148,7 +185,7 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
148
185
|
* @throws {RequiredError}
|
|
149
186
|
* @memberof MessagesApi
|
|
150
187
|
*/
|
|
151
|
-
createMessage(accountId: string, messageRequest: MessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Message, any>>;
|
|
188
|
+
createMessage(accountId: string, messageRequest: MessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Message, any, {}>>;
|
|
152
189
|
/**
|
|
153
190
|
* Returns a list of messages based on query parameters.
|
|
154
191
|
* @summary List Messages
|
|
@@ -164,6 +201,18 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
164
201
|
* @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.
|
|
165
202
|
* @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.
|
|
166
203
|
* @param {string} [campaignId] The campaign ID of the message.
|
|
204
|
+
* @param {number} [fromBwLatency] The minimum Bandwidth latency of the message in seconds. Only available for accounts with the Advanced Quality Metrics feature enabled.
|
|
205
|
+
* @param {boolean} [bwQueued] A boolean value indicating whether the message is queued in the Bandwidth network.
|
|
206
|
+
* @param {ProductTypeEnum} [product] Messaging product associated with the message.
|
|
207
|
+
* @param {string} [location] Location Id associated with the message.
|
|
208
|
+
* @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.
|
|
209
|
+
* @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.
|
|
210
|
+
* @param {string} [callingNumberCountryA3] Calling number country in A3 format.
|
|
211
|
+
* @param {string} [calledNumberCountryA3] Called number country in A3 format.
|
|
212
|
+
* @param {number} [fromSegmentCount] Segment count (start range).
|
|
213
|
+
* @param {number} [toSegmentCount] Segment count (end range).
|
|
214
|
+
* @param {number} [fromMessageSize] Message size (start range).
|
|
215
|
+
* @param {number} [toMessageSize] Message size (end range).
|
|
167
216
|
* @param {string} [sort] The field and direction to sort by combined with a colon. Direction is either asc or desc.
|
|
168
217
|
* @param {string} [pageToken] A base64 encoded value used for pagination of results.
|
|
169
218
|
* @param {number} [limit] The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000.
|
|
@@ -172,5 +221,5 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
172
221
|
* @throws {RequiredError}
|
|
173
222
|
* @memberof MessagesApi
|
|
174
223
|
*/
|
|
175
|
-
listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagesList, any>>;
|
|
224
|
+
listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagesList, any, {}>>;
|
|
176
225
|
}
|
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));
|
package/dist/api/mfaapi.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare class MFAApi extends BaseAPI {
|
|
|
132
132
|
* @throws {RequiredError}
|
|
133
133
|
* @memberof MFAApi
|
|
134
134
|
*/
|
|
135
|
-
generateMessagingCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagingCodeResponse, any>>;
|
|
135
|
+
generateMessagingCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagingCodeResponse, any, {}>>;
|
|
136
136
|
/**
|
|
137
137
|
* Send an MFA Code via a phone call.
|
|
138
138
|
* @summary Voice Authentication Code
|
|
@@ -142,7 +142,7 @@ export declare class MFAApi extends BaseAPI {
|
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
* @memberof MFAApi
|
|
144
144
|
*/
|
|
145
|
-
generateVoiceCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoiceCodeResponse, any>>;
|
|
145
|
+
generateVoiceCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoiceCodeResponse, any, {}>>;
|
|
146
146
|
/**
|
|
147
147
|
* Verify a previously sent MFA code.
|
|
148
148
|
* @summary Verify Authentication Code
|
|
@@ -152,5 +152,5 @@ export declare class MFAApi extends BaseAPI {
|
|
|
152
152
|
* @throws {RequiredError}
|
|
153
153
|
* @memberof MFAApi
|
|
154
154
|
*/
|
|
155
|
-
verifyCode(accountId: string, verifyCodeRequest: VerifyCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyCodeResponse, any>>;
|
|
155
|
+
verifyCode(accountId: string, verifyCodeRequest: VerifyCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyCodeResponse, any, {}>>;
|
|
156
156
|
}
|
|
@@ -75,5 +75,5 @@ export declare class MultiChannelApi extends BaseAPI {
|
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
* @memberof MultiChannelApi
|
|
77
77
|
*/
|
|
78
|
-
createMultiChannelMessage(accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMultiChannelMessageResponse, any>>;
|
|
78
|
+
createMultiChannelMessage(accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMultiChannelMessageResponse, any, {}>>;
|
|
79
79
|
}
|
|
@@ -26,6 +26,7 @@ export declare const PhoneNumberLookupApiAxiosParamCreator: (configuration?: Con
|
|
|
26
26
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
27
27
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
|
+
* @deprecated
|
|
29
30
|
* @throws {RequiredError}
|
|
30
31
|
*/
|
|
31
32
|
createLookup: (accountId: string, lookupRequest: LookupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -35,6 +36,7 @@ export declare const PhoneNumberLookupApiAxiosParamCreator: (configuration?: Con
|
|
|
35
36
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
36
37
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
37
38
|
* @param {*} [options] Override http request option.
|
|
39
|
+
* @deprecated
|
|
38
40
|
* @throws {RequiredError}
|
|
39
41
|
*/
|
|
40
42
|
getLookupStatus: (accountId: string, requestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -50,6 +52,7 @@ export declare const PhoneNumberLookupApiFp: (configuration?: Configuration) =>
|
|
|
50
52
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
51
53
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
52
54
|
* @param {*} [options] Override http request option.
|
|
55
|
+
* @deprecated
|
|
53
56
|
* @throws {RequiredError}
|
|
54
57
|
*/
|
|
55
58
|
createLookup(accountId: string, lookupRequest: LookupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLookupResponse>>;
|
|
@@ -59,6 +62,7 @@ export declare const PhoneNumberLookupApiFp: (configuration?: Configuration) =>
|
|
|
59
62
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
60
63
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
61
64
|
* @param {*} [options] Override http request option.
|
|
65
|
+
* @deprecated
|
|
62
66
|
* @throws {RequiredError}
|
|
63
67
|
*/
|
|
64
68
|
getLookupStatus(accountId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LookupStatus>>;
|
|
@@ -74,6 +78,7 @@ export declare const PhoneNumberLookupApiFactory: (configuration?: Configuration
|
|
|
74
78
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
75
79
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
76
80
|
* @param {*} [options] Override http request option.
|
|
81
|
+
* @deprecated
|
|
77
82
|
* @throws {RequiredError}
|
|
78
83
|
*/
|
|
79
84
|
createLookup(accountId: string, lookupRequest: LookupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateLookupResponse>;
|
|
@@ -83,6 +88,7 @@ export declare const PhoneNumberLookupApiFactory: (configuration?: Configuration
|
|
|
83
88
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
84
89
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
85
90
|
* @param {*} [options] Override http request option.
|
|
91
|
+
* @deprecated
|
|
86
92
|
* @throws {RequiredError}
|
|
87
93
|
*/
|
|
88
94
|
getLookupStatus(accountId: string, requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<LookupStatus>;
|
|
@@ -100,18 +106,20 @@ export declare class PhoneNumberLookupApi extends BaseAPI {
|
|
|
100
106
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
101
107
|
* @param {LookupRequest} lookupRequest Phone number lookup request.
|
|
102
108
|
* @param {*} [options] Override http request option.
|
|
109
|
+
* @deprecated
|
|
103
110
|
* @throws {RequiredError}
|
|
104
111
|
* @memberof PhoneNumberLookupApi
|
|
105
112
|
*/
|
|
106
|
-
createLookup(accountId: string, lookupRequest: LookupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLookupResponse, any>>;
|
|
113
|
+
createLookup(accountId: string, lookupRequest: LookupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLookupResponse, any, {}>>;
|
|
107
114
|
/**
|
|
108
115
|
* Get an existing Phone Number Lookup Request.
|
|
109
116
|
* @summary Get Lookup Request Status
|
|
110
117
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
111
118
|
* @param {string} requestId The phone number lookup request ID from Bandwidth.
|
|
112
119
|
* @param {*} [options] Override http request option.
|
|
120
|
+
* @deprecated
|
|
113
121
|
* @throws {RequiredError}
|
|
114
122
|
* @memberof PhoneNumberLookupApi
|
|
115
123
|
*/
|
|
116
|
-
getLookupStatus(accountId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LookupStatus, any>>;
|
|
124
|
+
getLookupStatus(accountId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LookupStatus, any, {}>>;
|
|
117
125
|
}
|