ultracart_rest_api_v2_typescript 4.0.179 → 4.0.181
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/dist/apis/ConversationApi.d.ts +8 -8
- package/dist/apis/ConversationApi.js +4 -4
- package/dist/apis/OauthApi.js +2 -2
- package/dist/apis/StorefrontApi.js +1 -1
- package/dist/models/CartSettingsPaymentCreditCard.d.ts +6 -0
- package/dist/models/CartSettingsPaymentCreditCard.js +2 -0
- package/package.json +1 -1
- package/src/apis/ConversationApi.ts +8 -8
- package/src/apis/OauthApi.ts +2 -2
- package/src/apis/StorefrontApi.ts +1 -1
- package/src/models/CartSettingsPaymentCreditCard.ts +8 -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.181
|
|
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.181 --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
|
+
| 4.0.181 | 10/23/2023 | workflow tasks api |
|
|
58
|
+
| 4.0.180 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
|
|
57
59
|
| 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
|
|
58
60
|
| 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
|
|
59
61
|
| 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
|
|
@@ -297,8 +297,8 @@ export interface ConversationApiInterface {
|
|
|
297
297
|
*/
|
|
298
298
|
getConversationMessages(requestParameters: GetConversationMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMessagesResponse>;
|
|
299
299
|
/**
|
|
300
|
-
* Get a presigned
|
|
301
|
-
* @summary Get a presigned
|
|
300
|
+
* Get a presigned conversation multimedia upload URL
|
|
301
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
302
302
|
* @param {string} extension
|
|
303
303
|
* @param {*} [options] Override http request option.
|
|
304
304
|
* @throws {RequiredError}
|
|
@@ -306,8 +306,8 @@ export interface ConversationApiInterface {
|
|
|
306
306
|
*/
|
|
307
307
|
getConversationMultimediaUploadUrlRaw(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationMultimediaUploadUrlResponse>>;
|
|
308
308
|
/**
|
|
309
|
-
* Get a presigned
|
|
310
|
-
* Get a presigned
|
|
309
|
+
* Get a presigned conversation multimedia upload URL
|
|
310
|
+
* Get a presigned conversation multimedia upload URL
|
|
311
311
|
*/
|
|
312
312
|
getConversationMultimediaUploadUrl(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
313
313
|
/**
|
|
@@ -741,13 +741,13 @@ export declare class ConversationApi extends runtime.BaseAPI implements Conversa
|
|
|
741
741
|
*/
|
|
742
742
|
getConversationMessages(requestParameters: GetConversationMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMessagesResponse>;
|
|
743
743
|
/**
|
|
744
|
-
* Get a presigned
|
|
745
|
-
* Get a presigned
|
|
744
|
+
* Get a presigned conversation multimedia upload URL
|
|
745
|
+
* Get a presigned conversation multimedia upload URL
|
|
746
746
|
*/
|
|
747
747
|
getConversationMultimediaUploadUrlRaw(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationMultimediaUploadUrlResponse>>;
|
|
748
748
|
/**
|
|
749
|
-
* Get a presigned
|
|
750
|
-
* Get a presigned
|
|
749
|
+
* Get a presigned conversation multimedia upload URL
|
|
750
|
+
* Get a presigned conversation multimedia upload URL
|
|
751
751
|
*/
|
|
752
752
|
getConversationMultimediaUploadUrl(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
753
753
|
/**
|
|
@@ -882,8 +882,8 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
882
882
|
});
|
|
883
883
|
};
|
|
884
884
|
/**
|
|
885
|
-
* Get a presigned
|
|
886
|
-
* Get a presigned
|
|
885
|
+
* Get a presigned conversation multimedia upload URL
|
|
886
|
+
* Get a presigned conversation multimedia upload URL
|
|
887
887
|
*/
|
|
888
888
|
ConversationApi.prototype.getConversationMultimediaUploadUrlRaw = function (requestParameters, initOverrides) {
|
|
889
889
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -923,8 +923,8 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
923
923
|
});
|
|
924
924
|
};
|
|
925
925
|
/**
|
|
926
|
-
* Get a presigned
|
|
927
|
-
* Get a presigned
|
|
926
|
+
* Get a presigned conversation multimedia upload URL
|
|
927
|
+
* Get a presigned conversation multimedia upload URL
|
|
928
928
|
*/
|
|
929
929
|
ConversationApi.prototype.getConversationMultimediaUploadUrl = function (requestParameters, initOverrides) {
|
|
930
930
|
return __awaiter(this, void 0, void 0, function () {
|
package/dist/apis/OauthApi.js
CHANGED
|
@@ -100,7 +100,7 @@ var OauthApi = /** @class */ (function (_super) {
|
|
|
100
100
|
// oauth required
|
|
101
101
|
_a = headerParameters;
|
|
102
102
|
_b = "Authorization";
|
|
103
|
-
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"])];
|
|
103
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"])];
|
|
104
104
|
case 1:
|
|
105
105
|
// oauth required
|
|
106
106
|
_a[_b] = _c.sent();
|
|
@@ -192,7 +192,7 @@ var OauthApi = /** @class */ (function (_super) {
|
|
|
192
192
|
// oauth required
|
|
193
193
|
_a = headerParameters;
|
|
194
194
|
_b = "Authorization";
|
|
195
|
-
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"])];
|
|
195
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"])];
|
|
196
196
|
case 1:
|
|
197
197
|
// oauth required
|
|
198
198
|
_a[_b] = _c.sent();
|
|
@@ -6722,7 +6722,7 @@ var StorefrontApi = /** @class */ (function (_super) {
|
|
|
6722
6722
|
// oauth required
|
|
6723
6723
|
_a = headerParameters;
|
|
6724
6724
|
_b = "Authorization";
|
|
6725
|
-
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"])];
|
|
6725
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"])];
|
|
6726
6726
|
case 1:
|
|
6727
6727
|
// oauth required
|
|
6728
6728
|
_a[_b] = _c.sent();
|
|
@@ -21,6 +21,12 @@ export interface CartSettingsPaymentCreditCard {
|
|
|
21
21
|
* @memberof CartSettingsPaymentCreditCard
|
|
22
22
|
*/
|
|
23
23
|
collect_credit_card_verification_number?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* If this field is null or the total is greater than or equal to this value then collect the CVV2.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CartSettingsPaymentCreditCard
|
|
28
|
+
*/
|
|
29
|
+
collect_credit_card_verification_number_minimum?: number;
|
|
24
30
|
/**
|
|
25
31
|
* Available credit card types
|
|
26
32
|
* @type {Array<string>}
|
|
@@ -25,6 +25,7 @@ function CartSettingsPaymentCreditCardFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'collect_credit_card_verification_number': !(0, runtime_1.exists)(json, 'collect_credit_card_verification_number') ? undefined : json['collect_credit_card_verification_number'],
|
|
28
|
+
'collect_credit_card_verification_number_minimum': !(0, runtime_1.exists)(json, 'collect_credit_card_verification_number_minimum') ? undefined : json['collect_credit_card_verification_number_minimum'],
|
|
28
29
|
'credit_card_types': !(0, runtime_1.exists)(json, 'credit_card_types') ? undefined : json['credit_card_types'],
|
|
29
30
|
'hosted_fields_shopping_cart_token': !(0, runtime_1.exists)(json, 'hosted_fields_shopping_cart_token') ? undefined : json['hosted_fields_shopping_cart_token'],
|
|
30
31
|
};
|
|
@@ -39,6 +40,7 @@ function CartSettingsPaymentCreditCardToJSON(value) {
|
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
42
|
'collect_credit_card_verification_number': value.collect_credit_card_verification_number,
|
|
43
|
+
'collect_credit_card_verification_number_minimum': value.collect_credit_card_verification_number_minimum,
|
|
42
44
|
'credit_card_types': value.credit_card_types,
|
|
43
45
|
'hosted_fields_shopping_cart_token': value.hosted_fields_shopping_cart_token,
|
|
44
46
|
};
|
package/package.json
CHANGED
|
@@ -449,8 +449,8 @@ export interface ConversationApiInterface {
|
|
|
449
449
|
getConversationMessages(requestParameters: GetConversationMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMessagesResponse>;
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
|
-
* Get a presigned
|
|
453
|
-
* @summary Get a presigned
|
|
452
|
+
* Get a presigned conversation multimedia upload URL
|
|
453
|
+
* @summary Get a presigned conversation multimedia upload URL
|
|
454
454
|
* @param {string} extension
|
|
455
455
|
* @param {*} [options] Override http request option.
|
|
456
456
|
* @throws {RequiredError}
|
|
@@ -459,8 +459,8 @@ export interface ConversationApiInterface {
|
|
|
459
459
|
getConversationMultimediaUploadUrlRaw(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationMultimediaUploadUrlResponse>>;
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
|
-
* Get a presigned
|
|
463
|
-
* Get a presigned
|
|
462
|
+
* Get a presigned conversation multimedia upload URL
|
|
463
|
+
* Get a presigned conversation multimedia upload URL
|
|
464
464
|
*/
|
|
465
465
|
getConversationMultimediaUploadUrl(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMultimediaUploadUrlResponse>;
|
|
466
466
|
|
|
@@ -1351,8 +1351,8 @@ export class ConversationApi extends runtime.BaseAPI implements ConversationApiI
|
|
|
1351
1351
|
}
|
|
1352
1352
|
|
|
1353
1353
|
/**
|
|
1354
|
-
* Get a presigned
|
|
1355
|
-
* Get a presigned
|
|
1354
|
+
* Get a presigned conversation multimedia upload URL
|
|
1355
|
+
* Get a presigned conversation multimedia upload URL
|
|
1356
1356
|
*/
|
|
1357
1357
|
async getConversationMultimediaUploadUrlRaw(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationMultimediaUploadUrlResponse>> {
|
|
1358
1358
|
if (requestParameters.extension === null || requestParameters.extension === undefined) {
|
|
@@ -1383,8 +1383,8 @@ export class ConversationApi extends runtime.BaseAPI implements ConversationApiI
|
|
|
1383
1383
|
}
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
1386
|
-
* Get a presigned
|
|
1387
|
-
* Get a presigned
|
|
1386
|
+
* Get a presigned conversation multimedia upload URL
|
|
1387
|
+
* Get a presigned conversation multimedia upload URL
|
|
1388
1388
|
*/
|
|
1389
1389
|
async getConversationMultimediaUploadUrl(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMultimediaUploadUrlResponse> {
|
|
1390
1390
|
const response = await this.getConversationMultimediaUploadUrlRaw(requestParameters, initOverrides);
|
package/src/apis/OauthApi.ts
CHANGED
|
@@ -113,7 +113,7 @@ export class OauthApi extends runtime.BaseAPI implements OauthApiInterface {
|
|
|
113
113
|
|
|
114
114
|
if (this.configuration && this.configuration.accessToken) {
|
|
115
115
|
// oauth required
|
|
116
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"]);
|
|
116
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"]);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -197,7 +197,7 @@ export class OauthApi extends runtime.BaseAPI implements OauthApiInterface {
|
|
|
197
197
|
|
|
198
198
|
if (this.configuration && this.configuration.accessToken) {
|
|
199
199
|
// oauth required
|
|
200
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"]);
|
|
200
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"]);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -9101,7 +9101,7 @@ export class StorefrontApi extends runtime.BaseAPI implements StorefrontApiInter
|
|
|
9101
9101
|
|
|
9102
9102
|
if (this.configuration && this.configuration.accessToken) {
|
|
9103
9103
|
// oauth required
|
|
9104
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"]);
|
|
9104
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"]);
|
|
9105
9105
|
}
|
|
9106
9106
|
|
|
9107
9107
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -25,6 +25,12 @@ export interface CartSettingsPaymentCreditCard {
|
|
|
25
25
|
* @memberof CartSettingsPaymentCreditCard
|
|
26
26
|
*/
|
|
27
27
|
collect_credit_card_verification_number?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* If this field is null or the total is greater than or equal to this value then collect the CVV2.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof CartSettingsPaymentCreditCard
|
|
32
|
+
*/
|
|
33
|
+
collect_credit_card_verification_number_minimum?: number;
|
|
28
34
|
/**
|
|
29
35
|
* Available credit card types
|
|
30
36
|
* @type {Array<string>}
|
|
@@ -50,6 +56,7 @@ export function CartSettingsPaymentCreditCardFromJSONTyped(json: any, ignoreDisc
|
|
|
50
56
|
return {
|
|
51
57
|
|
|
52
58
|
'collect_credit_card_verification_number': !exists(json, 'collect_credit_card_verification_number') ? undefined : json['collect_credit_card_verification_number'],
|
|
59
|
+
'collect_credit_card_verification_number_minimum': !exists(json, 'collect_credit_card_verification_number_minimum') ? undefined : json['collect_credit_card_verification_number_minimum'],
|
|
53
60
|
'credit_card_types': !exists(json, 'credit_card_types') ? undefined : json['credit_card_types'],
|
|
54
61
|
'hosted_fields_shopping_cart_token': !exists(json, 'hosted_fields_shopping_cart_token') ? undefined : json['hosted_fields_shopping_cart_token'],
|
|
55
62
|
};
|
|
@@ -65,6 +72,7 @@ export function CartSettingsPaymentCreditCardToJSON(value?: CartSettingsPaymentC
|
|
|
65
72
|
return {
|
|
66
73
|
|
|
67
74
|
'collect_credit_card_verification_number': value.collect_credit_card_verification_number,
|
|
75
|
+
'collect_credit_card_verification_number_minimum': value.collect_credit_card_verification_number_minimum,
|
|
68
76
|
'credit_card_types': value.credit_card_types,
|
|
69
77
|
'hosted_fields_shopping_cart_token': value.hosted_fields_shopping_cart_token,
|
|
70
78
|
};
|