ultracart_rest_api_v2_typescript 4.0.214 → 4.0.215
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 +3 -2
- package/dist/models/ChannelPartnerOrder.d.ts +77 -0
- package/dist/models/ChannelPartnerOrder.js +36 -1
- package/dist/models/ConversationPbxAudio.d.ts +6 -0
- package/dist/models/ConversationPbxAudio.js +2 -0
- package/dist/models/OrderUtm.d.ts +36 -0
- package/dist/models/OrderUtm.js +12 -0
- package/package.json +1 -1
- package/src/models/ChannelPartnerOrder.ts +99 -0
- package/src/models/ConversationPbxAudio.ts +8 -0
- package/src/models/OrderUtm.ts +48 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.215
|
|
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@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.215 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.215 | 05/08/2024 | added echeck fields to channel partner order import |
|
|
57
58
|
| 4.0.214 | 05/02/2024 | conversation - new method to load pbx audio usage |
|
|
58
59
|
| 4.0.213 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
|
59
60
|
| 4.0.212 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
|
@@ -251,6 +251,66 @@ export interface ChannelPartnerOrder {
|
|
|
251
251
|
* @memberof ChannelPartnerOrder
|
|
252
252
|
*/
|
|
253
253
|
delivery_date?: string;
|
|
254
|
+
/**
|
|
255
|
+
* eCheck bank ABA code
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof ChannelPartnerOrder
|
|
258
|
+
*/
|
|
259
|
+
echeck_bank_aba_code?: string;
|
|
260
|
+
/**
|
|
261
|
+
* eCheck bank account name
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof ChannelPartnerOrder
|
|
264
|
+
*/
|
|
265
|
+
echeck_bank_account_name?: string;
|
|
266
|
+
/**
|
|
267
|
+
* eCheck bank account number
|
|
268
|
+
* @type {string}
|
|
269
|
+
* @memberof ChannelPartnerOrder
|
|
270
|
+
*/
|
|
271
|
+
echeck_bank_account_number?: string;
|
|
272
|
+
/**
|
|
273
|
+
* eCheck bank account type
|
|
274
|
+
* @type {string}
|
|
275
|
+
* @memberof ChannelPartnerOrder
|
|
276
|
+
*/
|
|
277
|
+
echeck_bank_account_type?: ChannelPartnerOrderEcheckBankAccountTypeEnum;
|
|
278
|
+
/**
|
|
279
|
+
* eCheck bank name
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof ChannelPartnerOrder
|
|
282
|
+
*/
|
|
283
|
+
echeck_bank_name?: string;
|
|
284
|
+
/**
|
|
285
|
+
* eCheck bank owner type
|
|
286
|
+
* @type {string}
|
|
287
|
+
* @memberof ChannelPartnerOrder
|
|
288
|
+
*/
|
|
289
|
+
echeck_bank_owner_type?: ChannelPartnerOrderEcheckBankOwnerTypeEnum;
|
|
290
|
+
/**
|
|
291
|
+
* eCheck customer tax id
|
|
292
|
+
* @type {string}
|
|
293
|
+
* @memberof ChannelPartnerOrder
|
|
294
|
+
*/
|
|
295
|
+
echeck_customer_tax_id?: string;
|
|
296
|
+
/**
|
|
297
|
+
* eCheck drivers license dob
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof ChannelPartnerOrder
|
|
300
|
+
*/
|
|
301
|
+
echeck_drivers_license_dob?: string;
|
|
302
|
+
/**
|
|
303
|
+
* eCheck drivers license number
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof ChannelPartnerOrder
|
|
306
|
+
*/
|
|
307
|
+
echeck_drivers_license_number?: string;
|
|
308
|
+
/**
|
|
309
|
+
* eCheck drivers license state
|
|
310
|
+
* @type {string}
|
|
311
|
+
* @memberof ChannelPartnerOrder
|
|
312
|
+
*/
|
|
313
|
+
echeck_drivers_license_state?: string;
|
|
254
314
|
/**
|
|
255
315
|
* Email
|
|
256
316
|
* @type {string}
|
|
@@ -504,6 +564,22 @@ export interface ChannelPartnerOrder {
|
|
|
504
564
|
*/
|
|
505
565
|
treat_warnings_as_errors?: boolean;
|
|
506
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* @export
|
|
569
|
+
*/
|
|
570
|
+
export declare const ChannelPartnerOrderEcheckBankAccountTypeEnum: {
|
|
571
|
+
readonly Checking: "Checking";
|
|
572
|
+
readonly Savings: "Savings";
|
|
573
|
+
};
|
|
574
|
+
export type ChannelPartnerOrderEcheckBankAccountTypeEnum = typeof ChannelPartnerOrderEcheckBankAccountTypeEnum[keyof typeof ChannelPartnerOrderEcheckBankAccountTypeEnum];
|
|
575
|
+
/**
|
|
576
|
+
* @export
|
|
577
|
+
*/
|
|
578
|
+
export declare const ChannelPartnerOrderEcheckBankOwnerTypeEnum: {
|
|
579
|
+
readonly Business: "Business";
|
|
580
|
+
readonly Personal: "Personal";
|
|
581
|
+
};
|
|
582
|
+
export type ChannelPartnerOrderEcheckBankOwnerTypeEnum = typeof ChannelPartnerOrderEcheckBankOwnerTypeEnum[keyof typeof ChannelPartnerOrderEcheckBankOwnerTypeEnum];
|
|
507
583
|
/**
|
|
508
584
|
* @export
|
|
509
585
|
*/
|
|
@@ -513,6 +589,7 @@ export declare const ChannelPartnerOrderPaymentMethodEnum: {
|
|
|
513
589
|
readonly Check: "Check";
|
|
514
590
|
readonly Cod: "COD";
|
|
515
591
|
readonly CreditCard: "Credit Card";
|
|
592
|
+
readonly ECheck: "eCheck";
|
|
516
593
|
readonly LoanHero: "LoanHero";
|
|
517
594
|
readonly MoneyOrder: "Money Order";
|
|
518
595
|
readonly PayPal: "PayPal";
|
|
@@ -13,10 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ChannelPartnerOrderToJSON = exports.ChannelPartnerOrderFromJSONTyped = exports.ChannelPartnerOrderFromJSON = exports.ChannelPartnerOrderPaymentMethodEnum = void 0;
|
|
16
|
+
exports.ChannelPartnerOrderToJSON = exports.ChannelPartnerOrderFromJSONTyped = exports.ChannelPartnerOrderFromJSON = exports.ChannelPartnerOrderPaymentMethodEnum = exports.ChannelPartnerOrderEcheckBankOwnerTypeEnum = exports.ChannelPartnerOrderEcheckBankAccountTypeEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var ChannelPartnerOrderItem_1 = require("./ChannelPartnerOrderItem");
|
|
19
19
|
var ChannelPartnerOrderTransaction_1 = require("./ChannelPartnerOrderTransaction");
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
exports.ChannelPartnerOrderEcheckBankAccountTypeEnum = {
|
|
24
|
+
Checking: 'Checking',
|
|
25
|
+
Savings: 'Savings'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
exports.ChannelPartnerOrderEcheckBankOwnerTypeEnum = {
|
|
31
|
+
Business: 'Business',
|
|
32
|
+
Personal: 'Personal'
|
|
33
|
+
};
|
|
20
34
|
/**
|
|
21
35
|
* @export
|
|
22
36
|
*/
|
|
@@ -26,6 +40,7 @@ exports.ChannelPartnerOrderPaymentMethodEnum = {
|
|
|
26
40
|
Check: 'Check',
|
|
27
41
|
Cod: 'COD',
|
|
28
42
|
CreditCard: 'Credit Card',
|
|
43
|
+
ECheck: 'eCheck',
|
|
29
44
|
LoanHero: 'LoanHero',
|
|
30
45
|
MoneyOrder: 'Money Order',
|
|
31
46
|
PayPal: 'PayPal',
|
|
@@ -81,6 +96,16 @@ function ChannelPartnerOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
81
96
|
'custom_field6': !(0, runtime_1.exists)(json, 'custom_field6') ? undefined : json['custom_field6'],
|
|
82
97
|
'custom_field7': !(0, runtime_1.exists)(json, 'custom_field7') ? undefined : json['custom_field7'],
|
|
83
98
|
'delivery_date': !(0, runtime_1.exists)(json, 'delivery_date') ? undefined : json['delivery_date'],
|
|
99
|
+
'echeck_bank_aba_code': !(0, runtime_1.exists)(json, 'echeck_bank_aba_code') ? undefined : json['echeck_bank_aba_code'],
|
|
100
|
+
'echeck_bank_account_name': !(0, runtime_1.exists)(json, 'echeck_bank_account_name') ? undefined : json['echeck_bank_account_name'],
|
|
101
|
+
'echeck_bank_account_number': !(0, runtime_1.exists)(json, 'echeck_bank_account_number') ? undefined : json['echeck_bank_account_number'],
|
|
102
|
+
'echeck_bank_account_type': !(0, runtime_1.exists)(json, 'echeck_bank_account_type') ? undefined : json['echeck_bank_account_type'],
|
|
103
|
+
'echeck_bank_name': !(0, runtime_1.exists)(json, 'echeck_bank_name') ? undefined : json['echeck_bank_name'],
|
|
104
|
+
'echeck_bank_owner_type': !(0, runtime_1.exists)(json, 'echeck_bank_owner_type') ? undefined : json['echeck_bank_owner_type'],
|
|
105
|
+
'echeck_customer_tax_id': !(0, runtime_1.exists)(json, 'echeck_customer_tax_id') ? undefined : json['echeck_customer_tax_id'],
|
|
106
|
+
'echeck_drivers_license_dob': !(0, runtime_1.exists)(json, 'echeck_drivers_license_dob') ? undefined : json['echeck_drivers_license_dob'],
|
|
107
|
+
'echeck_drivers_license_number': !(0, runtime_1.exists)(json, 'echeck_drivers_license_number') ? undefined : json['echeck_drivers_license_number'],
|
|
108
|
+
'echeck_drivers_license_state': !(0, runtime_1.exists)(json, 'echeck_drivers_license_state') ? undefined : json['echeck_drivers_license_state'],
|
|
84
109
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
85
110
|
'gift': !(0, runtime_1.exists)(json, 'gift') ? undefined : json['gift'],
|
|
86
111
|
'gift_email': !(0, runtime_1.exists)(json, 'gift_email') ? undefined : json['gift_email'],
|
|
@@ -173,6 +198,16 @@ function ChannelPartnerOrderToJSON(value) {
|
|
|
173
198
|
'custom_field6': value.custom_field6,
|
|
174
199
|
'custom_field7': value.custom_field7,
|
|
175
200
|
'delivery_date': value.delivery_date,
|
|
201
|
+
'echeck_bank_aba_code': value.echeck_bank_aba_code,
|
|
202
|
+
'echeck_bank_account_name': value.echeck_bank_account_name,
|
|
203
|
+
'echeck_bank_account_number': value.echeck_bank_account_number,
|
|
204
|
+
'echeck_bank_account_type': value.echeck_bank_account_type,
|
|
205
|
+
'echeck_bank_name': value.echeck_bank_name,
|
|
206
|
+
'echeck_bank_owner_type': value.echeck_bank_owner_type,
|
|
207
|
+
'echeck_customer_tax_id': value.echeck_customer_tax_id,
|
|
208
|
+
'echeck_drivers_license_dob': value.echeck_drivers_license_dob,
|
|
209
|
+
'echeck_drivers_license_number': value.echeck_drivers_license_number,
|
|
210
|
+
'echeck_drivers_license_state': value.echeck_drivers_license_state,
|
|
176
211
|
'email': value.email,
|
|
177
212
|
'gift': value.gift,
|
|
178
213
|
'gift_email': value.gift_email,
|
|
@@ -31,6 +31,7 @@ function ConversationPbxAudioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'filename': !(0, runtime_1.exists)(json, 'filename') ? undefined : json['filename'],
|
|
32
32
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
33
33
|
'mime_type': !(0, runtime_1.exists)(json, 'mime_type') ? undefined : json['mime_type'],
|
|
34
|
+
'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
|
|
34
35
|
'user_id': !(0, runtime_1.exists)(json, 'user_id') ? undefined : json['user_id'],
|
|
35
36
|
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
36
37
|
};
|
|
@@ -51,6 +52,7 @@ function ConversationPbxAudioToJSON(value) {
|
|
|
51
52
|
'filename': value.filename,
|
|
52
53
|
'merchant_id': value.merchant_id,
|
|
53
54
|
'mime_type': value.mime_type,
|
|
55
|
+
'url': value.url,
|
|
54
56
|
'user_id': value.user_id,
|
|
55
57
|
'version': value.version,
|
|
56
58
|
};
|
|
@@ -93,6 +93,42 @@ export interface OrderUtm {
|
|
|
93
93
|
* @memberof OrderUtm
|
|
94
94
|
*/
|
|
95
95
|
glcid?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof OrderUtm
|
|
100
|
+
*/
|
|
101
|
+
itm_campaign?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof OrderUtm
|
|
106
|
+
*/
|
|
107
|
+
itm_content?: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof OrderUtm
|
|
112
|
+
*/
|
|
113
|
+
itm_id?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof OrderUtm
|
|
118
|
+
*/
|
|
119
|
+
itm_medium?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof OrderUtm
|
|
124
|
+
*/
|
|
125
|
+
itm_source?: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof OrderUtm
|
|
130
|
+
*/
|
|
131
|
+
itm_term?: string;
|
|
96
132
|
/**
|
|
97
133
|
*
|
|
98
134
|
* @type {string}
|
package/dist/models/OrderUtm.js
CHANGED
|
@@ -37,6 +37,12 @@ function OrderUtmFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'fbclid': !(0, runtime_1.exists)(json, 'fbclid') ? undefined : json['fbclid'],
|
|
38
38
|
'gbraid': !(0, runtime_1.exists)(json, 'gbraid') ? undefined : json['gbraid'],
|
|
39
39
|
'glcid': !(0, runtime_1.exists)(json, 'glcid') ? undefined : json['glcid'],
|
|
40
|
+
'itm_campaign': !(0, runtime_1.exists)(json, 'itm_campaign') ? undefined : json['itm_campaign'],
|
|
41
|
+
'itm_content': !(0, runtime_1.exists)(json, 'itm_content') ? undefined : json['itm_content'],
|
|
42
|
+
'itm_id': !(0, runtime_1.exists)(json, 'itm_id') ? undefined : json['itm_id'],
|
|
43
|
+
'itm_medium': !(0, runtime_1.exists)(json, 'itm_medium') ? undefined : json['itm_medium'],
|
|
44
|
+
'itm_source': !(0, runtime_1.exists)(json, 'itm_source') ? undefined : json['itm_source'],
|
|
45
|
+
'itm_term': !(0, runtime_1.exists)(json, 'itm_term') ? undefined : json['itm_term'],
|
|
40
46
|
'msclkid': !(0, runtime_1.exists)(json, 'msclkid') ? undefined : json['msclkid'],
|
|
41
47
|
'ttclid': !(0, runtime_1.exists)(json, 'ttclid') ? undefined : json['ttclid'],
|
|
42
48
|
'uc_message_id': !(0, runtime_1.exists)(json, 'uc_message_id') ? undefined : json['uc_message_id'],
|
|
@@ -72,6 +78,12 @@ function OrderUtmToJSON(value) {
|
|
|
72
78
|
'fbclid': value.fbclid,
|
|
73
79
|
'gbraid': value.gbraid,
|
|
74
80
|
'glcid': value.glcid,
|
|
81
|
+
'itm_campaign': value.itm_campaign,
|
|
82
|
+
'itm_content': value.itm_content,
|
|
83
|
+
'itm_id': value.itm_id,
|
|
84
|
+
'itm_medium': value.itm_medium,
|
|
85
|
+
'itm_source': value.itm_source,
|
|
86
|
+
'itm_term': value.itm_term,
|
|
75
87
|
'msclkid': value.msclkid,
|
|
76
88
|
'ttclid': value.ttclid,
|
|
77
89
|
'uc_message_id': value.uc_message_id,
|
package/package.json
CHANGED
|
@@ -266,6 +266,66 @@ export interface ChannelPartnerOrder {
|
|
|
266
266
|
* @memberof ChannelPartnerOrder
|
|
267
267
|
*/
|
|
268
268
|
delivery_date?: string;
|
|
269
|
+
/**
|
|
270
|
+
* eCheck bank ABA code
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof ChannelPartnerOrder
|
|
273
|
+
*/
|
|
274
|
+
echeck_bank_aba_code?: string;
|
|
275
|
+
/**
|
|
276
|
+
* eCheck bank account name
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof ChannelPartnerOrder
|
|
279
|
+
*/
|
|
280
|
+
echeck_bank_account_name?: string;
|
|
281
|
+
/**
|
|
282
|
+
* eCheck bank account number
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof ChannelPartnerOrder
|
|
285
|
+
*/
|
|
286
|
+
echeck_bank_account_number?: string;
|
|
287
|
+
/**
|
|
288
|
+
* eCheck bank account type
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof ChannelPartnerOrder
|
|
291
|
+
*/
|
|
292
|
+
echeck_bank_account_type?: ChannelPartnerOrderEcheckBankAccountTypeEnum;
|
|
293
|
+
/**
|
|
294
|
+
* eCheck bank name
|
|
295
|
+
* @type {string}
|
|
296
|
+
* @memberof ChannelPartnerOrder
|
|
297
|
+
*/
|
|
298
|
+
echeck_bank_name?: string;
|
|
299
|
+
/**
|
|
300
|
+
* eCheck bank owner type
|
|
301
|
+
* @type {string}
|
|
302
|
+
* @memberof ChannelPartnerOrder
|
|
303
|
+
*/
|
|
304
|
+
echeck_bank_owner_type?: ChannelPartnerOrderEcheckBankOwnerTypeEnum;
|
|
305
|
+
/**
|
|
306
|
+
* eCheck customer tax id
|
|
307
|
+
* @type {string}
|
|
308
|
+
* @memberof ChannelPartnerOrder
|
|
309
|
+
*/
|
|
310
|
+
echeck_customer_tax_id?: string;
|
|
311
|
+
/**
|
|
312
|
+
* eCheck drivers license dob
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof ChannelPartnerOrder
|
|
315
|
+
*/
|
|
316
|
+
echeck_drivers_license_dob?: string;
|
|
317
|
+
/**
|
|
318
|
+
* eCheck drivers license number
|
|
319
|
+
* @type {string}
|
|
320
|
+
* @memberof ChannelPartnerOrder
|
|
321
|
+
*/
|
|
322
|
+
echeck_drivers_license_number?: string;
|
|
323
|
+
/**
|
|
324
|
+
* eCheck drivers license state
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof ChannelPartnerOrder
|
|
327
|
+
*/
|
|
328
|
+
echeck_drivers_license_state?: string;
|
|
269
329
|
/**
|
|
270
330
|
* Email
|
|
271
331
|
* @type {string}
|
|
@@ -521,6 +581,24 @@ export interface ChannelPartnerOrder {
|
|
|
521
581
|
}
|
|
522
582
|
|
|
523
583
|
|
|
584
|
+
/**
|
|
585
|
+
* @export
|
|
586
|
+
*/
|
|
587
|
+
export const ChannelPartnerOrderEcheckBankAccountTypeEnum = {
|
|
588
|
+
Checking: 'Checking',
|
|
589
|
+
Savings: 'Savings'
|
|
590
|
+
} as const;
|
|
591
|
+
export type ChannelPartnerOrderEcheckBankAccountTypeEnum = typeof ChannelPartnerOrderEcheckBankAccountTypeEnum[keyof typeof ChannelPartnerOrderEcheckBankAccountTypeEnum];
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* @export
|
|
595
|
+
*/
|
|
596
|
+
export const ChannelPartnerOrderEcheckBankOwnerTypeEnum = {
|
|
597
|
+
Business: 'Business',
|
|
598
|
+
Personal: 'Personal'
|
|
599
|
+
} as const;
|
|
600
|
+
export type ChannelPartnerOrderEcheckBankOwnerTypeEnum = typeof ChannelPartnerOrderEcheckBankOwnerTypeEnum[keyof typeof ChannelPartnerOrderEcheckBankOwnerTypeEnum];
|
|
601
|
+
|
|
524
602
|
/**
|
|
525
603
|
* @export
|
|
526
604
|
*/
|
|
@@ -530,6 +608,7 @@ export const ChannelPartnerOrderPaymentMethodEnum = {
|
|
|
530
608
|
Check: 'Check',
|
|
531
609
|
Cod: 'COD',
|
|
532
610
|
CreditCard: 'Credit Card',
|
|
611
|
+
ECheck: 'eCheck',
|
|
533
612
|
LoanHero: 'LoanHero',
|
|
534
613
|
MoneyOrder: 'Money Order',
|
|
535
614
|
PayPal: 'PayPal',
|
|
@@ -589,6 +668,16 @@ export function ChannelPartnerOrderFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
589
668
|
'custom_field6': !exists(json, 'custom_field6') ? undefined : json['custom_field6'],
|
|
590
669
|
'custom_field7': !exists(json, 'custom_field7') ? undefined : json['custom_field7'],
|
|
591
670
|
'delivery_date': !exists(json, 'delivery_date') ? undefined : json['delivery_date'],
|
|
671
|
+
'echeck_bank_aba_code': !exists(json, 'echeck_bank_aba_code') ? undefined : json['echeck_bank_aba_code'],
|
|
672
|
+
'echeck_bank_account_name': !exists(json, 'echeck_bank_account_name') ? undefined : json['echeck_bank_account_name'],
|
|
673
|
+
'echeck_bank_account_number': !exists(json, 'echeck_bank_account_number') ? undefined : json['echeck_bank_account_number'],
|
|
674
|
+
'echeck_bank_account_type': !exists(json, 'echeck_bank_account_type') ? undefined : json['echeck_bank_account_type'],
|
|
675
|
+
'echeck_bank_name': !exists(json, 'echeck_bank_name') ? undefined : json['echeck_bank_name'],
|
|
676
|
+
'echeck_bank_owner_type': !exists(json, 'echeck_bank_owner_type') ? undefined : json['echeck_bank_owner_type'],
|
|
677
|
+
'echeck_customer_tax_id': !exists(json, 'echeck_customer_tax_id') ? undefined : json['echeck_customer_tax_id'],
|
|
678
|
+
'echeck_drivers_license_dob': !exists(json, 'echeck_drivers_license_dob') ? undefined : json['echeck_drivers_license_dob'],
|
|
679
|
+
'echeck_drivers_license_number': !exists(json, 'echeck_drivers_license_number') ? undefined : json['echeck_drivers_license_number'],
|
|
680
|
+
'echeck_drivers_license_state': !exists(json, 'echeck_drivers_license_state') ? undefined : json['echeck_drivers_license_state'],
|
|
592
681
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
593
682
|
'gift': !exists(json, 'gift') ? undefined : json['gift'],
|
|
594
683
|
'gift_email': !exists(json, 'gift_email') ? undefined : json['gift_email'],
|
|
@@ -682,6 +771,16 @@ export function ChannelPartnerOrderToJSON(value?: ChannelPartnerOrder | null): a
|
|
|
682
771
|
'custom_field6': value.custom_field6,
|
|
683
772
|
'custom_field7': value.custom_field7,
|
|
684
773
|
'delivery_date': value.delivery_date,
|
|
774
|
+
'echeck_bank_aba_code': value.echeck_bank_aba_code,
|
|
775
|
+
'echeck_bank_account_name': value.echeck_bank_account_name,
|
|
776
|
+
'echeck_bank_account_number': value.echeck_bank_account_number,
|
|
777
|
+
'echeck_bank_account_type': value.echeck_bank_account_type,
|
|
778
|
+
'echeck_bank_name': value.echeck_bank_name,
|
|
779
|
+
'echeck_bank_owner_type': value.echeck_bank_owner_type,
|
|
780
|
+
'echeck_customer_tax_id': value.echeck_customer_tax_id,
|
|
781
|
+
'echeck_drivers_license_dob': value.echeck_drivers_license_dob,
|
|
782
|
+
'echeck_drivers_license_number': value.echeck_drivers_license_number,
|
|
783
|
+
'echeck_drivers_license_state': value.echeck_drivers_license_state,
|
|
685
784
|
'email': value.email,
|
|
686
785
|
'gift': value.gift,
|
|
687
786
|
'gift_email': value.gift_email,
|
|
@@ -61,6 +61,12 @@ export interface ConversationPbxAudio {
|
|
|
61
61
|
* @memberof ConversationPbxAudio
|
|
62
62
|
*/
|
|
63
63
|
mime_type?: string;
|
|
64
|
+
/**
|
|
65
|
+
* URL
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ConversationPbxAudio
|
|
68
|
+
*/
|
|
69
|
+
url?: string;
|
|
64
70
|
/**
|
|
65
71
|
* User Id
|
|
66
72
|
* @type {number}
|
|
@@ -92,6 +98,7 @@ export function ConversationPbxAudioFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
92
98
|
'filename': !exists(json, 'filename') ? undefined : json['filename'],
|
|
93
99
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
94
100
|
'mime_type': !exists(json, 'mime_type') ? undefined : json['mime_type'],
|
|
101
|
+
'url': !exists(json, 'url') ? undefined : json['url'],
|
|
95
102
|
'user_id': !exists(json, 'user_id') ? undefined : json['user_id'],
|
|
96
103
|
'version': !exists(json, 'version') ? undefined : json['version'],
|
|
97
104
|
};
|
|
@@ -113,6 +120,7 @@ export function ConversationPbxAudioToJSON(value?: ConversationPbxAudio | null):
|
|
|
113
120
|
'filename': value.filename,
|
|
114
121
|
'merchant_id': value.merchant_id,
|
|
115
122
|
'mime_type': value.mime_type,
|
|
123
|
+
'url': value.url,
|
|
116
124
|
'user_id': value.user_id,
|
|
117
125
|
'version': value.version,
|
|
118
126
|
};
|
package/src/models/OrderUtm.ts
CHANGED
|
@@ -97,6 +97,42 @@ export interface OrderUtm {
|
|
|
97
97
|
* @memberof OrderUtm
|
|
98
98
|
*/
|
|
99
99
|
glcid?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof OrderUtm
|
|
104
|
+
*/
|
|
105
|
+
itm_campaign?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof OrderUtm
|
|
110
|
+
*/
|
|
111
|
+
itm_content?: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof OrderUtm
|
|
116
|
+
*/
|
|
117
|
+
itm_id?: string;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof OrderUtm
|
|
122
|
+
*/
|
|
123
|
+
itm_medium?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof OrderUtm
|
|
128
|
+
*/
|
|
129
|
+
itm_source?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof OrderUtm
|
|
134
|
+
*/
|
|
135
|
+
itm_term?: string;
|
|
100
136
|
/**
|
|
101
137
|
*
|
|
102
138
|
* @type {string}
|
|
@@ -188,6 +224,12 @@ export function OrderUtmFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
188
224
|
'fbclid': !exists(json, 'fbclid') ? undefined : json['fbclid'],
|
|
189
225
|
'gbraid': !exists(json, 'gbraid') ? undefined : json['gbraid'],
|
|
190
226
|
'glcid': !exists(json, 'glcid') ? undefined : json['glcid'],
|
|
227
|
+
'itm_campaign': !exists(json, 'itm_campaign') ? undefined : json['itm_campaign'],
|
|
228
|
+
'itm_content': !exists(json, 'itm_content') ? undefined : json['itm_content'],
|
|
229
|
+
'itm_id': !exists(json, 'itm_id') ? undefined : json['itm_id'],
|
|
230
|
+
'itm_medium': !exists(json, 'itm_medium') ? undefined : json['itm_medium'],
|
|
231
|
+
'itm_source': !exists(json, 'itm_source') ? undefined : json['itm_source'],
|
|
232
|
+
'itm_term': !exists(json, 'itm_term') ? undefined : json['itm_term'],
|
|
191
233
|
'msclkid': !exists(json, 'msclkid') ? undefined : json['msclkid'],
|
|
192
234
|
'ttclid': !exists(json, 'ttclid') ? undefined : json['ttclid'],
|
|
193
235
|
'uc_message_id': !exists(json, 'uc_message_id') ? undefined : json['uc_message_id'],
|
|
@@ -224,6 +266,12 @@ export function OrderUtmToJSON(value?: OrderUtm | null): any {
|
|
|
224
266
|
'fbclid': value.fbclid,
|
|
225
267
|
'gbraid': value.gbraid,
|
|
226
268
|
'glcid': value.glcid,
|
|
269
|
+
'itm_campaign': value.itm_campaign,
|
|
270
|
+
'itm_content': value.itm_content,
|
|
271
|
+
'itm_id': value.itm_id,
|
|
272
|
+
'itm_medium': value.itm_medium,
|
|
273
|
+
'itm_source': value.itm_source,
|
|
274
|
+
'itm_term': value.itm_term,
|
|
227
275
|
'msclkid': value.msclkid,
|
|
228
276
|
'ttclid': value.ttclid,
|
|
229
277
|
'uc_message_id': value.uc_message_id,
|