@pksep/zod-shared 0.0.505 → 0.0.507
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/assemble/dto/assembly-paginate.dto.d.ts +8 -13
- package/dist/assemble/dto/assembly-paginate.dto.js +2 -4
- package/dist/assemble/dto/create-assemble-kit.dto.d.ts +2 -2
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +9 -9
- package/dist/assemble/dto/get-assemble-operation-pagination.dto.d.ts +8 -28
- package/dist/assemble/dto/get-assemble-operation-pagination.dto.js +2 -13
- package/dist/assemble/dto/get-assemble-pagination-sclad.dto.d.ts +7 -31
- package/dist/assemble/dto/get-assemble-pagination-sclad.dto.js +2 -15
- package/dist/assemble/dto/get-assemble-pagination.dto.d.ts +11 -28
- package/dist/assemble/dto/get-assemble-pagination.dto.js +3 -13
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +12 -12
- package/dist/assemble/schemas/assemble.schema.d.ts +6 -6
- package/dist/cbed/dto/up-create-cbed.dto.d.ts +2 -2
- package/dist/cbed/schemas/cbed.schema.d.ts +20 -14
- package/dist/cbed/schemas/cbed.schema.js +2 -0
- package/dist/company/dto/companies-pagination.dto.d.ts +4 -4
- package/dist/company/dto/create-company.dto.d.ts +2 -2
- package/dist/company/dto/update-company.dto.d.ts +2 -2
- package/dist/detal/dto/update-detal.dto.d.ts +2 -2
- package/dist/detal/schemas/detal-deficit.schema.d.ts +85 -277
- package/dist/detal/schemas/detal.schema.d.ts +92 -283
- package/dist/detal/schemas/detal.schema.js +2 -0
- package/dist/equipment/dto/create-equipment.dto.d.ts +3 -3
- package/dist/equipment/dto/create-equipment.dto.js +1 -1
- package/dist/equipment/dto/get-instruments-pagination.dto.d.ts +8 -5
- package/dist/equipment/dto/get-instruments-pagination.dto.js +6 -5
- package/dist/equipment/dto/update-equipment.dto.d.ts +3 -3
- package/dist/equipment/dto/update-equipment.dto.js +1 -1
- 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/interfaces/interface.js +2 -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/schemas/material.schema.d.ts +2 -2
- package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.d.ts +8 -25
- package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.js +2 -6
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +7 -25
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.js +3 -9
- package/dist/movement-object/schemas/get-one-object-history.schema.d.ts +6 -27
- package/dist/movement-object/schemas/get-one-object-history.schema.js +1 -7
- package/dist/moving/schemas/moving.schema.d.ts +125 -111
- package/dist/operations/dto/create-type-operation.dto.d.ts +3 -0
- package/dist/operations/dto/create-type-operation.dto.js +1 -0
- package/dist/operations/dto/update-create-operation.dto.d.ts +3 -0
- package/dist/operations/dto/update-create-operation.dto.js +1 -0
- package/dist/operations/dto/update-type-operation.dto.d.ts +3 -0
- package/dist/operations/dto/update-type-operation.dto.js +1 -0
- package/dist/operations/index.d.ts +1 -0
- package/dist/operations/index.js +1 -0
- package/dist/operations/schemas/type-oper-equipment.schema.d.ts +15 -0
- package/dist/operations/schemas/type-oper-equipment.schema.js +9 -0
- package/dist/product/dto/up-create-product.dto.d.ts +5 -5
- package/dist/product/schemas/product-deficit.schema.d.ts +12 -12
- package/dist/product/schemas/product.schema.d.ts +12 -12
- package/dist/production-tasks/dto/get-by-users.dto.d.ts +3 -4
- package/dist/production-tasks/dto/get-by-users.dto.js +1 -2
- package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.d.ts +5 -2
- package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.js +1 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.d.ts +18 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.js +7 -0
- package/dist/production-tasks/dto/get-production-task-by-operation.dto.d.ts +40 -0
- package/dist/production-tasks/dto/get-production-task-by-operation.dto.js +19 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.d.ts +18 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.js +8 -1
- package/dist/production-tasks/dto/get-production-task.dto.d.ts +3 -4
- package/dist/production-tasks/dto/get-production-task.dto.js +1 -2
- package/dist/production-tasks/dto/get-taks-by-toperation.dto.d.ts +3 -0
- package/dist/production-tasks/dto/get-taks-by-toperation.dto.js +4 -0
- package/dist/production-tasks/dto/online-board-working.dto.d.ts +4 -4
- package/dist/production-tasks/dto/plan-production-task.dto.d.ts +10 -3
- package/dist/production-tasks/dto/plan-production-task.dto.js +5 -0
- package/dist/production-tasks/dto/set-start-time-detal.dto.d.ts +12 -0
- package/dist/production-tasks/dto/set-start-time-detal.dto.js +8 -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/enums/production-tasks.d.ts +5 -1
- package/dist/production-tasks/enums/production-tasks.js +7 -2
- package/dist/production-tasks/index.d.ts +3 -1
- package/dist/production-tasks/index.js +3 -1
- package/dist/production-tasks/interfaces/production-tasks.d.ts +127 -1
- package/dist/production-tasks/methods/methods.d.ts +2 -0
- package/dist/production-tasks/methods/methods.js +36 -4
- package/dist/production-tasks/schemas/operation-positions.schema.d.ts +6 -0
- package/dist/production-tasks/schemas/operation-positions.schema.js +2 -0
- package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +0 -4
- package/dist/production-tasks/schemas/production-operation-pos.schema.js +0 -4
- package/dist/production-tasks/schemas/production-taks-start-time-detal.schema.d.ts +16 -0
- package/dist/production-tasks/schemas/production-taks-start-time-detal.schema.js +8 -0
- package/dist/production-tasks/schemas/production-task.schema.d.ts +3 -4
- package/dist/production-tasks/schemas/production-task.schema.js +1 -4
- package/dist/role/schemas/role.schema.d.ts +125 -111
- package/dist/sclad/schemas/remains.schema.d.ts +4 -4
- package/dist/shipments/dto/entity-filtering-by-shipment.dto.d.ts +3 -0
- package/dist/shipments/dto/entity-filtering-by-shipment.dto.js +1 -0
- package/dist/specification/schema/attributes.schema.d.ts +184 -462
- package/dist/tech-process/index.d.ts +1 -0
- package/dist/tech-process/index.js +1 -0
- 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 +8 -1
- package/dist/user/schemas/user.schema.d.ts +84 -74
- package/dist/utils/default-value/default-value.d.ts +7 -0
- package/dist/utils/default-value/default-value.js +11 -1
- package/dist/utils/interface/mat.interface.d.ts +10 -0
- package/dist/utils/interface/mat.interface.js +2 -0
- package/dist/utils/methods.d.ts +1 -1
- package/dist/utils/methods.js +2 -4
- package/dist/utils/operation.d.ts +1 -0
- package/dist/utils/operation.js +8 -1
- package/package.json +1 -1
|
@@ -12,13 +12,13 @@ export declare const companiesPaginationDtoZod: z.ZodObject<{
|
|
|
12
12
|
instrumentIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
13
13
|
inventaryIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
materialIds: number[];
|
|
16
15
|
equipmentIds: number[];
|
|
16
|
+
materialIds: number[];
|
|
17
17
|
instrumentIds: number[];
|
|
18
18
|
inventaryIds: number[];
|
|
19
19
|
}, {
|
|
20
|
-
materialIds?: number[] | undefined;
|
|
21
20
|
equipmentIds?: number[] | undefined;
|
|
21
|
+
materialIds?: number[] | undefined;
|
|
22
22
|
instrumentIds?: number[] | undefined;
|
|
23
23
|
inventaryIds?: number[] | undefined;
|
|
24
24
|
}>>;
|
|
@@ -30,8 +30,8 @@ export declare const companiesPaginationDtoZod: z.ZodObject<{
|
|
|
30
30
|
isBan: boolean;
|
|
31
31
|
filterByTypes: import("../enums/enums").DtoEnumCompanyType[];
|
|
32
32
|
filterByEntities?: {
|
|
33
|
-
materialIds: number[];
|
|
34
33
|
equipmentIds: number[];
|
|
34
|
+
materialIds: number[];
|
|
35
35
|
instrumentIds: number[];
|
|
36
36
|
inventaryIds: number[];
|
|
37
37
|
} | undefined;
|
|
@@ -43,8 +43,8 @@ export declare const companiesPaginationDtoZod: z.ZodObject<{
|
|
|
43
43
|
isBan?: boolean | undefined;
|
|
44
44
|
filterByTypes?: import("../enums/enums").DtoEnumCompanyType[] | undefined;
|
|
45
45
|
filterByEntities?: {
|
|
46
|
-
materialIds?: number[] | undefined;
|
|
47
46
|
equipmentIds?: number[] | undefined;
|
|
47
|
+
materialIds?: number[] | undefined;
|
|
48
48
|
instrumentIds?: number[] | undefined;
|
|
49
49
|
inventaryIds?: number[] | undefined;
|
|
50
50
|
} | undefined;
|
|
@@ -30,6 +30,7 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
30
30
|
name: string;
|
|
31
31
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
32
32
|
description?: string | undefined;
|
|
33
|
+
equipmentIds?: number[] | undefined;
|
|
33
34
|
docs?: string | undefined;
|
|
34
35
|
inn?: string | undefined;
|
|
35
36
|
cpp?: string | undefined;
|
|
@@ -42,7 +43,6 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
42
43
|
};
|
|
43
44
|
}[] | undefined;
|
|
44
45
|
materialIds?: number[] | undefined;
|
|
45
|
-
equipmentIds?: number[] | undefined;
|
|
46
46
|
instrumentIds?: number[] | undefined;
|
|
47
47
|
inventaryIds?: number[] | undefined;
|
|
48
48
|
contactIds?: number[] | undefined;
|
|
@@ -51,6 +51,7 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
51
51
|
name: string;
|
|
52
52
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
53
53
|
description?: string | undefined;
|
|
54
|
+
equipmentIds?: number[] | undefined;
|
|
54
55
|
docs?: string | undefined;
|
|
55
56
|
inn?: string | undefined;
|
|
56
57
|
cpp?: string | undefined;
|
|
@@ -63,7 +64,6 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
63
64
|
};
|
|
64
65
|
}[] | undefined;
|
|
65
66
|
materialIds?: number[] | undefined;
|
|
66
|
-
equipmentIds?: number[] | undefined;
|
|
67
67
|
instrumentIds?: number[] | undefined;
|
|
68
68
|
inventaryIds?: number[] | undefined;
|
|
69
69
|
contactIds?: number[] | undefined;
|
|
@@ -32,6 +32,7 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
32
32
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
33
33
|
description?: string | undefined;
|
|
34
34
|
name?: string | undefined;
|
|
35
|
+
equipmentIds?: number[] | undefined;
|
|
35
36
|
docs?: string | undefined;
|
|
36
37
|
inn?: string | undefined;
|
|
37
38
|
cpp?: string | undefined;
|
|
@@ -44,7 +45,6 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
44
45
|
};
|
|
45
46
|
}[] | undefined;
|
|
46
47
|
materialIds?: number[] | undefined;
|
|
47
|
-
equipmentIds?: number[] | undefined;
|
|
48
48
|
instrumentIds?: number[] | undefined;
|
|
49
49
|
inventaryIds?: number[] | undefined;
|
|
50
50
|
contactIds?: number[] | undefined;
|
|
@@ -54,6 +54,7 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
54
54
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
55
55
|
description?: string | undefined;
|
|
56
56
|
name?: string | undefined;
|
|
57
|
+
equipmentIds?: number[] | undefined;
|
|
57
58
|
docs?: string | undefined;
|
|
58
59
|
inn?: string | undefined;
|
|
59
60
|
cpp?: string | undefined;
|
|
@@ -66,7 +67,6 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
66
67
|
};
|
|
67
68
|
}[] | undefined;
|
|
68
69
|
materialIds?: number[] | undefined;
|
|
69
|
-
equipmentIds?: number[] | undefined;
|
|
70
70
|
instrumentIds?: number[] | undefined;
|
|
71
71
|
inventaryIds?: number[] | undefined;
|
|
72
72
|
contactIds?: number[] | undefined;
|
|
@@ -25,8 +25,8 @@ export declare const UpCreateDetalDtoZod: z.ZodObject<{
|
|
|
25
25
|
attention: boolean;
|
|
26
26
|
materialList: EntityCommonSpecificationArray;
|
|
27
27
|
parametrs: detalParametrsField;
|
|
28
|
-
discontinued: boolean;
|
|
29
28
|
workpiece_characterization: DetalWorkpieceCharacteristics;
|
|
29
|
+
discontinued: boolean;
|
|
30
30
|
responsible: string;
|
|
31
31
|
id?: number | null | undefined;
|
|
32
32
|
docs?: any;
|
|
@@ -47,10 +47,10 @@ export declare const UpCreateDetalDtoZod: z.ZodObject<{
|
|
|
47
47
|
fileBase?: string | undefined;
|
|
48
48
|
parametrs?: unknown;
|
|
49
49
|
characteristic?: any;
|
|
50
|
-
discontinued?: unknown;
|
|
51
50
|
workpiece_characterization?: unknown;
|
|
52
51
|
mat_zag?: unknown;
|
|
53
52
|
mat_zag_zam?: unknown;
|
|
53
|
+
discontinued?: unknown;
|
|
54
54
|
techProcessID?: unknown;
|
|
55
55
|
}>;
|
|
56
56
|
export type UpCreateDetalDtoType = z.infer<typeof UpCreateDetalDtoZod>;
|