@wix/auto_sdk_ecom_cart 1.0.154 → 1.0.156

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 +1 -4
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -46
  5. package/build/cjs/index.typings.js +1 -4
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +2 -32
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +0 -8
  10. package/build/cjs/schemas.js +1 -15
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +1 -1
  13. package/build/es/index.mjs +1 -4
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -46
  16. package/build/es/index.typings.mjs +1 -4
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +2 -32
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +0 -8
  21. package/build/es/schemas.mjs +1 -15
  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 +1 -4
  25. package/build/internal/cjs/index.js.map +1 -1
  26. package/build/internal/cjs/index.typings.d.ts +9 -47
  27. package/build/internal/cjs/index.typings.js +1 -4
  28. package/build/internal/cjs/index.typings.js.map +1 -1
  29. package/build/internal/cjs/meta.d.ts +2 -32
  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 +1 -15
  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 +1 -4
  36. package/build/internal/es/index.mjs.map +1 -1
  37. package/build/internal/es/index.typings.d.mts +9 -47
  38. package/build/internal/es/index.typings.mjs +1 -4
  39. package/build/internal/es/index.typings.mjs.map +1 -1
  40. package/build/internal/es/meta.d.mts +2 -32
  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 +1 -15
  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>;
@@ -681,12 +681,6 @@ var CreateCartRequest = z.object({
681
681
  couponCode: z.string().describe(
682
682
  "Code of an existing coupon to apply to cart. For more information, see the Coupons API."
683
683
  ).optional().nullable(),
684
- merchantDiscounts: z.array(
685
- z.object({
686
- amount: z.string().describe("Discount amount.").optional(),
687
- lineItemIds: z.array(z.string()).max(300).optional()
688
- })
689
- ).max(100).optional(),
690
684
  lineItems: z.array(
691
685
  z.object({
692
686
  _id: z.string().describe("Line item ID.").regex(
@@ -2563,12 +2557,6 @@ var UpdateCartRequest = z.object({
2563
2557
  ).optional().nullable()
2564
2558
  }).describe("Cart info.").optional(),
2565
2559
  couponCode: z.string().describe("Coupon code. For more information, see the Coupons API.").optional().nullable(),
2566
- merchantDiscounts: z.array(
2567
- z.object({
2568
- amount: z.string().describe("Discount amount.").optional(),
2569
- lineItemIds: z.array(z.string()).max(300).optional()
2570
- })
2571
- ).max(100).optional(),
2572
2560
  lineItems: z.array(
2573
2561
  z.object({
2574
2562
  _id: z.string().describe("Line item ID.").regex(
@@ -8454,9 +8442,7 @@ var EstimateTotalsResponse = z.object({
8454
8442
  convertedAmount: z.string().describe("Converted amount.").optional(),
8455
8443
  formattedAmount: z.string().describe("Amount formatted with currency symbol.").optional(),
8456
8444
  formattedConvertedAmount: z.string().describe("Converted amount formatted with currency symbol.").optional()
8457
- }).describe(
8458
- "Item price before all discounts and modifiers.\nDefaults to `price` when not provided."
8459
- ).optional(),
8445
+ }).describe("Catalog price before any discounts, with modifiers.").optional(),
8460
8446
  depositAmount: z.object({
8461
8447
  amount: z.string().describe("Amount.").optional(),
8462
8448
  convertedAmount: z.string().describe("Converted amount.").optional(),