@wix/auto_sdk_ecom_current-cart 1.0.177 → 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 -2
- 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 -2
- 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 -6
- 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 -6
- 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
|
@@ -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<{
|
package/build/cjs/schemas.js
CHANGED
|
@@ -8075,7 +8075,18 @@ var EstimateCurrentCartTotalsResponse = z.object({
|
|
|
8075
8075
|
]).describe("the source the additional fee was added from").optional(),
|
|
8076
8076
|
translatedName: z.string().describe(
|
|
8077
8077
|
"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)."
|
|
8078
|
-
).min(1).max(50).optional().nullable()
|
|
8078
|
+
).min(1).max(50).optional().nullable(),
|
|
8079
|
+
taxableAddress: z.intersection(
|
|
8080
|
+
z.object({}),
|
|
8081
|
+
z.xor([
|
|
8082
|
+
z.object({ addressType: z.never().optional() }),
|
|
8083
|
+
z.object({
|
|
8084
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
8085
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
8086
|
+
)
|
|
8087
|
+
})
|
|
8088
|
+
])
|
|
8089
|
+
).describe("Address type tax was calculated against for this fee.").optional()
|
|
8079
8090
|
})
|
|
8080
8091
|
).max(100).optional(),
|
|
8081
8092
|
violations: z.array(
|