@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.
Files changed (45) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +0 -4
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -42
  5. package/build/cjs/index.typings.js +0 -4
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -28
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +0 -8
  10. package/build/cjs/schemas.js +0 -12
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +1 -1
  13. package/build/es/index.mjs +0 -4
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +1 -42
  16. package/build/es/index.typings.mjs +0 -4
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +1 -28
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +0 -8
  21. package/build/es/schemas.mjs +0 -12
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.d.ts +1 -1
  24. package/build/internal/cjs/index.js +0 -4
  25. package/build/internal/cjs/index.js.map +1 -1
  26. package/build/internal/cjs/index.typings.d.ts +1 -42
  27. package/build/internal/cjs/index.typings.js +0 -4
  28. package/build/internal/cjs/index.typings.js.map +1 -1
  29. package/build/internal/cjs/meta.d.ts +1 -28
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/cjs/schemas.d.ts +0 -8
  32. package/build/internal/cjs/schemas.js +0 -12
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/index.d.mts +1 -1
  35. package/build/internal/es/index.mjs +0 -4
  36. package/build/internal/es/index.mjs.map +1 -1
  37. package/build/internal/es/index.typings.d.mts +1 -42
  38. package/build/internal/es/index.typings.mjs +0 -4
  39. package/build/internal/es/index.typings.mjs.map +1 -1
  40. package/build/internal/es/meta.d.mts +1 -28
  41. package/build/internal/es/meta.mjs.map +1 -1
  42. package/build/internal/es/schemas.d.mts +0 -8
  43. package/build/internal/es/schemas.mjs +0 -12
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. 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(