@pksep/zod-shared 0.0.556 → 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/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/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/schemas/orders-summary-by-entity.schema.d.ts +0 -28
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.js +0 -6
- 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/utils/interface/mat.interface.d.ts +10 -0
- package/dist/utils/interface/mat.interface.js +2 -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,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { StatusIssue } from '../../utils';
|
|
3
|
+
export declare const UpCreateIssueDtoZod: z.ZodObject<{
|
|
4
|
+
description: z.ZodString;
|
|
5
|
+
dateUse: z.ZodString;
|
|
6
|
+
normTime: z.ZodString;
|
|
7
|
+
sourse: z.ZodString;
|
|
8
|
+
srok: z.ZodString;
|
|
9
|
+
status: z.ZodNativeEnum<typeof StatusIssue>;
|
|
10
|
+
controllerList: z.ZodString;
|
|
11
|
+
executorList: z.ZodString;
|
|
12
|
+
izdList: z.ZodString;
|
|
13
|
+
shopNeeds: z.ZodString;
|
|
14
|
+
fileArrModal: z.ZodString;
|
|
15
|
+
srok_control: z.ZodString;
|
|
16
|
+
id: z.ZodNumber;
|
|
17
|
+
name: z.ZodString;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
status: StatusIssue;
|
|
20
|
+
id: number;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
dateUse: string;
|
|
24
|
+
normTime: string;
|
|
25
|
+
sourse: string;
|
|
26
|
+
srok: string;
|
|
27
|
+
controllerList: string;
|
|
28
|
+
executorList: string;
|
|
29
|
+
srok_control: string;
|
|
30
|
+
izdList: string;
|
|
31
|
+
shopNeeds: string;
|
|
32
|
+
fileArrModal: string;
|
|
33
|
+
}, {
|
|
34
|
+
status: StatusIssue;
|
|
35
|
+
id: number;
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
dateUse: string;
|
|
39
|
+
normTime: string;
|
|
40
|
+
sourse: string;
|
|
41
|
+
srok: string;
|
|
42
|
+
controllerList: string;
|
|
43
|
+
executorList: string;
|
|
44
|
+
srok_control: string;
|
|
45
|
+
izdList: string;
|
|
46
|
+
shopNeeds: string;
|
|
47
|
+
fileArrModal: string;
|
|
48
|
+
}>;
|
|
49
|
+
export type UpCreateIssueDtoType = z.infer<typeof UpCreateIssueDtoZod>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpCreateIssueDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const utils_1 = require("../../utils");
|
|
6
|
+
exports.UpCreateIssueDtoZod = zod_1.z.object({
|
|
7
|
+
description: zod_1.z.string(),
|
|
8
|
+
dateUse: zod_1.z.string(),
|
|
9
|
+
normTime: zod_1.z.string(),
|
|
10
|
+
sourse: zod_1.z.string(),
|
|
11
|
+
srok: zod_1.z.string(),
|
|
12
|
+
status: zod_1.z.nativeEnum(utils_1.StatusIssue),
|
|
13
|
+
controllerList: zod_1.z.string(),
|
|
14
|
+
executorList: zod_1.z.string(),
|
|
15
|
+
izdList: zod_1.z.string(),
|
|
16
|
+
shopNeeds: zod_1.z.string(),
|
|
17
|
+
fileArrModal: zod_1.z.string(),
|
|
18
|
+
srok_control: zod_1.z.string(),
|
|
19
|
+
id: zod_1.z.number(),
|
|
20
|
+
name: zod_1.z.string()
|
|
21
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./schemas/issue.schema"), exports);
|
|
18
|
+
__exportStar(require("./schemas/issue-user.schema"), exports);
|
|
19
|
+
__exportStar(require("./schemas/issue-user-controller.schema"), exports);
|
|
20
|
+
__exportStar(require("./interfaces/interface"), exports);
|
|
21
|
+
__exportStar(require("./dto/up-create-issue.dto"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const issueUserControllerSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
issueId: z.ZodNumber;
|
|
5
|
+
userId: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
userId: number;
|
|
8
|
+
issueId: number;
|
|
9
|
+
id?: number | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
userId: number;
|
|
12
|
+
issueId: number;
|
|
13
|
+
id?: number | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type ModelIssueUserController = z.infer<typeof issueUserControllerSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueUserControllerSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.issueUserControllerSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().nullish(),
|
|
7
|
+
issueId: zod_1.z.number().int().positive(),
|
|
8
|
+
userId: zod_1.z.number().int().positive()
|
|
9
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const issueUserSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
issueId: z.ZodNumber;
|
|
5
|
+
userId: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
userId: number;
|
|
8
|
+
issueId: number;
|
|
9
|
+
id?: number | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
userId: number;
|
|
12
|
+
issueId: number;
|
|
13
|
+
id?: number | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type ModelissueUser = z.infer<typeof issueUserSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueUserSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.issueUserSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().nullish(),
|
|
7
|
+
issueId: zod_1.z.number().int().positive(),
|
|
8
|
+
userId: zod_1.z.number().int().positive()
|
|
9
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const IssueSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
dateUse: z.ZodOptional<z.ZodString>;
|
|
7
|
+
normTime: z.ZodOptional<z.ZodString>;
|
|
8
|
+
sourse: z.ZodOptional<z.ZodString>;
|
|
9
|
+
srok: z.ZodOptional<z.ZodString>;
|
|
10
|
+
status: z.ZodOptional<z.ZodString>;
|
|
11
|
+
controllerList: z.ZodOptional<z.ZodString>;
|
|
12
|
+
executorList: z.ZodOptional<z.ZodString>;
|
|
13
|
+
srok_control: z.ZodOptional<z.ZodString>;
|
|
14
|
+
izdList: z.ZodOptional<z.ZodString>;
|
|
15
|
+
shopNeeds: z.ZodOptional<z.ZodString>;
|
|
16
|
+
instans: z.ZodDefault<z.ZodNumber>;
|
|
17
|
+
responsibleUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
name: string;
|
|
20
|
+
instans: number;
|
|
21
|
+
status?: string | undefined;
|
|
22
|
+
id?: number | null | undefined;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
responsibleUserId?: number | null | undefined;
|
|
25
|
+
dateUse?: string | undefined;
|
|
26
|
+
normTime?: string | undefined;
|
|
27
|
+
sourse?: string | undefined;
|
|
28
|
+
srok?: string | undefined;
|
|
29
|
+
controllerList?: string | undefined;
|
|
30
|
+
executorList?: string | undefined;
|
|
31
|
+
srok_control?: string | undefined;
|
|
32
|
+
izdList?: string | undefined;
|
|
33
|
+
shopNeeds?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
name: string;
|
|
36
|
+
status?: string | undefined;
|
|
37
|
+
id?: number | null | undefined;
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
instans?: number | undefined;
|
|
40
|
+
responsibleUserId?: number | null | undefined;
|
|
41
|
+
dateUse?: string | undefined;
|
|
42
|
+
normTime?: string | undefined;
|
|
43
|
+
sourse?: string | undefined;
|
|
44
|
+
srok?: string | undefined;
|
|
45
|
+
controllerList?: string | undefined;
|
|
46
|
+
executorList?: string | undefined;
|
|
47
|
+
srok_control?: string | undefined;
|
|
48
|
+
izdList?: string | undefined;
|
|
49
|
+
shopNeeds?: string | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
export type ModelIssue = z.infer<typeof IssueSchema>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssueSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.IssueSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().nullish(),
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
description: zod_1.z.string().optional(),
|
|
9
|
+
dateUse: zod_1.z.string().optional(),
|
|
10
|
+
normTime: zod_1.z.string().optional(),
|
|
11
|
+
sourse: zod_1.z.string().optional(),
|
|
12
|
+
srok: zod_1.z.string().optional(),
|
|
13
|
+
status: zod_1.z.string().optional(),
|
|
14
|
+
controllerList: zod_1.z.string().optional(),
|
|
15
|
+
executorList: zod_1.z.string().optional(),
|
|
16
|
+
srok_control: zod_1.z.string().optional(),
|
|
17
|
+
izdList: zod_1.z.string().optional(),
|
|
18
|
+
shopNeeds: zod_1.z.string().optional(),
|
|
19
|
+
instans: zod_1.z.number().int().positive().default(1),
|
|
20
|
+
responsibleUserId: zod_1.z.number().nullish()
|
|
21
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CreateChapterDtoZod: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
id: z.ZodNumber;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
}, {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type CreateChapterDtoType = z.infer<typeof CreateChapterDtoZod>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CreateLinkDtoZod: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
is_link: z.ZodString;
|
|
5
|
+
link: z.ZodString;
|
|
6
|
+
description: z.ZodString;
|
|
7
|
+
docs: z.ZodAny;
|
|
8
|
+
user_id: z.ZodNumber;
|
|
9
|
+
chapter_id: z.ZodNumber;
|
|
10
|
+
id: z.ZodNumber;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
id: number;
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
user_id: number;
|
|
16
|
+
link: string;
|
|
17
|
+
is_link: string;
|
|
18
|
+
chapter_id: number;
|
|
19
|
+
docs?: any;
|
|
20
|
+
}, {
|
|
21
|
+
id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
user_id: number;
|
|
25
|
+
link: string;
|
|
26
|
+
is_link: string;
|
|
27
|
+
chapter_id: number;
|
|
28
|
+
docs?: any;
|
|
29
|
+
}>;
|
|
30
|
+
export type CreateLinkDtoType = z.infer<typeof CreateLinkDtoZod>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLinkDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.CreateLinkDtoZod = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string(),
|
|
7
|
+
is_link: zod_1.z.string(),
|
|
8
|
+
link: zod_1.z.string(),
|
|
9
|
+
description: zod_1.z.string(),
|
|
10
|
+
docs: zod_1.z.any(),
|
|
11
|
+
user_id: zod_1.z.number(),
|
|
12
|
+
chapter_id: zod_1.z.number(),
|
|
13
|
+
id: zod_1.z.number()
|
|
14
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./schemas/links.schema"), exports);
|
|
18
|
+
__exportStar(require("./schemas/links-user.schema"), exports);
|
|
19
|
+
__exportStar(require("./interfaces/interface"), exports);
|
|
20
|
+
__exportStar(require("./dto/create-chapter.dto"), exports);
|
|
21
|
+
__exportStar(require("./dto/create-link.dto"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const LinksUserSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
links_id: z.ZodNumber;
|
|
5
|
+
user_id: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
user_id: number;
|
|
8
|
+
links_id: number;
|
|
9
|
+
id?: number | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
user_id: number;
|
|
12
|
+
links_id: number;
|
|
13
|
+
id?: number | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type ModelLinksUser = z.infer<typeof LinksUserSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinksUserSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.LinksUserSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().nullish(),
|
|
7
|
+
links_id: zod_1.z.number().int().positive(),
|
|
8
|
+
user_id: zod_1.z.number().int().positive()
|
|
9
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const LinksSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
link: z.ZodOptional<z.ZodString>;
|
|
6
|
+
is_link: z.ZodBoolean;
|
|
7
|
+
ban: z.ZodDefault<z.ZodBoolean>;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
responsible_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
chapter_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
ban: boolean;
|
|
13
|
+
name: string;
|
|
14
|
+
is_link: boolean;
|
|
15
|
+
id?: number | null | undefined;
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
responsible_id?: number | null | undefined;
|
|
18
|
+
link?: string | undefined;
|
|
19
|
+
chapter_id?: number | null | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
name: string;
|
|
22
|
+
is_link: boolean;
|
|
23
|
+
ban?: boolean | undefined;
|
|
24
|
+
id?: number | null | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
responsible_id?: number | null | undefined;
|
|
27
|
+
link?: string | undefined;
|
|
28
|
+
chapter_id?: number | null | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type ModelLinks = z.infer<typeof LinksSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinksSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.LinksSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().nullish(),
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
link: zod_1.z.string().optional(),
|
|
9
|
+
is_link: zod_1.z.boolean(),
|
|
10
|
+
ban: zod_1.z.boolean().default(false),
|
|
11
|
+
description: zod_1.z.string().optional(),
|
|
12
|
+
responsible_id: zod_1.z.number().nullish(),
|
|
13
|
+
chapter_id: zod_1.z.number().nullish()
|
|
14
|
+
});
|
|
@@ -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
|
+
});
|
|
@@ -21,10 +21,8 @@ export declare const OrdersSummaryShipmentZod: z.ZodObject<{
|
|
|
21
21
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
24
|
-
parentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
25
24
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
26
25
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
27
|
-
shipmentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
28
26
|
quantity: z.ZodNumber;
|
|
29
27
|
requiredReadyDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
30
28
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -35,10 +33,8 @@ export declare const OrdersSummaryShipmentZod: z.ZodObject<{
|
|
|
35
33
|
parentPTQuantity: number | null;
|
|
36
34
|
parentPTNeed: number | null;
|
|
37
35
|
parentWarehouseReadinessDate: string | Date | null;
|
|
38
|
-
parentReadinessDate: string | Date | null;
|
|
39
36
|
shipmentNumber: string | null;
|
|
40
37
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
41
|
-
shipmentReadinessDate: string | Date | null;
|
|
42
38
|
}, {
|
|
43
39
|
quantity: number;
|
|
44
40
|
shipmentId: number | null;
|
|
@@ -47,10 +43,8 @@ export declare const OrdersSummaryShipmentZod: z.ZodObject<{
|
|
|
47
43
|
parentPTQuantity: number | null;
|
|
48
44
|
parentPTNeed: number | null;
|
|
49
45
|
parentWarehouseReadinessDate: string | Date | null;
|
|
50
|
-
parentReadinessDate: string | Date | null;
|
|
51
46
|
shipmentNumber: string | null;
|
|
52
47
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
53
|
-
shipmentReadinessDate: string | Date | null;
|
|
54
48
|
}>;
|
|
55
49
|
export declare const OrdersSummaryStockOrderZod: z.ZodObject<{
|
|
56
50
|
stockOrderItemId: z.ZodNumber;
|
|
@@ -83,10 +77,8 @@ export declare const OrdersSummaryDemandRowZod: z.ZodObject<{
|
|
|
83
77
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
84
78
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
85
79
|
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
86
|
-
parentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
87
80
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
88
81
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
89
|
-
shipmentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
90
82
|
quantityByShipment: z.ZodNullable<z.ZodNumber>;
|
|
91
83
|
shipmentNeed: z.ZodNullable<z.ZodNumber>;
|
|
92
84
|
demandQuantity: z.ZodNumber;
|
|
@@ -100,10 +92,8 @@ export declare const OrdersSummaryDemandRowZod: z.ZodObject<{
|
|
|
100
92
|
parentPTQuantity: number | null;
|
|
101
93
|
parentPTNeed: number | null;
|
|
102
94
|
parentWarehouseReadinessDate: string | Date | null;
|
|
103
|
-
parentReadinessDate: string | Date | null;
|
|
104
95
|
shipmentNumber: string | null;
|
|
105
96
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
106
|
-
shipmentReadinessDate: string | Date | null;
|
|
107
97
|
quantityByProductionTask: number;
|
|
108
98
|
quantityByShipment: number | null;
|
|
109
99
|
shipmentNeed: number | null;
|
|
@@ -117,10 +107,8 @@ export declare const OrdersSummaryDemandRowZod: z.ZodObject<{
|
|
|
117
107
|
parentPTQuantity: number | null;
|
|
118
108
|
parentPTNeed: number | null;
|
|
119
109
|
parentWarehouseReadinessDate: string | Date | null;
|
|
120
|
-
parentReadinessDate: string | Date | null;
|
|
121
110
|
shipmentNumber: string | null;
|
|
122
111
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
123
|
-
shipmentReadinessDate: string | Date | null;
|
|
124
112
|
quantityByProductionTask: number;
|
|
125
113
|
quantityByShipment: number | null;
|
|
126
114
|
shipmentNeed: number | null;
|
|
@@ -136,10 +124,8 @@ export declare const OrdersSummaryByEntityRowZod: z.ZodObject<{
|
|
|
136
124
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
137
125
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
138
126
|
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
139
|
-
parentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
140
127
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
141
128
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
142
|
-
shipmentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
143
129
|
quantityByShipment: z.ZodNullable<z.ZodNumber>;
|
|
144
130
|
shipmentNeed: z.ZodNullable<z.ZodNumber>;
|
|
145
131
|
stockOrderItemId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -161,10 +147,8 @@ export declare const OrdersSummaryByEntityRowZod: z.ZodObject<{
|
|
|
161
147
|
parentPTQuantity: number | null;
|
|
162
148
|
parentPTNeed: number | null;
|
|
163
149
|
parentWarehouseReadinessDate: string | Date | null;
|
|
164
|
-
parentReadinessDate: string | Date | null;
|
|
165
150
|
shipmentNumber: string | null;
|
|
166
151
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
167
|
-
shipmentReadinessDate: string | Date | null;
|
|
168
152
|
stockOrderItemId: number | null;
|
|
169
153
|
stockOrderId: number | null;
|
|
170
154
|
quantityByProductionTask: number;
|
|
@@ -185,10 +169,8 @@ export declare const OrdersSummaryByEntityRowZod: z.ZodObject<{
|
|
|
185
169
|
parentPTQuantity: number | null;
|
|
186
170
|
parentPTNeed: number | null;
|
|
187
171
|
parentWarehouseReadinessDate: string | Date | null;
|
|
188
|
-
parentReadinessDate: string | Date | null;
|
|
189
172
|
shipmentNumber: string | null;
|
|
190
173
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
191
|
-
shipmentReadinessDate: string | Date | null;
|
|
192
174
|
stockOrderItemId: number | null;
|
|
193
175
|
stockOrderId: number | null;
|
|
194
176
|
quantityByProductionTask: number;
|
|
@@ -210,10 +192,8 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
210
192
|
parentPTQuantity: z.ZodNullable<z.ZodNumber>;
|
|
211
193
|
parentPTNeed: z.ZodNullable<z.ZodNumber>;
|
|
212
194
|
parentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
213
|
-
parentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
214
195
|
shipmentNumber: z.ZodNullable<z.ZodString>;
|
|
215
196
|
shipmentWarehouseReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
216
|
-
shipmentReadinessDate: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
217
197
|
quantityByShipment: z.ZodNullable<z.ZodNumber>;
|
|
218
198
|
shipmentNeed: z.ZodNullable<z.ZodNumber>;
|
|
219
199
|
stockOrderItemId: z.ZodNullable<z.ZodNumber>;
|
|
@@ -235,10 +215,8 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
235
215
|
parentPTQuantity: number | null;
|
|
236
216
|
parentPTNeed: number | null;
|
|
237
217
|
parentWarehouseReadinessDate: string | Date | null;
|
|
238
|
-
parentReadinessDate: string | Date | null;
|
|
239
218
|
shipmentNumber: string | null;
|
|
240
219
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
241
|
-
shipmentReadinessDate: string | Date | null;
|
|
242
220
|
stockOrderItemId: number | null;
|
|
243
221
|
stockOrderId: number | null;
|
|
244
222
|
quantityByProductionTask: number;
|
|
@@ -259,10 +237,8 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
259
237
|
parentPTQuantity: number | null;
|
|
260
238
|
parentPTNeed: number | null;
|
|
261
239
|
parentWarehouseReadinessDate: string | Date | null;
|
|
262
|
-
parentReadinessDate: string | Date | null;
|
|
263
240
|
shipmentNumber: string | null;
|
|
264
241
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
265
|
-
shipmentReadinessDate: string | Date | null;
|
|
266
242
|
stockOrderItemId: number | null;
|
|
267
243
|
stockOrderId: number | null;
|
|
268
244
|
quantityByProductionTask: number;
|
|
@@ -290,10 +266,8 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
290
266
|
parentPTQuantity: number | null;
|
|
291
267
|
parentPTNeed: number | null;
|
|
292
268
|
parentWarehouseReadinessDate: string | Date | null;
|
|
293
|
-
parentReadinessDate: string | Date | null;
|
|
294
269
|
shipmentNumber: string | null;
|
|
295
270
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
296
|
-
shipmentReadinessDate: string | Date | null;
|
|
297
271
|
stockOrderItemId: number | null;
|
|
298
272
|
stockOrderId: number | null;
|
|
299
273
|
quantityByProductionTask: number;
|
|
@@ -321,10 +295,8 @@ export declare const OrdersSummaryByEntityResponseZod: z.ZodObject<{
|
|
|
321
295
|
parentPTQuantity: number | null;
|
|
322
296
|
parentPTNeed: number | null;
|
|
323
297
|
parentWarehouseReadinessDate: string | Date | null;
|
|
324
|
-
parentReadinessDate: string | Date | null;
|
|
325
298
|
shipmentNumber: string | null;
|
|
326
299
|
shipmentWarehouseReadinessDate: string | Date | null;
|
|
327
|
-
shipmentReadinessDate: string | Date | null;
|
|
328
300
|
stockOrderItemId: number | null;
|
|
329
301
|
stockOrderId: number | null;
|
|
330
302
|
quantityByProductionTask: number;
|