@pksep/zod-shared 0.0.490 → 0.0.491

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 (70) hide show
  1. package/dist/action/schemas/actions.schema.d.ts +6 -6
  2. package/dist/assemble/dto/create-assemble-kit.dto.d.ts +2 -2
  3. package/dist/assemble/dto/create-assemble.dto.d.ts +2 -2
  4. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +66 -66
  5. package/dist/assemble/interfaces/interfaces.d.ts +1 -1
  6. package/dist/assemble/schemas/assemble-coming.schema.d.ts +52 -52
  7. package/dist/assemble/schemas/assemble.schema.d.ts +52 -52
  8. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +2 -2
  9. package/dist/cbed/dto/up-create-cbed.dto.d.ts +1 -1
  10. package/dist/cbed/schemas/cbed.schema.d.ts +2 -2
  11. package/dist/detal/dto/update-detal.dto.d.ts +10 -10
  12. package/dist/detal/dto/update-detal.dto.js +3 -3
  13. package/dist/detal/schemas/detal-deficit.schema.d.ts +28 -28
  14. package/dist/detal/schemas/detal.schema.d.ts +28 -28
  15. package/dist/equipment/schemas/equipment.schema.d.ts +48 -48
  16. package/dist/instrument/dto/get-instruments-pagination.dto.d.ts +3 -3
  17. package/dist/instrument/dto/get-instruments-pagination.dto.js +1 -1
  18. package/dist/instrument/dto/update-instrument.dto.d.ts +3 -3
  19. package/dist/instrument/dto/update-instrument.dto.js +1 -1
  20. package/dist/inventary/dto/create-inventary.dto.d.ts +2 -2
  21. package/dist/inventary/dto/create-pt-inventary.dto.d.ts +3 -3
  22. package/dist/inventary/dto/create-pt-inventary.dto.js +1 -1
  23. package/dist/marks/dto/change-mark-quantity.dto.d.ts +45 -45
  24. package/dist/marks/dto/create-mark.dto.d.ts +27 -27
  25. package/dist/marks/dto/create-mark.dto.js +9 -9
  26. package/dist/marks/dto/update-mark.dto.d.ts +15 -15
  27. package/dist/marks/dto/update-mark.dto.js +5 -5
  28. package/dist/marks/schemas/marks.schema.d.ts +12 -12
  29. package/dist/material/dto/create-material.dto.d.ts +6 -6
  30. package/dist/material/dto/create-material.dto.js +2 -2
  31. package/dist/material/dto/create-subtype-material.dto.d.ts +3 -3
  32. package/dist/material/dto/create-subtype-material.dto.js +1 -1
  33. package/dist/material/dto/up-create-type-material.dto.d.ts +3 -3
  34. package/dist/material/dto/up-create-type-material.dto.js +1 -1
  35. package/dist/metaloworking/dto/create-metaloworking.dto.d.ts +2 -2
  36. package/dist/movement-object/dto/create-moving.dto.d.ts +15 -15
  37. package/dist/movement-object/dto/create-moving.dto.js +5 -5
  38. package/dist/moving/schemas/moving.schema.d.ts +24 -24
  39. package/dist/operations/dto/up-create-tech-process.dto.d.ts +6 -6
  40. package/dist/operations/dto/up-create-tech-process.dto.js +2 -2
  41. package/dist/operations/schemas/operation.schema.d.ts +24 -24
  42. package/dist/product/dto/up-create-product.dto.d.ts +4 -4
  43. package/dist/product/dto/up-create-product.dto.js +1 -1
  44. package/dist/production-tasks/dto/change-due-date.dto.d.ts +2 -2
  45. package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +2 -2
  46. package/dist/production-tasks/dto/create-production-task.dto.d.ts +3 -3
  47. package/dist/production-tasks/dto/create-production-task.dto.js +1 -1
  48. package/dist/production-tasks/dto/update-marks.dto.d.ts +2 -2
  49. package/dist/production-tasks/dto/update.dto.d.ts +2 -2
  50. package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +2 -2
  51. package/dist/provider/dto/create-provider.dto.d.ts +3 -3
  52. package/dist/provider/dto/create-provider.dto.js +1 -1
  53. package/dist/role/schemas/role.schema.d.ts +24 -24
  54. package/dist/shipments/dto/sh-check.dto.d.ts +2 -2
  55. package/dist/shipments/dto/sh-complit-update.dto.d.ts +3 -3
  56. package/dist/shipments/dto/sh-complit-update.dto.js +1 -1
  57. package/dist/specification/schema/attributes.schema.d.ts +46 -46
  58. package/dist/stock-order/dto/create-stock-order.dto.d.ts +15 -15
  59. package/dist/stock-order/type/type.d.ts +9 -9
  60. package/dist/stock-order/type/type.js +3 -3
  61. package/dist/tech-process/dto/up-create-tech-process.dto.d.ts +6 -6
  62. package/dist/tech-process/dto/up-create-tech-process.dto.js +2 -2
  63. package/dist/tech-process/schemas/tech-process.schema.d.ts +36 -36
  64. package/dist/user/schemas/user.schema.d.ts +16 -16
  65. package/dist/utils/index.d.ts +0 -1
  66. package/dist/utils/index.js +0 -1
  67. package/dist/waybill/dto/create-waybill-product.dto.d.ts +2 -2
  68. package/dist/waybill/dto/create-waybill.dto.d.ts +4 -4
  69. package/dist/waybill/schemas/waybill-product.schema.d.ts +2 -2
  70. package/package.json +1 -1
@@ -3,14 +3,14 @@ import { InstansTypeInstrument } from '../../utils';
3
3
  export declare const UpdateTInstrumentDtoZod: z.ZodObject<{
4
4
  id: z.ZodNumber;
5
5
  name: z.ZodString;
6
- instanceType: z.ZodNativeEnum<typeof InstansTypeInstrument>;
6
+ instance_type: z.ZodNativeEnum<typeof InstansTypeInstrument>;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  id: number;
9
9
  name: string;
10
- instanceType: InstansTypeInstrument;
10
+ instance_type: InstansTypeInstrument;
11
11
  }, {
12
12
  id: number;
13
13
  name: string;
14
- instanceType: InstansTypeInstrument;
14
+ instance_type: InstansTypeInstrument;
15
15
  }>;
16
16
  export type UpdateTInstrumentDtoType = z.infer<typeof UpdateTInstrumentDtoZod>;
@@ -6,5 +6,5 @@ const utils_1 = require("../../utils");
6
6
  exports.UpdateTInstrumentDtoZod = zod_1.z.object({
7
7
  id: zod_1.z.number(),
8
8
  name: zod_1.z.string(),
9
- instanceType: zod_1.z.nativeEnum(utils_1.InstansTypeInstrument)
9
+ instance_type: zod_1.z.nativeEnum(utils_1.InstansTypeInstrument)
10
10
  });
@@ -19,10 +19,10 @@ export declare const CreateInventaryDtoZod: z.ZodObject<{
19
19
  name: string;
20
20
  attention: boolean | null;
21
21
  companyIds: string;
22
- fileBase: string;
23
22
  parentTypeId: number;
24
23
  parentSubtypeId: number;
25
24
  responsibleUserId: string | null;
25
+ fileBase: string;
26
26
  id?: number | null | undefined;
27
27
  docs?: any;
28
28
  deliveryTime?: number | null | undefined;
@@ -33,8 +33,8 @@ export declare const CreateInventaryDtoZod: z.ZodObject<{
33
33
  description: string;
34
34
  name: string;
35
35
  companyIds: string;
36
- fileBase: string;
37
36
  responsibleUserId: string | null;
37
+ fileBase: string;
38
38
  id?: unknown;
39
39
  docs?: any;
40
40
  attention?: unknown;
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreatePTInventaryDtoZod: z.ZodObject<{
3
3
  name: z.ZodString;
4
- inventaryTypeId: z.ZodNumber;
4
+ inventary_type_id: z.ZodNumber;
5
5
  }, "strip", z.ZodTypeAny, {
6
6
  name: string;
7
- inventaryTypeId: number;
7
+ inventary_type_id: number;
8
8
  }, {
9
9
  name: string;
10
- inventaryTypeId: number;
10
+ inventary_type_id: number;
11
11
  }>;
12
12
  export type CreatePTInventaryDtoType = z.infer<typeof CreatePTInventaryDtoZod>;
@@ -4,5 +4,5 @@ exports.CreatePTInventaryDtoZod = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.CreatePTInventaryDtoZod = zod_1.z.object({
6
6
  name: zod_1.z.string(),
7
- inventaryTypeId: zod_1.z.number()
7
+ inventary_type_id: zod_1.z.number()
8
8
  });
@@ -1,44 +1,44 @@
1
1
  import { z } from 'zod';
2
2
  export declare const changeMarkQuantitySchema: z.ZodObject<{
3
3
  dto: z.ZodObject<{
4
- dateBuild: z.ZodAny;
5
- assembleKitId: z.ZodOptional<z.ZodNumber>;
4
+ date_build: z.ZodAny;
5
+ assemble_kit_id: z.ZodOptional<z.ZodNumber>;
6
6
  kol: z.ZodNumber;
7
7
  description: z.ZodString;
8
- userId: z.ZodNumber;
9
- operId: z.ZodNumber;
10
- assembleId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
- metaloworkingId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ user_id: z.ZodNumber;
9
+ oper_id: z.ZodNumber;
10
+ assemble_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ metaloworking_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  brak: z.ZodBoolean;
13
- executionTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
- operationExecutionTime: z.ZodAny;
15
- productionTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ execution_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ operation_execution_time: z.ZodAny;
15
+ production_task_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- userId: number;
18
17
  description: string;
19
18
  kol: number;
20
- operId: number;
19
+ user_id: number;
20
+ oper_id: number;
21
21
  brak: boolean;
22
- dateBuild?: any;
23
- assembleKitId?: number | undefined;
24
- assembleId?: number | null | undefined;
25
- metaloworkingId?: number | null | undefined;
26
- executionTime?: number | null | undefined;
27
- operationExecutionTime?: any;
28
- productionTaskId?: number | null | undefined;
22
+ date_build?: any;
23
+ assemble_kit_id?: number | undefined;
24
+ assemble_id?: number | null | undefined;
25
+ metaloworking_id?: number | null | undefined;
26
+ execution_time?: number | null | undefined;
27
+ operation_execution_time?: any;
28
+ production_task_id?: number | null | undefined;
29
29
  }, {
30
- userId: number;
31
30
  description: string;
32
31
  kol: number;
33
- operId: number;
32
+ user_id: number;
33
+ oper_id: number;
34
34
  brak: boolean;
35
- dateBuild?: any;
36
- assembleKitId?: number | undefined;
37
- assembleId?: number | null | undefined;
38
- metaloworkingId?: number | null | undefined;
39
- executionTime?: number | null | undefined;
40
- operationExecutionTime?: any;
41
- productionTaskId?: number | null | undefined;
35
+ date_build?: any;
36
+ assemble_kit_id?: number | undefined;
37
+ assemble_id?: number | null | undefined;
38
+ metaloworking_id?: number | null | undefined;
39
+ execution_time?: number | null | undefined;
40
+ operation_execution_time?: any;
41
+ production_task_id?: number | null | undefined;
42
42
  }>;
43
43
  userId: z.ZodNumber;
44
44
  transaction: z.ZodAny;
@@ -47,18 +47,18 @@ export declare const changeMarkQuantitySchema: z.ZodObject<{
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  userId: number;
49
49
  dto: {
50
- userId: number;
51
50
  description: string;
52
51
  kol: number;
53
- operId: number;
52
+ user_id: number;
53
+ oper_id: number;
54
54
  brak: boolean;
55
- dateBuild?: any;
56
- assembleKitId?: number | undefined;
57
- assembleId?: number | null | undefined;
58
- metaloworkingId?: number | null | undefined;
59
- executionTime?: number | null | undefined;
60
- operationExecutionTime?: any;
61
- productionTaskId?: number | null | undefined;
55
+ date_build?: any;
56
+ assemble_kit_id?: number | undefined;
57
+ assemble_id?: number | null | undefined;
58
+ metaloworking_id?: number | null | undefined;
59
+ execution_time?: number | null | undefined;
60
+ operation_execution_time?: any;
61
+ production_task_id?: number | null | undefined;
62
62
  };
63
63
  markId: number;
64
64
  transaction?: any;
@@ -66,18 +66,18 @@ export declare const changeMarkQuantitySchema: z.ZodObject<{
66
66
  }, {
67
67
  userId: number;
68
68
  dto: {
69
- userId: number;
70
69
  description: string;
71
70
  kol: number;
72
- operId: number;
71
+ user_id: number;
72
+ oper_id: number;
73
73
  brak: boolean;
74
- dateBuild?: any;
75
- assembleKitId?: number | undefined;
76
- assembleId?: number | null | undefined;
77
- metaloworkingId?: number | null | undefined;
78
- executionTime?: number | null | undefined;
79
- operationExecutionTime?: any;
80
- productionTaskId?: number | null | undefined;
74
+ date_build?: any;
75
+ assemble_kit_id?: number | undefined;
76
+ assemble_id?: number | null | undefined;
77
+ metaloworking_id?: number | null | undefined;
78
+ execution_time?: number | null | undefined;
79
+ operation_execution_time?: any;
80
+ production_task_id?: number | null | undefined;
81
81
  };
82
82
  markId: number;
83
83
  transaction?: any;
@@ -1,42 +1,42 @@
1
1
  import { z } from 'zod';
2
2
  export declare const createMarkSchemaDto: z.ZodObject<{
3
- dateBuild: z.ZodAny;
4
- assembleKitId: z.ZodOptional<z.ZodNumber>;
3
+ date_build: z.ZodAny;
4
+ assemble_kit_id: z.ZodOptional<z.ZodNumber>;
5
5
  kol: z.ZodNumber;
6
6
  description: z.ZodString;
7
- userId: z.ZodNumber;
8
- operId: z.ZodNumber;
9
- assembleId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
- metaloworkingId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7
+ user_id: z.ZodNumber;
8
+ oper_id: z.ZodNumber;
9
+ assemble_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ metaloworking_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
11
  brak: z.ZodBoolean;
12
- executionTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
- operationExecutionTime: z.ZodAny;
14
- productionTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ execution_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ operation_execution_time: z.ZodAny;
14
+ production_task_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  }, "strip", z.ZodTypeAny, {
16
- userId: number;
17
16
  description: string;
18
17
  kol: number;
19
- operId: number;
18
+ user_id: number;
19
+ oper_id: number;
20
20
  brak: boolean;
21
- dateBuild?: any;
22
- assembleKitId?: number | undefined;
23
- assembleId?: number | null | undefined;
24
- metaloworkingId?: number | null | undefined;
25
- executionTime?: number | null | undefined;
26
- operationExecutionTime?: any;
27
- productionTaskId?: number | null | undefined;
21
+ date_build?: any;
22
+ assemble_kit_id?: number | undefined;
23
+ assemble_id?: number | null | undefined;
24
+ metaloworking_id?: number | null | undefined;
25
+ execution_time?: number | null | undefined;
26
+ operation_execution_time?: any;
27
+ production_task_id?: number | null | undefined;
28
28
  }, {
29
- userId: number;
30
29
  description: string;
31
30
  kol: number;
32
- operId: number;
31
+ user_id: number;
32
+ oper_id: number;
33
33
  brak: boolean;
34
- dateBuild?: any;
35
- assembleKitId?: number | undefined;
36
- assembleId?: number | null | undefined;
37
- metaloworkingId?: number | null | undefined;
38
- executionTime?: number | null | undefined;
39
- operationExecutionTime?: any;
40
- productionTaskId?: number | null | undefined;
34
+ date_build?: any;
35
+ assemble_kit_id?: number | undefined;
36
+ assemble_id?: number | null | undefined;
37
+ metaloworking_id?: number | null | undefined;
38
+ execution_time?: number | null | undefined;
39
+ operation_execution_time?: any;
40
+ production_task_id?: number | null | undefined;
41
41
  }>;
42
42
  export type CreateMarkDto = z.infer<typeof createMarkSchemaDto>;
@@ -3,16 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createMarkSchemaDto = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.createMarkSchemaDto = zod_1.z.object({
6
- dateBuild: zod_1.z.any(),
7
- assembleKitId: zod_1.z.number().optional(),
6
+ date_build: zod_1.z.any(),
7
+ assemble_kit_id: zod_1.z.number().optional(),
8
8
  kol: zod_1.z.number().nonnegative(),
9
9
  description: zod_1.z.string(),
10
- userId: zod_1.z.number().int().nonnegative(),
11
- operId: zod_1.z.number().int().nonnegative(),
12
- assembleId: zod_1.z.number().nullish(),
13
- metaloworkingId: zod_1.z.number().nullish(),
10
+ user_id: zod_1.z.number().int().nonnegative(),
11
+ oper_id: zod_1.z.number().int().nonnegative(),
12
+ assemble_id: zod_1.z.number().nullish(),
13
+ metaloworking_id: zod_1.z.number().nullish(),
14
14
  brak: zod_1.z.boolean(),
15
- executionTime: zod_1.z.number().nullish(),
16
- operationExecutionTime: zod_1.z.any(),
17
- productionTaskId: zod_1.z.number().nullish()
15
+ execution_time: zod_1.z.number().nullish(),
16
+ operation_execution_time: zod_1.z.any(),
17
+ production_task_id: zod_1.z.number().nullish()
18
18
  });
@@ -1,33 +1,33 @@
1
1
  import { z } from 'zod';
2
2
  export declare const updateMarkSchemaDto: z.ZodObject<{
3
3
  id: z.ZodNumber;
4
- dateBuild: z.ZodString;
4
+ date_build: z.ZodString;
5
5
  kol: z.ZodNumber;
6
6
  description: z.ZodString;
7
- userId: z.ZodNumber;
8
- operId: z.ZodNumber;
7
+ user_id: z.ZodNumber;
8
+ oper_id: z.ZodNumber;
9
9
  brak: z.ZodBoolean;
10
- executionTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
- operationExecutionTime: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, any, string | null | undefined>;
10
+ execution_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ operation_execution_time: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, any, string | null | undefined>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- userId: number;
14
13
  description: string;
15
14
  id: number;
16
- dateBuild: string;
15
+ date_build: string;
17
16
  kol: number;
18
- operId: number;
17
+ user_id: number;
18
+ oper_id: number;
19
19
  brak: boolean;
20
- executionTime?: number | null | undefined;
21
- operationExecutionTime?: any;
20
+ execution_time?: number | null | undefined;
21
+ operation_execution_time?: any;
22
22
  }, {
23
- userId: number;
24
23
  description: string;
25
24
  id: number;
26
- dateBuild: string;
25
+ date_build: string;
27
26
  kol: number;
28
- operId: number;
27
+ user_id: number;
28
+ oper_id: number;
29
29
  brak: boolean;
30
- executionTime?: number | null | undefined;
31
- operationExecutionTime?: string | null | undefined;
30
+ execution_time?: number | null | undefined;
31
+ operation_execution_time?: string | null | undefined;
32
32
  }>;
33
33
  export type UpdateMarkDto = z.infer<typeof updateMarkSchemaDto>;
@@ -5,14 +5,14 @@ const zod_1 = require("zod");
5
5
  const utils_1 = require("../../utils");
6
6
  exports.updateMarkSchemaDto = zod_1.z.object({
7
7
  id: zod_1.z.number().int().nonnegative(),
8
- dateBuild: zod_1.z.string(),
8
+ date_build: zod_1.z.string(),
9
9
  kol: zod_1.z.number().nonnegative(),
10
10
  description: zod_1.z.string(),
11
- userId: zod_1.z.number().int().nonnegative(),
12
- operId: zod_1.z.number().int().nonnegative(),
11
+ user_id: zod_1.z.number().int().nonnegative(),
12
+ oper_id: zod_1.z.number().int().nonnegative(),
13
13
  brak: zod_1.z.boolean(),
14
- executionTime: zod_1.z.number().nullish(),
15
- operationExecutionTime: zod_1.z
14
+ execution_time: zod_1.z.number().nullish(),
15
+ operation_execution_time: zod_1.z
16
16
  .string()
17
17
  .nullish()
18
18
  .transform(value => {
@@ -39,44 +39,44 @@ export declare const marksSchema: z.ZodObject<{
39
39
  status: MarkStatusEnums;
40
40
  ban: boolean;
41
41
  id: number;
42
+ date_build: string;
42
43
  kol: number;
43
- brak: boolean;
44
44
  user_id: number;
45
+ oper_id: number;
46
+ assemble_id: number;
45
47
  metaloworking_id: number;
48
+ brak: boolean;
49
+ execution_time: number;
46
50
  production_task_id: number | null;
47
- date_build: string;
48
51
  quantity_shipped: number;
49
- execution_time: number;
50
- assemble_id: number;
51
- oper_id: number;
52
52
  description?: string | undefined;
53
+ assemble_kit_id?: number | null | undefined;
53
54
  operation_execution_time?: {
54
55
  preTime: number;
55
56
  helperTime: number;
56
57
  mainTime: number;
57
58
  } | undefined;
58
- assemble_kit_id?: number | null | undefined;
59
59
  }, {
60
60
  status: MarkStatusEnums;
61
61
  ban: boolean;
62
62
  id: number;
63
+ date_build: string;
63
64
  kol: number;
64
- brak: boolean;
65
65
  user_id: number;
66
+ oper_id: number;
67
+ assemble_id: number;
66
68
  metaloworking_id: number;
69
+ brak: boolean;
70
+ execution_time: number;
67
71
  production_task_id: number | null;
68
- date_build: string;
69
72
  quantity_shipped: number;
70
- execution_time: number;
71
- assemble_id: number;
72
- oper_id: number;
73
73
  description?: string | undefined;
74
+ assemble_kit_id?: number | null | undefined;
74
75
  operation_execution_time?: {
75
76
  preTime: number;
76
77
  helperTime: number;
77
78
  mainTime: number;
78
79
  } | undefined;
79
- assemble_kit_id?: number | null | undefined;
80
80
  }>;
81
81
  export type ModelMarks = z.infer<typeof marksSchema> & {
82
82
  user?: ModelUser;
@@ -235,7 +235,7 @@ export declare const CreateMaterialDtoZod: z.ZodObject<{
235
235
  docs: z.ZodAny;
236
236
  density: z.ZodOptional<z.ZodString>;
237
237
  subtypeMaterialId: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
238
- unitsMeasurement: z.ZodEffects<z.ZodArray<z.ZodType<IUnitsMeasurement, z.ZodTypeDef, IUnitsMeasurement>, "many">, IUnitsMeasurement[], unknown>;
238
+ units_measurement: z.ZodEffects<z.ZodArray<z.ZodType<IUnitsMeasurement, z.ZodTypeDef, IUnitsMeasurement>, "many">, IUnitsMeasurement[], unknown>;
239
239
  characteristics: z.ZodEffects<z.ZodOptional<z.ZodObject<{
240
240
  width: z.ZodOptional<z.ZodObject<{
241
241
  used: z.ZodBoolean;
@@ -517,11 +517,11 @@ export declare const CreateMaterialDtoZod: z.ZodObject<{
517
517
  description: z.ZodString;
518
518
  attention: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
519
519
  companyIds: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
- fileBase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ file_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
521
521
  }, "strip", z.ZodTypeAny, {
522
522
  description: string;
523
523
  name: string;
524
- unitsMeasurement: IUnitsMeasurement[];
524
+ units_measurement: IUnitsMeasurement[];
525
525
  id?: number | undefined;
526
526
  docs?: any;
527
527
  attention?: boolean | undefined;
@@ -580,7 +580,7 @@ export declare const CreateMaterialDtoZod: z.ZodObject<{
580
580
  rootParentId?: number | undefined;
581
581
  subtypeMaterialId?: number | undefined;
582
582
  companyIds?: string | null | undefined;
583
- fileBase?: string | null | undefined;
583
+ file_base?: string | null | undefined;
584
584
  }, {
585
585
  description: string;
586
586
  name: string;
@@ -590,10 +590,10 @@ export declare const CreateMaterialDtoZod: z.ZodObject<{
590
590
  density?: string | undefined;
591
591
  characteristics?: unknown;
592
592
  deliveryTime?: unknown;
593
+ units_measurement?: unknown;
593
594
  rootParentId?: unknown;
594
595
  subtypeMaterialId?: unknown;
595
- unitsMeasurement?: unknown;
596
596
  companyIds?: string | null | undefined;
597
- fileBase?: string | null | undefined;
597
+ file_base?: string | null | undefined;
598
598
  }>;
599
599
  export type CreateMaterialDtoZodType = z.infer<typeof CreateMaterialDtoZod>;
@@ -76,11 +76,11 @@ exports.CreateMaterialDtoZod = zod_1.z.object({
76
76
  docs: zod_1.z.any(),
77
77
  density: zod_1.z.string().optional(),
78
78
  subtypeMaterialId: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : null, zod_1.z.number().optional()),
79
- unitsMeasurement: zod_1.z.preprocess(value => typeof value === 'string' ? (0, utils_1.parseParamsOrBody)({ value }, null) : value, zod_1.z.array(zod_1.z.custom())),
79
+ units_measurement: zod_1.z.preprocess(value => typeof value === 'string' ? (0, utils_1.parseParamsOrBody)({ value }, null) : value, zod_1.z.array(zod_1.z.custom())),
80
80
  characteristics: zod_1.z.preprocess(value => typeof value === 'string' ? (0, utils_1.parseParamsOrBody)({ value }, null) : value, exports.MaterialCharacteristicsSchemaZod.optional()),
81
81
  deliveryTime: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : null, zod_1.z.number().optional().nullable()),
82
82
  description: zod_1.z.string(),
83
83
  attention: zod_1.z.preprocess(val => (typeof val === 'string' ? (0, utils_1.parseBoolean)(val) : val), zod_1.z.boolean().optional()),
84
84
  companyIds: zod_1.z.string().nullable().optional(),
85
- fileBase: zod_1.z.string().nullable().optional()
85
+ file_base: zod_1.z.string().nullable().optional()
86
86
  });
@@ -4,17 +4,17 @@ export declare const CreateSubtypeMaterialDtoZod: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  density: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6
6
  id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
7
- instanceType: z.ZodNativeEnum<typeof InstansMaterial>;
7
+ instance_type: z.ZodNativeEnum<typeof InstansMaterial>;
8
8
  parentMaterialId: z.ZodAny;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  name: string;
11
- instanceType: InstansMaterial;
11
+ instance_type: InstansMaterial;
12
12
  id?: number | null | undefined;
13
13
  density?: number | null | undefined;
14
14
  parentMaterialId?: any;
15
15
  }, {
16
16
  name: string;
17
- instanceType: InstansMaterial;
17
+ instance_type: InstansMaterial;
18
18
  id?: number | null | undefined;
19
19
  density?: number | null | undefined;
20
20
  parentMaterialId?: any;
@@ -7,6 +7,6 @@ exports.CreateSubtypeMaterialDtoZod = zod_1.z.object({
7
7
  name: zod_1.z.string(),
8
8
  density: zod_1.z.number().optional().nullable(),
9
9
  id: zod_1.z.number().optional().nullable(),
10
- instanceType: zod_1.z.nativeEnum(utils_1.InstansMaterial),
10
+ instance_type: zod_1.z.nativeEnum(utils_1.InstansMaterial),
11
11
  parentMaterialId: zod_1.z.any()
12
12
  });
@@ -4,16 +4,16 @@ export declare const UpCreateTypeMaterialDtoZod: z.ZodObject<{
4
4
  id: z.ZodOptional<z.ZodNumber>;
5
5
  name: z.ZodString;
6
6
  characteristics: z.ZodType<TypeMaterialCharacteristics, z.ZodTypeDef, TypeMaterialCharacteristics>;
7
- instanceType: z.ZodNativeEnum<typeof InstansMaterial>;
7
+ instance_type: z.ZodNativeEnum<typeof InstansMaterial>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  name: string;
10
10
  characteristics: TypeMaterialCharacteristics;
11
- instanceType: InstansMaterial;
11
+ instance_type: InstansMaterial;
12
12
  id?: number | undefined;
13
13
  }, {
14
14
  name: string;
15
15
  characteristics: TypeMaterialCharacteristics;
16
- instanceType: InstansMaterial;
16
+ instance_type: InstansMaterial;
17
17
  id?: number | undefined;
18
18
  }>;
19
19
  export type UpCreateTypeMaterialDtoZodType = z.infer<typeof UpCreateTypeMaterialDtoZod>;
@@ -7,5 +7,5 @@ exports.UpCreateTypeMaterialDtoZod = zod_1.z.object({
7
7
  id: zod_1.z.number().optional(),
8
8
  name: zod_1.z.string(),
9
9
  characteristics: zod_1.z.custom(),
10
- instanceType: zod_1.z.nativeEnum(utils_1.InstansMaterial)
10
+ instance_type: zod_1.z.nativeEnum(utils_1.InstansMaterial)
11
11
  });
@@ -8,14 +8,14 @@ export declare const CreateMetaloworkingDtoZod: z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  description: string;
10
10
  detalId: number;
11
- myKolvo: number;
12
11
  actionSendlerId: number;
13
12
  numberOrder: string;
13
+ myKolvo: number;
14
14
  }, {
15
15
  description: string;
16
16
  detalId: number;
17
- myKolvo: number;
18
17
  actionSendlerId: number;
19
18
  numberOrder: string;
19
+ myKolvo: number;
20
20
  }>;
21
21
  export type CreateMetaloworkingDtoZodType = z.infer<typeof CreateMetaloworkingDtoZod>;
@@ -1,27 +1,27 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreateMovingDtoZod: z.ZodObject<{
3
- arrProduct: z.ZodEffects<z.ZodAny, any, unknown>;
3
+ arr_product: z.ZodEffects<z.ZodAny, any, unknown>;
4
4
  description: z.ZodString;
5
- toUser: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
6
- toSklad: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
7
- fromUser: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
8
- fromSklad: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
5
+ to_user: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
6
+ to_sklad: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
7
+ from_user: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
8
+ from_sklad: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
9
9
  cause: z.ZodString;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  description: string;
12
12
  cause: string;
13
- arrProduct?: any;
14
- toUser?: number | undefined;
15
- toSklad?: boolean | undefined;
16
- fromUser?: number | undefined;
17
- fromSklad?: boolean | undefined;
13
+ arr_product?: any;
14
+ to_sklad?: boolean | undefined;
15
+ from_sklad?: boolean | undefined;
16
+ to_user?: number | undefined;
17
+ from_user?: number | undefined;
18
18
  }, {
19
19
  description: string;
20
20
  cause: string;
21
- arrProduct?: unknown;
22
- toUser?: unknown;
23
- toSklad?: unknown;
24
- fromUser?: unknown;
25
- fromSklad?: unknown;
21
+ arr_product?: unknown;
22
+ to_sklad?: unknown;
23
+ from_sklad?: unknown;
24
+ to_user?: unknown;
25
+ from_user?: unknown;
26
26
  }>;
27
27
  export type CreateMovingDtoZodType = z.infer<typeof CreateMovingDtoZod>;
@@ -4,11 +4,11 @@ exports.CreateMovingDtoZod = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const utils_1 = require("../../utils");
6
6
  exports.CreateMovingDtoZod = zod_1.z.object({
7
- arrProduct: zod_1.z.preprocess(val => (0, utils_1.parseParamsOrBody)(val, []), zod_1.z.any()),
7
+ arr_product: zod_1.z.preprocess(val => (0, utils_1.parseParamsOrBody)(val, []), zod_1.z.any()),
8
8
  description: zod_1.z.string(),
9
- toUser: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : val, zod_1.z.number().optional()),
10
- toSklad: zod_1.z.preprocess(val => (typeof val === 'string' ? (0, utils_1.parseBoolean)(val) : val), zod_1.z.boolean().optional()),
11
- fromUser: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : val, zod_1.z.number().optional()),
12
- fromSklad: zod_1.z.preprocess(val => (typeof val === 'string' ? (0, utils_1.parseBoolean)(val) : val), zod_1.z.boolean().optional()),
9
+ to_user: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : val, zod_1.z.number().optional()),
10
+ to_sklad: zod_1.z.preprocess(val => (typeof val === 'string' ? (0, utils_1.parseBoolean)(val) : val), zod_1.z.boolean().optional()),
11
+ from_user: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : val, zod_1.z.number().optional()),
12
+ from_sklad: zod_1.z.preprocess(val => (typeof val === 'string' ? (0, utils_1.parseBoolean)(val) : val), zod_1.z.boolean().optional()),
13
13
  cause: zod_1.z.string()
14
14
  });