@wix/auto_sdk_ecom_cart 1.0.154 → 1.0.155
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 +0 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -42
- package/build/cjs/index.typings.js +0 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -28
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +0 -8
- package/build/cjs/schemas.js +0 -12
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +0 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -42
- package/build/es/index.typings.mjs +0 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -28
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +0 -8
- package/build/es/schemas.mjs +0 -12
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +0 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -42
- package/build/internal/cjs/index.typings.js +0 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -28
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +0 -8
- package/build/internal/cjs/schemas.js +0 -12
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +0 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -42
- package/build/internal/es/index.typings.mjs +0 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -28
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +0 -8
- package/build/internal/es/schemas.mjs +0 -12
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -354,10 +354,6 @@ declare const CreateCartRequest: z.ZodObject<{
|
|
|
354
354
|
revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
355
355
|
}, z.core.$strip>>;
|
|
356
356
|
couponCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
357
|
-
merchantDiscounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
358
|
-
amount: z.ZodOptional<z.ZodString>;
|
|
359
|
-
lineItemIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
|
-
}, z.core.$strip>>>;
|
|
361
357
|
lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
358
|
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
363
359
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1440,10 +1436,6 @@ declare const UpdateCartRequest: z.ZodObject<{
|
|
|
1440
1436
|
revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1441
1437
|
}, z.core.$strip>>;
|
|
1442
1438
|
couponCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1443
|
-
merchantDiscounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1444
|
-
amount: z.ZodOptional<z.ZodString>;
|
|
1445
|
-
lineItemIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1446
|
-
}, z.core.$strip>>>;
|
|
1447
1439
|
lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1448
1440
|
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1449
1441
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -624,12 +624,6 @@ var CreateCartRequest = z.object({
|
|
|
624
624
|
couponCode: z.string().describe(
|
|
625
625
|
"Code of an existing coupon to apply to cart. For more information, see the Coupons API."
|
|
626
626
|
).optional().nullable(),
|
|
627
|
-
merchantDiscounts: z.array(
|
|
628
|
-
z.object({
|
|
629
|
-
amount: z.string().describe("Discount amount.").optional(),
|
|
630
|
-
lineItemIds: z.array(z.string()).max(300).optional()
|
|
631
|
-
})
|
|
632
|
-
).max(100).optional(),
|
|
633
627
|
lineItems: z.array(
|
|
634
628
|
z.object({
|
|
635
629
|
_id: z.string().describe("Line item ID.").regex(
|
|
@@ -2506,12 +2500,6 @@ var UpdateCartRequest = z.object({
|
|
|
2506
2500
|
).optional().nullable()
|
|
2507
2501
|
}).describe("Cart info.").optional(),
|
|
2508
2502
|
couponCode: z.string().describe("Coupon code. For more information, see the Coupons API.").optional().nullable(),
|
|
2509
|
-
merchantDiscounts: z.array(
|
|
2510
|
-
z.object({
|
|
2511
|
-
amount: z.string().describe("Discount amount.").optional(),
|
|
2512
|
-
lineItemIds: z.array(z.string()).max(300).optional()
|
|
2513
|
-
})
|
|
2514
|
-
).max(100).optional(),
|
|
2515
2503
|
lineItems: z.array(
|
|
2516
2504
|
z.object({
|
|
2517
2505
|
_id: z.string().describe("Line item ID.").regex(
|