@wix/auto_sdk_ecom_checkout 1.0.50 → 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.
@@ -1555,7 +1555,8 @@ async function createCheckout2(options) {
1555
1555
  customLineItems: options?.customLineItems,
1556
1556
  channelType: options?.channelType,
1557
1557
  giftCardCode: options?.giftCardCode,
1558
- overrideCheckoutUrl: options?.overrideCheckoutUrl
1558
+ overrideCheckoutUrl: options?.overrideCheckoutUrl,
1559
+ giftCardRedeemAmount: options?.giftCardRedeemAmount
1559
1560
  }),
1560
1561
  [
1561
1562
  {
@@ -1636,7 +1637,8 @@ async function createCheckout2(options) {
1636
1637
  customLineItems: "$[0].customLineItems",
1637
1638
  channelType: "$[0].channelType",
1638
1639
  giftCardCode: "$[0].giftCardCode",
1639
- overrideCheckoutUrl: "$[0].overrideCheckoutUrl"
1640
+ overrideCheckoutUrl: "$[0].overrideCheckoutUrl",
1641
+ giftCardRedeemAmount: "$[0].giftCardRedeemAmount"
1640
1642
  },
1641
1643
  singleArgumentUnchanged: false
1642
1644
  },
@@ -1801,7 +1803,8 @@ async function updateCheckout2(_id, checkout, options) {
1801
1803
  giftCardCode: options?.giftCardCode,
1802
1804
  overrideCheckoutUrl: options?.overrideCheckoutUrl,
1803
1805
  lineItems: options?.lineItems,
1804
- customLineItems: options?.customLineItems
1806
+ customLineItems: options?.customLineItems,
1807
+ giftCardRedeemAmount: options?.giftCardRedeemAmount
1805
1808
  }),
1806
1809
  [
1807
1810
  {
@@ -1881,7 +1884,8 @@ async function updateCheckout2(_id, checkout, options) {
1881
1884
  giftCardCode: "$[2].giftCardCode",
1882
1885
  overrideCheckoutUrl: "$[2].overrideCheckoutUrl",
1883
1886
  lineItems: "$[2].lineItems",
1884
- customLineItems: "$[2].customLineItems"
1887
+ customLineItems: "$[2].customLineItems",
1888
+ giftCardRedeemAmount: "$[2].giftCardRedeemAmount"
1885
1889
  },
1886
1890
  singleArgumentUnchanged: false
1887
1891
  },