@pksep/zod-shared 0.0.551 → 0.0.552
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/action/enums/enums.d.ts +0 -10
- package/dist/action/enums/enums.js +0 -10
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +24 -24
- package/dist/assemble/interfaces/interfaces.d.ts +36 -6
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +18 -18
- package/dist/assemble/schemas/assemble.schema.d.ts +18 -18
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +6 -6
- package/dist/buyer/schemas/buyer.schema.d.ts +2 -2
- package/dist/buyer/schemas/purchases.schema.d.ts +2 -2
- package/dist/cbed/schemas/cbed.schema.d.ts +2 -2
- package/dist/company/schemas/companies.schema.d.ts +2 -2
- package/dist/detal/default-values/default-values.d.ts +0 -4
- package/dist/detal/default-values/default-values.js +0 -4
- package/dist/detal/schemas/detal-deficit.schema.d.ts +28 -198
- package/dist/detal/schemas/detal.schema.d.ts +22 -192
- package/dist/document/dto/update-document.dto.d.ts +2 -2
- package/dist/edizm/schemas/edizm.schema.d.ts +2 -2
- package/dist/edizm/schemas/type-edizm.schema.d.ts +6 -6
- package/dist/equipment/dto/udate-equipment-type.dto.d.ts +2 -2
- package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
- package/dist/equipment/schemas/equipment-pt.schema.d.ts +2 -2
- package/dist/equipment/schemas/equipment.schema.d.ts +6 -6
- package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +4 -4
- package/dist/expenditure/schema/expenditure-position.schema.d.ts +2 -2
- package/dist/instrument/dto/update-instrument.dto.d.ts +2 -2
- package/dist/instrument/dto/update-pt.dto.d.ts +2 -2
- package/dist/instrument/schemas/pt-instrument.schema.d.ts +2 -2
- package/dist/inventary/dto/update-inventary.dto.d.ts +2 -2
- package/dist/material/dto/create-material.dto.d.ts +0 -136
- package/dist/material/dto/create-material.dto.js +0 -16
- package/dist/material/dto/up-create-type-material.dto.d.ts +0 -4
- package/dist/material/dto/up-create-type-material.dto.js +1 -6
- package/dist/material/enum/enum.d.ts +0 -10
- package/dist/material/enum/enum.js +1 -12
- package/dist/material/index.d.ts +0 -1
- package/dist/material/index.js +0 -1
- package/dist/material/interfaces/interface.d.ts +0 -5
- package/dist/material/schemas/material-characteristics.schema.d.ts +0 -56
- package/dist/material/schemas/material-characteristics.schema.js +1 -3
- package/dist/material/schemas/material-shipments-response.schema.d.ts +6 -130
- package/dist/material/schemas/material.schema.d.ts +6 -130
- package/dist/material/schemas/subtype-material.schema.d.ts +2 -2
- package/dist/material/schemas/subtype-material.schema.js +1 -1
- package/dist/material/schemas/type-material.schema.d.ts +2 -118
- package/dist/material/schemas/type-material.schema.js +2 -9
- package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
- package/dist/moving/schemas/moving.schema.d.ts +6 -6
- package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +3 -3
- package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
- package/dist/product/schemas/product-deficit.schema.d.ts +6 -6
- package/dist/production-tasks/index.d.ts +1 -0
- package/dist/production-tasks/index.js +1 -0
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.d.ts +232 -0
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.js +64 -0
- package/dist/role/dto/update-role.dto.d.ts +2 -2
- package/dist/role/schemas/role.schema.d.ts +8 -8
- package/dist/sclad/schemas/remain.schema.d.ts +2 -2
- package/dist/sclad/schemas/remains.schema.d.ts +16 -16
- package/dist/settings/dto/update-edizm.dto.d.ts +2 -2
- package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +18 -18
- package/dist/shipments/dto/up-create-shipments.dto.d.ts +4 -4
- package/dist/shipments/schemas/shipment-list-item.schema.d.ts +12 -12
- package/dist/shipments/schemas/shipments.schema.d.ts +4 -4
- package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +12 -12
- package/dist/shipments/types/update-shipments-by-product.type.d.ts +12 -12
- package/dist/specification/schema/attributes.schema.d.ts +46 -432
- package/dist/tech-process/schemas/tech-process.schema.d.ts +2 -2
- package/dist/user/schemas/user.schema.d.ts +4 -4
- package/dist/utils/schemas/schema.d.ts +2 -2
- package/dist/utils/types.d.ts +0 -6
- package/package.json +1 -1
|
@@ -226,38 +226,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
226
226
|
znach: number;
|
|
227
227
|
shortName: string;
|
|
228
228
|
}>;
|
|
229
|
-
acrossFlats: z.ZodObject<{
|
|
230
|
-
used: z.ZodBoolean;
|
|
231
|
-
edizmId: z.ZodNumber;
|
|
232
|
-
znach: z.ZodNumber;
|
|
233
|
-
shortName: z.ZodString;
|
|
234
|
-
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
used: boolean;
|
|
236
|
-
edizmId: number;
|
|
237
|
-
znach: number;
|
|
238
|
-
shortName: string;
|
|
239
|
-
}, {
|
|
240
|
-
used: boolean;
|
|
241
|
-
edizmId: number;
|
|
242
|
-
znach: number;
|
|
243
|
-
shortName: string;
|
|
244
|
-
}>;
|
|
245
|
-
massPerMeter: z.ZodObject<{
|
|
246
|
-
used: z.ZodBoolean;
|
|
247
|
-
edizmId: z.ZodNumber;
|
|
248
|
-
znach: z.ZodNumber;
|
|
249
|
-
shortName: z.ZodString;
|
|
250
|
-
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
used: boolean;
|
|
252
|
-
edizmId: number;
|
|
253
|
-
znach: number;
|
|
254
|
-
shortName: string;
|
|
255
|
-
}, {
|
|
256
|
-
used: boolean;
|
|
257
|
-
edizmId: number;
|
|
258
|
-
znach: number;
|
|
259
|
-
shortName: string;
|
|
260
|
-
}>;
|
|
261
229
|
}, "strip", z.ZodTypeAny, {
|
|
262
230
|
length: {
|
|
263
231
|
used: boolean;
|
|
@@ -307,18 +275,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
307
275
|
znach: number;
|
|
308
276
|
shortName: string;
|
|
309
277
|
};
|
|
310
|
-
acrossFlats: {
|
|
311
|
-
used: boolean;
|
|
312
|
-
edizmId: number;
|
|
313
|
-
znach: number;
|
|
314
|
-
shortName: string;
|
|
315
|
-
};
|
|
316
|
-
massPerMeter: {
|
|
317
|
-
used: boolean;
|
|
318
|
-
edizmId: number;
|
|
319
|
-
znach: number;
|
|
320
|
-
shortName: string;
|
|
321
|
-
};
|
|
322
278
|
}, {
|
|
323
279
|
length: {
|
|
324
280
|
used: boolean;
|
|
@@ -368,18 +324,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
368
324
|
znach: number;
|
|
369
325
|
shortName: string;
|
|
370
326
|
};
|
|
371
|
-
acrossFlats: {
|
|
372
|
-
used: boolean;
|
|
373
|
-
edizmId: number;
|
|
374
|
-
znach: number;
|
|
375
|
-
shortName: string;
|
|
376
|
-
};
|
|
377
|
-
massPerMeter: {
|
|
378
|
-
used: boolean;
|
|
379
|
-
edizmId: number;
|
|
380
|
-
znach: number;
|
|
381
|
-
shortName: string;
|
|
382
|
-
};
|
|
383
327
|
}>;
|
|
384
328
|
units_measurement: z.ZodArray<z.ZodType<import("../../material").IUnitsMeasurement, z.ZodTypeDef, import("../../material").IUnitsMeasurement>, "many">;
|
|
385
329
|
attention: z.ZodBoolean;
|
|
@@ -389,8 +333,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
389
333
|
shipments: z.ZodOptional<z.ZodAny>;
|
|
390
334
|
typeMaterial: z.ZodType<{
|
|
391
335
|
ban: boolean;
|
|
392
|
-
name: string;
|
|
393
336
|
id: number;
|
|
337
|
+
name: string;
|
|
394
338
|
characteristics: {
|
|
395
339
|
length: {
|
|
396
340
|
edizmId: number;
|
|
@@ -427,23 +371,12 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
427
371
|
shortName: string;
|
|
428
372
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
429
373
|
};
|
|
430
|
-
acrossFlats: {
|
|
431
|
-
edizmId: number;
|
|
432
|
-
shortName: string;
|
|
433
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
434
|
-
};
|
|
435
|
-
massPerMeter: {
|
|
436
|
-
edizmId: number;
|
|
437
|
-
shortName: string;
|
|
438
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
439
|
-
};
|
|
440
374
|
};
|
|
441
375
|
instance_type: number;
|
|
442
|
-
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
443
376
|
}, z.ZodTypeDef, {
|
|
444
377
|
ban: boolean;
|
|
445
|
-
name: string;
|
|
446
378
|
id: number;
|
|
379
|
+
name: string;
|
|
447
380
|
characteristics: {
|
|
448
381
|
length: {
|
|
449
382
|
edizmId: number;
|
|
@@ -480,25 +413,14 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
480
413
|
shortName: string;
|
|
481
414
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
482
415
|
};
|
|
483
|
-
acrossFlats: {
|
|
484
|
-
edizmId: number;
|
|
485
|
-
shortName: string;
|
|
486
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
487
|
-
};
|
|
488
|
-
massPerMeter: {
|
|
489
|
-
edizmId: number;
|
|
490
|
-
shortName: string;
|
|
491
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
492
|
-
};
|
|
493
416
|
};
|
|
494
417
|
instance_type: number;
|
|
495
|
-
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
496
418
|
}>;
|
|
497
419
|
}, "strip", z.ZodTypeAny, {
|
|
498
420
|
ban: boolean;
|
|
499
421
|
description: string | null;
|
|
500
|
-
name: string;
|
|
501
422
|
id: number;
|
|
423
|
+
name: string;
|
|
502
424
|
entity_children_need_time: Date | null;
|
|
503
425
|
min_remaining: number;
|
|
504
426
|
quantity: number;
|
|
@@ -557,18 +479,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
557
479
|
znach: number;
|
|
558
480
|
shortName: string;
|
|
559
481
|
};
|
|
560
|
-
acrossFlats: {
|
|
561
|
-
used: boolean;
|
|
562
|
-
edizmId: number;
|
|
563
|
-
znach: number;
|
|
564
|
-
shortName: string;
|
|
565
|
-
};
|
|
566
|
-
massPerMeter: {
|
|
567
|
-
used: boolean;
|
|
568
|
-
edizmId: number;
|
|
569
|
-
znach: number;
|
|
570
|
-
shortName: string;
|
|
571
|
-
};
|
|
572
482
|
};
|
|
573
483
|
instance_type: number;
|
|
574
484
|
price: number;
|
|
@@ -578,8 +488,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
578
488
|
actual_shipment_id: number | null;
|
|
579
489
|
typeMaterial: {
|
|
580
490
|
ban: boolean;
|
|
581
|
-
name: string;
|
|
582
491
|
id: number;
|
|
492
|
+
name: string;
|
|
583
493
|
characteristics: {
|
|
584
494
|
length: {
|
|
585
495
|
edizmId: number;
|
|
@@ -616,26 +526,15 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
616
526
|
shortName: string;
|
|
617
527
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
618
528
|
};
|
|
619
|
-
acrossFlats: {
|
|
620
|
-
edizmId: number;
|
|
621
|
-
shortName: string;
|
|
622
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
623
|
-
};
|
|
624
|
-
massPerMeter: {
|
|
625
|
-
edizmId: number;
|
|
626
|
-
shortName: string;
|
|
627
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
628
|
-
};
|
|
629
529
|
};
|
|
630
530
|
instance_type: number;
|
|
631
|
-
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
632
531
|
};
|
|
633
532
|
shipments?: any;
|
|
634
533
|
isOrderedByStockOrder?: boolean | undefined;
|
|
635
534
|
}, {
|
|
636
535
|
description: string | null;
|
|
637
|
-
name: string;
|
|
638
536
|
id: number;
|
|
537
|
+
name: string;
|
|
639
538
|
min_remaining: number;
|
|
640
539
|
quantity: number;
|
|
641
540
|
deficit: number;
|
|
@@ -691,18 +590,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
691
590
|
znach: number;
|
|
692
591
|
shortName: string;
|
|
693
592
|
};
|
|
694
|
-
acrossFlats: {
|
|
695
|
-
used: boolean;
|
|
696
|
-
edizmId: number;
|
|
697
|
-
znach: number;
|
|
698
|
-
shortName: string;
|
|
699
|
-
};
|
|
700
|
-
massPerMeter: {
|
|
701
|
-
used: boolean;
|
|
702
|
-
edizmId: number;
|
|
703
|
-
znach: number;
|
|
704
|
-
shortName: string;
|
|
705
|
-
};
|
|
706
593
|
};
|
|
707
594
|
instance_type: number;
|
|
708
595
|
price: number;
|
|
@@ -711,8 +598,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
711
598
|
actual_shipment_id: number | null;
|
|
712
599
|
typeMaterial: {
|
|
713
600
|
ban: boolean;
|
|
714
|
-
name: string;
|
|
715
601
|
id: number;
|
|
602
|
+
name: string;
|
|
716
603
|
characteristics: {
|
|
717
604
|
length: {
|
|
718
605
|
edizmId: number;
|
|
@@ -749,19 +636,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
749
636
|
shortName: string;
|
|
750
637
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
751
638
|
};
|
|
752
|
-
acrossFlats: {
|
|
753
|
-
edizmId: number;
|
|
754
|
-
shortName: string;
|
|
755
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
756
|
-
};
|
|
757
|
-
massPerMeter: {
|
|
758
|
-
edizmId: number;
|
|
759
|
-
shortName: string;
|
|
760
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
761
|
-
};
|
|
762
639
|
};
|
|
763
640
|
instance_type: number;
|
|
764
|
-
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
765
641
|
};
|
|
766
642
|
ban?: boolean | undefined;
|
|
767
643
|
shipments?: any;
|
|
@@ -817,8 +693,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
817
693
|
cbed: import("../../cbed").CbedRelativeType[];
|
|
818
694
|
designation: string | null;
|
|
819
695
|
description: string | null;
|
|
820
|
-
name: string;
|
|
821
696
|
id: number;
|
|
697
|
+
name: string;
|
|
822
698
|
calculate_needs_time: Date | null;
|
|
823
699
|
entity_children_need_time: Date | null;
|
|
824
700
|
min_remaining: number;
|
|
@@ -848,8 +724,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
848
724
|
}, {
|
|
849
725
|
designation: string | null;
|
|
850
726
|
description: string | null;
|
|
851
|
-
name: string;
|
|
852
727
|
id: number;
|
|
728
|
+
name: string;
|
|
853
729
|
ava_path: string | null;
|
|
854
730
|
parametrs: import("../../cbed").CbedParametrsField | null;
|
|
855
731
|
characteristic: import("../../cbed").CbedCharacteristicField | null;
|
|
@@ -1076,8 +952,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1076
952
|
purchasesId: z.ZodOptional<z.ZodNumber>;
|
|
1077
953
|
}, "strip", z.ZodTypeAny, {
|
|
1078
954
|
ban: boolean;
|
|
1079
|
-
name: string;
|
|
1080
955
|
id: number;
|
|
956
|
+
name: string;
|
|
1081
957
|
attention: boolean;
|
|
1082
958
|
description?: string | null | undefined;
|
|
1083
959
|
contacts?: string | null | undefined;
|
|
@@ -1086,8 +962,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1086
962
|
rekvisit?: string | null | undefined;
|
|
1087
963
|
purchasesId?: number | undefined;
|
|
1088
964
|
}, {
|
|
1089
|
-
name: string;
|
|
1090
965
|
id: number;
|
|
966
|
+
name: string;
|
|
1091
967
|
ban?: boolean | undefined;
|
|
1092
968
|
description?: string | null | undefined;
|
|
1093
969
|
contacts?: string | null | undefined;
|
|
@@ -1119,8 +995,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1119
995
|
product?: any;
|
|
1120
996
|
buyer?: {
|
|
1121
997
|
ban: boolean;
|
|
1122
|
-
name: string;
|
|
1123
998
|
id: number;
|
|
999
|
+
name: string;
|
|
1124
1000
|
attention: boolean;
|
|
1125
1001
|
description?: string | null | undefined;
|
|
1126
1002
|
contacts?: string | null | undefined;
|
|
@@ -1147,8 +1023,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1147
1023
|
ban?: boolean | undefined;
|
|
1148
1024
|
product?: any;
|
|
1149
1025
|
buyer?: {
|
|
1150
|
-
name: string;
|
|
1151
1026
|
id: number;
|
|
1027
|
+
name: string;
|
|
1152
1028
|
ban?: boolean | undefined;
|
|
1153
1029
|
description?: string | null | undefined;
|
|
1154
1030
|
contacts?: string | null | undefined;
|
|
@@ -1167,8 +1043,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1167
1043
|
discontinued: z.ZodOptional<z.ZodBoolean>;
|
|
1168
1044
|
}, "strip", z.ZodTypeAny, {
|
|
1169
1045
|
ban: boolean;
|
|
1170
|
-
name: string;
|
|
1171
1046
|
id: number;
|
|
1047
|
+
name: string;
|
|
1172
1048
|
calculate_needs_time: Date | null;
|
|
1173
1049
|
entity_children_need_time: Date | null;
|
|
1174
1050
|
min_remaining: number;
|
|
@@ -1192,8 +1068,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1192
1068
|
cbed: import("../../cbed").CbedRelativeType[];
|
|
1193
1069
|
designation: string | null;
|
|
1194
1070
|
description: string | null;
|
|
1195
|
-
name: string;
|
|
1196
1071
|
id: number;
|
|
1072
|
+
name: string;
|
|
1197
1073
|
calculate_needs_time: Date | null;
|
|
1198
1074
|
entity_children_need_time: Date | null;
|
|
1199
1075
|
min_remaining: number;
|
|
@@ -1270,8 +1146,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1270
1146
|
product?: any;
|
|
1271
1147
|
buyer?: {
|
|
1272
1148
|
ban: boolean;
|
|
1273
|
-
name: string;
|
|
1274
1149
|
id: number;
|
|
1150
|
+
name: string;
|
|
1275
1151
|
attention: boolean;
|
|
1276
1152
|
description?: string | null | undefined;
|
|
1277
1153
|
contacts?: string | null | undefined;
|
|
@@ -1321,8 +1197,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1321
1197
|
materials?: {
|
|
1322
1198
|
ban: boolean;
|
|
1323
1199
|
description: string | null;
|
|
1324
|
-
name: string;
|
|
1325
1200
|
id: number;
|
|
1201
|
+
name: string;
|
|
1326
1202
|
entity_children_need_time: Date | null;
|
|
1327
1203
|
min_remaining: number;
|
|
1328
1204
|
quantity: number;
|
|
@@ -1381,18 +1257,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1381
1257
|
znach: number;
|
|
1382
1258
|
shortName: string;
|
|
1383
1259
|
};
|
|
1384
|
-
acrossFlats: {
|
|
1385
|
-
used: boolean;
|
|
1386
|
-
edizmId: number;
|
|
1387
|
-
znach: number;
|
|
1388
|
-
shortName: string;
|
|
1389
|
-
};
|
|
1390
|
-
massPerMeter: {
|
|
1391
|
-
used: boolean;
|
|
1392
|
-
edizmId: number;
|
|
1393
|
-
znach: number;
|
|
1394
|
-
shortName: string;
|
|
1395
|
-
};
|
|
1396
1260
|
};
|
|
1397
1261
|
instance_type: number;
|
|
1398
1262
|
price: number;
|
|
@@ -1402,8 +1266,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1402
1266
|
actual_shipment_id: number | null;
|
|
1403
1267
|
typeMaterial: {
|
|
1404
1268
|
ban: boolean;
|
|
1405
|
-
name: string;
|
|
1406
1269
|
id: number;
|
|
1270
|
+
name: string;
|
|
1407
1271
|
characteristics: {
|
|
1408
1272
|
length: {
|
|
1409
1273
|
edizmId: number;
|
|
@@ -1440,19 +1304,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1440
1304
|
shortName: string;
|
|
1441
1305
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1442
1306
|
};
|
|
1443
|
-
acrossFlats: {
|
|
1444
|
-
edizmId: number;
|
|
1445
|
-
shortName: string;
|
|
1446
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1447
|
-
};
|
|
1448
|
-
massPerMeter: {
|
|
1449
|
-
edizmId: number;
|
|
1450
|
-
shortName: string;
|
|
1451
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1452
|
-
};
|
|
1453
1307
|
};
|
|
1454
1308
|
instance_type: number;
|
|
1455
|
-
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
1456
1309
|
};
|
|
1457
1310
|
shipments?: any;
|
|
1458
1311
|
isOrderedByStockOrder?: boolean | undefined;
|
|
@@ -1483,8 +1336,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1483
1336
|
product_id?: number | null | undefined;
|
|
1484
1337
|
}[] | undefined;
|
|
1485
1338
|
}, {
|
|
1486
|
-
name: string;
|
|
1487
1339
|
id: number;
|
|
1340
|
+
name: string;
|
|
1488
1341
|
parametrs: detalParametrsField | null;
|
|
1489
1342
|
characteristic: detalCharacteristicField | null;
|
|
1490
1343
|
responsibleId: number;
|
|
@@ -1494,8 +1347,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1494
1347
|
cbed?: {
|
|
1495
1348
|
designation: string | null;
|
|
1496
1349
|
description: string | null;
|
|
1497
|
-
name: string;
|
|
1498
1350
|
id: number;
|
|
1351
|
+
name: string;
|
|
1499
1352
|
ava_path: string | null;
|
|
1500
1353
|
parametrs: import("../../cbed").CbedParametrsField | null;
|
|
1501
1354
|
characteristic: import("../../cbed").CbedCharacteristicField | null;
|
|
@@ -1571,8 +1424,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1571
1424
|
ban?: boolean | undefined;
|
|
1572
1425
|
product?: any;
|
|
1573
1426
|
buyer?: {
|
|
1574
|
-
name: string;
|
|
1575
1427
|
id: number;
|
|
1428
|
+
name: string;
|
|
1576
1429
|
ban?: boolean | undefined;
|
|
1577
1430
|
description?: string | null | undefined;
|
|
1578
1431
|
contacts?: string | null | undefined;
|
|
@@ -1637,8 +1490,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1637
1490
|
}[] | undefined;
|
|
1638
1491
|
materials?: {
|
|
1639
1492
|
description: string | null;
|
|
1640
|
-
name: string;
|
|
1641
1493
|
id: number;
|
|
1494
|
+
name: string;
|
|
1642
1495
|
min_remaining: number;
|
|
1643
1496
|
quantity: number;
|
|
1644
1497
|
deficit: number;
|
|
@@ -1694,18 +1547,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1694
1547
|
znach: number;
|
|
1695
1548
|
shortName: string;
|
|
1696
1549
|
};
|
|
1697
|
-
acrossFlats: {
|
|
1698
|
-
used: boolean;
|
|
1699
|
-
edizmId: number;
|
|
1700
|
-
znach: number;
|
|
1701
|
-
shortName: string;
|
|
1702
|
-
};
|
|
1703
|
-
massPerMeter: {
|
|
1704
|
-
used: boolean;
|
|
1705
|
-
edizmId: number;
|
|
1706
|
-
znach: number;
|
|
1707
|
-
shortName: string;
|
|
1708
|
-
};
|
|
1709
1550
|
};
|
|
1710
1551
|
instance_type: number;
|
|
1711
1552
|
price: number;
|
|
@@ -1714,8 +1555,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1714
1555
|
actual_shipment_id: number | null;
|
|
1715
1556
|
typeMaterial: {
|
|
1716
1557
|
ban: boolean;
|
|
1717
|
-
name: string;
|
|
1718
1558
|
id: number;
|
|
1559
|
+
name: string;
|
|
1719
1560
|
characteristics: {
|
|
1720
1561
|
length: {
|
|
1721
1562
|
edizmId: number;
|
|
@@ -1752,19 +1593,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1752
1593
|
shortName: string;
|
|
1753
1594
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1754
1595
|
};
|
|
1755
|
-
acrossFlats: {
|
|
1756
|
-
edizmId: number;
|
|
1757
|
-
shortName: string;
|
|
1758
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1759
|
-
};
|
|
1760
|
-
massPerMeter: {
|
|
1761
|
-
edizmId: number;
|
|
1762
|
-
shortName: string;
|
|
1763
|
-
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1764
|
-
};
|
|
1765
1596
|
};
|
|
1766
1597
|
instance_type: number;
|
|
1767
|
-
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
1768
1598
|
};
|
|
1769
1599
|
ban?: boolean | undefined;
|
|
1770
1600
|
shipments?: any;
|
|
@@ -10,16 +10,16 @@ export declare const UpdateDocumentDtoZod: z.ZodObject<{
|
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
type: string;
|
|
12
12
|
description: string;
|
|
13
|
-
name: string;
|
|
14
13
|
id: number;
|
|
14
|
+
name: string;
|
|
15
15
|
ava: boolean;
|
|
16
16
|
responsibleUserId: number | null;
|
|
17
17
|
version?: number | null | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
type: string;
|
|
20
20
|
description: string;
|
|
21
|
-
name: string;
|
|
22
21
|
id: number;
|
|
22
|
+
name: string;
|
|
23
23
|
version?: unknown;
|
|
24
24
|
ava?: boolean | undefined;
|
|
25
25
|
responsibleUserId?: number | null | undefined;
|
|
@@ -5,12 +5,12 @@ export declare const EdizmSchema: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
short_name: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
name: string;
|
|
9
8
|
id: number;
|
|
9
|
+
name: string;
|
|
10
10
|
short_name: string;
|
|
11
11
|
}, {
|
|
12
|
-
name: string;
|
|
13
12
|
id: number;
|
|
13
|
+
name: string;
|
|
14
14
|
short_name: string;
|
|
15
15
|
}>;
|
|
16
16
|
export type ModelEdizm = z.infer<typeof EdizmSchema> & {
|
|
@@ -7,28 +7,28 @@ export declare const TypeEdizmSchema: z.ZodObject<{
|
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
short_name: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
name: string;
|
|
11
10
|
id: number;
|
|
11
|
+
name: string;
|
|
12
12
|
short_name: string;
|
|
13
13
|
}, {
|
|
14
|
-
name: string;
|
|
15
14
|
id: number;
|
|
15
|
+
name: string;
|
|
16
16
|
short_name: string;
|
|
17
17
|
}>, "many">;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
19
|
id: number;
|
|
20
|
+
name: string;
|
|
21
21
|
edizm: {
|
|
22
|
-
name: string;
|
|
23
22
|
id: number;
|
|
23
|
+
name: string;
|
|
24
24
|
short_name: string;
|
|
25
25
|
}[];
|
|
26
26
|
}, {
|
|
27
|
-
name: string;
|
|
28
27
|
id: number;
|
|
28
|
+
name: string;
|
|
29
29
|
edizm: {
|
|
30
|
-
name: string;
|
|
31
30
|
id: number;
|
|
31
|
+
name: string;
|
|
32
32
|
short_name: string;
|
|
33
33
|
}[];
|
|
34
34
|
}>;
|
|
@@ -3,10 +3,10 @@ export declare const UpdateEquipmentTypeDtoZod: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodNumber;
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
name: string;
|
|
7
6
|
id: number;
|
|
8
|
-
}, {
|
|
9
7
|
name: string;
|
|
8
|
+
}, {
|
|
10
9
|
id: number;
|
|
10
|
+
name: string;
|
|
11
11
|
}>;
|
|
12
12
|
export type UpdateEquipmentTypeDtoType = z.infer<typeof UpdateEquipmentTypeDtoZod>;
|
|
@@ -16,8 +16,8 @@ export declare const UpdateEquipmentDtoZod: z.ZodObject<{
|
|
|
16
16
|
typeOperationIds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>, number[] | null, unknown>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
description: string;
|
|
19
|
-
name: string;
|
|
20
19
|
id: number | null;
|
|
20
|
+
name: string;
|
|
21
21
|
attention: boolean | null;
|
|
22
22
|
deliveryTime: string;
|
|
23
23
|
invNymber: string;
|
|
@@ -5,11 +5,11 @@ export declare const EquipmentPTypeSchema: z.ZodObject<{
|
|
|
5
5
|
id: z.ZodNumber;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
name: string;
|
|
9
8
|
id: number;
|
|
10
|
-
}, {
|
|
11
9
|
name: string;
|
|
10
|
+
}, {
|
|
12
11
|
id: number;
|
|
12
|
+
name: string;
|
|
13
13
|
}>;
|
|
14
14
|
export type ModelEquipmentPType = z.infer<typeof EquipmentPTypeSchema> & {
|
|
15
15
|
equipmentTypes?: ModelEquipmentType[];
|
|
@@ -49,11 +49,11 @@ export declare const EquipmentSchema: z.ZodObject<{
|
|
|
49
49
|
id: z.ZodNumber;
|
|
50
50
|
name: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
name: string;
|
|
53
52
|
id: number;
|
|
54
|
-
}, {
|
|
55
53
|
name: string;
|
|
54
|
+
}, {
|
|
56
55
|
id: number;
|
|
56
|
+
name: string;
|
|
57
57
|
}>;
|
|
58
58
|
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
59
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -449,8 +449,8 @@ export declare const EquipmentSchema: z.ZodObject<{
|
|
|
449
449
|
}, "strip", z.ZodTypeAny, {
|
|
450
450
|
ban: boolean;
|
|
451
451
|
description: string | null;
|
|
452
|
-
name: string;
|
|
453
452
|
id: number;
|
|
453
|
+
name: string;
|
|
454
454
|
min_remaining: number;
|
|
455
455
|
quantity: number;
|
|
456
456
|
shipments_kolvo: number;
|
|
@@ -462,8 +462,8 @@ export declare const EquipmentSchema: z.ZodObject<{
|
|
|
462
462
|
invNymber: string | null;
|
|
463
463
|
equipmentPTypeId: number;
|
|
464
464
|
equipmentPType: {
|
|
465
|
-
name: string;
|
|
466
465
|
id: number;
|
|
466
|
+
name: string;
|
|
467
467
|
};
|
|
468
468
|
rootParentId: number;
|
|
469
469
|
operation?: {
|
|
@@ -596,15 +596,15 @@ export declare const EquipmentSchema: z.ZodObject<{
|
|
|
596
596
|
equipmentType?: any;
|
|
597
597
|
}, {
|
|
598
598
|
description: string | null;
|
|
599
|
-
name: string;
|
|
600
599
|
id: number;
|
|
600
|
+
name: string;
|
|
601
601
|
responsibleId: number;
|
|
602
602
|
deliveryTime: string | null;
|
|
603
603
|
invNymber: string | null;
|
|
604
604
|
equipmentPTypeId: number;
|
|
605
605
|
equipmentPType: {
|
|
606
|
-
name: string;
|
|
607
606
|
id: number;
|
|
607
|
+
name: string;
|
|
608
608
|
};
|
|
609
609
|
rootParentId: number;
|
|
610
610
|
ban?: boolean | undefined;
|
|
@@ -18,15 +18,15 @@ export declare const ExpenditureConsumptionSchema: z.ZodObject<{
|
|
|
18
18
|
discontinued: z.ZodBoolean;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
type: import("../../waybill").PositionItemType;
|
|
21
|
-
name: string;
|
|
22
21
|
id: number;
|
|
22
|
+
name: string;
|
|
23
23
|
discontinued: boolean;
|
|
24
24
|
quanity: number;
|
|
25
25
|
designation?: string | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
type: import("../../waybill").PositionItemType;
|
|
28
|
-
name: string;
|
|
29
28
|
id: number;
|
|
29
|
+
name: string;
|
|
30
30
|
discontinued: boolean;
|
|
31
31
|
quanity: number;
|
|
32
32
|
designation?: string | undefined;
|
|
@@ -35,8 +35,8 @@ export declare const ExpenditureConsumptionSchema: z.ZodObject<{
|
|
|
35
35
|
id: number;
|
|
36
36
|
positions: {
|
|
37
37
|
type: import("../../waybill").PositionItemType;
|
|
38
|
-
name: string;
|
|
39
38
|
id: number;
|
|
39
|
+
name: string;
|
|
40
40
|
discontinued: boolean;
|
|
41
41
|
quanity: number;
|
|
42
42
|
designation?: string | undefined;
|
|
@@ -50,8 +50,8 @@ export declare const ExpenditureConsumptionSchema: z.ZodObject<{
|
|
|
50
50
|
id: number;
|
|
51
51
|
positions: {
|
|
52
52
|
type: import("../../waybill").PositionItemType;
|
|
53
|
-
name: string;
|
|
54
53
|
id: number;
|
|
54
|
+
name: string;
|
|
55
55
|
discontinued: boolean;
|
|
56
56
|
quanity: number;
|
|
57
57
|
designation?: string | undefined;
|
|
@@ -9,15 +9,15 @@ export declare const ExpenditurePositionSchema: z.ZodObject<{
|
|
|
9
9
|
discontinued: z.ZodBoolean;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
type: PositionItemType;
|
|
12
|
-
name: string;
|
|
13
12
|
id: number;
|
|
13
|
+
name: string;
|
|
14
14
|
discontinued: boolean;
|
|
15
15
|
quanity: number;
|
|
16
16
|
designation?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
type: PositionItemType;
|
|
19
|
-
name: string;
|
|
20
19
|
id: number;
|
|
20
|
+
name: string;
|
|
21
21
|
discontinued: boolean;
|
|
22
22
|
quanity: number;
|
|
23
23
|
designation?: string | undefined;
|