ultracart_rest_api_v2_typescript 3.10.162 → 3.10.164
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 +19 -13
- package/dist/api.d.ts +16 -10
- package/dist/api.js +11 -11
- 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.164
|
|
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.164 --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.164 | 10/23/2023 | workflow tasks api |
|
|
58
|
+
| 3.10.163 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
|
|
57
59
|
| 3.10.162 | 09/28/2023 | dw bi - add aggregation constant of none |
|
|
58
60
|
| 3.10.161 | 09/22/2023 | dwbi - new option to control order-by of result set |
|
|
59
61
|
| 3.10.160 | 09/15/2023 | new item fields for additional barcodes |
|
package/api.ts
CHANGED
|
@@ -4619,6 +4619,12 @@ export interface CartSettingsPaymentCreditCard {
|
|
|
4619
4619
|
* @memberof CartSettingsPaymentCreditCard
|
|
4620
4620
|
*/
|
|
4621
4621
|
collect_credit_card_verification_number?: boolean;
|
|
4622
|
+
/**
|
|
4623
|
+
* If this field is null or the total is greater than or equal to this value then collect the CVV2.
|
|
4624
|
+
* @type {number}
|
|
4625
|
+
* @memberof CartSettingsPaymentCreditCard
|
|
4626
|
+
*/
|
|
4627
|
+
collect_credit_card_verification_number_minimum?: number;
|
|
4622
4628
|
/**
|
|
4623
4629
|
* Available credit card types
|
|
4624
4630
|
* @type {Array<string>}
|
|
@@ -47474,8 +47480,8 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
47474
47480
|
};
|
|
47475
47481
|
},
|
|
47476
47482
|
/**
|
|
47477
|
-
* Get a presigned
|
|
47478
|
-
* @summary Get a presigned
|
|
47483
|
+
* Get a presigned conversation multimedia upload URL
|
|
47484
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
47479
47485
|
* @param {string} extension
|
|
47480
47486
|
* @param {*} [options] Override http request option.
|
|
47481
47487
|
* @throws {RequiredError}
|
|
@@ -48926,8 +48932,8 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
48926
48932
|
};
|
|
48927
48933
|
},
|
|
48928
48934
|
/**
|
|
48929
|
-
* Get a presigned
|
|
48930
|
-
* @summary Get a presigned
|
|
48935
|
+
* Get a presigned conversation multimedia upload URL
|
|
48936
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
48931
48937
|
* @param {string} extension
|
|
48932
48938
|
* @param {*} [options] Override http request option.
|
|
48933
48939
|
* @throws {RequiredError}
|
|
@@ -49517,8 +49523,8 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
49517
49523
|
return ConversationApiFp(configuration).getConversationMessages(conversation_uuid, since, limit, options)(fetch, basePath);
|
|
49518
49524
|
},
|
|
49519
49525
|
/**
|
|
49520
|
-
* Get a presigned
|
|
49521
|
-
* @summary Get a presigned
|
|
49526
|
+
* Get a presigned conversation multimedia upload URL
|
|
49527
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
49522
49528
|
* @param {string} extension
|
|
49523
49529
|
* @param {*} [options] Override http request option.
|
|
49524
49530
|
* @throws {RequiredError}
|
|
@@ -49877,8 +49883,8 @@ export interface ConversationApiInterface {
|
|
|
49877
49883
|
getConversationMessages(conversation_uuid: string, since: number, limit?: number, options?: any): Promise<ConversationMessagesResponse>;
|
|
49878
49884
|
|
|
49879
49885
|
/**
|
|
49880
|
-
* Get a presigned
|
|
49881
|
-
* @summary Get a presigned
|
|
49886
|
+
* Get a presigned conversation multimedia upload URL
|
|
49887
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
49882
49888
|
* @param {string} extension
|
|
49883
49889
|
* @param {*} [options] Override http request option.
|
|
49884
49890
|
* @throws {RequiredError}
|
|
@@ -50265,8 +50271,8 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
50265
50271
|
}
|
|
50266
50272
|
|
|
50267
50273
|
/**
|
|
50268
|
-
* Get a presigned
|
|
50269
|
-
* @summary Get a presigned
|
|
50274
|
+
* Get a presigned conversation multimedia upload URL
|
|
50275
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
50270
50276
|
* @param {string} extension
|
|
50271
50277
|
* @param {*} [options] Override http request option.
|
|
50272
50278
|
* @throws {RequiredError}
|
|
@@ -61409,7 +61415,7 @@ export const OauthApiFetchParamCreator = function (configuration?: Configuration
|
|
|
61409
61415
|
// oauth required
|
|
61410
61416
|
if (configuration && configuration.accessToken) {
|
|
61411
61417
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
61412
|
-
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
61418
|
+
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "workflow_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "workflow_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
61413
61419
|
: configuration.accessToken;
|
|
61414
61420
|
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
61415
61421
|
}
|
|
@@ -61497,7 +61503,7 @@ export const OauthApiFetchParamCreator = function (configuration?: Configuration
|
|
|
61497
61503
|
// oauth required
|
|
61498
61504
|
if (configuration && configuration.accessToken) {
|
|
61499
61505
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
61500
|
-
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
61506
|
+
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "workflow_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "workflow_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
61501
61507
|
: configuration.accessToken;
|
|
61502
61508
|
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
61503
61509
|
}
|
|
@@ -72459,7 +72465,7 @@ export const StorefrontApiFetchParamCreator = function (configuration?: Configur
|
|
|
72459
72465
|
// oauth required
|
|
72460
72466
|
if (configuration && configuration.accessToken) {
|
|
72461
72467
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
72462
|
-
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
72468
|
+
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "workflow_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "workflow_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
72463
72469
|
: configuration.accessToken;
|
|
72464
72470
|
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
72465
72471
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -4505,6 +4505,12 @@ export interface CartSettingsPaymentCreditCard {
|
|
|
4505
4505
|
* @memberof CartSettingsPaymentCreditCard
|
|
4506
4506
|
*/
|
|
4507
4507
|
collect_credit_card_verification_number?: boolean;
|
|
4508
|
+
/**
|
|
4509
|
+
* If this field is null or the total is greater than or equal to this value then collect the CVV2.
|
|
4510
|
+
* @type {number}
|
|
4511
|
+
* @memberof CartSettingsPaymentCreditCard
|
|
4512
|
+
*/
|
|
4513
|
+
collect_credit_card_verification_number_minimum?: number;
|
|
4508
4514
|
/**
|
|
4509
4515
|
* Available credit card types
|
|
4510
4516
|
* @type {Array<string>}
|
|
@@ -42548,8 +42554,8 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
42548
42554
|
*/
|
|
42549
42555
|
getConversationMessages(conversation_uuid: string, since: number, limit?: number, options?: any): FetchArgs;
|
|
42550
42556
|
/**
|
|
42551
|
-
* Get a presigned
|
|
42552
|
-
* @summary Get a presigned
|
|
42557
|
+
* Get a presigned conversation multimedia upload URL
|
|
42558
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
42553
42559
|
* @param {string} extension
|
|
42554
42560
|
* @param {*} [options] Override http request option.
|
|
42555
42561
|
* @throws {RequiredError}
|
|
@@ -42835,8 +42841,8 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
42835
42841
|
*/
|
|
42836
42842
|
getConversationMessages(conversation_uuid: string, since: number, limit?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationMessagesResponse>;
|
|
42837
42843
|
/**
|
|
42838
|
-
* Get a presigned
|
|
42839
|
-
* @summary Get a presigned
|
|
42844
|
+
* Get a presigned conversation multimedia upload URL
|
|
42845
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
42840
42846
|
* @param {string} extension
|
|
42841
42847
|
* @param {*} [options] Override http request option.
|
|
42842
42848
|
* @throws {RequiredError}
|
|
@@ -43122,8 +43128,8 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
43122
43128
|
*/
|
|
43123
43129
|
getConversationMessages(conversation_uuid: string, since: number, limit?: number, options?: any): Promise<ConversationMessagesResponse>;
|
|
43124
43130
|
/**
|
|
43125
|
-
* Get a presigned
|
|
43126
|
-
* @summary Get a presigned
|
|
43131
|
+
* Get a presigned conversation multimedia upload URL
|
|
43132
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
43127
43133
|
* @param {string} extension
|
|
43128
43134
|
* @param {*} [options] Override http request option.
|
|
43129
43135
|
* @throws {RequiredError}
|
|
@@ -43424,8 +43430,8 @@ export interface ConversationApiInterface {
|
|
|
43424
43430
|
*/
|
|
43425
43431
|
getConversationMessages(conversation_uuid: string, since: number, limit?: number, options?: any): Promise<ConversationMessagesResponse>;
|
|
43426
43432
|
/**
|
|
43427
|
-
* Get a presigned
|
|
43428
|
-
* @summary Get a presigned
|
|
43433
|
+
* Get a presigned conversation multimedia upload URL
|
|
43434
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
43429
43435
|
* @param {string} extension
|
|
43430
43436
|
* @param {*} [options] Override http request option.
|
|
43431
43437
|
* @throws {RequiredError}
|
|
@@ -43748,8 +43754,8 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
43748
43754
|
*/
|
|
43749
43755
|
getConversationMessages(conversation_uuid: string, since: number, limit?: number, options?: any): Promise<ConversationMessagesResponse>;
|
|
43750
43756
|
/**
|
|
43751
|
-
* Get a presigned
|
|
43752
|
-
* @summary Get a presigned
|
|
43757
|
+
* Get a presigned conversation multimedia upload URL
|
|
43758
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
43753
43759
|
* @param {string} extension
|
|
43754
43760
|
* @param {*} [options] Override http request option.
|
|
43755
43761
|
* @throws {RequiredError}
|
package/dist/api.js
CHANGED
|
@@ -7187,8 +7187,8 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
7187
7187
|
};
|
|
7188
7188
|
},
|
|
7189
7189
|
/**
|
|
7190
|
-
* Get a presigned
|
|
7191
|
-
* @summary Get a presigned
|
|
7190
|
+
* Get a presigned conversation multimedia upload URL
|
|
7191
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
7192
7192
|
* @param {string} extension
|
|
7193
7193
|
* @param {*} [options] Override http request option.
|
|
7194
7194
|
* @throws {RequiredError}
|
|
@@ -8510,8 +8510,8 @@ var ConversationApiFp = function (configuration) {
|
|
|
8510
8510
|
};
|
|
8511
8511
|
},
|
|
8512
8512
|
/**
|
|
8513
|
-
* Get a presigned
|
|
8514
|
-
* @summary Get a presigned
|
|
8513
|
+
* Get a presigned conversation multimedia upload URL
|
|
8514
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
8515
8515
|
* @param {string} extension
|
|
8516
8516
|
* @param {*} [options] Override http request option.
|
|
8517
8517
|
* @throws {RequiredError}
|
|
@@ -9122,8 +9122,8 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
9122
9122
|
return (0, exports.ConversationApiFp)(configuration).getConversationMessages(conversation_uuid, since, limit, options)(fetch, basePath);
|
|
9123
9123
|
},
|
|
9124
9124
|
/**
|
|
9125
|
-
* Get a presigned
|
|
9126
|
-
* @summary Get a presigned
|
|
9125
|
+
* Get a presigned conversation multimedia upload URL
|
|
9126
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
9127
9127
|
* @param {string} extension
|
|
9128
9128
|
* @param {*} [options] Override http request option.
|
|
9129
9129
|
* @throws {RequiredError}
|
|
@@ -9501,8 +9501,8 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
9501
9501
|
return (0, exports.ConversationApiFp)(this.configuration).getConversationMessages(conversation_uuid, since, limit, options)(this.fetch, this.basePath);
|
|
9502
9502
|
};
|
|
9503
9503
|
/**
|
|
9504
|
-
* Get a presigned
|
|
9505
|
-
* @summary Get a presigned
|
|
9504
|
+
* Get a presigned conversation multimedia upload URL
|
|
9505
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
9506
9506
|
* @param {string} extension
|
|
9507
9507
|
* @param {*} [options] Override http request option.
|
|
9508
9508
|
* @throws {RequiredError}
|
|
@@ -18911,7 +18911,7 @@ var OauthApiFetchParamCreator = function (configuration) {
|
|
|
18911
18911
|
// oauth required
|
|
18912
18912
|
if (configuration && configuration.accessToken) {
|
|
18913
18913
|
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
18914
|
-
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
18914
|
+
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "workflow_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "workflow_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
18915
18915
|
: configuration.accessToken;
|
|
18916
18916
|
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
18917
18917
|
}
|
|
@@ -18986,7 +18986,7 @@ var OauthApiFetchParamCreator = function (configuration) {
|
|
|
18986
18986
|
// oauth required
|
|
18987
18987
|
if (configuration && configuration.accessToken) {
|
|
18988
18988
|
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
18989
|
-
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
18989
|
+
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "workflow_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "workflow_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
18990
18990
|
: configuration.accessToken;
|
|
18991
18991
|
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
18992
18992
|
}
|
|
@@ -28513,7 +28513,7 @@ var StorefrontApiFetchParamCreator = function (configuration) {
|
|
|
28513
28513
|
// oauth required
|
|
28514
28514
|
if (configuration && configuration.accessToken) {
|
|
28515
28515
|
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
28516
|
-
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
28516
|
+
? configuration.accessToken("ultraCartOauth", ["ultrabooks_write", "auto_order_write", "coupon_read", "affiliate_read", "workflow_read", "coupon_write", "channel_partner_read", "tax_read", "conversation_write", "fulfillment_write", "tax_write", "gift_certificate_write", "workflow_write", "channel_partner_write", "item_read", "fulfillment_read", "webhook_write", "chargeback_write", "user_write", "gift_certificate_read", "checkout_write", "storefront_read", "webhook_read", "item_write", "auto_order_read", "customer_read", "user_read", "configuration_read", "customer_write", "order_read", "conversation_read", "affiliate_write", "storefront_write", "ultrabooks_read", "order_write", "chargeback_read", "integration_log_write", "configuration_write", "checkout_read", "integration_log_read"])
|
|
28517
28517
|
: configuration.accessToken;
|
|
28518
28518
|
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
28519
28519
|
}
|