@wix/auto_sdk_ecom_checkout 1.0.46 → 1.0.47

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.
@@ -1580,7 +1580,7 @@ interface GiftCard {
1580
1580
  _id?: string;
1581
1581
  /** Gift card obfuscated code. */
1582
1582
  obfuscatedCode?: string;
1583
- /** Gift card value. */
1583
+ /** Actual amount to be redeemed from the gift card. */
1584
1584
  amount?: MultiCurrencyPrice;
1585
1585
  /**
1586
1586
  * App ID of the gift card provider.
@@ -1594,6 +1594,11 @@ interface GiftCard {
1594
1594
  * @maxLength 50
1595
1595
  */
1596
1596
  externalId?: string | null;
1597
+ /**
1598
+ * Requested amount to redeem from the gift card.
1599
+ * @internal
1600
+ */
1601
+ requestedAmount?: MultiCurrencyPrice;
1597
1602
  }
1598
1603
  interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1599
1604
  /** Coupon details. */
@@ -2284,6 +2289,12 @@ interface CreateCheckoutRequest {
2284
2289
  * @maxLength 1000
2285
2290
  */
2286
2291
  overrideCheckoutUrl?: string | null;
2292
+ /**
2293
+ * Amount to redeem from the gift card referenced in `gift_card_code`.
2294
+ * @internal
2295
+ * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
2296
+ */
2297
+ giftCardRedeemAmount?: string | null;
2287
2298
  }
2288
2299
  interface CustomLineItem {
2289
2300
  /**
@@ -2589,6 +2600,12 @@ interface UpdateCheckoutRequest {
2589
2600
  * @maxSize 300
2590
2601
  */
2591
2602
  customLineItems?: CustomLineItem[];
2603
+ /**
2604
+ * Amount to redeem from the gift card referenced in `gift_card_code`.
2605
+ * @internal
2606
+ * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
2607
+ */
2608
+ giftCardRedeemAmount?: string | null;
2592
2609
  }
2593
2610
  interface UpdateCheckoutResponse {
2594
2611
  /** Updated checkout. */