@pksep/zod-shared 0.0.559 → 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.
- package/dist/ai-mcp/index.d.ts +2 -0
- package/dist/{library → ai-mcp}/index.js +2 -5
- package/dist/ai-mcp/interfaces/ai-mcp.interface.d.ts +358 -0
- package/dist/ai-mcp/schemas/ai-mcp-entity-editor.schema.d.ts +130 -0
- package/dist/ai-mcp/schemas/ai-mcp-entity-editor.schema.js +118 -0
- package/dist/ai-mcp/schemas/ai-mcp-specification.schema.d.ts +123 -0
- package/dist/ai-mcp/schemas/ai-mcp-specification.schema.js +110 -0
- package/dist/ai-mcp/schemas/ai-mcp.schema.d.ts +384 -0
- package/dist/ai-mcp/schemas/ai-mcp.schema.js +210 -0
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +28 -0
- package/dist/assemble/dto/set-date-shipment.dto.d.ts +2 -2
- package/dist/assemble/interfaces/interfaces.d.ts +8 -0
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +20 -0
- package/dist/assemble/schemas/assemble.schema.d.ts +20 -0
- package/dist/cbed/dto/up-create-cbed.dto.d.ts +3 -0
- package/dist/cbed/dto/up-create-cbed.dto.js +1 -0
- package/dist/deliveries/dto/all-delivery-pagination.dto.d.ts +4 -1
- package/dist/deliveries/dto/all-delivery-pagination.dto.js +4 -1
- package/dist/deliveries/dto/create-deliveries.dto.d.ts +6 -6
- package/dist/detal/dto/archive-detal.dto.d.ts +17 -0
- package/dist/detal/dto/archive-detal.dto.js +10 -0
- package/dist/detal/dto/update-detal.dto.d.ts +342 -17
- package/dist/detal/dto/update-detal.dto.js +88 -27
- package/dist/detal/index.d.ts +1 -0
- package/dist/detal/index.js +1 -0
- package/dist/document/dto/entity-document-command.dto.d.ts +184 -0
- package/dist/document/dto/entity-document-command.dto.js +59 -0
- package/dist/document/index.d.ts +2 -0
- package/dist/document/index.js +2 -0
- package/dist/document/interfaces/entity-document.interface.d.ts +30 -0
- package/dist/excel-export/excel-export.dto.d.ts +1666 -0
- package/dist/excel-export/excel-export.dto.js +237 -0
- package/dist/excel-export/index.d.ts +1 -0
- package/dist/{issue → excel-export}/index.js +1 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/marks/type/type.d.ts +4 -4
- package/dist/material/dto/create-material.dto.d.ts +3 -0
- package/dist/material/dto/create-material.dto.js +2 -1
- package/dist/product/dto/up-create-product.dto.d.ts +3 -0
- package/dist/product/dto/up-create-product.dto.js +1 -0
- package/dist/production-tasks/dto/change-due-date.dto.d.ts +2 -2
- package/dist/production-tasks/dto/get-production-task-display-numbers.dto.d.ts +20 -0
- package/dist/production-tasks/dto/get-production-task-display-numbers.dto.js +11 -0
- package/dist/production-tasks/dto/plan-production-task.dto.d.ts +34 -0
- package/dist/production-tasks/dto/plan-production-task.dto.js +21 -2
- package/dist/production-tasks/dto/split-production-task.dto.d.ts +203 -0
- package/dist/production-tasks/dto/split-production-task.dto.js +71 -0
- package/dist/production-tasks/dto/update.dto.d.ts +2 -2
- package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +2 -2
- package/dist/production-tasks/enums/production-tasks.d.ts +10 -0
- package/dist/production-tasks/enums/production-tasks.js +12 -1
- package/dist/production-tasks/index.d.ts +3 -0
- package/dist/production-tasks/index.js +3 -0
- package/dist/production-tasks/interfaces/production-tasks.d.ts +4 -0
- package/dist/production-tasks/methods/methods.d.ts +9 -0
- package/dist/production-tasks/methods/methods.js +16 -1
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.d.ts +55 -8
- package/dist/production-tasks/schemas/orders-summary-by-entity.schema.js +9 -0
- package/dist/production-tasks/schemas/production-task-subtask.schema.d.ts +81 -0
- package/dist/production-tasks/schemas/production-task.schema.d.ts +14 -0
- package/dist/production-tasks/schemas/production-task.schema.js +4 -0
- package/dist/specification/dto/mutate-specification.dto.d.ts +58 -0
- package/dist/specification/dto/mutate-specification.dto.js +65 -0
- package/dist/specification/index.d.ts +1 -0
- package/dist/specification/index.js +1 -0
- package/dist/specification/interface/interface.d.ts +17 -0
- package/dist/utils/methods/sequelize.d.ts +2 -0
- package/dist/utils/methods/sequelize.js +4 -1
- package/dist/utils/methods.js +30 -10
- package/dist/utils/tables-config/enum.d.ts +5 -0
- package/dist/utils/tables-config/enum.js +10 -0
- package/dist/utils/types/types.d.ts +10 -1
- package/dist/utils/validation/transform.d.ts +2 -0
- package/dist/utils/validation/transform.js +25 -1
- package/package.json +38 -38
- package/dist/issue/dto/up-create-issue.dto.d.ts +0 -49
- package/dist/issue/dto/up-create-issue.dto.js +0 -21
- package/dist/issue/index.d.ts +0 -5
- package/dist/issue/interfaces/interface.d.ts +0 -4
- package/dist/issue/schemas/issue-user-controller.schema.d.ts +0 -15
- package/dist/issue/schemas/issue-user-controller.schema.js +0 -9
- package/dist/issue/schemas/issue-user.schema.d.ts +0 -15
- package/dist/issue/schemas/issue-user.schema.js +0 -9
- package/dist/issue/schemas/issue.schema.d.ts +0 -51
- package/dist/issue/schemas/issue.schema.js +0 -21
- package/dist/library/dto/create-chapter.dto.d.ts +0 -12
- package/dist/library/dto/create-chapter.dto.js +0 -8
- package/dist/library/dto/create-link.dto.d.ts +0 -30
- package/dist/library/dto/create-link.dto.js +0 -14
- package/dist/library/index.d.ts +0 -5
- package/dist/library/interfaces/interface.d.ts +0 -3
- package/dist/library/schemas/links-user.schema.d.ts +0 -15
- package/dist/library/schemas/links-user.schema.js +0 -9
- package/dist/library/schemas/links.schema.d.ts +0 -30
- package/dist/library/schemas/links.schema.js +0 -14
- package/dist/production-tasks/dto/update-marks.dto.d.ts +0 -13
- package/dist/production-tasks/dto/update-marks.dto.js +0 -8
- package/dist/production-tasks/dto/update-responsible.dto.d.ts +0 -12
- package/dist/production-tasks/dto/update-responsible.dto.js +0 -8
- package/dist/production-tasks/dto/update-status.dto.d.ts +0 -13
- package/dist/production-tasks/dto/update-status.dto.js +0 -9
- package/dist/shipments/dto/change-date-urgency.dto.d.ts +0 -12
- package/dist/shipments/dto/change-date-urgency.dto.js +0 -8
- package/dist/tech-process/schemas/tech-process-with-options.schema.d.ts +0 -306
- package/dist/tech-process/schemas/tech-process-with-options.schema.js +0 -8
- package/dist/utils/interface/mat.interface.d.ts +0 -10
- /package/dist/{issue/interfaces/interface.js → ai-mcp/interfaces/ai-mcp.interface.js} +0 -0
- /package/dist/{library/interfaces/interface.js → document/interfaces/entity-document.interface.js} +0 -0
- /package/dist/{utils/interface/mat.interface.js → production-tasks/schemas/production-task-subtask.schema.js} +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { IzdType, SpetificationEntityKeys } from '../../utils';
|
|
3
|
+
export declare const ErpSpecificationItemAddInputShape: {
|
|
4
|
+
quantity: z.ZodNumber;
|
|
5
|
+
measureId: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
parentType: z.ZodEnum<{
|
|
8
|
+
product: IzdType.product;
|
|
9
|
+
cbed: IzdType.cbed;
|
|
10
|
+
detal: IzdType.detal;
|
|
11
|
+
}>;
|
|
12
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
13
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
14
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
15
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
16
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
17
|
+
idempotencyKey: z.ZodString;
|
|
18
|
+
};
|
|
19
|
+
export declare const ErpSpecificationItemUpdateInputShape: {
|
|
20
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
measureId: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
parentType: z.ZodEnum<{
|
|
23
|
+
product: IzdType.product;
|
|
24
|
+
cbed: IzdType.cbed;
|
|
25
|
+
detal: IzdType.detal;
|
|
26
|
+
}>;
|
|
27
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
28
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
29
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
30
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
31
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
32
|
+
idempotencyKey: z.ZodString;
|
|
33
|
+
};
|
|
34
|
+
export declare const ErpSpecificationItemMoveInputShape: {
|
|
35
|
+
position: z.ZodNumber;
|
|
36
|
+
parentType: z.ZodEnum<{
|
|
37
|
+
product: IzdType.product;
|
|
38
|
+
cbed: IzdType.cbed;
|
|
39
|
+
detal: IzdType.detal;
|
|
40
|
+
}>;
|
|
41
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
42
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
43
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
44
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
45
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
46
|
+
idempotencyKey: z.ZodString;
|
|
47
|
+
};
|
|
48
|
+
export declare const ErpSpecificationItemRemoveInputShape: {
|
|
49
|
+
parentType: z.ZodEnum<{
|
|
50
|
+
product: IzdType.product;
|
|
51
|
+
cbed: IzdType.cbed;
|
|
52
|
+
detal: IzdType.detal;
|
|
53
|
+
}>;
|
|
54
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
55
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
56
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
57
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
58
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
59
|
+
idempotencyKey: z.ZodString;
|
|
60
|
+
};
|
|
61
|
+
export declare const ErpSpecificationItemAddInputZod: z.ZodObject<{
|
|
62
|
+
quantity: z.ZodNumber;
|
|
63
|
+
measureId: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
parentType: z.ZodEnum<{
|
|
66
|
+
product: IzdType.product;
|
|
67
|
+
cbed: IzdType.cbed;
|
|
68
|
+
detal: IzdType.detal;
|
|
69
|
+
}>;
|
|
70
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
71
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
72
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
73
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
74
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
75
|
+
idempotencyKey: z.ZodString;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const ErpSpecificationItemUpdateInputZod: z.ZodObject<{
|
|
78
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
measureId: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
parentType: z.ZodEnum<{
|
|
81
|
+
product: IzdType.product;
|
|
82
|
+
cbed: IzdType.cbed;
|
|
83
|
+
detal: IzdType.detal;
|
|
84
|
+
}>;
|
|
85
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
86
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
87
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
88
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
89
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
90
|
+
idempotencyKey: z.ZodString;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
export declare const ErpSpecificationItemMoveInputZod: z.ZodObject<{
|
|
93
|
+
position: z.ZodNumber;
|
|
94
|
+
parentType: z.ZodEnum<{
|
|
95
|
+
product: IzdType.product;
|
|
96
|
+
cbed: IzdType.cbed;
|
|
97
|
+
detal: IzdType.detal;
|
|
98
|
+
}>;
|
|
99
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
100
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
101
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
102
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
103
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
104
|
+
idempotencyKey: z.ZodString;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
export declare const ErpSpecificationItemRemoveInputZod: z.ZodObject<{
|
|
107
|
+
parentType: z.ZodEnum<{
|
|
108
|
+
product: IzdType.product;
|
|
109
|
+
cbed: IzdType.cbed;
|
|
110
|
+
detal: IzdType.detal;
|
|
111
|
+
}>;
|
|
112
|
+
parentName: z.ZodOptional<z.ZodString>;
|
|
113
|
+
parentDesignation: z.ZodOptional<z.ZodString>;
|
|
114
|
+
section: z.ZodEnum<typeof SpetificationEntityKeys>;
|
|
115
|
+
itemName: z.ZodOptional<z.ZodString>;
|
|
116
|
+
itemDesignation: z.ZodOptional<z.ZodString>;
|
|
117
|
+
idempotencyKey: z.ZodString;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
export type TErpSpecificationItemAddInput = z.infer<typeof ErpSpecificationItemAddInputZod>;
|
|
120
|
+
export type TErpSpecificationItemUpdateInput = z.infer<typeof ErpSpecificationItemUpdateInputZod>;
|
|
121
|
+
export type TErpSpecificationItemMoveInput = z.infer<typeof ErpSpecificationItemMoveInputZod>;
|
|
122
|
+
export type TErpSpecificationItemRemoveInput = z.infer<typeof ErpSpecificationItemRemoveInputZod>;
|
|
123
|
+
export type TErpSpecificationMutationInput = TErpSpecificationItemAddInput | TErpSpecificationItemUpdateInput | TErpSpecificationItemMoveInput | TErpSpecificationItemRemoveInput;
|
|
@@ -0,0 +1,110 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ErpSpecificationItemRemoveInputZod = exports.ErpSpecificationItemMoveInputZod = exports.ErpSpecificationItemUpdateInputZod = exports.ErpSpecificationItemAddInputZod = exports.ErpSpecificationItemRemoveInputShape = exports.ErpSpecificationItemMoveInputShape = exports.ErpSpecificationItemUpdateInputShape = exports.ErpSpecificationItemAddInputShape = void 0;
|
|
37
|
+
const z = __importStar(require("zod/v4"));
|
|
38
|
+
const mutate_specification_dto_1 = require("../../specification/dto/mutate-specification.dto");
|
|
39
|
+
const utils_1 = require("../../utils");
|
|
40
|
+
/** MCP SDK использует Zod v4; итоговая команда дополнительно проверяется общим DTO ERP на Zod v3. */
|
|
41
|
+
const SpecificationParentTypeMcpZod = z.enum([
|
|
42
|
+
utils_1.IzdType.product,
|
|
43
|
+
utils_1.IzdType.cbed,
|
|
44
|
+
utils_1.IzdType.detal
|
|
45
|
+
]);
|
|
46
|
+
const SpecificationSectionMcpZod = z.nativeEnum(utils_1.SpetificationEntityKeys);
|
|
47
|
+
const idempotencyKeyZod = z
|
|
48
|
+
.string()
|
|
49
|
+
.trim()
|
|
50
|
+
.min(8)
|
|
51
|
+
.max(128)
|
|
52
|
+
.regex(/^[a-zA-Z0-9._:-]+$/);
|
|
53
|
+
const entityReferenceShape = {
|
|
54
|
+
parentType: SpecificationParentTypeMcpZod,
|
|
55
|
+
parentName: z.string().trim().min(1).max(255).optional(),
|
|
56
|
+
parentDesignation: z.string().trim().min(1).max(255).optional(),
|
|
57
|
+
section: SpecificationSectionMcpZod,
|
|
58
|
+
itemName: z.string().trim().min(1).max(255).optional(),
|
|
59
|
+
itemDesignation: z.string().trim().min(1).max(255).optional(),
|
|
60
|
+
idempotencyKey: idempotencyKeyZod
|
|
61
|
+
};
|
|
62
|
+
/** Требует человекочитаемые ссылки на родителя и позицию без внутренних ID. */
|
|
63
|
+
const validateReferences = (input, context) => {
|
|
64
|
+
if (!input.parentName && !input.parentDesignation) {
|
|
65
|
+
context.addIssue({
|
|
66
|
+
code: z.ZodIssueCode.custom,
|
|
67
|
+
path: ['parentName'],
|
|
68
|
+
message: 'Укажите название или обозначение родительской сущности'
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
if (!input.itemName && !input.itemDesignation) {
|
|
72
|
+
context.addIssue({
|
|
73
|
+
code: z.ZodIssueCode.custom,
|
|
74
|
+
path: ['itemName'],
|
|
75
|
+
message: 'Укажите название или обозначение позиции спецификации'
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
exports.ErpSpecificationItemAddInputShape = Object.assign(Object.assign({}, entityReferenceShape), { quantity: z
|
|
80
|
+
.number()
|
|
81
|
+
.min(mutate_specification_dto_1.SPECIFICATION_QUANTITY_MIN)
|
|
82
|
+
.max(mutate_specification_dto_1.SPECIFICATION_QUANTITY_MAX), measureId: z.number().int().min(1).optional(), position: z.number().int().min(mutate_specification_dto_1.SPECIFICATION_POSITION_MIN).optional() });
|
|
83
|
+
exports.ErpSpecificationItemUpdateInputShape = Object.assign(Object.assign({}, entityReferenceShape), { quantity: z
|
|
84
|
+
.number()
|
|
85
|
+
.min(mutate_specification_dto_1.SPECIFICATION_QUANTITY_MIN)
|
|
86
|
+
.max(mutate_specification_dto_1.SPECIFICATION_QUANTITY_MAX)
|
|
87
|
+
.optional(), measureId: z.number().int().min(1).optional() });
|
|
88
|
+
exports.ErpSpecificationItemMoveInputShape = Object.assign(Object.assign({}, entityReferenceShape), { position: z.number().int().min(mutate_specification_dto_1.SPECIFICATION_POSITION_MIN) });
|
|
89
|
+
exports.ErpSpecificationItemRemoveInputShape = entityReferenceShape;
|
|
90
|
+
exports.ErpSpecificationItemAddInputZod = z
|
|
91
|
+
.object(exports.ErpSpecificationItemAddInputShape)
|
|
92
|
+
.superRefine(validateReferences);
|
|
93
|
+
exports.ErpSpecificationItemUpdateInputZod = z
|
|
94
|
+
.object(exports.ErpSpecificationItemUpdateInputShape)
|
|
95
|
+
.superRefine((input, context) => {
|
|
96
|
+
validateReferences(input, context);
|
|
97
|
+
if (input.quantity === undefined && input.measureId === undefined) {
|
|
98
|
+
context.addIssue({
|
|
99
|
+
code: z.ZodIssueCode.custom,
|
|
100
|
+
path: ['quantity'],
|
|
101
|
+
message: 'Укажите новое количество или единицу измерения'
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
exports.ErpSpecificationItemMoveInputZod = z
|
|
106
|
+
.object(exports.ErpSpecificationItemMoveInputShape)
|
|
107
|
+
.superRefine(validateReferences);
|
|
108
|
+
exports.ErpSpecificationItemRemoveInputZod = z
|
|
109
|
+
.object(exports.ErpSpecificationItemRemoveInputShape)
|
|
110
|
+
.superRefine(validateReferences);
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { IzdType } from '../../utils';
|
|
3
|
+
export declare enum AiMcpOperationStatusEnum {
|
|
4
|
+
pending = "pending",
|
|
5
|
+
completed = "completed"
|
|
6
|
+
}
|
|
7
|
+
export declare enum AiMcpOperationNameEnum {
|
|
8
|
+
createDetailAndAddToCbed = "create-detail-and-add-to-cbed",
|
|
9
|
+
archiveDetail = "archive-detail",
|
|
10
|
+
uploadAndAttachEntityDocument = "upload-and-attach-entity-document",
|
|
11
|
+
attachEntityDocument = "attach-entity-document",
|
|
12
|
+
detachEntityDocument = "detach-entity-document",
|
|
13
|
+
setMainEntityDocument = "set-main-entity-document",
|
|
14
|
+
updateDocument = "update-document",
|
|
15
|
+
archiveDocument = "archive-document",
|
|
16
|
+
restoreDocument = "restore-document"
|
|
17
|
+
}
|
|
18
|
+
export declare enum AiMcpCommandStatusEnum {
|
|
19
|
+
queued = "queued"
|
|
20
|
+
}
|
|
21
|
+
export declare enum ErpProductStateEnum {
|
|
22
|
+
active = "active",
|
|
23
|
+
discontinued = "discontinued",
|
|
24
|
+
archived = "archived",
|
|
25
|
+
all = "all"
|
|
26
|
+
}
|
|
27
|
+
export declare enum ErpProductTechnologyStateEnum {
|
|
28
|
+
any = "any",
|
|
29
|
+
configured = "configured",
|
|
30
|
+
missing = "missing"
|
|
31
|
+
}
|
|
32
|
+
export declare enum ErpProductSpecificationKindEnum {
|
|
33
|
+
assembly = "assembly",
|
|
34
|
+
detail = "detail",
|
|
35
|
+
purchased = "purchased",
|
|
36
|
+
material = "material"
|
|
37
|
+
}
|
|
38
|
+
export declare enum ErpProductSpecificationViewEnum {
|
|
39
|
+
direct = "direct",
|
|
40
|
+
tree = "tree"
|
|
41
|
+
}
|
|
42
|
+
export declare enum ErpDocumentStateEnum {
|
|
43
|
+
active = "active",
|
|
44
|
+
archived = "archived",
|
|
45
|
+
all = "all"
|
|
46
|
+
}
|
|
47
|
+
export declare const AI_MCP_ENTITY_TYPES: readonly [IzdType.product, IzdType.cbed, IzdType.detal];
|
|
48
|
+
export type TAiMcpEntityType = (typeof AI_MCP_ENTITY_TYPES)[number];
|
|
49
|
+
export declare const AiMcpEntityTypeZod: z.ZodEnum<{
|
|
50
|
+
product: IzdType.product;
|
|
51
|
+
cbed: IzdType.cbed;
|
|
52
|
+
detal: IzdType.detal;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const ErpEntitySearchInputShape: {
|
|
55
|
+
query: z.ZodString;
|
|
56
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
57
|
+
product: IzdType.product;
|
|
58
|
+
cbed: IzdType.cbed;
|
|
59
|
+
detal: IzdType.detal;
|
|
60
|
+
}>>>;
|
|
61
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
62
|
+
};
|
|
63
|
+
export declare const ErpEntityGetInputShape: {
|
|
64
|
+
type: z.ZodEnum<{
|
|
65
|
+
product: IzdType.product;
|
|
66
|
+
cbed: IzdType.cbed;
|
|
67
|
+
detal: IzdType.detal;
|
|
68
|
+
}>;
|
|
69
|
+
id: z.ZodNumber;
|
|
70
|
+
};
|
|
71
|
+
export declare const ErpProductSearchInputShape: {
|
|
72
|
+
query: z.ZodDefault<z.ZodString>;
|
|
73
|
+
state: z.ZodDefault<z.ZodEnum<typeof ErpProductStateEnum>>;
|
|
74
|
+
responsibleQuery: z.ZodOptional<z.ZodString>;
|
|
75
|
+
attention: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
technology: z.ZodDefault<z.ZodEnum<typeof ErpProductTechnologyStateEnum>>;
|
|
77
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
78
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
79
|
+
};
|
|
80
|
+
export declare const ErpProductGetInputShape: {
|
|
81
|
+
id: z.ZodNumber;
|
|
82
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
83
|
+
};
|
|
84
|
+
export declare const ErpProductSpecificationGetInputShape: {
|
|
85
|
+
id: z.ZodNumber;
|
|
86
|
+
view: z.ZodDefault<z.ZodEnum<typeof ErpProductSpecificationViewEnum>>;
|
|
87
|
+
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
88
|
+
maxNodes: z.ZodDefault<z.ZodNumber>;
|
|
89
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
90
|
+
};
|
|
91
|
+
export declare const ErpProductProductionStateGetInputShape: {
|
|
92
|
+
id: z.ZodNumber;
|
|
93
|
+
includeClosed: z.ZodDefault<z.ZodBoolean>;
|
|
94
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
95
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
96
|
+
};
|
|
97
|
+
export declare const ErpProductTechnologyGetInputShape: {
|
|
98
|
+
id: z.ZodNumber;
|
|
99
|
+
};
|
|
100
|
+
export declare const ErpProductHistoryGetInputShape: {
|
|
101
|
+
id: z.ZodNumber;
|
|
102
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
103
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
104
|
+
};
|
|
105
|
+
export declare const ErpDetailCreateAndAddToCbedInputShape: {
|
|
106
|
+
detailName: z.ZodString;
|
|
107
|
+
detailDesignation: z.ZodString;
|
|
108
|
+
assemblyName: z.ZodOptional<z.ZodString>;
|
|
109
|
+
assemblyDesignation: z.ZodOptional<z.ZodString>;
|
|
110
|
+
quantity: z.ZodNumber;
|
|
111
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
description: z.ZodOptional<z.ZodString>;
|
|
113
|
+
idempotencyKey: z.ZodString;
|
|
114
|
+
};
|
|
115
|
+
export declare const ErpDetailArchiveInputShape: {
|
|
116
|
+
detailName: z.ZodString;
|
|
117
|
+
detailDesignation: z.ZodString;
|
|
118
|
+
idempotencyKey: z.ZodString;
|
|
119
|
+
};
|
|
120
|
+
export declare const ErpEntityFilesListInputShape: {
|
|
121
|
+
entityType: z.ZodEnum<{
|
|
122
|
+
product: IzdType.product;
|
|
123
|
+
cbed: IzdType.cbed;
|
|
124
|
+
detal: IzdType.detal;
|
|
125
|
+
}>;
|
|
126
|
+
entityId: z.ZodNumber;
|
|
127
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
128
|
+
};
|
|
129
|
+
export declare const ErpFilesSearchInputShape: {
|
|
130
|
+
query: z.ZodString;
|
|
131
|
+
state: z.ZodDefault<z.ZodEnum<typeof ErpDocumentStateEnum>>;
|
|
132
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
133
|
+
};
|
|
134
|
+
export declare const ErpEntityFileAttachInputShape: {
|
|
135
|
+
makeMain: z.ZodDefault<z.ZodBoolean>;
|
|
136
|
+
idempotencyKey: z.ZodString;
|
|
137
|
+
documentId: z.ZodNumber;
|
|
138
|
+
documentName: z.ZodString;
|
|
139
|
+
entityType: z.ZodEnum<{
|
|
140
|
+
product: IzdType.product;
|
|
141
|
+
cbed: IzdType.cbed;
|
|
142
|
+
detal: IzdType.detal;
|
|
143
|
+
}>;
|
|
144
|
+
entityId: z.ZodNumber;
|
|
145
|
+
entityName: z.ZodString;
|
|
146
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
147
|
+
};
|
|
148
|
+
export declare const ErpEntityFileUploadInputShape: {
|
|
149
|
+
type: z.ZodDefault<z.ZodString>;
|
|
150
|
+
description: z.ZodDefault<z.ZodString>;
|
|
151
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
152
|
+
newVersion: z.ZodDefault<z.ZodBoolean>;
|
|
153
|
+
makeMain: z.ZodDefault<z.ZodBoolean>;
|
|
154
|
+
idempotencyKey: z.ZodString;
|
|
155
|
+
entityType: z.ZodEnum<{
|
|
156
|
+
product: IzdType.product;
|
|
157
|
+
cbed: IzdType.cbed;
|
|
158
|
+
detal: IzdType.detal;
|
|
159
|
+
}>;
|
|
160
|
+
entityId: z.ZodNumber;
|
|
161
|
+
entityName: z.ZodString;
|
|
162
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
163
|
+
};
|
|
164
|
+
export declare const ErpEntityFileDetachInputShape: {
|
|
165
|
+
idempotencyKey: z.ZodString;
|
|
166
|
+
documentId: z.ZodNumber;
|
|
167
|
+
documentName: z.ZodString;
|
|
168
|
+
entityType: z.ZodEnum<{
|
|
169
|
+
product: IzdType.product;
|
|
170
|
+
cbed: IzdType.cbed;
|
|
171
|
+
detal: IzdType.detal;
|
|
172
|
+
}>;
|
|
173
|
+
entityId: z.ZodNumber;
|
|
174
|
+
entityName: z.ZodString;
|
|
175
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
176
|
+
};
|
|
177
|
+
export declare const ErpEntityFileMainSetInputShape: {
|
|
178
|
+
main: z.ZodBoolean;
|
|
179
|
+
idempotencyKey: z.ZodString;
|
|
180
|
+
documentId: z.ZodNumber;
|
|
181
|
+
documentName: z.ZodString;
|
|
182
|
+
entityType: z.ZodEnum<{
|
|
183
|
+
product: IzdType.product;
|
|
184
|
+
cbed: IzdType.cbed;
|
|
185
|
+
detal: IzdType.detal;
|
|
186
|
+
}>;
|
|
187
|
+
entityId: z.ZodNumber;
|
|
188
|
+
entityName: z.ZodString;
|
|
189
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
190
|
+
};
|
|
191
|
+
export declare const ErpFileUpdateInputShape: {
|
|
192
|
+
name: z.ZodOptional<z.ZodString>;
|
|
193
|
+
type: z.ZodOptional<z.ZodString>;
|
|
194
|
+
description: z.ZodOptional<z.ZodString>;
|
|
195
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
196
|
+
idempotencyKey: z.ZodString;
|
|
197
|
+
documentId: z.ZodNumber;
|
|
198
|
+
documentName: z.ZodString;
|
|
199
|
+
};
|
|
200
|
+
export declare const ErpFileArchiveInputShape: {
|
|
201
|
+
idempotencyKey: z.ZodString;
|
|
202
|
+
documentId: z.ZodNumber;
|
|
203
|
+
documentName: z.ZodString;
|
|
204
|
+
};
|
|
205
|
+
export declare const ErpFileRestoreInputShape: {
|
|
206
|
+
idempotencyKey: z.ZodString;
|
|
207
|
+
documentId: z.ZodNumber;
|
|
208
|
+
documentName: z.ZodString;
|
|
209
|
+
};
|
|
210
|
+
export declare const ErpEntitySearchInputZod: z.ZodObject<{
|
|
211
|
+
query: z.ZodString;
|
|
212
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
213
|
+
product: IzdType.product;
|
|
214
|
+
cbed: IzdType.cbed;
|
|
215
|
+
detal: IzdType.detal;
|
|
216
|
+
}>>>;
|
|
217
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
export declare const ErpEntityGetInputZod: z.ZodObject<{
|
|
220
|
+
type: z.ZodEnum<{
|
|
221
|
+
product: IzdType.product;
|
|
222
|
+
cbed: IzdType.cbed;
|
|
223
|
+
detal: IzdType.detal;
|
|
224
|
+
}>;
|
|
225
|
+
id: z.ZodNumber;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
export declare const ErpProductSearchInputZod: z.ZodObject<{
|
|
228
|
+
query: z.ZodDefault<z.ZodString>;
|
|
229
|
+
state: z.ZodDefault<z.ZodEnum<typeof ErpProductStateEnum>>;
|
|
230
|
+
responsibleQuery: z.ZodOptional<z.ZodString>;
|
|
231
|
+
attention: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
technology: z.ZodDefault<z.ZodEnum<typeof ErpProductTechnologyStateEnum>>;
|
|
233
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
234
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
export declare const ErpProductGetInputZod: z.ZodObject<{
|
|
237
|
+
id: z.ZodNumber;
|
|
238
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
export declare const ErpProductSpecificationGetInputZod: z.ZodObject<{
|
|
241
|
+
id: z.ZodNumber;
|
|
242
|
+
view: z.ZodDefault<z.ZodEnum<typeof ErpProductSpecificationViewEnum>>;
|
|
243
|
+
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
244
|
+
maxNodes: z.ZodDefault<z.ZodNumber>;
|
|
245
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
export declare const ErpProductProductionStateGetInputZod: z.ZodObject<{
|
|
248
|
+
id: z.ZodNumber;
|
|
249
|
+
includeClosed: z.ZodDefault<z.ZodBoolean>;
|
|
250
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
251
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
export declare const ErpProductTechnologyGetInputZod: z.ZodObject<{
|
|
254
|
+
id: z.ZodNumber;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export declare const ErpProductHistoryGetInputZod: z.ZodObject<{
|
|
257
|
+
id: z.ZodNumber;
|
|
258
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
259
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
export declare const ErpDetailCreateAndAddToCbedInputZod: z.ZodObject<{
|
|
262
|
+
detailName: z.ZodString;
|
|
263
|
+
detailDesignation: z.ZodString;
|
|
264
|
+
assemblyName: z.ZodOptional<z.ZodString>;
|
|
265
|
+
assemblyDesignation: z.ZodOptional<z.ZodString>;
|
|
266
|
+
quantity: z.ZodNumber;
|
|
267
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
description: z.ZodOptional<z.ZodString>;
|
|
269
|
+
idempotencyKey: z.ZodString;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
export declare const ErpDetailArchiveInputZod: z.ZodObject<{
|
|
272
|
+
detailName: z.ZodString;
|
|
273
|
+
detailDesignation: z.ZodString;
|
|
274
|
+
idempotencyKey: z.ZodString;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
export declare const ErpEntityFilesListInputZod: z.ZodObject<{
|
|
277
|
+
entityType: z.ZodEnum<{
|
|
278
|
+
product: IzdType.product;
|
|
279
|
+
cbed: IzdType.cbed;
|
|
280
|
+
detal: IzdType.detal;
|
|
281
|
+
}>;
|
|
282
|
+
entityId: z.ZodNumber;
|
|
283
|
+
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
export declare const ErpFilesSearchInputZod: z.ZodObject<{
|
|
286
|
+
query: z.ZodString;
|
|
287
|
+
state: z.ZodDefault<z.ZodEnum<typeof ErpDocumentStateEnum>>;
|
|
288
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
export declare const ErpEntityFileAttachInputZod: z.ZodObject<{
|
|
291
|
+
makeMain: z.ZodDefault<z.ZodBoolean>;
|
|
292
|
+
idempotencyKey: z.ZodString;
|
|
293
|
+
documentId: z.ZodNumber;
|
|
294
|
+
documentName: z.ZodString;
|
|
295
|
+
entityType: z.ZodEnum<{
|
|
296
|
+
product: IzdType.product;
|
|
297
|
+
cbed: IzdType.cbed;
|
|
298
|
+
detal: IzdType.detal;
|
|
299
|
+
}>;
|
|
300
|
+
entityId: z.ZodNumber;
|
|
301
|
+
entityName: z.ZodString;
|
|
302
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
export declare const ErpEntityFileUploadInputZod: z.ZodObject<{
|
|
305
|
+
type: z.ZodDefault<z.ZodString>;
|
|
306
|
+
description: z.ZodDefault<z.ZodString>;
|
|
307
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
308
|
+
newVersion: z.ZodDefault<z.ZodBoolean>;
|
|
309
|
+
makeMain: z.ZodDefault<z.ZodBoolean>;
|
|
310
|
+
idempotencyKey: z.ZodString;
|
|
311
|
+
entityType: z.ZodEnum<{
|
|
312
|
+
product: IzdType.product;
|
|
313
|
+
cbed: IzdType.cbed;
|
|
314
|
+
detal: IzdType.detal;
|
|
315
|
+
}>;
|
|
316
|
+
entityId: z.ZodNumber;
|
|
317
|
+
entityName: z.ZodString;
|
|
318
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
export declare const ErpEntityFileDetachInputZod: z.ZodObject<{
|
|
321
|
+
idempotencyKey: z.ZodString;
|
|
322
|
+
documentId: z.ZodNumber;
|
|
323
|
+
documentName: z.ZodString;
|
|
324
|
+
entityType: z.ZodEnum<{
|
|
325
|
+
product: IzdType.product;
|
|
326
|
+
cbed: IzdType.cbed;
|
|
327
|
+
detal: IzdType.detal;
|
|
328
|
+
}>;
|
|
329
|
+
entityId: z.ZodNumber;
|
|
330
|
+
entityName: z.ZodString;
|
|
331
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
332
|
+
}, z.core.$strip>;
|
|
333
|
+
export declare const ErpEntityFileMainSetInputZod: z.ZodObject<{
|
|
334
|
+
main: z.ZodBoolean;
|
|
335
|
+
idempotencyKey: z.ZodString;
|
|
336
|
+
documentId: z.ZodNumber;
|
|
337
|
+
documentName: z.ZodString;
|
|
338
|
+
entityType: z.ZodEnum<{
|
|
339
|
+
product: IzdType.product;
|
|
340
|
+
cbed: IzdType.cbed;
|
|
341
|
+
detal: IzdType.detal;
|
|
342
|
+
}>;
|
|
343
|
+
entityId: z.ZodNumber;
|
|
344
|
+
entityName: z.ZodString;
|
|
345
|
+
entityDesignation: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
export declare const ErpFileUpdateInputZod: z.ZodObject<{
|
|
348
|
+
name: z.ZodOptional<z.ZodString>;
|
|
349
|
+
type: z.ZodOptional<z.ZodString>;
|
|
350
|
+
description: z.ZodOptional<z.ZodString>;
|
|
351
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
352
|
+
idempotencyKey: z.ZodString;
|
|
353
|
+
documentId: z.ZodNumber;
|
|
354
|
+
documentName: z.ZodString;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
export declare const ErpFileArchiveInputZod: z.ZodObject<{
|
|
357
|
+
idempotencyKey: z.ZodString;
|
|
358
|
+
documentId: z.ZodNumber;
|
|
359
|
+
documentName: z.ZodString;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
export declare const ErpFileRestoreInputZod: z.ZodObject<{
|
|
362
|
+
idempotencyKey: z.ZodString;
|
|
363
|
+
documentId: z.ZodNumber;
|
|
364
|
+
documentName: z.ZodString;
|
|
365
|
+
}, z.core.$strip>;
|
|
366
|
+
export type TErpEntitySearchInput = z.infer<typeof ErpEntitySearchInputZod>;
|
|
367
|
+
export type TErpEntityGetInput = z.infer<typeof ErpEntityGetInputZod>;
|
|
368
|
+
export type TErpProductSearchInput = z.infer<typeof ErpProductSearchInputZod>;
|
|
369
|
+
export type TErpProductGetInput = z.infer<typeof ErpProductGetInputZod>;
|
|
370
|
+
export type TErpProductSpecificationGetInput = z.infer<typeof ErpProductSpecificationGetInputZod>;
|
|
371
|
+
export type TErpProductProductionStateGetInput = z.infer<typeof ErpProductProductionStateGetInputZod>;
|
|
372
|
+
export type TErpProductTechnologyGetInput = z.infer<typeof ErpProductTechnologyGetInputZod>;
|
|
373
|
+
export type TErpProductHistoryGetInput = z.infer<typeof ErpProductHistoryGetInputZod>;
|
|
374
|
+
export type TCreateDetailAndAddToCbedInput = z.infer<typeof ErpDetailCreateAndAddToCbedInputZod>;
|
|
375
|
+
export type TArchiveDetailInput = z.infer<typeof ErpDetailArchiveInputZod>;
|
|
376
|
+
export type TErpEntityFilesListInput = z.infer<typeof ErpEntityFilesListInputZod>;
|
|
377
|
+
export type TErpFilesSearchInput = z.infer<typeof ErpFilesSearchInputZod>;
|
|
378
|
+
export type TErpEntityFileAttachInput = z.infer<typeof ErpEntityFileAttachInputZod>;
|
|
379
|
+
export type TErpEntityFileUploadInput = z.infer<typeof ErpEntityFileUploadInputZod>;
|
|
380
|
+
export type TErpEntityFileDetachInput = z.infer<typeof ErpEntityFileDetachInputZod>;
|
|
381
|
+
export type TErpEntityFileMainSetInput = z.infer<typeof ErpEntityFileMainSetInputZod>;
|
|
382
|
+
export type TErpFileUpdateInput = z.infer<typeof ErpFileUpdateInputZod>;
|
|
383
|
+
export type TErpFileArchiveInput = z.infer<typeof ErpFileArchiveInputZod>;
|
|
384
|
+
export type TErpFileRestoreInput = z.infer<typeof ErpFileRestoreInputZod>;
|