@mercurjs/core 2.3.5-canary.0 → 2.3.6-canary.0

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.
Files changed (101) hide show
  1. package/.medusa/server/src/api/admin/collections/validators.d.ts +12 -185
  2. package/.medusa/server/src/api/admin/collections/validators.js +3 -3
  3. package/.medusa/server/src/api/admin/commission-rates/validators.d.ts +21 -226
  4. package/.medusa/server/src/api/admin/customer-groups/validators.d.ts +6 -26
  5. package/.medusa/server/src/api/admin/members/validators.d.ts +1 -18
  6. package/.medusa/server/src/api/admin/offers/validators.d.ts +22 -261
  7. package/.medusa/server/src/api/admin/order-groups/validators.d.ts +9 -94
  8. package/.medusa/server/src/api/admin/orders/validators.d.ts +162 -1
  9. package/.medusa/server/src/api/admin/payouts/validators.d.ts +7 -86
  10. package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +45 -398
  11. package/.medusa/server/src/api/admin/product-attributes/validators.js +8 -8
  12. package/.medusa/server/src/api/admin/product-categories/middlewares.js +4 -2
  13. package/.medusa/server/src/api/admin/product-categories/validators.d.ts +41 -376
  14. package/.medusa/server/src/api/admin/product-categories/validators.js +3 -3
  15. package/.medusa/server/src/api/admin/product-changes/validators.d.ts +2 -10
  16. package/.medusa/server/src/api/admin/products/middlewares.js +4 -2
  17. package/.medusa/server/src/api/admin/products/validators.d.ts +128 -1702
  18. package/.medusa/server/src/api/admin/products/validators.js +9 -9
  19. package/.medusa/server/src/api/admin/promotions/[id]/cost/validators.d.ts +6 -8
  20. package/.medusa/server/src/api/admin/reservations/validators.d.ts +2 -39
  21. package/.medusa/server/src/api/admin/reviews/validators.d.ts +24 -46
  22. package/.medusa/server/src/api/admin/sellers/validators.d.ts +32 -358
  23. package/.medusa/server/src/api/admin/sellers/validators.js +4 -4
  24. package/.medusa/server/src/api/store/carts/[id]/complete/validators.d.ts +1 -5
  25. package/.medusa/server/src/api/store/carts/[id]/line-items/validators.d.ts +1 -17
  26. package/.medusa/server/src/api/store/carts/[id]/line-items/validators.js +3 -5
  27. package/.medusa/server/src/api/store/offers/validators.d.ts +9 -112
  28. package/.medusa/server/src/api/store/order-groups/validators.d.ts +5 -80
  29. package/.medusa/server/src/api/store/product-attributes/validators.d.ts +19 -175
  30. package/.medusa/server/src/api/store/product-categories/validators.d.ts +21 -184
  31. package/.medusa/server/src/api/store/products/validators.d.ts +25 -210
  32. package/.medusa/server/src/api/store/reviews/validators.d.ts +7 -34
  33. package/.medusa/server/src/api/store/sellers/validators.d.ts +7 -92
  34. package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +28 -165
  35. package/.medusa/server/src/api/vendor/campaigns/validators.js +4 -4
  36. package/.medusa/server/src/api/vendor/claims/validators.d.ts +23 -276
  37. package/.medusa/server/src/api/vendor/collections/validators.d.ts +8 -117
  38. package/.medusa/server/src/api/vendor/currencies/validators.d.ts +5 -32
  39. package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.js +10 -9
  40. package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +11 -108
  41. package/.medusa/server/src/api/vendor/customer-groups/validators.js +3 -3
  42. package/.medusa/server/src/api/vendor/customers/helpers.d.ts +1 -1
  43. package/.medusa/server/src/api/vendor/customers/helpers.js +12 -6
  44. package/.medusa/server/src/api/vendor/customers/validators.d.ts +11 -102
  45. package/.medusa/server/src/api/vendor/exchanges/validators.d.ts +17 -228
  46. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +4 -27
  47. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +18 -290
  48. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.js +3 -3
  49. package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +48 -560
  50. package/.medusa/server/src/api/vendor/inventory-items/validators.js +3 -3
  51. package/.medusa/server/src/api/vendor/members/validators.d.ts +2 -18
  52. package/.medusa/server/src/api/vendor/offers/validators.d.ts +34 -497
  53. package/.medusa/server/src/api/vendor/order-edits/validators.d.ts +8 -118
  54. package/.medusa/server/src/api/vendor/order-edits/validators.js +6 -6
  55. package/.medusa/server/src/api/vendor/orders/validators.d.ts +17 -170
  56. package/.medusa/server/src/api/vendor/payments/validators.d.ts +11 -121
  57. package/.medusa/server/src/api/vendor/payout-accounts/validators.d.ts +4 -32
  58. package/.medusa/server/src/api/vendor/payout-accounts/validators.js +5 -5
  59. package/.medusa/server/src/api/vendor/payouts/validators.d.ts +5 -80
  60. package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +21 -262
  61. package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +5 -30
  62. package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +33 -273
  63. package/.medusa/server/src/api/vendor/product-attributes/validators.js +5 -5
  64. package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +34 -275
  65. package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +12 -48
  66. package/.medusa/server/src/api/vendor/product-types/validators.d.ts +4 -27
  67. package/.medusa/server/src/api/vendor/product-variants/middlewares.js +7 -2
  68. package/.medusa/server/src/api/vendor/product-variants/validators.d.ts +38 -364
  69. package/.medusa/server/src/api/vendor/products/middlewares.js +19 -3
  70. package/.medusa/server/src/api/vendor/products/validators.d.ts +102 -1012
  71. package/.medusa/server/src/api/vendor/products/validators.js +13 -13
  72. package/.medusa/server/src/api/vendor/promotions/validators.d.ts +104 -1109
  73. package/.medusa/server/src/api/vendor/promotions/validators.js +3 -3
  74. package/.medusa/server/src/api/vendor/refund-reasons/validators.d.ts +5 -82
  75. package/.medusa/server/src/api/vendor/regions/validators.d.ts +7 -88
  76. package/.medusa/server/src/api/vendor/reservations/validators.d.ts +14 -207
  77. package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +9 -94
  78. package/.medusa/server/src/api/vendor/returns/validators.d.ts +26 -306
  79. package/.medusa/server/src/api/vendor/returns/validators.js +8 -8
  80. package/.medusa/server/src/api/vendor/reviews/validators.d.ts +19 -36
  81. package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +5 -32
  82. package/.medusa/server/src/api/vendor/sellers/validators.d.ts +17 -249
  83. package/.medusa/server/src/api/vendor/sellers/validators.js +4 -4
  84. package/.medusa/server/src/api/vendor/shipping-option-types/validators.d.ts +8 -91
  85. package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +59 -730
  86. package/.medusa/server/src/api/vendor/shipping-options/validators.js +5 -5
  87. package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +5 -86
  88. package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +14 -209
  89. package/.medusa/server/src/api/vendor/stock-locations/validators.js +3 -3
  90. package/.medusa/server/src/api/vendor/stores/query-config.d.ts +1 -0
  91. package/.medusa/server/src/api/vendor/stores/query-config.js +7 -4
  92. package/.medusa/server/src/api/vendor/stores/validators.d.ts +4 -27
  93. package/.medusa/server/src/patches/manifest.js +2 -2
  94. package/.medusa/server/src/utils/disable-medusa-middlewares.d.ts +2 -0
  95. package/.medusa/server/src/utils/disable-medusa-middlewares.js +35 -10
  96. package/.medusa/server/src/workflows/offer/workflows/index.d.ts +1 -0
  97. package/.medusa/server/src/workflows/offer/workflows/index.js +2 -1
  98. package/.medusa/server/src/workflows/offer/workflows/update-offers.js +9 -138
  99. package/.medusa/server/src/workflows/offer/workflows/upsert-offer-prices.d.ts +14 -0
  100. package/.medusa/server/src/workflows/offer/workflows/upsert-offer-prices.js +130 -0
  101. package/package.json +17 -17
@@ -1,29 +1,29 @@
1
1
  import { z } from "zod";
2
2
  import { AdditionalData } from "@medusajs/framework/types";
3
3
  export type AdminGetProductsParamsType = z.infer<typeof AdminGetProductsParams>;
4
- export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
4
+ export declare const AdminGetProductsParams: z.ZodPipe<z.ZodObject<{
5
5
  [x: string]: any;
6
6
  $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
7
7
  q: z.ZodOptional<z.ZodString>;
8
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
8
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
9
9
  title: z.ZodOptional<z.ZodString>;
10
10
  handle: z.ZodOptional<z.ZodString>;
11
- seller_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
12
- status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
11
+ seller_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
12
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13
13
  readonly DRAFT: "draft";
14
14
  readonly PROPOSED: "proposed";
15
15
  readonly PUBLISHED: "published";
16
16
  readonly REJECTED: "rejected";
17
- }>, "many">>;
18
- collection_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
19
- type_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
20
- category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
21
- tag_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
17
+ }>>>;
18
+ collection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
19
+ type_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
20
+ category_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
21
+ tag_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
22
22
  sku: z.ZodOptional<z.ZodString>;
23
23
  ean: z.ZodOptional<z.ZodString>;
24
24
  upc: z.ZodOptional<z.ZodString>;
25
25
  barcode: z.ZodOptional<z.ZodString>;
26
- has_offer: any;
26
+ has_offer: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
27
27
  created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
28
28
  $eq: any;
29
29
  $ne: any;
@@ -37,33 +37,7 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
37
37
  $gte: any;
38
38
  $lt: any;
39
39
  $lte: any;
40
- }, z.core.$strip, z.ZodTypeAny, {
41
- $nin?: any;
42
- $eq?: any;
43
- $ne?: any;
44
- $in?: any;
45
- $like?: any;
46
- $ilike?: any;
47
- $re?: any;
48
- $contains?: any;
49
- $gt?: any;
50
- $gte?: any;
51
- $lt?: any;
52
- $lte?: any;
53
- }, {
54
- $nin?: any;
55
- $eq?: any;
56
- $ne?: any;
57
- $in?: any;
58
- $like?: any;
59
- $ilike?: any;
60
- $re?: any;
61
- $contains?: any;
62
- $gt?: any;
63
- $gte?: any;
64
- $lt?: any;
65
- $lte?: any;
66
- }>]>>;
40
+ }, z.core.$strip>]>>;
67
41
  updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
68
42
  $eq: any;
69
43
  $ne: any;
@@ -77,33 +51,7 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
77
51
  $gte: any;
78
52
  $lt: any;
79
53
  $lte: any;
80
- }, z.core.$strip, z.ZodTypeAny, {
81
- $nin?: any;
82
- $eq?: any;
83
- $ne?: any;
84
- $in?: any;
85
- $like?: any;
86
- $ilike?: any;
87
- $re?: any;
88
- $contains?: any;
89
- $gt?: any;
90
- $gte?: any;
91
- $lt?: any;
92
- $lte?: any;
93
- }, {
94
- $nin?: any;
95
- $eq?: any;
96
- $ne?: any;
97
- $in?: any;
98
- $like?: any;
99
- $ilike?: any;
100
- $re?: any;
101
- $contains?: any;
102
- $gt?: any;
103
- $gte?: any;
104
- $lt?: any;
105
- $lte?: any;
106
- }>]>>;
54
+ }, z.core.$strip>]>>;
107
55
  deleted_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
108
56
  $eq: any;
109
57
  $ne: any;
@@ -117,95 +65,29 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
117
65
  $gte: any;
118
66
  $lt: any;
119
67
  $lte: any;
120
- }, z.core.$strip, z.ZodTypeAny, {
121
- $nin?: any;
122
- $eq?: any;
123
- $ne?: any;
124
- $in?: any;
125
- $like?: any;
126
- $ilike?: any;
127
- $re?: any;
128
- $contains?: any;
129
- $gt?: any;
130
- $gte?: any;
131
- $lt?: any;
132
- $lte?: any;
133
- }, {
134
- $nin?: any;
135
- $eq?: any;
136
- $ne?: any;
137
- $in?: any;
138
- $like?: any;
139
- $ilike?: any;
140
- $re?: any;
141
- $contains?: any;
142
- $gt?: any;
143
- $gte?: any;
144
- $lt?: any;
145
- $lte?: any;
146
- }>]>>;
147
- }, "strip", z.ZodTypeAny, {
148
- [x: string]: any;
149
- q?: unknown;
150
- id?: unknown;
151
- title?: unknown;
152
- handle?: unknown;
153
- seller_id?: unknown;
154
- status?: unknown;
155
- collection_id?: unknown;
156
- type_id?: unknown;
157
- category_id?: unknown;
158
- tag_id?: unknown;
159
- sku?: unknown;
160
- ean?: unknown;
161
- upc?: unknown;
162
- barcode?: unknown;
163
- has_offer?: unknown;
164
- created_at?: unknown;
165
- updated_at?: unknown;
166
- deleted_at?: unknown;
167
- }, {
168
- [x: string]: any;
169
- q?: unknown;
170
- id?: unknown;
171
- title?: unknown;
172
- handle?: unknown;
173
- seller_id?: unknown;
174
- status?: unknown;
175
- collection_id?: unknown;
176
- type_id?: unknown;
177
- category_id?: unknown;
178
- tag_id?: unknown;
179
- sku?: unknown;
180
- ean?: unknown;
181
- upc?: unknown;
182
- barcode?: unknown;
183
- has_offer?: unknown;
184
- created_at?: unknown;
185
- updated_at?: unknown;
186
- deleted_at?: unknown;
187
- }>, "many">>>;
68
+ }, z.core.$strip>]>>;
69
+ }, z.core.$strip>>>>;
188
70
  $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
189
71
  q: z.ZodOptional<z.ZodString>;
190
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
72
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
191
73
  title: z.ZodOptional<z.ZodString>;
192
74
  handle: z.ZodOptional<z.ZodString>;
193
- seller_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
194
- status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
75
+ seller_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
76
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
195
77
  readonly DRAFT: "draft";
196
78
  readonly PROPOSED: "proposed";
197
79
  readonly PUBLISHED: "published";
198
80
  readonly REJECTED: "rejected";
199
- }>, "many">>;
200
- collection_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
201
- type_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
202
- category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
203
- tag_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
81
+ }>>>;
82
+ collection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
83
+ type_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
84
+ category_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
85
+ tag_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
204
86
  sku: z.ZodOptional<z.ZodString>;
205
87
  ean: z.ZodOptional<z.ZodString>;
206
88
  upc: z.ZodOptional<z.ZodString>;
207
89
  barcode: z.ZodOptional<z.ZodString>;
208
- has_offer: any;
90
+ has_offer: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
209
91
  created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
210
92
  $eq: any;
211
93
  $ne: any;
@@ -219,33 +101,7 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
219
101
  $gte: any;
220
102
  $lt: any;
221
103
  $lte: any;
222
- }, z.core.$strip, z.ZodTypeAny, {
223
- $nin?: any;
224
- $eq?: any;
225
- $ne?: any;
226
- $in?: any;
227
- $like?: any;
228
- $ilike?: any;
229
- $re?: any;
230
- $contains?: any;
231
- $gt?: any;
232
- $gte?: any;
233
- $lt?: any;
234
- $lte?: any;
235
- }, {
236
- $nin?: any;
237
- $eq?: any;
238
- $ne?: any;
239
- $in?: any;
240
- $like?: any;
241
- $ilike?: any;
242
- $re?: any;
243
- $contains?: any;
244
- $gt?: any;
245
- $gte?: any;
246
- $lt?: any;
247
- $lte?: any;
248
- }>]>>;
104
+ }, z.core.$strip>]>>;
249
105
  updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
250
106
  $eq: any;
251
107
  $ne: any;
@@ -259,33 +115,7 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
259
115
  $gte: any;
260
116
  $lt: any;
261
117
  $lte: any;
262
- }, z.core.$strip, z.ZodTypeAny, {
263
- $nin?: any;
264
- $eq?: any;
265
- $ne?: any;
266
- $in?: any;
267
- $like?: any;
268
- $ilike?: any;
269
- $re?: any;
270
- $contains?: any;
271
- $gt?: any;
272
- $gte?: any;
273
- $lt?: any;
274
- $lte?: any;
275
- }, {
276
- $nin?: any;
277
- $eq?: any;
278
- $ne?: any;
279
- $in?: any;
280
- $like?: any;
281
- $ilike?: any;
282
- $re?: any;
283
- $contains?: any;
284
- $gt?: any;
285
- $gte?: any;
286
- $lt?: any;
287
- $lte?: any;
288
- }>]>>;
118
+ }, z.core.$strip>]>>;
289
119
  deleted_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
290
120
  $eq: any;
291
121
  $ne: any;
@@ -299,99 +129,14 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
299
129
  $gte: any;
300
130
  $lt: any;
301
131
  $lte: any;
302
- }, z.core.$strip, z.ZodTypeAny, {
303
- $nin?: any;
304
- $eq?: any;
305
- $ne?: any;
306
- $in?: any;
307
- $like?: any;
308
- $ilike?: any;
309
- $re?: any;
310
- $contains?: any;
311
- $gt?: any;
312
- $gte?: any;
313
- $lt?: any;
314
- $lte?: any;
315
- }, {
316
- $nin?: any;
317
- $eq?: any;
318
- $ne?: any;
319
- $in?: any;
320
- $like?: any;
321
- $ilike?: any;
322
- $re?: any;
323
- $contains?: any;
324
- $gt?: any;
325
- $gte?: any;
326
- $lt?: any;
327
- $lte?: any;
328
- }>]>>;
329
- }, "strip", z.ZodTypeAny, {
330
- [x: string]: any;
331
- q?: unknown;
332
- id?: unknown;
333
- title?: unknown;
334
- handle?: unknown;
335
- seller_id?: unknown;
336
- status?: unknown;
337
- collection_id?: unknown;
338
- type_id?: unknown;
339
- category_id?: unknown;
340
- tag_id?: unknown;
341
- sku?: unknown;
342
- ean?: unknown;
343
- upc?: unknown;
344
- barcode?: unknown;
345
- has_offer?: unknown;
346
- created_at?: unknown;
347
- updated_at?: unknown;
348
- deleted_at?: unknown;
349
- }, {
350
- [x: string]: any;
351
- q?: unknown;
352
- id?: unknown;
353
- title?: unknown;
354
- handle?: unknown;
355
- seller_id?: unknown;
356
- status?: unknown;
357
- collection_id?: unknown;
358
- type_id?: unknown;
359
- category_id?: unknown;
360
- tag_id?: unknown;
361
- sku?: unknown;
362
- ean?: unknown;
363
- upc?: unknown;
364
- barcode?: unknown;
365
- has_offer?: unknown;
366
- created_at?: unknown;
367
- updated_at?: unknown;
368
- deleted_at?: unknown;
369
- }>, "many">>>;
370
- }, z.core.$strip, z.ZodTypeAny, {
371
- [x: string]: any;
372
- $and?: unknown;
373
- $or?: unknown;
374
- }, {
375
- [x: string]: any;
376
- $and?: unknown;
377
- $or?: unknown;
378
- }>, Record<string, unknown>, {
379
- [x: string]: any;
380
- $and?: unknown;
381
- $or?: unknown;
382
- }>;
132
+ }, z.core.$strip>]>>;
133
+ }, z.core.$strip>>>>;
134
+ }, z.core.$strip>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>;
383
135
  export type AdminGetProductParamsType = z.infer<typeof AdminGetProductParams>;
384
136
  export declare const AdminGetProductParams: z.ZodObject<{
385
137
  fields: z.ZodOptional<z.ZodString>;
386
- } & {
387
138
  seller_id: z.ZodOptional<z.ZodString>;
388
- }, "strip", z.ZodTypeAny, {
389
- seller_id?: string | undefined;
390
- fields?: string | undefined;
391
- }, {
392
- seller_id?: string | undefined;
393
- fields?: string | undefined;
394
- }>;
139
+ }, z.core.$strip>;
395
140
  declare const CreateProductVariant: z.ZodObject<{
396
141
  title: z.ZodString;
397
142
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -412,47 +157,7 @@ declare const CreateProductVariant: z.ZodObject<{
412
157
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
158
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
414
159
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
415
- }, "strict", z.ZodTypeAny, {
416
- title: string;
417
- length?: number | null | undefined;
418
- options?: Record<string, string> | undefined;
419
- metadata?: Record<string, unknown> | null | undefined;
420
- sku?: string | null | undefined;
421
- ean?: string | null | undefined;
422
- upc?: string | null | undefined;
423
- weight?: number | null | undefined;
424
- height?: number | null | undefined;
425
- width?: number | null | undefined;
426
- hs_code?: string | null | undefined;
427
- origin_country?: string | null | undefined;
428
- mid_code?: string | null | undefined;
429
- material?: string | null | undefined;
430
- isbn?: string | null | undefined;
431
- asin?: string | null | undefined;
432
- gtin?: string | null | undefined;
433
- barcode?: string | null | undefined;
434
- variant_rank?: number | undefined;
435
- }, {
436
- title: string;
437
- length?: number | null | undefined;
438
- options?: Record<string, string> | undefined;
439
- metadata?: Record<string, unknown> | null | undefined;
440
- sku?: string | null | undefined;
441
- ean?: string | null | undefined;
442
- upc?: string | null | undefined;
443
- weight?: number | null | undefined;
444
- height?: number | null | undefined;
445
- width?: number | null | undefined;
446
- hs_code?: string | null | undefined;
447
- origin_country?: string | null | undefined;
448
- mid_code?: string | null | undefined;
449
- material?: string | null | undefined;
450
- isbn?: string | null | undefined;
451
- asin?: string | null | undefined;
452
- gtin?: string | null | undefined;
453
- barcode?: string | null | undefined;
454
- variant_rank?: number | undefined;
455
- }>;
160
+ }, z.core.$strict>;
456
161
  declare const UpdateProductVariant: z.ZodObject<{
457
162
  id: z.ZodOptional<z.ZodString>;
458
163
  title: z.ZodOptional<z.ZodString>;
@@ -481,147 +186,33 @@ declare const UpdateProductVariant: z.ZodObject<{
481
186
  min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
482
187
  max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
483
188
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
484
- }, "strip", z.ZodTypeAny, {
485
- id?: string | undefined;
486
- currency_code?: string | undefined;
487
- amount?: number | undefined;
488
- min_quantity?: number | null | undefined;
489
- max_quantity?: number | null | undefined;
490
- rules?: Record<string, string> | undefined;
491
- }, {
492
- id?: string | undefined;
493
- currency_code?: string | undefined;
494
- amount?: number | undefined;
495
- min_quantity?: number | null | undefined;
496
- max_quantity?: number | null | undefined;
497
- rules?: Record<string, string> | undefined;
498
- }>, "many">>;
189
+ }, z.core.$strip>>>;
499
190
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
500
- }, "strict", z.ZodTypeAny, {
501
- length?: number | null | undefined;
502
- options?: Record<string, string> | undefined;
503
- id?: string | undefined;
504
- metadata?: Record<string, unknown> | null | undefined;
505
- title?: string | undefined;
506
- sku?: string | null | undefined;
507
- ean?: string | null | undefined;
508
- upc?: string | null | undefined;
509
- prices?: {
510
- id?: string | undefined;
511
- currency_code?: string | undefined;
512
- amount?: number | undefined;
513
- min_quantity?: number | null | undefined;
514
- max_quantity?: number | null | undefined;
515
- rules?: Record<string, string> | undefined;
516
- }[] | undefined;
517
- thumbnail?: string | null | undefined;
518
- weight?: number | null | undefined;
519
- height?: number | null | undefined;
520
- width?: number | null | undefined;
521
- hs_code?: string | null | undefined;
522
- origin_country?: string | null | undefined;
523
- mid_code?: string | null | undefined;
524
- material?: string | null | undefined;
525
- isbn?: string | null | undefined;
526
- asin?: string | null | undefined;
527
- gtin?: string | null | undefined;
528
- barcode?: string | null | undefined;
529
- variant_rank?: number | undefined;
530
- }, {
531
- length?: number | null | undefined;
532
- options?: Record<string, string> | undefined;
533
- id?: string | undefined;
534
- metadata?: Record<string, unknown> | null | undefined;
535
- title?: string | undefined;
536
- sku?: string | null | undefined;
537
- ean?: string | null | undefined;
538
- upc?: string | null | undefined;
539
- prices?: {
540
- id?: string | undefined;
541
- currency_code?: string | undefined;
542
- amount?: number | undefined;
543
- min_quantity?: number | null | undefined;
544
- max_quantity?: number | null | undefined;
545
- rules?: Record<string, string> | undefined;
546
- }[] | undefined;
547
- thumbnail?: string | null | undefined;
548
- weight?: number | null | undefined;
549
- height?: number | null | undefined;
550
- width?: number | null | undefined;
551
- hs_code?: string | null | undefined;
552
- origin_country?: string | null | undefined;
553
- mid_code?: string | null | undefined;
554
- material?: string | null | undefined;
555
- isbn?: string | null | undefined;
556
- asin?: string | null | undefined;
557
- gtin?: string | null | undefined;
558
- barcode?: string | null | undefined;
559
- variant_rank?: number | undefined;
560
- }>;
191
+ }, z.core.$strict>;
561
192
  export type AdminGetProductVariantParamsType = z.infer<typeof AdminGetProductVariantParams>;
562
193
  export declare const AdminGetProductVariantParams: z.ZodObject<{
563
194
  fields: z.ZodOptional<z.ZodString>;
564
- }, z.core.$strip, z.ZodTypeAny, {
565
- fields?: string | undefined;
566
- }, {
567
- fields?: string | undefined;
568
- }>;
195
+ }, z.core.$strip>;
569
196
  export type AdminGetProductVariantsParamsType = z.infer<typeof AdminGetProductVariantsParams>;
570
- export declare const AdminGetProductVariantsParams: z.ZodObject<{} & {
197
+ export declare const AdminGetProductVariantsParams: z.ZodObject<{
571
198
  [x: string]: any;
572
199
  $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
573
200
  q: z.ZodOptional<z.ZodString>;
574
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
201
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
575
202
  sku: z.ZodOptional<z.ZodString>;
576
203
  ean: z.ZodOptional<z.ZodString>;
577
204
  upc: z.ZodOptional<z.ZodString>;
578
205
  barcode: z.ZodOptional<z.ZodString>;
579
- }, "strip", z.ZodTypeAny, {
580
- id?: string | string[] | undefined;
581
- sku?: string | undefined;
582
- ean?: string | undefined;
583
- upc?: string | undefined;
584
- q?: string | undefined;
585
- barcode?: string | undefined;
586
- }, {
587
- id?: string | string[] | undefined;
588
- sku?: string | undefined;
589
- ean?: string | undefined;
590
- upc?: string | undefined;
591
- q?: string | undefined;
592
- barcode?: string | undefined;
593
- }>, "many">>>;
206
+ }, z.core.$strip>>>>;
594
207
  $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
595
208
  q: z.ZodOptional<z.ZodString>;
596
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
209
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
597
210
  sku: z.ZodOptional<z.ZodString>;
598
211
  ean: z.ZodOptional<z.ZodString>;
599
212
  upc: z.ZodOptional<z.ZodString>;
600
213
  barcode: z.ZodOptional<z.ZodString>;
601
- }, "strip", z.ZodTypeAny, {
602
- id?: string | string[] | undefined;
603
- sku?: string | undefined;
604
- ean?: string | undefined;
605
- upc?: string | undefined;
606
- q?: string | undefined;
607
- barcode?: string | undefined;
608
- }, {
609
- id?: string | string[] | undefined;
610
- sku?: string | undefined;
611
- ean?: string | undefined;
612
- upc?: string | undefined;
613
- q?: string | undefined;
614
- barcode?: string | undefined;
615
- }>, "many">>>;
616
- }, z.core.$strip, z.ZodTypeAny, {
617
- [x: string]: any;
618
- $and?: unknown;
619
- $or?: unknown;
620
- }, {
621
- [x: string]: any;
622
- $and?: unknown;
623
- $or?: unknown;
624
- }>;
214
+ }, z.core.$strip>>>>;
215
+ }, z.core.$strip>;
625
216
  export type AdminCreateProductVariantType = z.infer<typeof CreateProductVariant> & AdditionalData;
626
217
  export declare const AdminCreateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
627
218
  export type AdminUpdateProductVariantType = z.infer<typeof UpdateProductVariant> & AdditionalData;
@@ -631,18 +222,14 @@ declare const CreateProduct: z.ZodObject<{
631
222
  title: z.ZodString;
632
223
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
633
224
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
634
- is_giftcard: any;
635
- discountable: any;
225
+ is_giftcard: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>>;
226
+ discountable: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>>;
636
227
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
637
228
  url: z.ZodString;
638
- }, "strip", z.ZodTypeAny, {
639
- url: string;
640
- }, {
641
- url: string;
642
- }>, "many">>;
229
+ }, z.core.$strip>>>;
643
230
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
644
231
  handle: z.ZodOptional<z.ZodString>;
645
- status: z.ZodOptional<z.ZodNativeEnum<{
232
+ status: z.ZodOptional<z.ZodEnum<{
646
233
  readonly DRAFT: "draft";
647
234
  readonly PROPOSED: "proposed";
648
235
  readonly PUBLISHED: "published";
@@ -651,74 +238,38 @@ declare const CreateProduct: z.ZodObject<{
651
238
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
239
  type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
240
  collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
654
- seller_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
241
+ seller_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
655
242
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
656
243
  id: z.ZodString;
657
- }, "strip", z.ZodTypeAny, {
658
- id: string;
659
- }, {
660
- id: string;
661
- }>, "many">>;
244
+ }, z.core.$strip>>>;
662
245
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
663
246
  id: z.ZodString;
664
- }, "strip", z.ZodTypeAny, {
665
- id: string;
666
- }, {
667
- id: string;
668
- }>, "many">>;
247
+ }, z.core.$strip>>>;
669
248
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
670
249
  title: z.ZodString;
671
- values: z.ZodArray<z.ZodString, "many">;
672
- }, "strip", z.ZodTypeAny, {
673
- values: string[];
674
- title: string;
675
- }, {
676
- values: string[];
677
- title: string;
678
- }>, "many">>;
679
- attributes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
250
+ values: z.ZodArray<z.ZodString>;
251
+ }, z.core.$strip>>>;
252
+ attributes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
680
253
  id: z.ZodString;
681
- value_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
682
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
683
- }, "strict", z.ZodTypeAny, {
684
- id: string;
685
- value?: string | number | boolean | undefined;
686
- value_ids?: string[] | undefined;
687
- }, {
688
- id: string;
689
- value?: string | number | boolean | undefined;
690
- value_ids?: string[] | undefined;
691
- }>, z.ZodObject<{
254
+ value_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
255
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
256
+ }, z.core.$strict>, z.ZodObject<{
692
257
  title: z.ZodString;
693
- type: z.ZodOptional<z.ZodEnum<["single_select", "multi_select", "text", "toggle", "unit"]>>;
694
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
695
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
258
+ type: z.ZodOptional<z.ZodEnum<{
259
+ single_select: "single_select";
260
+ multi_select: "multi_select";
261
+ text: "text";
262
+ toggle: "toggle";
263
+ unit: "unit";
264
+ }>>;
265
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
266
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
696
267
  is_variant_axis: z.ZodOptional<z.ZodBoolean>;
697
268
  is_filterable: z.ZodOptional<z.ZodBoolean>;
698
269
  is_required: z.ZodOptional<z.ZodBoolean>;
699
270
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
271
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
701
- }, "strict", z.ZodTypeAny, {
702
- title: string;
703
- values?: string[] | undefined;
704
- metadata?: Record<string, unknown> | null | undefined;
705
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
706
- is_variant_axis?: boolean | undefined;
707
- is_required?: boolean | undefined;
708
- value?: string | number | boolean | undefined;
709
- description?: string | null | undefined;
710
- is_filterable?: boolean | undefined;
711
- }, {
712
- title: string;
713
- values?: string[] | undefined;
714
- metadata?: Record<string, unknown> | null | undefined;
715
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
716
- is_variant_axis?: boolean | undefined;
717
- is_required?: boolean | undefined;
718
- value?: string | number | boolean | undefined;
719
- description?: string | null | undefined;
720
- is_filterable?: boolean | undefined;
721
- }>]>, "many">>;
272
+ }, z.core.$strict>]>>>;
722
273
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
723
274
  title: z.ZodString;
724
275
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -739,47 +290,7 @@ declare const CreateProduct: z.ZodObject<{
739
290
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
291
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
741
292
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
742
- }, "strict", z.ZodTypeAny, {
743
- title: string;
744
- length?: number | null | undefined;
745
- options?: Record<string, string> | undefined;
746
- metadata?: Record<string, unknown> | null | undefined;
747
- sku?: string | null | undefined;
748
- ean?: string | null | undefined;
749
- upc?: string | null | undefined;
750
- weight?: number | null | undefined;
751
- height?: number | null | undefined;
752
- width?: number | null | undefined;
753
- hs_code?: string | null | undefined;
754
- origin_country?: string | null | undefined;
755
- mid_code?: string | null | undefined;
756
- material?: string | null | undefined;
757
- isbn?: string | null | undefined;
758
- asin?: string | null | undefined;
759
- gtin?: string | null | undefined;
760
- barcode?: string | null | undefined;
761
- variant_rank?: number | undefined;
762
- }, {
763
- title: string;
764
- length?: number | null | undefined;
765
- options?: Record<string, string> | undefined;
766
- metadata?: Record<string, unknown> | null | undefined;
767
- sku?: string | null | undefined;
768
- ean?: string | null | undefined;
769
- upc?: string | null | undefined;
770
- weight?: number | null | undefined;
771
- height?: number | null | undefined;
772
- width?: number | null | undefined;
773
- hs_code?: string | null | undefined;
774
- origin_country?: string | null | undefined;
775
- mid_code?: string | null | undefined;
776
- material?: string | null | undefined;
777
- isbn?: string | null | undefined;
778
- asin?: string | null | undefined;
779
- gtin?: string | null | undefined;
780
- barcode?: string | null | undefined;
781
- variant_rank?: number | undefined;
782
- }>, "many">>;
293
+ }, z.core.$strict>>>;
783
294
  weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
784
295
  length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
785
296
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -789,86 +300,22 @@ declare const CreateProduct: z.ZodObject<{
789
300
  origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
790
301
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
791
302
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
792
- }, "strict", z.ZodTypeAny, {
793
- [x: string]: any;
794
- title?: unknown;
795
- subtitle?: unknown;
796
- description?: unknown;
797
- is_giftcard?: unknown;
798
- discountable?: unknown;
799
- images?: unknown;
800
- thumbnail?: unknown;
801
- handle?: unknown;
802
- status?: unknown;
803
- external_id?: unknown;
804
- type_id?: unknown;
805
- collection_id?: unknown;
806
- seller_ids?: unknown;
807
- categories?: unknown;
808
- tags?: unknown;
809
- options?: unknown;
810
- attributes?: unknown;
811
- variants?: unknown;
812
- weight?: unknown;
813
- length?: unknown;
814
- height?: unknown;
815
- width?: unknown;
816
- hs_code?: unknown;
817
- mid_code?: unknown;
818
- origin_country?: unknown;
819
- material?: unknown;
820
- metadata?: unknown;
821
- }, {
822
- [x: string]: any;
823
- title?: unknown;
824
- subtitle?: unknown;
825
- description?: unknown;
826
- is_giftcard?: unknown;
827
- discountable?: unknown;
828
- images?: unknown;
829
- thumbnail?: unknown;
830
- handle?: unknown;
831
- status?: unknown;
832
- external_id?: unknown;
833
- type_id?: unknown;
834
- collection_id?: unknown;
835
- seller_ids?: unknown;
836
- categories?: unknown;
837
- tags?: unknown;
838
- options?: unknown;
839
- attributes?: unknown;
840
- variants?: unknown;
841
- weight?: unknown;
842
- length?: unknown;
843
- height?: unknown;
844
- width?: unknown;
845
- hs_code?: unknown;
846
- mid_code?: unknown;
847
- origin_country?: unknown;
848
- material?: unknown;
849
- metadata?: unknown;
850
- }>;
303
+ }, z.core.$strict>;
851
304
  export declare const AdminCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
852
305
  export type AdminUpdateProductType = z.infer<typeof UpdateProduct> & AdditionalData;
853
306
  export declare const UpdateProduct: z.ZodObject<{
854
307
  title: z.ZodOptional<z.ZodString>;
855
308
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
856
309
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
- discountable: any;
858
- is_giftcard: any;
310
+ discountable: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
311
+ is_giftcard: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
859
312
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
860
313
  id: z.ZodOptional<z.ZodString>;
861
314
  url: z.ZodString;
862
- }, "strip", z.ZodTypeAny, {
863
- url: string;
864
- id?: string | undefined;
865
- }, {
866
- url: string;
867
- id?: string | undefined;
868
- }>, "many">>;
315
+ }, z.core.$strip>>>;
869
316
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
317
  handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
- status: z.ZodOptional<z.ZodNativeEnum<{
318
+ status: z.ZodOptional<z.ZodEnum<{
872
319
  readonly DRAFT: "draft";
873
320
  readonly PROPOSED: "proposed";
874
321
  readonly PUBLISHED: "published";
@@ -879,28 +326,14 @@ export declare const UpdateProduct: z.ZodObject<{
879
326
  collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
880
327
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
881
328
  id: z.ZodString;
882
- }, "strip", z.ZodTypeAny, {
883
- id: string;
884
- }, {
885
- id: string;
886
- }>, "many">>;
329
+ }, z.core.$strip>>>;
887
330
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
888
331
  id: z.ZodString;
889
- }, "strip", z.ZodTypeAny, {
890
- id: string;
891
- }, {
892
- id: string;
893
- }>, "many">>;
332
+ }, z.core.$strip>>>;
894
333
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
895
334
  title: z.ZodString;
896
- values: z.ZodArray<z.ZodString, "many">;
897
- }, "strip", z.ZodTypeAny, {
898
- values: string[];
899
- title: string;
900
- }, {
901
- values: string[];
902
- title: string;
903
- }>, "many">>;
335
+ values: z.ZodArray<z.ZodString>;
336
+ }, z.core.$strip>>>;
904
337
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
905
338
  id: z.ZodOptional<z.ZodString>;
906
339
  title: z.ZodOptional<z.ZodString>;
@@ -929,83 +362,9 @@ export declare const UpdateProduct: z.ZodObject<{
929
362
  min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
930
363
  max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
931
364
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
932
- }, "strip", z.ZodTypeAny, {
933
- id?: string | undefined;
934
- currency_code?: string | undefined;
935
- amount?: number | undefined;
936
- min_quantity?: number | null | undefined;
937
- max_quantity?: number | null | undefined;
938
- rules?: Record<string, string> | undefined;
939
- }, {
940
- id?: string | undefined;
941
- currency_code?: string | undefined;
942
- amount?: number | undefined;
943
- min_quantity?: number | null | undefined;
944
- max_quantity?: number | null | undefined;
945
- rules?: Record<string, string> | undefined;
946
- }>, "many">>;
365
+ }, z.core.$strip>>>;
947
366
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
948
- }, "strict", z.ZodTypeAny, {
949
- length?: number | null | undefined;
950
- options?: Record<string, string> | undefined;
951
- id?: string | undefined;
952
- metadata?: Record<string, unknown> | null | undefined;
953
- title?: string | undefined;
954
- sku?: string | null | undefined;
955
- ean?: string | null | undefined;
956
- upc?: string | null | undefined;
957
- prices?: {
958
- id?: string | undefined;
959
- currency_code?: string | undefined;
960
- amount?: number | undefined;
961
- min_quantity?: number | null | undefined;
962
- max_quantity?: number | null | undefined;
963
- rules?: Record<string, string> | undefined;
964
- }[] | undefined;
965
- thumbnail?: string | null | undefined;
966
- weight?: number | null | undefined;
967
- height?: number | null | undefined;
968
- width?: number | null | undefined;
969
- hs_code?: string | null | undefined;
970
- origin_country?: string | null | undefined;
971
- mid_code?: string | null | undefined;
972
- material?: string | null | undefined;
973
- isbn?: string | null | undefined;
974
- asin?: string | null | undefined;
975
- gtin?: string | null | undefined;
976
- barcode?: string | null | undefined;
977
- variant_rank?: number | undefined;
978
- }, {
979
- length?: number | null | undefined;
980
- options?: Record<string, string> | undefined;
981
- id?: string | undefined;
982
- metadata?: Record<string, unknown> | null | undefined;
983
- title?: string | undefined;
984
- sku?: string | null | undefined;
985
- ean?: string | null | undefined;
986
- upc?: string | null | undefined;
987
- prices?: {
988
- id?: string | undefined;
989
- currency_code?: string | undefined;
990
- amount?: number | undefined;
991
- min_quantity?: number | null | undefined;
992
- max_quantity?: number | null | undefined;
993
- rules?: Record<string, string> | undefined;
994
- }[] | undefined;
995
- thumbnail?: string | null | undefined;
996
- weight?: number | null | undefined;
997
- height?: number | null | undefined;
998
- width?: number | null | undefined;
999
- hs_code?: string | null | undefined;
1000
- origin_country?: string | null | undefined;
1001
- mid_code?: string | null | undefined;
1002
- material?: string | null | undefined;
1003
- isbn?: string | null | undefined;
1004
- asin?: string | null | undefined;
1005
- gtin?: string | null | undefined;
1006
- barcode?: string | null | undefined;
1007
- variant_rank?: number | undefined;
1008
- }>, "many">>;
367
+ }, z.core.$strict>>>;
1009
368
  weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1010
369
  length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1011
370
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1015,87 +374,21 @@ export declare const UpdateProduct: z.ZodObject<{
1015
374
  origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
375
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1017
376
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1018
- }, "strict", z.ZodTypeAny, {
1019
- [x: string]: any;
1020
- title?: unknown;
1021
- subtitle?: unknown;
1022
- description?: unknown;
1023
- discountable?: unknown;
1024
- is_giftcard?: unknown;
1025
- images?: unknown;
1026
- thumbnail?: unknown;
1027
- handle?: unknown;
1028
- status?: unknown;
1029
- external_id?: unknown;
1030
- type_id?: unknown;
1031
- collection_id?: unknown;
1032
- categories?: unknown;
1033
- tags?: unknown;
1034
- options?: unknown;
1035
- variants?: unknown;
1036
- weight?: unknown;
1037
- length?: unknown;
1038
- height?: unknown;
1039
- width?: unknown;
1040
- hs_code?: unknown;
1041
- mid_code?: unknown;
1042
- origin_country?: unknown;
1043
- material?: unknown;
1044
- metadata?: unknown;
1045
- }, {
1046
- [x: string]: any;
1047
- title?: unknown;
1048
- subtitle?: unknown;
1049
- description?: unknown;
1050
- discountable?: unknown;
1051
- is_giftcard?: unknown;
1052
- images?: unknown;
1053
- thumbnail?: unknown;
1054
- handle?: unknown;
1055
- status?: unknown;
1056
- external_id?: unknown;
1057
- type_id?: unknown;
1058
- collection_id?: unknown;
1059
- categories?: unknown;
1060
- tags?: unknown;
1061
- options?: unknown;
1062
- variants?: unknown;
1063
- weight?: unknown;
1064
- length?: unknown;
1065
- height?: unknown;
1066
- width?: unknown;
1067
- hs_code?: unknown;
1068
- mid_code?: unknown;
1069
- origin_country?: unknown;
1070
- material?: unknown;
1071
- metadata?: unknown;
1072
- }>;
377
+ }, z.core.$strict>;
1073
378
  export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
1074
379
  declare const ConfirmProduct: z.ZodObject<{
1075
380
  internal_note: z.ZodOptional<z.ZodString>;
1076
- }, "strict", z.ZodTypeAny, {
1077
- internal_note?: string | undefined;
1078
- }, {
1079
- internal_note?: string | undefined;
1080
- }>;
381
+ }, z.core.$strict>;
1081
382
  export type AdminConfirmProductType = z.infer<typeof ConfirmProduct> & AdditionalData;
1082
383
  export declare const AdminConfirmProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
1083
384
  declare const RejectProduct: z.ZodObject<{
1084
385
  message: z.ZodOptional<z.ZodString>;
1085
- }, "strip", z.ZodTypeAny, {
1086
- message?: string | undefined;
1087
- }, {
1088
- message?: string | undefined;
1089
- }>;
386
+ }, z.core.$strip>;
1090
387
  export type AdminRejectProductType = z.infer<typeof RejectProduct> & AdditionalData;
1091
388
  export declare const AdminRejectProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
1092
389
  declare const RequestProductChanges: z.ZodObject<{
1093
390
  message: z.ZodOptional<z.ZodString>;
1094
- }, "strip", z.ZodTypeAny, {
1095
- message?: string | undefined;
1096
- }, {
1097
- message?: string | undefined;
1098
- }>;
391
+ }, z.core.$strip>;
1099
392
  export type AdminRequestProductChangesType = z.infer<typeof RequestProductChanges> & AdditionalData;
1100
393
  export declare const AdminRequestProductChanges: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
1101
394
  declare const BatchProductVariants: z.ZodObject<{
@@ -1119,47 +412,7 @@ declare const BatchProductVariants: z.ZodObject<{
1119
412
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1120
413
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1121
414
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1122
- }, "strict", z.ZodTypeAny, {
1123
- title: string;
1124
- length?: number | null | undefined;
1125
- options?: Record<string, string> | undefined;
1126
- metadata?: Record<string, unknown> | null | undefined;
1127
- sku?: string | null | undefined;
1128
- ean?: string | null | undefined;
1129
- upc?: string | null | undefined;
1130
- weight?: number | null | undefined;
1131
- height?: number | null | undefined;
1132
- width?: number | null | undefined;
1133
- hs_code?: string | null | undefined;
1134
- origin_country?: string | null | undefined;
1135
- mid_code?: string | null | undefined;
1136
- material?: string | null | undefined;
1137
- isbn?: string | null | undefined;
1138
- asin?: string | null | undefined;
1139
- gtin?: string | null | undefined;
1140
- barcode?: string | null | undefined;
1141
- variant_rank?: number | undefined;
1142
- }, {
1143
- title: string;
1144
- length?: number | null | undefined;
1145
- options?: Record<string, string> | undefined;
1146
- metadata?: Record<string, unknown> | null | undefined;
1147
- sku?: string | null | undefined;
1148
- ean?: string | null | undefined;
1149
- upc?: string | null | undefined;
1150
- weight?: number | null | undefined;
1151
- height?: number | null | undefined;
1152
- width?: number | null | undefined;
1153
- hs_code?: string | null | undefined;
1154
- origin_country?: string | null | undefined;
1155
- mid_code?: string | null | undefined;
1156
- material?: string | null | undefined;
1157
- isbn?: string | null | undefined;
1158
- asin?: string | null | undefined;
1159
- gtin?: string | null | undefined;
1160
- barcode?: string | null | undefined;
1161
- variant_rank?: number | undefined;
1162
- }>, "many">>;
415
+ }, z.core.$strict>>>;
1163
416
  update: z.ZodOptional<z.ZodArray<z.ZodObject<{
1164
417
  title: z.ZodOptional<z.ZodString>;
1165
418
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1187,195 +440,12 @@ declare const BatchProductVariants: z.ZodObject<{
1187
440
  min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1188
441
  max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1189
442
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1190
- }, "strip", z.ZodTypeAny, {
1191
- id?: string | undefined;
1192
- currency_code?: string | undefined;
1193
- amount?: number | undefined;
1194
- min_quantity?: number | null | undefined;
1195
- max_quantity?: number | null | undefined;
1196
- rules?: Record<string, string> | undefined;
1197
- }, {
1198
- id?: string | undefined;
1199
- currency_code?: string | undefined;
1200
- amount?: number | undefined;
1201
- min_quantity?: number | null | undefined;
1202
- max_quantity?: number | null | undefined;
1203
- rules?: Record<string, string> | undefined;
1204
- }>, "many">>;
443
+ }, z.core.$strip>>>;
1205
444
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1206
- } & {
1207
445
  id: z.ZodString;
1208
- }, "strict", z.ZodTypeAny, {
1209
- id: string;
1210
- length?: number | null | undefined;
1211
- options?: Record<string, string> | undefined;
1212
- metadata?: Record<string, unknown> | null | undefined;
1213
- title?: string | undefined;
1214
- sku?: string | null | undefined;
1215
- ean?: string | null | undefined;
1216
- upc?: string | null | undefined;
1217
- prices?: {
1218
- id?: string | undefined;
1219
- currency_code?: string | undefined;
1220
- amount?: number | undefined;
1221
- min_quantity?: number | null | undefined;
1222
- max_quantity?: number | null | undefined;
1223
- rules?: Record<string, string> | undefined;
1224
- }[] | undefined;
1225
- thumbnail?: string | null | undefined;
1226
- weight?: number | null | undefined;
1227
- height?: number | null | undefined;
1228
- width?: number | null | undefined;
1229
- hs_code?: string | null | undefined;
1230
- origin_country?: string | null | undefined;
1231
- mid_code?: string | null | undefined;
1232
- material?: string | null | undefined;
1233
- isbn?: string | null | undefined;
1234
- asin?: string | null | undefined;
1235
- gtin?: string | null | undefined;
1236
- barcode?: string | null | undefined;
1237
- variant_rank?: number | undefined;
1238
- }, {
1239
- id: string;
1240
- length?: number | null | undefined;
1241
- options?: Record<string, string> | undefined;
1242
- metadata?: Record<string, unknown> | null | undefined;
1243
- title?: string | undefined;
1244
- sku?: string | null | undefined;
1245
- ean?: string | null | undefined;
1246
- upc?: string | null | undefined;
1247
- prices?: {
1248
- id?: string | undefined;
1249
- currency_code?: string | undefined;
1250
- amount?: number | undefined;
1251
- min_quantity?: number | null | undefined;
1252
- max_quantity?: number | null | undefined;
1253
- rules?: Record<string, string> | undefined;
1254
- }[] | undefined;
1255
- thumbnail?: string | null | undefined;
1256
- weight?: number | null | undefined;
1257
- height?: number | null | undefined;
1258
- width?: number | null | undefined;
1259
- hs_code?: string | null | undefined;
1260
- origin_country?: string | null | undefined;
1261
- mid_code?: string | null | undefined;
1262
- material?: string | null | undefined;
1263
- isbn?: string | null | undefined;
1264
- asin?: string | null | undefined;
1265
- gtin?: string | null | undefined;
1266
- barcode?: string | null | undefined;
1267
- variant_rank?: number | undefined;
1268
- }>, "many">>;
1269
- delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1270
- }, "strip", z.ZodTypeAny, {
1271
- create?: {
1272
- title: string;
1273
- length?: number | null | undefined;
1274
- options?: Record<string, string> | undefined;
1275
- metadata?: Record<string, unknown> | null | undefined;
1276
- sku?: string | null | undefined;
1277
- ean?: string | null | undefined;
1278
- upc?: string | null | undefined;
1279
- weight?: number | null | undefined;
1280
- height?: number | null | undefined;
1281
- width?: number | null | undefined;
1282
- hs_code?: string | null | undefined;
1283
- origin_country?: string | null | undefined;
1284
- mid_code?: string | null | undefined;
1285
- material?: string | null | undefined;
1286
- isbn?: string | null | undefined;
1287
- asin?: string | null | undefined;
1288
- gtin?: string | null | undefined;
1289
- barcode?: string | null | undefined;
1290
- variant_rank?: number | undefined;
1291
- }[] | undefined;
1292
- update?: {
1293
- id: string;
1294
- length?: number | null | undefined;
1295
- options?: Record<string, string> | undefined;
1296
- metadata?: Record<string, unknown> | null | undefined;
1297
- title?: string | undefined;
1298
- sku?: string | null | undefined;
1299
- ean?: string | null | undefined;
1300
- upc?: string | null | undefined;
1301
- prices?: {
1302
- id?: string | undefined;
1303
- currency_code?: string | undefined;
1304
- amount?: number | undefined;
1305
- min_quantity?: number | null | undefined;
1306
- max_quantity?: number | null | undefined;
1307
- rules?: Record<string, string> | undefined;
1308
- }[] | undefined;
1309
- thumbnail?: string | null | undefined;
1310
- weight?: number | null | undefined;
1311
- height?: number | null | undefined;
1312
- width?: number | null | undefined;
1313
- hs_code?: string | null | undefined;
1314
- origin_country?: string | null | undefined;
1315
- mid_code?: string | null | undefined;
1316
- material?: string | null | undefined;
1317
- isbn?: string | null | undefined;
1318
- asin?: string | null | undefined;
1319
- gtin?: string | null | undefined;
1320
- barcode?: string | null | undefined;
1321
- variant_rank?: number | undefined;
1322
- }[] | undefined;
1323
- delete?: string[] | undefined;
1324
- }, {
1325
- create?: {
1326
- title: string;
1327
- length?: number | null | undefined;
1328
- options?: Record<string, string> | undefined;
1329
- metadata?: Record<string, unknown> | null | undefined;
1330
- sku?: string | null | undefined;
1331
- ean?: string | null | undefined;
1332
- upc?: string | null | undefined;
1333
- weight?: number | null | undefined;
1334
- height?: number | null | undefined;
1335
- width?: number | null | undefined;
1336
- hs_code?: string | null | undefined;
1337
- origin_country?: string | null | undefined;
1338
- mid_code?: string | null | undefined;
1339
- material?: string | null | undefined;
1340
- isbn?: string | null | undefined;
1341
- asin?: string | null | undefined;
1342
- gtin?: string | null | undefined;
1343
- barcode?: string | null | undefined;
1344
- variant_rank?: number | undefined;
1345
- }[] | undefined;
1346
- update?: {
1347
- id: string;
1348
- length?: number | null | undefined;
1349
- options?: Record<string, string> | undefined;
1350
- metadata?: Record<string, unknown> | null | undefined;
1351
- title?: string | undefined;
1352
- sku?: string | null | undefined;
1353
- ean?: string | null | undefined;
1354
- upc?: string | null | undefined;
1355
- prices?: {
1356
- id?: string | undefined;
1357
- currency_code?: string | undefined;
1358
- amount?: number | undefined;
1359
- min_quantity?: number | null | undefined;
1360
- max_quantity?: number | null | undefined;
1361
- rules?: Record<string, string> | undefined;
1362
- }[] | undefined;
1363
- thumbnail?: string | null | undefined;
1364
- weight?: number | null | undefined;
1365
- height?: number | null | undefined;
1366
- width?: number | null | undefined;
1367
- hs_code?: string | null | undefined;
1368
- origin_country?: string | null | undefined;
1369
- mid_code?: string | null | undefined;
1370
- material?: string | null | undefined;
1371
- isbn?: string | null | undefined;
1372
- asin?: string | null | undefined;
1373
- gtin?: string | null | undefined;
1374
- barcode?: string | null | undefined;
1375
- variant_rank?: number | undefined;
1376
- }[] | undefined;
1377
- delete?: string[] | undefined;
1378
- }>;
446
+ }, z.core.$strict>>>;
447
+ delete: z.ZodOptional<z.ZodArray<z.ZodString>>;
448
+ }, z.core.$strip>;
1379
449
  export type AdminBatchProductVariantsType = z.infer<typeof BatchProductVariants>;
1380
450
  export declare const AdminBatchProductVariants: z.ZodObject<{
1381
451
  create: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1398,47 +468,7 @@ export declare const AdminBatchProductVariants: z.ZodObject<{
1398
468
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1399
469
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1400
470
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1401
- }, "strict", z.ZodTypeAny, {
1402
- title: string;
1403
- length?: number | null | undefined;
1404
- options?: Record<string, string> | undefined;
1405
- metadata?: Record<string, unknown> | null | undefined;
1406
- sku?: string | null | undefined;
1407
- ean?: string | null | undefined;
1408
- upc?: string | null | undefined;
1409
- weight?: number | null | undefined;
1410
- height?: number | null | undefined;
1411
- width?: number | null | undefined;
1412
- hs_code?: string | null | undefined;
1413
- origin_country?: string | null | undefined;
1414
- mid_code?: string | null | undefined;
1415
- material?: string | null | undefined;
1416
- isbn?: string | null | undefined;
1417
- asin?: string | null | undefined;
1418
- gtin?: string | null | undefined;
1419
- barcode?: string | null | undefined;
1420
- variant_rank?: number | undefined;
1421
- }, {
1422
- title: string;
1423
- length?: number | null | undefined;
1424
- options?: Record<string, string> | undefined;
1425
- metadata?: Record<string, unknown> | null | undefined;
1426
- sku?: string | null | undefined;
1427
- ean?: string | null | undefined;
1428
- upc?: string | null | undefined;
1429
- weight?: number | null | undefined;
1430
- height?: number | null | undefined;
1431
- width?: number | null | undefined;
1432
- hs_code?: string | null | undefined;
1433
- origin_country?: string | null | undefined;
1434
- mid_code?: string | null | undefined;
1435
- material?: string | null | undefined;
1436
- isbn?: string | null | undefined;
1437
- asin?: string | null | undefined;
1438
- gtin?: string | null | undefined;
1439
- barcode?: string | null | undefined;
1440
- variant_rank?: number | undefined;
1441
- }>, "many">>;
471
+ }, z.core.$strict>>>;
1442
472
  update: z.ZodOptional<z.ZodArray<z.ZodObject<{
1443
473
  title: z.ZodOptional<z.ZodString>;
1444
474
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1466,284 +496,43 @@ export declare const AdminBatchProductVariants: z.ZodObject<{
1466
496
  min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1467
497
  max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1468
498
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1469
- }, "strip", z.ZodTypeAny, {
1470
- id?: string | undefined;
1471
- currency_code?: string | undefined;
1472
- amount?: number | undefined;
1473
- min_quantity?: number | null | undefined;
1474
- max_quantity?: number | null | undefined;
1475
- rules?: Record<string, string> | undefined;
1476
- }, {
1477
- id?: string | undefined;
1478
- currency_code?: string | undefined;
1479
- amount?: number | undefined;
1480
- min_quantity?: number | null | undefined;
1481
- max_quantity?: number | null | undefined;
1482
- rules?: Record<string, string> | undefined;
1483
- }>, "many">>;
499
+ }, z.core.$strip>>>;
1484
500
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1485
- } & {
1486
501
  id: z.ZodString;
1487
- }, "strict", z.ZodTypeAny, {
1488
- id: string;
1489
- length?: number | null | undefined;
1490
- options?: Record<string, string> | undefined;
1491
- metadata?: Record<string, unknown> | null | undefined;
1492
- title?: string | undefined;
1493
- sku?: string | null | undefined;
1494
- ean?: string | null | undefined;
1495
- upc?: string | null | undefined;
1496
- prices?: {
1497
- id?: string | undefined;
1498
- currency_code?: string | undefined;
1499
- amount?: number | undefined;
1500
- min_quantity?: number | null | undefined;
1501
- max_quantity?: number | null | undefined;
1502
- rules?: Record<string, string> | undefined;
1503
- }[] | undefined;
1504
- thumbnail?: string | null | undefined;
1505
- weight?: number | null | undefined;
1506
- height?: number | null | undefined;
1507
- width?: number | null | undefined;
1508
- hs_code?: string | null | undefined;
1509
- origin_country?: string | null | undefined;
1510
- mid_code?: string | null | undefined;
1511
- material?: string | null | undefined;
1512
- isbn?: string | null | undefined;
1513
- asin?: string | null | undefined;
1514
- gtin?: string | null | undefined;
1515
- barcode?: string | null | undefined;
1516
- variant_rank?: number | undefined;
1517
- }, {
1518
- id: string;
1519
- length?: number | null | undefined;
1520
- options?: Record<string, string> | undefined;
1521
- metadata?: Record<string, unknown> | null | undefined;
1522
- title?: string | undefined;
1523
- sku?: string | null | undefined;
1524
- ean?: string | null | undefined;
1525
- upc?: string | null | undefined;
1526
- prices?: {
1527
- id?: string | undefined;
1528
- currency_code?: string | undefined;
1529
- amount?: number | undefined;
1530
- min_quantity?: number | null | undefined;
1531
- max_quantity?: number | null | undefined;
1532
- rules?: Record<string, string> | undefined;
1533
- }[] | undefined;
1534
- thumbnail?: string | null | undefined;
1535
- weight?: number | null | undefined;
1536
- height?: number | null | undefined;
1537
- width?: number | null | undefined;
1538
- hs_code?: string | null | undefined;
1539
- origin_country?: string | null | undefined;
1540
- mid_code?: string | null | undefined;
1541
- material?: string | null | undefined;
1542
- isbn?: string | null | undefined;
1543
- asin?: string | null | undefined;
1544
- gtin?: string | null | undefined;
1545
- barcode?: string | null | undefined;
1546
- variant_rank?: number | undefined;
1547
- }>, "many">>;
1548
- delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1549
- }, "strip", z.ZodTypeAny, {
1550
- create?: {
1551
- title: string;
1552
- length?: number | null | undefined;
1553
- options?: Record<string, string> | undefined;
1554
- metadata?: Record<string, unknown> | null | undefined;
1555
- sku?: string | null | undefined;
1556
- ean?: string | null | undefined;
1557
- upc?: string | null | undefined;
1558
- weight?: number | null | undefined;
1559
- height?: number | null | undefined;
1560
- width?: number | null | undefined;
1561
- hs_code?: string | null | undefined;
1562
- origin_country?: string | null | undefined;
1563
- mid_code?: string | null | undefined;
1564
- material?: string | null | undefined;
1565
- isbn?: string | null | undefined;
1566
- asin?: string | null | undefined;
1567
- gtin?: string | null | undefined;
1568
- barcode?: string | null | undefined;
1569
- variant_rank?: number | undefined;
1570
- }[] | undefined;
1571
- update?: {
1572
- id: string;
1573
- length?: number | null | undefined;
1574
- options?: Record<string, string> | undefined;
1575
- metadata?: Record<string, unknown> | null | undefined;
1576
- title?: string | undefined;
1577
- sku?: string | null | undefined;
1578
- ean?: string | null | undefined;
1579
- upc?: string | null | undefined;
1580
- prices?: {
1581
- id?: string | undefined;
1582
- currency_code?: string | undefined;
1583
- amount?: number | undefined;
1584
- min_quantity?: number | null | undefined;
1585
- max_quantity?: number | null | undefined;
1586
- rules?: Record<string, string> | undefined;
1587
- }[] | undefined;
1588
- thumbnail?: string | null | undefined;
1589
- weight?: number | null | undefined;
1590
- height?: number | null | undefined;
1591
- width?: number | null | undefined;
1592
- hs_code?: string | null | undefined;
1593
- origin_country?: string | null | undefined;
1594
- mid_code?: string | null | undefined;
1595
- material?: string | null | undefined;
1596
- isbn?: string | null | undefined;
1597
- asin?: string | null | undefined;
1598
- gtin?: string | null | undefined;
1599
- barcode?: string | null | undefined;
1600
- variant_rank?: number | undefined;
1601
- }[] | undefined;
1602
- delete?: string[] | undefined;
1603
- }, {
1604
- create?: {
1605
- title: string;
1606
- length?: number | null | undefined;
1607
- options?: Record<string, string> | undefined;
1608
- metadata?: Record<string, unknown> | null | undefined;
1609
- sku?: string | null | undefined;
1610
- ean?: string | null | undefined;
1611
- upc?: string | null | undefined;
1612
- weight?: number | null | undefined;
1613
- height?: number | null | undefined;
1614
- width?: number | null | undefined;
1615
- hs_code?: string | null | undefined;
1616
- origin_country?: string | null | undefined;
1617
- mid_code?: string | null | undefined;
1618
- material?: string | null | undefined;
1619
- isbn?: string | null | undefined;
1620
- asin?: string | null | undefined;
1621
- gtin?: string | null | undefined;
1622
- barcode?: string | null | undefined;
1623
- variant_rank?: number | undefined;
1624
- }[] | undefined;
1625
- update?: {
1626
- id: string;
1627
- length?: number | null | undefined;
1628
- options?: Record<string, string> | undefined;
1629
- metadata?: Record<string, unknown> | null | undefined;
1630
- title?: string | undefined;
1631
- sku?: string | null | undefined;
1632
- ean?: string | null | undefined;
1633
- upc?: string | null | undefined;
1634
- prices?: {
1635
- id?: string | undefined;
1636
- currency_code?: string | undefined;
1637
- amount?: number | undefined;
1638
- min_quantity?: number | null | undefined;
1639
- max_quantity?: number | null | undefined;
1640
- rules?: Record<string, string> | undefined;
1641
- }[] | undefined;
1642
- thumbnail?: string | null | undefined;
1643
- weight?: number | null | undefined;
1644
- height?: number | null | undefined;
1645
- width?: number | null | undefined;
1646
- hs_code?: string | null | undefined;
1647
- origin_country?: string | null | undefined;
1648
- mid_code?: string | null | undefined;
1649
- material?: string | null | undefined;
1650
- isbn?: string | null | undefined;
1651
- asin?: string | null | undefined;
1652
- gtin?: string | null | undefined;
1653
- barcode?: string | null | undefined;
1654
- variant_rank?: number | undefined;
1655
- }[] | undefined;
1656
- delete?: string[] | undefined;
1657
- }>;
502
+ }, z.core.$strict>>>;
503
+ delete: z.ZodOptional<z.ZodArray<z.ZodString>>;
504
+ }, z.core.$strip>;
1658
505
  export type AdminBatchVariantInventoryItemsType = z.infer<typeof AdminBatchVariantInventoryItems>;
1659
506
  export declare const AdminBatchVariantInventoryItems: z.ZodObject<{
1660
507
  create: z.ZodOptional<z.ZodArray<z.ZodObject<{
1661
508
  variant_id: z.ZodString;
1662
509
  inventory_item_id: z.ZodString;
1663
510
  required_quantity: z.ZodOptional<z.ZodNumber>;
1664
- }, "strict", z.ZodTypeAny, {
1665
- variant_id: string;
1666
- inventory_item_id: string;
1667
- required_quantity?: number | undefined;
1668
- }, {
1669
- variant_id: string;
1670
- inventory_item_id: string;
1671
- required_quantity?: number | undefined;
1672
- }>, "many">>;
511
+ }, z.core.$strict>>>;
1673
512
  update: z.ZodOptional<z.ZodArray<z.ZodObject<{
1674
513
  variant_id: z.ZodString;
1675
514
  inventory_item_id: z.ZodString;
1676
515
  required_quantity: z.ZodOptional<z.ZodNumber>;
1677
- }, "strict", z.ZodTypeAny, {
1678
- variant_id: string;
1679
- inventory_item_id: string;
1680
- required_quantity?: number | undefined;
1681
- }, {
1682
- variant_id: string;
1683
- inventory_item_id: string;
1684
- required_quantity?: number | undefined;
1685
- }>, "many">>;
516
+ }, z.core.$strict>>>;
1686
517
  delete: z.ZodOptional<z.ZodArray<z.ZodObject<{
1687
518
  variant_id: z.ZodString;
1688
519
  inventory_item_id: z.ZodString;
1689
- }, "strict", z.ZodTypeAny, {
1690
- variant_id: string;
1691
- inventory_item_id: string;
1692
- }, {
1693
- variant_id: string;
1694
- inventory_item_id: string;
1695
- }>, "many">>;
1696
- }, "strip", z.ZodTypeAny, {
1697
- create?: {
1698
- variant_id: string;
1699
- inventory_item_id: string;
1700
- required_quantity?: number | undefined;
1701
- }[] | undefined;
1702
- update?: {
1703
- variant_id: string;
1704
- inventory_item_id: string;
1705
- required_quantity?: number | undefined;
1706
- }[] | undefined;
1707
- delete?: {
1708
- variant_id: string;
1709
- inventory_item_id: string;
1710
- }[] | undefined;
1711
- }, {
1712
- create?: {
1713
- variant_id: string;
1714
- inventory_item_id: string;
1715
- required_quantity?: number | undefined;
1716
- }[] | undefined;
1717
- update?: {
1718
- variant_id: string;
1719
- inventory_item_id: string;
1720
- required_quantity?: number | undefined;
1721
- }[] | undefined;
1722
- delete?: {
1723
- variant_id: string;
1724
- inventory_item_id: string;
1725
- }[] | undefined;
1726
- }>;
520
+ }, z.core.$strict>>>;
521
+ }, z.core.$strip>;
1727
522
  declare const BatchProducts: z.ZodObject<{
1728
523
  update: z.ZodOptional<z.ZodArray<z.ZodObject<{
1729
524
  title: z.ZodOptional<z.ZodString>;
1730
525
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1731
526
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1732
- discountable: any;
1733
- is_giftcard: any;
527
+ discountable: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
528
+ is_giftcard: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
1734
529
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1735
530
  id: z.ZodOptional<z.ZodString>;
1736
531
  url: z.ZodString;
1737
- }, "strip", z.ZodTypeAny, {
1738
- url: string;
1739
- id?: string | undefined;
1740
- }, {
1741
- url: string;
1742
- id?: string | undefined;
1743
- }>, "many">>;
532
+ }, z.core.$strip>>>;
1744
533
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1745
534
  handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1746
- status: z.ZodOptional<z.ZodNativeEnum<{
535
+ status: z.ZodOptional<z.ZodEnum<{
1747
536
  readonly DRAFT: "draft";
1748
537
  readonly PROPOSED: "proposed";
1749
538
  readonly PUBLISHED: "published";
@@ -1754,28 +543,14 @@ declare const BatchProducts: z.ZodObject<{
1754
543
  collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1755
544
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1756
545
  id: z.ZodString;
1757
- }, "strip", z.ZodTypeAny, {
1758
- id: string;
1759
- }, {
1760
- id: string;
1761
- }>, "many">>;
546
+ }, z.core.$strip>>>;
1762
547
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1763
548
  id: z.ZodString;
1764
- }, "strip", z.ZodTypeAny, {
1765
- id: string;
1766
- }, {
1767
- id: string;
1768
- }>, "many">>;
549
+ }, z.core.$strip>>>;
1769
550
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1770
551
  title: z.ZodString;
1771
- values: z.ZodArray<z.ZodString, "many">;
1772
- }, "strip", z.ZodTypeAny, {
1773
- values: string[];
1774
- title: string;
1775
- }, {
1776
- values: string[];
1777
- title: string;
1778
- }>, "many">>;
552
+ values: z.ZodArray<z.ZodString>;
553
+ }, z.core.$strip>>>;
1779
554
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1780
555
  id: z.ZodOptional<z.ZodString>;
1781
556
  title: z.ZodOptional<z.ZodString>;
@@ -1804,83 +579,9 @@ declare const BatchProducts: z.ZodObject<{
1804
579
  min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1805
580
  max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1806
581
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1807
- }, "strip", z.ZodTypeAny, {
1808
- id?: string | undefined;
1809
- currency_code?: string | undefined;
1810
- amount?: number | undefined;
1811
- min_quantity?: number | null | undefined;
1812
- max_quantity?: number | null | undefined;
1813
- rules?: Record<string, string> | undefined;
1814
- }, {
1815
- id?: string | undefined;
1816
- currency_code?: string | undefined;
1817
- amount?: number | undefined;
1818
- min_quantity?: number | null | undefined;
1819
- max_quantity?: number | null | undefined;
1820
- rules?: Record<string, string> | undefined;
1821
- }>, "many">>;
582
+ }, z.core.$strip>>>;
1822
583
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1823
- }, "strict", z.ZodTypeAny, {
1824
- length?: number | null | undefined;
1825
- options?: Record<string, string> | undefined;
1826
- id?: string | undefined;
1827
- metadata?: Record<string, unknown> | null | undefined;
1828
- title?: string | undefined;
1829
- sku?: string | null | undefined;
1830
- ean?: string | null | undefined;
1831
- upc?: string | null | undefined;
1832
- prices?: {
1833
- id?: string | undefined;
1834
- currency_code?: string | undefined;
1835
- amount?: number | undefined;
1836
- min_quantity?: number | null | undefined;
1837
- max_quantity?: number | null | undefined;
1838
- rules?: Record<string, string> | undefined;
1839
- }[] | undefined;
1840
- thumbnail?: string | null | undefined;
1841
- weight?: number | null | undefined;
1842
- height?: number | null | undefined;
1843
- width?: number | null | undefined;
1844
- hs_code?: string | null | undefined;
1845
- origin_country?: string | null | undefined;
1846
- mid_code?: string | null | undefined;
1847
- material?: string | null | undefined;
1848
- isbn?: string | null | undefined;
1849
- asin?: string | null | undefined;
1850
- gtin?: string | null | undefined;
1851
- barcode?: string | null | undefined;
1852
- variant_rank?: number | undefined;
1853
- }, {
1854
- length?: number | null | undefined;
1855
- options?: Record<string, string> | undefined;
1856
- id?: string | undefined;
1857
- metadata?: Record<string, unknown> | null | undefined;
1858
- title?: string | undefined;
1859
- sku?: string | null | undefined;
1860
- ean?: string | null | undefined;
1861
- upc?: string | null | undefined;
1862
- prices?: {
1863
- id?: string | undefined;
1864
- currency_code?: string | undefined;
1865
- amount?: number | undefined;
1866
- min_quantity?: number | null | undefined;
1867
- max_quantity?: number | null | undefined;
1868
- rules?: Record<string, string> | undefined;
1869
- }[] | undefined;
1870
- thumbnail?: string | null | undefined;
1871
- weight?: number | null | undefined;
1872
- height?: number | null | undefined;
1873
- width?: number | null | undefined;
1874
- hs_code?: string | null | undefined;
1875
- origin_country?: string | null | undefined;
1876
- mid_code?: string | null | undefined;
1877
- material?: string | null | undefined;
1878
- isbn?: string | null | undefined;
1879
- asin?: string | null | undefined;
1880
- gtin?: string | null | undefined;
1881
- barcode?: string | null | undefined;
1882
- variant_rank?: number | undefined;
1883
- }>, "many">>;
584
+ }, z.core.$strict>>>;
1884
585
  weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1885
586
  length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1886
587
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1890,321 +591,46 @@ declare const BatchProducts: z.ZodObject<{
1890
591
  origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1891
592
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1892
593
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1893
- } & {
1894
594
  id: z.ZodString;
1895
- }, "strict", z.ZodTypeAny, {
1896
- [x: string]: any;
1897
- title?: unknown;
1898
- subtitle?: unknown;
1899
- description?: unknown;
1900
- discountable?: unknown;
1901
- is_giftcard?: unknown;
1902
- images?: unknown;
1903
- thumbnail?: unknown;
1904
- handle?: unknown;
1905
- status?: unknown;
1906
- external_id?: unknown;
1907
- type_id?: unknown;
1908
- collection_id?: unknown;
1909
- categories?: unknown;
1910
- tags?: unknown;
1911
- options?: unknown;
1912
- variants?: unknown;
1913
- weight?: unknown;
1914
- length?: unknown;
1915
- height?: unknown;
1916
- width?: unknown;
1917
- hs_code?: unknown;
1918
- mid_code?: unknown;
1919
- origin_country?: unknown;
1920
- material?: unknown;
1921
- metadata?: unknown;
1922
- id?: unknown;
1923
- }, {
1924
- [x: string]: any;
1925
- title?: unknown;
1926
- subtitle?: unknown;
1927
- description?: unknown;
1928
- discountable?: unknown;
1929
- is_giftcard?: unknown;
1930
- images?: unknown;
1931
- thumbnail?: unknown;
1932
- handle?: unknown;
1933
- status?: unknown;
1934
- external_id?: unknown;
1935
- type_id?: unknown;
1936
- collection_id?: unknown;
1937
- categories?: unknown;
1938
- tags?: unknown;
1939
- options?: unknown;
1940
- variants?: unknown;
1941
- weight?: unknown;
1942
- length?: unknown;
1943
- height?: unknown;
1944
- width?: unknown;
1945
- hs_code?: unknown;
1946
- mid_code?: unknown;
1947
- origin_country?: unknown;
1948
- material?: unknown;
1949
- metadata?: unknown;
1950
- id?: unknown;
1951
- }>, "many">>;
1952
- delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1953
- }, "strip", z.ZodTypeAny, {
1954
- update?: {
1955
- [x: string]: any;
1956
- title?: unknown;
1957
- subtitle?: unknown;
1958
- description?: unknown;
1959
- discountable?: unknown;
1960
- is_giftcard?: unknown;
1961
- images?: unknown;
1962
- thumbnail?: unknown;
1963
- handle?: unknown;
1964
- status?: unknown;
1965
- external_id?: unknown;
1966
- type_id?: unknown;
1967
- collection_id?: unknown;
1968
- categories?: unknown;
1969
- tags?: unknown;
1970
- options?: unknown;
1971
- variants?: unknown;
1972
- weight?: unknown;
1973
- length?: unknown;
1974
- height?: unknown;
1975
- width?: unknown;
1976
- hs_code?: unknown;
1977
- mid_code?: unknown;
1978
- origin_country?: unknown;
1979
- material?: unknown;
1980
- metadata?: unknown;
1981
- id?: unknown;
1982
- }[] | undefined;
1983
- delete?: string[] | undefined;
1984
- }, {
1985
- update?: {
1986
- [x: string]: any;
1987
- title?: unknown;
1988
- subtitle?: unknown;
1989
- description?: unknown;
1990
- discountable?: unknown;
1991
- is_giftcard?: unknown;
1992
- images?: unknown;
1993
- thumbnail?: unknown;
1994
- handle?: unknown;
1995
- status?: unknown;
1996
- external_id?: unknown;
1997
- type_id?: unknown;
1998
- collection_id?: unknown;
1999
- categories?: unknown;
2000
- tags?: unknown;
2001
- options?: unknown;
2002
- variants?: unknown;
2003
- weight?: unknown;
2004
- length?: unknown;
2005
- height?: unknown;
2006
- width?: unknown;
2007
- hs_code?: unknown;
2008
- mid_code?: unknown;
2009
- origin_country?: unknown;
2010
- material?: unknown;
2011
- metadata?: unknown;
2012
- id?: unknown;
2013
- }[] | undefined;
2014
- delete?: string[] | undefined;
2015
- }>;
595
+ }, z.core.$strict>>>;
596
+ delete: z.ZodOptional<z.ZodArray<z.ZodString>>;
597
+ }, z.core.$strip>;
2016
598
  export type AdminBatchProductsType = z.infer<typeof BatchProducts> & AdditionalData;
2017
599
  export declare const AdminBatchProducts: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
2018
600
  declare const BatchProductAttributes: z.ZodObject<{
2019
- add: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
601
+ add: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2020
602
  id: z.ZodString;
2021
- value_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2022
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2023
- }, "strict", z.ZodTypeAny, {
2024
- id: string;
2025
- value?: string | number | boolean | undefined;
2026
- value_ids?: string[] | undefined;
2027
- }, {
2028
- id: string;
2029
- value?: string | number | boolean | undefined;
2030
- value_ids?: string[] | undefined;
2031
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
603
+ value_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
604
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
605
+ }, z.core.$strict>, z.ZodObject<{
2032
606
  title: z.ZodString;
2033
- type: z.ZodOptional<z.ZodEnum<["single_select", "multi_select", "text", "toggle", "unit"]>>;
2034
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2035
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
607
+ type: z.ZodOptional<z.ZodEnum<{
608
+ single_select: "single_select";
609
+ multi_select: "multi_select";
610
+ text: "text";
611
+ toggle: "toggle";
612
+ unit: "unit";
613
+ }>>;
614
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
615
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2036
616
  is_variant_axis: z.ZodOptional<z.ZodBoolean>;
2037
617
  is_filterable: z.ZodOptional<z.ZodBoolean>;
2038
618
  is_required: z.ZodOptional<z.ZodBoolean>;
2039
619
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2040
620
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2041
- }, "strict", z.ZodTypeAny, {
2042
- title: string;
2043
- values?: string[] | undefined;
2044
- metadata?: Record<string, unknown> | null | undefined;
2045
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2046
- is_variant_axis?: boolean | undefined;
2047
- is_required?: boolean | undefined;
2048
- value?: string | number | boolean | undefined;
2049
- description?: string | null | undefined;
2050
- is_filterable?: boolean | undefined;
2051
- }, {
2052
- title: string;
2053
- values?: string[] | undefined;
2054
- metadata?: Record<string, unknown> | null | undefined;
2055
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2056
- is_variant_axis?: boolean | undefined;
2057
- is_required?: boolean | undefined;
2058
- value?: string | number | boolean | undefined;
2059
- description?: string | null | undefined;
2060
- is_filterable?: boolean | undefined;
2061
- }>, {
2062
- title: string;
2063
- values?: string[] | undefined;
2064
- metadata?: Record<string, unknown> | null | undefined;
2065
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2066
- is_variant_axis?: boolean | undefined;
2067
- is_required?: boolean | undefined;
2068
- value?: string | number | boolean | undefined;
2069
- description?: string | null | undefined;
2070
- is_filterable?: boolean | undefined;
2071
- }, {
2072
- title: string;
2073
- values?: string[] | undefined;
2074
- metadata?: Record<string, unknown> | null | undefined;
2075
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2076
- is_variant_axis?: boolean | undefined;
2077
- is_required?: boolean | undefined;
2078
- value?: string | number | boolean | undefined;
2079
- description?: string | null | undefined;
2080
- is_filterable?: boolean | undefined;
2081
- }>, {
2082
- title: string;
2083
- values?: string[] | undefined;
2084
- metadata?: Record<string, unknown> | null | undefined;
2085
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2086
- is_variant_axis?: boolean | undefined;
2087
- is_required?: boolean | undefined;
2088
- value?: string | number | boolean | undefined;
2089
- description?: string | null | undefined;
2090
- is_filterable?: boolean | undefined;
2091
- }, {
2092
- title: string;
2093
- values?: string[] | undefined;
2094
- metadata?: Record<string, unknown> | null | undefined;
2095
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2096
- is_variant_axis?: boolean | undefined;
2097
- is_required?: boolean | undefined;
2098
- value?: string | number | boolean | undefined;
2099
- description?: string | null | undefined;
2100
- is_filterable?: boolean | undefined;
2101
- }>]>, "many">>;
2102
- remove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2103
- update: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
621
+ }, z.core.$strict>]>>>;
622
+ remove: z.ZodOptional<z.ZodArray<z.ZodString>>;
623
+ update: z.ZodOptional<z.ZodArray<z.ZodObject<{
2104
624
  id: z.ZodString;
2105
625
  title: z.ZodOptional<z.ZodString>;
2106
- add: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
626
+ add: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2107
627
  value: z.ZodString;
2108
- }, "strict", z.ZodTypeAny, {
2109
- value: string;
2110
- }, {
2111
- value: string;
2112
- }>]>, "many">>;
2113
- remove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2114
- value_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2115
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2116
- }, "strict", z.ZodTypeAny, {
2117
- id: string;
2118
- title?: string | undefined;
2119
- value?: string | number | boolean | undefined;
2120
- value_ids?: string[] | undefined;
2121
- add?: (string | {
2122
- value: string;
2123
- })[] | undefined;
2124
- remove?: string[] | undefined;
2125
- }, {
2126
- id: string;
2127
- title?: string | undefined;
2128
- value?: string | number | boolean | undefined;
2129
- value_ids?: string[] | undefined;
2130
- add?: (string | {
2131
- value: string;
2132
- })[] | undefined;
2133
- remove?: string[] | undefined;
2134
- }>, {
2135
- id: string;
2136
- title?: string | undefined;
2137
- value?: string | number | boolean | undefined;
2138
- value_ids?: string[] | undefined;
2139
- add?: (string | {
2140
- value: string;
2141
- })[] | undefined;
2142
- remove?: string[] | undefined;
2143
- }, {
2144
- id: string;
2145
- title?: string | undefined;
2146
- value?: string | number | boolean | undefined;
2147
- value_ids?: string[] | undefined;
2148
- add?: (string | {
2149
- value: string;
2150
- })[] | undefined;
2151
- remove?: string[] | undefined;
2152
- }>, "many">>;
2153
- }, "strip", z.ZodTypeAny, {
2154
- update?: {
2155
- id: string;
2156
- title?: string | undefined;
2157
- value?: string | number | boolean | undefined;
2158
- value_ids?: string[] | undefined;
2159
- add?: (string | {
2160
- value: string;
2161
- })[] | undefined;
2162
- remove?: string[] | undefined;
2163
- }[] | undefined;
2164
- add?: ({
2165
- id: string;
2166
- value?: string | number | boolean | undefined;
2167
- value_ids?: string[] | undefined;
2168
- } | {
2169
- title: string;
2170
- values?: string[] | undefined;
2171
- metadata?: Record<string, unknown> | null | undefined;
2172
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2173
- is_variant_axis?: boolean | undefined;
2174
- is_required?: boolean | undefined;
2175
- value?: string | number | boolean | undefined;
2176
- description?: string | null | undefined;
2177
- is_filterable?: boolean | undefined;
2178
- })[] | undefined;
2179
- remove?: string[] | undefined;
2180
- }, {
2181
- update?: {
2182
- id: string;
2183
- title?: string | undefined;
2184
- value?: string | number | boolean | undefined;
2185
- value_ids?: string[] | undefined;
2186
- add?: (string | {
2187
- value: string;
2188
- })[] | undefined;
2189
- remove?: string[] | undefined;
2190
- }[] | undefined;
2191
- add?: ({
2192
- id: string;
2193
- value?: string | number | boolean | undefined;
2194
- value_ids?: string[] | undefined;
2195
- } | {
2196
- title: string;
2197
- values?: string[] | undefined;
2198
- metadata?: Record<string, unknown> | null | undefined;
2199
- type?: "single_select" | "multi_select" | "text" | "toggle" | "unit" | undefined;
2200
- is_variant_axis?: boolean | undefined;
2201
- is_required?: boolean | undefined;
2202
- value?: string | number | boolean | undefined;
2203
- description?: string | null | undefined;
2204
- is_filterable?: boolean | undefined;
2205
- })[] | undefined;
2206
- remove?: string[] | undefined;
2207
- }>;
628
+ }, z.core.$strict>]>>>;
629
+ remove: z.ZodOptional<z.ZodArray<z.ZodString>>;
630
+ value_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
631
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
632
+ }, z.core.$strict>>>;
633
+ }, z.core.$strip>;
2208
634
  export type AdminBatchProductAttributesType = z.infer<typeof BatchProductAttributes> & AdditionalData;
2209
635
  export declare const AdminBatchProductAttributes: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
2210
636
  export {};