ultracart_rest_api_v2_typescript 4.0.224 → 4.0.225
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.225
|
|
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.225 --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.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
|
|
57
58
|
| 4.0.224 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
|
|
58
59
|
| 4.0.223 | 05/28/2024 | added property to OrderQuery object to allow querying from cache |
|
|
59
60
|
| 4.0.222 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface ItemShippingDestinationMarkup
|
|
16
16
|
*/
|
|
17
17
|
export interface ItemShippingDestinationMarkup {
|
|
18
|
+
/**
|
|
19
|
+
* Adult Signature Required (only updated if not-null value provided)
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ItemShippingDestinationMarkup
|
|
22
|
+
*/
|
|
23
|
+
adult_signature_required?: boolean;
|
|
18
24
|
/**
|
|
19
25
|
* Country code (ISO-3166 two letter)
|
|
20
26
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ function ItemShippingDestinationMarkupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
+
'adult_signature_required': !(0, runtime_1.exists)(json, 'adult_signature_required') ? undefined : json['adult_signature_required'],
|
|
27
28
|
'country_code': !(0, runtime_1.exists)(json, 'country_code') ? undefined : json['country_code'],
|
|
28
29
|
'flat_fee': !(0, runtime_1.exists)(json, 'flat_fee') ? undefined : json['flat_fee'],
|
|
29
30
|
'per_item': !(0, runtime_1.exists)(json, 'per_item') ? undefined : json['per_item'],
|
|
@@ -41,6 +42,7 @@ function ItemShippingDestinationMarkupToJSON(value) {
|
|
|
41
42
|
return null;
|
|
42
43
|
}
|
|
43
44
|
return {
|
|
45
|
+
'adult_signature_required': value.adult_signature_required,
|
|
44
46
|
'country_code': value.country_code,
|
|
45
47
|
'flat_fee': value.flat_fee,
|
|
46
48
|
'per_item': value.per_item,
|
package/package.json
CHANGED
|
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
|
|
|
19
19
|
* @interface ItemShippingDestinationMarkup
|
|
20
20
|
*/
|
|
21
21
|
export interface ItemShippingDestinationMarkup {
|
|
22
|
+
/**
|
|
23
|
+
* Adult Signature Required (only updated if not-null value provided)
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ItemShippingDestinationMarkup
|
|
26
|
+
*/
|
|
27
|
+
adult_signature_required?: boolean;
|
|
22
28
|
/**
|
|
23
29
|
* Country code (ISO-3166 two letter)
|
|
24
30
|
* @type {string}
|
|
@@ -67,6 +73,7 @@ export function ItemShippingDestinationMarkupFromJSONTyped(json: any, ignoreDisc
|
|
|
67
73
|
}
|
|
68
74
|
return {
|
|
69
75
|
|
|
76
|
+
'adult_signature_required': !exists(json, 'adult_signature_required') ? undefined : json['adult_signature_required'],
|
|
70
77
|
'country_code': !exists(json, 'country_code') ? undefined : json['country_code'],
|
|
71
78
|
'flat_fee': !exists(json, 'flat_fee') ? undefined : json['flat_fee'],
|
|
72
79
|
'per_item': !exists(json, 'per_item') ? undefined : json['per_item'],
|
|
@@ -85,6 +92,7 @@ export function ItemShippingDestinationMarkupToJSON(value?: ItemShippingDestinat
|
|
|
85
92
|
}
|
|
86
93
|
return {
|
|
87
94
|
|
|
95
|
+
'adult_signature_required': value.adult_signature_required,
|
|
88
96
|
'country_code': value.country_code,
|
|
89
97
|
'flat_fee': value.flat_fee,
|
|
90
98
|
'per_item': value.per_item,
|