@pksep/zod-shared 0.0.549 → 0.0.551
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 +10 -0
- package/dist/action/enums/enums.js +10 -0
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +38 -24
- package/dist/assemble/interfaces/interfaces.d.ts +1 -0
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +28 -18
- package/dist/assemble/schemas/assemble.schema.d.ts +28 -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 +4 -0
- package/dist/detal/default-values/default-values.js +4 -0
- package/dist/detal/schemas/detal-deficit.schema.d.ts +198 -28
- package/dist/detal/schemas/detal.schema.d.ts +192 -22
- 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 +136 -0
- package/dist/material/dto/create-material.dto.js +16 -0
- package/dist/material/dto/up-create-type-material.dto.d.ts +4 -0
- package/dist/material/dto/up-create-type-material.dto.js +6 -1
- package/dist/material/enum/enum.d.ts +10 -0
- package/dist/material/enum/enum.js +12 -1
- package/dist/material/index.d.ts +1 -0
- package/dist/material/index.js +1 -0
- package/dist/material/interfaces/interface.d.ts +5 -0
- package/dist/material/schemas/material-characteristics.schema.d.ts +56 -0
- package/dist/material/schemas/material-characteristics.schema.js +3 -1
- package/dist/material/schemas/material-shipments-response.schema.d.ts +130 -6
- package/dist/material/schemas/material.schema.d.ts +130 -6
- 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 +118 -2
- package/dist/material/schemas/type-material.schema.js +9 -2
- package/dist/material/utils/workpiece-mass.d.ts +56 -0
- package/dist/material/utils/workpiece-mass.js +536 -0
- package/dist/material/workpiece-mass.d.ts +45 -0
- package/dist/material/workpiece-mass.js +400 -0
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +3 -0
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.js +1 -0
- package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
- package/dist/movement-object/schemas/get-one-object-history.schema.d.ts +40 -6
- package/dist/movement-object/schemas/get-one-object-history.schema.js +7 -1
- 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/interfaces/online-board.d.ts +1 -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/format-list-shipment.dto.d.ts +3 -0
- package/dist/shipments/dto/format-list-shipment.dto.js +1 -0
- package/dist/shipments/dto/get-shipment-items-by-entity.dto.d.ts +22 -0
- package/dist/shipments/dto/get-shipment-items-by-entity.dto.js +12 -0
- package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +18 -18
- package/dist/shipments/dto/up-create-shipments.dto.d.ts +342 -4
- package/dist/shipments/dto/up-create-shipments.dto.js +97 -3
- package/dist/shipments/dto/update-ready-to-ship-status.dto.d.ts +9 -0
- package/dist/shipments/dto/update-ready-to-ship-status.dto.js +7 -0
- package/dist/shipments/index.d.ts +2 -0
- package/dist/shipments/index.js +2 -0
- 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/types.d.ts +1 -0
- package/dist/shipments/types/update-shipments-by-product.type.d.ts +12 -12
- package/dist/specification/schema/attributes.schema.d.ts +432 -46
- package/dist/specification/type/type.d.ts +47 -1
- 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/default-value/default-value.js +2 -1
- package/dist/utils/enums.d.ts +4 -2
- package/dist/utils/enums.js +2 -0
- package/dist/utils/schemas/schema.d.ts +2 -2
- package/dist/utils/types.d.ts +6 -0
- package/dist/waybill/dto/create-waybill-product.dto.d.ts +3 -3
- package/dist/waybill/dto/create-waybill-product.dto.js +1 -1
- package/dist/waybill/dto/create-waybill.dto.d.ts +5 -5
- package/dist/waybill/schemas/waybill.schema.d.ts +6 -0
- package/dist/waybill/schemas/waybill.schema.js +3 -1
- package/package.json +1 -1
|
@@ -226,6 +226,38 @@ 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
|
+
}>;
|
|
229
261
|
}, "strip", z.ZodTypeAny, {
|
|
230
262
|
length: {
|
|
231
263
|
used: boolean;
|
|
@@ -275,6 +307,18 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
275
307
|
znach: number;
|
|
276
308
|
shortName: string;
|
|
277
309
|
};
|
|
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
|
+
};
|
|
278
322
|
}, {
|
|
279
323
|
length: {
|
|
280
324
|
used: boolean;
|
|
@@ -324,6 +368,18 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
324
368
|
znach: number;
|
|
325
369
|
shortName: string;
|
|
326
370
|
};
|
|
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
|
+
};
|
|
327
383
|
}>;
|
|
328
384
|
units_measurement: z.ZodArray<z.ZodType<import("../../material").IUnitsMeasurement, z.ZodTypeDef, import("../../material").IUnitsMeasurement>, "many">;
|
|
329
385
|
attention: z.ZodBoolean;
|
|
@@ -333,8 +389,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
333
389
|
shipments: z.ZodOptional<z.ZodAny>;
|
|
334
390
|
typeMaterial: z.ZodType<{
|
|
335
391
|
ban: boolean;
|
|
336
|
-
id: number;
|
|
337
392
|
name: string;
|
|
393
|
+
id: number;
|
|
338
394
|
characteristics: {
|
|
339
395
|
length: {
|
|
340
396
|
edizmId: number;
|
|
@@ -371,12 +427,23 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
371
427
|
shortName: string;
|
|
372
428
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
373
429
|
};
|
|
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
|
+
};
|
|
374
440
|
};
|
|
375
441
|
instance_type: number;
|
|
442
|
+
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
376
443
|
}, z.ZodTypeDef, {
|
|
377
444
|
ban: boolean;
|
|
378
|
-
id: number;
|
|
379
445
|
name: string;
|
|
446
|
+
id: number;
|
|
380
447
|
characteristics: {
|
|
381
448
|
length: {
|
|
382
449
|
edizmId: number;
|
|
@@ -413,14 +480,25 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
413
480
|
shortName: string;
|
|
414
481
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
415
482
|
};
|
|
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
|
+
};
|
|
416
493
|
};
|
|
417
494
|
instance_type: number;
|
|
495
|
+
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
418
496
|
}>;
|
|
419
497
|
}, "strip", z.ZodTypeAny, {
|
|
420
498
|
ban: boolean;
|
|
421
499
|
description: string | null;
|
|
422
|
-
id: number;
|
|
423
500
|
name: string;
|
|
501
|
+
id: number;
|
|
424
502
|
entity_children_need_time: Date | null;
|
|
425
503
|
min_remaining: number;
|
|
426
504
|
quantity: number;
|
|
@@ -479,6 +557,18 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
479
557
|
znach: number;
|
|
480
558
|
shortName: string;
|
|
481
559
|
};
|
|
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
|
+
};
|
|
482
572
|
};
|
|
483
573
|
instance_type: number;
|
|
484
574
|
price: number;
|
|
@@ -488,8 +578,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
488
578
|
actual_shipment_id: number | null;
|
|
489
579
|
typeMaterial: {
|
|
490
580
|
ban: boolean;
|
|
491
|
-
id: number;
|
|
492
581
|
name: string;
|
|
582
|
+
id: number;
|
|
493
583
|
characteristics: {
|
|
494
584
|
length: {
|
|
495
585
|
edizmId: number;
|
|
@@ -526,15 +616,26 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
526
616
|
shortName: string;
|
|
527
617
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
528
618
|
};
|
|
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
|
+
};
|
|
529
629
|
};
|
|
530
630
|
instance_type: number;
|
|
631
|
+
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
531
632
|
};
|
|
532
633
|
shipments?: any;
|
|
533
634
|
isOrderedByStockOrder?: boolean | undefined;
|
|
534
635
|
}, {
|
|
535
636
|
description: string | null;
|
|
536
|
-
id: number;
|
|
537
637
|
name: string;
|
|
638
|
+
id: number;
|
|
538
639
|
min_remaining: number;
|
|
539
640
|
quantity: number;
|
|
540
641
|
deficit: number;
|
|
@@ -590,6 +691,18 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
590
691
|
znach: number;
|
|
591
692
|
shortName: string;
|
|
592
693
|
};
|
|
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
|
+
};
|
|
593
706
|
};
|
|
594
707
|
instance_type: number;
|
|
595
708
|
price: number;
|
|
@@ -598,8 +711,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
598
711
|
actual_shipment_id: number | null;
|
|
599
712
|
typeMaterial: {
|
|
600
713
|
ban: boolean;
|
|
601
|
-
id: number;
|
|
602
714
|
name: string;
|
|
715
|
+
id: number;
|
|
603
716
|
characteristics: {
|
|
604
717
|
length: {
|
|
605
718
|
edizmId: number;
|
|
@@ -636,8 +749,19 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
636
749
|
shortName: string;
|
|
637
750
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
638
751
|
};
|
|
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
|
+
};
|
|
639
762
|
};
|
|
640
763
|
instance_type: number;
|
|
764
|
+
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
641
765
|
};
|
|
642
766
|
ban?: boolean | undefined;
|
|
643
767
|
shipments?: any;
|
|
@@ -693,8 +817,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
693
817
|
cbed: import("../../cbed").CbedRelativeType[];
|
|
694
818
|
designation: string | null;
|
|
695
819
|
description: string | null;
|
|
696
|
-
id: number;
|
|
697
820
|
name: string;
|
|
821
|
+
id: number;
|
|
698
822
|
calculate_needs_time: Date | null;
|
|
699
823
|
entity_children_need_time: Date | null;
|
|
700
824
|
min_remaining: number;
|
|
@@ -724,8 +848,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
724
848
|
}, {
|
|
725
849
|
designation: string | null;
|
|
726
850
|
description: string | null;
|
|
727
|
-
id: number;
|
|
728
851
|
name: string;
|
|
852
|
+
id: number;
|
|
729
853
|
ava_path: string | null;
|
|
730
854
|
parametrs: import("../../cbed").CbedParametrsField | null;
|
|
731
855
|
characteristic: import("../../cbed").CbedCharacteristicField | null;
|
|
@@ -952,8 +1076,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
952
1076
|
purchasesId: z.ZodOptional<z.ZodNumber>;
|
|
953
1077
|
}, "strip", z.ZodTypeAny, {
|
|
954
1078
|
ban: boolean;
|
|
955
|
-
id: number;
|
|
956
1079
|
name: string;
|
|
1080
|
+
id: number;
|
|
957
1081
|
attention: boolean;
|
|
958
1082
|
description?: string | null | undefined;
|
|
959
1083
|
contacts?: string | null | undefined;
|
|
@@ -962,8 +1086,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
962
1086
|
rekvisit?: string | null | undefined;
|
|
963
1087
|
purchasesId?: number | undefined;
|
|
964
1088
|
}, {
|
|
965
|
-
id: number;
|
|
966
1089
|
name: string;
|
|
1090
|
+
id: number;
|
|
967
1091
|
ban?: boolean | undefined;
|
|
968
1092
|
description?: string | null | undefined;
|
|
969
1093
|
contacts?: string | null | undefined;
|
|
@@ -995,8 +1119,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
995
1119
|
product?: any;
|
|
996
1120
|
buyer?: {
|
|
997
1121
|
ban: boolean;
|
|
998
|
-
id: number;
|
|
999
1122
|
name: string;
|
|
1123
|
+
id: number;
|
|
1000
1124
|
attention: boolean;
|
|
1001
1125
|
description?: string | null | undefined;
|
|
1002
1126
|
contacts?: string | null | undefined;
|
|
@@ -1023,8 +1147,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1023
1147
|
ban?: boolean | undefined;
|
|
1024
1148
|
product?: any;
|
|
1025
1149
|
buyer?: {
|
|
1026
|
-
id: number;
|
|
1027
1150
|
name: string;
|
|
1151
|
+
id: number;
|
|
1028
1152
|
ban?: boolean | undefined;
|
|
1029
1153
|
description?: string | null | undefined;
|
|
1030
1154
|
contacts?: string | null | undefined;
|
|
@@ -1043,8 +1167,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1043
1167
|
discontinued: z.ZodOptional<z.ZodBoolean>;
|
|
1044
1168
|
}, "strip", z.ZodTypeAny, {
|
|
1045
1169
|
ban: boolean;
|
|
1046
|
-
id: number;
|
|
1047
1170
|
name: string;
|
|
1171
|
+
id: number;
|
|
1048
1172
|
calculate_needs_time: Date | null;
|
|
1049
1173
|
entity_children_need_time: Date | null;
|
|
1050
1174
|
min_remaining: number;
|
|
@@ -1068,8 +1192,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1068
1192
|
cbed: import("../../cbed").CbedRelativeType[];
|
|
1069
1193
|
designation: string | null;
|
|
1070
1194
|
description: string | null;
|
|
1071
|
-
id: number;
|
|
1072
1195
|
name: string;
|
|
1196
|
+
id: number;
|
|
1073
1197
|
calculate_needs_time: Date | null;
|
|
1074
1198
|
entity_children_need_time: Date | null;
|
|
1075
1199
|
min_remaining: number;
|
|
@@ -1146,8 +1270,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1146
1270
|
product?: any;
|
|
1147
1271
|
buyer?: {
|
|
1148
1272
|
ban: boolean;
|
|
1149
|
-
id: number;
|
|
1150
1273
|
name: string;
|
|
1274
|
+
id: number;
|
|
1151
1275
|
attention: boolean;
|
|
1152
1276
|
description?: string | null | undefined;
|
|
1153
1277
|
contacts?: string | null | undefined;
|
|
@@ -1197,8 +1321,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1197
1321
|
materials?: {
|
|
1198
1322
|
ban: boolean;
|
|
1199
1323
|
description: string | null;
|
|
1200
|
-
id: number;
|
|
1201
1324
|
name: string;
|
|
1325
|
+
id: number;
|
|
1202
1326
|
entity_children_need_time: Date | null;
|
|
1203
1327
|
min_remaining: number;
|
|
1204
1328
|
quantity: number;
|
|
@@ -1257,6 +1381,18 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1257
1381
|
znach: number;
|
|
1258
1382
|
shortName: string;
|
|
1259
1383
|
};
|
|
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
|
+
};
|
|
1260
1396
|
};
|
|
1261
1397
|
instance_type: number;
|
|
1262
1398
|
price: number;
|
|
@@ -1266,8 +1402,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1266
1402
|
actual_shipment_id: number | null;
|
|
1267
1403
|
typeMaterial: {
|
|
1268
1404
|
ban: boolean;
|
|
1269
|
-
id: number;
|
|
1270
1405
|
name: string;
|
|
1406
|
+
id: number;
|
|
1271
1407
|
characteristics: {
|
|
1272
1408
|
length: {
|
|
1273
1409
|
edizmId: number;
|
|
@@ -1304,8 +1440,19 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1304
1440
|
shortName: string;
|
|
1305
1441
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1306
1442
|
};
|
|
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
|
+
};
|
|
1307
1453
|
};
|
|
1308
1454
|
instance_type: number;
|
|
1455
|
+
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
1309
1456
|
};
|
|
1310
1457
|
shipments?: any;
|
|
1311
1458
|
isOrderedByStockOrder?: boolean | undefined;
|
|
@@ -1336,8 +1483,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1336
1483
|
product_id?: number | null | undefined;
|
|
1337
1484
|
}[] | undefined;
|
|
1338
1485
|
}, {
|
|
1339
|
-
id: number;
|
|
1340
1486
|
name: string;
|
|
1487
|
+
id: number;
|
|
1341
1488
|
parametrs: detalParametrsField | null;
|
|
1342
1489
|
characteristic: detalCharacteristicField | null;
|
|
1343
1490
|
responsibleId: number;
|
|
@@ -1347,8 +1494,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1347
1494
|
cbed?: {
|
|
1348
1495
|
designation: string | null;
|
|
1349
1496
|
description: string | null;
|
|
1350
|
-
id: number;
|
|
1351
1497
|
name: string;
|
|
1498
|
+
id: number;
|
|
1352
1499
|
ava_path: string | null;
|
|
1353
1500
|
parametrs: import("../../cbed").CbedParametrsField | null;
|
|
1354
1501
|
characteristic: import("../../cbed").CbedCharacteristicField | null;
|
|
@@ -1424,8 +1571,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1424
1571
|
ban?: boolean | undefined;
|
|
1425
1572
|
product?: any;
|
|
1426
1573
|
buyer?: {
|
|
1427
|
-
id: number;
|
|
1428
1574
|
name: string;
|
|
1575
|
+
id: number;
|
|
1429
1576
|
ban?: boolean | undefined;
|
|
1430
1577
|
description?: string | null | undefined;
|
|
1431
1578
|
contacts?: string | null | undefined;
|
|
@@ -1490,8 +1637,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1490
1637
|
}[] | undefined;
|
|
1491
1638
|
materials?: {
|
|
1492
1639
|
description: string | null;
|
|
1493
|
-
id: number;
|
|
1494
1640
|
name: string;
|
|
1641
|
+
id: number;
|
|
1495
1642
|
min_remaining: number;
|
|
1496
1643
|
quantity: number;
|
|
1497
1644
|
deficit: number;
|
|
@@ -1547,6 +1694,18 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1547
1694
|
znach: number;
|
|
1548
1695
|
shortName: string;
|
|
1549
1696
|
};
|
|
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
|
+
};
|
|
1550
1709
|
};
|
|
1551
1710
|
instance_type: number;
|
|
1552
1711
|
price: number;
|
|
@@ -1555,8 +1714,8 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1555
1714
|
actual_shipment_id: number | null;
|
|
1556
1715
|
typeMaterial: {
|
|
1557
1716
|
ban: boolean;
|
|
1558
|
-
id: number;
|
|
1559
1717
|
name: string;
|
|
1718
|
+
id: number;
|
|
1560
1719
|
characteristics: {
|
|
1561
1720
|
length: {
|
|
1562
1721
|
edizmId: number;
|
|
@@ -1593,8 +1752,19 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1593
1752
|
shortName: string;
|
|
1594
1753
|
znach?: import("../../utils").TypeMaterialCharZnachEnum | null | undefined;
|
|
1595
1754
|
};
|
|
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
|
+
};
|
|
1596
1765
|
};
|
|
1597
1766
|
instance_type: number;
|
|
1767
|
+
workpieceMassFormulaKey?: import("../../material").WorkpieceMassFormulaKey | null | undefined;
|
|
1598
1768
|
};
|
|
1599
1769
|
ban?: boolean | undefined;
|
|
1600
1770
|
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
|
-
id: number;
|
|
14
13
|
name: string;
|
|
14
|
+
id: number;
|
|
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
|
-
id: number;
|
|
22
21
|
name: string;
|
|
22
|
+
id: number;
|
|
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
|
-
id: number;
|
|
9
8
|
name: string;
|
|
9
|
+
id: number;
|
|
10
10
|
short_name: string;
|
|
11
11
|
}, {
|
|
12
|
-
id: number;
|
|
13
12
|
name: string;
|
|
13
|
+
id: number;
|
|
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
|
-
id: number;
|
|
11
10
|
name: string;
|
|
11
|
+
id: number;
|
|
12
12
|
short_name: string;
|
|
13
13
|
}, {
|
|
14
|
-
id: number;
|
|
15
14
|
name: string;
|
|
15
|
+
id: number;
|
|
16
16
|
short_name: string;
|
|
17
17
|
}>, "many">;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
id: number;
|
|
20
19
|
name: string;
|
|
20
|
+
id: number;
|
|
21
21
|
edizm: {
|
|
22
|
-
id: number;
|
|
23
22
|
name: string;
|
|
23
|
+
id: number;
|
|
24
24
|
short_name: string;
|
|
25
25
|
}[];
|
|
26
26
|
}, {
|
|
27
|
-
id: number;
|
|
28
27
|
name: string;
|
|
28
|
+
id: number;
|
|
29
29
|
edizm: {
|
|
30
|
-
id: number;
|
|
31
30
|
name: string;
|
|
31
|
+
id: number;
|
|
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
|
-
id: number;
|
|
7
6
|
name: string;
|
|
8
|
-
}, {
|
|
9
7
|
id: number;
|
|
8
|
+
}, {
|
|
10
9
|
name: string;
|
|
10
|
+
id: number;
|
|
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
|
-
id: number | null;
|
|
20
19
|
name: string;
|
|
20
|
+
id: number | null;
|
|
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
|
-
id: number;
|
|
9
8
|
name: string;
|
|
10
|
-
}, {
|
|
11
9
|
id: number;
|
|
10
|
+
}, {
|
|
12
11
|
name: string;
|
|
12
|
+
id: number;
|
|
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
|
-
id: number;
|
|
53
52
|
name: string;
|
|
54
|
-
}, {
|
|
55
53
|
id: number;
|
|
54
|
+
}, {
|
|
56
55
|
name: string;
|
|
56
|
+
id: number;
|
|
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
|
-
id: number;
|
|
453
452
|
name: string;
|
|
453
|
+
id: number;
|
|
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
|
-
id: number;
|
|
466
465
|
name: string;
|
|
466
|
+
id: number;
|
|
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
|
-
id: number;
|
|
600
599
|
name: string;
|
|
600
|
+
id: number;
|
|
601
601
|
responsibleId: number;
|
|
602
602
|
deliveryTime: string | null;
|
|
603
603
|
invNymber: string | null;
|
|
604
604
|
equipmentPTypeId: number;
|
|
605
605
|
equipmentPType: {
|
|
606
|
-
id: number;
|
|
607
606
|
name: string;
|
|
607
|
+
id: number;
|
|
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
|
-
id: number;
|
|
22
21
|
name: string;
|
|
22
|
+
id: number;
|
|
23
23
|
discontinued: boolean;
|
|
24
24
|
quanity: number;
|
|
25
25
|
designation?: string | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
type: import("../../waybill").PositionItemType;
|
|
28
|
-
id: number;
|
|
29
28
|
name: string;
|
|
29
|
+
id: number;
|
|
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
|
-
id: number;
|
|
39
38
|
name: string;
|
|
39
|
+
id: number;
|
|
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
|
-
id: number;
|
|
54
53
|
name: string;
|
|
54
|
+
id: number;
|
|
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
|
-
id: number;
|
|
13
12
|
name: string;
|
|
13
|
+
id: number;
|
|
14
14
|
discontinued: boolean;
|
|
15
15
|
quanity: number;
|
|
16
16
|
designation?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
type: PositionItemType;
|
|
19
|
-
id: number;
|
|
20
19
|
name: string;
|
|
20
|
+
id: number;
|
|
21
21
|
discontinued: boolean;
|
|
22
22
|
quanity: number;
|
|
23
23
|
designation?: string | undefined;
|