@wix/auto_sdk_ecom_checkout 1.0.49 → 1.0.51

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.
@@ -660,7 +660,7 @@ interface SubscriptionSettings {
660
660
  * Default: `1`.
661
661
  * If SubscriptionFrequency is Day the minimum interval is 7
662
662
  * @min 1
663
- * @max 50
663
+ * @max 3650
664
664
  */
665
665
  interval?: number | null;
666
666
  /** Whether subscription is renewed automatically at the end of each period. */
@@ -1471,6 +1471,8 @@ interface GiftCard {
1471
1471
  * @maxLength 50
1472
1472
  */
1473
1473
  externalId?: string | null;
1474
+ /** Requested amount to redeem from the gift card. */
1475
+ requestedAmount?: MultiCurrencyPrice;
1474
1476
  }
1475
1477
  interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1476
1478
  /** Coupon details. */
@@ -2039,6 +2041,11 @@ interface CreateCheckoutRequest {
2039
2041
  * @maxLength 1000
2040
2042
  */
2041
2043
  overrideCheckoutUrl?: string | null;
2044
+ /**
2045
+ * Amount to redeem from the gift card referenced in `gift_card_code`.
2046
+ * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
2047
+ */
2048
+ giftCardRedeemAmount?: string | null;
2042
2049
  }
2043
2050
  interface CustomLineItem {
2044
2051
  /**
@@ -2290,6 +2297,11 @@ interface UpdateCheckoutRequest {
2290
2297
  * @maxSize 300
2291
2298
  */
2292
2299
  customLineItems?: CustomLineItem[];
2300
+ /**
2301
+ * Amount to redeem from the gift card referenced in `gift_card_code`.
2302
+ * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
2303
+ */
2304
+ giftCardRedeemAmount?: string | null;
2293
2305
  }
2294
2306
  interface UpdateCheckoutResponse {
2295
2307
  /** Updated checkout. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_checkout",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.checkout"
51
51
  }
52
52
  },
53
- "falconPackageHash": "bef546e35eaf54f206ab62d052fd403b0257c71860ce1eeb4c08e71f"
53
+ "falconPackageHash": "eaae3588125a5d52d80c7c7321b65795380fa762e83aa6d56f16e968"
54
54
  }