ultracart_rest_api_v2_typescript 4.0.86-RC → 4.0.87-RC

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.86-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.87-RC
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.86-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.87-RC --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.87-RC | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
57
58
  | 4.0.86-RC | 11/21/2022 | conversation context method |
58
59
  | 4.0.85-RC | 11/21/2022 | adjusted conversation event model |
59
60
  | 4.0.84-RC | 11/15/2022 | conversation methods bug fix |
@@ -39,6 +39,18 @@ export interface CouponPercentOffMsrpItems {
39
39
  * @memberof CouponPercentOffMsrpItems
40
40
  */
41
41
  limit?: number;
42
+ /**
43
+ * The (optional) minimum cumulative msrp of qualifying items.
44
+ * @type {number}
45
+ * @memberof CouponPercentOffMsrpItems
46
+ */
47
+ minimum_cumulative_msrp?: number;
48
+ /**
49
+ * The (optional) minimum subtotal of qualifying items.
50
+ * @type {number}
51
+ * @memberof CouponPercentOffMsrpItems
52
+ */
53
+ minimum_subtotal?: number;
42
54
  }
43
55
  export declare function CouponPercentOffMsrpItemsFromJSON(json: any): CouponPercentOffMsrpItems;
44
56
  export declare function CouponPercentOffMsrpItemsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponPercentOffMsrpItems;
@@ -28,6 +28,8 @@ function CouponPercentOffMsrpItemsFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'excluded_items': !(0, runtime_1.exists)(json, 'excluded_items') ? undefined : json['excluded_items'],
29
29
  'items': !(0, runtime_1.exists)(json, 'items') ? undefined : json['items'],
30
30
  'limit': !(0, runtime_1.exists)(json, 'limit') ? undefined : json['limit'],
31
+ 'minimum_cumulative_msrp': !(0, runtime_1.exists)(json, 'minimum_cumulative_msrp') ? undefined : json['minimum_cumulative_msrp'],
32
+ 'minimum_subtotal': !(0, runtime_1.exists)(json, 'minimum_subtotal') ? undefined : json['minimum_subtotal'],
31
33
  };
32
34
  }
33
35
  exports.CouponPercentOffMsrpItemsFromJSONTyped = CouponPercentOffMsrpItemsFromJSONTyped;
@@ -43,6 +45,8 @@ function CouponPercentOffMsrpItemsToJSON(value) {
43
45
  'excluded_items': value.excluded_items,
44
46
  'items': value.items,
45
47
  'limit': value.limit,
48
+ 'minimum_cumulative_msrp': value.minimum_cumulative_msrp,
49
+ 'minimum_subtotal': value.minimum_subtotal,
46
50
  };
47
51
  }
48
52
  exports.CouponPercentOffMsrpItemsToJSON = CouponPercentOffMsrpItemsToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.86-RC",
3
+ "version": "4.0.87-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -43,6 +43,18 @@ export interface CouponPercentOffMsrpItems {
43
43
  * @memberof CouponPercentOffMsrpItems
44
44
  */
45
45
  limit?: number;
46
+ /**
47
+ * The (optional) minimum cumulative msrp of qualifying items.
48
+ * @type {number}
49
+ * @memberof CouponPercentOffMsrpItems
50
+ */
51
+ minimum_cumulative_msrp?: number;
52
+ /**
53
+ * The (optional) minimum subtotal of qualifying items.
54
+ * @type {number}
55
+ * @memberof CouponPercentOffMsrpItems
56
+ */
57
+ minimum_subtotal?: number;
46
58
  }
47
59
 
48
60
  export function CouponPercentOffMsrpItemsFromJSON(json: any): CouponPercentOffMsrpItems {
@@ -59,6 +71,8 @@ export function CouponPercentOffMsrpItemsFromJSONTyped(json: any, ignoreDiscrimi
59
71
  'excluded_items': !exists(json, 'excluded_items') ? undefined : json['excluded_items'],
60
72
  'items': !exists(json, 'items') ? undefined : json['items'],
61
73
  'limit': !exists(json, 'limit') ? undefined : json['limit'],
74
+ 'minimum_cumulative_msrp': !exists(json, 'minimum_cumulative_msrp') ? undefined : json['minimum_cumulative_msrp'],
75
+ 'minimum_subtotal': !exists(json, 'minimum_subtotal') ? undefined : json['minimum_subtotal'],
62
76
  };
63
77
  }
64
78
 
@@ -75,6 +89,8 @@ export function CouponPercentOffMsrpItemsToJSON(value?: CouponPercentOffMsrpItem
75
89
  'excluded_items': value.excluded_items,
76
90
  'items': value.items,
77
91
  'limit': value.limit,
92
+ 'minimum_cumulative_msrp': value.minimum_cumulative_msrp,
93
+ 'minimum_subtotal': value.minimum_subtotal,
78
94
  };
79
95
  }
80
96