ultracart_rest_api_v2_typescript 3.10.196 → 3.10.198
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/README.md +4 -2
- package/api.ts +274 -0
- package/dist/api.d.ts +210 -0
- package/dist/api.js +108 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.198
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.198 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.198 | 05/08/2024 | added echeck fields to channel partner order import |
|
|
58
|
+
| 3.10.197 | 05/02/2024 | conversation - new method to load pbx audio usage |
|
|
57
59
|
| 3.10.196 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
|
58
60
|
| 3.10.195 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
|
59
61
|
| 3.10.194 | 04/24/2024 | esp - add fields for external generation on email |
|
package/api.ts
CHANGED
|
@@ -5796,6 +5796,66 @@ export interface ChannelPartnerOrder {
|
|
|
5796
5796
|
* @memberof ChannelPartnerOrder
|
|
5797
5797
|
*/
|
|
5798
5798
|
delivery_date?: string;
|
|
5799
|
+
/**
|
|
5800
|
+
* eCheck bank ABA code
|
|
5801
|
+
* @type {string}
|
|
5802
|
+
* @memberof ChannelPartnerOrder
|
|
5803
|
+
*/
|
|
5804
|
+
echeck_bank_aba_code?: string;
|
|
5805
|
+
/**
|
|
5806
|
+
* eCheck bank account name
|
|
5807
|
+
* @type {string}
|
|
5808
|
+
* @memberof ChannelPartnerOrder
|
|
5809
|
+
*/
|
|
5810
|
+
echeck_bank_account_name?: string;
|
|
5811
|
+
/**
|
|
5812
|
+
* eCheck bank account number
|
|
5813
|
+
* @type {string}
|
|
5814
|
+
* @memberof ChannelPartnerOrder
|
|
5815
|
+
*/
|
|
5816
|
+
echeck_bank_account_number?: string;
|
|
5817
|
+
/**
|
|
5818
|
+
* eCheck bank account type
|
|
5819
|
+
* @type {string}
|
|
5820
|
+
* @memberof ChannelPartnerOrder
|
|
5821
|
+
*/
|
|
5822
|
+
echeck_bank_account_type?: ChannelPartnerOrder.EcheckBankAccountTypeEnum;
|
|
5823
|
+
/**
|
|
5824
|
+
* eCheck bank name
|
|
5825
|
+
* @type {string}
|
|
5826
|
+
* @memberof ChannelPartnerOrder
|
|
5827
|
+
*/
|
|
5828
|
+
echeck_bank_name?: string;
|
|
5829
|
+
/**
|
|
5830
|
+
* eCheck bank owner type
|
|
5831
|
+
* @type {string}
|
|
5832
|
+
* @memberof ChannelPartnerOrder
|
|
5833
|
+
*/
|
|
5834
|
+
echeck_bank_owner_type?: ChannelPartnerOrder.EcheckBankOwnerTypeEnum;
|
|
5835
|
+
/**
|
|
5836
|
+
* eCheck customer tax id
|
|
5837
|
+
* @type {string}
|
|
5838
|
+
* @memberof ChannelPartnerOrder
|
|
5839
|
+
*/
|
|
5840
|
+
echeck_customer_tax_id?: string;
|
|
5841
|
+
/**
|
|
5842
|
+
* eCheck drivers license dob
|
|
5843
|
+
* @type {string}
|
|
5844
|
+
* @memberof ChannelPartnerOrder
|
|
5845
|
+
*/
|
|
5846
|
+
echeck_drivers_license_dob?: string;
|
|
5847
|
+
/**
|
|
5848
|
+
* eCheck drivers license number
|
|
5849
|
+
* @type {string}
|
|
5850
|
+
* @memberof ChannelPartnerOrder
|
|
5851
|
+
*/
|
|
5852
|
+
echeck_drivers_license_number?: string;
|
|
5853
|
+
/**
|
|
5854
|
+
* eCheck drivers license state
|
|
5855
|
+
* @type {string}
|
|
5856
|
+
* @memberof ChannelPartnerOrder
|
|
5857
|
+
*/
|
|
5858
|
+
echeck_drivers_license_state?: string;
|
|
5799
5859
|
/**
|
|
5800
5860
|
* Email
|
|
5801
5861
|
* @type {string}
|
|
@@ -6055,6 +6115,22 @@ export interface ChannelPartnerOrder {
|
|
|
6055
6115
|
* @namespace ChannelPartnerOrder
|
|
6056
6116
|
*/
|
|
6057
6117
|
export namespace ChannelPartnerOrder {
|
|
6118
|
+
/**
|
|
6119
|
+
* @export
|
|
6120
|
+
* @enum {string}
|
|
6121
|
+
*/
|
|
6122
|
+
export enum EcheckBankAccountTypeEnum {
|
|
6123
|
+
Checking = <any> 'Checking',
|
|
6124
|
+
Savings = <any> 'Savings'
|
|
6125
|
+
}
|
|
6126
|
+
/**
|
|
6127
|
+
* @export
|
|
6128
|
+
* @enum {string}
|
|
6129
|
+
*/
|
|
6130
|
+
export enum EcheckBankOwnerTypeEnum {
|
|
6131
|
+
Business = <any> 'Business',
|
|
6132
|
+
Personal = <any> 'Personal'
|
|
6133
|
+
}
|
|
6058
6134
|
/**
|
|
6059
6135
|
* @export
|
|
6060
6136
|
* @enum {string}
|
|
@@ -6065,6 +6141,7 @@ export namespace ChannelPartnerOrder {
|
|
|
6065
6141
|
Check = <any> 'Check',
|
|
6066
6142
|
COD = <any> 'COD',
|
|
6067
6143
|
CreditCard = <any> 'Credit Card',
|
|
6144
|
+
ECheck = <any> 'eCheck',
|
|
6068
6145
|
LoanHero = <any> 'LoanHero',
|
|
6069
6146
|
MoneyOrder = <any> 'Money Order',
|
|
6070
6147
|
PayPal = <any> 'PayPal',
|
|
@@ -8792,6 +8869,12 @@ export interface ConversationPbxAudio {
|
|
|
8792
8869
|
* @memberof ConversationPbxAudio
|
|
8793
8870
|
*/
|
|
8794
8871
|
mime_type?: string;
|
|
8872
|
+
/**
|
|
8873
|
+
* URL
|
|
8874
|
+
* @type {string}
|
|
8875
|
+
* @memberof ConversationPbxAudio
|
|
8876
|
+
*/
|
|
8877
|
+
url?: string;
|
|
8795
8878
|
/**
|
|
8796
8879
|
* User Id
|
|
8797
8880
|
* @type {number}
|
|
@@ -8902,6 +8985,56 @@ export interface ConversationPbxAudioUploadUrlResponse {
|
|
|
8902
8985
|
warning?: Warning;
|
|
8903
8986
|
}
|
|
8904
8987
|
|
|
8988
|
+
/**
|
|
8989
|
+
*
|
|
8990
|
+
* @export
|
|
8991
|
+
* @interface ConversationPbxAudioUsageResponse
|
|
8992
|
+
*/
|
|
8993
|
+
export interface ConversationPbxAudioUsageResponse {
|
|
8994
|
+
/**
|
|
8995
|
+
*
|
|
8996
|
+
* @type {ModelError}
|
|
8997
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8998
|
+
*/
|
|
8999
|
+
error?: ModelError;
|
|
9000
|
+
/**
|
|
9001
|
+
*
|
|
9002
|
+
* @type {Array<ConversationPbxMenu>}
|
|
9003
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
9004
|
+
*/
|
|
9005
|
+
menus?: Array<ConversationPbxMenu>;
|
|
9006
|
+
/**
|
|
9007
|
+
*
|
|
9008
|
+
* @type {ResponseMetadata}
|
|
9009
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
9010
|
+
*/
|
|
9011
|
+
metadata?: ResponseMetadata;
|
|
9012
|
+
/**
|
|
9013
|
+
*
|
|
9014
|
+
* @type {Array<ConversationPbxQueue>}
|
|
9015
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
9016
|
+
*/
|
|
9017
|
+
queues?: Array<ConversationPbxQueue>;
|
|
9018
|
+
/**
|
|
9019
|
+
* Indicates if API call was successful
|
|
9020
|
+
* @type {boolean}
|
|
9021
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
9022
|
+
*/
|
|
9023
|
+
success?: boolean;
|
|
9024
|
+
/**
|
|
9025
|
+
*
|
|
9026
|
+
* @type {Array<ConversationPbxVoicemailMailbox>}
|
|
9027
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
9028
|
+
*/
|
|
9029
|
+
voicemail_mailboxes?: Array<ConversationPbxVoicemailMailbox>;
|
|
9030
|
+
/**
|
|
9031
|
+
*
|
|
9032
|
+
* @type {Warning}
|
|
9033
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
9034
|
+
*/
|
|
9035
|
+
warning?: Warning;
|
|
9036
|
+
}
|
|
9037
|
+
|
|
8905
9038
|
/**
|
|
8906
9039
|
*
|
|
8907
9040
|
* @export
|
|
@@ -35790,6 +35923,42 @@ export interface OrderUtm {
|
|
|
35790
35923
|
* @memberof OrderUtm
|
|
35791
35924
|
*/
|
|
35792
35925
|
glcid?: string;
|
|
35926
|
+
/**
|
|
35927
|
+
*
|
|
35928
|
+
* @type {string}
|
|
35929
|
+
* @memberof OrderUtm
|
|
35930
|
+
*/
|
|
35931
|
+
itm_campaign?: string;
|
|
35932
|
+
/**
|
|
35933
|
+
*
|
|
35934
|
+
* @type {string}
|
|
35935
|
+
* @memberof OrderUtm
|
|
35936
|
+
*/
|
|
35937
|
+
itm_content?: string;
|
|
35938
|
+
/**
|
|
35939
|
+
*
|
|
35940
|
+
* @type {string}
|
|
35941
|
+
* @memberof OrderUtm
|
|
35942
|
+
*/
|
|
35943
|
+
itm_id?: string;
|
|
35944
|
+
/**
|
|
35945
|
+
*
|
|
35946
|
+
* @type {string}
|
|
35947
|
+
* @memberof OrderUtm
|
|
35948
|
+
*/
|
|
35949
|
+
itm_medium?: string;
|
|
35950
|
+
/**
|
|
35951
|
+
*
|
|
35952
|
+
* @type {string}
|
|
35953
|
+
* @memberof OrderUtm
|
|
35954
|
+
*/
|
|
35955
|
+
itm_source?: string;
|
|
35956
|
+
/**
|
|
35957
|
+
*
|
|
35958
|
+
* @type {string}
|
|
35959
|
+
* @memberof OrderUtm
|
|
35960
|
+
*/
|
|
35961
|
+
itm_term?: string;
|
|
35793
35962
|
/**
|
|
35794
35963
|
*
|
|
35795
35964
|
* @type {string}
|
|
@@ -52424,6 +52593,58 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
52424
52593
|
|
|
52425
52594
|
|
|
52426
52595
|
|
|
52596
|
+
// authentication ultraCartOauth required
|
|
52597
|
+
// oauth required
|
|
52598
|
+
if (configuration && configuration.accessToken) {
|
|
52599
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
52600
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
52601
|
+
: configuration.accessToken;
|
|
52602
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
52603
|
+
}
|
|
52604
|
+
|
|
52605
|
+
// authentication ultraCartSimpleApiKey required
|
|
52606
|
+
if (configuration && configuration.apiKey) {
|
|
52607
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
52608
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
52609
|
+
: configuration.apiKey;
|
|
52610
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
52611
|
+
}
|
|
52612
|
+
|
|
52613
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
52614
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
52615
|
+
delete localVarUrlObj.search;
|
|
52616
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
52617
|
+
|
|
52618
|
+
return {
|
|
52619
|
+
url: url.format(localVarUrlObj),
|
|
52620
|
+
options: localVarRequestOptions,
|
|
52621
|
+
};
|
|
52622
|
+
},
|
|
52623
|
+
/**
|
|
52624
|
+
* Retrieve a pbx audio usage
|
|
52625
|
+
* @summary Get pbx audio usage
|
|
52626
|
+
* @param {string} conversationPbxAudioUuid
|
|
52627
|
+
* @param {*} [options] Override http request option.
|
|
52628
|
+
* @throws {RequiredError}
|
|
52629
|
+
*/
|
|
52630
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options: any = {}): FetchArgs {
|
|
52631
|
+
// verify required parameter 'conversationPbxAudioUuid' is not null or undefined
|
|
52632
|
+
if (conversationPbxAudioUuid === null || conversationPbxAudioUuid === undefined) {
|
|
52633
|
+
throw new RequiredError('conversationPbxAudioUuid','Required parameter conversationPbxAudioUuid was null or undefined when calling getPbxAudioUsage.');
|
|
52634
|
+
}
|
|
52635
|
+
const localVarPath = `/conversation/pbx/audio/{conversationPbxAudioUuid}/usage`
|
|
52636
|
+
.replace(`{${"conversationPbxAudioUuid"}}`, encodeURIComponent(String(conversationPbxAudioUuid)));
|
|
52637
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
52638
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
52639
|
+
const localVarHeaderParameter = {} as any;
|
|
52640
|
+
const localVarQueryParameter = {} as any;
|
|
52641
|
+
|
|
52642
|
+
if(configuration && configuration.apiVersion) {
|
|
52643
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
52644
|
+
}
|
|
52645
|
+
|
|
52646
|
+
|
|
52647
|
+
|
|
52427
52648
|
// authentication ultraCartOauth required
|
|
52428
52649
|
// oauth required
|
|
52429
52650
|
if (configuration && configuration.accessToken) {
|
|
@@ -55874,6 +56095,27 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
55874
56095
|
});
|
|
55875
56096
|
};
|
|
55876
56097
|
},
|
|
56098
|
+
/**
|
|
56099
|
+
* Retrieve a pbx audio usage
|
|
56100
|
+
* @summary Get pbx audio usage
|
|
56101
|
+
* @param {string} conversationPbxAudioUuid
|
|
56102
|
+
* @param {*} [options] Override http request option.
|
|
56103
|
+
* @throws {RequiredError}
|
|
56104
|
+
*/
|
|
56105
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxAudioUsageResponse> {
|
|
56106
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getPbxAudioUsage(conversationPbxAudioUuid, options);
|
|
56107
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
56108
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
56109
|
+
|
|
56110
|
+
if (response.status >= 200 && response.status < 300) {
|
|
56111
|
+
return response.json();
|
|
56112
|
+
|
|
56113
|
+
} else {
|
|
56114
|
+
throw response;
|
|
56115
|
+
}
|
|
56116
|
+
});
|
|
56117
|
+
};
|
|
56118
|
+
},
|
|
55877
56119
|
/**
|
|
55878
56120
|
* Retrieve pbx audios
|
|
55879
56121
|
* @summary Get pbx audios
|
|
@@ -57274,6 +57516,16 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57274
57516
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any) {
|
|
57275
57517
|
return ConversationApiFp(configuration).getPbxAudio(conversationPbxAudioUuid, options)(fetch, basePath);
|
|
57276
57518
|
},
|
|
57519
|
+
/**
|
|
57520
|
+
* Retrieve a pbx audio usage
|
|
57521
|
+
* @summary Get pbx audio usage
|
|
57522
|
+
* @param {string} conversationPbxAudioUuid
|
|
57523
|
+
* @param {*} [options] Override http request option.
|
|
57524
|
+
* @throws {RequiredError}
|
|
57525
|
+
*/
|
|
57526
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any) {
|
|
57527
|
+
return ConversationApiFp(configuration).getPbxAudioUsage(conversationPbxAudioUuid, options)(fetch, basePath);
|
|
57528
|
+
},
|
|
57277
57529
|
/**
|
|
57278
57530
|
* Retrieve pbx audios
|
|
57279
57531
|
* @summary Get pbx audios
|
|
@@ -58146,6 +58398,16 @@ export interface ConversationApiInterface {
|
|
|
58146
58398
|
*/
|
|
58147
58399
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioResponse>;
|
|
58148
58400
|
|
|
58401
|
+
/**
|
|
58402
|
+
* Retrieve a pbx audio usage
|
|
58403
|
+
* @summary Get pbx audio usage
|
|
58404
|
+
* @param {string} conversationPbxAudioUuid
|
|
58405
|
+
* @param {*} [options] Override http request option.
|
|
58406
|
+
* @throws {RequiredError}
|
|
58407
|
+
* @memberof ConversationApiInterface
|
|
58408
|
+
*/
|
|
58409
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioUsageResponse>;
|
|
58410
|
+
|
|
58149
58411
|
/**
|
|
58150
58412
|
* Retrieve pbx audios
|
|
58151
58413
|
* @summary Get pbx audios
|
|
@@ -59094,6 +59356,18 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59094
59356
|
return ConversationApiFp(this.configuration).getPbxAudio(conversationPbxAudioUuid, options)(this.fetch, this.basePath);
|
|
59095
59357
|
}
|
|
59096
59358
|
|
|
59359
|
+
/**
|
|
59360
|
+
* Retrieve a pbx audio usage
|
|
59361
|
+
* @summary Get pbx audio usage
|
|
59362
|
+
* @param {string} conversationPbxAudioUuid
|
|
59363
|
+
* @param {*} [options] Override http request option.
|
|
59364
|
+
* @throws {RequiredError}
|
|
59365
|
+
* @memberof ConversationApi
|
|
59366
|
+
*/
|
|
59367
|
+
public getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any) {
|
|
59368
|
+
return ConversationApiFp(this.configuration).getPbxAudioUsage(conversationPbxAudioUuid, options)(this.fetch, this.basePath);
|
|
59369
|
+
}
|
|
59370
|
+
|
|
59097
59371
|
/**
|
|
59098
59372
|
* Retrieve pbx audios
|
|
59099
59373
|
* @summary Get pbx audios
|
package/dist/api.d.ts
CHANGED
|
@@ -5661,6 +5661,66 @@ export interface ChannelPartnerOrder {
|
|
|
5661
5661
|
* @memberof ChannelPartnerOrder
|
|
5662
5662
|
*/
|
|
5663
5663
|
delivery_date?: string;
|
|
5664
|
+
/**
|
|
5665
|
+
* eCheck bank ABA code
|
|
5666
|
+
* @type {string}
|
|
5667
|
+
* @memberof ChannelPartnerOrder
|
|
5668
|
+
*/
|
|
5669
|
+
echeck_bank_aba_code?: string;
|
|
5670
|
+
/**
|
|
5671
|
+
* eCheck bank account name
|
|
5672
|
+
* @type {string}
|
|
5673
|
+
* @memberof ChannelPartnerOrder
|
|
5674
|
+
*/
|
|
5675
|
+
echeck_bank_account_name?: string;
|
|
5676
|
+
/**
|
|
5677
|
+
* eCheck bank account number
|
|
5678
|
+
* @type {string}
|
|
5679
|
+
* @memberof ChannelPartnerOrder
|
|
5680
|
+
*/
|
|
5681
|
+
echeck_bank_account_number?: string;
|
|
5682
|
+
/**
|
|
5683
|
+
* eCheck bank account type
|
|
5684
|
+
* @type {string}
|
|
5685
|
+
* @memberof ChannelPartnerOrder
|
|
5686
|
+
*/
|
|
5687
|
+
echeck_bank_account_type?: ChannelPartnerOrder.EcheckBankAccountTypeEnum;
|
|
5688
|
+
/**
|
|
5689
|
+
* eCheck bank name
|
|
5690
|
+
* @type {string}
|
|
5691
|
+
* @memberof ChannelPartnerOrder
|
|
5692
|
+
*/
|
|
5693
|
+
echeck_bank_name?: string;
|
|
5694
|
+
/**
|
|
5695
|
+
* eCheck bank owner type
|
|
5696
|
+
* @type {string}
|
|
5697
|
+
* @memberof ChannelPartnerOrder
|
|
5698
|
+
*/
|
|
5699
|
+
echeck_bank_owner_type?: ChannelPartnerOrder.EcheckBankOwnerTypeEnum;
|
|
5700
|
+
/**
|
|
5701
|
+
* eCheck customer tax id
|
|
5702
|
+
* @type {string}
|
|
5703
|
+
* @memberof ChannelPartnerOrder
|
|
5704
|
+
*/
|
|
5705
|
+
echeck_customer_tax_id?: string;
|
|
5706
|
+
/**
|
|
5707
|
+
* eCheck drivers license dob
|
|
5708
|
+
* @type {string}
|
|
5709
|
+
* @memberof ChannelPartnerOrder
|
|
5710
|
+
*/
|
|
5711
|
+
echeck_drivers_license_dob?: string;
|
|
5712
|
+
/**
|
|
5713
|
+
* eCheck drivers license number
|
|
5714
|
+
* @type {string}
|
|
5715
|
+
* @memberof ChannelPartnerOrder
|
|
5716
|
+
*/
|
|
5717
|
+
echeck_drivers_license_number?: string;
|
|
5718
|
+
/**
|
|
5719
|
+
* eCheck drivers license state
|
|
5720
|
+
* @type {string}
|
|
5721
|
+
* @memberof ChannelPartnerOrder
|
|
5722
|
+
*/
|
|
5723
|
+
echeck_drivers_license_state?: string;
|
|
5664
5724
|
/**
|
|
5665
5725
|
* Email
|
|
5666
5726
|
* @type {string}
|
|
@@ -5919,6 +5979,22 @@ export interface ChannelPartnerOrder {
|
|
|
5919
5979
|
* @namespace ChannelPartnerOrder
|
|
5920
5980
|
*/
|
|
5921
5981
|
export declare namespace ChannelPartnerOrder {
|
|
5982
|
+
/**
|
|
5983
|
+
* @export
|
|
5984
|
+
* @enum {string}
|
|
5985
|
+
*/
|
|
5986
|
+
enum EcheckBankAccountTypeEnum {
|
|
5987
|
+
Checking,
|
|
5988
|
+
Savings
|
|
5989
|
+
}
|
|
5990
|
+
/**
|
|
5991
|
+
* @export
|
|
5992
|
+
* @enum {string}
|
|
5993
|
+
*/
|
|
5994
|
+
enum EcheckBankOwnerTypeEnum {
|
|
5995
|
+
Business,
|
|
5996
|
+
Personal
|
|
5997
|
+
}
|
|
5922
5998
|
/**
|
|
5923
5999
|
* @export
|
|
5924
6000
|
* @enum {string}
|
|
@@ -5929,6 +6005,7 @@ export declare namespace ChannelPartnerOrder {
|
|
|
5929
6005
|
Check,
|
|
5930
6006
|
COD,
|
|
5931
6007
|
CreditCard,
|
|
6008
|
+
ECheck,
|
|
5932
6009
|
LoanHero,
|
|
5933
6010
|
MoneyOrder,
|
|
5934
6011
|
PayPal,
|
|
@@ -8582,6 +8659,12 @@ export interface ConversationPbxAudio {
|
|
|
8582
8659
|
* @memberof ConversationPbxAudio
|
|
8583
8660
|
*/
|
|
8584
8661
|
mime_type?: string;
|
|
8662
|
+
/**
|
|
8663
|
+
* URL
|
|
8664
|
+
* @type {string}
|
|
8665
|
+
* @memberof ConversationPbxAudio
|
|
8666
|
+
*/
|
|
8667
|
+
url?: string;
|
|
8585
8668
|
/**
|
|
8586
8669
|
* User Id
|
|
8587
8670
|
* @type {number}
|
|
@@ -8688,6 +8771,55 @@ export interface ConversationPbxAudioUploadUrlResponse {
|
|
|
8688
8771
|
*/
|
|
8689
8772
|
warning?: Warning;
|
|
8690
8773
|
}
|
|
8774
|
+
/**
|
|
8775
|
+
*
|
|
8776
|
+
* @export
|
|
8777
|
+
* @interface ConversationPbxAudioUsageResponse
|
|
8778
|
+
*/
|
|
8779
|
+
export interface ConversationPbxAudioUsageResponse {
|
|
8780
|
+
/**
|
|
8781
|
+
*
|
|
8782
|
+
* @type {ModelError}
|
|
8783
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8784
|
+
*/
|
|
8785
|
+
error?: ModelError;
|
|
8786
|
+
/**
|
|
8787
|
+
*
|
|
8788
|
+
* @type {Array<ConversationPbxMenu>}
|
|
8789
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8790
|
+
*/
|
|
8791
|
+
menus?: Array<ConversationPbxMenu>;
|
|
8792
|
+
/**
|
|
8793
|
+
*
|
|
8794
|
+
* @type {ResponseMetadata}
|
|
8795
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8796
|
+
*/
|
|
8797
|
+
metadata?: ResponseMetadata;
|
|
8798
|
+
/**
|
|
8799
|
+
*
|
|
8800
|
+
* @type {Array<ConversationPbxQueue>}
|
|
8801
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8802
|
+
*/
|
|
8803
|
+
queues?: Array<ConversationPbxQueue>;
|
|
8804
|
+
/**
|
|
8805
|
+
* Indicates if API call was successful
|
|
8806
|
+
* @type {boolean}
|
|
8807
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8808
|
+
*/
|
|
8809
|
+
success?: boolean;
|
|
8810
|
+
/**
|
|
8811
|
+
*
|
|
8812
|
+
* @type {Array<ConversationPbxVoicemailMailbox>}
|
|
8813
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8814
|
+
*/
|
|
8815
|
+
voicemail_mailboxes?: Array<ConversationPbxVoicemailMailbox>;
|
|
8816
|
+
/**
|
|
8817
|
+
*
|
|
8818
|
+
* @type {Warning}
|
|
8819
|
+
* @memberof ConversationPbxAudioUsageResponse
|
|
8820
|
+
*/
|
|
8821
|
+
warning?: Warning;
|
|
8822
|
+
}
|
|
8691
8823
|
/**
|
|
8692
8824
|
*
|
|
8693
8825
|
* @export
|
|
@@ -35047,6 +35179,42 @@ export interface OrderUtm {
|
|
|
35047
35179
|
* @memberof OrderUtm
|
|
35048
35180
|
*/
|
|
35049
35181
|
glcid?: string;
|
|
35182
|
+
/**
|
|
35183
|
+
*
|
|
35184
|
+
* @type {string}
|
|
35185
|
+
* @memberof OrderUtm
|
|
35186
|
+
*/
|
|
35187
|
+
itm_campaign?: string;
|
|
35188
|
+
/**
|
|
35189
|
+
*
|
|
35190
|
+
* @type {string}
|
|
35191
|
+
* @memberof OrderUtm
|
|
35192
|
+
*/
|
|
35193
|
+
itm_content?: string;
|
|
35194
|
+
/**
|
|
35195
|
+
*
|
|
35196
|
+
* @type {string}
|
|
35197
|
+
* @memberof OrderUtm
|
|
35198
|
+
*/
|
|
35199
|
+
itm_id?: string;
|
|
35200
|
+
/**
|
|
35201
|
+
*
|
|
35202
|
+
* @type {string}
|
|
35203
|
+
* @memberof OrderUtm
|
|
35204
|
+
*/
|
|
35205
|
+
itm_medium?: string;
|
|
35206
|
+
/**
|
|
35207
|
+
*
|
|
35208
|
+
* @type {string}
|
|
35209
|
+
* @memberof OrderUtm
|
|
35210
|
+
*/
|
|
35211
|
+
itm_source?: string;
|
|
35212
|
+
/**
|
|
35213
|
+
*
|
|
35214
|
+
* @type {string}
|
|
35215
|
+
* @memberof OrderUtm
|
|
35216
|
+
*/
|
|
35217
|
+
itm_term?: string;
|
|
35050
35218
|
/**
|
|
35051
35219
|
*
|
|
35052
35220
|
* @type {string}
|
|
@@ -46323,6 +46491,14 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
46323
46491
|
* @throws {RequiredError}
|
|
46324
46492
|
*/
|
|
46325
46493
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any): FetchArgs;
|
|
46494
|
+
/**
|
|
46495
|
+
* Retrieve a pbx audio usage
|
|
46496
|
+
* @summary Get pbx audio usage
|
|
46497
|
+
* @param {string} conversationPbxAudioUuid
|
|
46498
|
+
* @param {*} [options] Override http request option.
|
|
46499
|
+
* @throws {RequiredError}
|
|
46500
|
+
*/
|
|
46501
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): FetchArgs;
|
|
46326
46502
|
/**
|
|
46327
46503
|
* Retrieve pbx audios
|
|
46328
46504
|
* @summary Get pbx audios
|
|
@@ -47020,6 +47196,14 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
47020
47196
|
* @throws {RequiredError}
|
|
47021
47197
|
*/
|
|
47022
47198
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxAudioResponse>;
|
|
47199
|
+
/**
|
|
47200
|
+
* Retrieve a pbx audio usage
|
|
47201
|
+
* @summary Get pbx audio usage
|
|
47202
|
+
* @param {string} conversationPbxAudioUuid
|
|
47203
|
+
* @param {*} [options] Override http request option.
|
|
47204
|
+
* @throws {RequiredError}
|
|
47205
|
+
*/
|
|
47206
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxAudioUsageResponse>;
|
|
47023
47207
|
/**
|
|
47024
47208
|
* Retrieve pbx audios
|
|
47025
47209
|
* @summary Get pbx audios
|
|
@@ -47717,6 +47901,14 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
47717
47901
|
* @throws {RequiredError}
|
|
47718
47902
|
*/
|
|
47719
47903
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioResponse>;
|
|
47904
|
+
/**
|
|
47905
|
+
* Retrieve a pbx audio usage
|
|
47906
|
+
* @summary Get pbx audio usage
|
|
47907
|
+
* @param {string} conversationPbxAudioUuid
|
|
47908
|
+
* @param {*} [options] Override http request option.
|
|
47909
|
+
* @throws {RequiredError}
|
|
47910
|
+
*/
|
|
47911
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioUsageResponse>;
|
|
47720
47912
|
/**
|
|
47721
47913
|
* Retrieve pbx audios
|
|
47722
47914
|
* @summary Get pbx audios
|
|
@@ -48453,6 +48645,15 @@ export interface ConversationApiInterface {
|
|
|
48453
48645
|
* @memberof ConversationApiInterface
|
|
48454
48646
|
*/
|
|
48455
48647
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioResponse>;
|
|
48648
|
+
/**
|
|
48649
|
+
* Retrieve a pbx audio usage
|
|
48650
|
+
* @summary Get pbx audio usage
|
|
48651
|
+
* @param {string} conversationPbxAudioUuid
|
|
48652
|
+
* @param {*} [options] Override http request option.
|
|
48653
|
+
* @throws {RequiredError}
|
|
48654
|
+
* @memberof ConversationApiInterface
|
|
48655
|
+
*/
|
|
48656
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioUsageResponse>;
|
|
48456
48657
|
/**
|
|
48457
48658
|
* Retrieve pbx audios
|
|
48458
48659
|
* @summary Get pbx audios
|
|
@@ -49238,6 +49439,15 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
49238
49439
|
* @memberof ConversationApi
|
|
49239
49440
|
*/
|
|
49240
49441
|
getPbxAudio(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioResponse>;
|
|
49442
|
+
/**
|
|
49443
|
+
* Retrieve a pbx audio usage
|
|
49444
|
+
* @summary Get pbx audio usage
|
|
49445
|
+
* @param {string} conversationPbxAudioUuid
|
|
49446
|
+
* @param {*} [options] Override http request option.
|
|
49447
|
+
* @throws {RequiredError}
|
|
49448
|
+
* @memberof ConversationApi
|
|
49449
|
+
*/
|
|
49450
|
+
getPbxAudioUsage(conversationPbxAudioUuid: string, options?: any): Promise<ConversationPbxAudioUsageResponse>;
|
|
49241
49451
|
/**
|
|
49242
49452
|
* Retrieve pbx audios
|
|
49243
49453
|
* @summary Get pbx audios
|
package/dist/api.js
CHANGED
|
@@ -302,6 +302,24 @@ var CartKitComponentOption;
|
|
|
302
302
|
*/
|
|
303
303
|
var ChannelPartnerOrder;
|
|
304
304
|
(function (ChannelPartnerOrder) {
|
|
305
|
+
/**
|
|
306
|
+
* @export
|
|
307
|
+
* @enum {string}
|
|
308
|
+
*/
|
|
309
|
+
var EcheckBankAccountTypeEnum;
|
|
310
|
+
(function (EcheckBankAccountTypeEnum) {
|
|
311
|
+
EcheckBankAccountTypeEnum[EcheckBankAccountTypeEnum["Checking"] = 'Checking'] = "Checking";
|
|
312
|
+
EcheckBankAccountTypeEnum[EcheckBankAccountTypeEnum["Savings"] = 'Savings'] = "Savings";
|
|
313
|
+
})(EcheckBankAccountTypeEnum = ChannelPartnerOrder.EcheckBankAccountTypeEnum || (ChannelPartnerOrder.EcheckBankAccountTypeEnum = {}));
|
|
314
|
+
/**
|
|
315
|
+
* @export
|
|
316
|
+
* @enum {string}
|
|
317
|
+
*/
|
|
318
|
+
var EcheckBankOwnerTypeEnum;
|
|
319
|
+
(function (EcheckBankOwnerTypeEnum) {
|
|
320
|
+
EcheckBankOwnerTypeEnum[EcheckBankOwnerTypeEnum["Business"] = 'Business'] = "Business";
|
|
321
|
+
EcheckBankOwnerTypeEnum[EcheckBankOwnerTypeEnum["Personal"] = 'Personal'] = "Personal";
|
|
322
|
+
})(EcheckBankOwnerTypeEnum = ChannelPartnerOrder.EcheckBankOwnerTypeEnum || (ChannelPartnerOrder.EcheckBankOwnerTypeEnum = {}));
|
|
305
323
|
/**
|
|
306
324
|
* @export
|
|
307
325
|
* @enum {string}
|
|
@@ -313,6 +331,7 @@ var ChannelPartnerOrder;
|
|
|
313
331
|
PaymentMethodEnum[PaymentMethodEnum["Check"] = 'Check'] = "Check";
|
|
314
332
|
PaymentMethodEnum[PaymentMethodEnum["COD"] = 'COD'] = "COD";
|
|
315
333
|
PaymentMethodEnum[PaymentMethodEnum["CreditCard"] = 'Credit Card'] = "CreditCard";
|
|
334
|
+
PaymentMethodEnum[PaymentMethodEnum["ECheck"] = 'eCheck'] = "ECheck";
|
|
316
335
|
PaymentMethodEnum[PaymentMethodEnum["LoanHero"] = 'LoanHero'] = "LoanHero";
|
|
317
336
|
PaymentMethodEnum[PaymentMethodEnum["MoneyOrder"] = 'Money Order'] = "MoneyOrder";
|
|
318
337
|
PaymentMethodEnum[PaymentMethodEnum["PayPal"] = 'PayPal'] = "PayPal";
|
|
@@ -8535,6 +8554,52 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
8535
8554
|
options: localVarRequestOptions,
|
|
8536
8555
|
};
|
|
8537
8556
|
},
|
|
8557
|
+
/**
|
|
8558
|
+
* Retrieve a pbx audio usage
|
|
8559
|
+
* @summary Get pbx audio usage
|
|
8560
|
+
* @param {string} conversationPbxAudioUuid
|
|
8561
|
+
* @param {*} [options] Override http request option.
|
|
8562
|
+
* @throws {RequiredError}
|
|
8563
|
+
*/
|
|
8564
|
+
getPbxAudioUsage: function (conversationPbxAudioUuid, options) {
|
|
8565
|
+
if (options === void 0) { options = {}; }
|
|
8566
|
+
// verify required parameter 'conversationPbxAudioUuid' is not null or undefined
|
|
8567
|
+
if (conversationPbxAudioUuid === null || conversationPbxAudioUuid === undefined) {
|
|
8568
|
+
throw new RequiredError('conversationPbxAudioUuid', 'Required parameter conversationPbxAudioUuid was null or undefined when calling getPbxAudioUsage.');
|
|
8569
|
+
}
|
|
8570
|
+
var localVarPath = "/conversation/pbx/audio/{conversationPbxAudioUuid}/usage"
|
|
8571
|
+
.replace("{".concat("conversationPbxAudioUuid", "}"), encodeURIComponent(String(conversationPbxAudioUuid)));
|
|
8572
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
8573
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
8574
|
+
var localVarHeaderParameter = {};
|
|
8575
|
+
var localVarQueryParameter = {};
|
|
8576
|
+
if (configuration && configuration.apiVersion) {
|
|
8577
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
8578
|
+
}
|
|
8579
|
+
// authentication ultraCartOauth required
|
|
8580
|
+
// oauth required
|
|
8581
|
+
if (configuration && configuration.accessToken) {
|
|
8582
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
8583
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
8584
|
+
: configuration.accessToken;
|
|
8585
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
8586
|
+
}
|
|
8587
|
+
// authentication ultraCartSimpleApiKey required
|
|
8588
|
+
if (configuration && configuration.apiKey) {
|
|
8589
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8590
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
8591
|
+
: configuration.apiKey;
|
|
8592
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
8593
|
+
}
|
|
8594
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8595
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8596
|
+
delete localVarUrlObj.search;
|
|
8597
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8598
|
+
return {
|
|
8599
|
+
url: url.format(localVarUrlObj),
|
|
8600
|
+
options: localVarRequestOptions,
|
|
8601
|
+
};
|
|
8602
|
+
},
|
|
8538
8603
|
/**
|
|
8539
8604
|
* Retrieve pbx audios
|
|
8540
8605
|
* @summary Get pbx audios
|
|
@@ -11681,6 +11746,28 @@ var ConversationApiFp = function (configuration) {
|
|
|
11681
11746
|
});
|
|
11682
11747
|
};
|
|
11683
11748
|
},
|
|
11749
|
+
/**
|
|
11750
|
+
* Retrieve a pbx audio usage
|
|
11751
|
+
* @summary Get pbx audio usage
|
|
11752
|
+
* @param {string} conversationPbxAudioUuid
|
|
11753
|
+
* @param {*} [options] Override http request option.
|
|
11754
|
+
* @throws {RequiredError}
|
|
11755
|
+
*/
|
|
11756
|
+
getPbxAudioUsage: function (conversationPbxAudioUuid, options) {
|
|
11757
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).getPbxAudioUsage(conversationPbxAudioUuid, options);
|
|
11758
|
+
return function (fetch, basePath) {
|
|
11759
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
11760
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
11761
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
11762
|
+
if (response.status >= 200 && response.status < 300) {
|
|
11763
|
+
return response.json();
|
|
11764
|
+
}
|
|
11765
|
+
else {
|
|
11766
|
+
throw response;
|
|
11767
|
+
}
|
|
11768
|
+
});
|
|
11769
|
+
};
|
|
11770
|
+
},
|
|
11684
11771
|
/**
|
|
11685
11772
|
* Retrieve pbx audios
|
|
11686
11773
|
* @summary Get pbx audios
|
|
@@ -13129,6 +13216,16 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
13129
13216
|
getPbxAudio: function (conversationPbxAudioUuid, options) {
|
|
13130
13217
|
return (0, exports.ConversationApiFp)(configuration).getPbxAudio(conversationPbxAudioUuid, options)(fetch, basePath);
|
|
13131
13218
|
},
|
|
13219
|
+
/**
|
|
13220
|
+
* Retrieve a pbx audio usage
|
|
13221
|
+
* @summary Get pbx audio usage
|
|
13222
|
+
* @param {string} conversationPbxAudioUuid
|
|
13223
|
+
* @param {*} [options] Override http request option.
|
|
13224
|
+
* @throws {RequiredError}
|
|
13225
|
+
*/
|
|
13226
|
+
getPbxAudioUsage: function (conversationPbxAudioUuid, options) {
|
|
13227
|
+
return (0, exports.ConversationApiFp)(configuration).getPbxAudioUsage(conversationPbxAudioUuid, options)(fetch, basePath);
|
|
13228
|
+
},
|
|
13132
13229
|
/**
|
|
13133
13230
|
* Retrieve pbx audios
|
|
13134
13231
|
* @summary Get pbx audios
|
|
@@ -14044,6 +14141,17 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
14044
14141
|
ConversationApi.prototype.getPbxAudio = function (conversationPbxAudioUuid, options) {
|
|
14045
14142
|
return (0, exports.ConversationApiFp)(this.configuration).getPbxAudio(conversationPbxAudioUuid, options)(this.fetch, this.basePath);
|
|
14046
14143
|
};
|
|
14144
|
+
/**
|
|
14145
|
+
* Retrieve a pbx audio usage
|
|
14146
|
+
* @summary Get pbx audio usage
|
|
14147
|
+
* @param {string} conversationPbxAudioUuid
|
|
14148
|
+
* @param {*} [options] Override http request option.
|
|
14149
|
+
* @throws {RequiredError}
|
|
14150
|
+
* @memberof ConversationApi
|
|
14151
|
+
*/
|
|
14152
|
+
ConversationApi.prototype.getPbxAudioUsage = function (conversationPbxAudioUuid, options) {
|
|
14153
|
+
return (0, exports.ConversationApiFp)(this.configuration).getPbxAudioUsage(conversationPbxAudioUuid, options)(this.fetch, this.basePath);
|
|
14154
|
+
};
|
|
14047
14155
|
/**
|
|
14048
14156
|
* Retrieve pbx audios
|
|
14049
14157
|
* @summary Get pbx audios
|