@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.
- package/build/cjs/index.js +7 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -2
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -2
- package/build/cjs/meta.js +6 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -2
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -2
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +7 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -2
- package/build/internal/cjs/index.typings.js +7 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -2
- package/build/internal/cjs/meta.js +6 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +7 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -2
- package/build/internal/es/index.typings.mjs +7 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +7 -2
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -625,10 +625,15 @@ declare enum PaymentOptionType {
|
|
|
625
625
|
/** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
|
|
626
626
|
DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
|
|
627
627
|
/** 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`. */
|
|
628
|
-
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
628
|
+
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE",
|
|
629
|
+
/**
|
|
630
|
+
* Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
|
|
631
|
+
* @documentationMaturity preview
|
|
632
|
+
*/
|
|
633
|
+
MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"
|
|
629
634
|
}
|
|
630
635
|
/** @enumType */
|
|
631
|
-
type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE';
|
|
636
|
+
type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE' | 'MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER';
|
|
632
637
|
interface ServiceProperties {
|
|
633
638
|
/**
|
|
634
639
|
* 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) => {
|