ultracart_rest_api_v2_typescript 4.0.188 → 4.0.189

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.188
1
+ ## ultracart_rest_api_v2_typescript@4.0.189
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.188 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.189 --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.189 | 11/13/2023 | coupon - editor values for item tags |
57
58
  | 4.0.188 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
58
59
  | 4.0.187 | 11/09/2023 | item - new auto order step type: pause until |
59
60
  | 4.0.186 | 11/06/2023 | customer api - added wishlist methods |
@@ -47,6 +47,12 @@ export interface CouponEditorValues {
47
47
  * @memberof CouponEditorValues
48
48
  */
49
49
  deprecated_themes?: Array<SimpleValue>;
50
+ /**
51
+ * Item tags
52
+ * @type {Array<string>}
53
+ * @memberof CouponEditorValues
54
+ */
55
+ item_tags?: Array<string>;
50
56
  /**
51
57
  * mix_and_match_names
52
58
  * @type {Array<string>}
@@ -31,6 +31,7 @@ function CouponEditorValuesFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'coupon_types_for_display': !(0, runtime_1.exists)(json, 'coupon_types_for_display') ? undefined : (json['coupon_types_for_display'].map(CouponType_1.CouponTypeFromJSON)),
32
32
  'currency_codes': !(0, runtime_1.exists)(json, 'currency_codes') ? undefined : json['currency_codes'],
33
33
  'deprecated_themes': !(0, runtime_1.exists)(json, 'deprecated_themes') ? undefined : (json['deprecated_themes'].map(SimpleValue_1.SimpleValueFromJSON)),
34
+ 'item_tags': !(0, runtime_1.exists)(json, 'item_tags') ? undefined : json['item_tags'],
34
35
  'mix_and_match_names': !(0, runtime_1.exists)(json, 'mix_and_match_names') ? undefined : json['mix_and_match_names'],
35
36
  'shipping_methods': !(0, runtime_1.exists)(json, 'shipping_methods') ? undefined : json['shipping_methods'],
36
37
  'storefronts': !(0, runtime_1.exists)(json, 'storefronts') ? undefined : (json['storefronts'].map(SimpleValue_1.SimpleValueFromJSON)),
@@ -52,6 +53,7 @@ function CouponEditorValuesToJSON(value) {
52
53
  'coupon_types_for_display': value.coupon_types_for_display === undefined ? undefined : (value.coupon_types_for_display.map(CouponType_1.CouponTypeToJSON)),
53
54
  'currency_codes': value.currency_codes,
54
55
  'deprecated_themes': value.deprecated_themes === undefined ? undefined : (value.deprecated_themes.map(SimpleValue_1.SimpleValueToJSON)),
56
+ 'item_tags': value.item_tags,
55
57
  'mix_and_match_names': value.mix_and_match_names,
56
58
  'shipping_methods': value.shipping_methods,
57
59
  'storefronts': value.storefronts === undefined ? undefined : (value.storefronts.map(SimpleValue_1.SimpleValueToJSON)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.188",
3
+ "version": "4.0.189",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -62,6 +62,12 @@ export interface CouponEditorValues {
62
62
  * @memberof CouponEditorValues
63
63
  */
64
64
  deprecated_themes?: Array<SimpleValue>;
65
+ /**
66
+ * Item tags
67
+ * @type {Array<string>}
68
+ * @memberof CouponEditorValues
69
+ */
70
+ item_tags?: Array<string>;
65
71
  /**
66
72
  * mix_and_match_names
67
73
  * @type {Array<string>}
@@ -109,6 +115,7 @@ export function CouponEditorValuesFromJSONTyped(json: any, ignoreDiscriminator:
109
115
  'coupon_types_for_display': !exists(json, 'coupon_types_for_display') ? undefined : ((json['coupon_types_for_display'] as Array<any>).map(CouponTypeFromJSON)),
110
116
  'currency_codes': !exists(json, 'currency_codes') ? undefined : json['currency_codes'],
111
117
  'deprecated_themes': !exists(json, 'deprecated_themes') ? undefined : ((json['deprecated_themes'] as Array<any>).map(SimpleValueFromJSON)),
118
+ 'item_tags': !exists(json, 'item_tags') ? undefined : json['item_tags'],
112
119
  'mix_and_match_names': !exists(json, 'mix_and_match_names') ? undefined : json['mix_and_match_names'],
113
120
  'shipping_methods': !exists(json, 'shipping_methods') ? undefined : json['shipping_methods'],
114
121
  'storefronts': !exists(json, 'storefronts') ? undefined : ((json['storefronts'] as Array<any>).map(SimpleValueFromJSON)),
@@ -131,6 +138,7 @@ export function CouponEditorValuesToJSON(value?: CouponEditorValues | null): any
131
138
  'coupon_types_for_display': value.coupon_types_for_display === undefined ? undefined : ((value.coupon_types_for_display as Array<any>).map(CouponTypeToJSON)),
132
139
  'currency_codes': value.currency_codes,
133
140
  'deprecated_themes': value.deprecated_themes === undefined ? undefined : ((value.deprecated_themes as Array<any>).map(SimpleValueToJSON)),
141
+ 'item_tags': value.item_tags,
134
142
  'mix_and_match_names': value.mix_and_match_names,
135
143
  'shipping_methods': value.shipping_methods,
136
144
  'storefronts': value.storefronts === undefined ? undefined : ((value.storefronts as Array<any>).map(SimpleValueToJSON)),