ultracart_rest_api_v2_typescript 4.0.179 → 4.0.180
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.180
|
|
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.180 --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.180 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
|
|
57
58
|
| 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
|
|
58
59
|
| 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
|
|
59
60
|
| 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
|
|
@@ -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
|
@@ -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
|
};
|