@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>;
|
|
@@ -1267,12 +1267,6 @@ var UpdateCurrentCartRequest = z.object({
|
|
|
1267
1267
|
).optional().nullable()
|
|
1268
1268
|
}).describe("Cart info.").optional(),
|
|
1269
1269
|
couponCode: z.string().describe("Coupon code. For more information, see the Coupons API.").optional().nullable(),
|
|
1270
|
-
merchantDiscounts: z.array(
|
|
1271
|
-
z.object({
|
|
1272
|
-
amount: z.string().describe("Discount amount.").optional(),
|
|
1273
|
-
lineItemIds: z.array(z.string()).max(300).optional()
|
|
1274
|
-
})
|
|
1275
|
-
).max(100).optional(),
|
|
1276
1270
|
lineItems: z.array(
|
|
1277
1271
|
z.object({
|
|
1278
1272
|
_id: z.string().describe("Line item ID.").regex(
|
|
@@ -6536,9 +6530,7 @@ var EstimateCurrentCartTotalsResponse = z.object({
|
|
|
6536
6530
|
convertedAmount: z.string().describe("Converted amount.").optional(),
|
|
6537
6531
|
formattedAmount: z.string().describe("Amount formatted with currency symbol.").optional(),
|
|
6538
6532
|
formattedConvertedAmount: z.string().describe("Converted amount formatted with currency symbol.").optional()
|
|
6539
|
-
}).describe(
|
|
6540
|
-
"Item price before all discounts and modifiers.\nDefaults to `price` when not provided."
|
|
6541
|
-
).optional(),
|
|
6533
|
+
}).describe("Catalog price before any discounts, with modifiers.").optional(),
|
|
6542
6534
|
depositAmount: z.object({
|
|
6543
6535
|
amount: z.string().describe("Amount.").optional(),
|
|
6544
6536
|
convertedAmount: z.string().describe("Converted amount.").optional(),
|