@wix/auto_sdk_ecom_checkout 1.0.45 → 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
  /**
@@ -2310,8 +2321,7 @@ interface CustomLineItem {
2310
2321
  descriptionLines?: DescriptionLine[];
2311
2322
  /**
2312
2323
  * Custom line item media.
2313
- * + Link to an image/video from the [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager) - `"wix:image://v1/3c76e2_c53...4ea4~mv2.jpg#originWidth=1000&originHeight=1000"`.
2314
- * + An image from the web - `"http(s)://<image url>"`.
2324
+ * + We only support images coming from Wix media manager, if you want to use an image from another source you must first upload it to [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager) - `"wix:image://v1/3c76e2_c53...4ea4~mv2.jpg#originWidth=1000&originHeight=1000"`.
2315
2325
  */
2316
2326
  media?: string;
2317
2327
  /**
@@ -2590,6 +2600,12 @@ interface UpdateCheckoutRequest {
2590
2600
  * @maxSize 300
2591
2601
  */
2592
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;
2593
2609
  }
2594
2610
  interface UpdateCheckoutResponse {
2595
2611
  /** Updated checkout. */