@pksep/zod-shared 0.0.555 → 0.0.557
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 +24 -24
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +18 -18
- package/dist/assemble/schemas/assemble.schema.d.ts +18 -18
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +6 -6
- package/dist/buyer/schemas/buyer.schema.d.ts +2 -2
- package/dist/buyer/schemas/purchases.schema.d.ts +2 -2
- package/dist/cbed/schemas/cbed.schema.d.ts +2 -2
- package/dist/company/schemas/companies.schema.d.ts +2 -2
- package/dist/detal/default-values/default-values.d.ts +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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- 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/issue/dto/up-create-issue.dto.d.ts +49 -0
- package/dist/issue/dto/up-create-issue.dto.js +21 -0
- package/dist/issue/index.d.ts +5 -0
- package/dist/issue/index.js +21 -0
- package/dist/issue/interfaces/interface.d.ts +4 -0
- package/dist/issue/schemas/issue-user-controller.schema.d.ts +15 -0
- package/dist/issue/schemas/issue-user-controller.schema.js +9 -0
- package/dist/issue/schemas/issue-user.schema.d.ts +15 -0
- package/dist/issue/schemas/issue-user.schema.js +9 -0
- package/dist/issue/schemas/issue.schema.d.ts +51 -0
- package/dist/issue/schemas/issue.schema.js +21 -0
- package/dist/library/dto/create-chapter.dto.d.ts +12 -0
- package/dist/library/dto/create-chapter.dto.js +8 -0
- package/dist/library/dto/create-link.dto.d.ts +30 -0
- package/dist/library/dto/create-link.dto.js +14 -0
- package/dist/library/index.d.ts +5 -0
- package/dist/library/index.js +21 -0
- package/dist/library/interfaces/interface.d.ts +3 -0
- package/dist/library/interfaces/interface.js +2 -0
- package/dist/library/schemas/links-user.schema.d.ts +15 -0
- package/dist/library/schemas/links-user.schema.js +9 -0
- package/dist/library/schemas/links.schema.d.ts +30 -0
- package/dist/library/schemas/links.schema.js +14 -0
- 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/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
- package/dist/moving/schemas/moving.schema.d.ts +6 -6
- package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +3 -3
- package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
- package/dist/planning/index.d.ts +1 -0
- package/dist/planning/index.js +17 -0
- package/dist/planning/types/planning.d.ts +187 -0
- package/dist/planning/types/planning.js +25 -0
- package/dist/product/schemas/product-deficit.schema.d.ts +6 -6
- package/dist/production-tasks/dto/update-marks.dto.d.ts +13 -0
- package/dist/production-tasks/dto/update-marks.dto.js +8 -0
- package/dist/production-tasks/dto/update-responsible.dto.d.ts +12 -0
- package/dist/production-tasks/dto/update-responsible.dto.js +8 -0
- package/dist/production-tasks/dto/update-status.dto.d.ts +13 -0
- package/dist/production-tasks/dto/update-status.dto.js +9 -0
- package/dist/production-tasks/interfaces/production-tasks.d.ts +11 -3
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.d.ts +14 -0
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.js +3 -0
- package/dist/role/dto/update-role.dto.d.ts +2 -2
- package/dist/role/schemas/role.schema.d.ts +8 -8
- package/dist/sclad/schemas/remain.schema.d.ts +2 -2
- package/dist/sclad/schemas/remains.schema.d.ts +16 -16
- package/dist/settings/dto/update-edizm.dto.d.ts +2 -2
- package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +18 -18
- package/dist/shipments/dto/up-create-shipments.dto.d.ts +4 -4
- package/dist/shipments/schemas/shipment-list-item.schema.d.ts +12 -12
- package/dist/shipments/schemas/shipments.schema.d.ts +4 -4
- package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +12 -12
- package/dist/shipments/types/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/tech-process/schemas/tech-process-with-options.schema.d.ts +306 -0
- package/dist/tech-process/schemas/tech-process-with-options.schema.js +8 -0
- 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/interface/mat.interface.d.ts +10 -0
- package/dist/utils/interface/mat.interface.js +2 -0
- package/dist/utils/methods.js +4 -2
- package/dist/utils/schemas/schema.d.ts +2 -2
- package/dist/utils/tables-config/enum.d.ts +2 -1
- package/dist/utils/tables-config/enum.js +2 -0
- package/dist/utils/tables-config/tables-array.js +3 -0
- package/dist/utils/types.d.ts +6 -0
- package/package.json +1 -1
- package/dist/material/workpiece-mass.d.ts +0 -45
- package/dist/material/workpiece-mass.js +0 -400
- package/dist/utils/interface/status-flags.interface.d.ts +0 -4
- /package/dist/{utils/interface/status-flags.interface.js → issue/interfaces/interface.js} +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
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
|
+
entityAttention: boolean;
|
|
99
|
+
entityDiscontinued: boolean;
|
|
100
|
+
entityDescription: string;
|
|
101
|
+
numberOrder: string | null;
|
|
102
|
+
orderDate: Date | string | null;
|
|
103
|
+
plannedShipmentDate: Date | string | null;
|
|
104
|
+
warehouseReadinessDate: Date | string | null;
|
|
105
|
+
quantity: number;
|
|
106
|
+
completedQuantity: number;
|
|
107
|
+
remainingQuantity: number;
|
|
108
|
+
status?: string | null;
|
|
109
|
+
stockOrderItemId?: number;
|
|
110
|
+
productionOperationPosId?: number;
|
|
111
|
+
productionTaskDocuments?: PlanningOrderDocument[];
|
|
112
|
+
};
|
|
113
|
+
export type PlanningOrderAccordionDocument = PlanningOrderDocument & {
|
|
114
|
+
coveredQuantity: number;
|
|
115
|
+
};
|
|
116
|
+
export type PlanningOrderAccordionNode = {
|
|
117
|
+
entityId: number;
|
|
118
|
+
entityType: PlanningRecursiveGraphEntityType;
|
|
119
|
+
entityName: string | null;
|
|
120
|
+
entityDesignation: string | null;
|
|
121
|
+
entityAvatar: string | null;
|
|
122
|
+
entityAttention: boolean;
|
|
123
|
+
entityDiscontinued: boolean;
|
|
124
|
+
entityDescription: string;
|
|
125
|
+
isRelative: boolean;
|
|
126
|
+
parentId: number | null;
|
|
127
|
+
parentType: PlanningRecursiveGraphEntityType | null;
|
|
128
|
+
countToNeeds: number | null;
|
|
129
|
+
needDate: Date | string | null;
|
|
130
|
+
sourceDocument: PlanningOrderDocument | null;
|
|
131
|
+
quantity: number;
|
|
132
|
+
stockQuantity: number;
|
|
133
|
+
stockCoveredQuantity: number;
|
|
134
|
+
afterStockQuantity: number;
|
|
135
|
+
stockOrderCoveredQuantity: number;
|
|
136
|
+
deficitQuantity: number;
|
|
137
|
+
isSurplus: boolean;
|
|
138
|
+
isCovered: boolean;
|
|
139
|
+
coverDocuments: PlanningOrderAccordionDocument[];
|
|
140
|
+
children: PlanningOrderAccordionNode[];
|
|
141
|
+
};
|
|
142
|
+
export type PlanningPeggingEntityKey = string;
|
|
143
|
+
export type PlanningPeggingItem = {
|
|
144
|
+
key: PlanningPeggingEntityKey;
|
|
145
|
+
id: number;
|
|
146
|
+
type: PlanningRecursiveGraphEntityType;
|
|
147
|
+
name: string | null;
|
|
148
|
+
designation: string | null;
|
|
149
|
+
avatar: string | null;
|
|
150
|
+
attention: boolean;
|
|
151
|
+
discontinued: boolean;
|
|
152
|
+
description: string;
|
|
153
|
+
stock: number;
|
|
154
|
+
};
|
|
155
|
+
export type PlanningPeggingSpec = {
|
|
156
|
+
parent: PlanningPeggingEntityKey;
|
|
157
|
+
child: PlanningPeggingEntityKey;
|
|
158
|
+
qty: number;
|
|
159
|
+
};
|
|
160
|
+
export type PlanningPeggingPathNode = {
|
|
161
|
+
item: PlanningPeggingEntityKey;
|
|
162
|
+
qty: number;
|
|
163
|
+
stockCov?: number;
|
|
164
|
+
afterStock?: number;
|
|
165
|
+
zsCov?: number;
|
|
166
|
+
deficit?: number;
|
|
167
|
+
isCovered?: boolean;
|
|
168
|
+
cover?: PlanningOrderAccordionDocument[];
|
|
169
|
+
};
|
|
170
|
+
export type PlanningPeggingBranch = {
|
|
171
|
+
branchKey: string;
|
|
172
|
+
qty: number;
|
|
173
|
+
needDate: Date | string | null;
|
|
174
|
+
origin: PlanningOrderDocument;
|
|
175
|
+
path: PlanningPeggingPathNode[];
|
|
176
|
+
surplus?: boolean;
|
|
177
|
+
_self?: boolean;
|
|
178
|
+
stockCov?: number;
|
|
179
|
+
afterStock?: number;
|
|
180
|
+
zsCov?: number;
|
|
181
|
+
deficit?: number;
|
|
182
|
+
cover?: PlanningOrderAccordionDocument[];
|
|
183
|
+
};
|
|
184
|
+
export type PlanningPeggingStockOrder = PlanningOrderDocument & {
|
|
185
|
+
left: number;
|
|
186
|
+
productionTaskDocuments: PlanningOrderDocument[];
|
|
187
|
+
};
|
|
@@ -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
|
-
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;
|
|
@@ -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
|
+
});
|
|
@@ -67,6 +67,7 @@ export interface IGetByOperation {
|
|
|
67
67
|
producitonTaskType: StockOrderType;
|
|
68
68
|
detalIdx: number;
|
|
69
69
|
planReadyTime: Date;
|
|
70
|
+
entityCalculatedCreateTime: Date | null;
|
|
70
71
|
startTime: Date | null;
|
|
71
72
|
metalloworkingId: number;
|
|
72
73
|
assembleId: number;
|
|
@@ -189,13 +190,18 @@ export interface IGetDeficitsDetalByProductionTask {
|
|
|
189
190
|
detalTechProcess: ModelTechProcess;
|
|
190
191
|
productionTimeMetalloworking: ProductionTimeType;
|
|
191
192
|
detalQuantity: number;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
productionTime: number;
|
|
194
|
+
productionTimeCurrent: number;
|
|
195
|
+
productionTimeRemaining: number;
|
|
195
196
|
shipmentByProductionTask: number;
|
|
196
197
|
deficitByDetal: number;
|
|
197
198
|
relativesIds: IRelativeIds;
|
|
198
199
|
}
|
|
200
|
+
export interface IDeficitsDetalProductionTime {
|
|
201
|
+
productionTime: number;
|
|
202
|
+
productionTimeCurrent: number;
|
|
203
|
+
productionTimeRemaining: number;
|
|
204
|
+
}
|
|
199
205
|
export interface IGetActualTaskRelative {
|
|
200
206
|
entityId: number;
|
|
201
207
|
entityType: Neo4jEntityTypes;
|
|
@@ -276,6 +282,7 @@ export interface IGetByEquipment {
|
|
|
276
282
|
operationQuantity: number;
|
|
277
283
|
entityType: IzdType;
|
|
278
284
|
planReadyTime: Date;
|
|
285
|
+
entityCalculatedCreateTime: Date | null;
|
|
279
286
|
operationPosType: StockOrderType;
|
|
280
287
|
productionTaskId: number;
|
|
281
288
|
productionTaskDueData: Date;
|
|
@@ -297,6 +304,7 @@ export interface IGetByUser {
|
|
|
297
304
|
deltaTime: number;
|
|
298
305
|
isHasIncorrectDate: boolean;
|
|
299
306
|
planReadyTime: Date;
|
|
307
|
+
entityCalculatedCreateTime: Date | null;
|
|
300
308
|
assembleTime: number;
|
|
301
309
|
createTimeMax: number;
|
|
302
310
|
metalloworkingTime: number;
|
|
@@ -20,6 +20,7 @@ export declare const OrdersSummaryShipmentZod: z.ZodObject<{
|
|
|
20
20
|
parentPTNumber: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
23
24
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
24
25
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
25
26
|
quantity: z.ZodNumber;
|
|
@@ -31,6 +32,7 @@ export declare const OrdersSummaryShipmentZod: z.ZodObject<{
|
|
|
31
32
|
parentPTNumber: number | null;
|
|
32
33
|
parentPTQuantity: number | null;
|
|
33
34
|
parentPTNeed: number | null;
|
|
35
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
34
36
|
shipmentNumber: string | null;
|
|
35
37
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
36
38
|
}, {
|
|
@@ -40,6 +42,7 @@ export declare const OrdersSummaryShipmentZod: z.ZodObject<{
|
|
|
40
42
|
parentPTNumber: number | null;
|
|
41
43
|
parentPTQuantity: number | null;
|
|
42
44
|
parentPTNeed: number | null;
|
|
45
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
43
46
|
shipmentNumber: string | null;
|
|
44
47
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
45
48
|
}>;
|
|
@@ -73,6 +76,7 @@ export declare const OrdersSummaryDemandRowZod: z.ZodObject<{
|
|
|
73
76
|
parentPTNumber: z.ZodNullable<z.ZodNumber>;
|
|
74
77
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
75
78
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
79
|
+
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
76
80
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
77
81
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
78
82
|
quantityByShipment: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,6 +91,7 @@ export declare const OrdersSummaryDemandRowZod: z.ZodObject<{
|
|
|
87
91
|
parentPTNumber: number | null;
|
|
88
92
|
parentPTQuantity: number | null;
|
|
89
93
|
parentPTNeed: number | null;
|
|
94
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
90
95
|
shipmentNumber: string | null;
|
|
91
96
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
92
97
|
quantityByProductionTask: number;
|
|
@@ -101,6 +106,7 @@ export declare const OrdersSummaryDemandRowZod: z.ZodObject<{
|
|
|
101
106
|
parentPTNumber: number | null;
|
|
102
107
|
parentPTQuantity: number | null;
|
|
103
108
|
parentPTNeed: number | null;
|
|
109
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
104
110
|
shipmentNumber: string | null;
|
|
105
111
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
106
112
|
quantityByProductionTask: number;
|
|
@@ -117,6 +123,7 @@ export declare const OrdersSummaryByEntityRowZod: z.ZodObject<{
|
|
|
117
123
|
parentPTNumber: z.ZodNullable<z.ZodNumber>;
|
|
118
124
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
119
125
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
126
|
+
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
120
127
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
121
128
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
122
129
|
quantityByShipment: z.ZodNullable<z.ZodNumber>;
|
|
@@ -139,6 +146,7 @@ export declare const OrdersSummaryByEntityRowZod: z.ZodObject<{
|
|
|
139
146
|
parentPTNumber: number | null;
|
|
140
147
|
parentPTQuantity: number | null;
|
|
141
148
|
parentPTNeed: number | null;
|
|
149
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
142
150
|
shipmentNumber: string | null;
|
|
143
151
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
144
152
|
stockOrderItemId: number | null;
|
|
@@ -160,6 +168,7 @@ export declare const OrdersSummaryByEntityRowZod: z.ZodObject<{
|
|
|
160
168
|
parentPTNumber: number | null;
|
|
161
169
|
parentPTQuantity: number | null;
|
|
162
170
|
parentPTNeed: number | null;
|
|
171
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
163
172
|
shipmentNumber: string | null;
|
|
164
173
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
165
174
|
stockOrderItemId: number | null;
|
|
@@ -182,6 +191,7 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
182
191
|
parentPTNumber: z.ZodNullable<z.ZodNumber>;
|
|
183
192
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
184
193
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
194
|
+
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
185
195
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
186
196
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
187
197
|
quantityByShipment: z.ZodNullable<z.ZodNumber>;
|
|
@@ -204,6 +214,7 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
204
214
|
parentPTNumber: number | null;
|
|
205
215
|
parentPTQuantity: number | null;
|
|
206
216
|
parentPTNeed: number | null;
|
|
217
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
207
218
|
shipmentNumber: string | null;
|
|
208
219
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
209
220
|
stockOrderItemId: number | null;
|
|
@@ -225,6 +236,7 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
225
236
|
parentPTNumber: number | null;
|
|
226
237
|
parentPTQuantity: number | null;
|
|
227
238
|
parentPTNeed: number | null;
|
|
239
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
228
240
|
shipmentNumber: string | null;
|
|
229
241
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
230
242
|
stockOrderItemId: number | null;
|
|
@@ -253,6 +265,7 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
253
265
|
parentPTNumber: number | null;
|
|
254
266
|
parentPTQuantity: number | null;
|
|
255
267
|
parentPTNeed: number | null;
|
|
268
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
256
269
|
shipmentNumber: string | null;
|
|
257
270
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
258
271
|
stockOrderItemId: number | null;
|
|
@@ -281,6 +294,7 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
281
294
|
parentPTNumber: number | null;
|
|
282
295
|
parentPTQuantity: number | null;
|
|
283
296
|
parentPTNeed: number | null;
|
|
297
|
+
parentWarehouseReadinessDate: string | Date | null;
|
|
284
298
|
shipmentNumber: string | null;
|
|
285
299
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
286
300
|
stockOrderItemId: number | null;
|
|
@@ -14,6 +14,7 @@ exports.OrdersSummaryShipmentZod = zod_1.z.object({
|
|
|
14
14
|
parentPTNumber: zod_1.z.number().nullable(),
|
|
15
15
|
parentPTQuantity: zod_1.z.number().nullable(),
|
|
16
16
|
parentPTNeed: zod_1.z.number().nullable(),
|
|
17
|
+
parentWarehouseReadinessDate: OrdersSummaryDateZod,
|
|
17
18
|
shipmentNumber: zod_1.z.string().nullable(),
|
|
18
19
|
shipmentWarehouseReadinessDate: OrdersSummaryDateZod,
|
|
19
20
|
quantity: zod_1.z.number(),
|
|
@@ -35,6 +36,7 @@ exports.OrdersSummaryDemandRowZod = zod_1.z.object({
|
|
|
35
36
|
parentPTNumber: zod_1.z.number().nullable(),
|
|
36
37
|
parentPTQuantity: zod_1.z.number().nullable(),
|
|
37
38
|
parentPTNeed: zod_1.z.number().nullable(),
|
|
39
|
+
parentWarehouseReadinessDate: OrdersSummaryDateZod,
|
|
38
40
|
shipmentNumber: zod_1.z.string().nullable(),
|
|
39
41
|
shipmentWarehouseReadinessDate: OrdersSummaryDateZod,
|
|
40
42
|
quantityByShipment: zod_1.z.number().nullable(),
|
|
@@ -51,6 +53,7 @@ exports.OrdersSummaryByEntityRowZod = zod_1.z.object({
|
|
|
51
53
|
parentPTNumber: zod_1.z.number().nullable(),
|
|
52
54
|
parentPTQuantity: zod_1.z.number().nullable(),
|
|
53
55
|
parentPTNeed: zod_1.z.number().nullable(),
|
|
56
|
+
parentWarehouseReadinessDate: OrdersSummaryDateZod,
|
|
54
57
|
shipmentNumber: zod_1.z.string().nullable(),
|
|
55
58
|
shipmentWarehouseReadinessDate: OrdersSummaryDateZod,
|
|
56
59
|
quantityByShipment: zod_1.z.number().nullable(),
|
|
@@ -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;
|