@medusajs/medusa 2.8.8-snapshot-20250714100811 → 2.8.8-snapshot-20250714120129

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 (119) hide show
  1. package/dist/api/admin/api-keys/validators.d.ts +33 -383
  2. package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
  3. package/dist/api/admin/campaigns/validators.d.ts +43 -65
  4. package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
  5. package/dist/api/admin/claims/validators.d.ts +61 -64
  6. package/dist/api/admin/claims/validators.d.ts.map +1 -1
  7. package/dist/api/admin/collections/validators.d.ts +34 -288
  8. package/dist/api/admin/collections/validators.d.ts.map +1 -1
  9. package/dist/api/admin/currencies/validators.d.ts +27 -23
  10. package/dist/api/admin/currencies/validators.d.ts.map +1 -1
  11. package/dist/api/admin/customer-groups/validators.d.ts +65 -763
  12. package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
  13. package/dist/api/admin/customers/validators.d.ts +62 -726
  14. package/dist/api/admin/customers/validators.d.ts.map +1 -1
  15. package/dist/api/admin/draft-orders/validators.d.ts +160 -330
  16. package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
  17. package/dist/api/admin/exchanges/validators.d.ts +49 -52
  18. package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
  19. package/dist/api/admin/fulfillment-providers/validators.d.ts +7 -9
  20. package/dist/api/admin/fulfillment-providers/validators.d.ts.map +1 -1
  21. package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts +4 -8
  22. package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts.map +1 -1
  23. package/dist/api/admin/fulfillment-sets/validators.d.ts +30 -42
  24. package/dist/api/admin/fulfillment-sets/validators.d.ts.map +1 -1
  25. package/dist/api/admin/fulfillments/validators.d.ts +6 -6
  26. package/dist/api/admin/inventory-items/validators.d.ts +108 -492
  27. package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
  28. package/dist/api/admin/invites/validators.d.ts +27 -282
  29. package/dist/api/admin/invites/validators.d.ts.map +1 -1
  30. package/dist/api/admin/notifications/validators.d.ts +27 -29
  31. package/dist/api/admin/notifications/validators.d.ts.map +1 -1
  32. package/dist/api/admin/order-edits/validators.d.ts +22 -22
  33. package/dist/api/admin/orders/validators.d.ts +46 -51
  34. package/dist/api/admin/orders/validators.d.ts.map +1 -1
  35. package/dist/api/admin/payments/validators.d.ts +54 -304
  36. package/dist/api/admin/payments/validators.d.ts.map +1 -1
  37. package/dist/api/admin/price-lists/validators.d.ts +54 -230
  38. package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
  39. package/dist/api/admin/price-preferences/validators.d.ts +31 -39
  40. package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
  41. package/dist/api/admin/product-categories/validators.d.ts +48 -339
  42. package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
  43. package/dist/api/admin/product-tags/validators.d.ts +27 -281
  44. package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
  45. package/dist/api/admin/product-types/validators.d.ts +27 -281
  46. package/dist/api/admin/product-types/validators.d.ts.map +1 -1
  47. package/dist/api/admin/product-variants/validators.d.ts +31 -291
  48. package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
  49. package/dist/api/admin/products/validators.d.ts +537 -1983
  50. package/dist/api/admin/products/validators.d.ts.map +1 -1
  51. package/dist/api/admin/products/validators.js.map +1 -1
  52. package/dist/api/admin/promotions/validators.d.ts +125 -486
  53. package/dist/api/admin/promotions/validators.d.ts.map +1 -1
  54. package/dist/api/admin/refund-reasons/validators.d.ts +10 -12
  55. package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
  56. package/dist/api/admin/regions/validators.d.ts +41 -301
  57. package/dist/api/admin/regions/validators.d.ts.map +1 -1
  58. package/dist/api/admin/reservations/validators.d.ts +23 -25
  59. package/dist/api/admin/reservations/validators.d.ts.map +1 -1
  60. package/dist/api/admin/return-reasons/validators.d.ts +45 -318
  61. package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
  62. package/dist/api/admin/returns/validators.d.ts +45 -48
  63. package/dist/api/admin/returns/validators.d.ts.map +1 -1
  64. package/dist/api/admin/sales-channels/validators.d.ts +20 -309
  65. package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
  66. package/dist/api/admin/shipping-options/validators.d.ts +67 -69
  67. package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
  68. package/dist/api/admin/shipping-profiles/validators.d.ts +31 -291
  69. package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
  70. package/dist/api/admin/stock-locations/validators.d.ts +50 -333
  71. package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
  72. package/dist/api/admin/stores/validators.d.ts +38 -40
  73. package/dist/api/admin/stores/validators.d.ts.map +1 -1
  74. package/dist/api/admin/tax-providers/validators.d.ts +25 -21
  75. package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
  76. package/dist/api/admin/tax-rates/validators.d.ts +42 -374
  77. package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
  78. package/dist/api/admin/tax-regions/validators.d.ts +42 -548
  79. package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
  80. package/dist/api/admin/users/validators.d.ts +13 -15
  81. package/dist/api/admin/users/validators.d.ts.map +1 -1
  82. package/dist/api/admin/workflows-executions/validators.d.ts +5 -7
  83. package/dist/api/admin/workflows-executions/validators.d.ts.map +1 -1
  84. package/dist/api/store/carts/validators.d.ts +44 -44
  85. package/dist/api/store/collections/validators.d.ts +30 -200
  86. package/dist/api/store/collections/validators.d.ts.map +1 -1
  87. package/dist/api/store/currencies/validators.d.ts +27 -23
  88. package/dist/api/store/currencies/validators.d.ts.map +1 -1
  89. package/dist/api/store/customers/validators.d.ts +13 -17
  90. package/dist/api/store/customers/validators.d.ts.map +1 -1
  91. package/dist/api/store/orders/validators.d.ts +25 -21
  92. package/dist/api/store/orders/validators.d.ts.map +1 -1
  93. package/dist/api/store/payment-providers/validators.d.ts +1 -3
  94. package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
  95. package/dist/api/store/product-categories/validators.d.ts +33 -318
  96. package/dist/api/store/product-categories/validators.d.ts.map +1 -1
  97. package/dist/api/store/product-tags/validators.d.ts +27 -281
  98. package/dist/api/store/product-tags/validators.d.ts.map +1 -1
  99. package/dist/api/store/product-types/validators.d.ts +27 -281
  100. package/dist/api/store/product-types/validators.d.ts.map +1 -1
  101. package/dist/api/store/products/validators.d.ts +83 -666
  102. package/dist/api/store/products/validators.d.ts.map +1 -1
  103. package/dist/api/store/products/validators.js.map +1 -1
  104. package/dist/api/store/regions/validators.d.ts +29 -37
  105. package/dist/api/store/regions/validators.d.ts.map +1 -1
  106. package/dist/api/store/return-reasons/validators.d.ts +2 -3
  107. package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
  108. package/dist/api/store/returns/validators.d.ts +27 -23
  109. package/dist/api/store/returns/validators.d.ts.map +1 -1
  110. package/dist/api/store/shipping-options/validators.d.ts +25 -21
  111. package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
  112. package/dist/api/utils/common-validators/common.d.ts +31 -10
  113. package/dist/api/utils/common-validators/common.d.ts.map +1 -1
  114. package/dist/api/utils/common-validators/common.js.map +1 -1
  115. package/dist/api/utils/common-validators/products/index.d.ts +15 -16
  116. package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
  117. package/dist/api/utils/validators.d.ts +4 -5
  118. package/dist/api/utils/validators.d.ts.map +1 -1
  119. package/package.json +50 -50
@@ -151,1323 +151,133 @@ export declare const AdminGetProductVariantsParamsFields: z.ZodObject<{
151
151
  $lte?: any;
152
152
  }>]>>;
153
153
  }, "strip", z.ZodTypeAny, {
154
- id?: string | string[] | undefined;
155
- created_at?: any;
156
- updated_at?: any;
157
- deleted_at?: any;
158
154
  q?: string | undefined;
159
- barcode?: string | string[] | undefined;
155
+ id?: string | string[] | undefined;
156
+ manage_inventory?: boolean | undefined;
160
157
  allow_backorder?: boolean | undefined;
161
158
  ean?: string | string[] | undefined;
162
159
  upc?: string | string[] | undefined;
163
- manage_inventory?: boolean | undefined;
164
- }, {
165
- id?: string | string[] | undefined;
160
+ barcode?: string | string[] | undefined;
166
161
  created_at?: any;
167
162
  updated_at?: any;
168
163
  deleted_at?: any;
164
+ }, {
169
165
  q?: string | undefined;
170
- barcode?: string | string[] | undefined;
166
+ id?: string | string[] | undefined;
167
+ manage_inventory?: string | boolean | undefined;
171
168
  allow_backorder?: string | boolean | undefined;
172
169
  ean?: string | string[] | undefined;
173
170
  upc?: string | string[] | undefined;
174
- manage_inventory?: string | boolean | undefined;
171
+ barcode?: string | string[] | undefined;
172
+ created_at?: any;
173
+ updated_at?: any;
174
+ deleted_at?: any;
175
175
  }>;
176
176
  export type AdminGetProductVariantsParamsType = z.infer<typeof AdminGetProductVariantsParams>;
177
- export declare const AdminGetProductVariantsParams: z.ZodObject<{} & {
177
+ export declare const AdminGetProductVariantsParams: z.ZodObject<{
178
178
  [x: string]: any;
179
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
180
- q: z.ZodOptional<z.ZodString>;
181
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
182
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
183
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
184
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
185
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
186
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
187
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
188
- $eq: any;
189
- $ne: any;
190
- $in: any;
191
- $nin: any;
192
- $like: any;
193
- $ilike: any;
194
- $re: any;
195
- $contains: any;
196
- $gt: any;
197
- $gte: any;
198
- $lt: any;
199
- $lte: any;
200
- }, "strip", z.ZodTypeAny, {
201
- $eq?: any;
202
- $ne?: any;
203
- $in?: any;
204
- $nin?: any;
205
- $like?: any;
206
- $ilike?: any;
207
- $re?: any;
208
- $contains?: any;
209
- $gt?: any;
210
- $gte?: any;
211
- $lt?: any;
212
- $lte?: any;
213
- }, {
214
- $eq?: any;
215
- $ne?: any;
216
- $in?: any;
217
- $nin?: any;
218
- $like?: any;
219
- $ilike?: any;
220
- $re?: any;
221
- $contains?: any;
222
- $gt?: any;
223
- $gte?: any;
224
- $lt?: any;
225
- $lte?: any;
226
- }>]>>;
227
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
228
- $eq: any;
229
- $ne: any;
230
- $in: any;
231
- $nin: any;
232
- $like: any;
233
- $ilike: any;
234
- $re: any;
235
- $contains: any;
236
- $gt: any;
237
- $gte: any;
238
- $lt: any;
239
- $lte: any;
240
- }, "strip", z.ZodTypeAny, {
241
- $eq?: any;
242
- $ne?: any;
243
- $in?: any;
244
- $nin?: any;
245
- $like?: any;
246
- $ilike?: any;
247
- $re?: any;
248
- $contains?: any;
249
- $gt?: any;
250
- $gte?: any;
251
- $lt?: any;
252
- $lte?: any;
253
- }, {
254
- $eq?: any;
255
- $ne?: any;
256
- $in?: any;
257
- $nin?: any;
258
- $like?: any;
259
- $ilike?: any;
260
- $re?: any;
261
- $contains?: any;
262
- $gt?: any;
263
- $gte?: any;
264
- $lt?: any;
265
- $lte?: any;
266
- }>]>>;
267
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
268
- $eq: any;
269
- $ne: any;
270
- $in: any;
271
- $nin: any;
272
- $like: any;
273
- $ilike: any;
274
- $re: any;
275
- $contains: any;
276
- $gt: any;
277
- $gte: any;
278
- $lt: any;
279
- $lte: any;
280
- }, "strip", z.ZodTypeAny, {
281
- $eq?: any;
282
- $ne?: any;
283
- $in?: any;
284
- $nin?: any;
285
- $like?: any;
286
- $ilike?: any;
287
- $re?: any;
288
- $contains?: any;
289
- $gt?: any;
290
- $gte?: any;
291
- $lt?: any;
292
- $lte?: any;
293
- }, {
294
- $eq?: any;
295
- $ne?: any;
296
- $in?: any;
297
- $nin?: any;
298
- $like?: any;
299
- $ilike?: any;
300
- $re?: any;
301
- $contains?: any;
302
- $gt?: any;
303
- $gte?: any;
304
- $lt?: any;
305
- $lte?: any;
306
- }>]>>;
307
- }, "strip", z.ZodTypeAny, {
308
- id?: string | string[] | undefined;
309
- created_at?: any;
310
- updated_at?: any;
311
- deleted_at?: any;
312
- q?: string | undefined;
313
- barcode?: string | string[] | undefined;
314
- allow_backorder?: boolean | undefined;
315
- ean?: string | string[] | undefined;
316
- upc?: string | string[] | undefined;
317
- manage_inventory?: boolean | undefined;
179
+ [x: number]: any;
180
+ [x: symbol]: any;
181
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
182
+ [x: string]: any;
318
183
  }, {
319
- id?: string | string[] | undefined;
320
- created_at?: any;
321
- updated_at?: any;
322
- deleted_at?: any;
323
- q?: string | undefined;
324
- barcode?: string | string[] | undefined;
325
- allow_backorder?: string | boolean | undefined;
326
- ean?: string | string[] | undefined;
327
- upc?: string | string[] | undefined;
328
- manage_inventory?: string | boolean | undefined;
184
+ [x: string]: any;
329
185
  }>, "many">>>;
330
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
331
- q: z.ZodOptional<z.ZodString>;
332
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
333
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
334
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
335
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
336
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
337
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
338
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
339
- $eq: any;
340
- $ne: any;
341
- $in: any;
342
- $nin: any;
343
- $like: any;
344
- $ilike: any;
345
- $re: any;
346
- $contains: any;
347
- $gt: any;
348
- $gte: any;
349
- $lt: any;
350
- $lte: any;
351
- }, "strip", z.ZodTypeAny, {
352
- $eq?: any;
353
- $ne?: any;
354
- $in?: any;
355
- $nin?: any;
356
- $like?: any;
357
- $ilike?: any;
358
- $re?: any;
359
- $contains?: any;
360
- $gt?: any;
361
- $gte?: any;
362
- $lt?: any;
363
- $lte?: any;
364
- }, {
365
- $eq?: any;
366
- $ne?: any;
367
- $in?: any;
368
- $nin?: any;
369
- $like?: any;
370
- $ilike?: any;
371
- $re?: any;
372
- $contains?: any;
373
- $gt?: any;
374
- $gte?: any;
375
- $lt?: any;
376
- $lte?: any;
377
- }>]>>;
378
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
379
- $eq: any;
380
- $ne: any;
381
- $in: any;
382
- $nin: any;
383
- $like: any;
384
- $ilike: any;
385
- $re: any;
386
- $contains: any;
387
- $gt: any;
388
- $gte: any;
389
- $lt: any;
390
- $lte: any;
391
- }, "strip", z.ZodTypeAny, {
392
- $eq?: any;
393
- $ne?: any;
394
- $in?: any;
395
- $nin?: any;
396
- $like?: any;
397
- $ilike?: any;
398
- $re?: any;
399
- $contains?: any;
400
- $gt?: any;
401
- $gte?: any;
402
- $lt?: any;
403
- $lte?: any;
404
- }, {
405
- $eq?: any;
406
- $ne?: any;
407
- $in?: any;
408
- $nin?: any;
409
- $like?: any;
410
- $ilike?: any;
411
- $re?: any;
412
- $contains?: any;
413
- $gt?: any;
414
- $gte?: any;
415
- $lt?: any;
416
- $lte?: any;
417
- }>]>>;
418
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
419
- $eq: any;
420
- $ne: any;
421
- $in: any;
422
- $nin: any;
423
- $like: any;
424
- $ilike: any;
425
- $re: any;
426
- $contains: any;
427
- $gt: any;
428
- $gte: any;
429
- $lt: any;
430
- $lte: any;
431
- }, "strip", z.ZodTypeAny, {
432
- $eq?: any;
433
- $ne?: any;
434
- $in?: any;
435
- $nin?: any;
436
- $like?: any;
437
- $ilike?: any;
438
- $re?: any;
439
- $contains?: any;
440
- $gt?: any;
441
- $gte?: any;
442
- $lt?: any;
443
- $lte?: any;
444
- }, {
445
- $eq?: any;
446
- $ne?: any;
447
- $in?: any;
448
- $nin?: any;
449
- $like?: any;
450
- $ilike?: any;
451
- $re?: any;
452
- $contains?: any;
453
- $gt?: any;
454
- $gte?: any;
455
- $lt?: any;
456
- $lte?: any;
457
- }>]>>;
458
- }, "strip", z.ZodTypeAny, {
459
- id?: string | string[] | undefined;
460
- created_at?: any;
461
- updated_at?: any;
462
- deleted_at?: any;
463
- q?: string | undefined;
464
- barcode?: string | string[] | undefined;
465
- allow_backorder?: boolean | undefined;
466
- ean?: string | string[] | undefined;
467
- upc?: string | string[] | undefined;
468
- manage_inventory?: boolean | undefined;
186
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
187
+ [x: string]: any;
469
188
  }, {
470
- id?: string | string[] | undefined;
471
- created_at?: any;
472
- updated_at?: any;
473
- deleted_at?: any;
474
- q?: string | undefined;
475
- barcode?: string | string[] | undefined;
476
- allow_backorder?: string | boolean | undefined;
477
- ean?: string | string[] | undefined;
478
- upc?: string | string[] | undefined;
479
- manage_inventory?: string | boolean | undefined;
189
+ [x: string]: any;
480
190
  }>, "many">>>;
481
191
  }, "strip", z.ZodTypeAny, {
482
192
  [x: string]: any;
483
- $and?: unknown;
484
- $or?: unknown;
193
+ [x: number]: any;
194
+ [x: symbol]: any;
195
+ $and?: {
196
+ [x: string]: any;
197
+ }[] | undefined;
198
+ $or?: {
199
+ [x: string]: any;
200
+ }[] | undefined;
485
201
  }, {
486
202
  [x: string]: any;
487
- $and?: unknown;
488
- $or?: unknown;
203
+ [x: number]: any;
204
+ [x: symbol]: any;
205
+ $and?: {
206
+ [x: string]: any;
207
+ }[] | undefined;
208
+ $or?: {
209
+ [x: string]: any;
210
+ }[] | undefined;
489
211
  }>;
490
212
  export declare const AdminGetProductsParamsDirectFields: z.ZodObject<{
491
- variants: z.ZodOptional<z.ZodObject<{} & {
213
+ variants: z.ZodOptional<z.ZodObject<{
492
214
  [x: string]: any;
493
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
494
- q: z.ZodOptional<z.ZodString>;
495
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
496
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
497
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
498
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
499
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
500
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
501
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
502
- $eq: any;
503
- $ne: any;
504
- $in: any;
505
- $nin: any;
506
- $like: any;
507
- $ilike: any;
508
- $re: any;
509
- $contains: any;
510
- $gt: any;
511
- $gte: any;
512
- $lt: any;
513
- $lte: any;
514
- }, "strip", z.ZodTypeAny, {
515
- $eq?: any;
516
- $ne?: any;
517
- $in?: any;
518
- $nin?: any;
519
- $like?: any;
520
- $ilike?: any;
521
- $re?: any;
522
- $contains?: any;
523
- $gt?: any;
524
- $gte?: any;
525
- $lt?: any;
526
- $lte?: any;
527
- }, {
528
- $eq?: any;
529
- $ne?: any;
530
- $in?: any;
531
- $nin?: any;
532
- $like?: any;
533
- $ilike?: any;
534
- $re?: any;
535
- $contains?: any;
536
- $gt?: any;
537
- $gte?: any;
538
- $lt?: any;
539
- $lte?: any;
540
- }>]>>;
541
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
542
- $eq: any;
543
- $ne: any;
544
- $in: any;
545
- $nin: any;
546
- $like: any;
547
- $ilike: any;
548
- $re: any;
549
- $contains: any;
550
- $gt: any;
551
- $gte: any;
552
- $lt: any;
553
- $lte: any;
554
- }, "strip", z.ZodTypeAny, {
555
- $eq?: any;
556
- $ne?: any;
557
- $in?: any;
558
- $nin?: any;
559
- $like?: any;
560
- $ilike?: any;
561
- $re?: any;
562
- $contains?: any;
563
- $gt?: any;
564
- $gte?: any;
565
- $lt?: any;
566
- $lte?: any;
567
- }, {
568
- $eq?: any;
569
- $ne?: any;
570
- $in?: any;
571
- $nin?: any;
572
- $like?: any;
573
- $ilike?: any;
574
- $re?: any;
575
- $contains?: any;
576
- $gt?: any;
577
- $gte?: any;
578
- $lt?: any;
579
- $lte?: any;
580
- }>]>>;
581
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
582
- $eq: any;
583
- $ne: any;
584
- $in: any;
585
- $nin: any;
586
- $like: any;
587
- $ilike: any;
588
- $re: any;
589
- $contains: any;
590
- $gt: any;
591
- $gte: any;
592
- $lt: any;
593
- $lte: any;
594
- }, "strip", z.ZodTypeAny, {
595
- $eq?: any;
596
- $ne?: any;
597
- $in?: any;
598
- $nin?: any;
599
- $like?: any;
600
- $ilike?: any;
601
- $re?: any;
602
- $contains?: any;
603
- $gt?: any;
604
- $gte?: any;
605
- $lt?: any;
606
- $lte?: any;
607
- }, {
608
- $eq?: any;
609
- $ne?: any;
610
- $in?: any;
611
- $nin?: any;
612
- $like?: any;
613
- $ilike?: any;
614
- $re?: any;
615
- $contains?: any;
616
- $gt?: any;
617
- $gte?: any;
618
- $lt?: any;
619
- $lte?: any;
620
- }>]>>;
621
- }, "q">, "strip", z.ZodTypeAny, {
622
- id?: string | string[] | undefined;
623
- created_at?: any;
624
- updated_at?: any;
625
- deleted_at?: any;
626
- barcode?: string | string[] | undefined;
627
- allow_backorder?: boolean | undefined;
628
- ean?: string | string[] | undefined;
629
- upc?: string | string[] | undefined;
630
- manage_inventory?: boolean | undefined;
215
+ [x: number]: any;
216
+ [x: symbol]: any;
217
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
218
+ [x: string]: any;
631
219
  }, {
632
- id?: string | string[] | undefined;
633
- created_at?: any;
634
- updated_at?: any;
635
- deleted_at?: any;
636
- barcode?: string | string[] | undefined;
637
- allow_backorder?: string | boolean | undefined;
638
- ean?: string | string[] | undefined;
639
- upc?: string | string[] | undefined;
640
- manage_inventory?: string | boolean | undefined;
220
+ [x: string]: any;
641
221
  }>, "many">>>;
642
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
643
- q: z.ZodOptional<z.ZodString>;
644
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
645
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
646
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
647
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
648
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
649
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
650
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
651
- $eq: any;
652
- $ne: any;
653
- $in: any;
654
- $nin: any;
655
- $like: any;
656
- $ilike: any;
657
- $re: any;
658
- $contains: any;
659
- $gt: any;
660
- $gte: any;
661
- $lt: any;
662
- $lte: any;
663
- }, "strip", z.ZodTypeAny, {
664
- $eq?: any;
665
- $ne?: any;
666
- $in?: any;
667
- $nin?: any;
668
- $like?: any;
669
- $ilike?: any;
670
- $re?: any;
671
- $contains?: any;
672
- $gt?: any;
673
- $gte?: any;
674
- $lt?: any;
675
- $lte?: any;
676
- }, {
677
- $eq?: any;
678
- $ne?: any;
679
- $in?: any;
680
- $nin?: any;
681
- $like?: any;
682
- $ilike?: any;
683
- $re?: any;
684
- $contains?: any;
685
- $gt?: any;
686
- $gte?: any;
687
- $lt?: any;
688
- $lte?: any;
689
- }>]>>;
690
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
691
- $eq: any;
692
- $ne: any;
693
- $in: any;
694
- $nin: any;
695
- $like: any;
696
- $ilike: any;
697
- $re: any;
698
- $contains: any;
699
- $gt: any;
700
- $gte: any;
701
- $lt: any;
702
- $lte: any;
703
- }, "strip", z.ZodTypeAny, {
704
- $eq?: any;
705
- $ne?: any;
706
- $in?: any;
707
- $nin?: any;
708
- $like?: any;
709
- $ilike?: any;
710
- $re?: any;
711
- $contains?: any;
712
- $gt?: any;
713
- $gte?: any;
714
- $lt?: any;
715
- $lte?: any;
716
- }, {
717
- $eq?: any;
718
- $ne?: any;
719
- $in?: any;
720
- $nin?: any;
721
- $like?: any;
722
- $ilike?: any;
723
- $re?: any;
724
- $contains?: any;
725
- $gt?: any;
726
- $gte?: any;
727
- $lt?: any;
728
- $lte?: any;
729
- }>]>>;
730
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
731
- $eq: any;
732
- $ne: any;
733
- $in: any;
734
- $nin: any;
735
- $like: any;
736
- $ilike: any;
737
- $re: any;
738
- $contains: any;
739
- $gt: any;
740
- $gte: any;
741
- $lt: any;
742
- $lte: any;
743
- }, "strip", z.ZodTypeAny, {
744
- $eq?: any;
745
- $ne?: any;
746
- $in?: any;
747
- $nin?: any;
748
- $like?: any;
749
- $ilike?: any;
750
- $re?: any;
751
- $contains?: any;
752
- $gt?: any;
753
- $gte?: any;
754
- $lt?: any;
755
- $lte?: any;
756
- }, {
757
- $eq?: any;
758
- $ne?: any;
759
- $in?: any;
760
- $nin?: any;
761
- $like?: any;
762
- $ilike?: any;
763
- $re?: any;
764
- $contains?: any;
765
- $gt?: any;
766
- $gte?: any;
767
- $lt?: any;
768
- $lte?: any;
769
- }>]>>;
770
- }, "q">, "strip", z.ZodTypeAny, {
771
- id?: string | string[] | undefined;
772
- created_at?: any;
773
- updated_at?: any;
774
- deleted_at?: any;
775
- barcode?: string | string[] | undefined;
776
- allow_backorder?: boolean | undefined;
777
- ean?: string | string[] | undefined;
778
- upc?: string | string[] | undefined;
779
- manage_inventory?: boolean | undefined;
222
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
223
+ [x: string]: any;
780
224
  }, {
781
- id?: string | string[] | undefined;
782
- created_at?: any;
783
- updated_at?: any;
784
- deleted_at?: any;
785
- barcode?: string | string[] | undefined;
786
- allow_backorder?: string | boolean | undefined;
787
- ean?: string | string[] | undefined;
788
- upc?: string | string[] | undefined;
789
- manage_inventory?: string | boolean | undefined;
225
+ [x: string]: any;
790
226
  }>, "many">>>;
791
227
  }, "strip", z.ZodTypeAny, {
792
228
  [x: string]: any;
793
- $and?: unknown;
794
- $or?: unknown;
229
+ [x: number]: any;
230
+ [x: symbol]: any;
231
+ $and?: {
232
+ [x: string]: any;
233
+ }[] | undefined;
234
+ $or?: {
235
+ [x: string]: any;
236
+ }[] | undefined;
795
237
  }, {
796
238
  [x: string]: any;
797
- $and?: unknown;
798
- $or?: unknown;
239
+ [x: number]: any;
240
+ [x: symbol]: any;
241
+ $and?: {
242
+ [x: string]: any;
243
+ }[] | undefined;
244
+ $or?: {
245
+ [x: string]: any;
246
+ }[] | undefined;
799
247
  }>>;
800
248
  status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
801
249
  }, "strip", z.ZodTypeAny, {
802
250
  variants?: {
803
251
  [x: string]: any;
804
- $and?: unknown;
805
- $or?: unknown;
252
+ [x: number]: any;
253
+ [x: symbol]: any;
254
+ $and?: {
255
+ [x: string]: any;
256
+ }[] | undefined;
257
+ $or?: {
258
+ [x: string]: any;
259
+ }[] | undefined;
806
260
  } | undefined;
807
261
  status?: ProductStatus[] | undefined;
808
262
  }, {
809
263
  variants?: {
810
264
  [x: string]: any;
811
- $and?: unknown;
812
- $or?: unknown;
265
+ [x: number]: any;
266
+ [x: symbol]: any;
267
+ $and?: {
268
+ [x: string]: any;
269
+ }[] | undefined;
270
+ $or?: {
271
+ [x: string]: any;
272
+ }[] | undefined;
813
273
  } | undefined;
814
274
  status?: ProductStatus[] | undefined;
815
275
  }>;
816
276
  export type AdminGetProductsParamsType = z.infer<typeof AdminGetProductsParams>;
817
- export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
277
+ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
818
278
  [x: string]: any;
819
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
820
- variants: z.ZodOptional<z.ZodObject<{} & {
821
- [x: string]: any;
822
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
823
- q: z.ZodOptional<z.ZodString>;
824
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
825
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
826
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
827
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
828
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
829
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
830
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
831
- $eq: any;
832
- $ne: any;
833
- $in: any;
834
- $nin: any;
835
- $like: any;
836
- $ilike: any;
837
- $re: any;
838
- $contains: any;
839
- $gt: any;
840
- $gte: any;
841
- $lt: any;
842
- $lte: any;
843
- }, "strip", z.ZodTypeAny, {
844
- $eq?: any;
845
- $ne?: any;
846
- $in?: any;
847
- $nin?: any;
848
- $like?: any;
849
- $ilike?: any;
850
- $re?: any;
851
- $contains?: any;
852
- $gt?: any;
853
- $gte?: any;
854
- $lt?: any;
855
- $lte?: any;
856
- }, {
857
- $eq?: any;
858
- $ne?: any;
859
- $in?: any;
860
- $nin?: any;
861
- $like?: any;
862
- $ilike?: any;
863
- $re?: any;
864
- $contains?: any;
865
- $gt?: any;
866
- $gte?: any;
867
- $lt?: any;
868
- $lte?: any;
869
- }>]>>;
870
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
871
- $eq: any;
872
- $ne: any;
873
- $in: any;
874
- $nin: any;
875
- $like: any;
876
- $ilike: any;
877
- $re: any;
878
- $contains: any;
879
- $gt: any;
880
- $gte: any;
881
- $lt: any;
882
- $lte: any;
883
- }, "strip", z.ZodTypeAny, {
884
- $eq?: any;
885
- $ne?: any;
886
- $in?: any;
887
- $nin?: any;
888
- $like?: any;
889
- $ilike?: any;
890
- $re?: any;
891
- $contains?: any;
892
- $gt?: any;
893
- $gte?: any;
894
- $lt?: any;
895
- $lte?: any;
896
- }, {
897
- $eq?: any;
898
- $ne?: any;
899
- $in?: any;
900
- $nin?: any;
901
- $like?: any;
902
- $ilike?: any;
903
- $re?: any;
904
- $contains?: any;
905
- $gt?: any;
906
- $gte?: any;
907
- $lt?: any;
908
- $lte?: any;
909
- }>]>>;
910
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
911
- $eq: any;
912
- $ne: any;
913
- $in: any;
914
- $nin: any;
915
- $like: any;
916
- $ilike: any;
917
- $re: any;
918
- $contains: any;
919
- $gt: any;
920
- $gte: any;
921
- $lt: any;
922
- $lte: any;
923
- }, "strip", z.ZodTypeAny, {
924
- $eq?: any;
925
- $ne?: any;
926
- $in?: any;
927
- $nin?: any;
928
- $like?: any;
929
- $ilike?: any;
930
- $re?: any;
931
- $contains?: any;
932
- $gt?: any;
933
- $gte?: any;
934
- $lt?: any;
935
- $lte?: any;
936
- }, {
937
- $eq?: any;
938
- $ne?: any;
939
- $in?: any;
940
- $nin?: any;
941
- $like?: any;
942
- $ilike?: any;
943
- $re?: any;
944
- $contains?: any;
945
- $gt?: any;
946
- $gte?: any;
947
- $lt?: any;
948
- $lte?: any;
949
- }>]>>;
950
- }, "q">, "strip", z.ZodTypeAny, {
951
- id?: string | string[] | undefined;
952
- created_at?: any;
953
- updated_at?: any;
954
- deleted_at?: any;
955
- barcode?: string | string[] | undefined;
956
- allow_backorder?: boolean | undefined;
957
- ean?: string | string[] | undefined;
958
- upc?: string | string[] | undefined;
959
- manage_inventory?: boolean | undefined;
960
- }, {
961
- id?: string | string[] | undefined;
962
- created_at?: any;
963
- updated_at?: any;
964
- deleted_at?: any;
965
- barcode?: string | string[] | undefined;
966
- allow_backorder?: string | boolean | undefined;
967
- ean?: string | string[] | undefined;
968
- upc?: string | string[] | undefined;
969
- manage_inventory?: string | boolean | undefined;
970
- }>, "many">>>;
971
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
972
- q: z.ZodOptional<z.ZodString>;
973
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
974
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
975
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
976
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
977
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
978
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
979
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
980
- $eq: any;
981
- $ne: any;
982
- $in: any;
983
- $nin: any;
984
- $like: any;
985
- $ilike: any;
986
- $re: any;
987
- $contains: any;
988
- $gt: any;
989
- $gte: any;
990
- $lt: any;
991
- $lte: any;
992
- }, "strip", z.ZodTypeAny, {
993
- $eq?: any;
994
- $ne?: any;
995
- $in?: any;
996
- $nin?: any;
997
- $like?: any;
998
- $ilike?: any;
999
- $re?: any;
1000
- $contains?: any;
1001
- $gt?: any;
1002
- $gte?: any;
1003
- $lt?: any;
1004
- $lte?: any;
1005
- }, {
1006
- $eq?: any;
1007
- $ne?: any;
1008
- $in?: any;
1009
- $nin?: any;
1010
- $like?: any;
1011
- $ilike?: any;
1012
- $re?: any;
1013
- $contains?: any;
1014
- $gt?: any;
1015
- $gte?: any;
1016
- $lt?: any;
1017
- $lte?: any;
1018
- }>]>>;
1019
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1020
- $eq: any;
1021
- $ne: any;
1022
- $in: any;
1023
- $nin: any;
1024
- $like: any;
1025
- $ilike: any;
1026
- $re: any;
1027
- $contains: any;
1028
- $gt: any;
1029
- $gte: any;
1030
- $lt: any;
1031
- $lte: any;
1032
- }, "strip", z.ZodTypeAny, {
1033
- $eq?: any;
1034
- $ne?: any;
1035
- $in?: any;
1036
- $nin?: any;
1037
- $like?: any;
1038
- $ilike?: any;
1039
- $re?: any;
1040
- $contains?: any;
1041
- $gt?: any;
1042
- $gte?: any;
1043
- $lt?: any;
1044
- $lte?: any;
1045
- }, {
1046
- $eq?: any;
1047
- $ne?: any;
1048
- $in?: any;
1049
- $nin?: any;
1050
- $like?: any;
1051
- $ilike?: any;
1052
- $re?: any;
1053
- $contains?: any;
1054
- $gt?: any;
1055
- $gte?: any;
1056
- $lt?: any;
1057
- $lte?: any;
1058
- }>]>>;
1059
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1060
- $eq: any;
1061
- $ne: any;
1062
- $in: any;
1063
- $nin: any;
1064
- $like: any;
1065
- $ilike: any;
1066
- $re: any;
1067
- $contains: any;
1068
- $gt: any;
1069
- $gte: any;
1070
- $lt: any;
1071
- $lte: any;
1072
- }, "strip", z.ZodTypeAny, {
1073
- $eq?: any;
1074
- $ne?: any;
1075
- $in?: any;
1076
- $nin?: any;
1077
- $like?: any;
1078
- $ilike?: any;
1079
- $re?: any;
1080
- $contains?: any;
1081
- $gt?: any;
1082
- $gte?: any;
1083
- $lt?: any;
1084
- $lte?: any;
1085
- }, {
1086
- $eq?: any;
1087
- $ne?: any;
1088
- $in?: any;
1089
- $nin?: any;
1090
- $like?: any;
1091
- $ilike?: any;
1092
- $re?: any;
1093
- $contains?: any;
1094
- $gt?: any;
1095
- $gte?: any;
1096
- $lt?: any;
1097
- $lte?: any;
1098
- }>]>>;
1099
- }, "q">, "strip", z.ZodTypeAny, {
1100
- id?: string | string[] | undefined;
1101
- created_at?: any;
1102
- updated_at?: any;
1103
- deleted_at?: any;
1104
- barcode?: string | string[] | undefined;
1105
- allow_backorder?: boolean | undefined;
1106
- ean?: string | string[] | undefined;
1107
- upc?: string | string[] | undefined;
1108
- manage_inventory?: boolean | undefined;
1109
- }, {
1110
- id?: string | string[] | undefined;
1111
- created_at?: any;
1112
- updated_at?: any;
1113
- deleted_at?: any;
1114
- barcode?: string | string[] | undefined;
1115
- allow_backorder?: string | boolean | undefined;
1116
- ean?: string | string[] | undefined;
1117
- upc?: string | string[] | undefined;
1118
- manage_inventory?: string | boolean | undefined;
1119
- }>, "many">>>;
1120
- }, "strip", z.ZodTypeAny, {
1121
- [x: string]: any;
1122
- $and?: unknown;
1123
- $or?: unknown;
1124
- }, {
1125
- [x: string]: any;
1126
- $and?: unknown;
1127
- $or?: unknown;
1128
- }>>;
1129
- status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
1130
- }, "strip", z.ZodTypeAny, {
1131
- variants?: {
1132
- [x: string]: any;
1133
- $and?: unknown;
1134
- $or?: unknown;
1135
- } | undefined;
1136
- status?: ProductStatus[] | undefined;
1137
- }, {
1138
- variants?: {
1139
- [x: string]: any;
1140
- $and?: unknown;
1141
- $or?: unknown;
1142
- } | undefined;
1143
- status?: ProductStatus[] | undefined;
1144
- }>, "many">>>;
1145
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
1146
- variants: z.ZodOptional<z.ZodObject<{} & {
1147
- [x: string]: any;
1148
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
1149
- q: z.ZodOptional<z.ZodString>;
1150
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1151
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1152
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1153
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1154
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1155
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1156
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1157
- $eq: any;
1158
- $ne: any;
1159
- $in: any;
1160
- $nin: any;
1161
- $like: any;
1162
- $ilike: any;
1163
- $re: any;
1164
- $contains: any;
1165
- $gt: any;
1166
- $gte: any;
1167
- $lt: any;
1168
- $lte: any;
1169
- }, "strip", z.ZodTypeAny, {
1170
- $eq?: any;
1171
- $ne?: any;
1172
- $in?: any;
1173
- $nin?: any;
1174
- $like?: any;
1175
- $ilike?: any;
1176
- $re?: any;
1177
- $contains?: any;
1178
- $gt?: any;
1179
- $gte?: any;
1180
- $lt?: any;
1181
- $lte?: any;
1182
- }, {
1183
- $eq?: any;
1184
- $ne?: any;
1185
- $in?: any;
1186
- $nin?: any;
1187
- $like?: any;
1188
- $ilike?: any;
1189
- $re?: any;
1190
- $contains?: any;
1191
- $gt?: any;
1192
- $gte?: any;
1193
- $lt?: any;
1194
- $lte?: any;
1195
- }>]>>;
1196
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1197
- $eq: any;
1198
- $ne: any;
1199
- $in: any;
1200
- $nin: any;
1201
- $like: any;
1202
- $ilike: any;
1203
- $re: any;
1204
- $contains: any;
1205
- $gt: any;
1206
- $gte: any;
1207
- $lt: any;
1208
- $lte: any;
1209
- }, "strip", z.ZodTypeAny, {
1210
- $eq?: any;
1211
- $ne?: any;
1212
- $in?: any;
1213
- $nin?: any;
1214
- $like?: any;
1215
- $ilike?: any;
1216
- $re?: any;
1217
- $contains?: any;
1218
- $gt?: any;
1219
- $gte?: any;
1220
- $lt?: any;
1221
- $lte?: any;
1222
- }, {
1223
- $eq?: any;
1224
- $ne?: any;
1225
- $in?: any;
1226
- $nin?: any;
1227
- $like?: any;
1228
- $ilike?: any;
1229
- $re?: any;
1230
- $contains?: any;
1231
- $gt?: any;
1232
- $gte?: any;
1233
- $lt?: any;
1234
- $lte?: any;
1235
- }>]>>;
1236
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1237
- $eq: any;
1238
- $ne: any;
1239
- $in: any;
1240
- $nin: any;
1241
- $like: any;
1242
- $ilike: any;
1243
- $re: any;
1244
- $contains: any;
1245
- $gt: any;
1246
- $gte: any;
1247
- $lt: any;
1248
- $lte: any;
1249
- }, "strip", z.ZodTypeAny, {
1250
- $eq?: any;
1251
- $ne?: any;
1252
- $in?: any;
1253
- $nin?: any;
1254
- $like?: any;
1255
- $ilike?: any;
1256
- $re?: any;
1257
- $contains?: any;
1258
- $gt?: any;
1259
- $gte?: any;
1260
- $lt?: any;
1261
- $lte?: any;
1262
- }, {
1263
- $eq?: any;
1264
- $ne?: any;
1265
- $in?: any;
1266
- $nin?: any;
1267
- $like?: any;
1268
- $ilike?: any;
1269
- $re?: any;
1270
- $contains?: any;
1271
- $gt?: any;
1272
- $gte?: any;
1273
- $lt?: any;
1274
- $lte?: any;
1275
- }>]>>;
1276
- }, "q">, "strip", z.ZodTypeAny, {
1277
- id?: string | string[] | undefined;
1278
- created_at?: any;
1279
- updated_at?: any;
1280
- deleted_at?: any;
1281
- barcode?: string | string[] | undefined;
1282
- allow_backorder?: boolean | undefined;
1283
- ean?: string | string[] | undefined;
1284
- upc?: string | string[] | undefined;
1285
- manage_inventory?: boolean | undefined;
1286
- }, {
1287
- id?: string | string[] | undefined;
1288
- created_at?: any;
1289
- updated_at?: any;
1290
- deleted_at?: any;
1291
- barcode?: string | string[] | undefined;
1292
- allow_backorder?: string | boolean | undefined;
1293
- ean?: string | string[] | undefined;
1294
- upc?: string | string[] | undefined;
1295
- manage_inventory?: string | boolean | undefined;
1296
- }>, "many">>>;
1297
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
1298
- q: z.ZodOptional<z.ZodString>;
1299
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1300
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1301
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1302
- ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1303
- upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1304
- barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1305
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1306
- $eq: any;
1307
- $ne: any;
1308
- $in: any;
1309
- $nin: any;
1310
- $like: any;
1311
- $ilike: any;
1312
- $re: any;
1313
- $contains: any;
1314
- $gt: any;
1315
- $gte: any;
1316
- $lt: any;
1317
- $lte: any;
1318
- }, "strip", z.ZodTypeAny, {
1319
- $eq?: any;
1320
- $ne?: any;
1321
- $in?: any;
1322
- $nin?: any;
1323
- $like?: any;
1324
- $ilike?: any;
1325
- $re?: any;
1326
- $contains?: any;
1327
- $gt?: any;
1328
- $gte?: any;
1329
- $lt?: any;
1330
- $lte?: any;
1331
- }, {
1332
- $eq?: any;
1333
- $ne?: any;
1334
- $in?: any;
1335
- $nin?: any;
1336
- $like?: any;
1337
- $ilike?: any;
1338
- $re?: any;
1339
- $contains?: any;
1340
- $gt?: any;
1341
- $gte?: any;
1342
- $lt?: any;
1343
- $lte?: any;
1344
- }>]>>;
1345
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1346
- $eq: any;
1347
- $ne: any;
1348
- $in: any;
1349
- $nin: any;
1350
- $like: any;
1351
- $ilike: any;
1352
- $re: any;
1353
- $contains: any;
1354
- $gt: any;
1355
- $gte: any;
1356
- $lt: any;
1357
- $lte: any;
1358
- }, "strip", z.ZodTypeAny, {
1359
- $eq?: any;
1360
- $ne?: any;
1361
- $in?: any;
1362
- $nin?: any;
1363
- $like?: any;
1364
- $ilike?: any;
1365
- $re?: any;
1366
- $contains?: any;
1367
- $gt?: any;
1368
- $gte?: any;
1369
- $lt?: any;
1370
- $lte?: any;
1371
- }, {
1372
- $eq?: any;
1373
- $ne?: any;
1374
- $in?: any;
1375
- $nin?: any;
1376
- $like?: any;
1377
- $ilike?: any;
1378
- $re?: any;
1379
- $contains?: any;
1380
- $gt?: any;
1381
- $gte?: any;
1382
- $lt?: any;
1383
- $lte?: any;
1384
- }>]>>;
1385
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1386
- $eq: any;
1387
- $ne: any;
1388
- $in: any;
1389
- $nin: any;
1390
- $like: any;
1391
- $ilike: any;
1392
- $re: any;
1393
- $contains: any;
1394
- $gt: any;
1395
- $gte: any;
1396
- $lt: any;
1397
- $lte: any;
1398
- }, "strip", z.ZodTypeAny, {
1399
- $eq?: any;
1400
- $ne?: any;
1401
- $in?: any;
1402
- $nin?: any;
1403
- $like?: any;
1404
- $ilike?: any;
1405
- $re?: any;
1406
- $contains?: any;
1407
- $gt?: any;
1408
- $gte?: any;
1409
- $lt?: any;
1410
- $lte?: any;
1411
- }, {
1412
- $eq?: any;
1413
- $ne?: any;
1414
- $in?: any;
1415
- $nin?: any;
1416
- $like?: any;
1417
- $ilike?: any;
1418
- $re?: any;
1419
- $contains?: any;
1420
- $gt?: any;
1421
- $gte?: any;
1422
- $lt?: any;
1423
- $lte?: any;
1424
- }>]>>;
1425
- }, "q">, "strip", z.ZodTypeAny, {
1426
- id?: string | string[] | undefined;
1427
- created_at?: any;
1428
- updated_at?: any;
1429
- deleted_at?: any;
1430
- barcode?: string | string[] | undefined;
1431
- allow_backorder?: boolean | undefined;
1432
- ean?: string | string[] | undefined;
1433
- upc?: string | string[] | undefined;
1434
- manage_inventory?: boolean | undefined;
1435
- }, {
1436
- id?: string | string[] | undefined;
1437
- created_at?: any;
1438
- updated_at?: any;
1439
- deleted_at?: any;
1440
- barcode?: string | string[] | undefined;
1441
- allow_backorder?: string | boolean | undefined;
1442
- ean?: string | string[] | undefined;
1443
- upc?: string | string[] | undefined;
1444
- manage_inventory?: string | boolean | undefined;
1445
- }>, "many">>>;
1446
- }, "strip", z.ZodTypeAny, {
1447
- [x: string]: any;
1448
- $and?: unknown;
1449
- $or?: unknown;
1450
- }, {
1451
- [x: string]: any;
1452
- $and?: unknown;
1453
- $or?: unknown;
1454
- }>>;
1455
- status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
1456
- }, "strip", z.ZodTypeAny, {
1457
- variants?: {
1458
- [x: string]: any;
1459
- $and?: unknown;
1460
- $or?: unknown;
1461
- } | undefined;
1462
- status?: ProductStatus[] | undefined;
1463
- }, {
1464
- variants?: {
1465
- [x: string]: any;
1466
- $and?: unknown;
1467
- $or?: unknown;
1468
- } | undefined;
1469
- status?: ProductStatus[] | undefined;
1470
- }>, "many">>>;
279
+ [x: number]: any;
280
+ [x: symbol]: any;
1471
281
  sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1472
282
  q: z.ZodOptional<z.ZodString>;
1473
283
  id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1601,58 +411,58 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
1601
411
  }>]>>;
1602
412
  }, "strip", z.ZodTypeAny, {
1603
413
  [x: string]: any;
1604
- $and?: unknown;
1605
- $or?: unknown;
1606
- sales_channel_id?: unknown;
1607
- q?: unknown;
1608
- id?: unknown;
1609
- title?: unknown;
1610
- handle?: unknown;
1611
- is_giftcard?: unknown;
1612
- category_id?: unknown;
1613
- external_id?: unknown;
1614
- collection_id?: unknown;
1615
- tag_id?: unknown;
1616
- type_id?: unknown;
1617
- created_at?: unknown;
1618
- updated_at?: unknown;
1619
- deleted_at?: unknown;
414
+ [x: number]: any;
415
+ [x: symbol]: any;
416
+ sales_channel_id?: string | string[] | undefined;
417
+ q?: string | undefined;
418
+ id?: string | string[] | undefined;
419
+ title?: string | string[] | undefined;
420
+ handle?: string | string[] | undefined;
421
+ is_giftcard?: boolean | undefined;
422
+ category_id?: string | string[] | undefined;
423
+ external_id?: string | string[] | undefined;
424
+ collection_id?: string | string[] | undefined;
425
+ tag_id?: string | string[] | undefined;
426
+ type_id?: string | string[] | undefined;
427
+ created_at?: any;
428
+ updated_at?: any;
429
+ deleted_at?: any;
1620
430
  }, {
1621
431
  [x: string]: any;
1622
- $and?: unknown;
1623
- $or?: unknown;
1624
- sales_channel_id?: unknown;
1625
- q?: unknown;
1626
- id?: unknown;
1627
- title?: unknown;
1628
- handle?: unknown;
1629
- is_giftcard?: unknown;
1630
- category_id?: unknown;
1631
- external_id?: unknown;
1632
- collection_id?: unknown;
1633
- tag_id?: unknown;
1634
- type_id?: unknown;
1635
- created_at?: unknown;
1636
- updated_at?: unknown;
1637
- deleted_at?: unknown;
1638
- }>, unknown, {
432
+ [x: number]: any;
433
+ [x: symbol]: any;
434
+ sales_channel_id?: string | string[] | undefined;
435
+ q?: string | undefined;
436
+ id?: string | string[] | undefined;
437
+ title?: string | string[] | undefined;
438
+ handle?: string | string[] | undefined;
439
+ is_giftcard?: string | boolean | undefined;
440
+ category_id?: string | string[] | undefined;
441
+ external_id?: string | string[] | undefined;
442
+ collection_id?: string | string[] | undefined;
443
+ tag_id?: string | string[] | undefined;
444
+ type_id?: string | string[] | undefined;
445
+ created_at?: any;
446
+ updated_at?: any;
447
+ deleted_at?: any;
448
+ }>, import("@medusajs/framework/types").FilterableProductProps, {
1639
449
  [x: string]: any;
1640
- $and?: unknown;
1641
- $or?: unknown;
1642
- sales_channel_id?: unknown;
1643
- q?: unknown;
1644
- id?: unknown;
1645
- title?: unknown;
1646
- handle?: unknown;
1647
- is_giftcard?: unknown;
1648
- category_id?: unknown;
1649
- external_id?: unknown;
1650
- collection_id?: unknown;
1651
- tag_id?: unknown;
1652
- type_id?: unknown;
1653
- created_at?: unknown;
1654
- updated_at?: unknown;
1655
- deleted_at?: unknown;
450
+ [x: number]: any;
451
+ [x: symbol]: any;
452
+ sales_channel_id?: string | string[] | undefined;
453
+ q?: string | undefined;
454
+ id?: string | string[] | undefined;
455
+ title?: string | string[] | undefined;
456
+ handle?: string | string[] | undefined;
457
+ is_giftcard?: string | boolean | undefined;
458
+ category_id?: string | string[] | undefined;
459
+ external_id?: string | string[] | undefined;
460
+ collection_id?: string | string[] | undefined;
461
+ tag_id?: string | string[] | undefined;
462
+ type_id?: string | string[] | undefined;
463
+ created_at?: any;
464
+ updated_at?: any;
465
+ deleted_at?: any;
1656
466
  }>;
1657
467
  export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
1658
468
  q: z.ZodOptional<z.ZodString>;
@@ -1779,309 +589,55 @@ export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
1779
589
  $lte?: any;
1780
590
  }>]>>;
1781
591
  }, "strip", z.ZodTypeAny, {
592
+ q?: string | undefined;
1782
593
  id?: string | string[] | undefined;
594
+ title?: string | undefined;
1783
595
  created_at?: any;
1784
596
  updated_at?: any;
1785
597
  deleted_at?: any;
1786
- title?: string | undefined;
1787
- q?: string | undefined;
1788
598
  }, {
599
+ q?: string | undefined;
1789
600
  id?: string | string[] | undefined;
601
+ title?: string | undefined;
1790
602
  created_at?: any;
1791
603
  updated_at?: any;
1792
604
  deleted_at?: any;
1793
- title?: string | undefined;
1794
- q?: string | undefined;
1795
605
  }>;
1796
606
  export type AdminGetProductOptionsParamsType = z.infer<typeof AdminGetProductOptionsParams>;
1797
- export declare const AdminGetProductOptionsParams: z.ZodObject<{} & {
607
+ export declare const AdminGetProductOptionsParams: z.ZodObject<{
1798
608
  [x: string]: any;
1799
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
1800
- q: z.ZodOptional<z.ZodString>;
1801
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1802
- title: z.ZodOptional<z.ZodString>;
1803
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1804
- $eq: any;
1805
- $ne: any;
1806
- $in: any;
1807
- $nin: any;
1808
- $like: any;
1809
- $ilike: any;
1810
- $re: any;
1811
- $contains: any;
1812
- $gt: any;
1813
- $gte: any;
1814
- $lt: any;
1815
- $lte: any;
1816
- }, "strip", z.ZodTypeAny, {
1817
- $eq?: any;
1818
- $ne?: any;
1819
- $in?: any;
1820
- $nin?: any;
1821
- $like?: any;
1822
- $ilike?: any;
1823
- $re?: any;
1824
- $contains?: any;
1825
- $gt?: any;
1826
- $gte?: any;
1827
- $lt?: any;
1828
- $lte?: any;
1829
- }, {
1830
- $eq?: any;
1831
- $ne?: any;
1832
- $in?: any;
1833
- $nin?: any;
1834
- $like?: any;
1835
- $ilike?: any;
1836
- $re?: any;
1837
- $contains?: any;
1838
- $gt?: any;
1839
- $gte?: any;
1840
- $lt?: any;
1841
- $lte?: any;
1842
- }>]>>;
1843
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1844
- $eq: any;
1845
- $ne: any;
1846
- $in: any;
1847
- $nin: any;
1848
- $like: any;
1849
- $ilike: any;
1850
- $re: any;
1851
- $contains: any;
1852
- $gt: any;
1853
- $gte: any;
1854
- $lt: any;
1855
- $lte: any;
1856
- }, "strip", z.ZodTypeAny, {
1857
- $eq?: any;
1858
- $ne?: any;
1859
- $in?: any;
1860
- $nin?: any;
1861
- $like?: any;
1862
- $ilike?: any;
1863
- $re?: any;
1864
- $contains?: any;
1865
- $gt?: any;
1866
- $gte?: any;
1867
- $lt?: any;
1868
- $lte?: any;
1869
- }, {
1870
- $eq?: any;
1871
- $ne?: any;
1872
- $in?: any;
1873
- $nin?: any;
1874
- $like?: any;
1875
- $ilike?: any;
1876
- $re?: any;
1877
- $contains?: any;
1878
- $gt?: any;
1879
- $gte?: any;
1880
- $lt?: any;
1881
- $lte?: any;
1882
- }>]>>;
1883
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1884
- $eq: any;
1885
- $ne: any;
1886
- $in: any;
1887
- $nin: any;
1888
- $like: any;
1889
- $ilike: any;
1890
- $re: any;
1891
- $contains: any;
1892
- $gt: any;
1893
- $gte: any;
1894
- $lt: any;
1895
- $lte: any;
1896
- }, "strip", z.ZodTypeAny, {
1897
- $eq?: any;
1898
- $ne?: any;
1899
- $in?: any;
1900
- $nin?: any;
1901
- $like?: any;
1902
- $ilike?: any;
1903
- $re?: any;
1904
- $contains?: any;
1905
- $gt?: any;
1906
- $gte?: any;
1907
- $lt?: any;
1908
- $lte?: any;
1909
- }, {
1910
- $eq?: any;
1911
- $ne?: any;
1912
- $in?: any;
1913
- $nin?: any;
1914
- $like?: any;
1915
- $ilike?: any;
1916
- $re?: any;
1917
- $contains?: any;
1918
- $gt?: any;
1919
- $gte?: any;
1920
- $lt?: any;
1921
- $lte?: any;
1922
- }>]>>;
1923
- }, "strip", z.ZodTypeAny, {
1924
- id?: string | string[] | undefined;
1925
- created_at?: any;
1926
- updated_at?: any;
1927
- deleted_at?: any;
1928
- title?: string | undefined;
1929
- q?: string | undefined;
609
+ [x: number]: any;
610
+ [x: symbol]: any;
611
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
612
+ [x: string]: any;
1930
613
  }, {
1931
- id?: string | string[] | undefined;
1932
- created_at?: any;
1933
- updated_at?: any;
1934
- deleted_at?: any;
1935
- title?: string | undefined;
1936
- q?: string | undefined;
614
+ [x: string]: any;
1937
615
  }>, "many">>>;
1938
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
1939
- q: z.ZodOptional<z.ZodString>;
1940
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1941
- title: z.ZodOptional<z.ZodString>;
1942
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1943
- $eq: any;
1944
- $ne: any;
1945
- $in: any;
1946
- $nin: any;
1947
- $like: any;
1948
- $ilike: any;
1949
- $re: any;
1950
- $contains: any;
1951
- $gt: any;
1952
- $gte: any;
1953
- $lt: any;
1954
- $lte: any;
1955
- }, "strip", z.ZodTypeAny, {
1956
- $eq?: any;
1957
- $ne?: any;
1958
- $in?: any;
1959
- $nin?: any;
1960
- $like?: any;
1961
- $ilike?: any;
1962
- $re?: any;
1963
- $contains?: any;
1964
- $gt?: any;
1965
- $gte?: any;
1966
- $lt?: any;
1967
- $lte?: any;
1968
- }, {
1969
- $eq?: any;
1970
- $ne?: any;
1971
- $in?: any;
1972
- $nin?: any;
1973
- $like?: any;
1974
- $ilike?: any;
1975
- $re?: any;
1976
- $contains?: any;
1977
- $gt?: any;
1978
- $gte?: any;
1979
- $lt?: any;
1980
- $lte?: any;
1981
- }>]>>;
1982
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1983
- $eq: any;
1984
- $ne: any;
1985
- $in: any;
1986
- $nin: any;
1987
- $like: any;
1988
- $ilike: any;
1989
- $re: any;
1990
- $contains: any;
1991
- $gt: any;
1992
- $gte: any;
1993
- $lt: any;
1994
- $lte: any;
1995
- }, "strip", z.ZodTypeAny, {
1996
- $eq?: any;
1997
- $ne?: any;
1998
- $in?: any;
1999
- $nin?: any;
2000
- $like?: any;
2001
- $ilike?: any;
2002
- $re?: any;
2003
- $contains?: any;
2004
- $gt?: any;
2005
- $gte?: any;
2006
- $lt?: any;
2007
- $lte?: any;
2008
- }, {
2009
- $eq?: any;
2010
- $ne?: any;
2011
- $in?: any;
2012
- $nin?: any;
2013
- $like?: any;
2014
- $ilike?: any;
2015
- $re?: any;
2016
- $contains?: any;
2017
- $gt?: any;
2018
- $gte?: any;
2019
- $lt?: any;
2020
- $lte?: any;
2021
- }>]>>;
2022
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
2023
- $eq: any;
2024
- $ne: any;
2025
- $in: any;
2026
- $nin: any;
2027
- $like: any;
2028
- $ilike: any;
2029
- $re: any;
2030
- $contains: any;
2031
- $gt: any;
2032
- $gte: any;
2033
- $lt: any;
2034
- $lte: any;
2035
- }, "strip", z.ZodTypeAny, {
2036
- $eq?: any;
2037
- $ne?: any;
2038
- $in?: any;
2039
- $nin?: any;
2040
- $like?: any;
2041
- $ilike?: any;
2042
- $re?: any;
2043
- $contains?: any;
2044
- $gt?: any;
2045
- $gte?: any;
2046
- $lt?: any;
2047
- $lte?: any;
2048
- }, {
2049
- $eq?: any;
2050
- $ne?: any;
2051
- $in?: any;
2052
- $nin?: any;
2053
- $like?: any;
2054
- $ilike?: any;
2055
- $re?: any;
2056
- $contains?: any;
2057
- $gt?: any;
2058
- $gte?: any;
2059
- $lt?: any;
2060
- $lte?: any;
2061
- }>]>>;
2062
- }, "strip", z.ZodTypeAny, {
2063
- id?: string | string[] | undefined;
2064
- created_at?: any;
2065
- updated_at?: any;
2066
- deleted_at?: any;
2067
- title?: string | undefined;
2068
- q?: string | undefined;
616
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
617
+ [x: string]: any;
2069
618
  }, {
2070
- id?: string | string[] | undefined;
2071
- created_at?: any;
2072
- updated_at?: any;
2073
- deleted_at?: any;
2074
- title?: string | undefined;
2075
- q?: string | undefined;
619
+ [x: string]: any;
2076
620
  }>, "many">>>;
2077
621
  }, "strip", z.ZodTypeAny, {
2078
622
  [x: string]: any;
2079
- $and?: unknown;
2080
- $or?: unknown;
623
+ [x: number]: any;
624
+ [x: symbol]: any;
625
+ $and?: {
626
+ [x: string]: any;
627
+ }[] | undefined;
628
+ $or?: {
629
+ [x: string]: any;
630
+ }[] | undefined;
2081
631
  }, {
2082
632
  [x: string]: any;
2083
- $and?: unknown;
2084
- $or?: unknown;
633
+ [x: number]: any;
634
+ [x: symbol]: any;
635
+ $and?: {
636
+ [x: string]: any;
637
+ }[] | undefined;
638
+ $or?: {
639
+ [x: string]: any;
640
+ }[] | undefined;
2085
641
  }>;
2086
642
  export type AdminCreateProductTagType = z.infer<typeof AdminCreateProductTag>;
2087
643
  export declare const AdminCreateProductTag: z.ZodObject<{
@@ -2124,13 +680,13 @@ export declare const UpdateProductOption: z.ZodObject<{
2124
680
  title: z.ZodOptional<z.ZodString>;
2125
681
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2126
682
  }, "strip", z.ZodTypeAny, {
2127
- values?: string[] | undefined;
2128
683
  id?: string | undefined;
2129
684
  title?: string | undefined;
2130
- }, {
2131
685
  values?: string[] | undefined;
686
+ }, {
2132
687
  id?: string | undefined;
2133
688
  title?: string | undefined;
689
+ values?: string[] | undefined;
2134
690
  }>;
2135
691
  export declare const AdminUpdateProductOption: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
2136
692
  [x: string]: any;
@@ -2147,15 +703,15 @@ export declare const AdminCreateVariantPrice: z.ZodObject<{
2147
703
  }, "strip", z.ZodTypeAny, {
2148
704
  amount: number;
2149
705
  currency_code: string;
2150
- rules?: Record<string, string> | undefined;
2151
706
  min_quantity?: number | null | undefined;
2152
707
  max_quantity?: number | null | undefined;
708
+ rules?: Record<string, string> | undefined;
2153
709
  }, {
2154
710
  amount: number;
2155
711
  currency_code: string;
2156
- rules?: Record<string, string> | undefined;
2157
712
  min_quantity?: number | null | undefined;
2158
713
  max_quantity?: number | null | undefined;
714
+ rules?: Record<string, string> | undefined;
2159
715
  }>;
2160
716
  export type AdminUpdateVariantPriceType = z.infer<typeof AdminUpdateVariantPrice>;
2161
717
  export declare const AdminUpdateVariantPrice: z.ZodObject<{
@@ -2167,18 +723,18 @@ export declare const AdminUpdateVariantPrice: z.ZodObject<{
2167
723
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2168
724
  }, "strip", z.ZodTypeAny, {
2169
725
  id?: string | undefined;
2170
- rules?: Record<string, string> | undefined;
2171
- amount?: number | undefined;
2172
726
  currency_code?: string | undefined;
727
+ amount?: number | undefined;
2173
728
  min_quantity?: number | null | undefined;
2174
729
  max_quantity?: number | null | undefined;
730
+ rules?: Record<string, string> | undefined;
2175
731
  }, {
2176
732
  id?: string | undefined;
2177
- rules?: Record<string, string> | undefined;
2178
- amount?: number | undefined;
2179
733
  currency_code?: string | undefined;
734
+ amount?: number | undefined;
2180
735
  min_quantity?: number | null | undefined;
2181
736
  max_quantity?: number | null | undefined;
737
+ rules?: Record<string, string> | undefined;
2182
738
  }>;
2183
739
  export type AdminCreateProductTypeType = z.infer<typeof AdminCreateProductType>;
2184
740
  export declare const AdminCreateProductType: z.ZodObject<{
@@ -2216,15 +772,15 @@ export declare const CreateProductVariant: z.ZodObject<{
2216
772
  }, "strip", z.ZodTypeAny, {
2217
773
  amount: number;
2218
774
  currency_code: string;
2219
- rules?: Record<string, string> | undefined;
2220
775
  min_quantity?: number | null | undefined;
2221
776
  max_quantity?: number | null | undefined;
777
+ rules?: Record<string, string> | undefined;
2222
778
  }, {
2223
779
  amount: number;
2224
780
  currency_code: string;
2225
- rules?: Record<string, string> | undefined;
2226
781
  min_quantity?: number | null | undefined;
2227
782
  max_quantity?: number | null | undefined;
783
+ rules?: Record<string, string> | undefined;
2228
784
  }>, "many">;
2229
785
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2230
786
  inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2241,62 +797,62 @@ export declare const CreateProductVariant: z.ZodObject<{
2241
797
  prices: {
2242
798
  amount: number;
2243
799
  currency_code: string;
2244
- rules?: Record<string, string> | undefined;
2245
800
  min_quantity?: number | null | undefined;
2246
801
  max_quantity?: number | null | undefined;
802
+ rules?: Record<string, string> | undefined;
2247
803
  }[];
2248
804
  title: string;
2249
805
  allow_backorder: boolean;
2250
806
  manage_inventory: boolean;
2251
- length?: number | null | undefined;
2252
- options?: Record<string, string> | undefined;
2253
- metadata?: Record<string, unknown> | null | undefined;
2254
- inventory_items?: {
2255
- inventory_item_id: string;
2256
- required_quantity: number;
2257
- }[] | undefined;
2258
807
  sku?: string | null | undefined;
808
+ ean?: string | null | undefined;
809
+ upc?: string | null | undefined;
2259
810
  barcode?: string | null | undefined;
2260
- origin_country?: string | null | undefined;
2261
811
  hs_code?: string | null | undefined;
2262
812
  mid_code?: string | null | undefined;
2263
- material?: string | null | undefined;
813
+ variant_rank?: number | undefined;
2264
814
  weight?: number | null | undefined;
815
+ length?: number | null | undefined;
2265
816
  height?: number | null | undefined;
2266
817
  width?: number | null | undefined;
2267
- ean?: string | null | undefined;
2268
- upc?: string | null | undefined;
2269
- variant_rank?: number | undefined;
818
+ origin_country?: string | null | undefined;
819
+ material?: string | null | undefined;
820
+ metadata?: Record<string, unknown> | null | undefined;
821
+ options?: Record<string, string> | undefined;
822
+ inventory_items?: {
823
+ inventory_item_id: string;
824
+ required_quantity: number;
825
+ }[] | undefined;
2270
826
  }, {
2271
827
  prices: {
2272
828
  amount: number;
2273
829
  currency_code: string;
2274
- rules?: Record<string, string> | undefined;
2275
830
  min_quantity?: number | null | undefined;
2276
831
  max_quantity?: number | null | undefined;
832
+ rules?: Record<string, string> | undefined;
2277
833
  }[];
2278
834
  title: string;
2279
- length?: number | null | undefined;
2280
- options?: Record<string, string> | undefined;
2281
- metadata?: Record<string, unknown> | null | undefined;
2282
- inventory_items?: {
2283
- inventory_item_id: string;
2284
- required_quantity: number;
2285
- }[] | undefined;
2286
835
  sku?: string | null | undefined;
836
+ ean?: string | null | undefined;
837
+ upc?: string | null | undefined;
2287
838
  barcode?: string | null | undefined;
2288
- allow_backorder?: string | boolean | undefined;
2289
- origin_country?: string | null | undefined;
2290
839
  hs_code?: string | null | undefined;
2291
840
  mid_code?: string | null | undefined;
2292
- material?: string | null | undefined;
841
+ allow_backorder?: string | boolean | undefined;
842
+ manage_inventory?: string | boolean | undefined;
843
+ variant_rank?: number | undefined;
2293
844
  weight?: number | null | undefined;
845
+ length?: number | null | undefined;
2294
846
  height?: number | null | undefined;
2295
847
  width?: number | null | undefined;
2296
- ean?: string | null | undefined;
2297
- upc?: string | null | undefined;
2298
- manage_inventory?: string | boolean | undefined;
2299
- variant_rank?: number | undefined;
848
+ origin_country?: string | null | undefined;
849
+ material?: string | null | undefined;
850
+ metadata?: Record<string, unknown> | null | undefined;
851
+ options?: Record<string, string> | undefined;
852
+ inventory_items?: {
853
+ inventory_item_id: string;
854
+ required_quantity: number;
855
+ }[] | undefined;
2300
856
  }>;
2301
857
  export declare const AdminCreateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
2302
858
  [x: string]: any;
@@ -2316,18 +872,18 @@ export declare const UpdateProductVariant: z.ZodObject<{
2316
872
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2317
873
  }, "strip", z.ZodTypeAny, {
2318
874
  id?: string | undefined;
2319
- rules?: Record<string, string> | undefined;
2320
- amount?: number | undefined;
2321
875
  currency_code?: string | undefined;
876
+ amount?: number | undefined;
2322
877
  min_quantity?: number | null | undefined;
2323
878
  max_quantity?: number | null | undefined;
879
+ rules?: Record<string, string> | undefined;
2324
880
  }, {
2325
881
  id?: string | undefined;
2326
- rules?: Record<string, string> | undefined;
2327
- amount?: number | undefined;
2328
882
  currency_code?: string | undefined;
883
+ amount?: number | undefined;
2329
884
  min_quantity?: number | null | undefined;
2330
885
  max_quantity?: number | null | undefined;
886
+ rules?: Record<string, string> | undefined;
2331
887
  }>, "many">>;
2332
888
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2333
889
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2347,61 +903,61 @@ export declare const UpdateProductVariant: z.ZodObject<{
2347
903
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2348
904
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2349
905
  }, "strict", z.ZodTypeAny, {
2350
- length?: number | null | undefined;
2351
- options?: Record<string, string> | undefined;
2352
906
  id?: string | undefined;
2353
- metadata?: Record<string, unknown> | null | undefined;
907
+ title?: string | undefined;
2354
908
  prices?: {
2355
909
  id?: string | undefined;
2356
- rules?: Record<string, string> | undefined;
2357
- amount?: number | undefined;
2358
910
  currency_code?: string | undefined;
911
+ amount?: number | undefined;
2359
912
  min_quantity?: number | null | undefined;
2360
913
  max_quantity?: number | null | undefined;
914
+ rules?: Record<string, string> | undefined;
2361
915
  }[] | undefined;
2362
- title?: string | undefined;
2363
916
  sku?: string | null | undefined;
917
+ ean?: string | null | undefined;
918
+ upc?: string | null | undefined;
2364
919
  barcode?: string | null | undefined;
2365
- allow_backorder?: boolean | undefined;
2366
- origin_country?: string | null | undefined;
2367
920
  hs_code?: string | null | undefined;
2368
921
  mid_code?: string | null | undefined;
2369
- material?: string | null | undefined;
2370
- weight?: number | null | undefined;
2371
- height?: number | null | undefined;
2372
- width?: number | null | undefined;
2373
- ean?: string | null | undefined;
2374
- upc?: string | null | undefined;
922
+ allow_backorder?: boolean | undefined;
2375
923
  manage_inventory?: boolean | undefined;
2376
924
  variant_rank?: number | undefined;
2377
- }, {
925
+ weight?: number | null | undefined;
2378
926
  length?: number | null | undefined;
927
+ height?: number | null | undefined;
928
+ width?: number | null | undefined;
929
+ origin_country?: string | null | undefined;
930
+ material?: string | null | undefined;
931
+ metadata?: Record<string, unknown> | null | undefined;
2379
932
  options?: Record<string, string> | undefined;
933
+ }, {
2380
934
  id?: string | undefined;
2381
- metadata?: Record<string, unknown> | null | undefined;
935
+ title?: string | undefined;
2382
936
  prices?: {
2383
937
  id?: string | undefined;
2384
- rules?: Record<string, string> | undefined;
2385
- amount?: number | undefined;
2386
938
  currency_code?: string | undefined;
939
+ amount?: number | undefined;
2387
940
  min_quantity?: number | null | undefined;
2388
941
  max_quantity?: number | null | undefined;
942
+ rules?: Record<string, string> | undefined;
2389
943
  }[] | undefined;
2390
- title?: string | undefined;
2391
944
  sku?: string | null | undefined;
945
+ ean?: string | null | undefined;
946
+ upc?: string | null | undefined;
2392
947
  barcode?: string | null | undefined;
2393
- allow_backorder?: string | boolean | undefined;
2394
- origin_country?: string | null | undefined;
2395
948
  hs_code?: string | null | undefined;
2396
949
  mid_code?: string | null | undefined;
2397
- material?: string | null | undefined;
950
+ allow_backorder?: string | boolean | undefined;
951
+ manage_inventory?: string | boolean | undefined;
952
+ variant_rank?: number | undefined;
2398
953
  weight?: number | null | undefined;
954
+ length?: number | null | undefined;
2399
955
  height?: number | null | undefined;
2400
956
  width?: number | null | undefined;
2401
- ean?: string | null | undefined;
2402
- upc?: string | null | undefined;
2403
- manage_inventory?: string | boolean | undefined;
2404
- variant_rank?: number | undefined;
957
+ origin_country?: string | null | undefined;
958
+ material?: string | null | undefined;
959
+ metadata?: Record<string, unknown> | null | undefined;
960
+ options?: Record<string, string> | undefined;
2405
961
  }>;
2406
962
  export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
2407
963
  [x: string]: any;
@@ -2410,7 +966,9 @@ export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.Zod
2410
966
  }> | z.ZodEffects<any, any, any>;
2411
967
  export type AdminBatchUpdateProductVariantType = z.infer<typeof AdminBatchUpdateProductVariant>;
2412
968
  export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
2413
- title: z.ZodOptional<z.ZodString>;
969
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
970
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
971
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2414
972
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
2415
973
  id: z.ZodOptional<z.ZodString>;
2416
974
  currency_code: z.ZodOptional<z.ZodString>;
@@ -2420,37 +978,34 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
2420
978
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2421
979
  }, "strip", z.ZodTypeAny, {
2422
980
  id?: string | undefined;
2423
- rules?: Record<string, string> | undefined;
2424
- amount?: number | undefined;
2425
981
  currency_code?: string | undefined;
982
+ amount?: number | undefined;
2426
983
  min_quantity?: number | null | undefined;
2427
984
  max_quantity?: number | null | undefined;
985
+ rules?: Record<string, string> | undefined;
2428
986
  }, {
2429
987
  id?: string | undefined;
2430
- rules?: Record<string, string> | undefined;
2431
- amount?: number | undefined;
2432
988
  currency_code?: string | undefined;
989
+ amount?: number | undefined;
2433
990
  min_quantity?: number | null | undefined;
2434
991
  max_quantity?: number | null | undefined;
992
+ rules?: Record<string, string> | undefined;
2435
993
  }>, "many">>;
994
+ title: z.ZodOptional<z.ZodString>;
2436
995
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2437
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2438
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2439
996
  barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
997
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
998
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2440
999
  hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2441
1000
  mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2442
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
2443
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
2444
- variant_rank: z.ZodOptional<z.ZodNumber>;
1001
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2445
1002
  weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2446
- length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2447
1003
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2448
1004
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2449
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2450
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2451
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2452
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2453
- } & {
1005
+ ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1006
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1007
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1008
+ variant_rank: z.ZodOptional<z.ZodNumber>;
2454
1009
  id: z.ZodString;
2455
1010
  }, "strict", z.ZodTypeAny, {
2456
1011
  id: string;
@@ -2459,11 +1014,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
2459
1014
  metadata?: Record<string, unknown> | null | undefined;
2460
1015
  prices?: {
2461
1016
  id?: string | undefined;
2462
- rules?: Record<string, string> | undefined;
2463
- amount?: number | undefined;
2464
1017
  currency_code?: string | undefined;
1018
+ amount?: number | undefined;
2465
1019
  min_quantity?: number | null | undefined;
2466
1020
  max_quantity?: number | null | undefined;
1021
+ rules?: Record<string, string> | undefined;
2467
1022
  }[] | undefined;
2468
1023
  title?: string | undefined;
2469
1024
  sku?: string | null | undefined;
@@ -2487,11 +1042,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
2487
1042
  metadata?: Record<string, unknown> | null | undefined;
2488
1043
  prices?: {
2489
1044
  id?: string | undefined;
2490
- rules?: Record<string, string> | undefined;
2491
- amount?: number | undefined;
2492
1045
  currency_code?: string | undefined;
1046
+ amount?: number | undefined;
2493
1047
  min_quantity?: number | null | undefined;
2494
1048
  max_quantity?: number | null | undefined;
1049
+ rules?: Record<string, string> | undefined;
2495
1050
  }[] | undefined;
2496
1051
  title?: string | undefined;
2497
1052
  sku?: string | null | undefined;
@@ -2587,15 +1142,15 @@ export declare const CreateProduct: z.ZodObject<{
2587
1142
  }, "strip", z.ZodTypeAny, {
2588
1143
  amount: number;
2589
1144
  currency_code: string;
2590
- rules?: Record<string, string> | undefined;
2591
1145
  min_quantity?: number | null | undefined;
2592
1146
  max_quantity?: number | null | undefined;
1147
+ rules?: Record<string, string> | undefined;
2593
1148
  }, {
2594
1149
  amount: number;
2595
1150
  currency_code: string;
2596
- rules?: Record<string, string> | undefined;
2597
1151
  min_quantity?: number | null | undefined;
2598
1152
  max_quantity?: number | null | undefined;
1153
+ rules?: Record<string, string> | undefined;
2599
1154
  }>, "many">;
2600
1155
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2601
1156
  inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2612,62 +1167,62 @@ export declare const CreateProduct: z.ZodObject<{
2612
1167
  prices: {
2613
1168
  amount: number;
2614
1169
  currency_code: string;
2615
- rules?: Record<string, string> | undefined;
2616
1170
  min_quantity?: number | null | undefined;
2617
1171
  max_quantity?: number | null | undefined;
1172
+ rules?: Record<string, string> | undefined;
2618
1173
  }[];
2619
1174
  title: string;
2620
1175
  allow_backorder: boolean;
2621
1176
  manage_inventory: boolean;
2622
- length?: number | null | undefined;
2623
- options?: Record<string, string> | undefined;
2624
- metadata?: Record<string, unknown> | null | undefined;
2625
- inventory_items?: {
2626
- inventory_item_id: string;
2627
- required_quantity: number;
2628
- }[] | undefined;
2629
1177
  sku?: string | null | undefined;
1178
+ ean?: string | null | undefined;
1179
+ upc?: string | null | undefined;
2630
1180
  barcode?: string | null | undefined;
2631
- origin_country?: string | null | undefined;
2632
1181
  hs_code?: string | null | undefined;
2633
1182
  mid_code?: string | null | undefined;
2634
- material?: string | null | undefined;
1183
+ variant_rank?: number | undefined;
2635
1184
  weight?: number | null | undefined;
1185
+ length?: number | null | undefined;
2636
1186
  height?: number | null | undefined;
2637
1187
  width?: number | null | undefined;
2638
- ean?: string | null | undefined;
2639
- upc?: string | null | undefined;
2640
- variant_rank?: number | undefined;
1188
+ origin_country?: string | null | undefined;
1189
+ material?: string | null | undefined;
1190
+ metadata?: Record<string, unknown> | null | undefined;
1191
+ options?: Record<string, string> | undefined;
1192
+ inventory_items?: {
1193
+ inventory_item_id: string;
1194
+ required_quantity: number;
1195
+ }[] | undefined;
2641
1196
  }, {
2642
1197
  prices: {
2643
1198
  amount: number;
2644
1199
  currency_code: string;
2645
- rules?: Record<string, string> | undefined;
2646
1200
  min_quantity?: number | null | undefined;
2647
1201
  max_quantity?: number | null | undefined;
1202
+ rules?: Record<string, string> | undefined;
2648
1203
  }[];
2649
1204
  title: string;
2650
- length?: number | null | undefined;
2651
- options?: Record<string, string> | undefined;
2652
- metadata?: Record<string, unknown> | null | undefined;
2653
- inventory_items?: {
2654
- inventory_item_id: string;
2655
- required_quantity: number;
2656
- }[] | undefined;
2657
1205
  sku?: string | null | undefined;
1206
+ ean?: string | null | undefined;
1207
+ upc?: string | null | undefined;
2658
1208
  barcode?: string | null | undefined;
2659
- allow_backorder?: string | boolean | undefined;
2660
- origin_country?: string | null | undefined;
2661
1209
  hs_code?: string | null | undefined;
2662
1210
  mid_code?: string | null | undefined;
2663
- material?: string | null | undefined;
1211
+ allow_backorder?: string | boolean | undefined;
1212
+ manage_inventory?: string | boolean | undefined;
1213
+ variant_rank?: number | undefined;
2664
1214
  weight?: number | null | undefined;
1215
+ length?: number | null | undefined;
2665
1216
  height?: number | null | undefined;
2666
1217
  width?: number | null | undefined;
2667
- ean?: string | null | undefined;
2668
- upc?: string | null | undefined;
2669
- manage_inventory?: string | boolean | undefined;
2670
- variant_rank?: number | undefined;
1218
+ origin_country?: string | null | undefined;
1219
+ material?: string | null | undefined;
1220
+ metadata?: Record<string, unknown> | null | undefined;
1221
+ options?: Record<string, string> | undefined;
1222
+ inventory_items?: {
1223
+ inventory_item_id: string;
1224
+ required_quantity: number;
1225
+ }[] | undefined;
2671
1226
  }>, "many">>;
2672
1227
  sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
2673
1228
  id: z.ZodString;
@@ -2687,11 +1242,26 @@ export declare const CreateProduct: z.ZodObject<{
2687
1242
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2688
1243
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2689
1244
  }, "strict", z.ZodTypeAny, {
2690
- status: ProductStatus | null;
2691
1245
  title: string;
1246
+ status: ProductStatus | null;
2692
1247
  is_giftcard: boolean;
2693
1248
  discountable: boolean;
2694
- length?: number | null | undefined;
1249
+ subtitle?: string | null | undefined;
1250
+ description?: string | null | undefined;
1251
+ images?: {
1252
+ url: string;
1253
+ }[] | undefined;
1254
+ thumbnail?: string | null | undefined;
1255
+ handle?: string | undefined;
1256
+ external_id?: string | null | undefined;
1257
+ type_id?: string | null | undefined;
1258
+ collection_id?: string | null | undefined;
1259
+ categories?: {
1260
+ id: string;
1261
+ }[] | undefined;
1262
+ tags?: {
1263
+ id: string;
1264
+ }[] | undefined;
2695
1265
  options?: {
2696
1266
  values: string[];
2697
1267
  title: string;
@@ -2700,64 +1270,67 @@ export declare const CreateProduct: z.ZodObject<{
2700
1270
  prices: {
2701
1271
  amount: number;
2702
1272
  currency_code: string;
2703
- rules?: Record<string, string> | undefined;
2704
1273
  min_quantity?: number | null | undefined;
2705
1274
  max_quantity?: number | null | undefined;
1275
+ rules?: Record<string, string> | undefined;
2706
1276
  }[];
2707
1277
  title: string;
2708
1278
  allow_backorder: boolean;
2709
1279
  manage_inventory: boolean;
2710
- length?: number | null | undefined;
2711
- options?: Record<string, string> | undefined;
2712
- metadata?: Record<string, unknown> | null | undefined;
2713
- inventory_items?: {
2714
- inventory_item_id: string;
2715
- required_quantity: number;
2716
- }[] | undefined;
2717
1280
  sku?: string | null | undefined;
1281
+ ean?: string | null | undefined;
1282
+ upc?: string | null | undefined;
2718
1283
  barcode?: string | null | undefined;
2719
- origin_country?: string | null | undefined;
2720
1284
  hs_code?: string | null | undefined;
2721
1285
  mid_code?: string | null | undefined;
2722
- material?: string | null | undefined;
1286
+ variant_rank?: number | undefined;
2723
1287
  weight?: number | null | undefined;
1288
+ length?: number | null | undefined;
2724
1289
  height?: number | null | undefined;
2725
1290
  width?: number | null | undefined;
2726
- ean?: string | null | undefined;
2727
- upc?: string | null | undefined;
2728
- variant_rank?: number | undefined;
1291
+ origin_country?: string | null | undefined;
1292
+ material?: string | null | undefined;
1293
+ metadata?: Record<string, unknown> | null | undefined;
1294
+ options?: Record<string, string> | undefined;
1295
+ inventory_items?: {
1296
+ inventory_item_id: string;
1297
+ required_quantity: number;
1298
+ }[] | undefined;
1299
+ }[] | undefined;
1300
+ sales_channels?: {
1301
+ id: string;
2729
1302
  }[] | undefined;
2730
- metadata?: Record<string, unknown> | null | undefined;
2731
1303
  shipping_profile_id?: string | undefined;
2732
- description?: string | null | undefined;
2733
- handle?: string | undefined;
2734
- external_id?: string | null | undefined;
2735
- collection_id?: string | null | undefined;
2736
- type_id?: string | null | undefined;
2737
- thumbnail?: string | null | undefined;
2738
- origin_country?: string | null | undefined;
2739
- hs_code?: string | null | undefined;
2740
- mid_code?: string | null | undefined;
2741
- material?: string | null | undefined;
2742
1304
  weight?: number | null | undefined;
1305
+ length?: number | null | undefined;
2743
1306
  height?: number | null | undefined;
2744
1307
  width?: number | null | undefined;
1308
+ hs_code?: string | null | undefined;
1309
+ mid_code?: string | null | undefined;
1310
+ origin_country?: string | null | undefined;
1311
+ material?: string | null | undefined;
1312
+ metadata?: Record<string, unknown> | null | undefined;
1313
+ }, {
1314
+ title: string;
2745
1315
  subtitle?: string | null | undefined;
1316
+ description?: string | null | undefined;
1317
+ is_giftcard?: string | boolean | undefined;
1318
+ discountable?: string | boolean | undefined;
1319
+ images?: {
1320
+ url: string;
1321
+ }[] | undefined;
1322
+ thumbnail?: string | null | undefined;
1323
+ handle?: string | undefined;
1324
+ status?: ProductStatus | null | undefined;
1325
+ external_id?: string | null | undefined;
1326
+ type_id?: string | null | undefined;
1327
+ collection_id?: string | null | undefined;
2746
1328
  categories?: {
2747
1329
  id: string;
2748
1330
  }[] | undefined;
2749
1331
  tags?: {
2750
1332
  id: string;
2751
1333
  }[] | undefined;
2752
- images?: {
2753
- url: string;
2754
- }[] | undefined;
2755
- sales_channels?: {
2756
- id: string;
2757
- }[] | undefined;
2758
- }, {
2759
- title: string;
2760
- length?: number | null | undefined;
2761
1334
  options?: {
2762
1335
  values: string[];
2763
1336
  title: string;
@@ -2766,64 +1339,46 @@ export declare const CreateProduct: z.ZodObject<{
2766
1339
  prices: {
2767
1340
  amount: number;
2768
1341
  currency_code: string;
2769
- rules?: Record<string, string> | undefined;
2770
1342
  min_quantity?: number | null | undefined;
2771
1343
  max_quantity?: number | null | undefined;
1344
+ rules?: Record<string, string> | undefined;
2772
1345
  }[];
2773
1346
  title: string;
2774
- length?: number | null | undefined;
2775
- options?: Record<string, string> | undefined;
2776
- metadata?: Record<string, unknown> | null | undefined;
2777
- inventory_items?: {
2778
- inventory_item_id: string;
2779
- required_quantity: number;
2780
- }[] | undefined;
2781
1347
  sku?: string | null | undefined;
1348
+ ean?: string | null | undefined;
1349
+ upc?: string | null | undefined;
2782
1350
  barcode?: string | null | undefined;
2783
- allow_backorder?: string | boolean | undefined;
2784
- origin_country?: string | null | undefined;
2785
1351
  hs_code?: string | null | undefined;
2786
1352
  mid_code?: string | null | undefined;
2787
- material?: string | null | undefined;
1353
+ allow_backorder?: string | boolean | undefined;
1354
+ manage_inventory?: string | boolean | undefined;
1355
+ variant_rank?: number | undefined;
2788
1356
  weight?: number | null | undefined;
1357
+ length?: number | null | undefined;
2789
1358
  height?: number | null | undefined;
2790
1359
  width?: number | null | undefined;
2791
- ean?: string | null | undefined;
2792
- upc?: string | null | undefined;
2793
- manage_inventory?: string | boolean | undefined;
2794
- variant_rank?: number | undefined;
1360
+ origin_country?: string | null | undefined;
1361
+ material?: string | null | undefined;
1362
+ metadata?: Record<string, unknown> | null | undefined;
1363
+ options?: Record<string, string> | undefined;
1364
+ inventory_items?: {
1365
+ inventory_item_id: string;
1366
+ required_quantity: number;
1367
+ }[] | undefined;
1368
+ }[] | undefined;
1369
+ sales_channels?: {
1370
+ id: string;
2795
1371
  }[] | undefined;
2796
- metadata?: Record<string, unknown> | null | undefined;
2797
1372
  shipping_profile_id?: string | undefined;
2798
- description?: string | null | undefined;
2799
- status?: ProductStatus | null | undefined;
2800
- handle?: string | undefined;
2801
- is_giftcard?: string | boolean | undefined;
2802
- external_id?: string | null | undefined;
2803
- collection_id?: string | null | undefined;
2804
- type_id?: string | null | undefined;
2805
- thumbnail?: string | null | undefined;
2806
- origin_country?: string | null | undefined;
2807
- hs_code?: string | null | undefined;
2808
- mid_code?: string | null | undefined;
2809
- material?: string | null | undefined;
2810
1373
  weight?: number | null | undefined;
1374
+ length?: number | null | undefined;
2811
1375
  height?: number | null | undefined;
2812
1376
  width?: number | null | undefined;
2813
- subtitle?: string | null | undefined;
2814
- discountable?: string | boolean | undefined;
2815
- categories?: {
2816
- id: string;
2817
- }[] | undefined;
2818
- tags?: {
2819
- id: string;
2820
- }[] | undefined;
2821
- images?: {
2822
- url: string;
2823
- }[] | undefined;
2824
- sales_channels?: {
2825
- id: string;
2826
- }[] | undefined;
1377
+ hs_code?: string | null | undefined;
1378
+ mid_code?: string | null | undefined;
1379
+ origin_country?: string | null | undefined;
1380
+ material?: string | null | undefined;
1381
+ metadata?: Record<string, unknown> | null | undefined;
2827
1382
  }>;
2828
1383
  export declare const AdminCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
2829
1384
  [x: string]: any;
@@ -2840,13 +1395,13 @@ export declare const UpdateProduct: z.ZodObject<{
2840
1395
  title: z.ZodOptional<z.ZodString>;
2841
1396
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2842
1397
  }, "strip", z.ZodTypeAny, {
2843
- values?: string[] | undefined;
2844
1398
  id?: string | undefined;
2845
1399
  title?: string | undefined;
2846
- }, {
2847
1400
  values?: string[] | undefined;
1401
+ }, {
2848
1402
  id?: string | undefined;
2849
1403
  title?: string | undefined;
1404
+ values?: string[] | undefined;
2850
1405
  }>, "many">>;
2851
1406
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2852
1407
  id: z.ZodOptional<z.ZodString>;
@@ -2860,18 +1415,18 @@ export declare const UpdateProduct: z.ZodObject<{
2860
1415
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2861
1416
  }, "strip", z.ZodTypeAny, {
2862
1417
  id?: string | undefined;
2863
- rules?: Record<string, string> | undefined;
2864
- amount?: number | undefined;
2865
1418
  currency_code?: string | undefined;
1419
+ amount?: number | undefined;
2866
1420
  min_quantity?: number | null | undefined;
2867
1421
  max_quantity?: number | null | undefined;
1422
+ rules?: Record<string, string> | undefined;
2868
1423
  }, {
2869
1424
  id?: string | undefined;
2870
- rules?: Record<string, string> | undefined;
2871
- amount?: number | undefined;
2872
1425
  currency_code?: string | undefined;
1426
+ amount?: number | undefined;
2873
1427
  min_quantity?: number | null | undefined;
2874
1428
  max_quantity?: number | null | undefined;
1429
+ rules?: Record<string, string> | undefined;
2875
1430
  }>, "many">>;
2876
1431
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2877
1432
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2891,61 +1446,61 @@ export declare const UpdateProduct: z.ZodObject<{
2891
1446
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2892
1447
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2893
1448
  }, "strict", z.ZodTypeAny, {
2894
- length?: number | null | undefined;
2895
- options?: Record<string, string> | undefined;
2896
1449
  id?: string | undefined;
2897
- metadata?: Record<string, unknown> | null | undefined;
1450
+ title?: string | undefined;
2898
1451
  prices?: {
2899
1452
  id?: string | undefined;
2900
- rules?: Record<string, string> | undefined;
2901
- amount?: number | undefined;
2902
1453
  currency_code?: string | undefined;
1454
+ amount?: number | undefined;
2903
1455
  min_quantity?: number | null | undefined;
2904
1456
  max_quantity?: number | null | undefined;
1457
+ rules?: Record<string, string> | undefined;
2905
1458
  }[] | undefined;
2906
- title?: string | undefined;
2907
1459
  sku?: string | null | undefined;
1460
+ ean?: string | null | undefined;
1461
+ upc?: string | null | undefined;
2908
1462
  barcode?: string | null | undefined;
2909
- allow_backorder?: boolean | undefined;
2910
- origin_country?: string | null | undefined;
2911
1463
  hs_code?: string | null | undefined;
2912
1464
  mid_code?: string | null | undefined;
2913
- material?: string | null | undefined;
2914
- weight?: number | null | undefined;
2915
- height?: number | null | undefined;
2916
- width?: number | null | undefined;
2917
- ean?: string | null | undefined;
2918
- upc?: string | null | undefined;
1465
+ allow_backorder?: boolean | undefined;
2919
1466
  manage_inventory?: boolean | undefined;
2920
1467
  variant_rank?: number | undefined;
2921
- }, {
1468
+ weight?: number | null | undefined;
2922
1469
  length?: number | null | undefined;
1470
+ height?: number | null | undefined;
1471
+ width?: number | null | undefined;
1472
+ origin_country?: string | null | undefined;
1473
+ material?: string | null | undefined;
1474
+ metadata?: Record<string, unknown> | null | undefined;
2923
1475
  options?: Record<string, string> | undefined;
1476
+ }, {
2924
1477
  id?: string | undefined;
2925
- metadata?: Record<string, unknown> | null | undefined;
1478
+ title?: string | undefined;
2926
1479
  prices?: {
2927
1480
  id?: string | undefined;
2928
- rules?: Record<string, string> | undefined;
2929
- amount?: number | undefined;
2930
1481
  currency_code?: string | undefined;
1482
+ amount?: number | undefined;
2931
1483
  min_quantity?: number | null | undefined;
2932
1484
  max_quantity?: number | null | undefined;
1485
+ rules?: Record<string, string> | undefined;
2933
1486
  }[] | undefined;
2934
- title?: string | undefined;
2935
1487
  sku?: string | null | undefined;
1488
+ ean?: string | null | undefined;
1489
+ upc?: string | null | undefined;
2936
1490
  barcode?: string | null | undefined;
2937
- allow_backorder?: string | boolean | undefined;
2938
- origin_country?: string | null | undefined;
2939
1491
  hs_code?: string | null | undefined;
2940
1492
  mid_code?: string | null | undefined;
2941
- material?: string | null | undefined;
1493
+ allow_backorder?: string | boolean | undefined;
1494
+ manage_inventory?: string | boolean | undefined;
1495
+ variant_rank?: number | undefined;
2942
1496
  weight?: number | null | undefined;
1497
+ length?: number | null | undefined;
2943
1498
  height?: number | null | undefined;
2944
1499
  width?: number | null | undefined;
2945
- ean?: string | null | undefined;
2946
- upc?: string | null | undefined;
2947
- manage_inventory?: string | boolean | undefined;
2948
- variant_rank?: number | undefined;
1500
+ origin_country?: string | null | undefined;
1501
+ material?: string | null | undefined;
1502
+ metadata?: Record<string, unknown> | null | undefined;
1503
+ options?: Record<string, string> | undefined;
2949
1504
  }>, "many">>;
2950
1505
  status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
2951
1506
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2994,141 +1549,141 @@ export declare const UpdateProduct: z.ZodObject<{
2994
1549
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2995
1550
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2996
1551
  }, "strict", z.ZodTypeAny, {
2997
- length?: number | null | undefined;
1552
+ title?: string | undefined;
1553
+ discountable?: boolean | undefined;
1554
+ is_giftcard?: boolean | undefined;
2998
1555
  options?: {
2999
- values?: string[] | undefined;
3000
1556
  id?: string | undefined;
3001
1557
  title?: string | undefined;
1558
+ values?: string[] | undefined;
3002
1559
  }[] | undefined;
3003
1560
  variants?: {
3004
- length?: number | null | undefined;
3005
- options?: Record<string, string> | undefined;
3006
1561
  id?: string | undefined;
3007
- metadata?: Record<string, unknown> | null | undefined;
1562
+ title?: string | undefined;
3008
1563
  prices?: {
3009
1564
  id?: string | undefined;
3010
- rules?: Record<string, string> | undefined;
3011
- amount?: number | undefined;
3012
1565
  currency_code?: string | undefined;
1566
+ amount?: number | undefined;
3013
1567
  min_quantity?: number | null | undefined;
3014
1568
  max_quantity?: number | null | undefined;
1569
+ rules?: Record<string, string> | undefined;
3015
1570
  }[] | undefined;
3016
- title?: string | undefined;
3017
1571
  sku?: string | null | undefined;
1572
+ ean?: string | null | undefined;
1573
+ upc?: string | null | undefined;
3018
1574
  barcode?: string | null | undefined;
3019
- allow_backorder?: boolean | undefined;
3020
- origin_country?: string | null | undefined;
3021
1575
  hs_code?: string | null | undefined;
3022
1576
  mid_code?: string | null | undefined;
3023
- material?: string | null | undefined;
1577
+ allow_backorder?: boolean | undefined;
1578
+ manage_inventory?: boolean | undefined;
1579
+ variant_rank?: number | undefined;
3024
1580
  weight?: number | null | undefined;
1581
+ length?: number | null | undefined;
3025
1582
  height?: number | null | undefined;
3026
1583
  width?: number | null | undefined;
3027
- ean?: string | null | undefined;
3028
- upc?: string | null | undefined;
3029
- manage_inventory?: boolean | undefined;
3030
- variant_rank?: number | undefined;
1584
+ origin_country?: string | null | undefined;
1585
+ material?: string | null | undefined;
1586
+ metadata?: Record<string, unknown> | null | undefined;
1587
+ options?: Record<string, string> | undefined;
3031
1588
  }[] | undefined;
3032
- metadata?: Record<string, unknown> | null | undefined;
3033
- shipping_profile_id?: string | null | undefined;
3034
- description?: string | null | undefined;
3035
1589
  status?: ProductStatus | undefined;
3036
- title?: string | undefined;
1590
+ subtitle?: string | null | undefined;
1591
+ description?: string | null | undefined;
1592
+ images?: {
1593
+ url: string;
1594
+ }[] | undefined;
1595
+ thumbnail?: string | null | undefined;
3037
1596
  handle?: string | null | undefined;
3038
- is_giftcard?: boolean | undefined;
1597
+ type_id?: string | null | undefined;
3039
1598
  external_id?: string | null | undefined;
3040
1599
  collection_id?: string | null | undefined;
3041
- type_id?: string | null | undefined;
3042
- thumbnail?: string | null | undefined;
3043
- origin_country?: string | null | undefined;
3044
- hs_code?: string | null | undefined;
3045
- mid_code?: string | null | undefined;
3046
- material?: string | null | undefined;
3047
- weight?: number | null | undefined;
3048
- height?: number | null | undefined;
3049
- width?: number | null | undefined;
3050
- subtitle?: string | null | undefined;
3051
- discountable?: boolean | undefined;
3052
1600
  categories?: {
3053
1601
  id: string;
3054
1602
  }[] | undefined;
3055
1603
  tags?: {
3056
1604
  id: string;
3057
1605
  }[] | undefined;
3058
- images?: {
3059
- url: string;
3060
- }[] | undefined;
3061
1606
  sales_channels?: {
3062
1607
  id: string;
3063
1608
  }[] | undefined;
3064
- }, {
1609
+ shipping_profile_id?: string | null | undefined;
1610
+ weight?: number | null | undefined;
3065
1611
  length?: number | null | undefined;
1612
+ height?: number | null | undefined;
1613
+ width?: number | null | undefined;
1614
+ hs_code?: string | null | undefined;
1615
+ mid_code?: string | null | undefined;
1616
+ origin_country?: string | null | undefined;
1617
+ material?: string | null | undefined;
1618
+ metadata?: Record<string, unknown> | null | undefined;
1619
+ }, {
1620
+ title?: string | undefined;
1621
+ discountable?: string | boolean | undefined;
1622
+ is_giftcard?: string | boolean | undefined;
3066
1623
  options?: {
3067
- values?: string[] | undefined;
3068
1624
  id?: string | undefined;
3069
1625
  title?: string | undefined;
1626
+ values?: string[] | undefined;
3070
1627
  }[] | undefined;
3071
1628
  variants?: {
3072
- length?: number | null | undefined;
3073
- options?: Record<string, string> | undefined;
3074
1629
  id?: string | undefined;
3075
- metadata?: Record<string, unknown> | null | undefined;
1630
+ title?: string | undefined;
3076
1631
  prices?: {
3077
1632
  id?: string | undefined;
3078
- rules?: Record<string, string> | undefined;
3079
- amount?: number | undefined;
3080
1633
  currency_code?: string | undefined;
1634
+ amount?: number | undefined;
3081
1635
  min_quantity?: number | null | undefined;
3082
1636
  max_quantity?: number | null | undefined;
1637
+ rules?: Record<string, string> | undefined;
3083
1638
  }[] | undefined;
3084
- title?: string | undefined;
3085
1639
  sku?: string | null | undefined;
1640
+ ean?: string | null | undefined;
1641
+ upc?: string | null | undefined;
3086
1642
  barcode?: string | null | undefined;
3087
- allow_backorder?: string | boolean | undefined;
3088
- origin_country?: string | null | undefined;
3089
1643
  hs_code?: string | null | undefined;
3090
1644
  mid_code?: string | null | undefined;
3091
- material?: string | null | undefined;
1645
+ allow_backorder?: string | boolean | undefined;
1646
+ manage_inventory?: string | boolean | undefined;
1647
+ variant_rank?: number | undefined;
3092
1648
  weight?: number | null | undefined;
1649
+ length?: number | null | undefined;
3093
1650
  height?: number | null | undefined;
3094
1651
  width?: number | null | undefined;
3095
- ean?: string | null | undefined;
3096
- upc?: string | null | undefined;
3097
- manage_inventory?: string | boolean | undefined;
3098
- variant_rank?: number | undefined;
1652
+ origin_country?: string | null | undefined;
1653
+ material?: string | null | undefined;
1654
+ metadata?: Record<string, unknown> | null | undefined;
1655
+ options?: Record<string, string> | undefined;
3099
1656
  }[] | undefined;
3100
- metadata?: Record<string, unknown> | null | undefined;
3101
- shipping_profile_id?: string | null | undefined;
3102
- description?: string | null | undefined;
3103
1657
  status?: ProductStatus | undefined;
3104
- title?: string | undefined;
1658
+ subtitle?: string | null | undefined;
1659
+ description?: string | null | undefined;
1660
+ images?: {
1661
+ url: string;
1662
+ }[] | undefined;
1663
+ thumbnail?: string | null | undefined;
3105
1664
  handle?: string | null | undefined;
3106
- is_giftcard?: string | boolean | undefined;
1665
+ type_id?: string | null | undefined;
3107
1666
  external_id?: string | null | undefined;
3108
1667
  collection_id?: string | null | undefined;
3109
- type_id?: string | null | undefined;
3110
- thumbnail?: string | null | undefined;
3111
- origin_country?: string | null | undefined;
3112
- hs_code?: string | null | undefined;
3113
- mid_code?: string | null | undefined;
3114
- material?: string | null | undefined;
3115
- weight?: number | null | undefined;
3116
- height?: number | null | undefined;
3117
- width?: number | null | undefined;
3118
- subtitle?: string | null | undefined;
3119
- discountable?: string | boolean | undefined;
3120
1668
  categories?: {
3121
1669
  id: string;
3122
1670
  }[] | undefined;
3123
1671
  tags?: {
3124
1672
  id: string;
3125
1673
  }[] | undefined;
3126
- images?: {
3127
- url: string;
3128
- }[] | undefined;
3129
1674
  sales_channels?: {
3130
1675
  id: string;
3131
1676
  }[] | undefined;
1677
+ shipping_profile_id?: string | null | undefined;
1678
+ weight?: number | null | undefined;
1679
+ length?: number | null | undefined;
1680
+ height?: number | null | undefined;
1681
+ width?: number | null | undefined;
1682
+ hs_code?: string | null | undefined;
1683
+ mid_code?: string | null | undefined;
1684
+ origin_country?: string | null | undefined;
1685
+ material?: string | null | undefined;
1686
+ metadata?: Record<string, unknown> | null | undefined;
3132
1687
  }>;
3133
1688
  export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
3134
1689
  [x: string]: any;
@@ -3137,21 +1692,19 @@ export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptiona
3137
1692
  }> | z.ZodEffects<any, any, any>;
3138
1693
  export type AdminBatchUpdateProductType = z.infer<typeof AdminBatchUpdateProduct>;
3139
1694
  export declare const AdminBatchUpdateProduct: z.ZodObject<{
3140
- title: z.ZodOptional<z.ZodString>;
3141
- discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
3142
- is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1695
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3143
1696
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
3144
1697
  id: z.ZodOptional<z.ZodString>;
3145
1698
  title: z.ZodOptional<z.ZodString>;
3146
1699
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3147
1700
  }, "strip", z.ZodTypeAny, {
3148
- values?: string[] | undefined;
3149
1701
  id?: string | undefined;
3150
1702
  title?: string | undefined;
3151
- }, {
3152
1703
  values?: string[] | undefined;
1704
+ }, {
3153
1705
  id?: string | undefined;
3154
1706
  title?: string | undefined;
1707
+ values?: string[] | undefined;
3155
1708
  }>, "many">>;
3156
1709
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
3157
1710
  id: z.ZodOptional<z.ZodString>;
@@ -3165,18 +1718,18 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
3165
1718
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3166
1719
  }, "strip", z.ZodTypeAny, {
3167
1720
  id?: string | undefined;
3168
- rules?: Record<string, string> | undefined;
3169
- amount?: number | undefined;
3170
1721
  currency_code?: string | undefined;
1722
+ amount?: number | undefined;
3171
1723
  min_quantity?: number | null | undefined;
3172
1724
  max_quantity?: number | null | undefined;
1725
+ rules?: Record<string, string> | undefined;
3173
1726
  }, {
3174
1727
  id?: string | undefined;
3175
- rules?: Record<string, string> | undefined;
3176
- amount?: number | undefined;
3177
1728
  currency_code?: string | undefined;
1729
+ amount?: number | undefined;
3178
1730
  min_quantity?: number | null | undefined;
3179
1731
  max_quantity?: number | null | undefined;
1732
+ rules?: Record<string, string> | undefined;
3180
1733
  }>, "many">>;
3181
1734
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
1735
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3196,77 +1749,82 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
3196
1749
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3197
1750
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3198
1751
  }, "strict", z.ZodTypeAny, {
3199
- length?: number | null | undefined;
3200
- options?: Record<string, string> | undefined;
3201
1752
  id?: string | undefined;
3202
- metadata?: Record<string, unknown> | null | undefined;
1753
+ title?: string | undefined;
3203
1754
  prices?: {
3204
1755
  id?: string | undefined;
3205
- rules?: Record<string, string> | undefined;
3206
- amount?: number | undefined;
3207
1756
  currency_code?: string | undefined;
1757
+ amount?: number | undefined;
3208
1758
  min_quantity?: number | null | undefined;
3209
1759
  max_quantity?: number | null | undefined;
1760
+ rules?: Record<string, string> | undefined;
3210
1761
  }[] | undefined;
3211
- title?: string | undefined;
3212
1762
  sku?: string | null | undefined;
1763
+ ean?: string | null | undefined;
1764
+ upc?: string | null | undefined;
3213
1765
  barcode?: string | null | undefined;
3214
- allow_backorder?: boolean | undefined;
3215
- origin_country?: string | null | undefined;
3216
1766
  hs_code?: string | null | undefined;
3217
1767
  mid_code?: string | null | undefined;
3218
- material?: string | null | undefined;
3219
- weight?: number | null | undefined;
3220
- height?: number | null | undefined;
3221
- width?: number | null | undefined;
3222
- ean?: string | null | undefined;
3223
- upc?: string | null | undefined;
1768
+ allow_backorder?: boolean | undefined;
3224
1769
  manage_inventory?: boolean | undefined;
3225
1770
  variant_rank?: number | undefined;
3226
- }, {
1771
+ weight?: number | null | undefined;
3227
1772
  length?: number | null | undefined;
1773
+ height?: number | null | undefined;
1774
+ width?: number | null | undefined;
1775
+ origin_country?: string | null | undefined;
1776
+ material?: string | null | undefined;
1777
+ metadata?: Record<string, unknown> | null | undefined;
3228
1778
  options?: Record<string, string> | undefined;
1779
+ }, {
3229
1780
  id?: string | undefined;
3230
- metadata?: Record<string, unknown> | null | undefined;
1781
+ title?: string | undefined;
3231
1782
  prices?: {
3232
1783
  id?: string | undefined;
3233
- rules?: Record<string, string> | undefined;
3234
- amount?: number | undefined;
3235
1784
  currency_code?: string | undefined;
1785
+ amount?: number | undefined;
3236
1786
  min_quantity?: number | null | undefined;
3237
1787
  max_quantity?: number | null | undefined;
1788
+ rules?: Record<string, string> | undefined;
3238
1789
  }[] | undefined;
3239
- title?: string | undefined;
3240
1790
  sku?: string | null | undefined;
1791
+ ean?: string | null | undefined;
1792
+ upc?: string | null | undefined;
3241
1793
  barcode?: string | null | undefined;
3242
- allow_backorder?: string | boolean | undefined;
3243
- origin_country?: string | null | undefined;
3244
1794
  hs_code?: string | null | undefined;
3245
1795
  mid_code?: string | null | undefined;
3246
- material?: string | null | undefined;
1796
+ allow_backorder?: string | boolean | undefined;
1797
+ manage_inventory?: string | boolean | undefined;
1798
+ variant_rank?: number | undefined;
3247
1799
  weight?: number | null | undefined;
1800
+ length?: number | null | undefined;
3248
1801
  height?: number | null | undefined;
3249
1802
  width?: number | null | undefined;
3250
- ean?: string | null | undefined;
3251
- upc?: string | null | undefined;
3252
- manage_inventory?: string | boolean | undefined;
3253
- variant_rank?: number | undefined;
1803
+ origin_country?: string | null | undefined;
1804
+ material?: string | null | undefined;
1805
+ metadata?: Record<string, unknown> | null | undefined;
1806
+ options?: Record<string, string> | undefined;
3254
1807
  }>, "many">>;
3255
- status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
3256
- subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1808
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1809
+ shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3257
1810
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3258
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
3259
- url: z.ZodString;
3260
- }, "strip", z.ZodTypeAny, {
3261
- url: string;
3262
- }, {
3263
- url: string;
3264
- }>, "many">>;
3265
- thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1811
+ title: z.ZodOptional<z.ZodString>;
1812
+ status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
3266
1813
  handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3267
- type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1814
+ is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
3268
1815
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3269
1816
  collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1817
+ type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1818
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1819
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1820
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1821
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1822
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1823
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1824
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1825
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1826
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1827
+ discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
3270
1828
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3271
1829
  id: z.ZodString;
3272
1830
  }, "strip", z.ZodTypeAny, {
@@ -3281,6 +1839,13 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
3281
1839
  }, {
3282
1840
  id: string;
3283
1841
  }>, "many">>;
1842
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1843
+ url: z.ZodString;
1844
+ }, "strip", z.ZodTypeAny, {
1845
+ url: string;
1846
+ }, {
1847
+ url: string;
1848
+ }>, "many">>;
3284
1849
  sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
3285
1850
  id: z.ZodString;
3286
1851
  }, "strip", z.ZodTypeAny, {
@@ -3288,60 +1853,49 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
3288
1853
  }, {
3289
1854
  id: string;
3290
1855
  }>, "many">>;
3291
- shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3292
- weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3293
- length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3294
- height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3295
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3296
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3297
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3298
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3299
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3300
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3301
- } & {
3302
1856
  id: z.ZodString;
3303
1857
  }, "strict", z.ZodTypeAny, {
3304
1858
  id: string;
3305
1859
  length?: number | null | undefined;
3306
1860
  options?: {
3307
- values?: string[] | undefined;
3308
1861
  id?: string | undefined;
3309
1862
  title?: string | undefined;
1863
+ values?: string[] | undefined;
3310
1864
  }[] | undefined;
3311
1865
  variants?: {
3312
- length?: number | null | undefined;
3313
- options?: Record<string, string> | undefined;
3314
1866
  id?: string | undefined;
3315
- metadata?: Record<string, unknown> | null | undefined;
1867
+ title?: string | undefined;
3316
1868
  prices?: {
3317
1869
  id?: string | undefined;
3318
- rules?: Record<string, string> | undefined;
3319
- amount?: number | undefined;
3320
1870
  currency_code?: string | undefined;
1871
+ amount?: number | undefined;
3321
1872
  min_quantity?: number | null | undefined;
3322
1873
  max_quantity?: number | null | undefined;
1874
+ rules?: Record<string, string> | undefined;
3323
1875
  }[] | undefined;
3324
- title?: string | undefined;
3325
1876
  sku?: string | null | undefined;
1877
+ ean?: string | null | undefined;
1878
+ upc?: string | null | undefined;
3326
1879
  barcode?: string | null | undefined;
3327
- allow_backorder?: boolean | undefined;
3328
- origin_country?: string | null | undefined;
3329
1880
  hs_code?: string | null | undefined;
3330
1881
  mid_code?: string | null | undefined;
3331
- material?: string | null | undefined;
1882
+ allow_backorder?: boolean | undefined;
1883
+ manage_inventory?: boolean | undefined;
1884
+ variant_rank?: number | undefined;
3332
1885
  weight?: number | null | undefined;
1886
+ length?: number | null | undefined;
3333
1887
  height?: number | null | undefined;
3334
1888
  width?: number | null | undefined;
3335
- ean?: string | null | undefined;
3336
- upc?: string | null | undefined;
3337
- manage_inventory?: boolean | undefined;
3338
- variant_rank?: number | undefined;
1889
+ origin_country?: string | null | undefined;
1890
+ material?: string | null | undefined;
1891
+ metadata?: Record<string, unknown> | null | undefined;
1892
+ options?: Record<string, string> | undefined;
3339
1893
  }[] | undefined;
3340
1894
  metadata?: Record<string, unknown> | null | undefined;
3341
1895
  shipping_profile_id?: string | null | undefined;
3342
1896
  description?: string | null | undefined;
3343
- status?: ProductStatus | undefined;
3344
1897
  title?: string | undefined;
1898
+ status?: ProductStatus | undefined;
3345
1899
  handle?: string | null | undefined;
3346
1900
  is_giftcard?: boolean | undefined;
3347
1901
  external_id?: string | null | undefined;
@@ -3373,44 +1927,44 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
3373
1927
  id: string;
3374
1928
  length?: number | null | undefined;
3375
1929
  options?: {
3376
- values?: string[] | undefined;
3377
1930
  id?: string | undefined;
3378
1931
  title?: string | undefined;
1932
+ values?: string[] | undefined;
3379
1933
  }[] | undefined;
3380
1934
  variants?: {
3381
- length?: number | null | undefined;
3382
- options?: Record<string, string> | undefined;
3383
1935
  id?: string | undefined;
3384
- metadata?: Record<string, unknown> | null | undefined;
1936
+ title?: string | undefined;
3385
1937
  prices?: {
3386
1938
  id?: string | undefined;
3387
- rules?: Record<string, string> | undefined;
3388
- amount?: number | undefined;
3389
1939
  currency_code?: string | undefined;
1940
+ amount?: number | undefined;
3390
1941
  min_quantity?: number | null | undefined;
3391
1942
  max_quantity?: number | null | undefined;
1943
+ rules?: Record<string, string> | undefined;
3392
1944
  }[] | undefined;
3393
- title?: string | undefined;
3394
1945
  sku?: string | null | undefined;
1946
+ ean?: string | null | undefined;
1947
+ upc?: string | null | undefined;
3395
1948
  barcode?: string | null | undefined;
3396
- allow_backorder?: string | boolean | undefined;
3397
- origin_country?: string | null | undefined;
3398
1949
  hs_code?: string | null | undefined;
3399
1950
  mid_code?: string | null | undefined;
3400
- material?: string | null | undefined;
1951
+ allow_backorder?: string | boolean | undefined;
1952
+ manage_inventory?: string | boolean | undefined;
1953
+ variant_rank?: number | undefined;
3401
1954
  weight?: number | null | undefined;
1955
+ length?: number | null | undefined;
3402
1956
  height?: number | null | undefined;
3403
1957
  width?: number | null | undefined;
3404
- ean?: string | null | undefined;
3405
- upc?: string | null | undefined;
3406
- manage_inventory?: string | boolean | undefined;
3407
- variant_rank?: number | undefined;
1958
+ origin_country?: string | null | undefined;
1959
+ material?: string | null | undefined;
1960
+ metadata?: Record<string, unknown> | null | undefined;
1961
+ options?: Record<string, string> | undefined;
3408
1962
  }[] | undefined;
3409
1963
  metadata?: Record<string, unknown> | null | undefined;
3410
1964
  shipping_profile_id?: string | null | undefined;
3411
1965
  description?: string | null | undefined;
3412
- status?: ProductStatus | undefined;
3413
1966
  title?: string | undefined;
1967
+ status?: ProductStatus | undefined;
3414
1968
  handle?: string | null | undefined;
3415
1969
  is_giftcard?: string | boolean | undefined;
3416
1970
  external_id?: string | null | undefined;