@wix/auto_sdk_ecom_checkout 1.0.144 → 1.0.146

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.
@@ -2229,11 +2229,13 @@ declare enum NameInLineItem {
2229
2229
  /** @enumType */
2230
2230
  type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
2231
2231
  declare enum SuggestedFix {
2232
+ /** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
2233
+ UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
2232
2234
  /** The line item should be removed from the cart or checkout to resolve the violation. */
2233
2235
  REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
2234
2236
  }
2235
2237
  /** @enumType */
2236
- type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
2238
+ type SuggestedFixWithLiterals = SuggestedFix | 'UNKNOWN_SUGGESTED_FIX' | 'REMOVE_LINE_ITEM';
2237
2239
  /** General (other) violation. */
2238
2240
  interface Other {
2239
2241
  /** Location on a checkout or a cart page where a general (other) violation will be displayed. */
@@ -1517,6 +1517,7 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
1517
1517
  return NameInLineItem2;
1518
1518
  })(NameInLineItem || {});
1519
1519
  var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
1520
+ SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
1520
1521
  SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
1521
1522
  return SuggestedFix2;
1522
1523
  })(SuggestedFix || {});
@@ -2197,7 +2198,8 @@ async function createOrderAndCharge2(_id, options) {
2197
2198
  id: _id,
2198
2199
  paymentToken: options?.paymentToken,
2199
2200
  savePaymentMethod: options?.savePaymentMethod,
2200
- delayCapture: options?.delayCapture
2201
+ delayCapture: options?.delayCapture,
2202
+ inAppPurchase: options?.inAppPurchase
2201
2203
  });
2202
2204
  const reqOpts = createOrderAndCharge(payload);
2203
2205
  sideEffects?.onSiteCall?.();
@@ -2214,7 +2216,8 @@ async function createOrderAndCharge2(_id, options) {
2214
2216
  id: "$[0]",
2215
2217
  paymentToken: "$[1].paymentToken",
2216
2218
  savePaymentMethod: "$[1].savePaymentMethod",
2217
- delayCapture: "$[1].delayCapture"
2219
+ delayCapture: "$[1].delayCapture",
2220
+ inAppPurchase: "$[1].inAppPurchase"
2218
2221
  },
2219
2222
  singleArgumentUnchanged: false
2220
2223
  },