@wix/auto_sdk_ecom_cart 1.0.167 → 1.0.169

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 +3 -3
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +2 -0
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.d.ts +9 -0
  8. package/build/cjs/schemas.js +12 -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 +3 -3
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +2 -0
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/schemas.d.mts +9 -0
  17. package/build/es/schemas.mjs +12 -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 +2 -7
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +2 -0
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/schemas.d.ts +9 -0
  26. package/build/internal/cjs/schemas.js +12 -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 +2 -7
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +2 -0
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/schemas.d.mts +9 -0
  35. package/build/internal/es/schemas.mjs +12 -1
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -6041,6 +6041,15 @@ declare const EstimateTotalsResponse: z.ZodObject<{
6041
6041
  PLATFORM: "PLATFORM";
6042
6042
  }>>;
6043
6043
  translatedName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6044
+ taxableAddress: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
6045
+ addressType: z.ZodOptional<z.ZodNever>;
6046
+ }, z.core.$strip>, z.ZodObject<{
6047
+ addressType: z.ZodEnum<{
6048
+ BUSINESS: "BUSINESS";
6049
+ BILLING: "BILLING";
6050
+ SHIPPING: "SHIPPING";
6051
+ }>;
6052
+ }, z.core.$strip>]>>>;
6044
6053
  }, z.core.$strip>>>;
6045
6054
  violations: z.ZodOptional<z.ZodArray<z.ZodObject<{
6046
6055
  severity: z.ZodOptional<z.ZodEnum<{
@@ -9930,7 +9930,18 @@ var EstimateTotalsResponse = z.object({
9930
9930
  ]).describe("the source the additional fee was added from").optional(),
9931
9931
  translatedName: z.string().describe(
9932
9932
  "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)."
9933
- ).min(1).max(50).optional().nullable()
9933
+ ).min(1).max(50).optional().nullable(),
9934
+ taxableAddress: z.intersection(
9935
+ z.object({}),
9936
+ z.xor([
9937
+ z.object({ addressType: z.never().optional() }),
9938
+ z.object({
9939
+ addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
9940
+ "taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
9941
+ )
9942
+ })
9943
+ ])
9944
+ ).describe("Address type tax was calculated against for this fee.").optional()
9934
9945
  })
9935
9946
  ).max(100).optional(),
9936
9947
  violations: z.array(