@pksep/zod-shared 0.0.560 → 0.0.561

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/ai-mcp/index.d.ts +2 -0
  2. package/dist/{library → ai-mcp}/index.js +2 -5
  3. package/dist/ai-mcp/interfaces/ai-mcp.interface.d.ts +358 -0
  4. package/dist/ai-mcp/schemas/ai-mcp-entity-editor.schema.d.ts +130 -0
  5. package/dist/ai-mcp/schemas/ai-mcp-entity-editor.schema.js +118 -0
  6. package/dist/ai-mcp/schemas/ai-mcp-specification.schema.d.ts +123 -0
  7. package/dist/ai-mcp/schemas/ai-mcp-specification.schema.js +110 -0
  8. package/dist/ai-mcp/schemas/ai-mcp.schema.d.ts +384 -0
  9. package/dist/ai-mcp/schemas/ai-mcp.schema.js +210 -0
  10. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +28 -0
  11. package/dist/assemble/dto/set-date-shipment.dto.d.ts +2 -2
  12. package/dist/assemble/interfaces/interfaces.d.ts +8 -0
  13. package/dist/assemble/schemas/assemble-coming.schema.d.ts +20 -0
  14. package/dist/assemble/schemas/assemble.schema.d.ts +20 -0
  15. package/dist/cbed/dto/up-create-cbed.dto.d.ts +3 -0
  16. package/dist/cbed/dto/up-create-cbed.dto.js +1 -0
  17. package/dist/deliveries/dto/create-deliveries.dto.d.ts +6 -6
  18. package/dist/detal/dto/archive-detal.dto.d.ts +17 -0
  19. package/dist/detal/dto/archive-detal.dto.js +10 -0
  20. package/dist/detal/dto/update-detal.dto.d.ts +342 -17
  21. package/dist/detal/dto/update-detal.dto.js +88 -27
  22. package/dist/detal/index.d.ts +1 -0
  23. package/dist/detal/index.js +1 -0
  24. package/dist/document/dto/entity-document-command.dto.d.ts +184 -0
  25. package/dist/document/dto/entity-document-command.dto.js +59 -0
  26. package/dist/document/index.d.ts +2 -0
  27. package/dist/document/index.js +2 -0
  28. package/dist/document/interfaces/entity-document.interface.d.ts +30 -0
  29. package/dist/excel-export/excel-export.dto.d.ts +1666 -0
  30. package/dist/excel-export/excel-export.dto.js +237 -0
  31. package/dist/excel-export/index.d.ts +1 -0
  32. package/dist/{issue → excel-export}/index.js +1 -5
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +2 -0
  35. package/dist/marks/type/type.d.ts +4 -4
  36. package/dist/material/dto/create-material.dto.d.ts +3 -0
  37. package/dist/material/dto/create-material.dto.js +2 -1
  38. package/dist/product/dto/up-create-product.dto.d.ts +3 -0
  39. package/dist/product/dto/up-create-product.dto.js +1 -0
  40. package/dist/production-tasks/dto/change-due-date.dto.d.ts +2 -2
  41. package/dist/production-tasks/dto/get-production-task-display-numbers.dto.d.ts +20 -0
  42. package/dist/production-tasks/dto/get-production-task-display-numbers.dto.js +11 -0
  43. package/dist/production-tasks/dto/plan-production-task.dto.d.ts +34 -0
  44. package/dist/production-tasks/dto/plan-production-task.dto.js +21 -2
  45. package/dist/production-tasks/dto/split-production-task.dto.d.ts +203 -0
  46. package/dist/production-tasks/dto/split-production-task.dto.js +71 -0
  47. package/dist/production-tasks/dto/update.dto.d.ts +2 -2
  48. package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +2 -2
  49. package/dist/production-tasks/enums/production-tasks.d.ts +10 -0
  50. package/dist/production-tasks/enums/production-tasks.js +12 -1
  51. package/dist/production-tasks/index.d.ts +3 -0
  52. package/dist/production-tasks/index.js +3 -0
  53. package/dist/production-tasks/interfaces/production-tasks.d.ts +4 -0
  54. package/dist/production-tasks/methods/methods.d.ts +9 -0
  55. package/dist/production-tasks/methods/methods.js +16 -1
  56. package/dist/production-tasks/schemas/orders-summary-by-entity.schema.d.ts +55 -8
  57. package/dist/production-tasks/schemas/orders-summary-by-entity.schema.js +9 -0
  58. package/dist/production-tasks/schemas/production-task-subtask.schema.d.ts +81 -0
  59. package/dist/production-tasks/schemas/production-task.schema.d.ts +14 -0
  60. package/dist/production-tasks/schemas/production-task.schema.js +4 -0
  61. package/dist/specification/dto/mutate-specification.dto.d.ts +58 -0
  62. package/dist/specification/dto/mutate-specification.dto.js +65 -0
  63. package/dist/specification/index.d.ts +1 -0
  64. package/dist/specification/index.js +1 -0
  65. package/dist/specification/interface/interface.d.ts +17 -0
  66. package/dist/utils/methods/sequelize.d.ts +2 -0
  67. package/dist/utils/methods/sequelize.js +4 -1
  68. package/dist/utils/methods.js +30 -10
  69. package/dist/utils/tables-config/enum.d.ts +5 -0
  70. package/dist/utils/tables-config/enum.js +10 -0
  71. package/dist/utils/types/types.d.ts +10 -1
  72. package/dist/utils/validation/transform.d.ts +2 -0
  73. package/dist/utils/validation/transform.js +25 -1
  74. package/package.json +38 -38
  75. package/dist/issue/dto/up-create-issue.dto.d.ts +0 -49
  76. package/dist/issue/dto/up-create-issue.dto.js +0 -21
  77. package/dist/issue/index.d.ts +0 -5
  78. package/dist/issue/interfaces/interface.d.ts +0 -4
  79. package/dist/issue/schemas/issue-user-controller.schema.d.ts +0 -15
  80. package/dist/issue/schemas/issue-user-controller.schema.js +0 -9
  81. package/dist/issue/schemas/issue-user.schema.d.ts +0 -15
  82. package/dist/issue/schemas/issue-user.schema.js +0 -9
  83. package/dist/issue/schemas/issue.schema.d.ts +0 -51
  84. package/dist/issue/schemas/issue.schema.js +0 -21
  85. package/dist/library/dto/create-chapter.dto.d.ts +0 -12
  86. package/dist/library/dto/create-chapter.dto.js +0 -8
  87. package/dist/library/dto/create-link.dto.d.ts +0 -30
  88. package/dist/library/dto/create-link.dto.js +0 -14
  89. package/dist/library/index.d.ts +0 -5
  90. package/dist/library/interfaces/interface.d.ts +0 -3
  91. package/dist/library/schemas/links-user.schema.d.ts +0 -15
  92. package/dist/library/schemas/links-user.schema.js +0 -9
  93. package/dist/library/schemas/links.schema.d.ts +0 -30
  94. package/dist/library/schemas/links.schema.js +0 -14
  95. package/dist/production-tasks/dto/update-marks.dto.d.ts +0 -13
  96. package/dist/production-tasks/dto/update-marks.dto.js +0 -8
  97. package/dist/production-tasks/dto/update-responsible.dto.d.ts +0 -12
  98. package/dist/production-tasks/dto/update-responsible.dto.js +0 -8
  99. package/dist/production-tasks/dto/update-status.dto.d.ts +0 -13
  100. package/dist/production-tasks/dto/update-status.dto.js +0 -9
  101. package/dist/shipments/dto/change-date-urgency.dto.d.ts +0 -12
  102. package/dist/shipments/dto/change-date-urgency.dto.js +0 -8
  103. package/dist/tech-process/schemas/tech-process-with-options.schema.d.ts +0 -306
  104. package/dist/tech-process/schemas/tech-process-with-options.schema.js +0 -8
  105. package/dist/utils/interface/mat.interface.d.ts +0 -10
  106. /package/dist/{issue/interfaces/interface.js → ai-mcp/interfaces/ai-mcp.interface.js} +0 -0
  107. /package/dist/{library/interfaces/interface.js → document/interfaces/entity-document.interface.js} +0 -0
  108. /package/dist/{utils/interface/mat.interface.js → production-tasks/schemas/production-task-subtask.schema.js} +0 -0
@@ -1,21 +0,0 @@
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
- });
@@ -1,5 +0,0 @@
1
- export * from './schemas/issue.schema';
2
- export * from './schemas/issue-user.schema';
3
- export * from './schemas/issue-user-controller.schema';
4
- export * from './interfaces/interface';
5
- export * from './dto/up-create-issue.dto';
@@ -1,4 +0,0 @@
1
- export interface IIssueCreationAttrs {
2
- name: string;
3
- instans: number;
4
- }
@@ -1,15 +0,0 @@
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>;
@@ -1,9 +0,0 @@
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
- });
@@ -1,15 +0,0 @@
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>;
@@ -1,9 +0,0 @@
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
- });
@@ -1,51 +0,0 @@
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>;
@@ -1,21 +0,0 @@
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
- });
@@ -1,12 +0,0 @@
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>;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateChapterDtoZod = void 0;
4
- const zod_1 = require("zod");
5
- exports.CreateChapterDtoZod = zod_1.z.object({
6
- name: zod_1.z.string(),
7
- id: zod_1.z.number()
8
- });
@@ -1,30 +0,0 @@
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>;
@@ -1,14 +0,0 @@
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
- });
@@ -1,5 +0,0 @@
1
- export * from './schemas/links.schema';
2
- export * from './schemas/links-user.schema';
3
- export * from './interfaces/interface';
4
- export * from './dto/create-chapter.dto';
5
- export * from './dto/create-link.dto';
@@ -1,3 +0,0 @@
1
- export interface ILinksCreationAttrs {
2
- name: string;
3
- }
@@ -1,15 +0,0 @@
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>;
@@ -1,9 +0,0 @@
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
- });
@@ -1,30 +0,0 @@
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>;
@@ -1,14 +0,0 @@
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
- });
@@ -1,13 +0,0 @@
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>;
@@ -1,8 +0,0 @@
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
- });
@@ -1,12 +0,0 @@
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>;
@@ -1,8 +0,0 @@
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
- });
@@ -1,13 +0,0 @@
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>;
@@ -1,9 +0,0 @@
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
- });
@@ -1,12 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ChangeDateUrgencySchema: z.ZodObject<{
3
- shipmentId: z.ZodNumber;
4
- newDateUrgency: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- shipmentId: number;
7
- newDateUrgency: string;
8
- }, {
9
- shipmentId: number;
10
- newDateUrgency: string;
11
- }>;
12
- export type ChangeDateUrgencyDto = z.infer<typeof ChangeDateUrgencySchema>;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChangeDateUrgencySchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.ChangeDateUrgencySchema = zod_1.z.object({
6
- shipmentId: zod_1.z.number().int(),
7
- newDateUrgency: zod_1.z.string()
8
- });