ultracart_rest_api_v2_typescript 3.10.169 → 3.10.171

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@3.10.169
1
+ ## ultracart_rest_api_v2_typescript@3.10.171
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@3.10.169 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.171 --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
+ | 3.10.171 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
58
+ | 3.10.170 | 11/09/2023 | item - new auto order step type: pause until |
57
59
  | 3.10.169 | 11/06/2023 | customer api - added wishlist methods |
58
60
  | 3.10.168 | 11/01/2023 | customer - do_no_send_mail flag added |
59
61
  | 3.10.167 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
package/api.ts CHANGED
@@ -11182,12 +11182,24 @@ export interface CouponPercentOffItems {
11182
11182
  * @memberof CouponPercentOffItems
11183
11183
  */
11184
11184
  discount_percent?: number;
11185
+ /**
11186
+ * A list of item tags which cannot be discounted.
11187
+ * @type {Array<string>}
11188
+ * @memberof CouponPercentOffItems
11189
+ */
11190
+ excluded_item_tags?: Array<string>;
11185
11191
  /**
11186
11192
  * A list of items which cannot be discounted.
11187
11193
  * @type {Array<string>}
11188
11194
  * @memberof CouponPercentOffItems
11189
11195
  */
11190
11196
  excluded_items?: Array<string>;
11197
+ /**
11198
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
11199
+ * @type {Array<string>}
11200
+ * @memberof CouponPercentOffItems
11201
+ */
11202
+ item_tags?: Array<string>;
11191
11203
  /**
11192
11204
  * An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
11193
11205
  * @type {Array<string>}
@@ -23457,6 +23469,18 @@ export interface ItemAutoOrderStep {
23457
23469
  * @memberof ItemAutoOrderStep
23458
23470
  */
23459
23471
  pause_until_date?: string;
23472
+ /**
23473
+ * Pause until a specific day of the month
23474
+ * @type {number}
23475
+ * @memberof ItemAutoOrderStep
23476
+ */
23477
+ pause_until_day_of_month?: number;
23478
+ /**
23479
+ * Pause at least this many days between the last order and the calculated next day of month
23480
+ * @type {number}
23481
+ * @memberof ItemAutoOrderStep
23482
+ */
23483
+ pause_until_minimum_delay_days?: number;
23460
23484
  /**
23461
23485
  * If set, a pre-shipment notice is sent to the customer this many days in advance
23462
23486
  * @type {number}
@@ -23520,7 +23544,8 @@ export namespace ItemAutoOrderStep {
23520
23544
  Item = <any> 'item',
23521
23545
  Pause = <any> 'pause',
23522
23546
  Loop = <any> 'loop',
23523
- KitOnly = <any> 'kit only'
23547
+ KitOnly = <any> 'kit only',
23548
+ PauseUntil = <any> 'pause until'
23524
23549
  }
23525
23550
  }
23526
23551
 
package/dist/api.d.ts CHANGED
@@ -10909,12 +10909,24 @@ export interface CouponPercentOffItems {
10909
10909
  * @memberof CouponPercentOffItems
10910
10910
  */
10911
10911
  discount_percent?: number;
10912
+ /**
10913
+ * A list of item tags which cannot be discounted.
10914
+ * @type {Array<string>}
10915
+ * @memberof CouponPercentOffItems
10916
+ */
10917
+ excluded_item_tags?: Array<string>;
10912
10918
  /**
10913
10919
  * A list of items which cannot be discounted.
10914
10920
  * @type {Array<string>}
10915
10921
  * @memberof CouponPercentOffItems
10916
10922
  */
10917
10923
  excluded_items?: Array<string>;
10924
+ /**
10925
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
10926
+ * @type {Array<string>}
10927
+ * @memberof CouponPercentOffItems
10928
+ */
10929
+ item_tags?: Array<string>;
10918
10930
  /**
10919
10931
  * An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
10920
10932
  * @type {Array<string>}
@@ -22951,6 +22963,18 @@ export interface ItemAutoOrderStep {
22951
22963
  * @memberof ItemAutoOrderStep
22952
22964
  */
22953
22965
  pause_until_date?: string;
22966
+ /**
22967
+ * Pause until a specific day of the month
22968
+ * @type {number}
22969
+ * @memberof ItemAutoOrderStep
22970
+ */
22971
+ pause_until_day_of_month?: number;
22972
+ /**
22973
+ * Pause at least this many days between the last order and the calculated next day of month
22974
+ * @type {number}
22975
+ * @memberof ItemAutoOrderStep
22976
+ */
22977
+ pause_until_minimum_delay_days?: number;
22954
22978
  /**
22955
22979
  * If set, a pre-shipment notice is sent to the customer this many days in advance
22956
22980
  * @type {number}
@@ -23013,7 +23037,8 @@ export declare namespace ItemAutoOrderStep {
23013
23037
  Item,
23014
23038
  Pause,
23015
23039
  Loop,
23016
- KitOnly
23040
+ KitOnly,
23041
+ PauseUntil
23017
23042
  }
23018
23043
  }
23019
23044
  /**
package/dist/api.js CHANGED
@@ -787,6 +787,7 @@ var ItemAutoOrderStep;
787
787
  TypeEnum[TypeEnum["Pause"] = 'pause'] = "Pause";
788
788
  TypeEnum[TypeEnum["Loop"] = 'loop'] = "Loop";
789
789
  TypeEnum[TypeEnum["KitOnly"] = 'kit only'] = "KitOnly";
790
+ TypeEnum[TypeEnum["PauseUntil"] = 'pause until'] = "PauseUntil";
790
791
  })(TypeEnum = ItemAutoOrderStep.TypeEnum || (ItemAutoOrderStep.TypeEnum = {}));
791
792
  })(ItemAutoOrderStep = exports.ItemAutoOrderStep || (exports.ItemAutoOrderStep = {}));
792
793
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.169",
3
+ "version": "3.10.171",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [