@wix/auto_sdk_ecom_cart 1.0.49 → 1.0.50

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.
@@ -648,10 +648,15 @@ declare enum PaymentOptionType {
648
648
  /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
649
649
  DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
650
650
  /** 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`. */
651
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
651
+ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE",
652
+ /**
653
+ * Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
654
+ * @documentationMaturity preview
655
+ */
656
+ MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"
652
657
  }
653
658
  /** @enumType */
654
- type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE';
659
+ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE' | 'MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER';
655
660
  interface ServiceProperties {
656
661
  /**
657
662
  * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
@@ -107,6 +107,12 @@ function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
107
107
  srcPath: "/_api/ecom-cart",
108
108
  destPath: ""
109
109
  }
110
+ ],
111
+ "apps._base_domain_": [
112
+ {
113
+ srcPath: "/ecom/v1/carts",
114
+ destPath: "/v1/carts"
115
+ }
110
116
  ]
111
117
  };
112
118
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -814,6 +820,7 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
814
820
  PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
815
821
  PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
816
822
  PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
823
+ PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
817
824
  return PaymentOptionType2;
818
825
  })(PaymentOptionType || {});
819
826
  var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {