ultracart_rest_api_v2_typescript 4.0.152 → 4.0.153
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.153
|
|
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.153 --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.153 | 04/28/2023 | item - pricing tier level flag for exempt from min item count |
|
|
57
58
|
| 4.0.152 | 04/27/2023 | order - expose dual vaulted identifiers |
|
|
58
59
|
| 4.0.151 | 04/24/2023 | internal development - data warehouse |
|
|
59
60
|
| 4.0.150 | 04/21/2023 | internal development - data warehouse |
|
|
@@ -21,6 +21,12 @@ export interface ItemPricingTierLimit {
|
|
|
21
21
|
* @memberof ItemPricingTierLimit
|
|
22
22
|
*/
|
|
23
23
|
cumulative_order_limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Exempt from Minimum Item Count
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ItemPricingTierLimit
|
|
28
|
+
*/
|
|
29
|
+
exempt_from_minimum_item_count?: boolean;
|
|
24
30
|
/**
|
|
25
31
|
* Individual order limit
|
|
26
32
|
* @type {number}
|
|
@@ -25,6 +25,7 @@ function ItemPricingTierLimitFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'cumulative_order_limit': !(0, runtime_1.exists)(json, 'cumulative_order_limit') ? undefined : json['cumulative_order_limit'],
|
|
28
|
+
'exempt_from_minimum_item_count': !(0, runtime_1.exists)(json, 'exempt_from_minimum_item_count') ? undefined : json['exempt_from_minimum_item_count'],
|
|
28
29
|
'individual_order_limit': !(0, runtime_1.exists)(json, 'individual_order_limit') ? undefined : json['individual_order_limit'],
|
|
29
30
|
'multiple_quantity': !(0, runtime_1.exists)(json, 'multiple_quantity') ? undefined : json['multiple_quantity'],
|
|
30
31
|
};
|
|
@@ -39,6 +40,7 @@ function ItemPricingTierLimitToJSON(value) {
|
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
42
|
'cumulative_order_limit': value.cumulative_order_limit,
|
|
43
|
+
'exempt_from_minimum_item_count': value.exempt_from_minimum_item_count,
|
|
42
44
|
'individual_order_limit': value.individual_order_limit,
|
|
43
45
|
'multiple_quantity': value.multiple_quantity,
|
|
44
46
|
};
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface ItemPricingTierLimit {
|
|
|
25
25
|
* @memberof ItemPricingTierLimit
|
|
26
26
|
*/
|
|
27
27
|
cumulative_order_limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Exempt from Minimum Item Count
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof ItemPricingTierLimit
|
|
32
|
+
*/
|
|
33
|
+
exempt_from_minimum_item_count?: boolean;
|
|
28
34
|
/**
|
|
29
35
|
* Individual order limit
|
|
30
36
|
* @type {number}
|
|
@@ -50,6 +56,7 @@ export function ItemPricingTierLimitFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
50
56
|
return {
|
|
51
57
|
|
|
52
58
|
'cumulative_order_limit': !exists(json, 'cumulative_order_limit') ? undefined : json['cumulative_order_limit'],
|
|
59
|
+
'exempt_from_minimum_item_count': !exists(json, 'exempt_from_minimum_item_count') ? undefined : json['exempt_from_minimum_item_count'],
|
|
53
60
|
'individual_order_limit': !exists(json, 'individual_order_limit') ? undefined : json['individual_order_limit'],
|
|
54
61
|
'multiple_quantity': !exists(json, 'multiple_quantity') ? undefined : json['multiple_quantity'],
|
|
55
62
|
};
|
|
@@ -65,6 +72,7 @@ export function ItemPricingTierLimitToJSON(value?: ItemPricingTierLimit | null):
|
|
|
65
72
|
return {
|
|
66
73
|
|
|
67
74
|
'cumulative_order_limit': value.cumulative_order_limit,
|
|
75
|
+
'exempt_from_minimum_item_count': value.exempt_from_minimum_item_count,
|
|
68
76
|
'individual_order_limit': value.individual_order_limit,
|
|
69
77
|
'multiple_quantity': value.multiple_quantity,
|
|
70
78
|
};
|