@pksep/zod-shared 0.0.550 → 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.
Files changed (53) hide show
  1. package/dist/action/enums/enums.d.ts +10 -0
  2. package/dist/action/enums/enums.js +10 -0
  3. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +24 -24
  4. package/dist/assemble/schemas/assemble-coming.schema.d.ts +18 -18
  5. package/dist/assemble/schemas/assemble.schema.d.ts +18 -18
  6. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +6 -6
  7. package/dist/buyer/schemas/buyer.schema.d.ts +2 -2
  8. package/dist/buyer/schemas/purchases.schema.d.ts +2 -2
  9. package/dist/cbed/schemas/cbed.schema.d.ts +2 -2
  10. package/dist/company/schemas/companies.schema.d.ts +2 -2
  11. package/dist/detal/schemas/detal-deficit.schema.d.ts +28 -28
  12. package/dist/detal/schemas/detal.schema.d.ts +22 -22
  13. package/dist/document/dto/update-document.dto.d.ts +2 -2
  14. package/dist/edizm/schemas/edizm.schema.d.ts +2 -2
  15. package/dist/edizm/schemas/type-edizm.schema.d.ts +6 -6
  16. package/dist/equipment/dto/udate-equipment-type.dto.d.ts +2 -2
  17. package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
  18. package/dist/equipment/schemas/equipment-pt.schema.d.ts +2 -2
  19. package/dist/equipment/schemas/equipment.schema.d.ts +6 -6
  20. package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +4 -4
  21. package/dist/expenditure/schema/expenditure-position.schema.d.ts +2 -2
  22. package/dist/instrument/dto/update-instrument.dto.d.ts +2 -2
  23. package/dist/instrument/dto/update-pt.dto.d.ts +2 -2
  24. package/dist/instrument/schemas/pt-instrument.schema.d.ts +2 -2
  25. package/dist/inventary/dto/update-inventary.dto.d.ts +2 -2
  26. package/dist/material/interfaces/interface.d.ts +3 -0
  27. package/dist/material/schemas/material-shipments-response.schema.d.ts +6 -6
  28. package/dist/material/schemas/material.schema.d.ts +6 -6
  29. package/dist/material/schemas/subtype-material.schema.d.ts +2 -2
  30. package/dist/material/schemas/subtype-material.schema.js +1 -1
  31. package/dist/material/schemas/type-material.schema.d.ts +2 -2
  32. package/dist/material/utils/workpiece-mass.js +1 -3
  33. package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
  34. package/dist/moving/schemas/moving.schema.d.ts +6 -6
  35. package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +3 -3
  36. package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
  37. package/dist/product/schemas/product-deficit.schema.d.ts +6 -6
  38. package/dist/role/dto/update-role.dto.d.ts +2 -2
  39. package/dist/role/schemas/role.schema.d.ts +8 -8
  40. package/dist/sclad/schemas/remain.schema.d.ts +2 -2
  41. package/dist/sclad/schemas/remains.schema.d.ts +16 -16
  42. package/dist/settings/dto/update-edizm.dto.d.ts +2 -2
  43. package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +18 -18
  44. package/dist/shipments/dto/up-create-shipments.dto.d.ts +4 -4
  45. package/dist/shipments/schemas/shipment-list-item.schema.d.ts +12 -12
  46. package/dist/shipments/schemas/shipments.schema.d.ts +4 -4
  47. package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +12 -12
  48. package/dist/shipments/types/update-shipments-by-product.type.d.ts +12 -12
  49. package/dist/specification/schema/attributes.schema.d.ts +46 -46
  50. package/dist/tech-process/schemas/tech-process.schema.d.ts +2 -2
  51. package/dist/user/schemas/user.schema.d.ts +4 -4
  52. package/dist/utils/schemas/schema.d.ts +2 -2
  53. package/package.json +1 -1
@@ -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;
@@ -5,12 +5,12 @@ export declare const UpdateTInstrumentDtoZod: z.ZodObject<{
5
5
  name: z.ZodString;
6
6
  instance_type: z.ZodNativeEnum<typeof InstansTypeInstrument>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- id: number;
9
8
  name: string;
9
+ id: number;
10
10
  instance_type: InstansTypeInstrument;
11
11
  }, {
12
- id: number;
13
12
  name: string;
13
+ id: number;
14
14
  instance_type: InstansTypeInstrument;
15
15
  }>;
16
16
  export type UpdateTInstrumentDtoType = z.infer<typeof UpdateTInstrumentDtoZod>;
@@ -3,10 +3,10 @@ export declare const UpdatePTInstrumentDtoZod: 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 UpdatePTInstrumentDtoType = z.infer<typeof UpdatePTInstrumentDtoZod>;
@@ -5,13 +5,13 @@ export declare const PInstrumentSchema: z.ZodObject<{
5
5
  instruments: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
6
6
  nameInstrument: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
7
7
  }, "strip", z.ZodTypeAny, {
8
- id: number;
9
8
  name: string;
9
+ id: number;
10
10
  instruments: any[];
11
11
  nameInstrument: any[];
12
12
  }, {
13
- id: number;
14
13
  name: string;
14
+ id: number;
15
15
  instruments: any[];
16
16
  nameInstrument: any[];
17
17
  }>;
@@ -3,10 +3,10 @@ export declare const UpdateInventaryDtoZod: 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 UpdateInventaryDtoType = z.infer<typeof UpdateInventaryDtoZod>;
@@ -5,6 +5,9 @@ export interface ITypeMaterialCreationAttrs {
5
5
  }
6
6
  export interface ISubtypeMaterialCreationAttrs {
7
7
  name: string;
8
+ density?: number | null;
9
+ instance_type?: number;
10
+ ban?: boolean;
8
11
  }
9
12
  export interface IMaterialCreationAttrs {
10
13
  name: string;
@@ -372,8 +372,8 @@ export declare const MaterialShipmentsResponseSchema: z.ZodObject<{
372
372
  actual_shipment_id: z.ZodNullable<z.ZodNumber>;
373
373
  typeMaterial: z.ZodType<{
374
374
  ban: boolean;
375
- id: number;
376
375
  name: string;
376
+ id: number;
377
377
  characteristics: {
378
378
  length: {
379
379
  edizmId: number;
@@ -425,8 +425,8 @@ export declare const MaterialShipmentsResponseSchema: z.ZodObject<{
425
425
  workpieceMassFormulaKey?: import("..").WorkpieceMassFormulaKey | null | undefined;
426
426
  }, z.ZodTypeDef, {
427
427
  ban: boolean;
428
- id: number;
429
428
  name: string;
429
+ id: number;
430
430
  characteristics: {
431
431
  length: {
432
432
  edizmId: number;
@@ -537,8 +537,8 @@ export declare const MaterialShipmentsResponseSchema: z.ZodObject<{
537
537
  }, "strip", z.ZodTypeAny, {
538
538
  ban: boolean;
539
539
  description: string | null;
540
- id: number;
541
540
  name: string;
541
+ id: number;
542
542
  entity_children_need_time: Date | null;
543
543
  min_remaining: number;
544
544
  quantity: number;
@@ -618,8 +618,8 @@ export declare const MaterialShipmentsResponseSchema: z.ZodObject<{
618
618
  actual_shipment_id: number | null;
619
619
  typeMaterial: {
620
620
  ban: boolean;
621
- id: number;
622
621
  name: string;
622
+ id: number;
623
623
  characteristics: {
624
624
  length: {
625
625
  edizmId: number;
@@ -694,8 +694,8 @@ export declare const MaterialShipmentsResponseSchema: z.ZodObject<{
694
694
  actual_shipment?: ModelShipments | undefined;
695
695
  }, {
696
696
  description: string | null;
697
- id: number;
698
697
  name: string;
698
+ id: number;
699
699
  min_remaining: number;
700
700
  quantity: number;
701
701
  deficit: number;
@@ -771,8 +771,8 @@ export declare const MaterialShipmentsResponseSchema: z.ZodObject<{
771
771
  actual_shipment_id: number | null;
772
772
  typeMaterial: {
773
773
  ban: boolean;
774
- id: number;
775
774
  name: string;
775
+ id: number;
776
776
  characteristics: {
777
777
  length: {
778
778
  edizmId: number;
@@ -311,8 +311,8 @@ export declare const MaterialSchema: z.ZodObject<{
311
311
  shipments: z.ZodOptional<z.ZodAny>;
312
312
  typeMaterial: z.ZodType<{
313
313
  ban: boolean;
314
- id: number;
315
314
  name: string;
315
+ id: number;
316
316
  characteristics: {
317
317
  length: {
318
318
  edizmId: number;
@@ -364,8 +364,8 @@ export declare const MaterialSchema: z.ZodObject<{
364
364
  workpieceMassFormulaKey?: import("..").WorkpieceMassFormulaKey | null | undefined;
365
365
  }, z.ZodTypeDef, {
366
366
  ban: boolean;
367
- id: number;
368
367
  name: string;
368
+ id: number;
369
369
  characteristics: {
370
370
  length: {
371
371
  edizmId: number;
@@ -419,8 +419,8 @@ export declare const MaterialSchema: z.ZodObject<{
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  ban: boolean;
421
421
  description: string | null;
422
- id: number;
423
422
  name: string;
423
+ id: number;
424
424
  entity_children_need_time: Date | null;
425
425
  min_remaining: number;
426
426
  quantity: number;
@@ -500,8 +500,8 @@ export declare const MaterialSchema: z.ZodObject<{
500
500
  actual_shipment_id: number | null;
501
501
  typeMaterial: {
502
502
  ban: boolean;
503
- id: number;
504
503
  name: string;
504
+ id: number;
505
505
  characteristics: {
506
506
  length: {
507
507
  edizmId: number;
@@ -556,8 +556,8 @@ export declare const MaterialSchema: z.ZodObject<{
556
556
  isOrderedByStockOrder?: boolean | undefined;
557
557
  }, {
558
558
  description: string | null;
559
- id: number;
560
559
  name: string;
560
+ id: number;
561
561
  min_remaining: number;
562
562
  quantity: number;
563
563
  deficit: number;
@@ -633,8 +633,8 @@ export declare const MaterialSchema: z.ZodObject<{
633
633
  actual_shipment_id: number | null;
634
634
  typeMaterial: {
635
635
  ban: boolean;
636
- id: number;
637
636
  name: string;
637
+ id: number;
638
638
  characteristics: {
639
639
  length: {
640
640
  edizmId: number;
@@ -7,14 +7,14 @@ export declare const SubtypeMaterialSchema: z.ZodObject<{
7
7
  ban: z.ZodBoolean;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  ban: boolean;
10
- id: number;
11
10
  name: string;
11
+ id: number;
12
12
  density: number;
13
13
  instance_type: number;
14
14
  }, {
15
15
  ban: boolean;
16
- id: number;
17
16
  name: string;
17
+ id: number;
18
18
  density: number;
19
19
  instance_type: number;
20
20
  }>;
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
5
5
  exports.SubtypeMaterialSchema = zod_1.z.object({
6
6
  id: zod_1.z.number().int().positive(),
7
7
  name: zod_1.z.string(),
8
- density: zod_1.z.number().int(),
8
+ density: zod_1.z.number().nonnegative(),
9
9
  instance_type: zod_1.z.number().int().min(1).max(3),
10
10
  ban: zod_1.z.boolean()
11
11
  });
@@ -431,8 +431,8 @@ export declare const TypeMaterialSchema: z.ZodObject<{
431
431
  workpieceMassFormulaKey: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WorkpieceMassFormulaKey>>>;
432
432
  }, "strip", z.ZodTypeAny, {
433
433
  ban: boolean;
434
- id: number;
435
434
  name: string;
435
+ id: number;
436
436
  characteristics: {
437
437
  length: {
438
438
  edizmId: number;
@@ -484,8 +484,8 @@ export declare const TypeMaterialSchema: z.ZodObject<{
484
484
  workpieceMassFormulaKey?: WorkpieceMassFormulaKey | null | undefined;
485
485
  }, {
486
486
  ban: boolean;
487
- id: number;
488
487
  name: string;
488
+ id: number;
489
489
  characteristics: {
490
490
  length: {
491
491
  edizmId: number;
@@ -122,7 +122,7 @@ exports.WORKPIECE_MASS_FORMULAS = [
122
122
  {
123
123
  key: enum_1.WorkpieceMassFormulaKey.hexSection,
124
124
  name: 'Шестигранное сечение',
125
- description: 'ρ * 0.866025 * S² * L',
125
+ description: 'ρ * (√3 / 2) * S² * L',
126
126
  variables: [
127
127
  {
128
128
  key: 'density',
@@ -423,12 +423,10 @@ exports.WORKPIECE_MASS_VARIABLE_RESOLVERS = {
423
423
  wallThickness: (_context, prepared) => getPreparedValue(prepared, 'wallThickness'),
424
424
  outsideDiameter: (_context, prepared) => getPreparedValue(prepared, 'outsideDiameter'),
425
425
  areaCrossSectional: (_context, prepared) => getPreparedValue(prepared, 'areaCrossSectional'),
426
- // TODO: добавить поле в model/type_material/material/workpiece_characterization
427
426
  acrossFlats: (context, prepared) => {
428
427
  var _a;
429
428
  return (_a = getPreparedValue(prepared, 'acrossFlats')) !== null && _a !== void 0 ? _a : getMaterialCharacteristicValue(context, 'acrossFlats');
430
429
  },
431
- // TODO: добавить поле в material.characteristics или отдельную модель
432
430
  massPerMeter: (context, prepared) => {
433
431
  var _a;
434
432
  return (_a = getPreparedValue(prepared, 'massPerMeter')) !== null && _a !== void 0 ? _a : getMaterialCharacteristicValue(context, 'massPerMeter');
@@ -36,9 +36,9 @@ export declare const MetaloworkingComingSchema: z.ZodObject<{
36
36
  wokrek_id: number;
37
37
  designation?: string | undefined;
38
38
  description?: string | undefined;
39
+ name?: string | undefined;
39
40
  id?: number | null | undefined;
40
41
  number_order?: string | undefined;
41
- name?: string | undefined;
42
42
  ava_path?: string | undefined;
43
43
  detal_id?: number | null | undefined;
44
44
  shipment_id?: number | null | undefined;
@@ -56,9 +56,9 @@ export declare const MetaloworkingComingSchema: z.ZodObject<{
56
56
  ban?: boolean | undefined;
57
57
  designation?: string | undefined;
58
58
  description?: string | undefined;
59
+ name?: string | undefined;
59
60
  id?: number | null | undefined;
60
61
  number_order?: string | undefined;
61
- name?: string | undefined;
62
62
  ava_path?: string | undefined;
63
63
  detal_id?: number | null | undefined;
64
64
  shipment_id?: number | null | undefined;
@@ -131,8 +131,8 @@ export declare const MovingSchema: z.ZodObject<{
131
131
  cbed: import("../..").CbedRelativeType[];
132
132
  designation: string | null;
133
133
  description: string | null;
134
- id: number;
135
134
  name: string;
135
+ id: number;
136
136
  calculate_needs_time: Date | null;
137
137
  entity_children_need_time: Date | null;
138
138
  min_remaining: number;
@@ -162,8 +162,8 @@ export declare const MovingSchema: z.ZodObject<{
162
162
  }, {
163
163
  designation: string | null;
164
164
  description: string | null;
165
- id: number;
166
165
  name: string;
166
+ id: number;
167
167
  ava_path: string | null;
168
168
  parametrs: import("../..").CbedParametrsField | null;
169
169
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -606,8 +606,8 @@ export declare const MovingSchema: z.ZodObject<{
606
606
  cbed: import("../..").CbedRelativeType[];
607
607
  designation: string | null;
608
608
  description: string | null;
609
- id: number;
610
609
  name: string;
610
+ id: number;
611
611
  calculate_needs_time: Date | null;
612
612
  entity_children_need_time: Date | null;
613
613
  min_remaining: number;
@@ -800,8 +800,8 @@ export declare const MovingSchema: z.ZodObject<{
800
800
  cbeds: {
801
801
  designation: string | null;
802
802
  description: string | null;
803
- id: number;
804
803
  name: string;
804
+ id: number;
805
805
  ava_path: string | null;
806
806
  parametrs: import("../..").CbedParametrsField | null;
807
807
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -1095,8 +1095,8 @@ export declare const MovingSchema: z.ZodObject<{
1095
1095
  cbed: import("../..").CbedRelativeType[];
1096
1096
  designation: string | null;
1097
1097
  description: string | null;
1098
- id: number;
1099
1098
  name: string;
1099
+ id: number;
1100
1100
  calculate_needs_time: Date | null;
1101
1101
  entity_children_need_time: Date | null;
1102
1102
  min_remaining: number;
@@ -1317,8 +1317,8 @@ export declare const MovingSchema: z.ZodObject<{
1317
1317
  cbeds: {
1318
1318
  designation: string | null;
1319
1319
  description: string | null;
1320
- id: number;
1321
1320
  name: string;
1321
+ id: number;
1322
1322
  ava_path: string | null;
1323
1323
  parametrs: import("../..").CbedParametrsField | null;
1324
1324
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -2,15 +2,15 @@ import z from 'zod';
2
2
  import { ModelIncludeForTypeOperation } from '../enums/enums';
3
3
  export declare const GetTypeOperationByIdDtoZod: z.ZodObject<{
4
4
  id: z.ZodNumber;
5
- attributes: z.ZodOptional<z.ZodArray<z.ZodEnum<["id", "name", "preTime", "helperTime", "mainTime", "cpu", "square", "list", "workStartCalcType", "countWorking"]>, "many">>;
5
+ attributes: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "id", "preTime", "helperTime", "mainTime", "cpu", "square", "list", "workStartCalcType", "countWorking"]>, "many">>;
6
6
  modelInclude: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ModelIncludeForTypeOperation>, "many">>;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  id: number;
9
- attributes?: ("id" | "name" | "preTime" | "helperTime" | "mainTime" | "cpu" | "square" | "list" | "workStartCalcType" | "countWorking")[] | undefined;
9
+ attributes?: ("name" | "id" | "preTime" | "helperTime" | "mainTime" | "cpu" | "square" | "list" | "workStartCalcType" | "countWorking")[] | undefined;
10
10
  modelInclude?: ModelIncludeForTypeOperation[] | undefined;
11
11
  }, {
12
12
  id: number;
13
- attributes?: ("id" | "name" | "preTime" | "helperTime" | "mainTime" | "cpu" | "square" | "list" | "workStartCalcType" | "countWorking")[] | undefined;
13
+ attributes?: ("name" | "id" | "preTime" | "helperTime" | "mainTime" | "cpu" | "square" | "list" | "workStartCalcType" | "countWorking")[] | undefined;
14
14
  modelInclude?: ModelIncludeForTypeOperation[] | undefined;
15
15
  }>;
16
16
  export type GetTypeOperationByIdDtoType = z.TypeOf<typeof GetTypeOperationByIdDtoZod>;
@@ -19,8 +19,8 @@ export declare const UpdateTypeOperationSchema: z.ZodObject<{
19
19
  workStartCalcType: z.ZodDefault<z.ZodNativeEnum<typeof WorkStartCalcType>>;
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  metaloworking: boolean;
22
- id: number;
23
22
  name: string;
23
+ id: number;
24
24
  preTime: boolean;
25
25
  helperTime: boolean;
26
26
  mainTime: boolean;
@@ -36,8 +36,8 @@ export declare const UpdateTypeOperationSchema: z.ZodObject<{
36
36
  users?: any;
37
37
  }, {
38
38
  metaloworking: boolean;
39
- id: number;
40
39
  name: string;
40
+ id: number;
41
41
  preTime: boolean;
42
42
  helperTime: boolean;
43
43
  mainTime: boolean;
@@ -56,8 +56,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
56
56
  purchasesId: z.ZodOptional<z.ZodNumber>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  ban: boolean;
59
- id: number;
60
59
  name: string;
60
+ id: number;
61
61
  attention: boolean;
62
62
  description?: string | null | undefined;
63
63
  contacts?: string | null | undefined;
@@ -66,8 +66,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
66
66
  rekvisit?: string | null | undefined;
67
67
  purchasesId?: number | undefined;
68
68
  }, {
69
- id: number;
70
69
  name: string;
70
+ id: number;
71
71
  ban?: boolean | undefined;
72
72
  description?: string | null | undefined;
73
73
  contacts?: string | null | undefined;
@@ -99,8 +99,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
99
99
  product?: any;
100
100
  buyer?: {
101
101
  ban: boolean;
102
- id: number;
103
102
  name: string;
103
+ id: number;
104
104
  attention: boolean;
105
105
  description?: string | null | undefined;
106
106
  contacts?: string | null | undefined;
@@ -127,8 +127,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
127
127
  ban?: boolean | undefined;
128
128
  product?: any;
129
129
  buyer?: {
130
- id: number;
131
130
  name: string;
131
+ id: number;
132
132
  ban?: boolean | undefined;
133
133
  description?: string | null | undefined;
134
134
  contacts?: string | null | undefined;
@@ -166,8 +166,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
166
166
  product?: any;
167
167
  buyer?: {
168
168
  ban: boolean;
169
- id: number;
170
169
  name: string;
170
+ id: number;
171
171
  attention: boolean;
172
172
  description?: string | null | undefined;
173
173
  contacts?: string | null | undefined;
@@ -224,8 +224,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
224
224
  ban?: boolean | undefined;
225
225
  product?: any;
226
226
  buyer?: {
227
- id: number;
228
227
  name: string;
228
+ id: number;
229
229
  ban?: boolean | undefined;
230
230
  description?: string | null | undefined;
231
231
  contacts?: string | null | undefined;
@@ -4,12 +4,12 @@ export declare const UpdateRoleDtoZod: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  }, "strip", z.ZodTypeAny, {
7
- id: number;
8
7
  name: string;
8
+ id: number;
9
9
  description?: string | null | undefined;
10
10
  }, {
11
- id: number;
12
11
  name: string;
12
+ id: number;
13
13
  description?: string | null | undefined;
14
14
  }>;
15
15
  export type UpdateRoleDtoZodType = z.infer<typeof UpdateRoleDtoZod>;
@@ -127,8 +127,8 @@ export declare const RoleSchema: z.ZodObject<{
127
127
  cbed: import("../..").CbedRelativeType[];
128
128
  designation: string | null;
129
129
  description: string | null;
130
- id: number;
131
130
  name: string;
131
+ id: number;
132
132
  calculate_needs_time: Date | null;
133
133
  entity_children_need_time: Date | null;
134
134
  min_remaining: number;
@@ -158,8 +158,8 @@ export declare const RoleSchema: z.ZodObject<{
158
158
  }, {
159
159
  designation: string | null;
160
160
  description: string | null;
161
- id: number;
162
161
  name: string;
162
+ id: number;
163
163
  ava_path: string | null;
164
164
  parametrs: import("../..").CbedParametrsField | null;
165
165
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -602,8 +602,8 @@ export declare const RoleSchema: z.ZodObject<{
602
602
  cbed: import("../..").CbedRelativeType[];
603
603
  designation: string | null;
604
604
  description: string | null;
605
- id: number;
606
605
  name: string;
606
+ id: number;
607
607
  calculate_needs_time: Date | null;
608
608
  entity_children_need_time: Date | null;
609
609
  min_remaining: number;
@@ -796,8 +796,8 @@ export declare const RoleSchema: z.ZodObject<{
796
796
  cbeds: {
797
797
  designation: string | null;
798
798
  description: string | null;
799
- id: number;
800
799
  name: string;
800
+ id: number;
801
801
  ava_path: string | null;
802
802
  parametrs: import("../..").CbedParametrsField | null;
803
803
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -969,8 +969,8 @@ export declare const RoleSchema: z.ZodObject<{
969
969
  }, "strip", z.ZodTypeAny, {
970
970
  ban: boolean;
971
971
  description: string;
972
- id: number;
973
972
  name: string;
973
+ id: number;
974
974
  user?: {
975
975
  banReason: string | null;
976
976
  ban: boolean;
@@ -1018,8 +1018,8 @@ export declare const RoleSchema: z.ZodObject<{
1018
1018
  cbed: import("../..").CbedRelativeType[];
1019
1019
  designation: string | null;
1020
1020
  description: string | null;
1021
- id: number;
1022
1021
  name: string;
1022
+ id: number;
1023
1023
  calculate_needs_time: Date | null;
1024
1024
  entity_children_need_time: Date | null;
1025
1025
  min_remaining: number;
@@ -1178,8 +1178,8 @@ export declare const RoleSchema: z.ZodObject<{
1178
1178
  subdivision?: import("../../user").EnumSubdivision | undefined;
1179
1179
  }[] | undefined;
1180
1180
  }, {
1181
- id: number;
1182
1181
  name: string;
1182
+ id: number;
1183
1183
  ban?: boolean | undefined;
1184
1184
  user?: {
1185
1185
  banReason: string | null;
@@ -1217,8 +1217,8 @@ export declare const RoleSchema: z.ZodObject<{
1217
1217
  cbeds: {
1218
1218
  designation: string | null;
1219
1219
  description: string | null;
1220
- id: number;
1221
1220
  name: string;
1221
+ id: number;
1222
1222
  ava_path: string | null;
1223
1223
  parametrs: import("../..").CbedParametrsField | null;
1224
1224
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -18,8 +18,8 @@ export declare const RemainSchema: z.ZodObject<{
18
18
  ban: boolean;
19
19
  designation: string;
20
20
  description: string;
21
- id: number;
22
21
  name: string;
22
+ id: number;
23
23
  createdAt: string | Date;
24
24
  quantity: number;
25
25
  attetion: boolean;
@@ -33,8 +33,8 @@ export declare const RemainSchema: z.ZodObject<{
33
33
  ban: boolean;
34
34
  designation: string;
35
35
  description: string;
36
- id: number;
37
36
  name: string;
37
+ id: number;
38
38
  createdAt: string | Date;
39
39
  quantity: number;
40
40
  attetion: boolean;