@wix/auto_sdk_ecom_subscription-contracts 1.0.118 → 1.0.119
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -0
- 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 +18 -0
- package/build/cjs/schemas.js +26 -2
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -0
- 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 +18 -0
- package/build/es/schemas.mjs +26 -2
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -4
- 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 +18 -0
- package/build/internal/cjs/schemas.js +26 -2
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -4
- 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 +18 -0
- package/build/internal/es/schemas.mjs +26 -2
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -706,6 +706,15 @@ declare const GetSubscriptionContractResponse: z.ZodObject<{
|
|
|
706
706
|
MANUAL: "MANUAL";
|
|
707
707
|
PLATFORM: "PLATFORM";
|
|
708
708
|
}>>;
|
|
709
|
+
taxableAddress: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
710
|
+
addressType: z.ZodOptional<z.ZodNever>;
|
|
711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
712
|
+
addressType: z.ZodEnum<{
|
|
713
|
+
BUSINESS: "BUSINESS";
|
|
714
|
+
BILLING: "BILLING";
|
|
715
|
+
SHIPPING: "SHIPPING";
|
|
716
|
+
}>;
|
|
717
|
+
}, z.core.$strip>]>>>;
|
|
709
718
|
}, z.core.$strip>>>;
|
|
710
719
|
activities: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
711
720
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1628,6 +1637,15 @@ declare const QuerySubscriptionContractsResponse: z.ZodObject<{
|
|
|
1628
1637
|
MANUAL: "MANUAL";
|
|
1629
1638
|
PLATFORM: "PLATFORM";
|
|
1630
1639
|
}>>;
|
|
1640
|
+
taxableAddress: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
1641
|
+
addressType: z.ZodOptional<z.ZodNever>;
|
|
1642
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1643
|
+
addressType: z.ZodEnum<{
|
|
1644
|
+
BUSINESS: "BUSINESS";
|
|
1645
|
+
BILLING: "BILLING";
|
|
1646
|
+
SHIPPING: "SHIPPING";
|
|
1647
|
+
}>;
|
|
1648
|
+
}, z.core.$strip>]>>>;
|
|
1631
1649
|
}, z.core.$strip>>>;
|
|
1632
1650
|
activities: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1633
1651
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1062,7 +1062,18 @@ var GetSubscriptionContractResponse = z.object({
|
|
|
1062
1062
|
"Must be a valid GUID"
|
|
1063
1063
|
).optional(),
|
|
1064
1064
|
lineItemIds: z.array(z.string()).optional(),
|
|
1065
|
-
source: z.enum(["SERVICE_PLUGIN", "ITEM", "MANUAL", "SHIPPING", "PLATFORM"]).describe("Specifies the entity that added the additional fee.").optional()
|
|
1065
|
+
source: z.enum(["SERVICE_PLUGIN", "ITEM", "MANUAL", "SHIPPING", "PLATFORM"]).describe("Specifies the entity that added the additional fee.").optional(),
|
|
1066
|
+
taxableAddress: z.intersection(
|
|
1067
|
+
z.object({}),
|
|
1068
|
+
z.xor([
|
|
1069
|
+
z.object({ addressType: z.never().optional() }),
|
|
1070
|
+
z.object({
|
|
1071
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
1072
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
1073
|
+
)
|
|
1074
|
+
})
|
|
1075
|
+
])
|
|
1076
|
+
).describe("Address type tax was calculated against for this fee.").optional()
|
|
1066
1077
|
})
|
|
1067
1078
|
).max(100).optional(),
|
|
1068
1079
|
activities: z.array(
|
|
@@ -2518,7 +2529,20 @@ var QuerySubscriptionContractsResponse = z.object({
|
|
|
2518
2529
|
"MANUAL",
|
|
2519
2530
|
"SHIPPING",
|
|
2520
2531
|
"PLATFORM"
|
|
2521
|
-
]).describe("Specifies the entity that added the additional fee.").optional()
|
|
2532
|
+
]).describe("Specifies the entity that added the additional fee.").optional(),
|
|
2533
|
+
taxableAddress: z.intersection(
|
|
2534
|
+
z.object({}),
|
|
2535
|
+
z.xor([
|
|
2536
|
+
z.object({ addressType: z.never().optional() }),
|
|
2537
|
+
z.object({
|
|
2538
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
2539
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
2540
|
+
)
|
|
2541
|
+
})
|
|
2542
|
+
])
|
|
2543
|
+
).describe(
|
|
2544
|
+
"Address type tax was calculated against for this fee."
|
|
2545
|
+
).optional()
|
|
2522
2546
|
})
|
|
2523
2547
|
).max(100).optional(),
|
|
2524
2548
|
activities: z.array(
|