@meerkapp/wms-contracts 0.3.0-beta.1 → 0.3.0-beta.2

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.
package/dist/index.d.cts CHANGED
@@ -22171,7 +22171,6 @@ declare const CharacteristicSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodOb
22171
22171
  label: z$1.ZodString;
22172
22172
  type: z$1.ZodLiteral<"number">;
22173
22173
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22174
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22175
22174
  validation: z$1.ZodOptional<z$1.ZodObject<{
22176
22175
  min: z$1.ZodOptional<z$1.ZodNumber>;
22177
22176
  max: z$1.ZodOptional<z$1.ZodNumber>;
@@ -22194,7 +22193,6 @@ declare const CharacteristicSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodOb
22194
22193
  key: string;
22195
22194
  label: string;
22196
22195
  required: boolean;
22197
- sku_dependent: boolean;
22198
22196
  validation?: {
22199
22197
  min?: number | undefined;
22200
22198
  max?: number | undefined;
@@ -22211,7 +22209,6 @@ declare const CharacteristicSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodOb
22211
22209
  max?: number | undefined;
22212
22210
  } | undefined;
22213
22211
  required?: boolean | undefined;
22214
- sku_dependent?: boolean | undefined;
22215
22212
  ui?: {
22216
22213
  suffix?: string | undefined;
22217
22214
  } | undefined;
@@ -22220,7 +22217,6 @@ declare const CharacteristicSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodOb
22220
22217
  label: z$1.ZodString;
22221
22218
  type: z$1.ZodLiteral<"select">;
22222
22219
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22223
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22224
22220
  options: z$1.ZodArray<z$1.ZodObject<{
22225
22221
  label: z$1.ZodString;
22226
22222
  value: z$1.ZodString;
@@ -22240,7 +22236,6 @@ declare const CharacteristicSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodOb
22240
22236
  key: string;
22241
22237
  label: string;
22242
22238
  required: boolean;
22243
- sku_dependent: boolean;
22244
22239
  }, {
22245
22240
  options: {
22246
22241
  value: string;
@@ -22250,14 +22245,12 @@ declare const CharacteristicSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodOb
22250
22245
  key: string;
22251
22246
  label: string;
22252
22247
  required?: boolean | undefined;
22253
- sku_dependent?: boolean | undefined;
22254
22248
  }>]>;
22255
22249
  declare const CharacteristicsSchemeSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
22256
22250
  key: z$1.ZodString;
22257
22251
  label: z$1.ZodString;
22258
22252
  type: z$1.ZodLiteral<"number">;
22259
22253
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22260
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22261
22254
  validation: z$1.ZodOptional<z$1.ZodObject<{
22262
22255
  min: z$1.ZodOptional<z$1.ZodNumber>;
22263
22256
  max: z$1.ZodOptional<z$1.ZodNumber>;
@@ -22280,7 +22273,6 @@ declare const CharacteristicsSchemeSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnio
22280
22273
  key: string;
22281
22274
  label: string;
22282
22275
  required: boolean;
22283
- sku_dependent: boolean;
22284
22276
  validation?: {
22285
22277
  min?: number | undefined;
22286
22278
  max?: number | undefined;
@@ -22297,7 +22289,6 @@ declare const CharacteristicsSchemeSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnio
22297
22289
  max?: number | undefined;
22298
22290
  } | undefined;
22299
22291
  required?: boolean | undefined;
22300
- sku_dependent?: boolean | undefined;
22301
22292
  ui?: {
22302
22293
  suffix?: string | undefined;
22303
22294
  } | undefined;
@@ -22306,7 +22297,6 @@ declare const CharacteristicsSchemeSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnio
22306
22297
  label: z$1.ZodString;
22307
22298
  type: z$1.ZodLiteral<"select">;
22308
22299
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22309
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22310
22300
  options: z$1.ZodArray<z$1.ZodObject<{
22311
22301
  label: z$1.ZodString;
22312
22302
  value: z$1.ZodString;
@@ -22326,7 +22316,6 @@ declare const CharacteristicsSchemeSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnio
22326
22316
  key: string;
22327
22317
  label: string;
22328
22318
  required: boolean;
22329
- sku_dependent: boolean;
22330
22319
  }, {
22331
22320
  options: {
22332
22321
  value: string;
@@ -22336,13 +22325,11 @@ declare const CharacteristicsSchemeSchema: z$1.ZodArray<z$1.ZodDiscriminatedUnio
22336
22325
  key: string;
22337
22326
  label: string;
22338
22327
  required?: boolean | undefined;
22339
- sku_dependent?: boolean | undefined;
22340
22328
  }>]>, "many">;
22341
22329
  type Characteristic = z$1.infer<typeof CharacteristicSchema>;
22342
22330
  type CharacteristicsScheme = z$1.infer<typeof CharacteristicsSchemeSchema>;
22343
22331
  declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObject<{
22344
22332
  name: z$1.ZodString;
22345
- code: z$1.ZodString;
22346
22333
  defaultWriteoffStrategy: z$1.ZodDefault<z$1.ZodEnum<["FIFO", "LIFO", "FEFO", "MANUAL"]>>;
22347
22334
  skuMode: z$1.ZodDefault<z$1.ZodEnum<["GLOBAL", "CUSTOM"]>>;
22348
22335
  skuTemplate: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
@@ -22351,7 +22338,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22351
22338
  label: z$1.ZodString;
22352
22339
  type: z$1.ZodLiteral<"number">;
22353
22340
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22354
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22355
22341
  validation: z$1.ZodOptional<z$1.ZodObject<{
22356
22342
  min: z$1.ZodOptional<z$1.ZodNumber>;
22357
22343
  max: z$1.ZodOptional<z$1.ZodNumber>;
@@ -22374,7 +22360,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22374
22360
  key: string;
22375
22361
  label: string;
22376
22362
  required: boolean;
22377
- sku_dependent: boolean;
22378
22363
  validation?: {
22379
22364
  min?: number | undefined;
22380
22365
  max?: number | undefined;
@@ -22391,7 +22376,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22391
22376
  max?: number | undefined;
22392
22377
  } | undefined;
22393
22378
  required?: boolean | undefined;
22394
- sku_dependent?: boolean | undefined;
22395
22379
  ui?: {
22396
22380
  suffix?: string | undefined;
22397
22381
  } | undefined;
@@ -22400,7 +22384,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22400
22384
  label: z$1.ZodString;
22401
22385
  type: z$1.ZodLiteral<"select">;
22402
22386
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22403
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22404
22387
  options: z$1.ZodArray<z$1.ZodObject<{
22405
22388
  label: z$1.ZodString;
22406
22389
  value: z$1.ZodString;
@@ -22420,7 +22403,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22420
22403
  key: string;
22421
22404
  label: string;
22422
22405
  required: boolean;
22423
- sku_dependent: boolean;
22424
22406
  }, {
22425
22407
  options: {
22426
22408
  value: string;
@@ -22430,20 +22412,17 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22430
22412
  key: string;
22431
22413
  label: string;
22432
22414
  required?: boolean | undefined;
22433
- sku_dependent?: boolean | undefined;
22434
22415
  }>]>, "many">>>;
22435
22416
  }, "strip", z$1.ZodTypeAny, {
22436
- code: string;
22437
22417
  name: string;
22438
22418
  defaultWriteoffStrategy: "FIFO" | "LIFO" | "FEFO" | "MANUAL";
22439
- skuMode: "GLOBAL" | "CUSTOM";
22419
+ skuMode: "CUSTOM" | "GLOBAL";
22440
22420
  skuTemplate?: string | null | undefined;
22441
22421
  characteristicsScheme?: ({
22442
22422
  type: "number";
22443
22423
  key: string;
22444
22424
  label: string;
22445
22425
  required: boolean;
22446
- sku_dependent: boolean;
22447
22426
  validation?: {
22448
22427
  min?: number | undefined;
22449
22428
  max?: number | undefined;
@@ -22460,13 +22439,11 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22460
22439
  key: string;
22461
22440
  label: string;
22462
22441
  required: boolean;
22463
- sku_dependent: boolean;
22464
22442
  })[] | null | undefined;
22465
22443
  }, {
22466
- code: string;
22467
22444
  name: string;
22468
22445
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22469
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22446
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22470
22447
  skuTemplate?: string | null | undefined;
22471
22448
  characteristicsScheme?: ({
22472
22449
  type: "number";
@@ -22477,7 +22454,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22477
22454
  max?: number | undefined;
22478
22455
  } | undefined;
22479
22456
  required?: boolean | undefined;
22480
- sku_dependent?: boolean | undefined;
22481
22457
  ui?: {
22482
22458
  suffix?: string | undefined;
22483
22459
  } | undefined;
@@ -22490,20 +22466,17 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22490
22466
  key: string;
22491
22467
  label: string;
22492
22468
  required?: boolean | undefined;
22493
- sku_dependent?: boolean | undefined;
22494
22469
  })[] | null | undefined;
22495
22470
  }>, {
22496
- code: string;
22497
22471
  name: string;
22498
22472
  defaultWriteoffStrategy: "FIFO" | "LIFO" | "FEFO" | "MANUAL";
22499
- skuMode: "GLOBAL" | "CUSTOM";
22473
+ skuMode: "CUSTOM" | "GLOBAL";
22500
22474
  skuTemplate?: string | null | undefined;
22501
22475
  characteristicsScheme?: ({
22502
22476
  type: "number";
22503
22477
  key: string;
22504
22478
  label: string;
22505
22479
  required: boolean;
22506
- sku_dependent: boolean;
22507
22480
  validation?: {
22508
22481
  min?: number | undefined;
22509
22482
  max?: number | undefined;
@@ -22520,13 +22493,11 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22520
22493
  key: string;
22521
22494
  label: string;
22522
22495
  required: boolean;
22523
- sku_dependent: boolean;
22524
22496
  })[] | null | undefined;
22525
22497
  }, {
22526
- code: string;
22527
22498
  name: string;
22528
22499
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22529
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22500
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22530
22501
  skuTemplate?: string | null | undefined;
22531
22502
  characteristicsScheme?: ({
22532
22503
  type: "number";
@@ -22537,7 +22508,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22537
22508
  max?: number | undefined;
22538
22509
  } | undefined;
22539
22510
  required?: boolean | undefined;
22540
- sku_dependent?: boolean | undefined;
22541
22511
  ui?: {
22542
22512
  suffix?: string | undefined;
22543
22513
  } | undefined;
@@ -22550,20 +22520,17 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22550
22520
  key: string;
22551
22521
  label: string;
22552
22522
  required?: boolean | undefined;
22553
- sku_dependent?: boolean | undefined;
22554
22523
  })[] | null | undefined;
22555
22524
  }>, {
22556
- code: string;
22557
22525
  name: string;
22558
22526
  defaultWriteoffStrategy: "FIFO" | "LIFO" | "FEFO" | "MANUAL";
22559
- skuMode: "GLOBAL" | "CUSTOM";
22527
+ skuMode: "CUSTOM" | "GLOBAL";
22560
22528
  skuTemplate?: string | null | undefined;
22561
22529
  characteristicsScheme?: ({
22562
22530
  type: "number";
22563
22531
  key: string;
22564
22532
  label: string;
22565
22533
  required: boolean;
22566
- sku_dependent: boolean;
22567
22534
  validation?: {
22568
22535
  min?: number | undefined;
22569
22536
  max?: number | undefined;
@@ -22580,13 +22547,11 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22580
22547
  key: string;
22581
22548
  label: string;
22582
22549
  required: boolean;
22583
- sku_dependent: boolean;
22584
22550
  })[] | null | undefined;
22585
22551
  }, {
22586
- code: string;
22587
22552
  name: string;
22588
22553
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22589
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22554
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22590
22555
  skuTemplate?: string | null | undefined;
22591
22556
  characteristicsScheme?: ({
22592
22557
  type: "number";
@@ -22597,7 +22562,6 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22597
22562
  max?: number | undefined;
22598
22563
  } | undefined;
22599
22564
  required?: boolean | undefined;
22600
- sku_dependent?: boolean | undefined;
22601
22565
  ui?: {
22602
22566
  suffix?: string | undefined;
22603
22567
  } | undefined;
@@ -22610,12 +22574,10 @@ declare const CreateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22610
22574
  key: string;
22611
22575
  label: string;
22612
22576
  required?: boolean | undefined;
22613
- sku_dependent?: boolean | undefined;
22614
22577
  })[] | null | undefined;
22615
22578
  }>;
22616
22579
  declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObject<{
22617
22580
  name: z$1.ZodOptional<z$1.ZodString>;
22618
- code: z$1.ZodOptional<z$1.ZodString>;
22619
22581
  defaultWriteoffStrategy: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<["FIFO", "LIFO", "FEFO", "MANUAL"]>>>;
22620
22582
  skuMode: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<["GLOBAL", "CUSTOM"]>>>;
22621
22583
  skuTemplate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>>;
@@ -22624,7 +22586,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22624
22586
  label: z$1.ZodString;
22625
22587
  type: z$1.ZodLiteral<"number">;
22626
22588
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22627
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22628
22589
  validation: z$1.ZodOptional<z$1.ZodObject<{
22629
22590
  min: z$1.ZodOptional<z$1.ZodNumber>;
22630
22591
  max: z$1.ZodOptional<z$1.ZodNumber>;
@@ -22647,7 +22608,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22647
22608
  key: string;
22648
22609
  label: string;
22649
22610
  required: boolean;
22650
- sku_dependent: boolean;
22651
22611
  validation?: {
22652
22612
  min?: number | undefined;
22653
22613
  max?: number | undefined;
@@ -22664,7 +22624,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22664
22624
  max?: number | undefined;
22665
22625
  } | undefined;
22666
22626
  required?: boolean | undefined;
22667
- sku_dependent?: boolean | undefined;
22668
22627
  ui?: {
22669
22628
  suffix?: string | undefined;
22670
22629
  } | undefined;
@@ -22673,7 +22632,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22673
22632
  label: z$1.ZodString;
22674
22633
  type: z$1.ZodLiteral<"select">;
22675
22634
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22676
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22677
22635
  options: z$1.ZodArray<z$1.ZodObject<{
22678
22636
  label: z$1.ZodString;
22679
22637
  value: z$1.ZodString;
@@ -22693,7 +22651,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22693
22651
  key: string;
22694
22652
  label: string;
22695
22653
  required: boolean;
22696
- sku_dependent: boolean;
22697
22654
  }, {
22698
22655
  options: {
22699
22656
  value: string;
@@ -22703,20 +22660,17 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22703
22660
  key: string;
22704
22661
  label: string;
22705
22662
  required?: boolean | undefined;
22706
- sku_dependent?: boolean | undefined;
22707
22663
  }>]>, "many">>>>;
22708
22664
  }, "strip", z$1.ZodTypeAny, {
22709
- code?: string | undefined;
22710
22665
  name?: string | undefined;
22711
22666
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22712
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22667
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22713
22668
  skuTemplate?: string | null | undefined;
22714
22669
  characteristicsScheme?: ({
22715
22670
  type: "number";
22716
22671
  key: string;
22717
22672
  label: string;
22718
22673
  required: boolean;
22719
- sku_dependent: boolean;
22720
22674
  validation?: {
22721
22675
  min?: number | undefined;
22722
22676
  max?: number | undefined;
@@ -22733,13 +22687,11 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22733
22687
  key: string;
22734
22688
  label: string;
22735
22689
  required: boolean;
22736
- sku_dependent: boolean;
22737
22690
  })[] | null | undefined;
22738
22691
  }, {
22739
- code?: string | undefined;
22740
22692
  name?: string | undefined;
22741
22693
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22742
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22694
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22743
22695
  skuTemplate?: string | null | undefined;
22744
22696
  characteristicsScheme?: ({
22745
22697
  type: "number";
@@ -22750,7 +22702,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22750
22702
  max?: number | undefined;
22751
22703
  } | undefined;
22752
22704
  required?: boolean | undefined;
22753
- sku_dependent?: boolean | undefined;
22754
22705
  ui?: {
22755
22706
  suffix?: string | undefined;
22756
22707
  } | undefined;
@@ -22763,20 +22714,17 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22763
22714
  key: string;
22764
22715
  label: string;
22765
22716
  required?: boolean | undefined;
22766
- sku_dependent?: boolean | undefined;
22767
22717
  })[] | null | undefined;
22768
22718
  }>, {
22769
- code?: string | undefined;
22770
22719
  name?: string | undefined;
22771
22720
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22772
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22721
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22773
22722
  skuTemplate?: string | null | undefined;
22774
22723
  characteristicsScheme?: ({
22775
22724
  type: "number";
22776
22725
  key: string;
22777
22726
  label: string;
22778
22727
  required: boolean;
22779
- sku_dependent: boolean;
22780
22728
  validation?: {
22781
22729
  min?: number | undefined;
22782
22730
  max?: number | undefined;
@@ -22793,13 +22741,11 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22793
22741
  key: string;
22794
22742
  label: string;
22795
22743
  required: boolean;
22796
- sku_dependent: boolean;
22797
22744
  })[] | null | undefined;
22798
22745
  }, {
22799
- code?: string | undefined;
22800
22746
  name?: string | undefined;
22801
22747
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22802
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22748
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22803
22749
  skuTemplate?: string | null | undefined;
22804
22750
  characteristicsScheme?: ({
22805
22751
  type: "number";
@@ -22810,7 +22756,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22810
22756
  max?: number | undefined;
22811
22757
  } | undefined;
22812
22758
  required?: boolean | undefined;
22813
- sku_dependent?: boolean | undefined;
22814
22759
  ui?: {
22815
22760
  suffix?: string | undefined;
22816
22761
  } | undefined;
@@ -22823,20 +22768,17 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22823
22768
  key: string;
22824
22769
  label: string;
22825
22770
  required?: boolean | undefined;
22826
- sku_dependent?: boolean | undefined;
22827
22771
  })[] | null | undefined;
22828
22772
  }>, {
22829
- code?: string | undefined;
22830
22773
  name?: string | undefined;
22831
22774
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22832
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22775
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22833
22776
  skuTemplate?: string | null | undefined;
22834
22777
  characteristicsScheme?: ({
22835
22778
  type: "number";
22836
22779
  key: string;
22837
22780
  label: string;
22838
22781
  required: boolean;
22839
- sku_dependent: boolean;
22840
22782
  validation?: {
22841
22783
  min?: number | undefined;
22842
22784
  max?: number | undefined;
@@ -22853,13 +22795,11 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22853
22795
  key: string;
22854
22796
  label: string;
22855
22797
  required: boolean;
22856
- sku_dependent: boolean;
22857
22798
  })[] | null | undefined;
22858
22799
  }, {
22859
- code?: string | undefined;
22860
22800
  name?: string | undefined;
22861
22801
  defaultWriteoffStrategy?: "FIFO" | "LIFO" | "FEFO" | "MANUAL" | undefined;
22862
- skuMode?: "GLOBAL" | "CUSTOM" | undefined;
22802
+ skuMode?: "CUSTOM" | "GLOBAL" | undefined;
22863
22803
  skuTemplate?: string | null | undefined;
22864
22804
  characteristicsScheme?: ({
22865
22805
  type: "number";
@@ -22870,7 +22810,6 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22870
22810
  max?: number | undefined;
22871
22811
  } | undefined;
22872
22812
  required?: boolean | undefined;
22873
- sku_dependent?: boolean | undefined;
22874
22813
  ui?: {
22875
22814
  suffix?: string | undefined;
22876
22815
  } | undefined;
@@ -22883,13 +22822,11 @@ declare const UpdateProductTypeSchema: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObje
22883
22822
  key: string;
22884
22823
  label: string;
22885
22824
  required?: boolean | undefined;
22886
- sku_dependent?: boolean | undefined;
22887
22825
  })[] | null | undefined;
22888
22826
  }>;
22889
22827
  declare const ProductTypeSchema: z$1.ZodObject<{
22890
22828
  id: z$1.ZodNumber;
22891
22829
  name: z$1.ZodString;
22892
- code: z$1.ZodString;
22893
22830
  defaultWriteoffStrategy: z$1.ZodEnum<["FIFO", "LIFO", "FEFO", "MANUAL"]>;
22894
22831
  skuMode: z$1.ZodEnum<["GLOBAL", "CUSTOM"]>;
22895
22832
  skuTemplate: z$1.ZodNullable<z$1.ZodString>;
@@ -22899,7 +22836,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
22899
22836
  label: z$1.ZodString;
22900
22837
  type: z$1.ZodLiteral<"number">;
22901
22838
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22902
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22903
22839
  validation: z$1.ZodOptional<z$1.ZodObject<{
22904
22840
  min: z$1.ZodOptional<z$1.ZodNumber>;
22905
22841
  max: z$1.ZodOptional<z$1.ZodNumber>;
@@ -22922,7 +22858,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
22922
22858
  key: string;
22923
22859
  label: string;
22924
22860
  required: boolean;
22925
- sku_dependent: boolean;
22926
22861
  validation?: {
22927
22862
  min?: number | undefined;
22928
22863
  max?: number | undefined;
@@ -22939,7 +22874,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
22939
22874
  max?: number | undefined;
22940
22875
  } | undefined;
22941
22876
  required?: boolean | undefined;
22942
- sku_dependent?: boolean | undefined;
22943
22877
  ui?: {
22944
22878
  suffix?: string | undefined;
22945
22879
  } | undefined;
@@ -22948,7 +22882,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
22948
22882
  label: z$1.ZodString;
22949
22883
  type: z$1.ZodLiteral<"select">;
22950
22884
  required: z$1.ZodDefault<z$1.ZodBoolean>;
22951
- sku_dependent: z$1.ZodDefault<z$1.ZodBoolean>;
22952
22885
  options: z$1.ZodArray<z$1.ZodObject<{
22953
22886
  label: z$1.ZodString;
22954
22887
  value: z$1.ZodString;
@@ -22968,7 +22901,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
22968
22901
  key: string;
22969
22902
  label: string;
22970
22903
  required: boolean;
22971
- sku_dependent: boolean;
22972
22904
  }, {
22973
22905
  options: {
22974
22906
  value: string;
@@ -22978,23 +22910,20 @@ declare const ProductTypeSchema: z$1.ZodObject<{
22978
22910
  key: string;
22979
22911
  label: string;
22980
22912
  required?: boolean | undefined;
22981
- sku_dependent?: boolean | undefined;
22982
22913
  }>]>, "many">>;
22983
22914
  updatedAt: z$1.ZodString;
22984
22915
  }, "strip", z$1.ZodTypeAny, {
22985
- code: string;
22986
22916
  id: number;
22987
22917
  updatedAt: string;
22988
22918
  name: string;
22989
22919
  defaultWriteoffStrategy: "FIFO" | "LIFO" | "FEFO" | "MANUAL";
22990
- skuMode: "GLOBAL" | "CUSTOM";
22920
+ skuMode: "CUSTOM" | "GLOBAL";
22991
22921
  skuTemplate: string | null;
22992
22922
  characteristicsScheme: ({
22993
22923
  type: "number";
22994
22924
  key: string;
22995
22925
  label: string;
22996
22926
  required: boolean;
22997
- sku_dependent: boolean;
22998
22927
  validation?: {
22999
22928
  min?: number | undefined;
23000
22929
  max?: number | undefined;
@@ -23011,16 +22940,14 @@ declare const ProductTypeSchema: z$1.ZodObject<{
23011
22940
  key: string;
23012
22941
  label: string;
23013
22942
  required: boolean;
23014
- sku_dependent: boolean;
23015
22943
  })[] | null;
23016
22944
  skuCounter: number;
23017
22945
  }, {
23018
- code: string;
23019
22946
  id: number;
23020
22947
  updatedAt: string;
23021
22948
  name: string;
23022
22949
  defaultWriteoffStrategy: "FIFO" | "LIFO" | "FEFO" | "MANUAL";
23023
- skuMode: "GLOBAL" | "CUSTOM";
22950
+ skuMode: "CUSTOM" | "GLOBAL";
23024
22951
  skuTemplate: string | null;
23025
22952
  characteristicsScheme: ({
23026
22953
  type: "number";
@@ -23031,7 +22958,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
23031
22958
  max?: number | undefined;
23032
22959
  } | undefined;
23033
22960
  required?: boolean | undefined;
23034
- sku_dependent?: boolean | undefined;
23035
22961
  ui?: {
23036
22962
  suffix?: string | undefined;
23037
22963
  } | undefined;
@@ -23044,7 +22970,6 @@ declare const ProductTypeSchema: z$1.ZodObject<{
23044
22970
  key: string;
23045
22971
  label: string;
23046
22972
  required?: boolean | undefined;
23047
- sku_dependent?: boolean | undefined;
23048
22973
  })[] | null;
23049
22974
  skuCounter: number;
23050
22975
  }>;