@medusajs/medusa 2.8.8-snapshot-20250712101342 → 2.8.8-snapshot-20250714090316

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 (120) hide show
  1. package/dist/api/admin/api-keys/validators.d.ts +13 -27
  2. package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
  3. package/dist/api/admin/campaigns/validators.d.ts +23 -37
  4. package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
  5. package/dist/api/admin/claims/validators.d.ts +64 -61
  6. package/dist/api/admin/claims/validators.d.ts.map +1 -1
  7. package/dist/api/admin/collections/validators.d.ts +14 -28
  8. package/dist/api/admin/collections/validators.d.ts.map +1 -1
  9. package/dist/api/admin/currencies/validators.d.ts +7 -21
  10. package/dist/api/admin/currencies/validators.d.ts.map +1 -1
  11. package/dist/api/admin/customer-groups/validators.d.ts +45 -59
  12. package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
  13. package/dist/api/admin/customers/validators.d.ts +44 -56
  14. package/dist/api/admin/customers/validators.d.ts.map +1 -1
  15. package/dist/api/admin/draft-orders/validators.d.ts +128 -154
  16. package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
  17. package/dist/api/admin/exchanges/validators.d.ts +52 -49
  18. package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
  19. package/dist/api/admin/fulfillment-providers/validators.d.ts +9 -7
  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 +8 -4
  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 +42 -30
  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 +68 -96
  27. package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
  28. package/dist/api/admin/invites/validators.d.ts +8 -21
  29. package/dist/api/admin/invites/validators.d.ts.map +1 -1
  30. package/dist/api/admin/notifications/validators.d.ts +7 -21
  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 +51 -46
  34. package/dist/api/admin/orders/validators.d.ts.map +1 -1
  35. package/dist/api/admin/payments/validators.d.ts +14 -42
  36. package/dist/api/admin/payments/validators.d.ts.map +1 -1
  37. package/dist/api/admin/price-lists/validators.d.ts +34 -48
  38. package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
  39. package/dist/api/admin/price-preferences/validators.d.ts +11 -25
  40. package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
  41. package/dist/api/admin/product-categories/validators.d.ts +29 -42
  42. package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
  43. package/dist/api/admin/product-tags/validators.d.ts +7 -21
  44. package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
  45. package/dist/api/admin/product-types/validators.d.ts +7 -21
  46. package/dist/api/admin/product-types/validators.d.ts.map +1 -1
  47. package/dist/api/admin/product-variants/validators.d.ts +11 -25
  48. package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
  49. package/dist/api/admin/products/validators.d.ts +477 -521
  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 +108 -119
  53. package/dist/api/admin/promotions/validators.d.ts.map +1 -1
  54. package/dist/api/admin/refund-reasons/validators.d.ts +12 -10
  55. package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
  56. package/dist/api/admin/regions/validators.d.ts +21 -35
  57. package/dist/api/admin/regions/validators.d.ts.map +1 -1
  58. package/dist/api/admin/reservations/validators.d.ts +25 -23
  59. package/dist/api/admin/reservations/validators.d.ts.map +1 -1
  60. package/dist/api/admin/return-reasons/validators.d.ts +26 -39
  61. package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
  62. package/dist/api/admin/returns/validators.d.ts +48 -45
  63. package/dist/api/admin/returns/validators.d.ts.map +1 -1
  64. package/dist/api/admin/sales-channels/validators.d.ts +29 -20
  65. package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
  66. package/dist/api/admin/shipping-options/validators.d.ts +69 -67
  67. package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
  68. package/dist/api/admin/shipping-profiles/validators.d.ts +11 -25
  69. package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
  70. package/dist/api/admin/stock-locations/validators.d.ts +59 -50
  71. package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
  72. package/dist/api/admin/stores/validators.d.ts +18 -32
  73. package/dist/api/admin/stores/validators.d.ts.map +1 -1
  74. package/dist/api/admin/tax-providers/validators.d.ts +5 -19
  75. package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
  76. package/dist/api/admin/tax-rates/validators.d.ts +22 -36
  77. package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
  78. package/dist/api/admin/tax-regions/validators.d.ts +22 -36
  79. package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
  80. package/dist/api/admin/users/validators.d.ts +15 -13
  81. package/dist/api/admin/users/validators.d.ts.map +1 -1
  82. package/dist/api/admin/workflows-executions/validators.d.ts +7 -5
  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 +10 -24
  86. package/dist/api/store/collections/validators.d.ts.map +1 -1
  87. package/dist/api/store/currencies/validators.d.ts +7 -21
  88. package/dist/api/store/currencies/validators.d.ts.map +1 -1
  89. package/dist/api/store/customers/validators.d.ts +17 -13
  90. package/dist/api/store/customers/validators.d.ts.map +1 -1
  91. package/dist/api/store/orders/validators.d.ts +5 -19
  92. package/dist/api/store/orders/validators.d.ts.map +1 -1
  93. package/dist/api/store/payment-providers/validators.d.ts +3 -1
  94. package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
  95. package/dist/api/store/product-categories/validators.d.ts +14 -27
  96. package/dist/api/store/product-categories/validators.d.ts.map +1 -1
  97. package/dist/api/store/product-tags/validators.d.ts +7 -21
  98. package/dist/api/store/product-tags/validators.d.ts.map +1 -1
  99. package/dist/api/store/product-types/validators.d.ts +7 -21
  100. package/dist/api/store/product-types/validators.d.ts.map +1 -1
  101. package/dist/api/store/products/validators.d.ts +40 -71
  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 +9 -23
  105. package/dist/api/store/regions/validators.d.ts.map +1 -1
  106. package/dist/api/store/return-reasons/validators.d.ts +3 -2
  107. package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
  108. package/dist/api/store/returns/validators.d.ts +7 -21
  109. package/dist/api/store/returns/validators.d.ts.map +1 -1
  110. package/dist/api/store/shipping-options/validators.d.ts +5 -19
  111. package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
  112. package/dist/api/utils/common-validators/common.d.ts +7 -20
  113. package/dist/api/utils/common-validators/common.d.ts.map +1 -1
  114. package/dist/api/utils/common-validators/products/index.d.ts +17 -16
  115. package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
  116. package/dist/api/utils/common-validators/products/index.js +14 -14
  117. package/dist/api/utils/common-validators/products/index.js.map +1 -1
  118. package/dist/api/utils/validators.d.ts +5 -4
  119. package/dist/api/utils/validators.d.ts.map +1 -1
  120. package/package.json +50 -50
@@ -151,33 +151,31 @@ export declare const AdminGetProductVariantsParamsFields: z.ZodObject<{
151
151
  $lte?: any;
152
152
  }>]>>;
153
153
  }, "strip", z.ZodTypeAny, {
154
- q?: string | undefined;
155
154
  id?: string | string[] | undefined;
156
- manage_inventory?: boolean | undefined;
155
+ created_at?: any;
156
+ updated_at?: any;
157
+ deleted_at?: any;
158
+ q?: string | undefined;
159
+ barcode?: string | string[] | undefined;
157
160
  allow_backorder?: boolean | undefined;
158
161
  ean?: string | string[] | undefined;
159
162
  upc?: string | string[] | undefined;
160
- barcode?: string | string[] | undefined;
163
+ manage_inventory?: boolean | undefined;
164
+ }, {
165
+ id?: string | string[] | undefined;
161
166
  created_at?: any;
162
167
  updated_at?: any;
163
168
  deleted_at?: any;
164
- }, {
165
169
  q?: string | undefined;
166
- id?: string | string[] | undefined;
167
- manage_inventory?: string | boolean | undefined;
170
+ barcode?: string | string[] | undefined;
168
171
  allow_backorder?: string | boolean | undefined;
169
172
  ean?: string | string[] | undefined;
170
173
  upc?: string | string[] | undefined;
171
- barcode?: string | string[] | undefined;
172
- created_at?: any;
173
- updated_at?: any;
174
- deleted_at?: any;
174
+ manage_inventory?: string | boolean | undefined;
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
- [x: number]: any;
180
- [x: symbol]: any;
181
179
  $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
182
180
  [x: string]: any;
183
181
  }, {
@@ -190,30 +188,16 @@ export declare const AdminGetProductVariantsParams: z.ZodObject<{
190
188
  }>, "many">>>;
191
189
  }, "strip", z.ZodTypeAny, {
192
190
  [x: string]: any;
193
- [x: number]: any;
194
- [x: symbol]: any;
195
- $and?: {
196
- [x: string]: any;
197
- }[] | undefined;
198
- $or?: {
199
- [x: string]: any;
200
- }[] | undefined;
191
+ $and?: unknown;
192
+ $or?: unknown;
201
193
  }, {
202
194
  [x: string]: any;
203
- [x: number]: any;
204
- [x: symbol]: any;
205
- $and?: {
206
- [x: string]: any;
207
- }[] | undefined;
208
- $or?: {
209
- [x: string]: any;
210
- }[] | undefined;
195
+ $and?: unknown;
196
+ $or?: unknown;
211
197
  }>;
212
198
  export declare const AdminGetProductsParamsDirectFields: z.ZodObject<{
213
- variants: z.ZodOptional<z.ZodObject<{
199
+ variants: z.ZodOptional<z.ZodObject<{} & {
214
200
  [x: string]: any;
215
- [x: number]: any;
216
- [x: symbol]: any;
217
201
  $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
218
202
  [x: string]: any;
219
203
  }, {
@@ -226,58 +210,42 @@ export declare const AdminGetProductsParamsDirectFields: z.ZodObject<{
226
210
  }>, "many">>>;
227
211
  }, "strip", z.ZodTypeAny, {
228
212
  [x: string]: any;
229
- [x: number]: any;
230
- [x: symbol]: any;
231
- $and?: {
232
- [x: string]: any;
233
- }[] | undefined;
234
- $or?: {
235
- [x: string]: any;
236
- }[] | undefined;
213
+ $and?: unknown;
214
+ $or?: unknown;
237
215
  }, {
238
216
  [x: string]: any;
239
- [x: number]: any;
240
- [x: symbol]: any;
241
- $and?: {
242
- [x: string]: any;
243
- }[] | undefined;
244
- $or?: {
245
- [x: string]: any;
246
- }[] | undefined;
217
+ $and?: unknown;
218
+ $or?: unknown;
247
219
  }>>;
248
220
  status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
249
221
  }, "strip", z.ZodTypeAny, {
250
222
  variants?: {
251
223
  [x: string]: any;
252
- [x: number]: any;
253
- [x: symbol]: any;
254
- $and?: {
255
- [x: string]: any;
256
- }[] | undefined;
257
- $or?: {
258
- [x: string]: any;
259
- }[] | undefined;
224
+ $and?: unknown;
225
+ $or?: unknown;
260
226
  } | undefined;
261
227
  status?: ProductStatus[] | undefined;
262
228
  }, {
263
229
  variants?: {
264
230
  [x: string]: any;
265
- [x: number]: any;
266
- [x: symbol]: any;
267
- $and?: {
268
- [x: string]: any;
269
- }[] | undefined;
270
- $or?: {
271
- [x: string]: any;
272
- }[] | undefined;
231
+ $and?: unknown;
232
+ $or?: unknown;
273
233
  } | undefined;
274
234
  status?: ProductStatus[] | undefined;
275
235
  }>;
276
236
  export type AdminGetProductsParamsType = z.infer<typeof AdminGetProductsParams>;
277
- export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
237
+ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
278
238
  [x: string]: any;
279
- [x: number]: any;
280
- [x: symbol]: any;
239
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
240
+ [x: string]: any;
241
+ }, {
242
+ [x: string]: any;
243
+ }>, "many">>>;
244
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
245
+ [x: string]: any;
246
+ }, {
247
+ [x: string]: any;
248
+ }>, "many">>>;
281
249
  sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
282
250
  q: z.ZodOptional<z.ZodString>;
283
251
  id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -411,58 +379,58 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
411
379
  }>]>>;
412
380
  }, "strip", z.ZodTypeAny, {
413
381
  [x: string]: any;
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;
382
+ $and?: unknown;
383
+ $or?: unknown;
384
+ sales_channel_id?: unknown;
385
+ q?: unknown;
386
+ id?: unknown;
387
+ title?: unknown;
388
+ handle?: unknown;
389
+ is_giftcard?: unknown;
390
+ category_id?: unknown;
391
+ external_id?: unknown;
392
+ collection_id?: unknown;
393
+ tag_id?: unknown;
394
+ type_id?: unknown;
395
+ created_at?: unknown;
396
+ updated_at?: unknown;
397
+ deleted_at?: unknown;
430
398
  }, {
431
399
  [x: string]: any;
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, {
400
+ $and?: unknown;
401
+ $or?: unknown;
402
+ sales_channel_id?: unknown;
403
+ q?: unknown;
404
+ id?: unknown;
405
+ title?: unknown;
406
+ handle?: unknown;
407
+ is_giftcard?: unknown;
408
+ category_id?: unknown;
409
+ external_id?: unknown;
410
+ collection_id?: unknown;
411
+ tag_id?: unknown;
412
+ type_id?: unknown;
413
+ created_at?: unknown;
414
+ updated_at?: unknown;
415
+ deleted_at?: unknown;
416
+ }>, unknown, {
449
417
  [x: string]: any;
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;
418
+ $and?: unknown;
419
+ $or?: unknown;
420
+ sales_channel_id?: unknown;
421
+ q?: unknown;
422
+ id?: unknown;
423
+ title?: unknown;
424
+ handle?: unknown;
425
+ is_giftcard?: unknown;
426
+ category_id?: unknown;
427
+ external_id?: unknown;
428
+ collection_id?: unknown;
429
+ tag_id?: unknown;
430
+ type_id?: unknown;
431
+ created_at?: unknown;
432
+ updated_at?: unknown;
433
+ deleted_at?: unknown;
466
434
  }>;
467
435
  export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
468
436
  q: z.ZodOptional<z.ZodString>;
@@ -589,25 +557,23 @@ export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
589
557
  $lte?: any;
590
558
  }>]>>;
591
559
  }, "strip", z.ZodTypeAny, {
592
- q?: string | undefined;
593
560
  id?: string | string[] | undefined;
594
- title?: string | undefined;
595
561
  created_at?: any;
596
562
  updated_at?: any;
597
563
  deleted_at?: any;
598
- }, {
564
+ title?: string | undefined;
599
565
  q?: string | undefined;
566
+ }, {
600
567
  id?: string | string[] | undefined;
601
- title?: string | undefined;
602
568
  created_at?: any;
603
569
  updated_at?: any;
604
570
  deleted_at?: any;
571
+ title?: string | undefined;
572
+ q?: string | undefined;
605
573
  }>;
606
574
  export type AdminGetProductOptionsParamsType = z.infer<typeof AdminGetProductOptionsParams>;
607
- export declare const AdminGetProductOptionsParams: z.ZodObject<{
575
+ export declare const AdminGetProductOptionsParams: z.ZodObject<{} & {
608
576
  [x: string]: any;
609
- [x: number]: any;
610
- [x: symbol]: any;
611
577
  $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
612
578
  [x: string]: any;
613
579
  }, {
@@ -620,24 +586,12 @@ export declare const AdminGetProductOptionsParams: z.ZodObject<{
620
586
  }>, "many">>>;
621
587
  }, "strip", z.ZodTypeAny, {
622
588
  [x: string]: any;
623
- [x: number]: any;
624
- [x: symbol]: any;
625
- $and?: {
626
- [x: string]: any;
627
- }[] | undefined;
628
- $or?: {
629
- [x: string]: any;
630
- }[] | undefined;
589
+ $and?: unknown;
590
+ $or?: unknown;
631
591
  }, {
632
592
  [x: string]: any;
633
- [x: number]: any;
634
- [x: symbol]: any;
635
- $and?: {
636
- [x: string]: any;
637
- }[] | undefined;
638
- $or?: {
639
- [x: string]: any;
640
- }[] | undefined;
593
+ $and?: unknown;
594
+ $or?: unknown;
641
595
  }>;
642
596
  export type AdminCreateProductTagType = z.infer<typeof AdminCreateProductTag>;
643
597
  export declare const AdminCreateProductTag: z.ZodObject<{
@@ -680,13 +634,13 @@ export declare const UpdateProductOption: z.ZodObject<{
680
634
  title: z.ZodOptional<z.ZodString>;
681
635
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
682
636
  }, "strip", z.ZodTypeAny, {
637
+ values?: string[] | undefined;
683
638
  id?: string | undefined;
684
639
  title?: string | undefined;
685
- values?: string[] | undefined;
686
640
  }, {
641
+ values?: string[] | undefined;
687
642
  id?: string | undefined;
688
643
  title?: string | undefined;
689
- values?: string[] | undefined;
690
644
  }>;
691
645
  export declare const AdminUpdateProductOption: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
692
646
  [x: string]: any;
@@ -703,15 +657,15 @@ export declare const AdminCreateVariantPrice: z.ZodObject<{
703
657
  }, "strip", z.ZodTypeAny, {
704
658
  amount: number;
705
659
  currency_code: string;
660
+ rules?: Record<string, string> | undefined;
706
661
  min_quantity?: number | null | undefined;
707
662
  max_quantity?: number | null | undefined;
708
- rules?: Record<string, string> | undefined;
709
663
  }, {
710
664
  amount: number;
711
665
  currency_code: string;
666
+ rules?: Record<string, string> | undefined;
712
667
  min_quantity?: number | null | undefined;
713
668
  max_quantity?: number | null | undefined;
714
- rules?: Record<string, string> | undefined;
715
669
  }>;
716
670
  export type AdminUpdateVariantPriceType = z.infer<typeof AdminUpdateVariantPrice>;
717
671
  export declare const AdminUpdateVariantPrice: z.ZodObject<{
@@ -723,18 +677,18 @@ export declare const AdminUpdateVariantPrice: z.ZodObject<{
723
677
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
724
678
  }, "strip", z.ZodTypeAny, {
725
679
  id?: string | undefined;
726
- currency_code?: string | undefined;
680
+ rules?: Record<string, string> | undefined;
727
681
  amount?: number | undefined;
682
+ currency_code?: string | undefined;
728
683
  min_quantity?: number | null | undefined;
729
684
  max_quantity?: number | null | undefined;
730
- rules?: Record<string, string> | undefined;
731
685
  }, {
732
686
  id?: string | undefined;
733
- currency_code?: string | undefined;
687
+ rules?: Record<string, string> | undefined;
734
688
  amount?: number | undefined;
689
+ currency_code?: string | undefined;
735
690
  min_quantity?: number | null | undefined;
736
691
  max_quantity?: number | null | undefined;
737
- rules?: Record<string, string> | undefined;
738
692
  }>;
739
693
  export type AdminCreateProductTypeType = z.infer<typeof AdminCreateProductType>;
740
694
  export declare const AdminCreateProductType: z.ZodObject<{
@@ -772,15 +726,15 @@ export declare const CreateProductVariant: z.ZodObject<{
772
726
  }, "strip", z.ZodTypeAny, {
773
727
  amount: number;
774
728
  currency_code: string;
729
+ rules?: Record<string, string> | undefined;
775
730
  min_quantity?: number | null | undefined;
776
731
  max_quantity?: number | null | undefined;
777
- rules?: Record<string, string> | undefined;
778
732
  }, {
779
733
  amount: number;
780
734
  currency_code: string;
735
+ rules?: Record<string, string> | undefined;
781
736
  min_quantity?: number | null | undefined;
782
737
  max_quantity?: number | null | undefined;
783
- rules?: Record<string, string> | undefined;
784
738
  }>, "many">;
785
739
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
786
740
  inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -797,62 +751,62 @@ export declare const CreateProductVariant: z.ZodObject<{
797
751
  prices: {
798
752
  amount: number;
799
753
  currency_code: string;
754
+ rules?: Record<string, string> | undefined;
800
755
  min_quantity?: number | null | undefined;
801
756
  max_quantity?: number | null | undefined;
802
- rules?: Record<string, string> | undefined;
803
757
  }[];
804
758
  title: string;
805
759
  allow_backorder: boolean;
806
760
  manage_inventory: boolean;
761
+ length?: number | null | undefined;
762
+ options?: Record<string, string> | undefined;
763
+ metadata?: Record<string, unknown> | null | undefined;
764
+ inventory_items?: {
765
+ inventory_item_id: string;
766
+ required_quantity: number;
767
+ }[] | undefined;
807
768
  sku?: string | null | undefined;
808
- ean?: string | null | undefined;
809
- upc?: string | null | undefined;
810
769
  barcode?: string | null | undefined;
770
+ origin_country?: string | null | undefined;
811
771
  hs_code?: string | null | undefined;
812
772
  mid_code?: string | null | undefined;
813
- variant_rank?: number | undefined;
773
+ material?: string | null | undefined;
814
774
  weight?: number | null | undefined;
815
- length?: number | null | undefined;
816
775
  height?: number | null | undefined;
817
776
  width?: number | null | 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;
777
+ ean?: string | null | undefined;
778
+ upc?: string | null | undefined;
779
+ variant_rank?: number | undefined;
826
780
  }, {
827
781
  prices: {
828
782
  amount: number;
829
783
  currency_code: string;
784
+ rules?: Record<string, string> | undefined;
830
785
  min_quantity?: number | null | undefined;
831
786
  max_quantity?: number | null | undefined;
832
- rules?: Record<string, string> | undefined;
833
787
  }[];
834
788
  title: string;
789
+ length?: number | null | undefined;
790
+ options?: Record<string, string> | undefined;
791
+ metadata?: Record<string, unknown> | null | undefined;
792
+ inventory_items?: {
793
+ inventory_item_id: string;
794
+ required_quantity: number;
795
+ }[] | undefined;
835
796
  sku?: string | null | undefined;
836
- ean?: string | null | undefined;
837
- upc?: string | null | undefined;
838
797
  barcode?: string | null | undefined;
798
+ allow_backorder?: string | boolean | undefined;
799
+ origin_country?: string | null | undefined;
839
800
  hs_code?: string | null | undefined;
840
801
  mid_code?: string | null | undefined;
841
- allow_backorder?: string | boolean | undefined;
842
- manage_inventory?: string | boolean | undefined;
843
- variant_rank?: number | undefined;
802
+ material?: string | null | undefined;
844
803
  weight?: number | null | undefined;
845
- length?: number | null | undefined;
846
804
  height?: number | null | undefined;
847
805
  width?: number | null | 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;
806
+ ean?: string | null | undefined;
807
+ upc?: string | null | undefined;
808
+ manage_inventory?: string | boolean | undefined;
809
+ variant_rank?: number | undefined;
856
810
  }>;
857
811
  export declare const AdminCreateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
858
812
  [x: string]: any;
@@ -872,18 +826,18 @@ export declare const UpdateProductVariant: z.ZodObject<{
872
826
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
873
827
  }, "strip", z.ZodTypeAny, {
874
828
  id?: string | undefined;
875
- currency_code?: string | undefined;
829
+ rules?: Record<string, string> | undefined;
876
830
  amount?: number | undefined;
831
+ currency_code?: string | undefined;
877
832
  min_quantity?: number | null | undefined;
878
833
  max_quantity?: number | null | undefined;
879
- rules?: Record<string, string> | undefined;
880
834
  }, {
881
835
  id?: string | undefined;
882
- currency_code?: string | undefined;
836
+ rules?: Record<string, string> | undefined;
883
837
  amount?: number | undefined;
838
+ currency_code?: string | undefined;
884
839
  min_quantity?: number | null | undefined;
885
840
  max_quantity?: number | null | undefined;
886
- rules?: Record<string, string> | undefined;
887
841
  }>, "many">>;
888
842
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
843
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -903,61 +857,61 @@ export declare const UpdateProductVariant: z.ZodObject<{
903
857
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
904
858
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
905
859
  }, "strict", z.ZodTypeAny, {
860
+ length?: number | null | undefined;
861
+ options?: Record<string, string> | undefined;
906
862
  id?: string | undefined;
907
- title?: string | undefined;
863
+ metadata?: Record<string, unknown> | null | undefined;
908
864
  prices?: {
909
865
  id?: string | undefined;
910
- currency_code?: string | undefined;
866
+ rules?: Record<string, string> | undefined;
911
867
  amount?: number | undefined;
868
+ currency_code?: string | undefined;
912
869
  min_quantity?: number | null | undefined;
913
870
  max_quantity?: number | null | undefined;
914
- rules?: Record<string, string> | undefined;
915
871
  }[] | undefined;
872
+ title?: string | undefined;
916
873
  sku?: string | null | undefined;
917
- ean?: string | null | undefined;
918
- upc?: string | null | undefined;
919
874
  barcode?: string | null | undefined;
875
+ allow_backorder?: boolean | undefined;
876
+ origin_country?: string | null | undefined;
920
877
  hs_code?: string | null | undefined;
921
878
  mid_code?: string | null | undefined;
922
- allow_backorder?: boolean | undefined;
923
- manage_inventory?: boolean | undefined;
924
- variant_rank?: number | undefined;
879
+ material?: string | null | undefined;
925
880
  weight?: number | null | undefined;
926
- length?: number | null | undefined;
927
881
  height?: number | null | undefined;
928
882
  width?: number | null | undefined;
929
- origin_country?: string | null | undefined;
930
- material?: string | null | undefined;
931
- metadata?: Record<string, unknown> | null | undefined;
932
- options?: Record<string, string> | undefined;
883
+ ean?: string | null | undefined;
884
+ upc?: string | null | undefined;
885
+ manage_inventory?: boolean | undefined;
886
+ variant_rank?: number | undefined;
933
887
  }, {
888
+ length?: number | null | undefined;
889
+ options?: Record<string, string> | undefined;
934
890
  id?: string | undefined;
935
- title?: string | undefined;
891
+ metadata?: Record<string, unknown> | null | undefined;
936
892
  prices?: {
937
893
  id?: string | undefined;
938
- currency_code?: string | undefined;
894
+ rules?: Record<string, string> | undefined;
939
895
  amount?: number | undefined;
896
+ currency_code?: string | undefined;
940
897
  min_quantity?: number | null | undefined;
941
898
  max_quantity?: number | null | undefined;
942
- rules?: Record<string, string> | undefined;
943
899
  }[] | undefined;
900
+ title?: string | undefined;
944
901
  sku?: string | null | undefined;
945
- ean?: string | null | undefined;
946
- upc?: string | null | undefined;
947
902
  barcode?: string | null | undefined;
903
+ allow_backorder?: string | boolean | undefined;
904
+ origin_country?: string | null | undefined;
948
905
  hs_code?: string | null | undefined;
949
906
  mid_code?: string | null | undefined;
950
- allow_backorder?: string | boolean | undefined;
951
- manage_inventory?: string | boolean | undefined;
952
- variant_rank?: number | undefined;
907
+ material?: string | null | undefined;
953
908
  weight?: number | null | undefined;
954
- length?: number | null | undefined;
955
909
  height?: number | null | undefined;
956
910
  width?: number | null | 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;
911
+ ean?: string | null | undefined;
912
+ upc?: string | null | undefined;
913
+ manage_inventory?: string | boolean | undefined;
914
+ variant_rank?: number | undefined;
961
915
  }>;
962
916
  export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
963
917
  [x: string]: any;
@@ -966,9 +920,7 @@ export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.Zod
966
920
  }> | z.ZodEffects<any, any, any>;
967
921
  export type AdminBatchUpdateProductVariantType = z.infer<typeof AdminBatchUpdateProductVariant>;
968
922
  export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
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>>>;
923
+ title: z.ZodOptional<z.ZodString>;
972
924
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
973
925
  id: z.ZodOptional<z.ZodString>;
974
926
  currency_code: z.ZodOptional<z.ZodString>;
@@ -978,34 +930,37 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
978
930
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
979
931
  }, "strip", z.ZodTypeAny, {
980
932
  id?: string | undefined;
981
- currency_code?: string | undefined;
933
+ rules?: Record<string, string> | undefined;
982
934
  amount?: number | undefined;
935
+ currency_code?: string | undefined;
983
936
  min_quantity?: number | null | undefined;
984
937
  max_quantity?: number | null | undefined;
985
- rules?: Record<string, string> | undefined;
986
938
  }, {
987
939
  id?: string | undefined;
988
- currency_code?: string | undefined;
940
+ rules?: Record<string, string> | undefined;
989
941
  amount?: number | undefined;
942
+ currency_code?: string | undefined;
990
943
  min_quantity?: number | null | undefined;
991
944
  max_quantity?: number | null | undefined;
992
- rules?: Record<string, string> | undefined;
993
945
  }>, "many">>;
994
- title: z.ZodOptional<z.ZodString>;
995
946
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
+ ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
996
949
  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>>;
999
950
  hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1000
951
  mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
952
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
953
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
954
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1002
955
  weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
956
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1003
957
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1004
958
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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>;
959
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
961
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
962
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
963
+ } & {
1009
964
  id: z.ZodString;
1010
965
  }, "strict", z.ZodTypeAny, {
1011
966
  id: string;
@@ -1014,11 +969,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
1014
969
  metadata?: Record<string, unknown> | null | undefined;
1015
970
  prices?: {
1016
971
  id?: string | undefined;
1017
- currency_code?: string | undefined;
972
+ rules?: Record<string, string> | undefined;
1018
973
  amount?: number | undefined;
974
+ currency_code?: string | undefined;
1019
975
  min_quantity?: number | null | undefined;
1020
976
  max_quantity?: number | null | undefined;
1021
- rules?: Record<string, string> | undefined;
1022
977
  }[] | undefined;
1023
978
  title?: string | undefined;
1024
979
  sku?: string | null | undefined;
@@ -1042,11 +997,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
1042
997
  metadata?: Record<string, unknown> | null | undefined;
1043
998
  prices?: {
1044
999
  id?: string | undefined;
1045
- currency_code?: string | undefined;
1000
+ rules?: Record<string, string> | undefined;
1046
1001
  amount?: number | undefined;
1002
+ currency_code?: string | undefined;
1047
1003
  min_quantity?: number | null | undefined;
1048
1004
  max_quantity?: number | null | undefined;
1049
- rules?: Record<string, string> | undefined;
1050
1005
  }[] | undefined;
1051
1006
  title?: string | undefined;
1052
1007
  sku?: string | null | undefined;
@@ -1142,15 +1097,15 @@ export declare const CreateProduct: z.ZodObject<{
1142
1097
  }, "strip", z.ZodTypeAny, {
1143
1098
  amount: number;
1144
1099
  currency_code: string;
1100
+ rules?: Record<string, string> | undefined;
1145
1101
  min_quantity?: number | null | undefined;
1146
1102
  max_quantity?: number | null | undefined;
1147
- rules?: Record<string, string> | undefined;
1148
1103
  }, {
1149
1104
  amount: number;
1150
1105
  currency_code: string;
1106
+ rules?: Record<string, string> | undefined;
1151
1107
  min_quantity?: number | null | undefined;
1152
1108
  max_quantity?: number | null | undefined;
1153
- rules?: Record<string, string> | undefined;
1154
1109
  }>, "many">;
1155
1110
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1156
1111
  inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1167,62 +1122,62 @@ export declare const CreateProduct: z.ZodObject<{
1167
1122
  prices: {
1168
1123
  amount: number;
1169
1124
  currency_code: string;
1125
+ rules?: Record<string, string> | undefined;
1170
1126
  min_quantity?: number | null | undefined;
1171
1127
  max_quantity?: number | null | undefined;
1172
- rules?: Record<string, string> | undefined;
1173
1128
  }[];
1174
1129
  title: string;
1175
1130
  allow_backorder: boolean;
1176
1131
  manage_inventory: boolean;
1132
+ length?: number | null | undefined;
1133
+ options?: Record<string, string> | undefined;
1134
+ metadata?: Record<string, unknown> | null | undefined;
1135
+ inventory_items?: {
1136
+ inventory_item_id: string;
1137
+ required_quantity: number;
1138
+ }[] | undefined;
1177
1139
  sku?: string | null | undefined;
1178
- ean?: string | null | undefined;
1179
- upc?: string | null | undefined;
1180
1140
  barcode?: string | null | undefined;
1141
+ origin_country?: string | null | undefined;
1181
1142
  hs_code?: string | null | undefined;
1182
1143
  mid_code?: string | null | undefined;
1183
- variant_rank?: number | undefined;
1144
+ material?: string | null | undefined;
1184
1145
  weight?: number | null | undefined;
1185
- length?: number | null | undefined;
1186
1146
  height?: number | null | undefined;
1187
1147
  width?: number | null | 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;
1148
+ ean?: string | null | undefined;
1149
+ upc?: string | null | undefined;
1150
+ variant_rank?: number | undefined;
1196
1151
  }, {
1197
1152
  prices: {
1198
1153
  amount: number;
1199
1154
  currency_code: string;
1155
+ rules?: Record<string, string> | undefined;
1200
1156
  min_quantity?: number | null | undefined;
1201
1157
  max_quantity?: number | null | undefined;
1202
- rules?: Record<string, string> | undefined;
1203
1158
  }[];
1204
1159
  title: string;
1160
+ length?: number | null | undefined;
1161
+ options?: Record<string, string> | undefined;
1162
+ metadata?: Record<string, unknown> | null | undefined;
1163
+ inventory_items?: {
1164
+ inventory_item_id: string;
1165
+ required_quantity: number;
1166
+ }[] | undefined;
1205
1167
  sku?: string | null | undefined;
1206
- ean?: string | null | undefined;
1207
- upc?: string | null | undefined;
1208
1168
  barcode?: string | null | undefined;
1169
+ allow_backorder?: string | boolean | undefined;
1170
+ origin_country?: string | null | undefined;
1209
1171
  hs_code?: string | null | undefined;
1210
1172
  mid_code?: string | null | undefined;
1211
- allow_backorder?: string | boolean | undefined;
1212
- manage_inventory?: string | boolean | undefined;
1213
- variant_rank?: number | undefined;
1173
+ material?: string | null | undefined;
1214
1174
  weight?: number | null | undefined;
1215
- length?: number | null | undefined;
1216
1175
  height?: number | null | undefined;
1217
1176
  width?: number | null | 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;
1177
+ ean?: string | null | undefined;
1178
+ upc?: string | null | undefined;
1179
+ manage_inventory?: string | boolean | undefined;
1180
+ variant_rank?: number | undefined;
1226
1181
  }>, "many">>;
1227
1182
  sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1228
1183
  id: z.ZodString;
@@ -1242,26 +1197,11 @@ export declare const CreateProduct: z.ZodObject<{
1242
1197
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1243
1198
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1244
1199
  }, "strict", z.ZodTypeAny, {
1245
- title: string;
1246
1200
  status: ProductStatus | null;
1201
+ title: string;
1247
1202
  is_giftcard: boolean;
1248
1203
  discountable: boolean;
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;
1204
+ length?: number | null | undefined;
1265
1205
  options?: {
1266
1206
  values: string[];
1267
1207
  title: string;
@@ -1270,67 +1210,64 @@ export declare const CreateProduct: z.ZodObject<{
1270
1210
  prices: {
1271
1211
  amount: number;
1272
1212
  currency_code: string;
1213
+ rules?: Record<string, string> | undefined;
1273
1214
  min_quantity?: number | null | undefined;
1274
1215
  max_quantity?: number | null | undefined;
1275
- rules?: Record<string, string> | undefined;
1276
1216
  }[];
1277
1217
  title: string;
1278
1218
  allow_backorder: boolean;
1279
1219
  manage_inventory: boolean;
1220
+ length?: number | null | undefined;
1221
+ options?: Record<string, string> | undefined;
1222
+ metadata?: Record<string, unknown> | null | undefined;
1223
+ inventory_items?: {
1224
+ inventory_item_id: string;
1225
+ required_quantity: number;
1226
+ }[] | undefined;
1280
1227
  sku?: string | null | undefined;
1281
- ean?: string | null | undefined;
1282
- upc?: string | null | undefined;
1283
1228
  barcode?: string | null | undefined;
1229
+ origin_country?: string | null | undefined;
1284
1230
  hs_code?: string | null | undefined;
1285
1231
  mid_code?: string | null | undefined;
1286
- variant_rank?: number | undefined;
1232
+ material?: string | null | undefined;
1287
1233
  weight?: number | null | undefined;
1288
- length?: number | null | undefined;
1289
1234
  height?: number | null | undefined;
1290
1235
  width?: number | null | 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;
1236
+ ean?: string | null | undefined;
1237
+ upc?: string | null | undefined;
1238
+ variant_rank?: number | undefined;
1302
1239
  }[] | undefined;
1303
- shipping_profile_id?: string | undefined;
1304
- weight?: number | null | undefined;
1305
- length?: number | null | undefined;
1306
- height?: number | null | undefined;
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
1240
  metadata?: Record<string, unknown> | null | undefined;
1313
- }, {
1314
- title: string;
1315
- subtitle?: string | null | undefined;
1241
+ shipping_profile_id?: string | undefined;
1316
1242
  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
1243
  handle?: string | undefined;
1324
- status?: ProductStatus | null | undefined;
1325
1244
  external_id?: string | null | undefined;
1326
- type_id?: string | null | undefined;
1327
1245
  collection_id?: string | null | undefined;
1246
+ type_id?: string | null | undefined;
1247
+ thumbnail?: string | null | undefined;
1248
+ origin_country?: string | null | undefined;
1249
+ hs_code?: string | null | undefined;
1250
+ mid_code?: string | null | undefined;
1251
+ material?: string | null | undefined;
1252
+ weight?: number | null | undefined;
1253
+ height?: number | null | undefined;
1254
+ width?: number | null | undefined;
1255
+ subtitle?: string | null | undefined;
1328
1256
  categories?: {
1329
1257
  id: string;
1330
1258
  }[] | undefined;
1331
1259
  tags?: {
1332
1260
  id: string;
1333
1261
  }[] | undefined;
1262
+ images?: {
1263
+ url: string;
1264
+ }[] | undefined;
1265
+ sales_channels?: {
1266
+ id: string;
1267
+ }[] | undefined;
1268
+ }, {
1269
+ title: string;
1270
+ length?: number | null | undefined;
1334
1271
  options?: {
1335
1272
  values: string[];
1336
1273
  title: string;
@@ -1339,46 +1276,64 @@ export declare const CreateProduct: z.ZodObject<{
1339
1276
  prices: {
1340
1277
  amount: number;
1341
1278
  currency_code: string;
1279
+ rules?: Record<string, string> | undefined;
1342
1280
  min_quantity?: number | null | undefined;
1343
1281
  max_quantity?: number | null | undefined;
1344
- rules?: Record<string, string> | undefined;
1345
1282
  }[];
1346
1283
  title: string;
1284
+ length?: number | null | undefined;
1285
+ options?: Record<string, string> | undefined;
1286
+ metadata?: Record<string, unknown> | null | undefined;
1287
+ inventory_items?: {
1288
+ inventory_item_id: string;
1289
+ required_quantity: number;
1290
+ }[] | undefined;
1347
1291
  sku?: string | null | undefined;
1348
- ean?: string | null | undefined;
1349
- upc?: string | null | undefined;
1350
1292
  barcode?: string | null | undefined;
1293
+ allow_backorder?: string | boolean | undefined;
1294
+ origin_country?: string | null | undefined;
1351
1295
  hs_code?: string | null | undefined;
1352
1296
  mid_code?: string | null | undefined;
1353
- allow_backorder?: string | boolean | undefined;
1354
- manage_inventory?: string | boolean | undefined;
1355
- variant_rank?: number | undefined;
1297
+ material?: string | null | undefined;
1356
1298
  weight?: number | null | undefined;
1357
- length?: number | null | undefined;
1358
1299
  height?: number | null | undefined;
1359
1300
  width?: number | null | 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;
1301
+ ean?: string | null | undefined;
1302
+ upc?: string | null | undefined;
1303
+ manage_inventory?: string | boolean | undefined;
1304
+ variant_rank?: number | undefined;
1371
1305
  }[] | undefined;
1306
+ metadata?: Record<string, unknown> | null | undefined;
1372
1307
  shipping_profile_id?: string | undefined;
1373
- weight?: number | null | undefined;
1374
- length?: number | null | undefined;
1375
- height?: number | null | undefined;
1376
- width?: number | null | undefined;
1308
+ description?: string | null | undefined;
1309
+ status?: ProductStatus | null | undefined;
1310
+ handle?: string | undefined;
1311
+ is_giftcard?: string | boolean | undefined;
1312
+ external_id?: string | null | undefined;
1313
+ collection_id?: string | null | undefined;
1314
+ type_id?: string | null | undefined;
1315
+ thumbnail?: string | null | undefined;
1316
+ origin_country?: string | null | undefined;
1377
1317
  hs_code?: string | null | undefined;
1378
1318
  mid_code?: string | null | undefined;
1379
- origin_country?: string | null | undefined;
1380
1319
  material?: string | null | undefined;
1381
- metadata?: Record<string, unknown> | null | undefined;
1320
+ weight?: number | null | undefined;
1321
+ height?: number | null | undefined;
1322
+ width?: number | null | undefined;
1323
+ subtitle?: string | null | undefined;
1324
+ discountable?: string | boolean | undefined;
1325
+ categories?: {
1326
+ id: string;
1327
+ }[] | undefined;
1328
+ tags?: {
1329
+ id: string;
1330
+ }[] | undefined;
1331
+ images?: {
1332
+ url: string;
1333
+ }[] | undefined;
1334
+ sales_channels?: {
1335
+ id: string;
1336
+ }[] | undefined;
1382
1337
  }>;
1383
1338
  export declare const AdminCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1384
1339
  [x: string]: any;
@@ -1395,13 +1350,13 @@ export declare const UpdateProduct: z.ZodObject<{
1395
1350
  title: z.ZodOptional<z.ZodString>;
1396
1351
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1397
1352
  }, "strip", z.ZodTypeAny, {
1353
+ values?: string[] | undefined;
1398
1354
  id?: string | undefined;
1399
1355
  title?: string | undefined;
1400
- values?: string[] | undefined;
1401
1356
  }, {
1357
+ values?: string[] | undefined;
1402
1358
  id?: string | undefined;
1403
1359
  title?: string | undefined;
1404
- values?: string[] | undefined;
1405
1360
  }>, "many">>;
1406
1361
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1407
1362
  id: z.ZodOptional<z.ZodString>;
@@ -1415,18 +1370,18 @@ export declare const UpdateProduct: z.ZodObject<{
1415
1370
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1416
1371
  }, "strip", z.ZodTypeAny, {
1417
1372
  id?: string | undefined;
1418
- currency_code?: string | undefined;
1373
+ rules?: Record<string, string> | undefined;
1419
1374
  amount?: number | undefined;
1375
+ currency_code?: string | undefined;
1420
1376
  min_quantity?: number | null | undefined;
1421
1377
  max_quantity?: number | null | undefined;
1422
- rules?: Record<string, string> | undefined;
1423
1378
  }, {
1424
1379
  id?: string | undefined;
1425
- currency_code?: string | undefined;
1380
+ rules?: Record<string, string> | undefined;
1426
1381
  amount?: number | undefined;
1382
+ currency_code?: string | undefined;
1427
1383
  min_quantity?: number | null | undefined;
1428
1384
  max_quantity?: number | null | undefined;
1429
- rules?: Record<string, string> | undefined;
1430
1385
  }>, "many">>;
1431
1386
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1432
1387
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1446,61 +1401,61 @@ export declare const UpdateProduct: z.ZodObject<{
1446
1401
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1447
1402
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1448
1403
  }, "strict", z.ZodTypeAny, {
1404
+ length?: number | null | undefined;
1405
+ options?: Record<string, string> | undefined;
1449
1406
  id?: string | undefined;
1450
- title?: string | undefined;
1407
+ metadata?: Record<string, unknown> | null | undefined;
1451
1408
  prices?: {
1452
1409
  id?: string | undefined;
1453
- currency_code?: string | undefined;
1410
+ rules?: Record<string, string> | undefined;
1454
1411
  amount?: number | undefined;
1412
+ currency_code?: string | undefined;
1455
1413
  min_quantity?: number | null | undefined;
1456
1414
  max_quantity?: number | null | undefined;
1457
- rules?: Record<string, string> | undefined;
1458
1415
  }[] | undefined;
1416
+ title?: string | undefined;
1459
1417
  sku?: string | null | undefined;
1460
- ean?: string | null | undefined;
1461
- upc?: string | null | undefined;
1462
1418
  barcode?: string | null | undefined;
1419
+ allow_backorder?: boolean | undefined;
1420
+ origin_country?: string | null | undefined;
1463
1421
  hs_code?: string | null | undefined;
1464
1422
  mid_code?: string | null | undefined;
1465
- allow_backorder?: boolean | undefined;
1466
- manage_inventory?: boolean | undefined;
1467
- variant_rank?: number | undefined;
1423
+ material?: string | null | undefined;
1468
1424
  weight?: number | null | undefined;
1469
- length?: number | null | undefined;
1470
1425
  height?: number | null | undefined;
1471
1426
  width?: number | null | undefined;
1472
- origin_country?: string | null | undefined;
1473
- material?: string | null | undefined;
1474
- metadata?: Record<string, unknown> | null | undefined;
1475
- options?: Record<string, string> | undefined;
1476
- }, {
1477
- id?: string | undefined;
1478
- title?: string | undefined;
1427
+ ean?: string | null | undefined;
1428
+ upc?: string | null | undefined;
1429
+ manage_inventory?: boolean | undefined;
1430
+ variant_rank?: number | undefined;
1431
+ }, {
1432
+ length?: number | null | undefined;
1433
+ options?: Record<string, string> | undefined;
1434
+ id?: string | undefined;
1435
+ metadata?: Record<string, unknown> | null | undefined;
1479
1436
  prices?: {
1480
1437
  id?: string | undefined;
1481
- currency_code?: string | undefined;
1438
+ rules?: Record<string, string> | undefined;
1482
1439
  amount?: number | undefined;
1440
+ currency_code?: string | undefined;
1483
1441
  min_quantity?: number | null | undefined;
1484
1442
  max_quantity?: number | null | undefined;
1485
- rules?: Record<string, string> | undefined;
1486
1443
  }[] | undefined;
1444
+ title?: string | undefined;
1487
1445
  sku?: string | null | undefined;
1488
- ean?: string | null | undefined;
1489
- upc?: string | null | undefined;
1490
1446
  barcode?: string | null | undefined;
1447
+ allow_backorder?: string | boolean | undefined;
1448
+ origin_country?: string | null | undefined;
1491
1449
  hs_code?: string | null | undefined;
1492
1450
  mid_code?: string | null | undefined;
1493
- allow_backorder?: string | boolean | undefined;
1494
- manage_inventory?: string | boolean | undefined;
1495
- variant_rank?: number | undefined;
1451
+ material?: string | null | undefined;
1496
1452
  weight?: number | null | undefined;
1497
- length?: number | null | undefined;
1498
1453
  height?: number | null | undefined;
1499
1454
  width?: number | null | 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;
1455
+ ean?: string | null | undefined;
1456
+ upc?: string | null | undefined;
1457
+ manage_inventory?: string | boolean | undefined;
1458
+ variant_rank?: number | undefined;
1504
1459
  }>, "many">>;
1505
1460
  status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
1506
1461
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1549,141 +1504,141 @@ export declare const UpdateProduct: z.ZodObject<{
1549
1504
  material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1550
1505
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1551
1506
  }, "strict", z.ZodTypeAny, {
1552
- title?: string | undefined;
1553
- discountable?: boolean | undefined;
1554
- is_giftcard?: boolean | undefined;
1507
+ length?: number | null | undefined;
1555
1508
  options?: {
1509
+ values?: string[] | undefined;
1556
1510
  id?: string | undefined;
1557
1511
  title?: string | undefined;
1558
- values?: string[] | undefined;
1559
1512
  }[] | undefined;
1560
1513
  variants?: {
1514
+ length?: number | null | undefined;
1515
+ options?: Record<string, string> | undefined;
1561
1516
  id?: string | undefined;
1562
- title?: string | undefined;
1517
+ metadata?: Record<string, unknown> | null | undefined;
1563
1518
  prices?: {
1564
1519
  id?: string | undefined;
1565
- currency_code?: string | undefined;
1520
+ rules?: Record<string, string> | undefined;
1566
1521
  amount?: number | undefined;
1522
+ currency_code?: string | undefined;
1567
1523
  min_quantity?: number | null | undefined;
1568
1524
  max_quantity?: number | null | undefined;
1569
- rules?: Record<string, string> | undefined;
1570
1525
  }[] | undefined;
1526
+ title?: string | undefined;
1571
1527
  sku?: string | null | undefined;
1572
- ean?: string | null | undefined;
1573
- upc?: string | null | undefined;
1574
1528
  barcode?: string | null | undefined;
1529
+ allow_backorder?: boolean | undefined;
1530
+ origin_country?: string | null | undefined;
1575
1531
  hs_code?: string | null | undefined;
1576
1532
  mid_code?: string | null | undefined;
1577
- allow_backorder?: boolean | undefined;
1578
- manage_inventory?: boolean | undefined;
1579
- variant_rank?: number | undefined;
1533
+ material?: string | null | undefined;
1580
1534
  weight?: number | null | undefined;
1581
- length?: number | null | undefined;
1582
1535
  height?: number | null | undefined;
1583
1536
  width?: number | null | 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;
1537
+ ean?: string | null | undefined;
1538
+ upc?: string | null | undefined;
1539
+ manage_inventory?: boolean | undefined;
1540
+ variant_rank?: number | undefined;
1588
1541
  }[] | undefined;
1589
- status?: ProductStatus | undefined;
1590
- subtitle?: string | null | undefined;
1542
+ metadata?: Record<string, unknown> | null | undefined;
1543
+ shipping_profile_id?: string | null | undefined;
1591
1544
  description?: string | null | undefined;
1592
- images?: {
1593
- url: string;
1594
- }[] | undefined;
1595
- thumbnail?: string | null | undefined;
1545
+ status?: ProductStatus | undefined;
1546
+ title?: string | undefined;
1596
1547
  handle?: string | null | undefined;
1597
- type_id?: string | null | undefined;
1548
+ is_giftcard?: boolean | undefined;
1598
1549
  external_id?: string | null | undefined;
1599
1550
  collection_id?: string | null | undefined;
1551
+ type_id?: string | null | undefined;
1552
+ thumbnail?: string | null | undefined;
1553
+ origin_country?: string | null | undefined;
1554
+ hs_code?: string | null | undefined;
1555
+ mid_code?: string | null | undefined;
1556
+ material?: string | null | undefined;
1557
+ weight?: number | null | undefined;
1558
+ height?: number | null | undefined;
1559
+ width?: number | null | undefined;
1560
+ subtitle?: string | null | undefined;
1561
+ discountable?: boolean | undefined;
1600
1562
  categories?: {
1601
1563
  id: string;
1602
1564
  }[] | undefined;
1603
1565
  tags?: {
1604
1566
  id: string;
1605
1567
  }[] | undefined;
1568
+ images?: {
1569
+ url: string;
1570
+ }[] | undefined;
1606
1571
  sales_channels?: {
1607
1572
  id: string;
1608
1573
  }[] | undefined;
1609
- shipping_profile_id?: string | null | undefined;
1610
- weight?: number | null | undefined;
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
1574
  }, {
1620
- title?: string | undefined;
1621
- discountable?: string | boolean | undefined;
1622
- is_giftcard?: string | boolean | undefined;
1575
+ length?: number | null | undefined;
1623
1576
  options?: {
1577
+ values?: string[] | undefined;
1624
1578
  id?: string | undefined;
1625
1579
  title?: string | undefined;
1626
- values?: string[] | undefined;
1627
1580
  }[] | undefined;
1628
1581
  variants?: {
1582
+ length?: number | null | undefined;
1583
+ options?: Record<string, string> | undefined;
1629
1584
  id?: string | undefined;
1630
- title?: string | undefined;
1585
+ metadata?: Record<string, unknown> | null | undefined;
1631
1586
  prices?: {
1632
1587
  id?: string | undefined;
1633
- currency_code?: string | undefined;
1588
+ rules?: Record<string, string> | undefined;
1634
1589
  amount?: number | undefined;
1590
+ currency_code?: string | undefined;
1635
1591
  min_quantity?: number | null | undefined;
1636
1592
  max_quantity?: number | null | undefined;
1637
- rules?: Record<string, string> | undefined;
1638
1593
  }[] | undefined;
1594
+ title?: string | undefined;
1639
1595
  sku?: string | null | undefined;
1640
- ean?: string | null | undefined;
1641
- upc?: string | null | undefined;
1642
1596
  barcode?: string | null | undefined;
1597
+ allow_backorder?: string | boolean | undefined;
1598
+ origin_country?: string | null | undefined;
1643
1599
  hs_code?: string | null | undefined;
1644
1600
  mid_code?: string | null | undefined;
1645
- allow_backorder?: string | boolean | undefined;
1646
- manage_inventory?: string | boolean | undefined;
1647
- variant_rank?: number | undefined;
1601
+ material?: string | null | undefined;
1648
1602
  weight?: number | null | undefined;
1649
- length?: number | null | undefined;
1650
1603
  height?: number | null | undefined;
1651
1604
  width?: number | null | 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;
1605
+ ean?: string | null | undefined;
1606
+ upc?: string | null | undefined;
1607
+ manage_inventory?: string | boolean | undefined;
1608
+ variant_rank?: number | undefined;
1656
1609
  }[] | undefined;
1657
- status?: ProductStatus | undefined;
1658
- subtitle?: string | null | undefined;
1610
+ metadata?: Record<string, unknown> | null | undefined;
1611
+ shipping_profile_id?: string | null | undefined;
1659
1612
  description?: string | null | undefined;
1660
- images?: {
1661
- url: string;
1662
- }[] | undefined;
1663
- thumbnail?: string | null | undefined;
1613
+ status?: ProductStatus | undefined;
1614
+ title?: string | undefined;
1664
1615
  handle?: string | null | undefined;
1665
- type_id?: string | null | undefined;
1616
+ is_giftcard?: string | boolean | undefined;
1666
1617
  external_id?: string | null | undefined;
1667
1618
  collection_id?: string | null | undefined;
1619
+ type_id?: string | null | undefined;
1620
+ thumbnail?: string | null | undefined;
1621
+ origin_country?: string | null | undefined;
1622
+ hs_code?: string | null | undefined;
1623
+ mid_code?: string | null | undefined;
1624
+ material?: string | null | undefined;
1625
+ weight?: number | null | undefined;
1626
+ height?: number | null | undefined;
1627
+ width?: number | null | undefined;
1628
+ subtitle?: string | null | undefined;
1629
+ discountable?: string | boolean | undefined;
1668
1630
  categories?: {
1669
1631
  id: string;
1670
1632
  }[] | undefined;
1671
1633
  tags?: {
1672
1634
  id: string;
1673
1635
  }[] | undefined;
1636
+ images?: {
1637
+ url: string;
1638
+ }[] | undefined;
1674
1639
  sales_channels?: {
1675
1640
  id: string;
1676
1641
  }[] | 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;
1687
1642
  }>;
1688
1643
  export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1689
1644
  [x: string]: any;
@@ -1692,19 +1647,21 @@ export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptiona
1692
1647
  }> | z.ZodEffects<any, any, any>;
1693
1648
  export type AdminBatchUpdateProductType = z.infer<typeof AdminBatchUpdateProduct>;
1694
1649
  export declare const AdminBatchUpdateProduct: z.ZodObject<{
1695
- length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1650
+ title: z.ZodOptional<z.ZodString>;
1651
+ discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1652
+ is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1696
1653
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1697
1654
  id: z.ZodOptional<z.ZodString>;
1698
1655
  title: z.ZodOptional<z.ZodString>;
1699
1656
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1700
1657
  }, "strip", z.ZodTypeAny, {
1658
+ values?: string[] | undefined;
1701
1659
  id?: string | undefined;
1702
1660
  title?: string | undefined;
1703
- values?: string[] | undefined;
1704
1661
  }, {
1662
+ values?: string[] | undefined;
1705
1663
  id?: string | undefined;
1706
1664
  title?: string | undefined;
1707
- values?: string[] | undefined;
1708
1665
  }>, "many">>;
1709
1666
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1710
1667
  id: z.ZodOptional<z.ZodString>;
@@ -1718,18 +1675,18 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
1718
1675
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1719
1676
  }, "strip", z.ZodTypeAny, {
1720
1677
  id?: string | undefined;
1721
- currency_code?: string | undefined;
1678
+ rules?: Record<string, string> | undefined;
1722
1679
  amount?: number | undefined;
1680
+ currency_code?: string | undefined;
1723
1681
  min_quantity?: number | null | undefined;
1724
1682
  max_quantity?: number | null | undefined;
1725
- rules?: Record<string, string> | undefined;
1726
1683
  }, {
1727
1684
  id?: string | undefined;
1728
- currency_code?: string | undefined;
1685
+ rules?: Record<string, string> | undefined;
1729
1686
  amount?: number | undefined;
1687
+ currency_code?: string | undefined;
1730
1688
  min_quantity?: number | null | undefined;
1731
1689
  max_quantity?: number | null | undefined;
1732
- rules?: Record<string, string> | undefined;
1733
1690
  }>, "many">>;
1734
1691
  sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1735
1692
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1749,82 +1706,77 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
1749
1706
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1750
1707
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1751
1708
  }, "strict", z.ZodTypeAny, {
1709
+ length?: number | null | undefined;
1710
+ options?: Record<string, string> | undefined;
1752
1711
  id?: string | undefined;
1753
- title?: string | undefined;
1712
+ metadata?: Record<string, unknown> | null | undefined;
1754
1713
  prices?: {
1755
1714
  id?: string | undefined;
1756
- currency_code?: string | undefined;
1715
+ rules?: Record<string, string> | undefined;
1757
1716
  amount?: number | undefined;
1717
+ currency_code?: string | undefined;
1758
1718
  min_quantity?: number | null | undefined;
1759
1719
  max_quantity?: number | null | undefined;
1760
- rules?: Record<string, string> | undefined;
1761
1720
  }[] | undefined;
1721
+ title?: string | undefined;
1762
1722
  sku?: string | null | undefined;
1763
- ean?: string | null | undefined;
1764
- upc?: string | null | undefined;
1765
1723
  barcode?: string | null | undefined;
1724
+ allow_backorder?: boolean | undefined;
1725
+ origin_country?: string | null | undefined;
1766
1726
  hs_code?: string | null | undefined;
1767
1727
  mid_code?: string | null | undefined;
1768
- allow_backorder?: boolean | undefined;
1769
- manage_inventory?: boolean | undefined;
1770
- variant_rank?: number | undefined;
1728
+ material?: string | null | undefined;
1771
1729
  weight?: number | null | undefined;
1772
- length?: number | null | undefined;
1773
1730
  height?: number | null | undefined;
1774
1731
  width?: number | null | undefined;
1775
- origin_country?: string | null | undefined;
1776
- material?: string | null | undefined;
1777
- metadata?: Record<string, unknown> | null | undefined;
1778
- options?: Record<string, string> | undefined;
1732
+ ean?: string | null | undefined;
1733
+ upc?: string | null | undefined;
1734
+ manage_inventory?: boolean | undefined;
1735
+ variant_rank?: number | undefined;
1779
1736
  }, {
1737
+ length?: number | null | undefined;
1738
+ options?: Record<string, string> | undefined;
1780
1739
  id?: string | undefined;
1781
- title?: string | undefined;
1740
+ metadata?: Record<string, unknown> | null | undefined;
1782
1741
  prices?: {
1783
1742
  id?: string | undefined;
1784
- currency_code?: string | undefined;
1743
+ rules?: Record<string, string> | undefined;
1785
1744
  amount?: number | undefined;
1745
+ currency_code?: string | undefined;
1786
1746
  min_quantity?: number | null | undefined;
1787
1747
  max_quantity?: number | null | undefined;
1788
- rules?: Record<string, string> | undefined;
1789
1748
  }[] | undefined;
1749
+ title?: string | undefined;
1790
1750
  sku?: string | null | undefined;
1791
- ean?: string | null | undefined;
1792
- upc?: string | null | undefined;
1793
1751
  barcode?: string | null | undefined;
1752
+ allow_backorder?: string | boolean | undefined;
1753
+ origin_country?: string | null | undefined;
1794
1754
  hs_code?: string | null | undefined;
1795
1755
  mid_code?: string | null | undefined;
1796
- allow_backorder?: string | boolean | undefined;
1797
- manage_inventory?: string | boolean | undefined;
1798
- variant_rank?: number | undefined;
1756
+ material?: string | null | undefined;
1799
1757
  weight?: number | null | undefined;
1800
- length?: number | null | undefined;
1801
1758
  height?: number | null | undefined;
1802
1759
  width?: number | null | 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;
1760
+ ean?: string | null | undefined;
1761
+ upc?: string | null | undefined;
1762
+ manage_inventory?: string | boolean | undefined;
1763
+ variant_rank?: number | undefined;
1807
1764
  }>, "many">>;
1808
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1809
- shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1810
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1811
- title: z.ZodOptional<z.ZodString>;
1812
1765
  status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
1766
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1767
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1768
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1769
+ url: z.ZodString;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ url: string;
1772
+ }, {
1773
+ url: string;
1774
+ }>, "many">>;
1775
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1813
1776
  handle: 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>>;
1777
+ type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1815
1778
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1816
1779
  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>>;
1828
1780
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1829
1781
  id: z.ZodString;
1830
1782
  }, "strip", z.ZodTypeAny, {
@@ -1839,13 +1791,6 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
1839
1791
  }, {
1840
1792
  id: string;
1841
1793
  }>, "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">>;
1849
1794
  sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1850
1795
  id: z.ZodString;
1851
1796
  }, "strip", z.ZodTypeAny, {
@@ -1853,49 +1798,60 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
1853
1798
  }, {
1854
1799
  id: string;
1855
1800
  }>, "many">>;
1801
+ shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1802
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1803
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1804
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1805
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1806
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1807
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1808
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1809
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1810
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1811
+ } & {
1856
1812
  id: z.ZodString;
1857
1813
  }, "strict", z.ZodTypeAny, {
1858
1814
  id: string;
1859
1815
  length?: number | null | undefined;
1860
1816
  options?: {
1817
+ values?: string[] | undefined;
1861
1818
  id?: string | undefined;
1862
1819
  title?: string | undefined;
1863
- values?: string[] | undefined;
1864
1820
  }[] | undefined;
1865
1821
  variants?: {
1822
+ length?: number | null | undefined;
1823
+ options?: Record<string, string> | undefined;
1866
1824
  id?: string | undefined;
1867
- title?: string | undefined;
1825
+ metadata?: Record<string, unknown> | null | undefined;
1868
1826
  prices?: {
1869
1827
  id?: string | undefined;
1870
- currency_code?: string | undefined;
1828
+ rules?: Record<string, string> | undefined;
1871
1829
  amount?: number | undefined;
1830
+ currency_code?: string | undefined;
1872
1831
  min_quantity?: number | null | undefined;
1873
1832
  max_quantity?: number | null | undefined;
1874
- rules?: Record<string, string> | undefined;
1875
1833
  }[] | undefined;
1834
+ title?: string | undefined;
1876
1835
  sku?: string | null | undefined;
1877
- ean?: string | null | undefined;
1878
- upc?: string | null | undefined;
1879
1836
  barcode?: string | null | undefined;
1837
+ allow_backorder?: boolean | undefined;
1838
+ origin_country?: string | null | undefined;
1880
1839
  hs_code?: string | null | undefined;
1881
1840
  mid_code?: string | null | undefined;
1882
- allow_backorder?: boolean | undefined;
1883
- manage_inventory?: boolean | undefined;
1884
- variant_rank?: number | undefined;
1841
+ material?: string | null | undefined;
1885
1842
  weight?: number | null | undefined;
1886
- length?: number | null | undefined;
1887
1843
  height?: number | null | undefined;
1888
1844
  width?: number | null | 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;
1845
+ ean?: string | null | undefined;
1846
+ upc?: string | null | undefined;
1847
+ manage_inventory?: boolean | undefined;
1848
+ variant_rank?: number | undefined;
1893
1849
  }[] | undefined;
1894
1850
  metadata?: Record<string, unknown> | null | undefined;
1895
1851
  shipping_profile_id?: string | null | undefined;
1896
1852
  description?: string | null | undefined;
1897
- title?: string | undefined;
1898
1853
  status?: ProductStatus | undefined;
1854
+ title?: string | undefined;
1899
1855
  handle?: string | null | undefined;
1900
1856
  is_giftcard?: boolean | undefined;
1901
1857
  external_id?: string | null | undefined;
@@ -1927,44 +1883,44 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
1927
1883
  id: string;
1928
1884
  length?: number | null | undefined;
1929
1885
  options?: {
1886
+ values?: string[] | undefined;
1930
1887
  id?: string | undefined;
1931
1888
  title?: string | undefined;
1932
- values?: string[] | undefined;
1933
1889
  }[] | undefined;
1934
1890
  variants?: {
1891
+ length?: number | null | undefined;
1892
+ options?: Record<string, string> | undefined;
1935
1893
  id?: string | undefined;
1936
- title?: string | undefined;
1894
+ metadata?: Record<string, unknown> | null | undefined;
1937
1895
  prices?: {
1938
1896
  id?: string | undefined;
1939
- currency_code?: string | undefined;
1897
+ rules?: Record<string, string> | undefined;
1940
1898
  amount?: number | undefined;
1899
+ currency_code?: string | undefined;
1941
1900
  min_quantity?: number | null | undefined;
1942
1901
  max_quantity?: number | null | undefined;
1943
- rules?: Record<string, string> | undefined;
1944
1902
  }[] | undefined;
1903
+ title?: string | undefined;
1945
1904
  sku?: string | null | undefined;
1946
- ean?: string | null | undefined;
1947
- upc?: string | null | undefined;
1948
1905
  barcode?: string | null | undefined;
1906
+ allow_backorder?: string | boolean | undefined;
1907
+ origin_country?: string | null | undefined;
1949
1908
  hs_code?: string | null | undefined;
1950
1909
  mid_code?: string | null | undefined;
1951
- allow_backorder?: string | boolean | undefined;
1952
- manage_inventory?: string | boolean | undefined;
1953
- variant_rank?: number | undefined;
1910
+ material?: string | null | undefined;
1954
1911
  weight?: number | null | undefined;
1955
- length?: number | null | undefined;
1956
1912
  height?: number | null | undefined;
1957
1913
  width?: number | null | 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;
1914
+ ean?: string | null | undefined;
1915
+ upc?: string | null | undefined;
1916
+ manage_inventory?: string | boolean | undefined;
1917
+ variant_rank?: number | undefined;
1962
1918
  }[] | undefined;
1963
1919
  metadata?: Record<string, unknown> | null | undefined;
1964
1920
  shipping_profile_id?: string | null | undefined;
1965
1921
  description?: string | null | undefined;
1966
- title?: string | undefined;
1967
1922
  status?: ProductStatus | undefined;
1923
+ title?: string | undefined;
1968
1924
  handle?: string | null | undefined;
1969
1925
  is_giftcard?: string | boolean | undefined;
1970
1926
  external_id?: string | null | undefined;