@wix/auto_sdk_ecom_current-cart 1.0.164 → 1.0.166
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.d.ts +1 -1
- package/build/cjs/index.js +1 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -39
- package/build/cjs/index.typings.js +1 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -32
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +0 -4
- package/build/cjs/schemas.js +1 -9
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -39
- package/build/es/index.typings.mjs +1 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -32
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +0 -4
- package/build/es/schemas.mjs +1 -9
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +1 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +9 -40
- package/build/internal/cjs/index.typings.js +1 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -32
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +0 -4
- package/build/internal/cjs/schemas.js +1 -9
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +1 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +9 -40
- package/build/internal/es/index.typings.mjs +1 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -32
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +0 -4
- package/build/internal/es/schemas.mjs +1 -9
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -706,10 +706,6 @@ declare const UpdateCurrentCartRequest: z.ZodObject<{
|
|
|
706
706
|
revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
707
707
|
}, z.core.$strip>>;
|
|
708
708
|
couponCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
709
|
-
merchantDiscounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
710
|
-
amount: z.ZodOptional<z.ZodString>;
|
|
711
|
-
lineItemIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
712
|
-
}, z.core.$strip>>>;
|
|
713
709
|
lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
714
710
|
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
715
711
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1214,12 +1214,6 @@ var UpdateCurrentCartRequest = z.object({
|
|
|
1214
1214
|
).optional().nullable()
|
|
1215
1215
|
}).describe("Cart info.").optional(),
|
|
1216
1216
|
couponCode: z.string().describe("Coupon code. For more information, see the Coupons API.").optional().nullable(),
|
|
1217
|
-
merchantDiscounts: z.array(
|
|
1218
|
-
z.object({
|
|
1219
|
-
amount: z.string().describe("Discount amount.").optional(),
|
|
1220
|
-
lineItemIds: z.array(z.string()).max(300).optional()
|
|
1221
|
-
})
|
|
1222
|
-
).max(100).optional(),
|
|
1223
1217
|
lineItems: z.array(
|
|
1224
1218
|
z.object({
|
|
1225
1219
|
_id: z.string().describe("Line item ID.").regex(
|
|
@@ -6483,9 +6477,7 @@ var EstimateCurrentCartTotalsResponse = z.object({
|
|
|
6483
6477
|
convertedAmount: z.string().describe("Converted amount.").optional(),
|
|
6484
6478
|
formattedAmount: z.string().describe("Amount formatted with currency symbol.").optional(),
|
|
6485
6479
|
formattedConvertedAmount: z.string().describe("Converted amount formatted with currency symbol.").optional()
|
|
6486
|
-
}).describe(
|
|
6487
|
-
"Item price before all discounts and modifiers.\nDefaults to `price` when not provided."
|
|
6488
|
-
).optional(),
|
|
6480
|
+
}).describe("Catalog price before any discounts, with modifiers.").optional(),
|
|
6489
6481
|
depositAmount: z.object({
|
|
6490
6482
|
amount: z.string().describe("Amount.").optional(),
|
|
6491
6483
|
convertedAmount: z.string().describe("Converted amount.").optional(),
|