@wix/auto_sdk_ecom_cart 1.0.168 → 1.0.170

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 (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +5 -1
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +4 -0
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.d.ts +15 -0
  8. package/build/cjs/schemas.js +18 -1
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +5 -1
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +4 -0
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/schemas.d.mts +15 -0
  17. package/build/es/schemas.mjs +18 -1
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +3 -9
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +4 -0
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/schemas.d.ts +15 -0
  26. package/build/internal/cjs/schemas.js +18 -1
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +3 -9
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +4 -0
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/schemas.d.mts +15 -0
  35. package/build/internal/es/schemas.mjs +18 -1
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -4901,6 +4901,12 @@ declare const EstimateTotalsResponse: z.ZodObject<{
4901
4901
  formattedAmount: z.ZodOptional<z.ZodString>;
4902
4902
  formattedConvertedAmount: z.ZodOptional<z.ZodString>;
4903
4903
  }, z.core.$strip>>;
4904
+ modifiers: z.ZodOptional<z.ZodObject<{
4905
+ amount: z.ZodOptional<z.ZodString>;
4906
+ convertedAmount: z.ZodOptional<z.ZodString>;
4907
+ formattedAmount: z.ZodOptional<z.ZodString>;
4908
+ formattedConvertedAmount: z.ZodOptional<z.ZodString>;
4909
+ }, z.core.$strip>>;
4904
4910
  depositAmount: z.ZodOptional<z.ZodObject<{
4905
4911
  amount: z.ZodOptional<z.ZodString>;
4906
4912
  convertedAmount: z.ZodOptional<z.ZodString>;
@@ -6041,6 +6047,15 @@ declare const EstimateTotalsResponse: z.ZodObject<{
6041
6047
  PLATFORM: "PLATFORM";
6042
6048
  }>>;
6043
6049
  translatedName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6050
+ taxableAddress: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
6051
+ addressType: z.ZodOptional<z.ZodNever>;
6052
+ }, z.core.$strip>, z.ZodObject<{
6053
+ addressType: z.ZodEnum<{
6054
+ BUSINESS: "BUSINESS";
6055
+ BILLING: "BILLING";
6056
+ SHIPPING: "SHIPPING";
6057
+ }>;
6058
+ }, z.core.$strip>]>>>;
6044
6059
  }, z.core.$strip>>>;
6045
6060
  violations: z.ZodOptional<z.ZodArray<z.ZodObject<{
6046
6061
  severity: z.ZodOptional<z.ZodEnum<{
@@ -8443,6 +8443,12 @@ var EstimateTotalsResponse = z.object({
8443
8443
  formattedAmount: z.string().describe("Amount formatted with currency symbol.").optional(),
8444
8444
  formattedConvertedAmount: z.string().describe("Converted amount formatted with currency symbol.").optional()
8445
8445
  }).describe("Catalog price before any discounts, with modifiers.").optional(),
8446
+ modifiers: z.object({
8447
+ amount: z.string().describe("Amount.").optional(),
8448
+ convertedAmount: z.string().describe("Converted amount.").optional(),
8449
+ formattedAmount: z.string().describe("Amount formatted with currency symbol.").optional(),
8450
+ formattedConvertedAmount: z.string().describe("Converted amount formatted with currency symbol.").optional()
8451
+ }).describe("Sum of all modifiers for a single unit of the item.").optional(),
8446
8452
  depositAmount: z.object({
8447
8453
  amount: z.string().describe("Amount.").optional(),
8448
8454
  convertedAmount: z.string().describe("Converted amount.").optional(),
@@ -9987,7 +9993,18 @@ var EstimateTotalsResponse = z.object({
9987
9993
  ]).describe("the source the additional fee was added from").optional(),
9988
9994
  translatedName: z.string().describe(
9989
9995
  "The translated name of the additional fee. The translation language is determined by the `languages` field in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope)."
9990
- ).min(1).max(50).optional().nullable()
9996
+ ).min(1).max(50).optional().nullable(),
9997
+ taxableAddress: z.intersection(
9998
+ z.object({}),
9999
+ z.xor([
10000
+ z.object({ addressType: z.never().optional() }),
10001
+ z.object({
10002
+ addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
10003
+ "taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
10004
+ )
10005
+ })
10006
+ ])
10007
+ ).describe("Address type tax was calculated against for this fee.").optional()
9991
10008
  })
9992
10009
  ).max(100).optional(),
9993
10010
  violations: z.array(