@wix/auto_sdk_ecom_current-cart 1.0.105 → 1.0.106
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 +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -2
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -2
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -2
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -2
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -2
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -2
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2341,10 +2341,12 @@ declare enum AdditionalFeeSource {
|
|
|
2341
2341
|
/** The additional fee was added manually on the request */
|
|
2342
2342
|
MANUAL = "MANUAL",
|
|
2343
2343
|
/** The additional fee was added by the shipping provider */
|
|
2344
|
-
SHIPPING = "SHIPPING"
|
|
2344
|
+
SHIPPING = "SHIPPING",
|
|
2345
|
+
/** The additional fee was added by a Wix vertical and represents a Wix platform fee */
|
|
2346
|
+
PLATFORM_FEE = "PLATFORM_FEE"
|
|
2345
2347
|
}
|
|
2346
2348
|
/** @enumType */
|
|
2347
|
-
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
|
|
2349
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
|
|
2348
2350
|
interface Violation {
|
|
2349
2351
|
/** Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow. */
|
|
2350
2352
|
severity?: SeverityWithLiterals;
|
|
@@ -2958,6 +2960,7 @@ declare function onCartDeleted(handler: (event: CartDeletedEnvelope) => void | P
|
|
|
2958
2960
|
interface CartUpdatedEnvelope {
|
|
2959
2961
|
entity: Cart;
|
|
2960
2962
|
metadata: EventMetadata;
|
|
2963
|
+
/** @hidden */
|
|
2961
2964
|
modifiedFields: Record<string, any>;
|
|
2962
2965
|
}
|
|
2963
2966
|
/** @permissionScope Manage Stores - all permissions
|
|
@@ -834,6 +834,7 @@ var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
|
834
834
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
835
835
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
836
836
|
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
837
|
+
AdditionalFeeSource2["PLATFORM_FEE"] = "PLATFORM_FEE";
|
|
837
838
|
return AdditionalFeeSource2;
|
|
838
839
|
})(AdditionalFeeSource || {});
|
|
839
840
|
var Severity = /* @__PURE__ */ ((Severity2) => {
|