@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;
@@ -2998,6 +2998,7 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
2998
2998
  PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
2999
2999
  PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
3000
3000
  PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
3001
+ PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
3001
3002
  return PaymentOptionType2;
3002
3003
  })(PaymentOptionType || {});
3003
3004
  var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {