@wix/auto_sdk_ecom_checkout-templates 1.0.48 → 1.0.49

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.
@@ -297,10 +297,15 @@ declare enum PaymentOptionType {
297
297
  /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
298
298
  DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
299
299
  /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
300
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
300
+ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE",
301
+ /**
302
+ * Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
303
+ * @documentationMaturity preview
304
+ */
305
+ MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"
301
306
  }
302
307
  /** @enumType */
303
- type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE';
308
+ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE' | 'MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER';
304
309
  interface CustomLineItem {
305
310
  /**
306
311
  * Custom line item quantity.
@@ -357,6 +357,7 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
357
357
  PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
358
358
  PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
359
359
  PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
360
+ PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
360
361
  return PaymentOptionType2;
361
362
  })(PaymentOptionType || {});
362
363
  var ItemTypeItemType = /* @__PURE__ */ ((ItemTypeItemType2) => {