ultracart_rest_api_v2_typescript 4.0.174 → 4.0.176
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.176
|
|
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.176 --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.176 | 09/12/2023 | added oids to customer properties |
|
|
58
|
+
| 4.0.175 | 09/06/2023 | esp condition for survey trigger |
|
|
57
59
|
| 4.0.174 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
|
|
58
60
|
| 4.0.173 | 08/31/2023 | new coupon - free item and free shipping with purchase |
|
|
59
61
|
| 4.0.172 | 08/16/2023 | added validate_original_order query param to auto order update method |
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface CustomerProperty
|
|
16
16
|
*/
|
|
17
17
|
export interface CustomerProperty {
|
|
18
|
+
/**
|
|
19
|
+
* Customer profile property oid
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CustomerProperty
|
|
22
|
+
*/
|
|
23
|
+
customer_profile_property_oid?: number;
|
|
18
24
|
/**
|
|
19
25
|
* The date/time that the property expires and is deleted
|
|
20
26
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ function CustomerPropertyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
+
'customer_profile_property_oid': !(0, runtime_1.exists)(json, 'customer_profile_property_oid') ? undefined : json['customer_profile_property_oid'],
|
|
27
28
|
'expiration_dts': !(0, runtime_1.exists)(json, 'expiration_dts') ? undefined : json['expiration_dts'],
|
|
28
29
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
30
|
'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
|
|
@@ -38,6 +39,7 @@ function CustomerPropertyToJSON(value) {
|
|
|
38
39
|
return null;
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
42
|
+
'customer_profile_property_oid': value.customer_profile_property_oid,
|
|
41
43
|
'expiration_dts': value.expiration_dts,
|
|
42
44
|
'name': value.name,
|
|
43
45
|
'value': value.value,
|
package/package.json
CHANGED
|
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
|
|
|
19
19
|
* @interface CustomerProperty
|
|
20
20
|
*/
|
|
21
21
|
export interface CustomerProperty {
|
|
22
|
+
/**
|
|
23
|
+
* Customer profile property oid
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof CustomerProperty
|
|
26
|
+
*/
|
|
27
|
+
customer_profile_property_oid?: number;
|
|
22
28
|
/**
|
|
23
29
|
* The date/time that the property expires and is deleted
|
|
24
30
|
* @type {string}
|
|
@@ -49,6 +55,7 @@ export function CustomerPropertyFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
49
55
|
}
|
|
50
56
|
return {
|
|
51
57
|
|
|
58
|
+
'customer_profile_property_oid': !exists(json, 'customer_profile_property_oid') ? undefined : json['customer_profile_property_oid'],
|
|
52
59
|
'expiration_dts': !exists(json, 'expiration_dts') ? undefined : json['expiration_dts'],
|
|
53
60
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
54
61
|
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
@@ -64,6 +71,7 @@ export function CustomerPropertyToJSON(value?: CustomerProperty | null): any {
|
|
|
64
71
|
}
|
|
65
72
|
return {
|
|
66
73
|
|
|
74
|
+
'customer_profile_property_oid': value.customer_profile_property_oid,
|
|
67
75
|
'expiration_dts': value.expiration_dts,
|
|
68
76
|
'name': value.name,
|
|
69
77
|
'value': value.value,
|