ultracart_rest_api_v2_typescript 3.10.173 → 3.10.175

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.173
1
+ ## ultracart_rest_api_v2_typescript@3.10.175
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.173 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.175 --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.175 | 11/21/2023 | coupons - addl support on tiered amount/percent off items |
58
+ | 3.10.174 | 11/20/2023 | coupon - add item tag support to percent off items and free shipping |
57
59
  | 3.10.173 | 11/20/2023 | item.google_product_search.color bugfix for bad length validation: 20 to 100 |
58
60
  | 3.10.172 | 11/13/2023 | coupon - editor values for item tags |
59
61
  | 3.10.171 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
package/api.ts CHANGED
@@ -11232,12 +11232,24 @@ export interface CouponPercentOffItemsAndFreeShipping {
11232
11232
  * @memberof CouponPercentOffItemsAndFreeShipping
11233
11233
  */
11234
11234
  discount_percent?: number;
11235
+ /**
11236
+ * A list of item tags which cannot be discounted.
11237
+ * @type {Array<string>}
11238
+ * @memberof CouponPercentOffItemsAndFreeShipping
11239
+ */
11240
+ excluded_item_tags?: Array<string>;
11235
11241
  /**
11236
11242
  * A list of items which cannot be discounted.
11237
11243
  * @type {Array<string>}
11238
11244
  * @memberof CouponPercentOffItemsAndFreeShipping
11239
11245
  */
11240
11246
  excluded_items?: Array<string>;
11247
+ /**
11248
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
11249
+ * @type {Array<string>}
11250
+ * @memberof CouponPercentOffItemsAndFreeShipping
11251
+ */
11252
+ item_tags?: Array<string>;
11241
11253
  /**
11242
11254
  * An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
11243
11255
  * @type {Array<string>}
@@ -11754,6 +11766,12 @@ export interface CouponTierQuantityPercent {
11754
11766
  * @interface CouponTieredAmountOffItems
11755
11767
  */
11756
11768
  export interface CouponTieredAmountOffItems {
11769
+ /**
11770
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
11771
+ * @type {Array<string>}
11772
+ * @memberof CouponTieredAmountOffItems
11773
+ */
11774
+ item_tags?: Array<string>;
11757
11775
  /**
11758
11776
  * The items being discounted by this coupon.
11759
11777
  * @type {Array<string>}
@@ -11800,6 +11818,12 @@ export interface CouponTieredAmountOffSubtotal {
11800
11818
  * @interface CouponTieredPercentOffItems
11801
11819
  */
11802
11820
  export interface CouponTieredPercentOffItems {
11821
+ /**
11822
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
11823
+ * @type {Array<string>}
11824
+ * @memberof CouponTieredPercentOffItems
11825
+ */
11826
+ item_tags?: Array<string>;
11803
11827
  /**
11804
11828
  * A list of items of which at least one must be purchased for coupon to be valid.
11805
11829
  * @type {Array<string>}
package/dist/api.d.ts CHANGED
@@ -10958,12 +10958,24 @@ export interface CouponPercentOffItemsAndFreeShipping {
10958
10958
  * @memberof CouponPercentOffItemsAndFreeShipping
10959
10959
  */
10960
10960
  discount_percent?: number;
10961
+ /**
10962
+ * A list of item tags which cannot be discounted.
10963
+ * @type {Array<string>}
10964
+ * @memberof CouponPercentOffItemsAndFreeShipping
10965
+ */
10966
+ excluded_item_tags?: Array<string>;
10961
10967
  /**
10962
10968
  * A list of items which cannot be discounted.
10963
10969
  * @type {Array<string>}
10964
10970
  * @memberof CouponPercentOffItemsAndFreeShipping
10965
10971
  */
10966
10972
  excluded_items?: Array<string>;
10973
+ /**
10974
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
10975
+ * @type {Array<string>}
10976
+ * @memberof CouponPercentOffItemsAndFreeShipping
10977
+ */
10978
+ item_tags?: Array<string>;
10967
10979
  /**
10968
10980
  * An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
10969
10981
  * @type {Array<string>}
@@ -11462,6 +11474,12 @@ export interface CouponTierQuantityPercent {
11462
11474
  * @interface CouponTieredAmountOffItems
11463
11475
  */
11464
11476
  export interface CouponTieredAmountOffItems {
11477
+ /**
11478
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
11479
+ * @type {Array<string>}
11480
+ * @memberof CouponTieredAmountOffItems
11481
+ */
11482
+ item_tags?: Array<string>;
11465
11483
  /**
11466
11484
  * The items being discounted by this coupon.
11467
11485
  * @type {Array<string>}
@@ -11506,6 +11524,12 @@ export interface CouponTieredAmountOffSubtotal {
11506
11524
  * @interface CouponTieredPercentOffItems
11507
11525
  */
11508
11526
  export interface CouponTieredPercentOffItems {
11527
+ /**
11528
+ * An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
11529
+ * @type {Array<string>}
11530
+ * @memberof CouponTieredPercentOffItems
11531
+ */
11532
+ item_tags?: Array<string>;
11509
11533
  /**
11510
11534
  * A list of items of which at least one must be purchased for coupon to be valid.
11511
11535
  * @type {Array<string>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.173",
3
+ "version": "3.10.175",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [