@wix/auto_sdk_ecom_tax-calculation 1.0.54 → 1.0.55

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.
@@ -1,74 +1,74 @@
1
1
  // src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.schemas.ts
2
2
  import * as z from "zod";
3
3
  var CalculateTaxRequest = /* @__PURE__ */ z.object({
4
- options: z.object({
5
- externalId: z.string().describe(
4
+ options: /* @__PURE__ */ z.object({
5
+ externalId: /* @__PURE__ */ z.string().describe(
6
6
  "Optional ID of the entity that tax is being calculated for. For example, a cart ID."
7
7
  ).regex(
8
8
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
9
9
  "Must be a valid GUID"
10
10
  ).optional().nullable(),
11
- currency: z.string().describe(
11
+ currency: /* @__PURE__ */ z.string().describe(
12
12
  "3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format."
13
13
  ).optional(),
14
- addresses: z.array(
15
- z.object({
16
- country: z.string().describe(
14
+ addresses: /* @__PURE__ */ z.array(
15
+ /* @__PURE__ */ z.object({
16
+ country: /* @__PURE__ */ z.string().describe(
17
17
  "2-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format."
18
18
  ).optional().nullable(),
19
- subdivision: z.string().describe(
19
+ subdivision: /* @__PURE__ */ z.string().describe(
20
20
  "Subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format."
21
21
  ).max(50).optional().nullable(),
22
- city: z.string().describe("City name.").max(100).optional().nullable(),
23
- postalCode: z.string().describe("Postal or zip code.").max(50).optional().nullable(),
24
- addressLine: z.string().describe(
22
+ city: /* @__PURE__ */ z.string().describe("City name.").max(100).optional().nullable(),
23
+ postalCode: /* @__PURE__ */ z.string().describe("Postal or zip code.").max(50).optional().nullable(),
24
+ addressLine: /* @__PURE__ */ z.string().describe(
25
25
  "Main address line, usually street and number as free text."
26
26
  ).max(200).optional().nullable(),
27
- addressLine2: z.string().describe(
27
+ addressLine2: /* @__PURE__ */ z.string().describe(
28
28
  "Free text providing more detailed address information, such as apartment, suite, or floor."
29
29
  ).max(200).optional().nullable()
30
30
  })
31
31
  ).min(1).max(3),
32
- lineItems: z.array(
33
- z.object({
34
- _id: z.string().describe("Line item ID.").min(1).max(100),
35
- itemName: z.string().describe("Line item name to display.").min(0).max(250).optional().nullable(),
36
- quantity: z.number().int().describe("Line item quantity.").min(1).max(1e5).optional(),
37
- price: z.string().describe("Line item price."),
38
- itemCode: z.string().describe(
32
+ lineItems: /* @__PURE__ */ z.array(
33
+ /* @__PURE__ */ z.object({
34
+ _id: /* @__PURE__ */ z.string().describe("Line item ID.").min(1).max(100),
35
+ itemName: /* @__PURE__ */ z.string().describe("Line item name to display.").min(0).max(250).optional().nullable(),
36
+ quantity: /* @__PURE__ */ z.number().int().describe("Line item quantity.").min(1).max(1e5).optional(),
37
+ price: /* @__PURE__ */ z.string().describe("Line item price."),
38
+ itemCode: /* @__PURE__ */ z.string().describe(
39
39
  "Stock keeping unit for this line item. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku)."
40
40
  ).max(40).optional().nullable(),
41
- taxGroupId: z.string().describe(
41
+ taxGroupId: /* @__PURE__ */ z.string().describe(
42
42
  "Tax group ID for this line item. If not provided, the default tax group applies."
43
43
  ).regex(
44
44
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
45
45
  "Must be a valid GUID"
46
46
  ).optional().nullable(),
47
- appId: z.string().describe(
47
+ appId: /* @__PURE__ */ z.string().describe(
48
48
  'ID of the app providing the catalog for this line item.\n\nYou can get your app\'s ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).\n\nFor items from Wix catalogs, the following values always apply:\n+ Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`\n+ Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n+ Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`'
49
49
  ).regex(
50
50
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
51
51
  "Must be a valid GUID"
52
52
  ).optional().nullable(),
53
- taxIncludedInPrice: z.boolean().describe("Whether tax is included in the price.").optional().nullable(),
54
- addressIndex: z.intersection(
55
- z.object({}),
56
- z.xor([
57
- z.object({
58
- singleAddress: z.never().optional(),
59
- multipleAddresses: z.never().optional()
53
+ taxIncludedInPrice: /* @__PURE__ */ z.boolean().describe("Whether tax is included in the price.").optional().nullable(),
54
+ addressIndex: /* @__PURE__ */ z.intersection(
55
+ /* @__PURE__ */ z.object({}),
56
+ /* @__PURE__ */ z.xor([
57
+ /* @__PURE__ */ z.object({
58
+ singleAddress: /* @__PURE__ */ z.never().optional(),
59
+ multipleAddresses: /* @__PURE__ */ z.never().optional()
60
60
  }),
61
- z.object({
62
- multipleAddresses: z.never().optional(),
63
- singleAddress: z.number().int().describe(
61
+ /* @__PURE__ */ z.object({
62
+ multipleAddresses: /* @__PURE__ */ z.never().optional(),
63
+ singleAddress: /* @__PURE__ */ z.number().int().describe(
64
64
  "Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based."
65
65
  )
66
66
  }),
67
- z.object({
68
- singleAddress: z.never().optional(),
69
- multipleAddresses: z.object({
70
- origin: z.number().int().describe("Index of the origin address.").optional(),
71
- destination: z.number().int().describe("Index of the destination address.").optional()
67
+ /* @__PURE__ */ z.object({
68
+ singleAddress: /* @__PURE__ */ z.never().optional(),
69
+ multipleAddresses: /* @__PURE__ */ z.object({
70
+ origin: /* @__PURE__ */ z.number().int().describe("Index of the origin address.").optional(),
71
+ destination: /* @__PURE__ */ z.number().int().describe("Index of the destination address.").optional()
72
72
  }).describe(
73
73
  "Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item is shipped from,\nas well as the address the item is shipped to."
74
74
  )
@@ -82,39 +82,39 @@ var CalculateTaxRequest = /* @__PURE__ */ z.object({
82
82
  }).describe("Calculate tax options.")
83
83
  });
84
84
  var CalculateTaxResponse = /* @__PURE__ */ z.object({
85
- externalId: z.string().describe(
85
+ externalId: /* @__PURE__ */ z.string().describe(
86
86
  "Optional ID of the entity that tax is being calculated for. For example, a cart ID."
87
87
  ).regex(
88
88
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
89
89
  "Must be a valid GUID"
90
90
  ).optional().nullable(),
91
- currency: z.string().describe(
91
+ currency: /* @__PURE__ */ z.string().describe(
92
92
  "3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format."
93
93
  ).optional(),
94
- addresses: z.array(
95
- z.object({
96
- city: z.string().optional().nullable(),
97
- subdivision: z.string().optional().nullable(),
98
- country: z.string().optional().nullable(),
99
- postalCode: z.string().optional().nullable(),
100
- addressLine2: z.string().optional().nullable()
94
+ addresses: /* @__PURE__ */ z.array(
95
+ /* @__PURE__ */ z.object({
96
+ city: /* @__PURE__ */ z.string().optional().nullable(),
97
+ subdivision: /* @__PURE__ */ z.string().optional().nullable(),
98
+ country: /* @__PURE__ */ z.string().optional().nullable(),
99
+ postalCode: /* @__PURE__ */ z.string().optional().nullable(),
100
+ addressLine2: /* @__PURE__ */ z.string().optional().nullable()
101
101
  })
102
102
  ).min(1).max(3).optional(),
103
- taxSummary: z.object({
104
- totalAmount: z.string().describe("Total price for all line items.").optional(),
105
- totalTax: z.string().describe(
103
+ taxSummary: /* @__PURE__ */ z.object({
104
+ totalAmount: /* @__PURE__ */ z.string().describe("Total price for all line items.").optional(),
105
+ totalTax: /* @__PURE__ */ z.string().describe(
106
106
  "Total amount of tax calculated for all line items.\nNote that due to rounding, `totalTax` may not equal the sum of `lineItemTaxDetails.taxSummary.taxAmount`."
107
107
  ).optional(),
108
- totalTaxableAmount: z.string().describe("Total taxable amount for all line items.").optional(),
109
- totalTaxIncludedInPrice: z.string().describe(
108
+ totalTaxableAmount: /* @__PURE__ */ z.string().describe("Total taxable amount for all line items.").optional(),
109
+ totalTaxIncludedInPrice: /* @__PURE__ */ z.string().describe(
110
110
  "Total amount of `totalTax` that is included in price. Applies to line items with `taxIncludedInPrice` set to `true`."
111
111
  ).optional(),
112
- aggregatedTaxBreakdown: z.array(
113
- z.object({
114
- taxName: z.string().describe("Name of the tax that was calculated.").max(200).optional(),
115
- taxType: z.string().describe("Type of tax that was calculated.").max(200).optional(),
116
- jurisdiction: z.string().describe("Jurisdiction that taxes were calculated for.").max(200).optional(),
117
- jurisdictionType: z.enum([
112
+ aggregatedTaxBreakdown: /* @__PURE__ */ z.array(
113
+ /* @__PURE__ */ z.object({
114
+ taxName: /* @__PURE__ */ z.string().describe("Name of the tax that was calculated.").max(200).optional(),
115
+ taxType: /* @__PURE__ */ z.string().describe("Type of tax that was calculated.").max(200).optional(),
116
+ jurisdiction: /* @__PURE__ */ z.string().describe("Jurisdiction that taxes were calculated for.").max(200).optional(),
117
+ jurisdictionType: /* @__PURE__ */ z.enum([
118
118
  "UNDEFINED",
119
119
  "COUNTRY",
120
120
  "STATE",
@@ -122,36 +122,36 @@ var CalculateTaxResponse = /* @__PURE__ */ z.object({
122
122
  "CITY",
123
123
  "SPECIAL"
124
124
  ]).describe("Type of jurisdiction that taxes were calculated for.").optional(),
125
- rate: z.string().describe(
125
+ rate: /* @__PURE__ */ z.string().describe(
126
126
  'Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is `"0.1000"` and 200% tax is `"2.0000"`.'
127
127
  ).optional(),
128
- aggregatedTaxAmount: z.string().describe("Total amount of this tax for this jurisdiction.").optional()
128
+ aggregatedTaxAmount: /* @__PURE__ */ z.string().describe("Total amount of this tax for this jurisdiction.").optional()
129
129
  })
130
130
  ).min(0).max(50).optional()
131
131
  }).describe("Summary of the tax calculated.").optional(),
132
- lineItemTaxDetails: z.array(
133
- z.object({
134
- _id: z.string().describe("Line item ID.").min(1).max(100).optional(),
135
- itemName: z.string().describe("Line item name to display.").min(0).max(250).optional().nullable(),
136
- quantity: z.number().int().describe("Line item quantity.").min(1).max(1e5).optional(),
137
- taxBreakdown: z.array(
138
- z.object({
139
- jurisdiction: z.string().describe("Jurisdiction that taxes were calculated for.").max(200).optional().nullable(),
140
- nonTaxableAmount: z.string().describe("Non-taxable amount of the price.").optional().nullable(),
141
- rate: z.string().describe(
132
+ lineItemTaxDetails: /* @__PURE__ */ z.array(
133
+ /* @__PURE__ */ z.object({
134
+ _id: /* @__PURE__ */ z.string().describe("Line item ID.").min(1).max(100).optional(),
135
+ itemName: /* @__PURE__ */ z.string().describe("Line item name to display.").min(0).max(250).optional().nullable(),
136
+ quantity: /* @__PURE__ */ z.number().int().describe("Line item quantity.").min(1).max(1e5).optional(),
137
+ taxBreakdown: /* @__PURE__ */ z.array(
138
+ /* @__PURE__ */ z.object({
139
+ jurisdiction: /* @__PURE__ */ z.string().describe("Jurisdiction that taxes were calculated for.").max(200).optional().nullable(),
140
+ nonTaxableAmount: /* @__PURE__ */ z.string().describe("Non-taxable amount of the price.").optional().nullable(),
141
+ rate: /* @__PURE__ */ z.string().describe(
142
142
  'Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is `"0.1000"` and 200% tax is `"2.0000"`.'
143
143
  ).optional().nullable(),
144
- taxAmount: z.string().describe(
144
+ taxAmount: /* @__PURE__ */ z.string().describe(
145
145
  "Amount of this tax calculated for this jurisdiction."
146
146
  ).optional().nullable(),
147
- taxableAmount: z.string().describe("Taxable amount of the price.").optional().nullable(),
148
- taxType: z.string().describe(
147
+ taxableAmount: /* @__PURE__ */ z.string().describe("Taxable amount of the price.").optional().nullable(),
148
+ taxType: /* @__PURE__ */ z.string().describe(
149
149
  'Type of tax that was calculated. For example, `"Sales Tax"`, `"Income Tax"`, `"Value Added Tax"`, etc.'
150
150
  ).max(200).optional().nullable(),
151
- taxName: z.string().describe(
151
+ taxName: /* @__PURE__ */ z.string().describe(
152
152
  'Name of the tax that was calculated. For example, `"NY State Sales Tax"`, `"Quebec GST"`, etc.'
153
153
  ).max(200).optional().nullable(),
154
- jurisdictionType: z.enum([
154
+ jurisdictionType: /* @__PURE__ */ z.enum([
155
155
  "UNDEFINED",
156
156
  "COUNTRY",
157
157
  "STATE",
@@ -163,34 +163,34 @@ var CalculateTaxResponse = /* @__PURE__ */ z.object({
163
163
  ).optional()
164
164
  })
165
165
  ).max(7).optional(),
166
- taxSummary: z.object({
167
- fullPrice: z.string().describe(
166
+ taxSummary: /* @__PURE__ */ z.object({
167
+ fullPrice: /* @__PURE__ */ z.string().describe(
168
168
  "Total price for this line item.\nTo determine the price for each individual unit of this line item, divide by `quantity`."
169
169
  ).optional().nullable(),
170
- taxAmount: z.string().describe("Total amount of tax calculated for this line item.").optional(),
171
- taxableAmount: z.string().describe("Total taxable amount for this line item.").optional(),
172
- appId: z.string().describe(
170
+ taxAmount: /* @__PURE__ */ z.string().describe("Total amount of tax calculated for this line item.").optional(),
171
+ taxableAmount: /* @__PURE__ */ z.string().describe("Total taxable amount for this line item.").optional(),
172
+ appId: /* @__PURE__ */ z.string().describe(
173
173
  "ID of the calculator app that calculated tax for this line item."
174
174
  ).max(50).optional().nullable()
175
175
  }).describe("Summary of this line item's total price and tax.").optional(),
176
- addressIndex: z.intersection(
177
- z.object({}),
178
- z.xor([
179
- z.object({
180
- singleAddress: z.never().optional(),
181
- multipleAddresses: z.never().optional()
176
+ addressIndex: /* @__PURE__ */ z.intersection(
177
+ /* @__PURE__ */ z.object({}),
178
+ /* @__PURE__ */ z.xor([
179
+ /* @__PURE__ */ z.object({
180
+ singleAddress: /* @__PURE__ */ z.never().optional(),
181
+ multipleAddresses: /* @__PURE__ */ z.never().optional()
182
182
  }),
183
- z.object({
184
- multipleAddresses: z.never().optional(),
185
- singleAddress: z.number().int().describe(
183
+ /* @__PURE__ */ z.object({
184
+ multipleAddresses: /* @__PURE__ */ z.never().optional(),
185
+ singleAddress: /* @__PURE__ */ z.number().int().describe(
186
186
  "Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based."
187
187
  )
188
188
  }),
189
- z.object({
190
- singleAddress: z.never().optional(),
191
- multipleAddresses: z.object({
192
- origin: z.number().int().describe("Index of the origin address.").optional(),
193
- destination: z.number().int().describe("Index of the destination address.").optional()
189
+ /* @__PURE__ */ z.object({
190
+ singleAddress: /* @__PURE__ */ z.never().optional(),
191
+ multipleAddresses: /* @__PURE__ */ z.object({
192
+ origin: /* @__PURE__ */ z.number().int().describe("Index of the origin address.").optional(),
193
+ destination: /* @__PURE__ */ z.number().int().describe("Index of the destination address.").optional()
194
194
  }).describe(
195
195
  "Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item is shipped from,\nas well as the address the item is shipped to."
196
196
  )
@@ -199,27 +199,27 @@ var CalculateTaxResponse = /* @__PURE__ */ z.object({
199
199
  ).describe(
200
200
  "Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based."
201
201
  ).optional(),
202
- taxIncludedInPrice: z.boolean().describe("Whether tax is included in the price.").optional()
202
+ taxIncludedInPrice: /* @__PURE__ */ z.boolean().describe("Whether tax is included in the price.").optional()
203
203
  })
204
204
  ).min(1).max(300).optional(),
205
- errors: z.array(
206
- z.object({
207
- code: z.string().describe("Error code.").optional(),
208
- description: z.string().describe("Description of the error.").optional(),
209
- data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
205
+ errors: /* @__PURE__ */ z.array(
206
+ /* @__PURE__ */ z.object({
207
+ code: /* @__PURE__ */ z.string().describe("Error code.").optional(),
208
+ description: /* @__PURE__ */ z.string().describe("Description of the error.").optional(),
209
+ data: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.any()).describe("Data related to the error.").optional().nullable()
210
210
  })
211
211
  ).min(0).max(100).optional()
212
212
  });
213
213
  var ListTaxCalculatorsRequest = /* @__PURE__ */ z.object({});
214
214
  var ListTaxCalculatorsResponse = /* @__PURE__ */ z.object({
215
- taxCalculatorDetails: z.array(
216
- z.object({
217
- appId: z.string().describe("ID of the tax calculator.").regex(
215
+ taxCalculatorDetails: /* @__PURE__ */ z.array(
216
+ /* @__PURE__ */ z.object({
217
+ appId: /* @__PURE__ */ z.string().describe("ID of the tax calculator.").regex(
218
218
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
219
219
  "Must be a valid GUID"
220
220
  ).optional(),
221
- displayName: z.string().describe("Display name of the tax calculator.").min(1).max(200).optional(),
222
- unsupportedCountries: z.array(z.string()).max(195).optional()
221
+ displayName: /* @__PURE__ */ z.string().describe("Display name of the tax calculator.").min(1).max(200).optional(),
222
+ unsupportedCountries: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(195).optional()
223
223
  })
224
224
  ).max(10).optional()
225
225
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CalculateTaxRequest = /*#__PURE__*/ z.object({\n options: z\n .object({\n externalId: z\n .string()\n .describe(\n 'Optional ID of the entity that tax is being calculated for. For example, a cart ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n currency: z\n .string()\n .describe(\n '3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n )\n .optional(),\n addresses: z\n .array(\n z.object({\n country: z\n .string()\n .describe(\n '2-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.'\n )\n .optional()\n .nullable(),\n subdivision: z\n .string()\n .describe(\n 'Subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format.'\n )\n .max(50)\n .optional()\n .nullable(),\n city: z\n .string()\n .describe('City name.')\n .max(100)\n .optional()\n .nullable(),\n postalCode: z\n .string()\n .describe('Postal or zip code.')\n .max(50)\n .optional()\n .nullable(),\n addressLine: z\n .string()\n .describe(\n 'Main address line, usually street and number as free text.'\n )\n .max(200)\n .optional()\n .nullable(),\n addressLine2: z\n .string()\n .describe(\n 'Free text providing more detailed address information, such as apartment, suite, or floor.'\n )\n .max(200)\n .optional()\n .nullable(),\n })\n )\n .min(1)\n .max(3),\n lineItems: z\n .array(\n z.object({\n _id: z.string().describe('Line item ID.').min(1).max(100),\n itemName: z\n .string()\n .describe('Line item name to display.')\n .min(0)\n .max(250)\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Line item quantity.')\n .min(1)\n .max(100000)\n .optional(),\n price: z.string().describe('Line item price.'),\n itemCode: z\n .string()\n .describe(\n 'Stock keeping unit for this line item. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).'\n )\n .max(40)\n .optional()\n .nullable(),\n taxGroupId: z\n .string()\n .describe(\n 'Tax group ID for this line item. If not provided, the default tax group applies.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n appId: z\n .string()\n .describe(\n 'ID of the app providing the catalog for this line item.\\n\\nYou can get your app\\'s ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).\\n\\nFor items from Wix catalogs, the following values always apply:\\n+ Wix Stores: `\"215238eb-22a5-4c36-9e7b-e7c08025e04e\"`\\n+ Wix Bookings: `\"13d21c63-b5ec-5912-8397-c3a5ddb27a97\"`\\n+ Wix Restaurants: `\"9a5d83fd-8570-482e-81ab-cfa88942ee60\"`'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n taxIncludedInPrice: z\n .boolean()\n .describe('Whether tax is included in the price.')\n .optional()\n .nullable(),\n addressIndex: z\n .intersection(\n z.object({}),\n z.xor([\n z.object({\n singleAddress: z.never().optional(),\n multipleAddresses: z.never().optional(),\n }),\n z.object({\n multipleAddresses: z.never().optional(),\n singleAddress: z\n .number()\n .int()\n .describe(\n 'Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based.'\n ),\n }),\n z.object({\n singleAddress: z.never().optional(),\n multipleAddresses: z\n .object({\n origin: z\n .number()\n .int()\n .describe('Index of the origin address.')\n .optional(),\n destination: z\n .number()\n .int()\n .describe('Index of the destination address.')\n .optional(),\n })\n .describe(\n 'Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item is shipped from,\\nas well as the address the item is shipped to.'\n ),\n }),\n ])\n )\n .describe(\n 'Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based.'\n ),\n })\n )\n .min(1)\n .max(300),\n })\n .describe('Calculate tax options.'),\n});\nexport const CalculateTaxResponse = /*#__PURE__*/ z.object({\n externalId: z\n .string()\n .describe(\n 'Optional ID of the entity that tax is being calculated for. For example, a cart ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n currency: z\n .string()\n .describe(\n '3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n )\n .optional(),\n addresses: z\n .array(\n z.object({\n city: z.string().optional().nullable(),\n subdivision: z.string().optional().nullable(),\n country: z.string().optional().nullable(),\n postalCode: z.string().optional().nullable(),\n addressLine2: z.string().optional().nullable(),\n })\n )\n .min(1)\n .max(3)\n .optional(),\n taxSummary: z\n .object({\n totalAmount: z\n .string()\n .describe('Total price for all line items.')\n .optional(),\n totalTax: z\n .string()\n .describe(\n 'Total amount of tax calculated for all line items.\\nNote that due to rounding, `totalTax` may not equal the sum of `lineItemTaxDetails.taxSummary.taxAmount`.'\n )\n .optional(),\n totalTaxableAmount: z\n .string()\n .describe('Total taxable amount for all line items.')\n .optional(),\n totalTaxIncludedInPrice: z\n .string()\n .describe(\n 'Total amount of `totalTax` that is included in price. Applies to line items with `taxIncludedInPrice` set to `true`.'\n )\n .optional(),\n aggregatedTaxBreakdown: z\n .array(\n z.object({\n taxName: z\n .string()\n .describe('Name of the tax that was calculated.')\n .max(200)\n .optional(),\n taxType: z\n .string()\n .describe('Type of tax that was calculated.')\n .max(200)\n .optional(),\n jurisdiction: z\n .string()\n .describe('Jurisdiction that taxes were calculated for.')\n .max(200)\n .optional(),\n jurisdictionType: z\n .enum([\n 'UNDEFINED',\n 'COUNTRY',\n 'STATE',\n 'COUNTY',\n 'CITY',\n 'SPECIAL',\n ])\n .describe('Type of jurisdiction that taxes were calculated for.')\n .optional(),\n rate: z\n .string()\n .describe(\n 'Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is `\"0.1000\"` and 200% tax is `\"2.0000\"`.'\n )\n .optional(),\n aggregatedTaxAmount: z\n .string()\n .describe('Total amount of this tax for this jurisdiction.')\n .optional(),\n })\n )\n .min(0)\n .max(50)\n .optional(),\n })\n .describe('Summary of the tax calculated.')\n .optional(),\n lineItemTaxDetails: z\n .array(\n z.object({\n _id: z.string().describe('Line item ID.').min(1).max(100).optional(),\n itemName: z\n .string()\n .describe('Line item name to display.')\n .min(0)\n .max(250)\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Line item quantity.')\n .min(1)\n .max(100000)\n .optional(),\n taxBreakdown: z\n .array(\n z.object({\n jurisdiction: z\n .string()\n .describe('Jurisdiction that taxes were calculated for.')\n .max(200)\n .optional()\n .nullable(),\n nonTaxableAmount: z\n .string()\n .describe('Non-taxable amount of the price.')\n .optional()\n .nullable(),\n rate: z\n .string()\n .describe(\n 'Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is `\"0.1000\"` and 200% tax is `\"2.0000\"`.'\n )\n .optional()\n .nullable(),\n taxAmount: z\n .string()\n .describe(\n 'Amount of this tax calculated for this jurisdiction.'\n )\n .optional()\n .nullable(),\n taxableAmount: z\n .string()\n .describe('Taxable amount of the price.')\n .optional()\n .nullable(),\n taxType: z\n .string()\n .describe(\n 'Type of tax that was calculated. For example, `\"Sales Tax\"`, `\"Income Tax\"`, `\"Value Added Tax\"`, etc.'\n )\n .max(200)\n .optional()\n .nullable(),\n taxName: z\n .string()\n .describe(\n 'Name of the tax that was calculated. For example, `\"NY State Sales Tax\"`, `\"Quebec GST\"`, etc.'\n )\n .max(200)\n .optional()\n .nullable(),\n jurisdictionType: z\n .enum([\n 'UNDEFINED',\n 'COUNTRY',\n 'STATE',\n 'COUNTY',\n 'CITY',\n 'SPECIAL',\n ])\n .describe(\n 'Type of jurisdiction that taxes were calculated for. For example, `\"State\"`, `\"Çounty\"`, `\"City\"`, `\"Special\"`, etc.'\n )\n .optional(),\n })\n )\n .max(7)\n .optional(),\n taxSummary: z\n .object({\n fullPrice: z\n .string()\n .describe(\n 'Total price for this line item.\\nTo determine the price for each individual unit of this line item, divide by `quantity`.'\n )\n .optional()\n .nullable(),\n taxAmount: z\n .string()\n .describe('Total amount of tax calculated for this line item.')\n .optional(),\n taxableAmount: z\n .string()\n .describe('Total taxable amount for this line item.')\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the calculator app that calculated tax for this line item.'\n )\n .max(50)\n .optional()\n .nullable(),\n })\n .describe(\"Summary of this line item's total price and tax.\")\n .optional(),\n addressIndex: z\n .intersection(\n z.object({}),\n z.xor([\n z.object({\n singleAddress: z.never().optional(),\n multipleAddresses: z.never().optional(),\n }),\n z.object({\n multipleAddresses: z.never().optional(),\n singleAddress: z\n .number()\n .int()\n .describe(\n 'Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based.'\n ),\n }),\n z.object({\n singleAddress: z.never().optional(),\n multipleAddresses: z\n .object({\n origin: z\n .number()\n .int()\n .describe('Index of the origin address.')\n .optional(),\n destination: z\n .number()\n .int()\n .describe('Index of the destination address.')\n .optional(),\n })\n .describe(\n 'Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item is shipped from,\\nas well as the address the item is shipped to.'\n ),\n }),\n ])\n )\n .describe(\n 'Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based.'\n )\n .optional(),\n taxIncludedInPrice: z\n .boolean()\n .describe('Whether tax is included in the price.')\n .optional(),\n })\n )\n .min(1)\n .max(300)\n .optional(),\n errors: z\n .array(\n z.object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .max(100)\n .optional(),\n});\nexport const ListTaxCalculatorsRequest = /*#__PURE__*/ z.object({});\nexport const ListTaxCalculatorsResponse = /*#__PURE__*/ z.object({\n taxCalculatorDetails: z\n .array(\n z.object({\n appId: z\n .string()\n .describe('ID of the tax calculator.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n displayName: z\n .string()\n .describe('Display name of the tax calculator.')\n .min(1)\n .max(200)\n .optional(),\n unsupportedCountries: z.array(z.string()).max(195).optional(),\n })\n )\n .max(10)\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,sBAAoC,gBAAE,SAA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AAC,EACL,IAAI,GAAG,EACP,SAAS;AACd,CAAC;AACM,IAAM,4BAA0C,gBAAE,SAAO,CAAC,CAAC;AAC3D,IAAM,6BAA2C,gBAAE,SAAO;AAAA,EAC/D,sBACG;AAAA,IACG,SAAO;AAAA,MACP,OACG,SAAO,EACP,SAAS,2BAA2B,EACpC;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,aACG,SAAO,EACP,SAAS,qCAAqC,EAC9C,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS;AAAA,MACZ,sBAAwB,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS;AAAA,IAC9D,CAAC;AAAA,EACH,EACC,IAAI,EAAE,EACN,SAAS;AACd,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CalculateTaxRequest = /*#__PURE__*/ z.object({\n options: /*#__PURE__*/ z\n .object({\n externalId: /*#__PURE__*/ z\n .string()\n .describe(\n 'Optional ID of the entity that tax is being calculated for. For example, a cart ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n currency: /*#__PURE__*/ z\n .string()\n .describe(\n '3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n )\n .optional(),\n addresses: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n country: /*#__PURE__*/ z\n .string()\n .describe(\n '2-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.'\n )\n .optional()\n .nullable(),\n subdivision: /*#__PURE__*/ z\n .string()\n .describe(\n 'Subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format.'\n )\n .max(50)\n .optional()\n .nullable(),\n city: /*#__PURE__*/ z\n .string()\n .describe('City name.')\n .max(100)\n .optional()\n .nullable(),\n postalCode: /*#__PURE__*/ z\n .string()\n .describe('Postal or zip code.')\n .max(50)\n .optional()\n .nullable(),\n addressLine: /*#__PURE__*/ z\n .string()\n .describe(\n 'Main address line, usually street and number as free text.'\n )\n .max(200)\n .optional()\n .nullable(),\n addressLine2: /*#__PURE__*/ z\n .string()\n .describe(\n 'Free text providing more detailed address information, such as apartment, suite, or floor.'\n )\n .max(200)\n .optional()\n .nullable(),\n })\n )\n .min(1)\n .max(3),\n lineItems: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n _id: /*#__PURE__*/ z\n .string()\n .describe('Line item ID.')\n .min(1)\n .max(100),\n itemName: /*#__PURE__*/ z\n .string()\n .describe('Line item name to display.')\n .min(0)\n .max(250)\n .optional()\n .nullable(),\n quantity: /*#__PURE__*/ z\n .number()\n .int()\n .describe('Line item quantity.')\n .min(1)\n .max(100000)\n .optional(),\n price: /*#__PURE__*/ z.string().describe('Line item price.'),\n itemCode: /*#__PURE__*/ z\n .string()\n .describe(\n 'Stock keeping unit for this line item. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).'\n )\n .max(40)\n .optional()\n .nullable(),\n taxGroupId: /*#__PURE__*/ z\n .string()\n .describe(\n 'Tax group ID for this line item. If not provided, the default tax group applies.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n appId: /*#__PURE__*/ z\n .string()\n .describe(\n 'ID of the app providing the catalog for this line item.\\n\\nYou can get your app\\'s ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).\\n\\nFor items from Wix catalogs, the following values always apply:\\n+ Wix Stores: `\"215238eb-22a5-4c36-9e7b-e7c08025e04e\"`\\n+ Wix Bookings: `\"13d21c63-b5ec-5912-8397-c3a5ddb27a97\"`\\n+ Wix Restaurants: `\"9a5d83fd-8570-482e-81ab-cfa88942ee60\"`'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n taxIncludedInPrice: /*#__PURE__*/ z\n .boolean()\n .describe('Whether tax is included in the price.')\n .optional()\n .nullable(),\n addressIndex: /*#__PURE__*/ z\n .intersection(\n /*#__PURE__*/ z.object({}),\n /*#__PURE__*/ z.xor([\n /*#__PURE__*/ z.object({\n singleAddress: /*#__PURE__*/ z.never().optional(),\n multipleAddresses: /*#__PURE__*/ z.never().optional(),\n }),\n /*#__PURE__*/ z.object({\n multipleAddresses: /*#__PURE__*/ z.never().optional(),\n singleAddress: /*#__PURE__*/ z\n .number()\n .int()\n .describe(\n 'Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based.'\n ),\n }),\n /*#__PURE__*/ z.object({\n singleAddress: /*#__PURE__*/ z.never().optional(),\n multipleAddresses: /*#__PURE__*/ z\n .object({\n origin: /*#__PURE__*/ z\n .number()\n .int()\n .describe('Index of the origin address.')\n .optional(),\n destination: /*#__PURE__*/ z\n .number()\n .int()\n .describe('Index of the destination address.')\n .optional(),\n })\n .describe(\n 'Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item is shipped from,\\nas well as the address the item is shipped to.'\n ),\n }),\n ])\n )\n .describe(\n 'Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based.'\n ),\n })\n )\n .min(1)\n .max(300),\n })\n .describe('Calculate tax options.'),\n});\nexport const CalculateTaxResponse = /*#__PURE__*/ z.object({\n externalId: /*#__PURE__*/ z\n .string()\n .describe(\n 'Optional ID of the entity that tax is being calculated for. For example, a cart ID.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n currency: /*#__PURE__*/ z\n .string()\n .describe(\n '3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n )\n .optional(),\n addresses: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n city: /*#__PURE__*/ z.string().optional().nullable(),\n subdivision: /*#__PURE__*/ z.string().optional().nullable(),\n country: /*#__PURE__*/ z.string().optional().nullable(),\n postalCode: /*#__PURE__*/ z.string().optional().nullable(),\n addressLine2: /*#__PURE__*/ z.string().optional().nullable(),\n })\n )\n .min(1)\n .max(3)\n .optional(),\n taxSummary: /*#__PURE__*/ z\n .object({\n totalAmount: /*#__PURE__*/ z\n .string()\n .describe('Total price for all line items.')\n .optional(),\n totalTax: /*#__PURE__*/ z\n .string()\n .describe(\n 'Total amount of tax calculated for all line items.\\nNote that due to rounding, `totalTax` may not equal the sum of `lineItemTaxDetails.taxSummary.taxAmount`.'\n )\n .optional(),\n totalTaxableAmount: /*#__PURE__*/ z\n .string()\n .describe('Total taxable amount for all line items.')\n .optional(),\n totalTaxIncludedInPrice: /*#__PURE__*/ z\n .string()\n .describe(\n 'Total amount of `totalTax` that is included in price. Applies to line items with `taxIncludedInPrice` set to `true`.'\n )\n .optional(),\n aggregatedTaxBreakdown: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n taxName: /*#__PURE__*/ z\n .string()\n .describe('Name of the tax that was calculated.')\n .max(200)\n .optional(),\n taxType: /*#__PURE__*/ z\n .string()\n .describe('Type of tax that was calculated.')\n .max(200)\n .optional(),\n jurisdiction: /*#__PURE__*/ z\n .string()\n .describe('Jurisdiction that taxes were calculated for.')\n .max(200)\n .optional(),\n jurisdictionType: /*#__PURE__*/ z\n .enum([\n 'UNDEFINED',\n 'COUNTRY',\n 'STATE',\n 'COUNTY',\n 'CITY',\n 'SPECIAL',\n ])\n .describe('Type of jurisdiction that taxes were calculated for.')\n .optional(),\n rate: /*#__PURE__*/ z\n .string()\n .describe(\n 'Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is `\"0.1000\"` and 200% tax is `\"2.0000\"`.'\n )\n .optional(),\n aggregatedTaxAmount: /*#__PURE__*/ z\n .string()\n .describe('Total amount of this tax for this jurisdiction.')\n .optional(),\n })\n )\n .min(0)\n .max(50)\n .optional(),\n })\n .describe('Summary of the tax calculated.')\n .optional(),\n lineItemTaxDetails: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n _id: /*#__PURE__*/ z\n .string()\n .describe('Line item ID.')\n .min(1)\n .max(100)\n .optional(),\n itemName: /*#__PURE__*/ z\n .string()\n .describe('Line item name to display.')\n .min(0)\n .max(250)\n .optional()\n .nullable(),\n quantity: /*#__PURE__*/ z\n .number()\n .int()\n .describe('Line item quantity.')\n .min(1)\n .max(100000)\n .optional(),\n taxBreakdown: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n jurisdiction: /*#__PURE__*/ z\n .string()\n .describe('Jurisdiction that taxes were calculated for.')\n .max(200)\n .optional()\n .nullable(),\n nonTaxableAmount: /*#__PURE__*/ z\n .string()\n .describe('Non-taxable amount of the price.')\n .optional()\n .nullable(),\n rate: /*#__PURE__*/ z\n .string()\n .describe(\n 'Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is `\"0.1000\"` and 200% tax is `\"2.0000\"`.'\n )\n .optional()\n .nullable(),\n taxAmount: /*#__PURE__*/ z\n .string()\n .describe(\n 'Amount of this tax calculated for this jurisdiction.'\n )\n .optional()\n .nullable(),\n taxableAmount: /*#__PURE__*/ z\n .string()\n .describe('Taxable amount of the price.')\n .optional()\n .nullable(),\n taxType: /*#__PURE__*/ z\n .string()\n .describe(\n 'Type of tax that was calculated. For example, `\"Sales Tax\"`, `\"Income Tax\"`, `\"Value Added Tax\"`, etc.'\n )\n .max(200)\n .optional()\n .nullable(),\n taxName: /*#__PURE__*/ z\n .string()\n .describe(\n 'Name of the tax that was calculated. For example, `\"NY State Sales Tax\"`, `\"Quebec GST\"`, etc.'\n )\n .max(200)\n .optional()\n .nullable(),\n jurisdictionType: /*#__PURE__*/ z\n .enum([\n 'UNDEFINED',\n 'COUNTRY',\n 'STATE',\n 'COUNTY',\n 'CITY',\n 'SPECIAL',\n ])\n .describe(\n 'Type of jurisdiction that taxes were calculated for. For example, `\"State\"`, `\"Çounty\"`, `\"City\"`, `\"Special\"`, etc.'\n )\n .optional(),\n })\n )\n .max(7)\n .optional(),\n taxSummary: /*#__PURE__*/ z\n .object({\n fullPrice: /*#__PURE__*/ z\n .string()\n .describe(\n 'Total price for this line item.\\nTo determine the price for each individual unit of this line item, divide by `quantity`.'\n )\n .optional()\n .nullable(),\n taxAmount: /*#__PURE__*/ z\n .string()\n .describe('Total amount of tax calculated for this line item.')\n .optional(),\n taxableAmount: /*#__PURE__*/ z\n .string()\n .describe('Total taxable amount for this line item.')\n .optional(),\n appId: /*#__PURE__*/ z\n .string()\n .describe(\n 'ID of the calculator app that calculated tax for this line item.'\n )\n .max(50)\n .optional()\n .nullable(),\n })\n .describe(\"Summary of this line item's total price and tax.\")\n .optional(),\n addressIndex: /*#__PURE__*/ z\n .intersection(\n /*#__PURE__*/ z.object({}),\n /*#__PURE__*/ z.xor([\n /*#__PURE__*/ z.object({\n singleAddress: /*#__PURE__*/ z.never().optional(),\n multipleAddresses: /*#__PURE__*/ z.never().optional(),\n }),\n /*#__PURE__*/ z.object({\n multipleAddresses: /*#__PURE__*/ z.never().optional(),\n singleAddress: /*#__PURE__*/ z\n .number()\n .int()\n .describe(\n 'Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based.'\n ),\n }),\n /*#__PURE__*/ z.object({\n singleAddress: /*#__PURE__*/ z.never().optional(),\n multipleAddresses: /*#__PURE__*/ z\n .object({\n origin: /*#__PURE__*/ z\n .number()\n .int()\n .describe('Index of the origin address.')\n .optional(),\n destination: /*#__PURE__*/ z\n .number()\n .int()\n .describe('Index of the destination address.')\n .optional(),\n })\n .describe(\n 'Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item is shipped from,\\nas well as the address the item is shipped to.'\n ),\n }),\n ])\n )\n .describe(\n 'Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based.'\n )\n .optional(),\n taxIncludedInPrice: /*#__PURE__*/ z\n .boolean()\n .describe('Whether tax is included in the price.')\n .optional(),\n })\n )\n .min(1)\n .max(300)\n .optional(),\n errors: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n code: /*#__PURE__*/ z.string().describe('Error code.').optional(),\n description: /*#__PURE__*/ z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: /*#__PURE__*/ z\n .record(/*#__PURE__*/ z.string(), /*#__PURE__*/ z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .max(100)\n .optional(),\n});\nexport const ListTaxCalculatorsRequest = /*#__PURE__*/ z.object({});\nexport const ListTaxCalculatorsResponse = /*#__PURE__*/ z.object({\n taxCalculatorDetails: /*#__PURE__*/ z\n .array(\n /*#__PURE__*/ z.object({\n appId: /*#__PURE__*/ z\n .string()\n .describe('ID of the tax calculator.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n displayName: /*#__PURE__*/ z\n .string()\n .describe('Display name of the tax calculator.')\n .min(1)\n .max(200)\n .optional(),\n unsupportedCountries: /*#__PURE__*/ z\n .array(/*#__PURE__*/ z.string())\n .max(195)\n .optional(),\n })\n )\n .max(10)\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,sBAAoC,gBAAE,SAAO;AAAA,EACxD,SAAuB,gBACpB,SAAO;AAAA,IACN,YAA0B,g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,sBAAoC,gBACjC,QAAoB,gBAAE,SAAO,CAAC,EAC9B,IAAI,GAAG,EACP,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,IAAI,EAAE,EACN,SAAS;AACd,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_tax-calculation",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -57,5 +57,5 @@
57
57
  "fqdn": "wix.gateways.billing.v1.tax_calculation_gateway"
58
58
  }
59
59
  },
60
- "falconPackageHash": "a32ef506b518056cf7f50770060770ce2934cc9997038239f374776e"
60
+ "falconPackageHash": "805212828f7efc8d17732fdc24edb0047babed5308b2b0a9545d6d85"
61
61
  }