@mercurjs/admin 2.3.5 → 2.3.6-canary.1

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 (77) hide show
  1. package/dist/{attribute-create-7YTZXJV4.js → attribute-create-C435ZHB2.js} +2 -2
  2. package/dist/{attribute-detail-SXF6Z3B7.js → attribute-detail-SPYDB3I5.js} +1 -1
  3. package/dist/{attribute-edit-4HMUAWXB.js → attribute-edit-AAEAOP5B.js} +2 -2
  4. package/dist/{attribute-edit-possible-value-RVXOKCBF.js → attribute-edit-possible-value-BJSQCTNO.js} +2 -2
  5. package/dist/{category-detail-ADUIZLD2.js → category-detail-GVEDFNM7.js} +5 -5
  6. package/dist/{category-products-QKO7R74I.js → category-products-VVF5NXCE.js} +4 -4
  7. package/dist/{chunk-BJT7DXPM.js → chunk-3KRUGI6C.js} +1 -1
  8. package/dist/{chunk-3AJ26Y7Y.js → chunk-5SNW2DCY.js} +2 -2
  9. package/dist/{chunk-O4VAUFC4.js → chunk-5TIADRZ7.js} +1 -1
  10. package/dist/{chunk-43UJRKIQ.js → chunk-6AQYZWOC.js} +3 -3
  11. package/dist/{chunk-P2L3454Z.js → chunk-6P7HBAUM.js} +2 -2
  12. package/dist/{chunk-2PEUXNN2.js → chunk-6UYV7B42.js} +1 -1
  13. package/dist/{chunk-XAF5YRCD.js → chunk-7ECQXPOG.js} +2 -1
  14. package/dist/{chunk-MJUHCGUM.js → chunk-7I7G5ZJE.js} +2 -2
  15. package/dist/{chunk-X66JG3MJ.js → chunk-7YBZ2PEZ.js} +2 -2
  16. package/dist/{chunk-XUSQNYGA.js → chunk-A2UTT4YX.js} +1 -1
  17. package/dist/{chunk-FOOFDZXP.js → chunk-B6KT5U7W.js} +2 -2
  18. package/dist/{chunk-GLMIYNXS.js → chunk-BQZ5P3IA.js} +3 -3
  19. package/dist/{chunk-P2LX6VRL.js → chunk-BZPOERWW.js} +12 -8
  20. package/dist/{chunk-SRF2L4MR.js → chunk-D7E6HL5O.js} +2 -2
  21. package/dist/{chunk-XG6V24T7.js → chunk-EJGGX3ON.js} +2 -2
  22. package/dist/{chunk-6CIWAMKA.js → chunk-ENKVW7JW.js} +4 -4
  23. package/dist/{chunk-GAOSCJQT.js → chunk-G2KWNZV6.js} +1 -1
  24. package/dist/{chunk-AYDWW5IL.js → chunk-HFM6N7R3.js} +2 -2
  25. package/dist/{chunk-4WCI7Z2E.js → chunk-KWFSBUD6.js} +1405 -1396
  26. package/dist/{chunk-GDLOID54.js → chunk-MM5RRCPX.js} +1 -1
  27. package/dist/{chunk-3NZGVRWE.js → chunk-NCDKLTDP.js} +3 -3
  28. package/dist/{chunk-XY22AUN2.js → chunk-NQEXDESI.js} +2 -2
  29. package/dist/{chunk-7CUMT7BE.js → chunk-OWWE5Y6T.js} +1 -1
  30. package/dist/{chunk-EPIFCCE7.js → chunk-QEBISX7V.js} +1 -1
  31. package/dist/{chunk-YBFLE6HW.js → chunk-R2ODJ3D3.js} +2 -2
  32. package/dist/{chunk-CVHSVKHR.js → chunk-VE5FQQTG.js} +1 -1
  33. package/dist/{chunk-RJTMPBRN.js → chunk-VVIJHBKM.js} +1 -1
  34. package/dist/{chunk-OPLFDHKG.js → chunk-W62DN2I2.js} +5 -5
  35. package/dist/{chunk-CVTRLAPB.js → chunk-XMIDY45X.js} +1 -1
  36. package/dist/{chunk-DIF3LIGG.js → chunk-YUL4ES52.js} +1 -1
  37. package/dist/{collection-add-products-O57OBPNL.js → collection-add-products-HCY2YT3W.js} +4 -4
  38. package/dist/{collection-detail-MTKPUOT5.js → collection-detail-QAEPOJZX.js} +5 -5
  39. package/dist/{collection-list-KHLO6D2Q.js → collection-list-AWLZYMWL.js} +4 -4
  40. package/dist/index.css +45 -0
  41. package/dist/index.d.ts +1 -1
  42. package/dist/index.js +583 -586
  43. package/dist/{inventory-stock-ASIGAL2Z.js → inventory-stock-PZ2ENOGF.js} +2 -2
  44. package/dist/{location-fulfillment-providers-JSO4KA2L.js → location-fulfillment-providers-XIYMIEFN.js} +2 -2
  45. package/dist/{offer-detail-page-DYTD4MGP.js → offer-detail-page-WWEUCEFC.js} +1 -1
  46. package/dist/{offer-variant-detail-page-YBQ3ZDCK.js → offer-variant-detail-page-FVJE5WLV.js} +1 -1
  47. package/dist/{offers-ICELN2UZ.js → offers-VG334CFD.js} +3 -3
  48. package/dist/{order-list-ZACAUPST.js → order-list-I6JZT6JK.js} +2 -2
  49. package/dist/pages/index.d.ts +365 -1658
  50. package/dist/pages/index.js +27 -27
  51. package/dist/{price-list-create-2KEYK2ER.js → price-list-create-JFXLTNOJ.js} +5 -5
  52. package/dist/{price-list-detail-NTQSV6BX.js → price-list-detail-5YTX66KF.js} +4 -4
  53. package/dist/{price-list-prices-add-IRV2A5IW.js → price-list-prices-add-HVTEQOWQ.js} +5 -5
  54. package/dist/{price-list-prices-edit-QQUJPIUM.js → price-list-prices-edit-OVHIDATP.js} +1 -1
  55. package/dist/{product-add-existing-attributes-2HXY7KGZ.js → product-add-existing-attributes-2UFTXE2N.js} +2 -2
  56. package/dist/{product-create-2YWZX7DK.js → product-create-SHIGHLQN.js} +3 -3
  57. package/dist/{product-create-attribute-CXCDBUF6.js → product-create-attribute-QYRCPUFC.js} +1 -1
  58. package/dist/{product-create-variant-E2SEV4Q4.js → product-create-variant-MZLHG5JF.js} +3 -3
  59. package/dist/{product-detail-HHOTRDUN.js → product-detail-UGSTCK7J.js} +2 -2
  60. package/dist/{product-list-6AHYHRAJ.js → product-list-XDJB3HX7.js} +5 -5
  61. package/dist/{product-media-RHIHFK55.js → product-media-CO3F57JT.js} +2 -2
  62. package/dist/{product-tag-detail-MTCL2XBF.js → product-tag-detail-CDSYBTAM.js} +6 -6
  63. package/dist/{product-tag-list-LTBWGZWV.js → product-tag-list-RKLCU3UE.js} +6 -6
  64. package/dist/{product-type-detail-GOG3FDY5.js → product-type-detail-IY7TWXUQ.js} +5 -5
  65. package/dist/{product-variant-edit-TB2VC63E.js → product-variant-edit-4DPXTYPT.js} +3 -3
  66. package/dist/{refund-reason-list-EBG7CCYY.js → refund-reason-list-ABRFC3OQ.js} +5 -5
  67. package/dist/{return-reason-list-OQBRH3PU.js → return-reason-list-6MQKG72S.js} +5 -5
  68. package/dist/{sales-channel-add-products-BGV3V327.js → sales-channel-add-products-MPJ7UCEJ.js} +4 -4
  69. package/dist/{sales-channel-detail-V2VBFNLX.js → sales-channel-detail-F37LBP6R.js} +5 -5
  70. package/dist/{store-bulk-edit-3RHVHSYO.js → store-bulk-edit-NBWZMDP7.js} +1 -1
  71. package/dist/{store-details-TEWRGD33.js → store-details-ITYKAZSI.js} +5 -5
  72. package/dist/{store-edit-NVILHPML.js → store-edit-NZMI7PNS.js} +2 -2
  73. package/dist/{store-list-IHQUDNWF.js → store-list-RXPN3VVO.js} +4 -4
  74. package/dist/{store-member-invite-FUWVTF6K.js → store-member-invite-IEUG54XA.js} +1 -1
  75. package/dist/{tax-region-tax-override-create-W7WLHFR3.js → tax-region-tax-override-create-Z6S43XQ6.js} +6 -6
  76. package/dist/{tax-region-tax-override-edit-GPE6K7HE.js → tax-region-tax-override-edit-4EOURL2M.js} +6 -6
  77. package/package.json +12 -12
@@ -153,80 +153,29 @@ type CreateCategorySchema = z.infer<typeof CreateCategorySchema>;
153
153
  declare const CreateCategorySchema: z.ZodObject<{
154
154
  rank: z.ZodNullable<z.ZodNumber>;
155
155
  parent_category_id: z.ZodNullable<z.ZodString>;
156
- } & {
157
156
  name: z.ZodString;
158
157
  description: z.ZodOptional<z.ZodString>;
159
158
  handle: z.ZodOptional<z.ZodString>;
160
- status: z.ZodEnum<["active", "inactive"]>;
161
- visibility: z.ZodEnum<["public", "internal"]>;
159
+ status: z.ZodEnum<{
160
+ active: "active";
161
+ inactive: "inactive";
162
+ }>;
163
+ visibility: z.ZodEnum<{
164
+ public: "public";
165
+ internal: "internal";
166
+ }>;
162
167
  media: z.ZodOptional<z.ZodArray<z.ZodObject<{
163
168
  url: z.ZodString;
164
169
  file: z.ZodNullable<z.ZodAny>;
165
170
  is_thumbnail: z.ZodBoolean;
166
171
  is_banner: z.ZodBoolean;
167
172
  field_id: z.ZodOptional<z.ZodString>;
168
- }, "strip", z.ZodTypeAny, {
169
- url: string;
170
- is_thumbnail: boolean;
171
- is_banner: boolean;
172
- file?: any;
173
- field_id?: string | undefined;
174
- }, {
175
- url: string;
176
- is_thumbnail: boolean;
177
- is_banner: boolean;
178
- file?: any;
179
- field_id?: string | undefined;
180
- }>, "many">>;
173
+ }, z.core.$strip>>>;
181
174
  icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
182
175
  url: z.ZodString;
183
176
  file: z.ZodNullable<z.ZodAny>;
184
- }, "strip", z.ZodTypeAny, {
185
- url: string;
186
- file?: any;
187
- }, {
188
- url: string;
189
- file?: any;
190
- }>>>;
191
- }, "strip", z.ZodTypeAny, {
192
- status: "active" | "inactive";
193
- rank: number | null;
194
- name: string;
195
- parent_category_id: string | null;
196
- visibility: "public" | "internal";
197
- description?: string | undefined;
198
- handle?: string | undefined;
199
- media?: {
200
- url: string;
201
- is_thumbnail: boolean;
202
- is_banner: boolean;
203
- file?: any;
204
- field_id?: string | undefined;
205
- }[] | undefined;
206
- icon?: {
207
- url: string;
208
- file?: any;
209
- } | null | undefined;
210
- }, {
211
- status: "active" | "inactive";
212
- rank: number | null;
213
- name: string;
214
- parent_category_id: string | null;
215
- visibility: "public" | "internal";
216
- description?: string | undefined;
217
- handle?: string | undefined;
218
- media?: {
219
- url: string;
220
- is_thumbnail: boolean;
221
- is_banner: boolean;
222
- file?: any;
223
- field_id?: string | undefined;
224
- }[] | undefined;
225
- icon?: {
226
- url: string;
227
- file?: any;
228
- } | null | undefined;
229
- }>;
177
+ }, z.core.$strip>>>;
178
+ }, z.core.$strip>;
230
179
 
231
180
  type CreateCategorySchemaType = z.infer<typeof CreateCategorySchema>;
232
181
 
@@ -242,46 +191,46 @@ declare const CategoryCreatePage: (({ children }: {
242
191
  DetailsTab: {
243
192
  (): react_jsx_runtime.JSX.Element;
244
193
  _tabMeta: TabDefinition<{
245
- status: "active" | "inactive";
246
194
  rank: number | null;
247
- name: string;
248
195
  parent_category_id: string | null;
196
+ name: string;
197
+ status: "active" | "inactive";
249
198
  visibility: "public" | "internal";
250
199
  description?: string | undefined;
251
200
  handle?: string | undefined;
252
201
  media?: {
253
202
  url: string;
203
+ file: any;
254
204
  is_thumbnail: boolean;
255
205
  is_banner: boolean;
256
- file?: any;
257
206
  field_id?: string | undefined;
258
207
  }[] | undefined;
259
208
  icon?: {
260
209
  url: string;
261
- file?: any;
210
+ file: any;
262
211
  } | null | undefined;
263
212
  }>;
264
213
  };
265
214
  OrganizeTab: {
266
215
  (): react_jsx_runtime.JSX.Element;
267
216
  _tabMeta: TabDefinition<{
268
- status: "active" | "inactive";
269
217
  rank: number | null;
270
- name: string;
271
218
  parent_category_id: string | null;
219
+ name: string;
220
+ status: "active" | "inactive";
272
221
  visibility: "public" | "internal";
273
222
  description?: string | undefined;
274
223
  handle?: string | undefined;
275
224
  media?: {
276
225
  url: string;
226
+ file: any;
277
227
  is_thumbnail: boolean;
278
228
  is_banner: boolean;
279
- file?: any;
280
229
  field_id?: string | undefined;
281
230
  }[] | undefined;
282
231
  icon?: {
283
232
  url: string;
284
- file?: any;
233
+ file: any;
285
234
  } | null | undefined;
286
235
  }>;
287
236
  };
@@ -498,196 +447,30 @@ type CreateShippingOptionSchema = z.infer<typeof CreateShippingOptionSchema>;
498
447
  declare const CreateShippingOptionSchema: z.ZodObject<{
499
448
  region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
500
449
  currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
501
- } & {
502
450
  name: z.ZodString;
503
- price_type: z.ZodNativeEnum<typeof ShippingOptionPriceType>;
451
+ price_type: z.ZodEnum<typeof ShippingOptionPriceType>;
504
452
  enabled_in_store: z.ZodBoolean;
505
453
  shipping_profile_id: z.ZodString;
506
454
  provider_id: z.ZodString;
507
455
  fulfillment_option_id: z.ZodString;
508
456
  shipping_option_type_id: z.ZodString;
509
- } & {
510
- conditional_region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
511
- amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
512
- gte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
513
- lte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
457
+ conditional_region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodObject<{
458
+ amount: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
459
+ gte: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
460
+ lte: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
514
461
  lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
515
462
  gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
516
463
  eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
517
- }, "strip", z.ZodTypeAny, {
518
- amount: string | number;
519
- eq?: number | null | undefined;
520
- gt?: number | null | undefined;
521
- lt?: number | null | undefined;
522
- lte?: string | number | null | undefined;
523
- gte?: string | number | null | undefined;
524
- }, {
525
- amount: string | number;
526
- eq?: number | null | undefined;
527
- gt?: number | null | undefined;
528
- lt?: number | null | undefined;
529
- lte?: string | number | null | undefined;
530
- gte?: string | number | null | undefined;
531
- }>, {
532
- amount: string | number;
533
- eq?: number | null | undefined;
534
- gt?: number | null | undefined;
535
- lt?: number | null | undefined;
536
- lte?: string | number | null | undefined;
537
- gte?: string | number | null | undefined;
538
- }, {
539
- amount: string | number;
540
- eq?: number | null | undefined;
541
- gt?: number | null | undefined;
542
- lt?: number | null | undefined;
543
- lte?: string | number | null | undefined;
544
- gte?: string | number | null | undefined;
545
- }>, {
546
- amount: string | number;
547
- eq?: number | null | undefined;
548
- gt?: number | null | undefined;
549
- lt?: number | null | undefined;
550
- lte?: string | number | null | undefined;
551
- gte?: string | number | null | undefined;
552
- }, {
553
- amount: string | number;
554
- eq?: number | null | undefined;
555
- gt?: number | null | undefined;
556
- lt?: number | null | undefined;
557
- lte?: string | number | null | undefined;
558
- gte?: string | number | null | undefined;
559
- }>, {
560
- amount: string | number;
561
- eq?: number | null | undefined;
562
- gt?: number | null | undefined;
563
- lt?: number | null | undefined;
564
- lte?: string | number | null | undefined;
565
- gte?: string | number | null | undefined;
566
- }, {
567
- amount: string | number;
568
- eq?: number | null | undefined;
569
- gt?: number | null | undefined;
570
- lt?: number | null | undefined;
571
- lte?: string | number | null | undefined;
572
- gte?: string | number | null | undefined;
573
- }>, "many">>>;
574
- conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
575
- amount: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
576
- gte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
577
- lte: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
464
+ }, z.core.$strip>>>>;
465
+ conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodObject<{
466
+ amount: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
467
+ gte: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
468
+ lte: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
578
469
  lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
579
470
  gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
580
471
  eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
581
- }, "strip", z.ZodTypeAny, {
582
- amount: string | number;
583
- eq?: number | null | undefined;
584
- gt?: number | null | undefined;
585
- lt?: number | null | undefined;
586
- lte?: string | number | null | undefined;
587
- gte?: string | number | null | undefined;
588
- }, {
589
- amount: string | number;
590
- eq?: number | null | undefined;
591
- gt?: number | null | undefined;
592
- lt?: number | null | undefined;
593
- lte?: string | number | null | undefined;
594
- gte?: string | number | null | undefined;
595
- }>, {
596
- amount: string | number;
597
- eq?: number | null | undefined;
598
- gt?: number | null | undefined;
599
- lt?: number | null | undefined;
600
- lte?: string | number | null | undefined;
601
- gte?: string | number | null | undefined;
602
- }, {
603
- amount: string | number;
604
- eq?: number | null | undefined;
605
- gt?: number | null | undefined;
606
- lt?: number | null | undefined;
607
- lte?: string | number | null | undefined;
608
- gte?: string | number | null | undefined;
609
- }>, {
610
- amount: string | number;
611
- eq?: number | null | undefined;
612
- gt?: number | null | undefined;
613
- lt?: number | null | undefined;
614
- lte?: string | number | null | undefined;
615
- gte?: string | number | null | undefined;
616
- }, {
617
- amount: string | number;
618
- eq?: number | null | undefined;
619
- gt?: number | null | undefined;
620
- lt?: number | null | undefined;
621
- lte?: string | number | null | undefined;
622
- gte?: string | number | null | undefined;
623
- }>, {
624
- amount: string | number;
625
- eq?: number | null | undefined;
626
- gt?: number | null | undefined;
627
- lt?: number | null | undefined;
628
- lte?: string | number | null | undefined;
629
- gte?: string | number | null | undefined;
630
- }, {
631
- amount: string | number;
632
- eq?: number | null | undefined;
633
- gt?: number | null | undefined;
634
- lt?: number | null | undefined;
635
- lte?: string | number | null | undefined;
636
- gte?: string | number | null | undefined;
637
- }>, "many">>>;
638
- }, "strip", z.ZodTypeAny, {
639
- shipping_profile_id: string;
640
- name: string;
641
- provider_id: string;
642
- enabled_in_store: boolean;
643
- price_type: ShippingOptionPriceType;
644
- shipping_option_type_id: string;
645
- currency_prices: Record<string, string | undefined>;
646
- region_prices: Record<string, string | undefined>;
647
- fulfillment_option_id: string;
648
- conditional_region_prices: Record<string, {
649
- amount: string | number;
650
- eq?: number | null | undefined;
651
- gt?: number | null | undefined;
652
- lt?: number | null | undefined;
653
- lte?: string | number | null | undefined;
654
- gte?: string | number | null | undefined;
655
- }[] | undefined>;
656
- conditional_currency_prices: Record<string, {
657
- amount: string | number;
658
- eq?: number | null | undefined;
659
- gt?: number | null | undefined;
660
- lt?: number | null | undefined;
661
- lte?: string | number | null | undefined;
662
- gte?: string | number | null | undefined;
663
- }[] | undefined>;
664
- }, {
665
- shipping_profile_id: string;
666
- name: string;
667
- provider_id: string;
668
- enabled_in_store: boolean;
669
- price_type: ShippingOptionPriceType;
670
- shipping_option_type_id: string;
671
- currency_prices: Record<string, string | undefined>;
672
- region_prices: Record<string, string | undefined>;
673
- fulfillment_option_id: string;
674
- conditional_region_prices: Record<string, {
675
- amount: string | number;
676
- eq?: number | null | undefined;
677
- gt?: number | null | undefined;
678
- lt?: number | null | undefined;
679
- lte?: string | number | null | undefined;
680
- gte?: string | number | null | undefined;
681
- }[] | undefined>;
682
- conditional_currency_prices: Record<string, {
683
- amount: string | number;
684
- eq?: number | null | undefined;
685
- gt?: number | null | undefined;
686
- lt?: number | null | undefined;
687
- lte?: string | number | null | undefined;
688
- gte?: string | number | null | undefined;
689
- }[] | undefined>;
690
- }>;
472
+ }, z.core.$strip>>>>;
473
+ }, z.core.$strip>;
691
474
 
692
475
  type CreateShippingOptionSchemaType = z.infer<typeof CreateShippingOptionSchema>;
693
476
  type CreateShippingOptionFormProps = {
@@ -715,30 +498,30 @@ declare const ShippingOptionCreatePage: (({ children }: {
715
498
  type: FulfillmentSetType;
716
499
  }): react_jsx_runtime.JSX.Element;
717
500
  _tabMeta: TabDefinition<{
718
- shipping_profile_id: string;
501
+ region_prices: Record<string, string | undefined>;
502
+ currency_prices: Record<string, string | undefined>;
719
503
  name: string;
720
- provider_id: string;
721
- enabled_in_store: boolean;
722
504
  price_type: ShippingOptionPriceType;
723
- shipping_option_type_id: string;
724
- currency_prices: Record<string, string | undefined>;
725
- region_prices: Record<string, string | undefined>;
505
+ enabled_in_store: boolean;
506
+ shipping_profile_id: string;
507
+ provider_id: string;
726
508
  fulfillment_option_id: string;
509
+ shipping_option_type_id: string;
727
510
  conditional_region_prices: Record<string, {
728
511
  amount: string | number;
729
- eq?: number | null | undefined;
730
- gt?: number | null | undefined;
731
- lt?: number | null | undefined;
732
- lte?: string | number | null | undefined;
733
512
  gte?: string | number | null | undefined;
513
+ lte?: string | number | null | undefined;
514
+ lt?: number | null | undefined;
515
+ gt?: number | null | undefined;
516
+ eq?: number | null | undefined;
734
517
  }[] | undefined>;
735
518
  conditional_currency_prices: Record<string, {
736
519
  amount: string | number;
737
- eq?: number | null | undefined;
738
- gt?: number | null | undefined;
739
- lt?: number | null | undefined;
740
- lte?: string | number | null | undefined;
741
520
  gte?: string | number | null | undefined;
521
+ lte?: string | number | null | undefined;
522
+ lt?: number | null | undefined;
523
+ gt?: number | null | undefined;
524
+ eq?: number | null | undefined;
742
525
  }[] | undefined>;
743
526
  }>;
744
527
  };
@@ -747,30 +530,30 @@ declare const ShippingOptionCreatePage: (({ children }: {
747
530
  type: FulfillmentSetType;
748
531
  }): react_jsx_runtime.JSX.Element;
749
532
  _tabMeta: TabDefinition<{
750
- shipping_profile_id: string;
533
+ region_prices: Record<string, string | undefined>;
534
+ currency_prices: Record<string, string | undefined>;
751
535
  name: string;
752
- provider_id: string;
753
- enabled_in_store: boolean;
754
536
  price_type: ShippingOptionPriceType;
755
- shipping_option_type_id: string;
756
- currency_prices: Record<string, string | undefined>;
757
- region_prices: Record<string, string | undefined>;
537
+ enabled_in_store: boolean;
538
+ shipping_profile_id: string;
539
+ provider_id: string;
758
540
  fulfillment_option_id: string;
541
+ shipping_option_type_id: string;
759
542
  conditional_region_prices: Record<string, {
760
543
  amount: string | number;
761
- eq?: number | null | undefined;
762
- gt?: number | null | undefined;
763
- lt?: number | null | undefined;
764
- lte?: string | number | null | undefined;
765
544
  gte?: string | number | null | undefined;
545
+ lte?: string | number | null | undefined;
546
+ lt?: number | null | undefined;
547
+ gt?: number | null | undefined;
548
+ eq?: number | null | undefined;
766
549
  }[] | undefined>;
767
550
  conditional_currency_prices: Record<string, {
768
551
  amount: string | number;
769
- eq?: number | null | undefined;
770
- gt?: number | null | undefined;
771
- lt?: number | null | undefined;
772
- lte?: string | number | null | undefined;
773
552
  gte?: string | number | null | undefined;
553
+ lte?: string | number | null | undefined;
554
+ lt?: number | null | undefined;
555
+ gt?: number | null | undefined;
556
+ eq?: number | null | undefined;
774
557
  }[] | undefined>;
775
558
  }>;
776
559
  };
@@ -906,128 +689,38 @@ declare const PriceListDetailPage: (({ children }: {
906
689
  };
907
690
 
908
691
  declare const PricingCreateSchema: z.ZodObject<{
909
- type: z.ZodEnum<["sale", "override"]>;
910
- status: z.ZodEnum<["draft", "active"]>;
692
+ type: z.ZodEnum<{
693
+ override: "override";
694
+ sale: "sale";
695
+ }>;
696
+ status: z.ZodEnum<{
697
+ draft: "draft";
698
+ active: "active";
699
+ }>;
911
700
  title: z.ZodString;
912
701
  description: z.ZodString;
913
702
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
914
703
  ends_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
915
704
  product_ids: z.ZodArray<z.ZodObject<{
916
705
  id: z.ZodString;
917
- }, "strip", z.ZodTypeAny, {
918
- id: string;
919
- }, {
920
- id: string;
921
- }>, "many">;
922
- offer_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
706
+ }, z.core.$strip>>;
707
+ offer_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
923
708
  offers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
924
709
  variant_id: z.ZodString;
925
710
  currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
926
711
  amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
927
- }, "strip", z.ZodTypeAny, {
928
- amount?: string | number | undefined;
929
- }, {
930
- amount?: string | number | undefined;
931
- }>>>;
712
+ }, z.core.$strip>>>;
932
713
  region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
933
714
  amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
934
- }, "strip", z.ZodTypeAny, {
935
- amount?: string | number | undefined;
936
- }, {
937
- amount?: string | number | undefined;
938
- }>>>;
939
- }, "strip", z.ZodTypeAny, {
940
- variant_id: string;
941
- currency_prices: Record<string, {
942
- amount?: string | number | undefined;
943
- } | undefined>;
944
- region_prices: Record<string, {
945
- amount?: string | number | undefined;
946
- } | undefined>;
947
- }, {
948
- variant_id: string;
949
- currency_prices: Record<string, {
950
- amount?: string | number | undefined;
951
- } | undefined>;
952
- region_prices: Record<string, {
953
- amount?: string | number | undefined;
954
- } | undefined>;
955
- }>>>;
715
+ }, z.core.$strip>>>;
716
+ }, z.core.$strip>>>;
956
717
  rules: z.ZodOptional<z.ZodNullable<z.ZodObject<{
957
718
  customer_group_id: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
958
719
  id: z.ZodString;
959
720
  name: z.ZodString;
960
- }, "strip", z.ZodTypeAny, {
961
- id: string;
962
- name: string;
963
- }, {
964
- id: string;
965
- name: string;
966
- }>, "many">>>;
967
- }, "strip", z.ZodTypeAny, {
968
- customer_group_id?: {
969
- id: string;
970
- name: string;
971
- }[] | null | undefined;
972
- }, {
973
- customer_group_id?: {
974
- id: string;
975
- name: string;
976
- }[] | null | undefined;
977
- }>>>;
978
- }, "strip", z.ZodTypeAny, {
979
- title: string;
980
- description: string;
981
- status: "draft" | "active";
982
- type: "sale" | "override";
983
- offers: Record<string, {
984
- variant_id: string;
985
- currency_prices: Record<string, {
986
- amount?: string | number | undefined;
987
- } | undefined>;
988
- region_prices: Record<string, {
989
- amount?: string | number | undefined;
990
- } | undefined>;
991
- }>;
992
- offer_ids: string[];
993
- product_ids: {
994
- id: string;
995
- }[];
996
- rules?: {
997
- customer_group_id?: {
998
- id: string;
999
- name: string;
1000
- }[] | null | undefined;
1001
- } | null | undefined;
1002
- ends_at?: Date | null | undefined;
1003
- starts_at?: Date | null | undefined;
1004
- }, {
1005
- title: string;
1006
- description: string;
1007
- status: "draft" | "active";
1008
- type: "sale" | "override";
1009
- product_ids: {
1010
- id: string;
1011
- }[];
1012
- rules?: {
1013
- customer_group_id?: {
1014
- id: string;
1015
- name: string;
1016
- }[] | null | undefined;
1017
- } | null | undefined;
1018
- offers?: Record<string, {
1019
- variant_id: string;
1020
- currency_prices: Record<string, {
1021
- amount?: string | number | undefined;
1022
- } | undefined>;
1023
- region_prices: Record<string, {
1024
- amount?: string | number | undefined;
1025
- } | undefined>;
1026
- }> | undefined;
1027
- offer_ids?: string[] | undefined;
1028
- ends_at?: Date | null | undefined;
1029
- starts_at?: Date | null | undefined;
1030
- }>;
721
+ }, z.core.$strip>>>>;
722
+ }, z.core.$strip>>>;
723
+ }, z.core.$strip>;
1031
724
  type PricingCreateSchemaType = z.infer<typeof PricingCreateSchema>;
1032
725
 
1033
726
  declare const PriceListCreatePage: (({ children }: {
@@ -1044,10 +737,14 @@ declare const PriceListCreatePage: (({ children }: {
1044
737
  DetailsTab: {
1045
738
  (): react_jsx_runtime.JSX.Element;
1046
739
  _tabMeta: TabDefinition<{
740
+ type: "override" | "sale";
741
+ status: "draft" | "active";
1047
742
  title: string;
1048
743
  description: string;
1049
- status: "draft" | "active";
1050
- type: "sale" | "override";
744
+ product_ids: {
745
+ id: string;
746
+ }[];
747
+ offer_ids: string[];
1051
748
  offers: Record<string, {
1052
749
  variant_id: string;
1053
750
  currency_prices: Record<string, {
@@ -1057,27 +754,27 @@ declare const PriceListCreatePage: (({ children }: {
1057
754
  amount?: string | number | undefined;
1058
755
  } | undefined>;
1059
756
  }>;
1060
- offer_ids: string[];
1061
- product_ids: {
1062
- id: string;
1063
- }[];
757
+ starts_at?: Date | null | undefined;
758
+ ends_at?: Date | null | undefined;
1064
759
  rules?: {
1065
760
  customer_group_id?: {
1066
761
  id: string;
1067
762
  name: string;
1068
763
  }[] | null | undefined;
1069
764
  } | null | undefined;
1070
- ends_at?: Date | null | undefined;
1071
- starts_at?: Date | null | undefined;
1072
765
  }>;
1073
766
  };
1074
767
  ProductsTab: {
1075
768
  (): react_jsx_runtime.JSX.Element;
1076
769
  _tabMeta: TabDefinition<{
770
+ type: "override" | "sale";
771
+ status: "draft" | "active";
1077
772
  title: string;
1078
773
  description: string;
1079
- status: "draft" | "active";
1080
- type: "sale" | "override";
774
+ product_ids: {
775
+ id: string;
776
+ }[];
777
+ offer_ids: string[];
1081
778
  offers: Record<string, {
1082
779
  variant_id: string;
1083
780
  currency_prices: Record<string, {
@@ -1087,18 +784,14 @@ declare const PriceListCreatePage: (({ children }: {
1087
784
  amount?: string | number | undefined;
1088
785
  } | undefined>;
1089
786
  }>;
1090
- offer_ids: string[];
1091
- product_ids: {
1092
- id: string;
1093
- }[];
787
+ starts_at?: Date | null | undefined;
788
+ ends_at?: Date | null | undefined;
1094
789
  rules?: {
1095
790
  customer_group_id?: {
1096
791
  id: string;
1097
792
  name: string;
1098
793
  }[] | null | undefined;
1099
794
  } | null | undefined;
1100
- ends_at?: Date | null | undefined;
1101
- starts_at?: Date | null | undefined;
1102
795
  }>;
1103
796
  };
1104
797
  PricesTab: {
@@ -1108,10 +801,14 @@ declare const PriceListCreatePage: (({ children }: {
1108
801
  pricePreferences: _medusajs_types.AdminPricePreference[];
1109
802
  }): react_jsx_runtime.JSX.Element;
1110
803
  _tabMeta: TabDefinition<{
804
+ type: "override" | "sale";
805
+ status: "draft" | "active";
1111
806
  title: string;
1112
807
  description: string;
1113
- status: "draft" | "active";
1114
- type: "sale" | "override";
808
+ product_ids: {
809
+ id: string;
810
+ }[];
811
+ offer_ids: string[];
1115
812
  offers: Record<string, {
1116
813
  variant_id: string;
1117
814
  currency_prices: Record<string, {
@@ -1121,18 +818,14 @@ declare const PriceListCreatePage: (({ children }: {
1121
818
  amount?: string | number | undefined;
1122
819
  } | undefined>;
1123
820
  }>;
1124
- offer_ids: string[];
1125
- product_ids: {
1126
- id: string;
1127
- }[];
821
+ starts_at?: Date | null | undefined;
822
+ ends_at?: Date | null | undefined;
1128
823
  rules?: {
1129
824
  customer_group_id?: {
1130
825
  id: string;
1131
826
  name: string;
1132
827
  }[] | null | undefined;
1133
828
  } | null | undefined;
1134
- ends_at?: Date | null | undefined;
1135
- starts_at?: Date | null | undefined;
1136
829
  }>;
1137
830
  };
1138
831
  Tab: ({ children, }: {
@@ -1145,74 +838,18 @@ declare const PriceListCreatePage: (({ children }: {
1145
838
  declare const PriceListPricesAddSchema: z.ZodObject<{
1146
839
  product_ids: z.ZodArray<z.ZodObject<{
1147
840
  id: z.ZodString;
1148
- }, "strip", z.ZodTypeAny, {
1149
- id: string;
1150
- }, {
1151
- id: string;
1152
- }>, "many">;
1153
- offer_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1154
- offers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
841
+ }, z.core.$strip>>;
842
+ offer_ids: z.ZodArray<z.ZodString>;
843
+ offers: z.ZodRecord<z.ZodString, z.ZodObject<{
1155
844
  variant_id: z.ZodString;
1156
845
  currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
1157
846
  amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1158
- }, "strip", z.ZodTypeAny, {
1159
- amount?: string | number | undefined;
1160
- }, {
1161
- amount?: string | number | undefined;
1162
- }>>>;
847
+ }, z.core.$strip>>>;
1163
848
  region_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
1164
849
  amount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1165
- }, "strip", z.ZodTypeAny, {
1166
- amount?: string | number | undefined;
1167
- }, {
1168
- amount?: string | number | undefined;
1169
- }>>>;
1170
- }, "strip", z.ZodTypeAny, {
1171
- variant_id: string;
1172
- currency_prices: Record<string, {
1173
- amount?: string | number | undefined;
1174
- } | undefined>;
1175
- region_prices: Record<string, {
1176
- amount?: string | number | undefined;
1177
- } | undefined>;
1178
- }, {
1179
- variant_id: string;
1180
- currency_prices: Record<string, {
1181
- amount?: string | number | undefined;
1182
- } | undefined>;
1183
- region_prices: Record<string, {
1184
- amount?: string | number | undefined;
1185
- } | undefined>;
1186
- }>>>;
1187
- }, "strip", z.ZodTypeAny, {
1188
- offers: Record<string, {
1189
- variant_id: string;
1190
- currency_prices: Record<string, {
1191
- amount?: string | number | undefined;
1192
- } | undefined>;
1193
- region_prices: Record<string, {
1194
- amount?: string | number | undefined;
1195
- } | undefined>;
1196
- }>;
1197
- offer_ids: string[];
1198
- product_ids: {
1199
- id: string;
1200
- }[];
1201
- }, {
1202
- product_ids: {
1203
- id: string;
1204
- }[];
1205
- offers?: Record<string, {
1206
- variant_id: string;
1207
- currency_prices: Record<string, {
1208
- amount?: string | number | undefined;
1209
- } | undefined>;
1210
- region_prices: Record<string, {
1211
- amount?: string | number | undefined;
1212
- } | undefined>;
1213
- }> | undefined;
1214
- offer_ids?: string[] | undefined;
1215
- }>;
850
+ }, z.core.$strip>>>;
851
+ }, z.core.$strip>>;
852
+ }, z.core.$strip>;
1216
853
  type PriceListPricesAddSchema = z.infer<typeof PriceListPricesAddSchema>;
1217
854
 
1218
855
  type PriceListPricesAddSchemaType = z.infer<typeof PriceListPricesAddSchema>;
@@ -1234,6 +871,10 @@ declare const PriceListPricesAddPage: (({ children }: {
1234
871
  priceList: _medusajs_types.AdminPriceList;
1235
872
  }): react_jsx_runtime.JSX.Element;
1236
873
  _tabMeta: TabDefinition<{
874
+ product_ids: {
875
+ id: string;
876
+ }[];
877
+ offer_ids: string[];
1237
878
  offers: Record<string, {
1238
879
  variant_id: string;
1239
880
  currency_prices: Record<string, {
@@ -1243,10 +884,6 @@ declare const PriceListPricesAddPage: (({ children }: {
1243
884
  amount?: string | number | undefined;
1244
885
  } | undefined>;
1245
886
  }>;
1246
- offer_ids: string[];
1247
- product_ids: {
1248
- id: string;
1249
- }[];
1250
887
  }>;
1251
888
  };
1252
889
  PricesTab: {
@@ -1256,6 +893,10 @@ declare const PriceListPricesAddPage: (({ children }: {
1256
893
  pricePreferences: _medusajs_types.AdminPricePreference[];
1257
894
  }): react_jsx_runtime.JSX.Element;
1258
895
  _tabMeta: TabDefinition<{
896
+ product_ids: {
897
+ id: string;
898
+ }[];
899
+ offer_ids: string[];
1259
900
  offers: Record<string, {
1260
901
  variant_id: string;
1261
902
  currency_prices: Record<string, {
@@ -1265,10 +906,6 @@ declare const PriceListPricesAddPage: (({ children }: {
1265
906
  amount?: string | number | undefined;
1266
907
  } | undefined>;
1267
908
  }>;
1268
- offer_ids: string[];
1269
- product_ids: {
1270
- id: string;
1271
- }[];
1272
909
  }>;
1273
910
  };
1274
911
  Tab: ({ children, }: {
@@ -1401,7 +1038,7 @@ declare const ProductDetailPage: (({ children }: {
1401
1038
  }) => react_jsx_runtime.JSX.Element;
1402
1039
  };
1403
1040
 
1404
- declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
1041
+ declare const ProductCreateSchema: z.ZodObject<{
1405
1042
  title: z.ZodString;
1406
1043
  subtitle: z.ZodOptional<z.ZodString>;
1407
1044
  handle: z.ZodOptional<z.ZodString>;
@@ -1411,8 +1048,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
1411
1048
  type_id: z.ZodOptional<z.ZodString>;
1412
1049
  collection_id: z.ZodOptional<z.ZodString>;
1413
1050
  category_id: z.ZodString;
1414
- seller_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1415
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1051
+ seller_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1052
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1416
1053
  origin_country: z.ZodOptional<z.ZodString>;
1417
1054
  material: z.ZodOptional<z.ZodString>;
1418
1055
  width: z.ZodOptional<z.ZodString>;
@@ -1424,7 +1061,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
1424
1061
  attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1425
1062
  attribute_id: z.ZodOptional<z.ZodString>;
1426
1063
  title: z.ZodString;
1427
- values: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1064
+ values: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1428
1065
  is_custom: z.ZodBoolean;
1429
1066
  is_required: z.ZodOptional<z.ZodBoolean>;
1430
1067
  use_for_variants: z.ZodBoolean;
@@ -1432,38 +1069,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
1432
1069
  available_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
1433
1070
  id: z.ZodString;
1434
1071
  name: z.ZodString;
1435
- }, "strip", z.ZodTypeAny, {
1436
- id: string;
1437
- name: string;
1438
- }, {
1439
- id: string;
1440
- name: string;
1441
- }>, "many">>;
1442
- }, "strip", z.ZodTypeAny, {
1443
- title: string;
1444
- is_custom: boolean;
1445
- use_for_variants: boolean;
1446
- values?: string | string[] | undefined;
1447
- type?: string | undefined;
1448
- attribute_id?: string | undefined;
1449
- is_required?: boolean | undefined;
1450
- available_values?: {
1451
- id: string;
1452
- name: string;
1453
- }[] | undefined;
1454
- }, {
1455
- title: string;
1456
- is_custom: boolean;
1457
- use_for_variants: boolean;
1458
- values?: string | string[] | undefined;
1459
- type?: string | undefined;
1460
- attribute_id?: string | undefined;
1461
- is_required?: boolean | undefined;
1462
- available_values?: {
1463
- id: string;
1464
- name: string;
1465
- }[] | undefined;
1466
- }>, "many">>;
1072
+ }, z.core.$strip>>>;
1073
+ }, z.core.$strip>>>;
1467
1074
  variants: z.ZodArray<z.ZodObject<{
1468
1075
  should_create: z.ZodBoolean;
1469
1076
  is_default: z.ZodOptional<z.ZodBoolean>;
@@ -1473,301 +1080,23 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
1473
1080
  barcode: z.ZodOptional<z.ZodString>;
1474
1081
  mid_code: z.ZodOptional<z.ZodString>;
1475
1082
  hs_code: z.ZodOptional<z.ZodString>;
1476
- width: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
1477
- height: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
1478
- length: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
1479
- weight: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
1083
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1084
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1085
+ length: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1086
+ weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1480
1087
  material: z.ZodOptional<z.ZodString>;
1481
1088
  origin_country: z.ZodOptional<z.ZodString>;
1482
1089
  sku: z.ZodOptional<z.ZodString>;
1483
1090
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1484
1091
  variant_rank: z.ZodNumber;
1485
- }, "strip", z.ZodTypeAny, {
1486
- title: string;
1487
- variant_rank: number;
1488
- should_create: boolean;
1489
- length?: string | number | undefined;
1490
- options?: Record<string, string> | undefined;
1491
- is_default?: boolean | undefined;
1492
- sku?: string | undefined;
1493
- ean?: string | undefined;
1494
- upc?: string | undefined;
1495
- width?: string | number | undefined;
1496
- height?: string | number | undefined;
1497
- weight?: string | number | undefined;
1498
- origin_country?: string | undefined;
1499
- hs_code?: string | undefined;
1500
- material?: string | undefined;
1501
- mid_code?: string | undefined;
1502
- barcode?: string | undefined;
1503
- }, {
1504
- title: string;
1505
- variant_rank: number;
1506
- should_create: boolean;
1507
- length?: string | number | undefined;
1508
- options?: Record<string, string> | undefined;
1509
- is_default?: boolean | undefined;
1510
- sku?: string | undefined;
1511
- ean?: string | undefined;
1512
- upc?: string | undefined;
1513
- width?: string | number | undefined;
1514
- height?: string | number | undefined;
1515
- weight?: string | number | undefined;
1516
- origin_country?: string | undefined;
1517
- hs_code?: string | undefined;
1518
- material?: string | undefined;
1519
- mid_code?: string | undefined;
1520
- barcode?: string | undefined;
1521
- }>, "many">;
1092
+ }, z.core.$strip>>;
1522
1093
  media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1523
1094
  id: z.ZodOptional<z.ZodString>;
1524
1095
  url: z.ZodString;
1525
1096
  isThumbnail: z.ZodBoolean;
1526
1097
  file: z.ZodNullable<z.ZodAny>;
1527
- }, "strip", z.ZodTypeAny, {
1528
- url: string;
1529
- isThumbnail: boolean;
1530
- file?: any;
1531
- id?: string | undefined;
1532
- }, {
1533
- url: string;
1534
- isThumbnail: boolean;
1535
- file?: any;
1536
- id?: string | undefined;
1537
- }>, "many">>;
1538
- }, "strip", z.ZodTypeAny, {
1539
- title: string;
1540
- category_id: string;
1541
- variants: {
1542
- title: string;
1543
- variant_rank: number;
1544
- should_create: boolean;
1545
- length?: string | number | undefined;
1546
- options?: Record<string, string> | undefined;
1547
- is_default?: boolean | undefined;
1548
- sku?: string | undefined;
1549
- ean?: string | undefined;
1550
- upc?: string | undefined;
1551
- width?: string | number | undefined;
1552
- height?: string | number | undefined;
1553
- weight?: string | number | undefined;
1554
- origin_country?: string | undefined;
1555
- hs_code?: string | undefined;
1556
- material?: string | undefined;
1557
- mid_code?: string | undefined;
1558
- barcode?: string | undefined;
1559
- }[];
1560
- discountable: boolean;
1561
- globally_available: boolean;
1562
- length?: string | undefined;
1563
- description?: string | undefined;
1564
- handle?: string | undefined;
1565
- media?: {
1566
- url: string;
1567
- isThumbnail: boolean;
1568
- file?: any;
1569
- id?: string | undefined;
1570
- }[] | undefined;
1571
- collection_id?: string | undefined;
1572
- type_id?: string | undefined;
1573
- subtitle?: string | undefined;
1574
- attributes?: {
1575
- title: string;
1576
- is_custom: boolean;
1577
- use_for_variants: boolean;
1578
- values?: string | string[] | undefined;
1579
- type?: string | undefined;
1580
- attribute_id?: string | undefined;
1581
- is_required?: boolean | undefined;
1582
- available_values?: {
1583
- id: string;
1584
- name: string;
1585
- }[] | undefined;
1586
- }[] | undefined;
1587
- width?: string | undefined;
1588
- height?: string | undefined;
1589
- weight?: string | undefined;
1590
- origin_country?: string | undefined;
1591
- hs_code?: string | undefined;
1592
- material?: string | undefined;
1593
- mid_code?: string | undefined;
1594
- seller_ids?: string[] | undefined;
1595
- tags?: string[] | undefined;
1596
- }, {
1597
- title: string;
1598
- category_id: string;
1599
- variants: {
1600
- title: string;
1601
- variant_rank: number;
1602
- should_create: boolean;
1603
- length?: string | number | undefined;
1604
- options?: Record<string, string> | undefined;
1605
- is_default?: boolean | undefined;
1606
- sku?: string | undefined;
1607
- ean?: string | undefined;
1608
- upc?: string | undefined;
1609
- width?: string | number | undefined;
1610
- height?: string | number | undefined;
1611
- weight?: string | number | undefined;
1612
- origin_country?: string | undefined;
1613
- hs_code?: string | undefined;
1614
- material?: string | undefined;
1615
- mid_code?: string | undefined;
1616
- barcode?: string | undefined;
1617
- }[];
1618
- discountable: boolean;
1619
- globally_available: boolean;
1620
- length?: string | undefined;
1621
- description?: string | undefined;
1622
- handle?: string | undefined;
1623
- media?: {
1624
- url: string;
1625
- isThumbnail: boolean;
1626
- file?: any;
1627
- id?: string | undefined;
1628
- }[] | undefined;
1629
- collection_id?: string | undefined;
1630
- type_id?: string | undefined;
1631
- subtitle?: string | undefined;
1632
- attributes?: {
1633
- title: string;
1634
- is_custom: boolean;
1635
- use_for_variants: boolean;
1636
- values?: string | string[] | undefined;
1637
- type?: string | undefined;
1638
- attribute_id?: string | undefined;
1639
- is_required?: boolean | undefined;
1640
- available_values?: {
1641
- id: string;
1642
- name: string;
1643
- }[] | undefined;
1644
- }[] | undefined;
1645
- width?: string | undefined;
1646
- height?: string | undefined;
1647
- weight?: string | undefined;
1648
- origin_country?: string | undefined;
1649
- hs_code?: string | undefined;
1650
- material?: string | undefined;
1651
- mid_code?: string | undefined;
1652
- seller_ids?: string[] | undefined;
1653
- tags?: string[] | undefined;
1654
- }>, {
1655
- title: string;
1656
- category_id: string;
1657
- variants: {
1658
- title: string;
1659
- variant_rank: number;
1660
- should_create: boolean;
1661
- length?: string | number | undefined;
1662
- options?: Record<string, string> | undefined;
1663
- is_default?: boolean | undefined;
1664
- sku?: string | undefined;
1665
- ean?: string | undefined;
1666
- upc?: string | undefined;
1667
- width?: string | number | undefined;
1668
- height?: string | number | undefined;
1669
- weight?: string | number | undefined;
1670
- origin_country?: string | undefined;
1671
- hs_code?: string | undefined;
1672
- material?: string | undefined;
1673
- mid_code?: string | undefined;
1674
- barcode?: string | undefined;
1675
- }[];
1676
- discountable: boolean;
1677
- globally_available: boolean;
1678
- length?: string | undefined;
1679
- description?: string | undefined;
1680
- handle?: string | undefined;
1681
- media?: {
1682
- url: string;
1683
- isThumbnail: boolean;
1684
- file?: any;
1685
- id?: string | undefined;
1686
- }[] | undefined;
1687
- collection_id?: string | undefined;
1688
- type_id?: string | undefined;
1689
- subtitle?: string | undefined;
1690
- attributes?: {
1691
- title: string;
1692
- is_custom: boolean;
1693
- use_for_variants: boolean;
1694
- values?: string | string[] | undefined;
1695
- type?: string | undefined;
1696
- attribute_id?: string | undefined;
1697
- is_required?: boolean | undefined;
1698
- available_values?: {
1699
- id: string;
1700
- name: string;
1701
- }[] | undefined;
1702
- }[] | undefined;
1703
- width?: string | undefined;
1704
- height?: string | undefined;
1705
- weight?: string | undefined;
1706
- origin_country?: string | undefined;
1707
- hs_code?: string | undefined;
1708
- material?: string | undefined;
1709
- mid_code?: string | undefined;
1710
- seller_ids?: string[] | undefined;
1711
- tags?: string[] | undefined;
1712
- }, {
1713
- title: string;
1714
- category_id: string;
1715
- variants: {
1716
- title: string;
1717
- variant_rank: number;
1718
- should_create: boolean;
1719
- length?: string | number | undefined;
1720
- options?: Record<string, string> | undefined;
1721
- is_default?: boolean | undefined;
1722
- sku?: string | undefined;
1723
- ean?: string | undefined;
1724
- upc?: string | undefined;
1725
- width?: string | number | undefined;
1726
- height?: string | number | undefined;
1727
- weight?: string | number | undefined;
1728
- origin_country?: string | undefined;
1729
- hs_code?: string | undefined;
1730
- material?: string | undefined;
1731
- mid_code?: string | undefined;
1732
- barcode?: string | undefined;
1733
- }[];
1734
- discountable: boolean;
1735
- globally_available: boolean;
1736
- length?: string | undefined;
1737
- description?: string | undefined;
1738
- handle?: string | undefined;
1739
- media?: {
1740
- url: string;
1741
- isThumbnail: boolean;
1742
- file?: any;
1743
- id?: string | undefined;
1744
- }[] | undefined;
1745
- collection_id?: string | undefined;
1746
- type_id?: string | undefined;
1747
- subtitle?: string | undefined;
1748
- attributes?: {
1749
- title: string;
1750
- is_custom: boolean;
1751
- use_for_variants: boolean;
1752
- values?: string | string[] | undefined;
1753
- type?: string | undefined;
1754
- attribute_id?: string | undefined;
1755
- is_required?: boolean | undefined;
1756
- available_values?: {
1757
- id: string;
1758
- name: string;
1759
- }[] | undefined;
1760
- }[] | undefined;
1761
- width?: string | undefined;
1762
- height?: string | undefined;
1763
- weight?: string | undefined;
1764
- origin_country?: string | undefined;
1765
- hs_code?: string | undefined;
1766
- material?: string | undefined;
1767
- mid_code?: string | undefined;
1768
- seller_ids?: string[] | undefined;
1769
- tags?: string[] | undefined;
1770
- }>;
1098
+ }, z.core.$strip>>>;
1099
+ }, z.core.$strip>;
1771
1100
 
1772
1101
  type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
1773
1102
 
@@ -1783,248 +1112,248 @@ declare const ProductCreatePage: (({ children }: {
1783
1112
  (): react_jsx_runtime.JSX.Element;
1784
1113
  _tabMeta: TabDefinition<{
1785
1114
  title: string;
1115
+ discountable: boolean;
1116
+ globally_available: boolean;
1786
1117
  category_id: string;
1787
1118
  variants: {
1119
+ should_create: boolean;
1788
1120
  title: string;
1789
1121
  variant_rank: number;
1790
- should_create: boolean;
1791
- length?: string | number | undefined;
1792
- options?: Record<string, string> | undefined;
1793
1122
  is_default?: boolean | undefined;
1794
- sku?: string | undefined;
1795
- ean?: string | undefined;
1796
1123
  upc?: string | undefined;
1124
+ ean?: string | undefined;
1125
+ barcode?: string | undefined;
1126
+ mid_code?: string | undefined;
1127
+ hs_code?: string | undefined;
1797
1128
  width?: string | number | undefined;
1798
1129
  height?: string | number | undefined;
1130
+ length?: string | number | undefined;
1799
1131
  weight?: string | number | undefined;
1800
- origin_country?: string | undefined;
1801
- hs_code?: string | undefined;
1802
1132
  material?: string | undefined;
1803
- mid_code?: string | undefined;
1804
- barcode?: string | undefined;
1133
+ origin_country?: string | undefined;
1134
+ sku?: string | undefined;
1135
+ options?: Record<string, string> | undefined;
1805
1136
  }[];
1806
- discountable: boolean;
1807
- globally_available: boolean;
1808
- length?: string | undefined;
1809
- description?: string | undefined;
1137
+ subtitle?: string | undefined;
1810
1138
  handle?: string | undefined;
1811
- media?: {
1812
- url: string;
1813
- isThumbnail: boolean;
1814
- file?: any;
1815
- id?: string | undefined;
1816
- }[] | undefined;
1817
- collection_id?: string | undefined;
1139
+ description?: string | undefined;
1818
1140
  type_id?: string | undefined;
1819
- subtitle?: string | undefined;
1141
+ collection_id?: string | undefined;
1142
+ seller_ids?: string[] | undefined;
1143
+ tags?: string[] | undefined;
1144
+ origin_country?: string | undefined;
1145
+ material?: string | undefined;
1146
+ width?: string | undefined;
1147
+ length?: string | undefined;
1148
+ height?: string | undefined;
1149
+ weight?: string | undefined;
1150
+ mid_code?: string | undefined;
1151
+ hs_code?: string | undefined;
1820
1152
  attributes?: {
1821
1153
  title: string;
1822
1154
  is_custom: boolean;
1823
1155
  use_for_variants: boolean;
1824
- values?: string | string[] | undefined;
1825
- type?: string | undefined;
1826
1156
  attribute_id?: string | undefined;
1157
+ values?: string | string[] | undefined;
1827
1158
  is_required?: boolean | undefined;
1159
+ type?: string | undefined;
1828
1160
  available_values?: {
1829
1161
  id: string;
1830
1162
  name: string;
1831
1163
  }[] | undefined;
1832
1164
  }[] | undefined;
1833
- width?: string | undefined;
1834
- height?: string | undefined;
1835
- weight?: string | undefined;
1836
- origin_country?: string | undefined;
1837
- hs_code?: string | undefined;
1838
- material?: string | undefined;
1839
- mid_code?: string | undefined;
1840
- seller_ids?: string[] | undefined;
1841
- tags?: string[] | undefined;
1165
+ media?: {
1166
+ url: string;
1167
+ isThumbnail: boolean;
1168
+ file: any;
1169
+ id?: string | undefined;
1170
+ }[] | undefined;
1842
1171
  }>;
1843
1172
  };
1844
1173
  OrganizeTab: {
1845
1174
  (): react_jsx_runtime.JSX.Element;
1846
1175
  _tabMeta: TabDefinition<{
1847
1176
  title: string;
1848
- category_id: string;
1177
+ discountable: boolean;
1178
+ globally_available: boolean;
1179
+ category_id: string;
1849
1180
  variants: {
1181
+ should_create: boolean;
1850
1182
  title: string;
1851
1183
  variant_rank: number;
1852
- should_create: boolean;
1853
- length?: string | number | undefined;
1854
- options?: Record<string, string> | undefined;
1855
1184
  is_default?: boolean | undefined;
1856
- sku?: string | undefined;
1857
- ean?: string | undefined;
1858
1185
  upc?: string | undefined;
1186
+ ean?: string | undefined;
1187
+ barcode?: string | undefined;
1188
+ mid_code?: string | undefined;
1189
+ hs_code?: string | undefined;
1859
1190
  width?: string | number | undefined;
1860
1191
  height?: string | number | undefined;
1192
+ length?: string | number | undefined;
1861
1193
  weight?: string | number | undefined;
1862
- origin_country?: string | undefined;
1863
- hs_code?: string | undefined;
1864
1194
  material?: string | undefined;
1865
- mid_code?: string | undefined;
1866
- barcode?: string | undefined;
1195
+ origin_country?: string | undefined;
1196
+ sku?: string | undefined;
1197
+ options?: Record<string, string> | undefined;
1867
1198
  }[];
1868
- discountable: boolean;
1869
- globally_available: boolean;
1870
- length?: string | undefined;
1871
- description?: string | undefined;
1199
+ subtitle?: string | undefined;
1872
1200
  handle?: string | undefined;
1873
- media?: {
1874
- url: string;
1875
- isThumbnail: boolean;
1876
- file?: any;
1877
- id?: string | undefined;
1878
- }[] | undefined;
1879
- collection_id?: string | undefined;
1201
+ description?: string | undefined;
1880
1202
  type_id?: string | undefined;
1881
- subtitle?: string | undefined;
1203
+ collection_id?: string | undefined;
1204
+ seller_ids?: string[] | undefined;
1205
+ tags?: string[] | undefined;
1206
+ origin_country?: string | undefined;
1207
+ material?: string | undefined;
1208
+ width?: string | undefined;
1209
+ length?: string | undefined;
1210
+ height?: string | undefined;
1211
+ weight?: string | undefined;
1212
+ mid_code?: string | undefined;
1213
+ hs_code?: string | undefined;
1882
1214
  attributes?: {
1883
1215
  title: string;
1884
1216
  is_custom: boolean;
1885
1217
  use_for_variants: boolean;
1886
- values?: string | string[] | undefined;
1887
- type?: string | undefined;
1888
1218
  attribute_id?: string | undefined;
1219
+ values?: string | string[] | undefined;
1889
1220
  is_required?: boolean | undefined;
1221
+ type?: string | undefined;
1890
1222
  available_values?: {
1891
1223
  id: string;
1892
1224
  name: string;
1893
1225
  }[] | undefined;
1894
1226
  }[] | undefined;
1895
- width?: string | undefined;
1896
- height?: string | undefined;
1897
- weight?: string | undefined;
1898
- origin_country?: string | undefined;
1899
- hs_code?: string | undefined;
1900
- material?: string | undefined;
1901
- mid_code?: string | undefined;
1902
- seller_ids?: string[] | undefined;
1903
- tags?: string[] | undefined;
1227
+ media?: {
1228
+ url: string;
1229
+ isThumbnail: boolean;
1230
+ file: any;
1231
+ id?: string | undefined;
1232
+ }[] | undefined;
1904
1233
  }>;
1905
1234
  };
1906
1235
  AttributesTab: {
1907
1236
  (): react_jsx_runtime.JSX.Element;
1908
1237
  _tabMeta: TabDefinition<{
1909
1238
  title: string;
1239
+ discountable: boolean;
1240
+ globally_available: boolean;
1910
1241
  category_id: string;
1911
1242
  variants: {
1243
+ should_create: boolean;
1912
1244
  title: string;
1913
1245
  variant_rank: number;
1914
- should_create: boolean;
1915
- length?: string | number | undefined;
1916
- options?: Record<string, string> | undefined;
1917
1246
  is_default?: boolean | undefined;
1918
- sku?: string | undefined;
1919
- ean?: string | undefined;
1920
1247
  upc?: string | undefined;
1248
+ ean?: string | undefined;
1249
+ barcode?: string | undefined;
1250
+ mid_code?: string | undefined;
1251
+ hs_code?: string | undefined;
1921
1252
  width?: string | number | undefined;
1922
1253
  height?: string | number | undefined;
1254
+ length?: string | number | undefined;
1923
1255
  weight?: string | number | undefined;
1924
- origin_country?: string | undefined;
1925
- hs_code?: string | undefined;
1926
1256
  material?: string | undefined;
1927
- mid_code?: string | undefined;
1928
- barcode?: string | undefined;
1257
+ origin_country?: string | undefined;
1258
+ sku?: string | undefined;
1259
+ options?: Record<string, string> | undefined;
1929
1260
  }[];
1930
- discountable: boolean;
1931
- globally_available: boolean;
1932
- length?: string | undefined;
1933
- description?: string | undefined;
1261
+ subtitle?: string | undefined;
1934
1262
  handle?: string | undefined;
1935
- media?: {
1936
- url: string;
1937
- isThumbnail: boolean;
1938
- file?: any;
1939
- id?: string | undefined;
1940
- }[] | undefined;
1941
- collection_id?: string | undefined;
1263
+ description?: string | undefined;
1942
1264
  type_id?: string | undefined;
1943
- subtitle?: string | undefined;
1265
+ collection_id?: string | undefined;
1266
+ seller_ids?: string[] | undefined;
1267
+ tags?: string[] | undefined;
1268
+ origin_country?: string | undefined;
1269
+ material?: string | undefined;
1270
+ width?: string | undefined;
1271
+ length?: string | undefined;
1272
+ height?: string | undefined;
1273
+ weight?: string | undefined;
1274
+ mid_code?: string | undefined;
1275
+ hs_code?: string | undefined;
1944
1276
  attributes?: {
1945
1277
  title: string;
1946
1278
  is_custom: boolean;
1947
1279
  use_for_variants: boolean;
1948
- values?: string | string[] | undefined;
1949
- type?: string | undefined;
1950
1280
  attribute_id?: string | undefined;
1281
+ values?: string | string[] | undefined;
1951
1282
  is_required?: boolean | undefined;
1283
+ type?: string | undefined;
1952
1284
  available_values?: {
1953
1285
  id: string;
1954
1286
  name: string;
1955
1287
  }[] | undefined;
1956
1288
  }[] | undefined;
1957
- width?: string | undefined;
1958
- height?: string | undefined;
1959
- weight?: string | undefined;
1960
- origin_country?: string | undefined;
1961
- hs_code?: string | undefined;
1962
- material?: string | undefined;
1963
- mid_code?: string | undefined;
1964
- seller_ids?: string[] | undefined;
1965
- tags?: string[] | undefined;
1289
+ media?: {
1290
+ url: string;
1291
+ isThumbnail: boolean;
1292
+ file: any;
1293
+ id?: string | undefined;
1294
+ }[] | undefined;
1966
1295
  }>;
1967
1296
  };
1968
1297
  VariantsTab: {
1969
1298
  (): react_jsx_runtime.JSX.Element;
1970
1299
  _tabMeta: TabDefinition<{
1971
1300
  title: string;
1301
+ discountable: boolean;
1302
+ globally_available: boolean;
1972
1303
  category_id: string;
1973
1304
  variants: {
1305
+ should_create: boolean;
1974
1306
  title: string;
1975
1307
  variant_rank: number;
1976
- should_create: boolean;
1977
- length?: string | number | undefined;
1978
- options?: Record<string, string> | undefined;
1979
1308
  is_default?: boolean | undefined;
1980
- sku?: string | undefined;
1981
- ean?: string | undefined;
1982
1309
  upc?: string | undefined;
1310
+ ean?: string | undefined;
1311
+ barcode?: string | undefined;
1312
+ mid_code?: string | undefined;
1313
+ hs_code?: string | undefined;
1983
1314
  width?: string | number | undefined;
1984
1315
  height?: string | number | undefined;
1316
+ length?: string | number | undefined;
1985
1317
  weight?: string | number | undefined;
1986
- origin_country?: string | undefined;
1987
- hs_code?: string | undefined;
1988
1318
  material?: string | undefined;
1989
- mid_code?: string | undefined;
1990
- barcode?: string | undefined;
1319
+ origin_country?: string | undefined;
1320
+ sku?: string | undefined;
1321
+ options?: Record<string, string> | undefined;
1991
1322
  }[];
1992
- discountable: boolean;
1993
- globally_available: boolean;
1994
- length?: string | undefined;
1995
- description?: string | undefined;
1323
+ subtitle?: string | undefined;
1996
1324
  handle?: string | undefined;
1997
- media?: {
1998
- url: string;
1999
- isThumbnail: boolean;
2000
- file?: any;
2001
- id?: string | undefined;
2002
- }[] | undefined;
2003
- collection_id?: string | undefined;
1325
+ description?: string | undefined;
2004
1326
  type_id?: string | undefined;
2005
- subtitle?: string | undefined;
1327
+ collection_id?: string | undefined;
1328
+ seller_ids?: string[] | undefined;
1329
+ tags?: string[] | undefined;
1330
+ origin_country?: string | undefined;
1331
+ material?: string | undefined;
1332
+ width?: string | undefined;
1333
+ length?: string | undefined;
1334
+ height?: string | undefined;
1335
+ weight?: string | undefined;
1336
+ mid_code?: string | undefined;
1337
+ hs_code?: string | undefined;
2006
1338
  attributes?: {
2007
1339
  title: string;
2008
1340
  is_custom: boolean;
2009
1341
  use_for_variants: boolean;
2010
- values?: string | string[] | undefined;
2011
- type?: string | undefined;
2012
1342
  attribute_id?: string | undefined;
1343
+ values?: string | string[] | undefined;
2013
1344
  is_required?: boolean | undefined;
1345
+ type?: string | undefined;
2014
1346
  available_values?: {
2015
1347
  id: string;
2016
1348
  name: string;
2017
1349
  }[] | undefined;
2018
1350
  }[] | undefined;
2019
- width?: string | undefined;
2020
- height?: string | undefined;
2021
- weight?: string | undefined;
2022
- origin_country?: string | undefined;
2023
- hs_code?: string | undefined;
2024
- material?: string | undefined;
2025
- mid_code?: string | undefined;
2026
- seller_ids?: string[] | undefined;
2027
- tags?: string[] | undefined;
1351
+ media?: {
1352
+ url: string;
1353
+ isThumbnail: boolean;
1354
+ file: any;
1355
+ id?: string | undefined;
1356
+ }[] | undefined;
2028
1357
  }>;
2029
1358
  };
2030
1359
  Tab: ({ children, }: {
@@ -2038,15 +1367,7 @@ declare const CreateProductVariantSchema: z.ZodObject<{
2038
1367
  title: z.ZodString;
2039
1368
  sku: z.ZodOptional<z.ZodString>;
2040
1369
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2041
- }, "strip", z.ZodTypeAny, {
2042
- title: string;
2043
- options?: Record<string, string> | undefined;
2044
- sku?: string | undefined;
2045
- }, {
2046
- title: string;
2047
- options?: Record<string, string> | undefined;
2048
- sku?: string | undefined;
2049
- }>;
1370
+ }, z.core.$strip>;
2050
1371
 
2051
1372
  type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
2052
1373
 
@@ -2057,8 +1378,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
2057
1378
  declare namespace DetailsTab {
2058
1379
  var _tabMeta: TabDefinition<{
2059
1380
  title: string;
2060
- options?: Record<string, string> | undefined;
2061
1381
  sku?: string | undefined;
1382
+ options?: Record<string, string> | undefined;
2062
1383
  }>;
2063
1384
  }
2064
1385
 
@@ -2123,46 +1444,49 @@ declare const PromotionDetailPage: (({ children }: {
2123
1444
  }) => react_jsx_runtime.JSX.Element;
2124
1445
  };
2125
1446
 
2126
- declare const CreatePromotionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1447
+ declare const CreatePromotionSchema: z.ZodObject<{
2127
1448
  template_id: z.ZodOptional<z.ZodString>;
2128
1449
  campaign_id: z.ZodOptional<z.ZodString>;
2129
- campaign_choice: z.ZodOptional<z.ZodEnum<["none", "existing", "new"]>>;
1450
+ campaign_choice: z.ZodOptional<z.ZodEnum<{
1451
+ existing: "existing";
1452
+ none: "none";
1453
+ new: "new";
1454
+ }>>;
2130
1455
  is_automatic: z.ZodString;
2131
1456
  code: z.ZodString;
2132
- type: z.ZodEnum<["buyget", "standard"]>;
2133
- status: z.ZodEnum<["draft", "active", "inactive"]>;
1457
+ type: z.ZodEnum<{
1458
+ standard: "standard";
1459
+ buyget: "buyget";
1460
+ }>;
1461
+ status: z.ZodEnum<{
1462
+ draft: "draft";
1463
+ active: "active";
1464
+ inactive: "inactive";
1465
+ }>;
2134
1466
  rules: z.ZodArray<z.ZodObject<{
2135
1467
  id: z.ZodOptional<z.ZodString>;
2136
1468
  attribute: z.ZodString;
2137
1469
  operator: z.ZodString;
2138
- values: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1470
+ values: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString>]>;
2139
1471
  required: z.ZodOptional<z.ZodBoolean>;
2140
1472
  disguised: z.ZodOptional<z.ZodBoolean>;
2141
1473
  field_type: z.ZodOptional<z.ZodString>;
2142
- }, "strip", z.ZodTypeAny, {
2143
- values: string | number | string[];
2144
- operator: string;
2145
- attribute: string;
2146
- id?: string | undefined;
2147
- required?: boolean | undefined;
2148
- disguised?: boolean | undefined;
2149
- field_type?: string | undefined;
2150
- }, {
2151
- values: string | number | string[];
2152
- operator: string;
2153
- attribute: string;
2154
- id?: string | undefined;
2155
- required?: boolean | undefined;
2156
- disguised?: boolean | undefined;
2157
- field_type?: string | undefined;
2158
- }>, "many">;
1474
+ }, z.core.$strip>>;
2159
1475
  is_tax_inclusive: z.ZodOptional<z.ZodBoolean>;
2160
1476
  seller_id: z.ZodOptional<z.ZodString>;
2161
1477
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2162
- cost_bearer: z.ZodEnum<["store", "marketplace", "shared"]>;
1478
+ cost_bearer: z.ZodEnum<{
1479
+ store: "store";
1480
+ marketplace: "marketplace";
1481
+ shared: "shared";
1482
+ }>;
2163
1483
  shared_marketplace_percentage: z.ZodNullable<z.ZodNumber>;
2164
1484
  application_method: z.ZodObject<{
2165
- allocation: z.ZodEnum<["each", "across", "once"]>;
1485
+ allocation: z.ZodEnum<{
1486
+ once: "once";
1487
+ each: "each";
1488
+ across: "across";
1489
+ }>;
2166
1490
  value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2167
1491
  currency_code: z.ZodOptional<z.ZodString>;
2168
1492
  max_quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -2170,106 +1494,31 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
2170
1494
  id: z.ZodOptional<z.ZodString>;
2171
1495
  attribute: z.ZodString;
2172
1496
  operator: z.ZodString;
2173
- values: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1497
+ values: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString>]>;
2174
1498
  required: z.ZodOptional<z.ZodBoolean>;
2175
1499
  disguised: z.ZodOptional<z.ZodBoolean>;
2176
1500
  field_type: z.ZodOptional<z.ZodString>;
2177
- }, "strip", z.ZodTypeAny, {
2178
- values: string | number | string[];
2179
- operator: string;
2180
- attribute: string;
2181
- id?: string | undefined;
2182
- required?: boolean | undefined;
2183
- disguised?: boolean | undefined;
2184
- field_type?: string | undefined;
2185
- }, {
2186
- values: string | number | string[];
2187
- operator: string;
2188
- attribute: string;
2189
- id?: string | undefined;
2190
- required?: boolean | undefined;
2191
- disguised?: boolean | undefined;
2192
- field_type?: string | undefined;
2193
- }>, "many">;
1501
+ }, z.core.$strip>>;
2194
1502
  buy_rules: z.ZodArray<z.ZodObject<{
2195
1503
  id: z.ZodOptional<z.ZodString>;
2196
1504
  attribute: z.ZodString;
2197
1505
  operator: z.ZodString;
2198
- values: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1506
+ values: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodString>]>;
2199
1507
  required: z.ZodOptional<z.ZodBoolean>;
2200
1508
  disguised: z.ZodOptional<z.ZodBoolean>;
2201
1509
  field_type: z.ZodOptional<z.ZodString>;
2202
- }, "strip", z.ZodTypeAny, {
2203
- values: string | number | string[];
2204
- operator: string;
2205
- attribute: string;
2206
- id?: string | undefined;
2207
- required?: boolean | undefined;
2208
- disguised?: boolean | undefined;
2209
- field_type?: string | undefined;
2210
- }, {
2211
- values: string | number | string[];
2212
- operator: string;
2213
- attribute: string;
2214
- id?: string | undefined;
2215
- required?: boolean | undefined;
2216
- disguised?: boolean | undefined;
2217
- field_type?: string | undefined;
2218
- }>, "many">;
2219
- type: z.ZodEnum<["fixed", "percentage"]>;
2220
- target_type: z.ZodEnum<["order", "shipping_methods", "items"]>;
2221
- }, "strip", z.ZodTypeAny, {
2222
- value: string | number;
2223
- type: "fixed" | "percentage";
2224
- target_type: "items" | "order" | "shipping_methods";
2225
- allocation: "once" | "each" | "across";
2226
- target_rules: {
2227
- values: string | number | string[];
2228
- operator: string;
2229
- attribute: string;
2230
- id?: string | undefined;
2231
- required?: boolean | undefined;
2232
- disguised?: boolean | undefined;
2233
- field_type?: string | undefined;
2234
- }[];
2235
- buy_rules: {
2236
- values: string | number | string[];
2237
- operator: string;
2238
- attribute: string;
2239
- id?: string | undefined;
2240
- required?: boolean | undefined;
2241
- disguised?: boolean | undefined;
2242
- field_type?: string | undefined;
2243
- }[];
2244
- currency_code?: string | undefined;
2245
- max_quantity?: number | null | undefined;
2246
- }, {
2247
- value: string | number;
2248
- type: "fixed" | "percentage";
2249
- target_type: "items" | "order" | "shipping_methods";
2250
- allocation: "once" | "each" | "across";
2251
- target_rules: {
2252
- values: string | number | string[];
2253
- operator: string;
2254
- attribute: string;
2255
- id?: string | undefined;
2256
- required?: boolean | undefined;
2257
- disguised?: boolean | undefined;
2258
- field_type?: string | undefined;
2259
- }[];
2260
- buy_rules: {
2261
- values: string | number | string[];
2262
- operator: string;
2263
- attribute: string;
2264
- id?: string | undefined;
2265
- required?: boolean | undefined;
2266
- disguised?: boolean | undefined;
2267
- field_type?: string | undefined;
2268
- }[];
2269
- currency_code?: string | undefined;
2270
- max_quantity?: number | null | undefined;
2271
- }>;
2272
- campaign: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1510
+ }, z.core.$strip>>;
1511
+ type: z.ZodEnum<{
1512
+ fixed: "fixed";
1513
+ percentage: "percentage";
1514
+ }>;
1515
+ target_type: z.ZodEnum<{
1516
+ items: "items";
1517
+ order: "order";
1518
+ shipping_methods: "shipping_methods";
1519
+ }>;
1520
+ }, z.core.$strip>;
1521
+ campaign: z.ZodOptional<z.ZodObject<{
2273
1522
  name: z.ZodString;
2274
1523
  description: z.ZodOptional<z.ZodString>;
2275
1524
  campaign_identifier: z.ZodString;
@@ -2278,557 +1527,15 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Zo
2278
1527
  budget: z.ZodObject<{
2279
1528
  attribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2280
1529
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2281
- type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
1530
+ type: z.ZodEnum<{
1531
+ spend: "spend";
1532
+ usage: "usage";
1533
+ use_by_attribute: "use_by_attribute";
1534
+ }>;
2282
1535
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2283
- }, "strip", z.ZodTypeAny, {
2284
- type: "spend" | "usage" | "use_by_attribute";
2285
- currency_code?: string | null | undefined;
2286
- limit?: number | null | undefined;
2287
- attribute?: string | null | undefined;
2288
- }, {
2289
- type: "spend" | "usage" | "use_by_attribute";
2290
- currency_code?: string | null | undefined;
2291
- limit?: number | null | undefined;
2292
- attribute?: string | null | undefined;
2293
- }>;
2294
- }, "strip", z.ZodTypeAny, {
2295
- name: string;
2296
- ends_at: Date | null;
2297
- starts_at: Date | null;
2298
- campaign_identifier: string;
2299
- budget: {
2300
- type: "spend" | "usage" | "use_by_attribute";
2301
- currency_code?: string | null | undefined;
2302
- limit?: number | null | undefined;
2303
- attribute?: string | null | undefined;
2304
- };
2305
- description?: string | undefined;
2306
- }, {
2307
- name: string;
2308
- ends_at: Date | null;
2309
- starts_at: Date | null;
2310
- campaign_identifier: string;
2311
- budget: {
2312
- type: "spend" | "usage" | "use_by_attribute";
2313
- currency_code?: string | null | undefined;
2314
- limit?: number | null | undefined;
2315
- attribute?: string | null | undefined;
2316
- };
2317
- description?: string | undefined;
2318
- }>, {
2319
- name: string;
2320
- ends_at: Date | null;
2321
- starts_at: Date | null;
2322
- campaign_identifier: string;
2323
- budget: {
2324
- type: "spend" | "usage" | "use_by_attribute";
2325
- currency_code?: string | null | undefined;
2326
- limit?: number | null | undefined;
2327
- attribute?: string | null | undefined;
2328
- };
2329
- description?: string | undefined;
2330
- }, {
2331
- name: string;
2332
- ends_at: Date | null;
2333
- starts_at: Date | null;
2334
- campaign_identifier: string;
2335
- budget: {
2336
- type: "spend" | "usage" | "use_by_attribute";
2337
- currency_code?: string | null | undefined;
2338
- limit?: number | null | undefined;
2339
- attribute?: string | null | undefined;
2340
- };
2341
- description?: string | undefined;
2342
- }>>;
2343
- }, "strip", z.ZodTypeAny, {
2344
- code: string;
2345
- status: "draft" | "active" | "inactive";
2346
- type: "standard" | "buyget";
2347
- rules: {
2348
- values: string | number | string[];
2349
- operator: string;
2350
- attribute: string;
2351
- id?: string | undefined;
2352
- required?: boolean | undefined;
2353
- disguised?: boolean | undefined;
2354
- field_type?: string | undefined;
2355
- }[];
2356
- cost_bearer: "store" | "marketplace" | "shared";
2357
- shared_marketplace_percentage: number | null;
2358
- is_automatic: string;
2359
- application_method: {
2360
- value: string | number;
2361
- type: "fixed" | "percentage";
2362
- target_type: "items" | "order" | "shipping_methods";
2363
- allocation: "once" | "each" | "across";
2364
- target_rules: {
2365
- values: string | number | string[];
2366
- operator: string;
2367
- attribute: string;
2368
- id?: string | undefined;
2369
- required?: boolean | undefined;
2370
- disguised?: boolean | undefined;
2371
- field_type?: string | undefined;
2372
- }[];
2373
- buy_rules: {
2374
- values: string | number | string[];
2375
- operator: string;
2376
- attribute: string;
2377
- id?: string | undefined;
2378
- required?: boolean | undefined;
2379
- disguised?: boolean | undefined;
2380
- field_type?: string | undefined;
2381
- }[];
2382
- currency_code?: string | undefined;
2383
- max_quantity?: number | null | undefined;
2384
- };
2385
- seller_id?: string | undefined;
2386
- limit?: number | null | undefined;
2387
- is_tax_inclusive?: boolean | undefined;
2388
- campaign?: {
2389
- name: string;
2390
- ends_at: Date | null;
2391
- starts_at: Date | null;
2392
- campaign_identifier: string;
2393
- budget: {
2394
- type: "spend" | "usage" | "use_by_attribute";
2395
- currency_code?: string | null | undefined;
2396
- limit?: number | null | undefined;
2397
- attribute?: string | null | undefined;
2398
- };
2399
- description?: string | undefined;
2400
- } | undefined;
2401
- campaign_id?: string | undefined;
2402
- template_id?: string | undefined;
2403
- campaign_choice?: "existing" | "none" | "new" | undefined;
2404
- }, {
2405
- code: string;
2406
- status: "draft" | "active" | "inactive";
2407
- type: "standard" | "buyget";
2408
- rules: {
2409
- values: string | number | string[];
2410
- operator: string;
2411
- attribute: string;
2412
- id?: string | undefined;
2413
- required?: boolean | undefined;
2414
- disguised?: boolean | undefined;
2415
- field_type?: string | undefined;
2416
- }[];
2417
- cost_bearer: "store" | "marketplace" | "shared";
2418
- shared_marketplace_percentage: number | null;
2419
- is_automatic: string;
2420
- application_method: {
2421
- value: string | number;
2422
- type: "fixed" | "percentage";
2423
- target_type: "items" | "order" | "shipping_methods";
2424
- allocation: "once" | "each" | "across";
2425
- target_rules: {
2426
- values: string | number | string[];
2427
- operator: string;
2428
- attribute: string;
2429
- id?: string | undefined;
2430
- required?: boolean | undefined;
2431
- disguised?: boolean | undefined;
2432
- field_type?: string | undefined;
2433
- }[];
2434
- buy_rules: {
2435
- values: string | number | string[];
2436
- operator: string;
2437
- attribute: string;
2438
- id?: string | undefined;
2439
- required?: boolean | undefined;
2440
- disguised?: boolean | undefined;
2441
- field_type?: string | undefined;
2442
- }[];
2443
- currency_code?: string | undefined;
2444
- max_quantity?: number | null | undefined;
2445
- };
2446
- seller_id?: string | undefined;
2447
- limit?: number | null | undefined;
2448
- is_tax_inclusive?: boolean | undefined;
2449
- campaign?: {
2450
- name: string;
2451
- ends_at: Date | null;
2452
- starts_at: Date | null;
2453
- campaign_identifier: string;
2454
- budget: {
2455
- type: "spend" | "usage" | "use_by_attribute";
2456
- currency_code?: string | null | undefined;
2457
- limit?: number | null | undefined;
2458
- attribute?: string | null | undefined;
2459
- };
2460
- description?: string | undefined;
2461
- } | undefined;
2462
- campaign_id?: string | undefined;
2463
- template_id?: string | undefined;
2464
- campaign_choice?: "existing" | "none" | "new" | undefined;
2465
- }>, {
2466
- code: string;
2467
- status: "draft" | "active" | "inactive";
2468
- type: "standard" | "buyget";
2469
- rules: {
2470
- values: string | number | string[];
2471
- operator: string;
2472
- attribute: string;
2473
- id?: string | undefined;
2474
- required?: boolean | undefined;
2475
- disguised?: boolean | undefined;
2476
- field_type?: string | undefined;
2477
- }[];
2478
- cost_bearer: "store" | "marketplace" | "shared";
2479
- shared_marketplace_percentage: number | null;
2480
- is_automatic: string;
2481
- application_method: {
2482
- value: string | number;
2483
- type: "fixed" | "percentage";
2484
- target_type: "items" | "order" | "shipping_methods";
2485
- allocation: "once" | "each" | "across";
2486
- target_rules: {
2487
- values: string | number | string[];
2488
- operator: string;
2489
- attribute: string;
2490
- id?: string | undefined;
2491
- required?: boolean | undefined;
2492
- disguised?: boolean | undefined;
2493
- field_type?: string | undefined;
2494
- }[];
2495
- buy_rules: {
2496
- values: string | number | string[];
2497
- operator: string;
2498
- attribute: string;
2499
- id?: string | undefined;
2500
- required?: boolean | undefined;
2501
- disguised?: boolean | undefined;
2502
- field_type?: string | undefined;
2503
- }[];
2504
- currency_code?: string | undefined;
2505
- max_quantity?: number | null | undefined;
2506
- };
2507
- seller_id?: string | undefined;
2508
- limit?: number | null | undefined;
2509
- is_tax_inclusive?: boolean | undefined;
2510
- campaign?: {
2511
- name: string;
2512
- ends_at: Date | null;
2513
- starts_at: Date | null;
2514
- campaign_identifier: string;
2515
- budget: {
2516
- type: "spend" | "usage" | "use_by_attribute";
2517
- currency_code?: string | null | undefined;
2518
- limit?: number | null | undefined;
2519
- attribute?: string | null | undefined;
2520
- };
2521
- description?: string | undefined;
2522
- } | undefined;
2523
- campaign_id?: string | undefined;
2524
- template_id?: string | undefined;
2525
- campaign_choice?: "existing" | "none" | "new" | undefined;
2526
- }, {
2527
- code: string;
2528
- status: "draft" | "active" | "inactive";
2529
- type: "standard" | "buyget";
2530
- rules: {
2531
- values: string | number | string[];
2532
- operator: string;
2533
- attribute: string;
2534
- id?: string | undefined;
2535
- required?: boolean | undefined;
2536
- disguised?: boolean | undefined;
2537
- field_type?: string | undefined;
2538
- }[];
2539
- cost_bearer: "store" | "marketplace" | "shared";
2540
- shared_marketplace_percentage: number | null;
2541
- is_automatic: string;
2542
- application_method: {
2543
- value: string | number;
2544
- type: "fixed" | "percentage";
2545
- target_type: "items" | "order" | "shipping_methods";
2546
- allocation: "once" | "each" | "across";
2547
- target_rules: {
2548
- values: string | number | string[];
2549
- operator: string;
2550
- attribute: string;
2551
- id?: string | undefined;
2552
- required?: boolean | undefined;
2553
- disguised?: boolean | undefined;
2554
- field_type?: string | undefined;
2555
- }[];
2556
- buy_rules: {
2557
- values: string | number | string[];
2558
- operator: string;
2559
- attribute: string;
2560
- id?: string | undefined;
2561
- required?: boolean | undefined;
2562
- disguised?: boolean | undefined;
2563
- field_type?: string | undefined;
2564
- }[];
2565
- currency_code?: string | undefined;
2566
- max_quantity?: number | null | undefined;
2567
- };
2568
- seller_id?: string | undefined;
2569
- limit?: number | null | undefined;
2570
- is_tax_inclusive?: boolean | undefined;
2571
- campaign?: {
2572
- name: string;
2573
- ends_at: Date | null;
2574
- starts_at: Date | null;
2575
- campaign_identifier: string;
2576
- budget: {
2577
- type: "spend" | "usage" | "use_by_attribute";
2578
- currency_code?: string | null | undefined;
2579
- limit?: number | null | undefined;
2580
- attribute?: string | null | undefined;
2581
- };
2582
- description?: string | undefined;
2583
- } | undefined;
2584
- campaign_id?: string | undefined;
2585
- template_id?: string | undefined;
2586
- campaign_choice?: "existing" | "none" | "new" | undefined;
2587
- }>, {
2588
- code: string;
2589
- status: "draft" | "active" | "inactive";
2590
- type: "standard" | "buyget";
2591
- rules: {
2592
- values: string | number | string[];
2593
- operator: string;
2594
- attribute: string;
2595
- id?: string | undefined;
2596
- required?: boolean | undefined;
2597
- disguised?: boolean | undefined;
2598
- field_type?: string | undefined;
2599
- }[];
2600
- cost_bearer: "store" | "marketplace" | "shared";
2601
- shared_marketplace_percentage: number | null;
2602
- is_automatic: string;
2603
- application_method: {
2604
- value: string | number;
2605
- type: "fixed" | "percentage";
2606
- target_type: "items" | "order" | "shipping_methods";
2607
- allocation: "once" | "each" | "across";
2608
- target_rules: {
2609
- values: string | number | string[];
2610
- operator: string;
2611
- attribute: string;
2612
- id?: string | undefined;
2613
- required?: boolean | undefined;
2614
- disguised?: boolean | undefined;
2615
- field_type?: string | undefined;
2616
- }[];
2617
- buy_rules: {
2618
- values: string | number | string[];
2619
- operator: string;
2620
- attribute: string;
2621
- id?: string | undefined;
2622
- required?: boolean | undefined;
2623
- disguised?: boolean | undefined;
2624
- field_type?: string | undefined;
2625
- }[];
2626
- currency_code?: string | undefined;
2627
- max_quantity?: number | null | undefined;
2628
- };
2629
- seller_id?: string | undefined;
2630
- limit?: number | null | undefined;
2631
- is_tax_inclusive?: boolean | undefined;
2632
- campaign?: {
2633
- name: string;
2634
- ends_at: Date | null;
2635
- starts_at: Date | null;
2636
- campaign_identifier: string;
2637
- budget: {
2638
- type: "spend" | "usage" | "use_by_attribute";
2639
- currency_code?: string | null | undefined;
2640
- limit?: number | null | undefined;
2641
- attribute?: string | null | undefined;
2642
- };
2643
- description?: string | undefined;
2644
- } | undefined;
2645
- campaign_id?: string | undefined;
2646
- template_id?: string | undefined;
2647
- campaign_choice?: "existing" | "none" | "new" | undefined;
2648
- }, {
2649
- code: string;
2650
- status: "draft" | "active" | "inactive";
2651
- type: "standard" | "buyget";
2652
- rules: {
2653
- values: string | number | string[];
2654
- operator: string;
2655
- attribute: string;
2656
- id?: string | undefined;
2657
- required?: boolean | undefined;
2658
- disguised?: boolean | undefined;
2659
- field_type?: string | undefined;
2660
- }[];
2661
- cost_bearer: "store" | "marketplace" | "shared";
2662
- shared_marketplace_percentage: number | null;
2663
- is_automatic: string;
2664
- application_method: {
2665
- value: string | number;
2666
- type: "fixed" | "percentage";
2667
- target_type: "items" | "order" | "shipping_methods";
2668
- allocation: "once" | "each" | "across";
2669
- target_rules: {
2670
- values: string | number | string[];
2671
- operator: string;
2672
- attribute: string;
2673
- id?: string | undefined;
2674
- required?: boolean | undefined;
2675
- disguised?: boolean | undefined;
2676
- field_type?: string | undefined;
2677
- }[];
2678
- buy_rules: {
2679
- values: string | number | string[];
2680
- operator: string;
2681
- attribute: string;
2682
- id?: string | undefined;
2683
- required?: boolean | undefined;
2684
- disguised?: boolean | undefined;
2685
- field_type?: string | undefined;
2686
- }[];
2687
- currency_code?: string | undefined;
2688
- max_quantity?: number | null | undefined;
2689
- };
2690
- seller_id?: string | undefined;
2691
- limit?: number | null | undefined;
2692
- is_tax_inclusive?: boolean | undefined;
2693
- campaign?: {
2694
- name: string;
2695
- ends_at: Date | null;
2696
- starts_at: Date | null;
2697
- campaign_identifier: string;
2698
- budget: {
2699
- type: "spend" | "usage" | "use_by_attribute";
2700
- currency_code?: string | null | undefined;
2701
- limit?: number | null | undefined;
2702
- attribute?: string | null | undefined;
2703
- };
2704
- description?: string | undefined;
2705
- } | undefined;
2706
- campaign_id?: string | undefined;
2707
- template_id?: string | undefined;
2708
- campaign_choice?: "existing" | "none" | "new" | undefined;
2709
- }>, {
2710
- code: string;
2711
- status: "draft" | "active" | "inactive";
2712
- type: "standard" | "buyget";
2713
- rules: {
2714
- values: string | number | string[];
2715
- operator: string;
2716
- attribute: string;
2717
- id?: string | undefined;
2718
- required?: boolean | undefined;
2719
- disguised?: boolean | undefined;
2720
- field_type?: string | undefined;
2721
- }[];
2722
- cost_bearer: "store" | "marketplace" | "shared";
2723
- shared_marketplace_percentage: number | null;
2724
- is_automatic: string;
2725
- application_method: {
2726
- value: string | number;
2727
- type: "fixed" | "percentage";
2728
- target_type: "items" | "order" | "shipping_methods";
2729
- allocation: "once" | "each" | "across";
2730
- target_rules: {
2731
- values: string | number | string[];
2732
- operator: string;
2733
- attribute: string;
2734
- id?: string | undefined;
2735
- required?: boolean | undefined;
2736
- disguised?: boolean | undefined;
2737
- field_type?: string | undefined;
2738
- }[];
2739
- buy_rules: {
2740
- values: string | number | string[];
2741
- operator: string;
2742
- attribute: string;
2743
- id?: string | undefined;
2744
- required?: boolean | undefined;
2745
- disguised?: boolean | undefined;
2746
- field_type?: string | undefined;
2747
- }[];
2748
- currency_code?: string | undefined;
2749
- max_quantity?: number | null | undefined;
2750
- };
2751
- seller_id?: string | undefined;
2752
- limit?: number | null | undefined;
2753
- is_tax_inclusive?: boolean | undefined;
2754
- campaign?: {
2755
- name: string;
2756
- ends_at: Date | null;
2757
- starts_at: Date | null;
2758
- campaign_identifier: string;
2759
- budget: {
2760
- type: "spend" | "usage" | "use_by_attribute";
2761
- currency_code?: string | null | undefined;
2762
- limit?: number | null | undefined;
2763
- attribute?: string | null | undefined;
2764
- };
2765
- description?: string | undefined;
2766
- } | undefined;
2767
- campaign_id?: string | undefined;
2768
- template_id?: string | undefined;
2769
- campaign_choice?: "existing" | "none" | "new" | undefined;
2770
- }, {
2771
- code: string;
2772
- status: "draft" | "active" | "inactive";
2773
- type: "standard" | "buyget";
2774
- rules: {
2775
- values: string | number | string[];
2776
- operator: string;
2777
- attribute: string;
2778
- id?: string | undefined;
2779
- required?: boolean | undefined;
2780
- disguised?: boolean | undefined;
2781
- field_type?: string | undefined;
2782
- }[];
2783
- cost_bearer: "store" | "marketplace" | "shared";
2784
- shared_marketplace_percentage: number | null;
2785
- is_automatic: string;
2786
- application_method: {
2787
- value: string | number;
2788
- type: "fixed" | "percentage";
2789
- target_type: "items" | "order" | "shipping_methods";
2790
- allocation: "once" | "each" | "across";
2791
- target_rules: {
2792
- values: string | number | string[];
2793
- operator: string;
2794
- attribute: string;
2795
- id?: string | undefined;
2796
- required?: boolean | undefined;
2797
- disguised?: boolean | undefined;
2798
- field_type?: string | undefined;
2799
- }[];
2800
- buy_rules: {
2801
- values: string | number | string[];
2802
- operator: string;
2803
- attribute: string;
2804
- id?: string | undefined;
2805
- required?: boolean | undefined;
2806
- disguised?: boolean | undefined;
2807
- field_type?: string | undefined;
2808
- }[];
2809
- currency_code?: string | undefined;
2810
- max_quantity?: number | null | undefined;
2811
- };
2812
- seller_id?: string | undefined;
2813
- limit?: number | null | undefined;
2814
- is_tax_inclusive?: boolean | undefined;
2815
- campaign?: {
2816
- name: string;
2817
- ends_at: Date | null;
2818
- starts_at: Date | null;
2819
- campaign_identifier: string;
2820
- budget: {
2821
- type: "spend" | "usage" | "use_by_attribute";
2822
- currency_code?: string | null | undefined;
2823
- limit?: number | null | undefined;
2824
- attribute?: string | null | undefined;
2825
- };
2826
- description?: string | undefined;
2827
- } | undefined;
2828
- campaign_id?: string | undefined;
2829
- template_id?: string | undefined;
2830
- campaign_choice?: "existing" | "none" | "new" | undefined;
2831
- }>;
1536
+ }, z.core.$strip>;
1537
+ }, z.core.$strip>>;
1538
+ }, z.core.$strip>;
2832
1539
  type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
2833
1540
 
2834
1541
  type CreatePromotionFormProps = {
@@ -2845,13 +1552,14 @@ declare const PromotionCreatePage: (({ children }: {
2845
1552
  TemplateTab: {
2846
1553
  (): react_jsx_runtime.JSX.Element;
2847
1554
  _tabMeta: TabDefinition<{
1555
+ is_automatic: string;
2848
1556
  code: string;
2849
- status: "draft" | "active" | "inactive";
2850
1557
  type: "standard" | "buyget";
1558
+ status: "draft" | "active" | "inactive";
2851
1559
  rules: {
2852
- values: string | number | string[];
2853
- operator: string;
2854
1560
  attribute: string;
1561
+ operator: string;
1562
+ values: string | number | string[];
2855
1563
  id?: string | undefined;
2856
1564
  required?: boolean | undefined;
2857
1565
  disguised?: boolean | undefined;
@@ -2859,52 +1567,51 @@ declare const PromotionCreatePage: (({ children }: {
2859
1567
  }[];
2860
1568
  cost_bearer: "store" | "marketplace" | "shared";
2861
1569
  shared_marketplace_percentage: number | null;
2862
- is_automatic: string;
2863
1570
  application_method: {
2864
- value: string | number;
2865
- type: "fixed" | "percentage";
2866
- target_type: "items" | "order" | "shipping_methods";
2867
1571
  allocation: "once" | "each" | "across";
1572
+ value: string | number;
2868
1573
  target_rules: {
2869
- values: string | number | string[];
2870
- operator: string;
2871
1574
  attribute: string;
1575
+ operator: string;
1576
+ values: string | number | string[];
2872
1577
  id?: string | undefined;
2873
1578
  required?: boolean | undefined;
2874
1579
  disguised?: boolean | undefined;
2875
1580
  field_type?: string | undefined;
2876
1581
  }[];
2877
1582
  buy_rules: {
2878
- values: string | number | string[];
2879
- operator: string;
2880
1583
  attribute: string;
1584
+ operator: string;
1585
+ values: string | number | string[];
2881
1586
  id?: string | undefined;
2882
1587
  required?: boolean | undefined;
2883
1588
  disguised?: boolean | undefined;
2884
1589
  field_type?: string | undefined;
2885
1590
  }[];
1591
+ type: "fixed" | "percentage";
1592
+ target_type: "items" | "order" | "shipping_methods";
2886
1593
  currency_code?: string | undefined;
2887
1594
  max_quantity?: number | null | undefined;
2888
1595
  };
1596
+ template_id?: string | undefined;
1597
+ campaign_id?: string | undefined;
1598
+ campaign_choice?: "existing" | "none" | "new" | undefined;
1599
+ is_tax_inclusive?: boolean | undefined;
2889
1600
  seller_id?: string | undefined;
2890
1601
  limit?: number | null | undefined;
2891
- is_tax_inclusive?: boolean | undefined;
2892
1602
  campaign?: {
2893
1603
  name: string;
2894
- ends_at: Date | null;
2895
- starts_at: Date | null;
2896
1604
  campaign_identifier: string;
1605
+ starts_at: Date | null;
1606
+ ends_at: Date | null;
2897
1607
  budget: {
2898
1608
  type: "spend" | "usage" | "use_by_attribute";
2899
- currency_code?: string | null | undefined;
2900
- limit?: number | null | undefined;
2901
1609
  attribute?: string | null | undefined;
1610
+ limit?: number | null | undefined;
1611
+ currency_code?: string | null | undefined;
2902
1612
  };
2903
1613
  description?: string | undefined;
2904
1614
  } | undefined;
2905
- campaign_id?: string | undefined;
2906
- template_id?: string | undefined;
2907
- campaign_choice?: "existing" | "none" | "new" | undefined;
2908
1615
  }>;
2909
1616
  };
2910
1617
  DetailsTab: {
@@ -2916,13 +1623,14 @@ declare const PromotionCreatePage: (({ children }: {
2916
1623
  };
2917
1624
  }): react_jsx_runtime.JSX.Element;
2918
1625
  _tabMeta: TabDefinition<{
1626
+ is_automatic: string;
2919
1627
  code: string;
2920
- status: "draft" | "active" | "inactive";
2921
1628
  type: "standard" | "buyget";
1629
+ status: "draft" | "active" | "inactive";
2922
1630
  rules: {
2923
- values: string | number | string[];
2924
- operator: string;
2925
1631
  attribute: string;
1632
+ operator: string;
1633
+ values: string | number | string[];
2926
1634
  id?: string | undefined;
2927
1635
  required?: boolean | undefined;
2928
1636
  disguised?: boolean | undefined;
@@ -2930,64 +1638,64 @@ declare const PromotionCreatePage: (({ children }: {
2930
1638
  }[];
2931
1639
  cost_bearer: "store" | "marketplace" | "shared";
2932
1640
  shared_marketplace_percentage: number | null;
2933
- is_automatic: string;
2934
1641
  application_method: {
2935
- value: string | number;
2936
- type: "fixed" | "percentage";
2937
- target_type: "items" | "order" | "shipping_methods";
2938
1642
  allocation: "once" | "each" | "across";
1643
+ value: string | number;
2939
1644
  target_rules: {
2940
- values: string | number | string[];
2941
- operator: string;
2942
1645
  attribute: string;
1646
+ operator: string;
1647
+ values: string | number | string[];
2943
1648
  id?: string | undefined;
2944
1649
  required?: boolean | undefined;
2945
1650
  disguised?: boolean | undefined;
2946
1651
  field_type?: string | undefined;
2947
1652
  }[];
2948
1653
  buy_rules: {
2949
- values: string | number | string[];
2950
- operator: string;
2951
1654
  attribute: string;
1655
+ operator: string;
1656
+ values: string | number | string[];
2952
1657
  id?: string | undefined;
2953
1658
  required?: boolean | undefined;
2954
1659
  disguised?: boolean | undefined;
2955
1660
  field_type?: string | undefined;
2956
1661
  }[];
1662
+ type: "fixed" | "percentage";
1663
+ target_type: "items" | "order" | "shipping_methods";
2957
1664
  currency_code?: string | undefined;
2958
1665
  max_quantity?: number | null | undefined;
2959
1666
  };
1667
+ template_id?: string | undefined;
1668
+ campaign_id?: string | undefined;
1669
+ campaign_choice?: "existing" | "none" | "new" | undefined;
1670
+ is_tax_inclusive?: boolean | undefined;
2960
1671
  seller_id?: string | undefined;
2961
1672
  limit?: number | null | undefined;
2962
- is_tax_inclusive?: boolean | undefined;
2963
1673
  campaign?: {
2964
1674
  name: string;
2965
- ends_at: Date | null;
2966
- starts_at: Date | null;
2967
1675
  campaign_identifier: string;
1676
+ starts_at: Date | null;
1677
+ ends_at: Date | null;
2968
1678
  budget: {
2969
1679
  type: "spend" | "usage" | "use_by_attribute";
2970
- currency_code?: string | null | undefined;
2971
- limit?: number | null | undefined;
2972
1680
  attribute?: string | null | undefined;
1681
+ limit?: number | null | undefined;
1682
+ currency_code?: string | null | undefined;
2973
1683
  };
2974
1684
  description?: string | undefined;
2975
1685
  } | undefined;
2976
- campaign_id?: string | undefined;
2977
- template_id?: string | undefined;
2978
- campaign_choice?: "existing" | "none" | "new" | undefined;
2979
1686
  }>;
2980
1687
  };
2981
1688
  CampaignTab: {
2982
1689
  (): react_jsx_runtime.JSX.Element;
2983
1690
  _tabMeta: TabDefinition<{
1691
+ is_automatic: string;
2984
1692
  code: string;
2985
- status: "draft" | "active" | "inactive";
2986
1693
  type: "standard" | "buyget";
1694
+ status: "draft" | "active" | "inactive";
2987
1695
  rules: {
2988
- values: string | number | string[];
2989
- operator: string;
2990
1696
  attribute: string;
1697
+ operator: string;
1698
+ values: string | number | string[];
2991
1699
  id?: string | undefined;
2992
1700
  required?: boolean | undefined;
2993
1701
  disguised?: boolean | undefined;
@@ -2995,52 +1703,51 @@ declare const PromotionCreatePage: (({ children }: {
2995
1703
  }[];
2996
1704
  cost_bearer: "store" | "marketplace" | "shared";
2997
1705
  shared_marketplace_percentage: number | null;
2998
- is_automatic: string;
2999
1706
  application_method: {
3000
- value: string | number;
3001
- type: "fixed" | "percentage";
3002
- target_type: "items" | "order" | "shipping_methods";
3003
1707
  allocation: "once" | "each" | "across";
1708
+ value: string | number;
3004
1709
  target_rules: {
3005
- values: string | number | string[];
3006
- operator: string;
3007
1710
  attribute: string;
1711
+ operator: string;
1712
+ values: string | number | string[];
3008
1713
  id?: string | undefined;
3009
1714
  required?: boolean | undefined;
3010
1715
  disguised?: boolean | undefined;
3011
1716
  field_type?: string | undefined;
3012
1717
  }[];
3013
1718
  buy_rules: {
3014
- values: string | number | string[];
3015
- operator: string;
3016
1719
  attribute: string;
1720
+ operator: string;
1721
+ values: string | number | string[];
3017
1722
  id?: string | undefined;
3018
1723
  required?: boolean | undefined;
3019
1724
  disguised?: boolean | undefined;
3020
1725
  field_type?: string | undefined;
3021
1726
  }[];
1727
+ type: "fixed" | "percentage";
1728
+ target_type: "items" | "order" | "shipping_methods";
3022
1729
  currency_code?: string | undefined;
3023
1730
  max_quantity?: number | null | undefined;
3024
1731
  };
1732
+ template_id?: string | undefined;
1733
+ campaign_id?: string | undefined;
1734
+ campaign_choice?: "existing" | "none" | "new" | undefined;
1735
+ is_tax_inclusive?: boolean | undefined;
3025
1736
  seller_id?: string | undefined;
3026
1737
  limit?: number | null | undefined;
3027
- is_tax_inclusive?: boolean | undefined;
3028
1738
  campaign?: {
3029
1739
  name: string;
3030
- ends_at: Date | null;
3031
- starts_at: Date | null;
3032
1740
  campaign_identifier: string;
1741
+ starts_at: Date | null;
1742
+ ends_at: Date | null;
3033
1743
  budget: {
3034
1744
  type: "spend" | "usage" | "use_by_attribute";
3035
- currency_code?: string | null | undefined;
3036
- limit?: number | null | undefined;
3037
1745
  attribute?: string | null | undefined;
1746
+ limit?: number | null | undefined;
1747
+ currency_code?: string | null | undefined;
3038
1748
  };
3039
1749
  description?: string | undefined;
3040
1750
  } | undefined;
3041
- campaign_id?: string | undefined;
3042
- template_id?: string | undefined;
3043
- campaign_choice?: "existing" | "none" | "new" | undefined;
3044
1751
  }>;
3045
1752
  };
3046
1753
  Tab: ({ children, }: {