@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.
@@ -166,6 +166,12 @@ function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
166
166
  srcPath: "/_api/ecom-cart",
167
167
  destPath: ""
168
168
  }
169
+ ],
170
+ "apps._base_domain_": [
171
+ {
172
+ srcPath: "/ecom/v1/carts",
173
+ destPath: "/v1/carts"
174
+ }
169
175
  ]
170
176
  };
171
177
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
@@ -873,6 +879,7 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
873
879
  PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
874
880
  PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
875
881
  PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
882
+ PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
876
883
  return PaymentOptionType2;
877
884
  })(PaymentOptionType || {});
878
885
  var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {