@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +3 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +9 -0
- package/build/cjs/schemas.js +12 -1
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +3 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +9 -0
- package/build/es/schemas.mjs +12 -1
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -7
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +9 -0
- package/build/internal/cjs/schemas.js +12 -1
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +9 -0
- package/build/internal/es/schemas.mjs +12 -1
- package/build/internal/es/schemas.mjs.map +1 -1
- 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(
|