@wix/auto_sdk_ecom_current-cart 1.0.178 → 1.0.179
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
|
@@ -4950,6 +4950,15 @@ declare const EstimateCurrentCartTotalsResponse: z.ZodObject<{
|
|
|
4950
4950
|
PLATFORM: "PLATFORM";
|
|
4951
4951
|
}>>;
|
|
4952
4952
|
translatedName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4953
|
+
taxableAddress: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
4954
|
+
addressType: z.ZodOptional<z.ZodNever>;
|
|
4955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4956
|
+
addressType: z.ZodEnum<{
|
|
4957
|
+
BUSINESS: "BUSINESS";
|
|
4958
|
+
BILLING: "BILLING";
|
|
4959
|
+
SHIPPING: "SHIPPING";
|
|
4960
|
+
}>;
|
|
4961
|
+
}, z.core.$strip>]>>>;
|
|
4953
4962
|
}, z.core.$strip>>>;
|
|
4954
4963
|
violations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4955
4964
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8022,7 +8022,18 @@ var EstimateCurrentCartTotalsResponse = z.object({
|
|
|
8022
8022
|
]).describe("the source the additional fee was added from").optional(),
|
|
8023
8023
|
translatedName: z.string().describe(
|
|
8024
8024
|
"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)."
|
|
8025
|
-
).min(1).max(50).optional().nullable()
|
|
8025
|
+
).min(1).max(50).optional().nullable(),
|
|
8026
|
+
taxableAddress: z.intersection(
|
|
8027
|
+
z.object({}),
|
|
8028
|
+
z.xor([
|
|
8029
|
+
z.object({ addressType: z.never().optional() }),
|
|
8030
|
+
z.object({
|
|
8031
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
8032
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
8033
|
+
)
|
|
8034
|
+
})
|
|
8035
|
+
])
|
|
8036
|
+
).describe("Address type tax was calculated against for this fee.").optional()
|
|
8026
8037
|
})
|
|
8027
8038
|
).max(100).optional(),
|
|
8028
8039
|
violations: z.array(
|