@wix/auto_sdk_ecom_draft-orders 1.0.45 → 1.0.46

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.
@@ -491,10 +491,15 @@ declare enum PaymentOptionType {
491
491
  /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
492
492
  DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
493
493
  /** 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`. */
494
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
494
+ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE",
495
+ /**
496
+ * Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
497
+ * @documentationMaturity preview
498
+ */
499
+ MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"
495
500
  }
496
501
  /** @enumType */
497
- type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE';
502
+ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE' | 'MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER';
498
503
  interface ItemTaxFullDetails {
499
504
  /** Taxable amount of this line item. */
500
505
  taxableAmount?: Price;
@@ -3071,6 +3071,7 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
3071
3071
  PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
3072
3072
  PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
3073
3073
  PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
3074
+ PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
3074
3075
  return PaymentOptionType2;
3075
3076
  })(PaymentOptionType || {});
3076
3077
  var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {