ultracart_rest_api_v2_typescript 3.8.3 → 3.8.6

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.8.3
1
+ ## ultracart_rest_api_v2_typescript@3.8.6
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.8.3 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.8.6 --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.8.6 | 03/02/2022 | bug fix for ruby sdk, uri.escape deprecated in 3.x |
58
+ | 3.8.5 | 02/25/2022 | new coupon for fixed cost shipping method |
57
59
  | 3.8.2 | 02/16/2022 | create gift certificate method was missing email |
58
60
  | 3.8.1 | 02/16/2022 | auto order item level pause flag |
59
61
  | 3.8.0 | 02/16/2022 | gift certificate api (testing) |
package/api.ts CHANGED
@@ -5280,6 +5280,12 @@ export interface Coupon {
5280
5280
  * @memberof Coupon
5281
5281
  */
5282
5282
  amount_off_subtotal_with_purchase?: CouponAmountOffSubtotalWithPurchase;
5283
+ /**
5284
+ *
5285
+ * @type {CouponAmountShippingWithSubtotal}
5286
+ * @memberof Coupon
5287
+ */
5288
+ amount_shipping_with_subtotal?: CouponAmountShippingWithSubtotal;
5283
5289
  /**
5284
5290
  *
5285
5291
  * @type {CouponAutomaticallyApplyCouponCodes}
@@ -5822,6 +5828,38 @@ export interface CouponAmountOffSubtotalWithPurchase {
5822
5828
  purchase_amount?: number;
5823
5829
  }
5824
5830
 
5831
+ /**
5832
+ *
5833
+ * @export
5834
+ * @interface CouponAmountShippingWithSubtotal
5835
+ */
5836
+ export interface CouponAmountShippingWithSubtotal {
5837
+ /**
5838
+ * The ISO-4217 three letter currency code the customer is viewing prices in
5839
+ * @type {string}
5840
+ * @memberof CouponAmountShippingWithSubtotal
5841
+ */
5842
+ currency_code?: string;
5843
+ /**
5844
+ * The purchase amount to qualify for subtotal discount and free shipping
5845
+ * @type {number}
5846
+ * @memberof CouponAmountShippingWithSubtotal
5847
+ */
5848
+ purchase_amount?: number;
5849
+ /**
5850
+ * The amount of the shipping cost (this is not a discount, this is the actual cost of shipping)
5851
+ * @type {number}
5852
+ * @memberof CouponAmountShippingWithSubtotal
5853
+ */
5854
+ shipping_amount?: number;
5855
+ /**
5856
+ * One or more shipping methods that may be used with this coupon
5857
+ * @type {Array<string>}
5858
+ * @memberof CouponAmountShippingWithSubtotal
5859
+ */
5860
+ shipping_methods?: Array<string>;
5861
+ }
5862
+
5825
5863
  /**
5826
5864
  *
5827
5865
  * @export
package/dist/api.d.ts CHANGED
@@ -5150,6 +5150,12 @@ export interface Coupon {
5150
5150
  * @memberof Coupon
5151
5151
  */
5152
5152
  amount_off_subtotal_with_purchase?: CouponAmountOffSubtotalWithPurchase;
5153
+ /**
5154
+ *
5155
+ * @type {CouponAmountShippingWithSubtotal}
5156
+ * @memberof Coupon
5157
+ */
5158
+ amount_shipping_with_subtotal?: CouponAmountShippingWithSubtotal;
5153
5159
  /**
5154
5160
  *
5155
5161
  * @type {CouponAutomaticallyApplyCouponCodes}
@@ -5682,6 +5688,37 @@ export interface CouponAmountOffSubtotalWithPurchase {
5682
5688
  */
5683
5689
  purchase_amount?: number;
5684
5690
  }
5691
+ /**
5692
+ *
5693
+ * @export
5694
+ * @interface CouponAmountShippingWithSubtotal
5695
+ */
5696
+ export interface CouponAmountShippingWithSubtotal {
5697
+ /**
5698
+ * The ISO-4217 three letter currency code the customer is viewing prices in
5699
+ * @type {string}
5700
+ * @memberof CouponAmountShippingWithSubtotal
5701
+ */
5702
+ currency_code?: string;
5703
+ /**
5704
+ * The purchase amount to qualify for subtotal discount and free shipping
5705
+ * @type {number}
5706
+ * @memberof CouponAmountShippingWithSubtotal
5707
+ */
5708
+ purchase_amount?: number;
5709
+ /**
5710
+ * The amount of the shipping cost (this is not a discount, this is the actual cost of shipping)
5711
+ * @type {number}
5712
+ * @memberof CouponAmountShippingWithSubtotal
5713
+ */
5714
+ shipping_amount?: number;
5715
+ /**
5716
+ * One or more shipping methods that may be used with this coupon
5717
+ * @type {Array<string>}
5718
+ * @memberof CouponAmountShippingWithSubtotal
5719
+ */
5720
+ shipping_methods?: Array<string>;
5721
+ }
5685
5722
  /**
5686
5723
  *
5687
5724
  * @export
package/dist/index.js CHANGED
@@ -13,7 +13,11 @@
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
15
  if (k2 === undefined) k2 = k;
16
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
+ var desc = Object.getOwnPropertyDescriptor(m, k);
17
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
18
+ desc = { enumerable: true, get: function() { return m[k]; } };
19
+ }
20
+ Object.defineProperty(o, k2, desc);
17
21
  }) : (function(o, m, k, k2) {
18
22
  if (k2 === undefined) k2 = k;
19
23
  o[k2] = m[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.8.3",
3
+ "version": "3.8.6",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [