@wix/auto_sdk_ecom_subscription-contracts 1.0.117 → 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.d.ts +1 -1
- package/build/cjs/index.js +27 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +67 -22
- package/build/cjs/index.typings.js +27 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +67 -22
- package/build/cjs/meta.js +27 -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.d.mts +1 -1
- package/build/es/index.mjs +26 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +67 -22
- package/build/es/index.typings.mjs +26 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +67 -22
- package/build/es/meta.mjs +26 -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.d.ts +1 -1
- package/build/internal/cjs/index.js +27 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +100 -23
- package/build/internal/cjs/index.typings.js +27 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +67 -22
- package/build/internal/cjs/meta.js +27 -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.d.mts +1 -1
- package/build/internal/es/index.mjs +26 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +100 -23
- package/build/internal/es/index.typings.mjs +26 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +67 -22
- package/build/internal/es/meta.mjs +26 -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>;
|
|
@@ -1023,7 +1023,18 @@ var GetSubscriptionContractResponse = z.object({
|
|
|
1023
1023
|
"Must be a valid GUID"
|
|
1024
1024
|
).optional(),
|
|
1025
1025
|
lineItemIds: z.array(z.string()).optional(),
|
|
1026
|
-
source: z.enum(["SERVICE_PLUGIN", "ITEM", "MANUAL", "SHIPPING", "PLATFORM"]).describe("Specifies the entity that added the additional fee.").optional()
|
|
1026
|
+
source: z.enum(["SERVICE_PLUGIN", "ITEM", "MANUAL", "SHIPPING", "PLATFORM"]).describe("Specifies the entity that added the additional fee.").optional(),
|
|
1027
|
+
taxableAddress: z.intersection(
|
|
1028
|
+
z.object({}),
|
|
1029
|
+
z.xor([
|
|
1030
|
+
z.object({ addressType: z.never().optional() }),
|
|
1031
|
+
z.object({
|
|
1032
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
1033
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
1034
|
+
)
|
|
1035
|
+
})
|
|
1036
|
+
])
|
|
1037
|
+
).describe("Address type tax was calculated against for this fee.").optional()
|
|
1027
1038
|
})
|
|
1028
1039
|
).max(100).optional(),
|
|
1029
1040
|
activities: z.array(
|
|
@@ -2479,7 +2490,20 @@ var QuerySubscriptionContractsResponse = z.object({
|
|
|
2479
2490
|
"MANUAL",
|
|
2480
2491
|
"SHIPPING",
|
|
2481
2492
|
"PLATFORM"
|
|
2482
|
-
]).describe("Specifies the entity that added the additional fee.").optional()
|
|
2493
|
+
]).describe("Specifies the entity that added the additional fee.").optional(),
|
|
2494
|
+
taxableAddress: z.intersection(
|
|
2495
|
+
z.object({}),
|
|
2496
|
+
z.xor([
|
|
2497
|
+
z.object({ addressType: z.never().optional() }),
|
|
2498
|
+
z.object({
|
|
2499
|
+
addressType: z.enum(["BUSINESS", "BILLING", "SHIPPING"]).describe(
|
|
2500
|
+
"taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly."
|
|
2501
|
+
)
|
|
2502
|
+
})
|
|
2503
|
+
])
|
|
2504
|
+
).describe(
|
|
2505
|
+
"Address type tax was calculated against for this fee."
|
|
2506
|
+
).optional()
|
|
2483
2507
|
})
|
|
2484
2508
|
).max(100).optional(),
|
|
2485
2509
|
activities: z.array(
|