@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
|
@@ -2456,10 +2456,12 @@ declare enum AdditionalFeeSource {
|
|
|
2456
2456
|
/** The additional fee was added manually on the request */
|
|
2457
2457
|
MANUAL = "MANUAL",
|
|
2458
2458
|
/** The additional fee was added by the shipping provider */
|
|
2459
|
-
SHIPPING = "SHIPPING"
|
|
2459
|
+
SHIPPING = "SHIPPING",
|
|
2460
|
+
/** The additional fee was added by a Wix vertical and represents a Wix platform fee */
|
|
2461
|
+
PLATFORM_FEE = "PLATFORM_FEE"
|
|
2460
2462
|
}
|
|
2461
2463
|
/** @enumType */
|
|
2462
|
-
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
|
|
2464
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
|
|
2463
2465
|
interface Violation {
|
|
2464
2466
|
/** 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. */
|
|
2465
2467
|
severity?: SeverityWithLiterals;
|
|
@@ -3078,6 +3080,7 @@ declare function onCartDeleted(handler: (event: CartDeletedEnvelope) => void | P
|
|
|
3078
3080
|
interface CartUpdatedEnvelope {
|
|
3079
3081
|
entity: Cart;
|
|
3080
3082
|
metadata: EventMetadata;
|
|
3083
|
+
/** @hidden */
|
|
3081
3084
|
modifiedFields: Record<string, any>;
|
|
3082
3085
|
}
|
|
3083
3086
|
/** @permissionScope Manage Stores - all permissions
|
|
@@ -778,6 +778,7 @@ var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
|
778
778
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
779
779
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
780
780
|
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
781
|
+
AdditionalFeeSource2["PLATFORM_FEE"] = "PLATFORM_FEE";
|
|
781
782
|
return AdditionalFeeSource2;
|
|
782
783
|
})(AdditionalFeeSource || {});
|
|
783
784
|
var Severity = /* @__PURE__ */ ((Severity2) => {
|