@wix/auto_sdk_ecom_cart 1.0.168 → 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 -1
- 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 -1
- 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 -5
- 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 -5
- 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
package/build/cjs/schemas.d.ts
CHANGED
|
@@ -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<{
|
package/build/cjs/schemas.js
CHANGED
|
@@ -9987,7 +9987,18 @@ var EstimateTotalsResponse = z.object({
|
|
|
9987
9987
|
]).describe("the source the additional fee was added from").optional(),
|
|
9988
9988
|
translatedName: z.string().describe(
|
|
9989
9989
|
"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()
|
|
9990
|
+
).min(1).max(50).optional().nullable(),
|
|
9991
|
+
taxableAddress: z.intersection(
|
|
9992
|
+
z.object({}),
|
|
9993
|
+
z.xor([
|
|
9994
|
+
z.object({ addressType: z.never().optional() }),
|
|
9995
|
+
z.object({
|
|
9996
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
9997
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
9998
|
+
)
|
|
9999
|
+
})
|
|
10000
|
+
])
|
|
10001
|
+
).describe("Address type tax was calculated against for this fee.").optional()
|
|
9991
10002
|
})
|
|
9992
10003
|
).max(100).optional(),
|
|
9993
10004
|
violations: z.array(
|