@pksep/zod-shared 0.0.551 → 0.0.553

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 (110) hide show
  1. package/dist/action/enums/enums.d.ts +0 -10
  2. package/dist/action/enums/enums.js +0 -10
  3. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +24 -24
  4. package/dist/assemble/interfaces/interfaces.d.ts +36 -6
  5. package/dist/assemble/schemas/assemble-coming.schema.d.ts +18 -18
  6. package/dist/assemble/schemas/assemble.schema.d.ts +18 -18
  7. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +6 -6
  8. package/dist/buyer/schemas/buyer.schema.d.ts +2 -2
  9. package/dist/buyer/schemas/purchases.schema.d.ts +2 -2
  10. package/dist/cbed/schemas/cbed.schema.d.ts +2 -2
  11. package/dist/company/schemas/companies.schema.d.ts +2 -2
  12. package/dist/detal/default-values/default-values.d.ts +0 -4
  13. package/dist/detal/default-values/default-values.js +0 -4
  14. package/dist/detal/schemas/detal-deficit.schema.d.ts +28 -198
  15. package/dist/detal/schemas/detal.schema.d.ts +22 -192
  16. package/dist/document/dto/update-document.dto.d.ts +2 -2
  17. package/dist/edizm/schemas/edizm.schema.d.ts +2 -2
  18. package/dist/edizm/schemas/type-edizm.schema.d.ts +6 -6
  19. package/dist/equipment/dto/udate-equipment-type.dto.d.ts +2 -2
  20. package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
  21. package/dist/equipment/schemas/equipment-pt.schema.d.ts +2 -2
  22. package/dist/equipment/schemas/equipment.schema.d.ts +6 -6
  23. package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +4 -4
  24. package/dist/expenditure/schema/expenditure-position.schema.d.ts +2 -2
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/instrument/dto/update-instrument.dto.d.ts +2 -2
  28. package/dist/instrument/dto/update-pt.dto.d.ts +2 -2
  29. package/dist/instrument/schemas/pt-instrument.schema.d.ts +2 -2
  30. package/dist/inventary/dto/update-inventary.dto.d.ts +2 -2
  31. package/dist/issue/dto/up-create-issue.dto.d.ts +49 -0
  32. package/dist/issue/dto/up-create-issue.dto.js +21 -0
  33. package/dist/issue/index.d.ts +5 -0
  34. package/dist/issue/index.js +21 -0
  35. package/dist/issue/interfaces/interface.d.ts +4 -0
  36. package/dist/issue/schemas/issue-user-controller.schema.d.ts +15 -0
  37. package/dist/issue/schemas/issue-user-controller.schema.js +9 -0
  38. package/dist/issue/schemas/issue-user.schema.d.ts +15 -0
  39. package/dist/issue/schemas/issue-user.schema.js +9 -0
  40. package/dist/issue/schemas/issue.schema.d.ts +51 -0
  41. package/dist/issue/schemas/issue.schema.js +21 -0
  42. package/dist/library/dto/create-chapter.dto.d.ts +12 -0
  43. package/dist/library/dto/create-chapter.dto.js +8 -0
  44. package/dist/library/dto/create-link.dto.d.ts +30 -0
  45. package/dist/library/dto/create-link.dto.js +14 -0
  46. package/dist/library/index.d.ts +5 -0
  47. package/dist/library/index.js +21 -0
  48. package/dist/library/interfaces/interface.d.ts +3 -0
  49. package/dist/library/interfaces/interface.js +2 -0
  50. package/dist/library/schemas/links-user.schema.d.ts +15 -0
  51. package/dist/library/schemas/links-user.schema.js +9 -0
  52. package/dist/library/schemas/links.schema.d.ts +30 -0
  53. package/dist/library/schemas/links.schema.js +14 -0
  54. package/dist/material/dto/create-material.dto.d.ts +0 -136
  55. package/dist/material/dto/create-material.dto.js +0 -16
  56. package/dist/material/dto/up-create-type-material.dto.d.ts +0 -4
  57. package/dist/material/dto/up-create-type-material.dto.js +1 -6
  58. package/dist/material/enum/enum.d.ts +0 -10
  59. package/dist/material/enum/enum.js +1 -12
  60. package/dist/material/index.d.ts +0 -1
  61. package/dist/material/index.js +0 -1
  62. package/dist/material/interfaces/interface.d.ts +0 -5
  63. package/dist/material/schemas/material-characteristics.schema.d.ts +0 -56
  64. package/dist/material/schemas/material-characteristics.schema.js +1 -3
  65. package/dist/material/schemas/material-shipments-response.schema.d.ts +6 -130
  66. package/dist/material/schemas/material.schema.d.ts +6 -130
  67. package/dist/material/schemas/subtype-material.schema.d.ts +2 -2
  68. package/dist/material/schemas/subtype-material.schema.js +1 -1
  69. package/dist/material/schemas/type-material.schema.d.ts +2 -118
  70. package/dist/material/schemas/type-material.schema.js +2 -9
  71. package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
  72. package/dist/moving/schemas/moving.schema.d.ts +6 -6
  73. package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +3 -3
  74. package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
  75. package/dist/planning/index.d.ts +1 -0
  76. package/dist/planning/index.js +17 -0
  77. package/dist/planning/types/planning.d.ts +177 -0
  78. package/dist/planning/types/planning.js +25 -0
  79. package/dist/product/schemas/product-deficit.schema.d.ts +6 -6
  80. package/dist/production-tasks/dto/update-marks.dto.d.ts +13 -0
  81. package/dist/production-tasks/dto/update-marks.dto.js +8 -0
  82. package/dist/production-tasks/dto/update-responsible.dto.d.ts +12 -0
  83. package/dist/production-tasks/dto/update-responsible.dto.js +8 -0
  84. package/dist/production-tasks/dto/update-status.dto.d.ts +13 -0
  85. package/dist/production-tasks/dto/update-status.dto.js +9 -0
  86. package/dist/role/dto/update-role.dto.d.ts +2 -2
  87. package/dist/role/schemas/role.schema.d.ts +8 -8
  88. package/dist/sclad/schemas/remain.schema.d.ts +2 -2
  89. package/dist/sclad/schemas/remains.schema.d.ts +16 -16
  90. package/dist/settings/dto/update-edizm.dto.d.ts +2 -2
  91. package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +18 -18
  92. package/dist/shipments/dto/up-create-shipments.dto.d.ts +4 -4
  93. package/dist/shipments/schemas/shipment-list-item.schema.d.ts +12 -12
  94. package/dist/shipments/schemas/shipments.schema.d.ts +4 -4
  95. package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +12 -12
  96. package/dist/shipments/types/update-shipments-by-product.type.d.ts +12 -12
  97. package/dist/specification/schema/attributes.schema.d.ts +46 -432
  98. package/dist/tech-process/schemas/tech-process-with-options.schema.d.ts +306 -0
  99. package/dist/tech-process/schemas/tech-process-with-options.schema.js +8 -0
  100. package/dist/tech-process/schemas/tech-process.schema.d.ts +2 -2
  101. package/dist/user/schemas/user.schema.d.ts +4 -4
  102. package/dist/utils/interface/mat.interface.d.ts +10 -0
  103. package/dist/utils/interface/mat.interface.js +2 -0
  104. package/dist/utils/schemas/schema.d.ts +2 -2
  105. package/dist/utils/types.d.ts +0 -6
  106. package/package.json +1 -1
  107. package/dist/material/workpiece-mass.d.ts +0 -45
  108. package/dist/material/workpiece-mass.js +0 -400
  109. package/dist/utils/interface/status-flags.interface.d.ts +0 -4
  110. /package/dist/{utils/interface/status-flags.interface.js → issue/interfaces/interface.js} +0 -0
@@ -0,0 +1,177 @@
1
+ import { z } from 'zod';
2
+ import { IShipmentCalculateObjecyt } from '../../shipments';
3
+ import { IzdType, Neo4jEntityTypes, RecursiveGraphParentType, RecursiveGraphType } from '../../utils';
4
+ export declare const CalculatePlanningSchema: z.ZodObject<{
5
+ itemId: z.ZodNumber;
6
+ itemType: z.ZodNativeEnum<typeof IzdType>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ itemId: number;
9
+ itemType: IzdType;
10
+ }, {
11
+ itemId: number;
12
+ itemType: IzdType;
13
+ }>;
14
+ export type CalculatePlanningData = z.infer<typeof CalculatePlanningSchema>;
15
+ export type PlanningGraphNode = {
16
+ itemId: number;
17
+ itemType: Neo4jEntityTypes;
18
+ isRelative: boolean;
19
+ hasPlanningOrder?: boolean;
20
+ childrens: PlanningGraphNode[];
21
+ };
22
+ export type PlanningGraphRelative = {
23
+ id: number;
24
+ type: Neo4jEntityTypes;
25
+ };
26
+ export declare const PlanningGraphNodeSchema: z.ZodType<PlanningGraphNode>;
27
+ export declare const PlanningGraphRelativeSchema: z.ZodObject<{
28
+ id: z.ZodNumber;
29
+ type: z.ZodNativeEnum<typeof Neo4jEntityTypes>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ type: Neo4jEntityTypes;
32
+ id: number;
33
+ }, {
34
+ type: Neo4jEntityTypes;
35
+ id: number;
36
+ }>;
37
+ export declare const PlanningGraphResponseSchema: z.ZodObject<{
38
+ itemId: z.ZodNumber;
39
+ itemType: z.ZodNativeEnum<typeof Neo4jEntityTypes>;
40
+ graph: z.ZodArray<z.ZodType<PlanningGraphNode, z.ZodTypeDef, PlanningGraphNode>, "many">;
41
+ }, "strip", z.ZodTypeAny, {
42
+ graph: PlanningGraphNode[];
43
+ itemId: number;
44
+ itemType: Neo4jEntityTypes;
45
+ }, {
46
+ graph: PlanningGraphNode[];
47
+ itemId: number;
48
+ itemType: Neo4jEntityTypes;
49
+ }>;
50
+ export interface PlanningRecursiveCountPerShipment {
51
+ quantityArr: Map<string, IShipmentCalculateObjecyt>;
52
+ relativeProduct: any;
53
+ entityToFindId: number;
54
+ shipmentKol: number;
55
+ entityType: IzdType.detal | IzdType.cbed | IzdType.material;
56
+ }
57
+ export type PlanningRecursiveGraphEntityType = IzdType.product | IzdType.cbed | IzdType.detal | IzdType.material;
58
+ export type PlanningRecursiveGraphNode = RecursiveGraphType & {
59
+ id: number;
60
+ entity_type: PlanningRecursiveGraphEntityType;
61
+ quantity: number;
62
+ parent_id?: number;
63
+ parent_type?: PlanningRecursiveGraphEntityType;
64
+ count_to_obj?: number;
65
+ count_to_needs?: number;
66
+ needs?: number;
67
+ cbeds: PlanningRecursiveGraphNode[];
68
+ detals: PlanningRecursiveGraphNode[];
69
+ materials: PlanningRecursiveGraphNode[];
70
+ cbedGraph: PlanningRecursiveGraphNode[];
71
+ detalsGraph: PlanningRecursiveGraphNode[];
72
+ materialGraph: PlanningRecursiveGraphNode[];
73
+ };
74
+ export type PlanningRecursiveGraphTree = RecursiveGraphParentType & {
75
+ id: number;
76
+ entity_type: PlanningRecursiveGraphEntityType;
77
+ quantity: number;
78
+ cbeds: PlanningRecursiveGraphNode[];
79
+ detals: PlanningRecursiveGraphNode[];
80
+ materials: PlanningRecursiveGraphNode[];
81
+ cbedGraph: PlanningRecursiveGraphNode[];
82
+ detalsGraph: PlanningRecursiveGraphNode[];
83
+ materialGraph: PlanningRecursiveGraphNode[];
84
+ };
85
+ export type PlanningRecursiveCountByEntityShipment = Omit<PlanningRecursiveCountPerShipment, 'relativeProduct'> & {
86
+ relativeProduct: PlanningRecursiveGraphTree;
87
+ relativeProductType?: PlanningRecursiveGraphEntityType;
88
+ };
89
+ export type PlanningOrderDocumentType = 'shipment' | 'stock-order' | 'production-task';
90
+ export type PlanningOrderDocument = {
91
+ documentType: PlanningOrderDocumentType;
92
+ documentId: number;
93
+ entityId: number;
94
+ entityType: PlanningRecursiveGraphEntityType;
95
+ entityName: string | null;
96
+ entityDesignation: string | null;
97
+ entityAvatar: string | null;
98
+ numberOrder: string | null;
99
+ orderDate: Date | string | null;
100
+ plannedShipmentDate: Date | string | null;
101
+ warehouseReadinessDate: Date | string | null;
102
+ quantity: number;
103
+ completedQuantity: number;
104
+ remainingQuantity: number;
105
+ status?: string | null;
106
+ stockOrderItemId?: number;
107
+ productionOperationPosId?: number;
108
+ productionTaskDocuments?: PlanningOrderDocument[];
109
+ };
110
+ export type PlanningOrderAccordionDocument = PlanningOrderDocument & {
111
+ coveredQuantity: number;
112
+ };
113
+ export type PlanningOrderAccordionNode = {
114
+ entityId: number;
115
+ entityType: PlanningRecursiveGraphEntityType;
116
+ entityName: string | null;
117
+ entityDesignation: string | null;
118
+ entityAvatar: string | null;
119
+ parentId: number | null;
120
+ parentType: PlanningRecursiveGraphEntityType | null;
121
+ countToNeeds: number | null;
122
+ needDate: Date | string | null;
123
+ sourceDocument: PlanningOrderDocument | null;
124
+ quantity: number;
125
+ stockQuantity: number;
126
+ stockCoveredQuantity: number;
127
+ afterStockQuantity: number;
128
+ stockOrderCoveredQuantity: number;
129
+ deficitQuantity: number;
130
+ isSurplus: boolean;
131
+ isCovered: boolean;
132
+ coverDocuments: PlanningOrderAccordionDocument[];
133
+ children: PlanningOrderAccordionNode[];
134
+ };
135
+ export type PlanningPeggingEntityKey = string;
136
+ export type PlanningPeggingItem = {
137
+ key: PlanningPeggingEntityKey;
138
+ id: number;
139
+ type: PlanningRecursiveGraphEntityType;
140
+ name: string | null;
141
+ designation: string | null;
142
+ avatar: string | null;
143
+ stock: number;
144
+ };
145
+ export type PlanningPeggingSpec = {
146
+ parent: PlanningPeggingEntityKey;
147
+ child: PlanningPeggingEntityKey;
148
+ qty: number;
149
+ };
150
+ export type PlanningPeggingPathNode = {
151
+ item: PlanningPeggingEntityKey;
152
+ qty: number;
153
+ stockCov?: number;
154
+ afterStock?: number;
155
+ zsCov?: number;
156
+ deficit?: number;
157
+ isCovered?: boolean;
158
+ cover?: PlanningOrderAccordionDocument[];
159
+ };
160
+ export type PlanningPeggingBranch = {
161
+ branchKey: string;
162
+ qty: number;
163
+ needDate: Date | string | null;
164
+ origin: PlanningOrderDocument;
165
+ path: PlanningPeggingPathNode[];
166
+ surplus?: boolean;
167
+ _self?: boolean;
168
+ stockCov?: number;
169
+ afterStock?: number;
170
+ zsCov?: number;
171
+ deficit?: number;
172
+ cover?: PlanningOrderAccordionDocument[];
173
+ };
174
+ export type PlanningPeggingStockOrder = PlanningOrderDocument & {
175
+ left: number;
176
+ productionTaskDocuments: PlanningOrderDocument[];
177
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlanningGraphResponseSchema = exports.PlanningGraphRelativeSchema = exports.PlanningGraphNodeSchema = exports.CalculatePlanningSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ exports.CalculatePlanningSchema = zod_1.z.object({
7
+ itemId: zod_1.z.number().int().positive(),
8
+ itemType: zod_1.z.nativeEnum(utils_1.IzdType)
9
+ });
10
+ exports.PlanningGraphNodeSchema = zod_1.z.lazy(() => zod_1.z.object({
11
+ itemId: zod_1.z.number().int(),
12
+ itemType: zod_1.z.nativeEnum(utils_1.Neo4jEntityTypes),
13
+ isRelative: zod_1.z.boolean(),
14
+ hasPlanningOrder: zod_1.z.boolean().optional(),
15
+ childrens: zod_1.z.array(exports.PlanningGraphNodeSchema)
16
+ }));
17
+ exports.PlanningGraphRelativeSchema = zod_1.z.object({
18
+ id: zod_1.z.number().int(),
19
+ type: zod_1.z.nativeEnum(utils_1.Neo4jEntityTypes)
20
+ });
21
+ exports.PlanningGraphResponseSchema = zod_1.z.object({
22
+ itemId: zod_1.z.number().int(),
23
+ itemType: zod_1.z.nativeEnum(utils_1.Neo4jEntityTypes),
24
+ graph: zod_1.z.array(exports.PlanningGraphNodeSchema)
25
+ });
@@ -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
- name: string;
60
59
  id: number;
60
+ name: string;
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
- name: string;
70
69
  id: number;
70
+ name: string;
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
- name: string;
103
102
  id: number;
103
+ name: string;
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
- name: string;
131
130
  id: number;
131
+ name: string;
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
- name: string;
170
169
  id: number;
170
+ name: string;
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
- name: string;
228
227
  id: number;
228
+ name: string;
229
229
  ban?: boolean | undefined;
230
230
  description?: string | null | undefined;
231
231
  contacts?: string | null | undefined;
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { IOperationPosition } from '../interfaces/production-tasks';
3
+ export declare const UpdateProductionTaskMarksDtoZod: z.ZodObject<{
4
+ operationPosition: z.ZodOptional<z.ZodNullable<z.ZodType<IOperationPosition, z.ZodTypeDef, IOperationPosition>>>;
5
+ productionTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ operationPosition?: IOperationPosition | null | undefined;
8
+ productionTaskId?: number | null | undefined;
9
+ }, {
10
+ operationPosition?: IOperationPosition | null | undefined;
11
+ productionTaskId?: number | null | undefined;
12
+ }>;
13
+ export type UpdateProductionTaskMarksDtoZodType = z.infer<typeof UpdateProductionTaskMarksDtoZod>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateProductionTaskMarksDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.UpdateProductionTaskMarksDtoZod = zod_1.z.object({
6
+ operationPosition: zod_1.z.custom().nullable().optional(),
7
+ productionTaskId: zod_1.z.number().int().nullable().optional()
8
+ });
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const UpdateProductionTaskREsponsibleDtoZod: z.ZodObject<{
3
+ userId: z.ZodNumber;
4
+ productionPosId: z.ZodNumber;
5
+ }, "strip", z.ZodTypeAny, {
6
+ userId: number;
7
+ productionPosId: number;
8
+ }, {
9
+ userId: number;
10
+ productionPosId: number;
11
+ }>;
12
+ export type UpdateProductionTaskREsponsibleDtoZodType = z.infer<typeof UpdateProductionTaskREsponsibleDtoZod>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateProductionTaskREsponsibleDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.UpdateProductionTaskREsponsibleDtoZod = zod_1.z.object({
6
+ userId: zod_1.z.number(),
7
+ productionPosId: zod_1.z.number()
8
+ });
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { StatusProductionTaskEnum } from '../enums/production-tasks';
3
+ export declare const UpdateStatusProductionTaskEnumDtoZod: z.ZodObject<{
4
+ productionTaskId: z.ZodNumber;
5
+ status: z.ZodNativeEnum<typeof StatusProductionTaskEnum>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ status: StatusProductionTaskEnum;
8
+ productionTaskId: number;
9
+ }, {
10
+ status: StatusProductionTaskEnum;
11
+ productionTaskId: number;
12
+ }>;
13
+ export type UpdateStatusProductionTaskEnumDtoZodType = z.infer<typeof UpdateStatusProductionTaskEnumDtoZod>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateStatusProductionTaskEnumDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ const production_tasks_1 = require("../enums/production-tasks");
6
+ exports.UpdateStatusProductionTaskEnumDtoZod = zod_1.z.object({
7
+ productionTaskId: zod_1.z.number().int(),
8
+ status: zod_1.z.nativeEnum(production_tasks_1.StatusProductionTaskEnum)
9
+ });
@@ -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
- name: string;
8
7
  id: number;
8
+ name: string;
9
9
  description?: string | null | undefined;
10
10
  }, {
11
- name: string;
12
11
  id: number;
12
+ name: string;
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
- name: string;
131
130
  id: number;
131
+ name: string;
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
- name: string;
162
161
  id: number;
162
+ name: string;
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
- name: string;
606
605
  id: number;
606
+ name: string;
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
- name: string;
800
799
  id: number;
800
+ name: string;
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
- name: string;
973
972
  id: number;
973
+ name: string;
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
- name: string;
1022
1021
  id: number;
1022
+ name: string;
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
- name: string;
1182
1181
  id: number;
1182
+ name: string;
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
- name: string;
1221
1220
  id: number;
1221
+ name: string;
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
- name: string;
22
21
  id: number;
22
+ name: string;
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
- name: string;
37
36
  id: number;
37
+ name: string;
38
38
  createdAt: string | Date;
39
39
  quantity: number;
40
40
  attetion: boolean;
@@ -13,14 +13,14 @@ declare const RemainsSchema: z.ZodObject<{
13
13
  designation: z.ZodOptional<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  designation?: string | undefined;
16
- name?: string | undefined;
17
16
  id?: number | null | undefined;
17
+ name?: string | undefined;
18
18
  quantity?: number | undefined;
19
19
  units?: number | undefined;
20
20
  }, {
21
21
  designation?: string | undefined;
22
- name?: string | undefined;
23
22
  id?: number | null | undefined;
23
+ name?: string | undefined;
24
24
  quantity?: number | undefined;
25
25
  units?: number | undefined;
26
26
  }>, "many">>;
@@ -32,14 +32,14 @@ declare const RemainsSchema: z.ZodObject<{
32
32
  designation: z.ZodOptional<z.ZodString>;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  designation?: string | undefined;
35
- name?: string | undefined;
36
35
  id?: number | null | undefined;
36
+ name?: string | undefined;
37
37
  quantity?: number | undefined;
38
38
  units?: number | undefined;
39
39
  }, {
40
40
  designation?: string | undefined;
41
- name?: string | undefined;
42
41
  id?: number | null | undefined;
42
+ name?: string | undefined;
43
43
  quantity?: number | undefined;
44
44
  units?: number | undefined;
45
45
  }>, "many">>;
@@ -51,14 +51,14 @@ declare const RemainsSchema: z.ZodObject<{
51
51
  designation: z.ZodOptional<z.ZodString>;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  designation?: string | undefined;
54
- name?: string | undefined;
55
54
  id?: number | null | undefined;
55
+ name?: string | undefined;
56
56
  quantity?: number | undefined;
57
57
  units?: number | undefined;
58
58
  }, {
59
59
  designation?: string | undefined;
60
- name?: string | undefined;
61
60
  id?: number | null | undefined;
61
+ name?: string | undefined;
62
62
  quantity?: number | undefined;
63
63
  units?: number | undefined;
64
64
  }>, "many">>;
@@ -70,14 +70,14 @@ declare const RemainsSchema: z.ZodObject<{
70
70
  designation: z.ZodOptional<z.ZodString>;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  designation?: string | undefined;
73
- name?: string | undefined;
74
73
  id?: number | null | undefined;
74
+ name?: string | undefined;
75
75
  quantity?: number | undefined;
76
76
  units?: number | undefined;
77
77
  }, {
78
78
  designation?: string | undefined;
79
- name?: string | undefined;
80
79
  id?: number | null | undefined;
80
+ name?: string | undefined;
81
81
  quantity?: number | undefined;
82
82
  units?: number | undefined;
83
83
  }>, "many">>;
@@ -93,29 +93,29 @@ declare const RemainsSchema: z.ZodObject<{
93
93
  shipments_kolvo?: number | undefined;
94
94
  materialList?: {
95
95
  designation?: string | undefined;
96
- name?: string | undefined;
97
96
  id?: number | null | undefined;
97
+ name?: string | undefined;
98
98
  quantity?: number | undefined;
99
99
  units?: number | undefined;
100
100
  }[] | undefined;
101
101
  listPokDet?: {
102
102
  designation?: string | undefined;
103
- name?: string | undefined;
104
103
  id?: number | null | undefined;
104
+ name?: string | undefined;
105
105
  quantity?: number | undefined;
106
106
  units?: number | undefined;
107
107
  }[] | undefined;
108
108
  listCbed?: {
109
109
  designation?: string | undefined;
110
- name?: string | undefined;
111
110
  id?: number | null | undefined;
111
+ name?: string | undefined;
112
112
  quantity?: number | undefined;
113
113
  units?: number | undefined;
114
114
  }[] | undefined;
115
115
  listDetal?: {
116
116
  designation?: string | undefined;
117
- name?: string | undefined;
118
117
  id?: number | null | undefined;
118
+ name?: string | undefined;
119
119
  quantity?: number | undefined;
120
120
  units?: number | undefined;
121
121
  }[] | undefined;
@@ -130,29 +130,29 @@ declare const RemainsSchema: z.ZodObject<{
130
130
  shipments_kolvo?: number | undefined;
131
131
  materialList?: {
132
132
  designation?: string | undefined;
133
- name?: string | undefined;
134
133
  id?: number | null | undefined;
134
+ name?: string | undefined;
135
135
  quantity?: number | undefined;
136
136
  units?: number | undefined;
137
137
  }[] | undefined;
138
138
  listPokDet?: {
139
139
  designation?: string | undefined;
140
- name?: string | undefined;
141
140
  id?: number | null | undefined;
141
+ name?: string | undefined;
142
142
  quantity?: number | undefined;
143
143
  units?: number | undefined;
144
144
  }[] | undefined;
145
145
  listCbed?: {
146
146
  designation?: string | undefined;
147
- name?: string | undefined;
148
147
  id?: number | null | undefined;
148
+ name?: string | undefined;
149
149
  quantity?: number | undefined;
150
150
  units?: number | undefined;
151
151
  }[] | undefined;
152
152
  listDetal?: {
153
153
  designation?: string | undefined;
154
- name?: string | undefined;
155
154
  id?: number | null | undefined;
155
+ name?: string | undefined;
156
156
  quantity?: number | undefined;
157
157
  units?: number | undefined;
158
158
  }[] | undefined;
@@ -4,12 +4,12 @@ export declare const UpdateEdizmDtoZod: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  short_name: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
- name: string;
8
7
  id: number;
8
+ name: string;
9
9
  short_name: string;
10
10
  }, {
11
- name: string;
12
11
  id: number;
12
+ name: string;
13
13
  short_name: string;
14
14
  }>;
15
15
  export type UpdateEdizmDtoZodType = z.infer<typeof UpdateEdizmDtoZod>;