@pksep/zod-shared 0.0.526 → 0.0.527
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/dto/actions-by-param.dto.d.ts +2 -2
- package/dist/action/schemas/actions.schema.d.ts +18 -18
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +81 -81
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +68 -68
- package/dist/assemble/schemas/assemble.schema.d.ts +62 -62
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +13 -13
- package/dist/buyer/schemas/buyer.schema.d.ts +1 -1
- package/dist/cbed/dto/cbed-pagination.dto.d.ts +1 -1
- package/dist/cbed/dto/get-one-cbed-dto.d.ts +2 -2
- package/dist/cbed/dto/up-create-cbed.dto.d.ts +6 -6
- package/dist/cbed/schemas/cbed-material.schema.d.ts +2 -2
- package/dist/cbed/schemas/cbed.schema.d.ts +21 -21
- package/dist/company/dto/create-company.dto.d.ts +10 -10
- package/dist/company/dto/update-company.dto.d.ts +10 -10
- package/dist/company/schemas/companies.schema.d.ts +4 -4
- package/dist/contact/dto/create-contact.dto.d.ts +6 -6
- package/dist/contact/dto/update-contact.dto.d.ts +6 -6
- package/dist/contact/schemas/contact.schema.d.ts +3 -3
- package/dist/deliveries/dto/create-deliveries.dto.d.ts +3 -3
- package/dist/deliveries/schemas/deliveries-inventary.schema.d.ts +2 -2
- package/dist/deliveries/schemas/deliveries.schema.d.ts +4 -4
- package/dist/detal/dto/detal-pagination.dto.d.ts +2 -2
- package/dist/detal/dto/get-one-detal-dto.d.ts +1 -1
- package/dist/detal/dto/update-detal.dto.d.ts +9 -9
- package/dist/detal/schemas/detal-deficit.schema.d.ts +203 -203
- package/dist/detal/schemas/detal.schema.d.ts +200 -200
- package/dist/document/schemas/documentsSchema.d.ts +4 -4
- package/dist/equipment/dto/create-equipment.dto.d.ts +1 -1
- package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
- package/dist/equipment/schemas/equipment.schema.d.ts +93 -93
- package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +2 -2
- package/dist/expenditure/schema/expenditure.schema.d.ts +2 -2
- package/dist/instrument/dto/create-name-instrument.dto.d.ts +1 -1
- package/dist/instrument/dto/update-name-instrument.dto.d.ts +2 -2
- package/dist/inventary/dto/create-inventary.dto.d.ts +1 -1
- package/dist/marks/dto/change-mark-quantity.dto.d.ts +16 -16
- package/dist/marks/dto/create-mark.dto.d.ts +8 -8
- package/dist/marks/dto/update-mark.dto.d.ts +2 -2
- package/dist/marks/schemas/marks.schema.d.ts +8 -8
- package/dist/marks/type/type.d.ts +2 -2
- package/dist/material/dto/create-material.dto.d.ts +20 -20
- package/dist/material/schemas/material-characteristics.schema.d.ts +6 -6
- package/dist/material/schemas/material.schema.d.ts +26 -26
- package/dist/metaloworking/schemas/metaloworking-by-operation.schema.d.ts +4 -4
- package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
- package/dist/movement-error/schemas/movement-error.schema.d.ts +2 -2
- package/dist/moving/schemas/moving.schema.d.ts +453 -453
- package/dist/operations/dto/create-type-operation.dto.d.ts +2 -2
- package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +16 -0
- package/dist/operations/dto/get-type-operation-by-id.dto.js +14 -0
- package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
- package/dist/operations/enums/enums.d.ts +5 -0
- package/dist/operations/enums/enums.js +7 -1
- package/dist/operations/index.d.ts +1 -0
- package/dist/operations/index.js +1 -0
- package/dist/operations/schemas/operation.schema.d.ts +17 -17
- package/dist/product/dto/up-create-product.dto.d.ts +7 -7
- package/dist/product/schemas/product-deficit.schema.d.ts +20 -20
- package/dist/product/schemas/product-material.schema.d.ts +2 -2
- package/dist/product/schemas/product-specification.schema.d.ts +2 -2
- package/dist/product/schemas/product.schema.d.ts +17 -17
- package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +2 -2
- package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +2 -2
- package/dist/production-tasks/schemas/operation-positions.schema.d.ts +4 -4
- package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +4 -4
- package/dist/provider/dto/create-provider.dto.d.ts +4 -4
- package/dist/provider/schemas/provider.schema.d.ts +1 -1
- package/dist/role/schemas/role.schema.d.ts +446 -446
- package/dist/sclad/schemas/remain.schema.d.ts +2 -2
- package/dist/sclad/schemas/remains.schema.d.ts +6 -6
- package/dist/shipments/dto/get-attributes.dto.d.ts +2 -2
- package/dist/shipments/dto/shipments-list-pagination.dto.d.ts +1 -1
- package/dist/shipments/dto/shipments-paginate.dto.d.ts +2 -2
- package/dist/shipments/schemas/sh-complit.schema.d.ts +2 -2
- package/dist/shipments/schemas/shipments.schema.d.ts +2 -2
- package/dist/specification/dto/specification-attributes.dto.d.ts +1 -1
- package/dist/specification/schema/attributes.schema.d.ts +472 -472
- package/dist/stock-order/schemas/stock-order-item.schema.d.ts +2 -2
- package/dist/tech-process/schemas/tech-process.schema.d.ts +26 -26
- package/dist/thread/dto/add-thread.dto.d.ts +8 -8
- package/dist/user/dto/create-user.dto.d.ts +5 -5
- package/dist/user/dto/get-one-user.dto.d.ts +2 -2
- package/dist/user/schemas/user.schema.d.ts +261 -261
- package/dist/waybill/schemas/waybill-product.schema.d.ts +8 -8
- package/dist/waybill/schemas/waybill.schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -25,12 +25,12 @@ export declare const CreateTypeOperationSchema: z.ZodObject<{
|
|
|
25
25
|
cpu: boolean;
|
|
26
26
|
square: boolean;
|
|
27
27
|
list: boolean;
|
|
28
|
+
workStartCalcType: WorkStartCalcType;
|
|
28
29
|
equipmentIds: number[] | null;
|
|
29
30
|
assembly: boolean;
|
|
30
31
|
sclad: boolean;
|
|
31
32
|
preTimeMinute: number;
|
|
32
33
|
helperTimeMinute: number;
|
|
33
|
-
workStartCalcType: WorkStartCalcType;
|
|
34
34
|
users?: number[] | null | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
metaloworking: boolean;
|
|
@@ -46,7 +46,7 @@ export declare const CreateTypeOperationSchema: z.ZodObject<{
|
|
|
46
46
|
preTimeMinute: number;
|
|
47
47
|
helperTimeMinute: number;
|
|
48
48
|
users?: number[] | null | undefined;
|
|
49
|
-
equipmentIds?: number[] | null | undefined;
|
|
50
49
|
workStartCalcType?: WorkStartCalcType | undefined;
|
|
50
|
+
equipmentIds?: number[] | null | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
export type CreateTypeOperationDto = z.infer<typeof CreateTypeOperationSchema>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { ModelIncludeForTypeOperation } from '../enums/enums';
|
|
3
|
+
export declare const GetTypeOperationByIdDtoZod: z.ZodObject<{
|
|
4
|
+
id: z.ZodNumber;
|
|
5
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodEnum<["id", "name", "preTime", "helperTime", "mainTime", "cpu", "square", "list", "workStartCalcType", "countWorking"]>, "many">>;
|
|
6
|
+
modelInclude: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ModelIncludeForTypeOperation>, "many">>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
id: number;
|
|
9
|
+
attributes?: ("id" | "name" | "preTime" | "helperTime" | "mainTime" | "cpu" | "square" | "list" | "workStartCalcType" | "countWorking")[] | undefined;
|
|
10
|
+
modelInclude?: ModelIncludeForTypeOperation[] | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
id: number;
|
|
13
|
+
attributes?: ("id" | "name" | "preTime" | "helperTime" | "mainTime" | "cpu" | "square" | "list" | "workStartCalcType" | "countWorking")[] | undefined;
|
|
14
|
+
modelInclude?: ModelIncludeForTypeOperation[] | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export type GetTypeOperationByIdDtoType = z.TypeOf<typeof GetTypeOperationByIdDtoZod>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GetTypeOperationByIdDtoZod = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const enums_1 = require("../enums/enums");
|
|
9
|
+
const type_operation_schema_1 = require("../schemas/type-operation.schema");
|
|
10
|
+
exports.GetTypeOperationByIdDtoZod = zod_1.default.object({
|
|
11
|
+
id: zod_1.default.number().int().nonnegative(),
|
|
12
|
+
attributes: zod_1.default.array(type_operation_schema_1.TypeOperationSchema.keyof()).optional(),
|
|
13
|
+
modelInclude: zod_1.default.array(zod_1.default.nativeEnum(enums_1.ModelIncludeForTypeOperation)).optional()
|
|
14
|
+
});
|
|
@@ -27,12 +27,12 @@ export declare const UpdateTypeOperationSchema: z.ZodObject<{
|
|
|
27
27
|
cpu: boolean;
|
|
28
28
|
square: boolean;
|
|
29
29
|
list: boolean;
|
|
30
|
+
workStartCalcType: WorkStartCalcType;
|
|
30
31
|
equipmentIds: number[] | null;
|
|
31
32
|
assembly: boolean;
|
|
32
33
|
sclad: boolean;
|
|
33
34
|
preTimeMinute: number;
|
|
34
35
|
helperTimeMinute: number;
|
|
35
|
-
workStartCalcType: WorkStartCalcType;
|
|
36
36
|
users?: any;
|
|
37
37
|
}, {
|
|
38
38
|
metaloworking: boolean;
|
|
@@ -49,7 +49,7 @@ export declare const UpdateTypeOperationSchema: z.ZodObject<{
|
|
|
49
49
|
preTimeMinute: number;
|
|
50
50
|
helperTimeMinute: number;
|
|
51
51
|
users?: any;
|
|
52
|
-
equipmentIds?: number[] | null | undefined;
|
|
53
52
|
workStartCalcType?: WorkStartCalcType | undefined;
|
|
53
|
+
equipmentIds?: number[] | null | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export type UpdateTypeOperationDto = z.infer<typeof UpdateTypeOperationSchema>;
|
|
@@ -5,3 +5,8 @@ export declare enum WorkStartCalcType {
|
|
|
5
5
|
prevOperationReadinessDate = "prevOperationReadinessDate",
|
|
6
6
|
nextOperationWorkStart = "nextOperationWorkStart"
|
|
7
7
|
}
|
|
8
|
+
export declare enum ModelIncludeForTypeOperation {
|
|
9
|
+
operation = "operation",
|
|
10
|
+
user = "user",
|
|
11
|
+
equipments = "equipment"
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkStartCalcType = void 0;
|
|
3
|
+
exports.ModelIncludeForTypeOperation = exports.WorkStartCalcType = void 0;
|
|
4
4
|
var WorkStartCalcType;
|
|
5
5
|
(function (WorkStartCalcType) {
|
|
6
6
|
WorkStartCalcType["automatic"] = "automatic";
|
|
@@ -9,3 +9,9 @@ var WorkStartCalcType;
|
|
|
9
9
|
WorkStartCalcType["prevOperationReadinessDate"] = "prevOperationReadinessDate";
|
|
10
10
|
WorkStartCalcType["nextOperationWorkStart"] = "nextOperationWorkStart";
|
|
11
11
|
})(WorkStartCalcType || (exports.WorkStartCalcType = WorkStartCalcType = {}));
|
|
12
|
+
var ModelIncludeForTypeOperation;
|
|
13
|
+
(function (ModelIncludeForTypeOperation) {
|
|
14
|
+
ModelIncludeForTypeOperation["operation"] = "operation";
|
|
15
|
+
ModelIncludeForTypeOperation["user"] = "user";
|
|
16
|
+
ModelIncludeForTypeOperation["equipments"] = "equipment";
|
|
17
|
+
})(ModelIncludeForTypeOperation || (exports.ModelIncludeForTypeOperation = ModelIncludeForTypeOperation = {}));
|
package/dist/operations/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dto/get-type-operation-by-id.dto"), exports);
|
|
17
18
|
__exportStar(require("./dto/create-type-operation.dto"), exports);
|
|
18
19
|
__exportStar(require("./dto/up-create-tech-process.dto"), exports);
|
|
19
20
|
__exportStar(require("./dto/update-create-operation.dto"), exports);
|
|
@@ -60,15 +60,15 @@ export declare const OperationSchema: z.ZodObject<{
|
|
|
60
60
|
status: import("../../marks").MarkStatusEnums;
|
|
61
61
|
ban: boolean;
|
|
62
62
|
id: number;
|
|
63
|
+
assemble_id: number;
|
|
64
|
+
user_id: number;
|
|
65
|
+
metaloworking_id: number;
|
|
66
|
+
production_task_id: number | null;
|
|
63
67
|
date_build: string;
|
|
64
68
|
kol: number;
|
|
65
|
-
user_id: number;
|
|
66
69
|
oper_id: number;
|
|
67
|
-
assemble_id: number;
|
|
68
|
-
metaloworking_id: number;
|
|
69
70
|
brak: boolean;
|
|
70
71
|
execution_time: number;
|
|
71
|
-
production_task_id: number | null;
|
|
72
72
|
quantity_shipped: number;
|
|
73
73
|
description?: string | undefined;
|
|
74
74
|
assemble_kit_id?: number | null | undefined;
|
|
@@ -81,15 +81,15 @@ export declare const OperationSchema: z.ZodObject<{
|
|
|
81
81
|
status: import("../../marks").MarkStatusEnums;
|
|
82
82
|
ban: boolean;
|
|
83
83
|
id: number;
|
|
84
|
+
assemble_id: number;
|
|
85
|
+
user_id: number;
|
|
86
|
+
metaloworking_id: number;
|
|
87
|
+
production_task_id: number | null;
|
|
84
88
|
date_build: string;
|
|
85
89
|
kol: number;
|
|
86
|
-
user_id: number;
|
|
87
90
|
oper_id: number;
|
|
88
|
-
assemble_id: number;
|
|
89
|
-
metaloworking_id: number;
|
|
90
91
|
brak: boolean;
|
|
91
92
|
execution_time: number;
|
|
92
|
-
production_task_id: number | null;
|
|
93
93
|
quantity_shipped: number;
|
|
94
94
|
description?: string | undefined;
|
|
95
95
|
assemble_kit_id?: number | null | undefined;
|
|
@@ -108,6 +108,7 @@ export declare const OperationSchema: z.ZodObject<{
|
|
|
108
108
|
helperTime: number;
|
|
109
109
|
mainTime: number;
|
|
110
110
|
workStartCalcType: WorkStartCalcType;
|
|
111
|
+
tech_process_id: number;
|
|
111
112
|
generalCountTime: string;
|
|
112
113
|
instrumentList: string;
|
|
113
114
|
instrumentMerList: string;
|
|
@@ -119,21 +120,20 @@ export declare const OperationSchema: z.ZodObject<{
|
|
|
119
120
|
eqID: number | null;
|
|
120
121
|
idx: number;
|
|
121
122
|
tOperationId: number | null;
|
|
122
|
-
tech_process_id: number;
|
|
123
123
|
id?: number | undefined;
|
|
124
124
|
marks?: {
|
|
125
125
|
status: import("../../marks").MarkStatusEnums;
|
|
126
126
|
ban: boolean;
|
|
127
127
|
id: number;
|
|
128
|
+
assemble_id: number;
|
|
129
|
+
user_id: number;
|
|
130
|
+
metaloworking_id: number;
|
|
131
|
+
production_task_id: number | null;
|
|
128
132
|
date_build: string;
|
|
129
133
|
kol: number;
|
|
130
|
-
user_id: number;
|
|
131
134
|
oper_id: number;
|
|
132
|
-
assemble_id: number;
|
|
133
|
-
metaloworking_id: number;
|
|
134
135
|
brak: boolean;
|
|
135
136
|
execution_time: number;
|
|
136
|
-
production_task_id: number | null;
|
|
137
137
|
quantity_shipped: number;
|
|
138
138
|
description?: string | undefined;
|
|
139
139
|
assemble_kit_id?: number | null | undefined;
|
|
@@ -154,15 +154,15 @@ export declare const OperationSchema: z.ZodObject<{
|
|
|
154
154
|
status: import("../../marks").MarkStatusEnums;
|
|
155
155
|
ban: boolean;
|
|
156
156
|
id: number;
|
|
157
|
+
assemble_id: number;
|
|
158
|
+
user_id: number;
|
|
159
|
+
metaloworking_id: number;
|
|
160
|
+
production_task_id: number | null;
|
|
157
161
|
date_build: string;
|
|
158
162
|
kol: number;
|
|
159
|
-
user_id: number;
|
|
160
163
|
oper_id: number;
|
|
161
|
-
assemble_id: number;
|
|
162
|
-
metaloworking_id: number;
|
|
163
164
|
brak: boolean;
|
|
164
165
|
execution_time: number;
|
|
165
|
-
production_task_id: number | null;
|
|
166
166
|
quantity_shipped: number;
|
|
167
167
|
description?: string | undefined;
|
|
168
168
|
assemble_kit_id?: number | null | undefined;
|
|
@@ -24,9 +24,9 @@ export declare const UpCreateProductDtoZod: z.ZodObject<{
|
|
|
24
24
|
designation: string;
|
|
25
25
|
description: string;
|
|
26
26
|
name: string;
|
|
27
|
-
materialList: EntityCommonSpecificationArray;
|
|
28
27
|
parametrs: productParametrsField;
|
|
29
28
|
characteristic: productCharacteristicField;
|
|
29
|
+
materialList: EntityCommonSpecificationArray;
|
|
30
30
|
listPokDet: EntityCommonSpecificationArray;
|
|
31
31
|
listCbed: EntityCommonSpecificationArray;
|
|
32
32
|
listDetal: EntityCommonSpecificationArray;
|
|
@@ -34,11 +34,11 @@ export declare const UpCreateProductDtoZod: z.ZodObject<{
|
|
|
34
34
|
responsible: string;
|
|
35
35
|
techProcessID: string;
|
|
36
36
|
id?: number | null | undefined;
|
|
37
|
-
docs?: any;
|
|
38
37
|
attention?: boolean | undefined;
|
|
39
|
-
fileBase?: any;
|
|
40
38
|
discontinued?: boolean | undefined;
|
|
41
39
|
is_custom?: string | undefined;
|
|
40
|
+
docs?: any;
|
|
41
|
+
fileBase?: any;
|
|
42
42
|
}, {
|
|
43
43
|
designation: string;
|
|
44
44
|
description: string;
|
|
@@ -47,16 +47,16 @@ export declare const UpCreateProductDtoZod: z.ZodObject<{
|
|
|
47
47
|
responsible: string;
|
|
48
48
|
techProcessID: string;
|
|
49
49
|
id?: unknown;
|
|
50
|
-
docs?: any;
|
|
51
|
-
attention?: unknown;
|
|
52
|
-
materialList?: unknown;
|
|
53
|
-
fileBase?: any;
|
|
54
50
|
parametrs?: unknown;
|
|
55
51
|
characteristic?: unknown;
|
|
52
|
+
materialList?: unknown;
|
|
56
53
|
listPokDet?: unknown;
|
|
57
54
|
listCbed?: unknown;
|
|
58
55
|
listDetal?: unknown;
|
|
56
|
+
attention?: unknown;
|
|
59
57
|
discontinued?: unknown;
|
|
60
58
|
is_custom?: string | undefined;
|
|
59
|
+
docs?: any;
|
|
60
|
+
fileBase?: any;
|
|
61
61
|
}>;
|
|
62
62
|
export type UpCreateProductDtoZodType = z.infer<typeof UpCreateProductDtoZod>;
|
|
@@ -70,10 +70,10 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
70
70
|
ban?: boolean | undefined;
|
|
71
71
|
description?: string | null | undefined;
|
|
72
72
|
contacts?: string | null | undefined;
|
|
73
|
+
attention?: boolean | undefined;
|
|
73
74
|
inn?: string | null | undefined;
|
|
74
75
|
cpp?: string | null | undefined;
|
|
75
76
|
rekvisit?: string | null | undefined;
|
|
76
|
-
attention?: boolean | undefined;
|
|
77
77
|
purchasesId?: number | undefined;
|
|
78
78
|
}>>;
|
|
79
79
|
status: z.ZodDefault<z.ZodString>;
|
|
@@ -130,10 +130,10 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
130
130
|
ban?: boolean | undefined;
|
|
131
131
|
description?: string | null | undefined;
|
|
132
132
|
contacts?: string | null | undefined;
|
|
133
|
+
attention?: boolean | undefined;
|
|
133
134
|
inn?: string | null | undefined;
|
|
134
135
|
cpp?: string | null | undefined;
|
|
135
136
|
rekvisit?: string | null | undefined;
|
|
136
|
-
attention?: boolean | undefined;
|
|
137
137
|
purchasesId?: number | undefined;
|
|
138
138
|
} | undefined;
|
|
139
139
|
company_id?: number | undefined;
|
|
@@ -178,30 +178,30 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
178
178
|
designation: string | null;
|
|
179
179
|
description: string | null;
|
|
180
180
|
name: string;
|
|
181
|
-
attention: boolean;
|
|
182
|
-
materialList: import("../..").EntityCommonSpecificationArray;
|
|
183
|
-
quantity: number;
|
|
184
|
-
shipments_kolvo: number;
|
|
185
|
-
min_remaining: number;
|
|
186
|
-
responsibleId: number | null;
|
|
187
181
|
calculate_needs_time: Date | null;
|
|
182
|
+
min_remaining: number;
|
|
183
|
+
quantity: number;
|
|
188
184
|
deficit: number;
|
|
189
|
-
|
|
185
|
+
shipments_kolvo: number;
|
|
190
186
|
production_ordered: number;
|
|
187
|
+
shipments_deficit: number;
|
|
191
188
|
ava_path: string | null;
|
|
192
189
|
parametrs: import("../..").CbedVariableField[];
|
|
193
190
|
characteristic: import("../..").CbedVariableField[];
|
|
194
|
-
|
|
191
|
+
materialList: import("../..").EntityCommonSpecificationArray;
|
|
195
192
|
listPokDet: import("../..").EntityCommonSpecificationArray;
|
|
196
193
|
listCbed: import("../..").EntityCommonSpecificationArray;
|
|
197
194
|
listDetal: import("../..").EntityCommonSpecificationArray;
|
|
195
|
+
attention: boolean;
|
|
196
|
+
in_kit: number;
|
|
197
|
+
responsibleId: number | null;
|
|
198
198
|
articl: string | null;
|
|
199
199
|
is_custom: boolean;
|
|
200
200
|
myQuantity: number;
|
|
201
201
|
id?: number | null | undefined;
|
|
202
|
-
production_time_metalloworking?: import("../..").ProductionTimeType | null | undefined;
|
|
203
202
|
discontinued?: boolean | undefined;
|
|
204
203
|
production_time_assemble?: import("../..").ProductionTimeType | null | undefined;
|
|
204
|
+
production_time_metalloworking?: import("../..").ProductionTimeType | null | undefined;
|
|
205
205
|
}, {
|
|
206
206
|
shipment: {
|
|
207
207
|
description: string;
|
|
@@ -223,10 +223,10 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
223
223
|
ban?: boolean | undefined;
|
|
224
224
|
description?: string | null | undefined;
|
|
225
225
|
contacts?: string | null | undefined;
|
|
226
|
+
attention?: boolean | undefined;
|
|
226
227
|
inn?: string | null | undefined;
|
|
227
228
|
cpp?: string | null | undefined;
|
|
228
229
|
rekvisit?: string | null | undefined;
|
|
229
|
-
attention?: boolean | undefined;
|
|
230
230
|
purchasesId?: number | undefined;
|
|
231
231
|
} | undefined;
|
|
232
232
|
company_id?: number | undefined;
|
|
@@ -237,30 +237,30 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
237
237
|
designation: string | null;
|
|
238
238
|
description: string | null;
|
|
239
239
|
name: string;
|
|
240
|
-
materialList: import("../..").EntityCommonSpecificationArray;
|
|
241
|
-
responsibleId: number | null;
|
|
242
240
|
ava_path: string | null;
|
|
241
|
+
materialList: import("../..").EntityCommonSpecificationArray;
|
|
243
242
|
listPokDet: import("../..").EntityCommonSpecificationArray;
|
|
244
243
|
listCbed: import("../..").EntityCommonSpecificationArray;
|
|
245
244
|
listDetal: import("../..").EntityCommonSpecificationArray;
|
|
245
|
+
responsibleId: number | null;
|
|
246
246
|
articl: string | null;
|
|
247
247
|
myQuantity: number;
|
|
248
248
|
ban?: boolean | undefined;
|
|
249
249
|
id?: number | null | undefined;
|
|
250
|
-
attention?: boolean | undefined;
|
|
251
|
-
quantity?: number | undefined;
|
|
252
|
-
shipments_kolvo?: number | undefined;
|
|
253
|
-
min_remaining?: number | undefined;
|
|
254
250
|
calculate_needs_time?: Date | null | undefined;
|
|
251
|
+
min_remaining?: number | undefined;
|
|
252
|
+
quantity?: number | undefined;
|
|
255
253
|
deficit?: number | undefined;
|
|
256
|
-
|
|
254
|
+
shipments_kolvo?: number | undefined;
|
|
257
255
|
production_ordered?: number | undefined;
|
|
258
|
-
|
|
256
|
+
shipments_deficit?: number | undefined;
|
|
259
257
|
parametrs?: import("../..").CbedVariableField[] | undefined;
|
|
260
258
|
characteristic?: import("../..").CbedVariableField[] | undefined;
|
|
259
|
+
attention?: boolean | undefined;
|
|
261
260
|
in_kit?: number | undefined;
|
|
262
261
|
discontinued?: boolean | undefined;
|
|
263
262
|
production_time_assemble?: import("../..").ProductionTimeType | null | undefined;
|
|
263
|
+
production_time_metalloworking?: import("../..").ProductionTimeType | null | undefined;
|
|
264
264
|
is_custom?: boolean | undefined;
|
|
265
265
|
}>;
|
|
266
266
|
export type ModelProductDeficit = z.infer<typeof ProductDeficitSchema>;
|
|
@@ -4,12 +4,12 @@ declare const ProductMaterialSchema: z.ZodObject<{
|
|
|
4
4
|
product_id: z.ZodNumber;
|
|
5
5
|
materialId: z.ZodNumber;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
materialId: number;
|
|
8
7
|
product_id: number;
|
|
8
|
+
materialId: number;
|
|
9
9
|
id?: number | null | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
materialId: number;
|
|
12
11
|
product_id: number;
|
|
12
|
+
materialId: number;
|
|
13
13
|
id?: number | null | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export type ModelProductMaterial = z.infer<typeof ProductMaterialSchema>;
|
|
@@ -6,14 +6,14 @@ export declare const ProductSpecificationSchema: z.ZodObject<{
|
|
|
6
6
|
detals: z.ZodType<IProductSpecification[], z.ZodTypeDef, IProductSpecification[]>;
|
|
7
7
|
materials: z.ZodType<IProductSpecification[], z.ZodTypeDef, IProductSpecification[]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
cbeds: IProductSpecification[];
|
|
9
10
|
productId: number;
|
|
10
11
|
materials: IProductSpecification[];
|
|
11
|
-
cbeds: IProductSpecification[];
|
|
12
12
|
detals: IProductSpecification[];
|
|
13
13
|
}, {
|
|
14
|
+
cbeds: IProductSpecification[];
|
|
14
15
|
productId: number;
|
|
15
16
|
materials: IProductSpecification[];
|
|
16
|
-
cbeds: IProductSpecification[];
|
|
17
17
|
detals: IProductSpecification[];
|
|
18
18
|
}>;
|
|
19
19
|
export type ModelProductSpecification = z.infer<typeof ProductSpecificationSchema>;
|
|
@@ -44,56 +44,56 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
44
44
|
designation: string | null;
|
|
45
45
|
description: string | null;
|
|
46
46
|
name: string;
|
|
47
|
-
attention: boolean;
|
|
48
|
-
materialList: EntityCommonSpecificationArray;
|
|
49
|
-
quantity: number;
|
|
50
|
-
shipments_kolvo: number;
|
|
51
|
-
min_remaining: number;
|
|
52
|
-
responsibleId: number | null;
|
|
53
47
|
calculate_needs_time: Date | null;
|
|
48
|
+
min_remaining: number;
|
|
49
|
+
quantity: number;
|
|
54
50
|
deficit: number;
|
|
55
|
-
|
|
51
|
+
shipments_kolvo: number;
|
|
56
52
|
production_ordered: number;
|
|
53
|
+
shipments_deficit: number;
|
|
57
54
|
ava_path: string | null;
|
|
58
55
|
parametrs: CbedVariableField[];
|
|
59
56
|
characteristic: CbedVariableField[];
|
|
60
|
-
|
|
57
|
+
materialList: EntityCommonSpecificationArray;
|
|
61
58
|
listPokDet: EntityCommonSpecificationArray;
|
|
62
59
|
listCbed: EntityCommonSpecificationArray;
|
|
63
60
|
listDetal: EntityCommonSpecificationArray;
|
|
61
|
+
attention: boolean;
|
|
62
|
+
in_kit: number;
|
|
63
|
+
responsibleId: number | null;
|
|
64
64
|
articl: string | null;
|
|
65
65
|
is_custom: boolean;
|
|
66
66
|
id?: number | null | undefined;
|
|
67
|
-
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
68
67
|
discontinued?: boolean | undefined;
|
|
69
68
|
production_time_assemble?: ProductionTimeType | null | undefined;
|
|
69
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
designation: string | null;
|
|
72
72
|
description: string | null;
|
|
73
73
|
name: string;
|
|
74
|
-
materialList: EntityCommonSpecificationArray;
|
|
75
|
-
responsibleId: number | null;
|
|
76
74
|
ava_path: string | null;
|
|
75
|
+
materialList: EntityCommonSpecificationArray;
|
|
77
76
|
listPokDet: EntityCommonSpecificationArray;
|
|
78
77
|
listCbed: EntityCommonSpecificationArray;
|
|
79
78
|
listDetal: EntityCommonSpecificationArray;
|
|
79
|
+
responsibleId: number | null;
|
|
80
80
|
articl: string | null;
|
|
81
81
|
ban?: boolean | undefined;
|
|
82
82
|
id?: number | null | undefined;
|
|
83
|
-
attention?: boolean | undefined;
|
|
84
|
-
quantity?: number | undefined;
|
|
85
|
-
shipments_kolvo?: number | undefined;
|
|
86
|
-
min_remaining?: number | undefined;
|
|
87
83
|
calculate_needs_time?: Date | null | undefined;
|
|
84
|
+
min_remaining?: number | undefined;
|
|
85
|
+
quantity?: number | undefined;
|
|
88
86
|
deficit?: number | undefined;
|
|
89
|
-
|
|
87
|
+
shipments_kolvo?: number | undefined;
|
|
90
88
|
production_ordered?: number | undefined;
|
|
91
|
-
|
|
89
|
+
shipments_deficit?: number | undefined;
|
|
92
90
|
parametrs?: CbedVariableField[] | undefined;
|
|
93
91
|
characteristic?: CbedVariableField[] | undefined;
|
|
92
|
+
attention?: boolean | undefined;
|
|
94
93
|
in_kit?: number | undefined;
|
|
95
94
|
discontinued?: boolean | undefined;
|
|
96
95
|
production_time_assemble?: ProductionTimeType | null | undefined;
|
|
96
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
97
97
|
is_custom?: boolean | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
export type ModelProduct = z.infer<typeof ProductSchema> & {
|
|
@@ -23,8 +23,8 @@ export declare const CreateProductionOperationPosZod: z.ZodObject<{
|
|
|
23
23
|
}>, "many">;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
type: StockOrderType;
|
|
26
|
-
production_task_id: number;
|
|
27
26
|
quantity: number;
|
|
27
|
+
production_task_id: number;
|
|
28
28
|
idx: number;
|
|
29
29
|
operation_positions: {
|
|
30
30
|
operationId: number;
|
|
@@ -36,8 +36,8 @@ export declare const CreateProductionOperationPosZod: z.ZodObject<{
|
|
|
36
36
|
metall_id?: number | null | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
type: StockOrderType;
|
|
39
|
-
production_task_id: number;
|
|
40
39
|
quantity: number;
|
|
40
|
+
production_task_id: number;
|
|
41
41
|
idx: number;
|
|
42
42
|
operation_positions: {
|
|
43
43
|
operationId: number;
|
|
@@ -23,8 +23,8 @@ export declare const WorkloadByEntityDtoZod: z.ZodObject<{
|
|
|
23
23
|
};
|
|
24
24
|
entityType: StockOrderType;
|
|
25
25
|
userId?: number | null | undefined;
|
|
26
|
-
equipmentId?: number | null | undefined;
|
|
27
26
|
subdivision?: import("../../user").EnumSubdivision | null | undefined;
|
|
27
|
+
equipmentId?: number | null | undefined;
|
|
28
28
|
typeOperationId?: number | null | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
range: {
|
|
@@ -33,8 +33,8 @@ export declare const WorkloadByEntityDtoZod: z.ZodObject<{
|
|
|
33
33
|
};
|
|
34
34
|
entityType: StockOrderType;
|
|
35
35
|
userId?: number | null | undefined;
|
|
36
|
-
equipmentId?: number | null | undefined;
|
|
37
36
|
subdivision?: import("../../user").EnumSubdivision | null | undefined;
|
|
37
|
+
equipmentId?: number | null | undefined;
|
|
38
38
|
typeOperationId?: number | null | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
export type WorkloadByEntityDtoZodType = z.infer<typeof WorkloadByEntityDtoZod>;
|
|
@@ -27,10 +27,10 @@ export declare const OperationPositionSchema: z.ZodObject<{
|
|
|
27
27
|
create_time_minutes: number;
|
|
28
28
|
count_created: number;
|
|
29
29
|
is_relevance: boolean;
|
|
30
|
-
user_id?: number | null | undefined;
|
|
31
|
-
idx?: number | undefined;
|
|
32
30
|
equipment_id?: number | null | undefined;
|
|
31
|
+
user_id?: number | null | undefined;
|
|
33
32
|
operation_id?: number | null | undefined;
|
|
33
|
+
idx?: number | undefined;
|
|
34
34
|
start_time?: Date | null | undefined;
|
|
35
35
|
detal_idx?: number | undefined;
|
|
36
36
|
production_operation_pos_id?: number | null | undefined;
|
|
@@ -40,10 +40,10 @@ export declare const OperationPositionSchema: z.ZodObject<{
|
|
|
40
40
|
createdAt: Date;
|
|
41
41
|
updatedAt: Date;
|
|
42
42
|
ban?: boolean | undefined;
|
|
43
|
-
user_id?: number | null | undefined;
|
|
44
|
-
idx?: number | undefined;
|
|
45
43
|
equipment_id?: number | null | undefined;
|
|
44
|
+
user_id?: number | null | undefined;
|
|
46
45
|
operation_id?: number | null | undefined;
|
|
46
|
+
idx?: number | undefined;
|
|
47
47
|
start_time?: Date | null | undefined;
|
|
48
48
|
detal_idx?: number | undefined;
|
|
49
49
|
create_time_minutes?: number | undefined;
|
|
@@ -32,25 +32,25 @@ export declare const ProductionOperationPosSchema: z.ZodObject<{
|
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
type: StockOrderType;
|
|
34
34
|
ban: boolean;
|
|
35
|
-
production_task_id: number;
|
|
36
35
|
quantity: number;
|
|
36
|
+
production_task_id: number;
|
|
37
37
|
idx: number;
|
|
38
38
|
id?: number | null | undefined;
|
|
39
|
+
ass_id?: number | null | undefined;
|
|
39
40
|
createdAt?: Date | undefined;
|
|
40
41
|
updatedAt?: Date | undefined;
|
|
41
|
-
ass_id?: number | null | undefined;
|
|
42
42
|
metall_id?: number | null | undefined;
|
|
43
43
|
quantity_max?: number | null | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
type: StockOrderType;
|
|
46
|
-
production_task_id: number;
|
|
47
46
|
quantity: number;
|
|
47
|
+
production_task_id: number;
|
|
48
48
|
idx: number;
|
|
49
49
|
ban?: boolean | undefined;
|
|
50
50
|
id?: number | null | undefined;
|
|
51
|
+
ass_id?: number | null | undefined;
|
|
51
52
|
createdAt?: Date | undefined;
|
|
52
53
|
updatedAt?: Date | undefined;
|
|
53
|
-
ass_id?: number | null | undefined;
|
|
54
54
|
metall_id?: number | null | undefined;
|
|
55
55
|
quantity_max?: number | null | undefined;
|
|
56
56
|
}>;
|
|
@@ -18,11 +18,11 @@ export declare const CreateProviderDtoZod: z.ZodObject<{
|
|
|
18
18
|
description: string;
|
|
19
19
|
name: string;
|
|
20
20
|
contacts: string;
|
|
21
|
+
materialList: EntityCommonSpecificationArray;
|
|
22
|
+
attention: boolean;
|
|
21
23
|
inn: string;
|
|
22
24
|
cpp: string;
|
|
23
25
|
rekvisit: string;
|
|
24
|
-
attention: boolean;
|
|
25
|
-
materialList: EntityCommonSpecificationArray;
|
|
26
26
|
file_base: string;
|
|
27
27
|
id?: string | null | undefined;
|
|
28
28
|
docs?: string | undefined;
|
|
@@ -32,14 +32,14 @@ export declare const CreateProviderDtoZod: z.ZodObject<{
|
|
|
32
32
|
description: string;
|
|
33
33
|
name: string;
|
|
34
34
|
contacts: string;
|
|
35
|
+
attention: string;
|
|
35
36
|
inn: string;
|
|
36
37
|
cpp: string;
|
|
37
38
|
rekvisit: string;
|
|
38
|
-
attention: string;
|
|
39
39
|
file_base: string;
|
|
40
40
|
id?: string | null | undefined;
|
|
41
|
-
docs?: string | undefined;
|
|
42
41
|
materialList?: unknown;
|
|
42
|
+
docs?: string | undefined;
|
|
43
43
|
toolListId?: string | undefined;
|
|
44
44
|
equipmentListId?: string | undefined;
|
|
45
45
|
}>;
|
|
@@ -25,9 +25,9 @@ export declare const ProvidersSchema: z.ZodObject<{
|
|
|
25
25
|
description?: string | undefined;
|
|
26
26
|
id?: number | null | undefined;
|
|
27
27
|
contacts?: string | undefined;
|
|
28
|
+
attention?: boolean | undefined;
|
|
28
29
|
inn?: string | undefined;
|
|
29
30
|
cpp?: string | undefined;
|
|
30
31
|
rekvisit?: string | undefined;
|
|
31
|
-
attention?: boolean | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type ModelProviders = z.infer<typeof ProvidersSchema>;
|