@wix/auto_sdk_ecom_cart 1.0.104 → 1.0.105
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;
|
|
@@ -3118,6 +3120,7 @@ declare function onCartDeleted(handler: (event: CartDeletedEnvelope) => void | P
|
|
|
3118
3120
|
interface CartUpdatedEnvelope {
|
|
3119
3121
|
entity: Cart;
|
|
3120
3122
|
metadata: EventMetadata;
|
|
3123
|
+
/** @hidden */
|
|
3121
3124
|
modifiedFields: Record<string, any>;
|
|
3122
3125
|
}
|
|
3123
3126
|
/** @permissionScope Manage Stores - all permissions
|
|
@@ -1022,6 +1022,7 @@ var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
|
1022
1022
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
1023
1023
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
1024
1024
|
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
1025
|
+
AdditionalFeeSource2["PLATFORM_FEE"] = "PLATFORM_FEE";
|
|
1025
1026
|
return AdditionalFeeSource2;
|
|
1026
1027
|
})(AdditionalFeeSource || {});
|
|
1027
1028
|
var Severity = /* @__PURE__ */ ((Severity2) => {
|