@pksep/zod-shared 0.0.528 → 0.0.530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action/dto/actions-by-param.dto.d.ts +2 -2
- package/dist/action/schemas/actions.schema.d.ts +18 -18
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +90 -81
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +75 -68
- package/dist/assemble/schemas/assemble.schema.d.ts +69 -62
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +13 -13
- package/dist/buyer/schemas/buyer.schema.d.ts +1 -1
- package/dist/cbed/dto/cbed-pagination.dto.d.ts +1 -1
- package/dist/cbed/dto/get-one-cbed-dto.d.ts +2 -2
- package/dist/cbed/dto/up-create-cbed.dto.d.ts +6 -6
- package/dist/cbed/schemas/cbed-material.schema.d.ts +2 -2
- package/dist/cbed/schemas/cbed.schema.d.ts +21 -21
- package/dist/company/dto/companies-pagination.dto.d.ts +3 -0
- package/dist/company/dto/companies-pagination.dto.js +1 -0
- package/dist/company/dto/create-company.dto.d.ts +10 -10
- package/dist/company/dto/update-company.dto.d.ts +10 -10
- package/dist/company/schemas/companies.schema.d.ts +4 -4
- package/dist/contact/dto/create-contact.dto.d.ts +6 -6
- package/dist/contact/dto/update-contact.dto.d.ts +6 -6
- package/dist/contact/schemas/contact.schema.d.ts +3 -3
- package/dist/deliveries/dto/create-deliveries.dto.d.ts +3 -3
- package/dist/deliveries/schemas/deliveries-inventary.schema.d.ts +2 -2
- package/dist/deliveries/schemas/deliveries.schema.d.ts +4 -4
- package/dist/detal/dto/detal-pagination.dto.d.ts +2 -2
- package/dist/detal/dto/get-one-detal-dto.d.ts +1 -1
- package/dist/detal/dto/update-detal.dto.d.ts +9 -9
- package/dist/detal/schemas/detal-deficit.schema.d.ts +203 -203
- package/dist/detal/schemas/detal.schema.d.ts +200 -200
- package/dist/document/schemas/documentsSchema.d.ts +4 -4
- package/dist/equipment/dto/create-equipment.dto.d.ts +1 -1
- package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
- package/dist/equipment/schemas/equipment.schema.d.ts +98 -93
- package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +2 -2
- package/dist/expenditure/schema/expenditure.schema.d.ts +2 -2
- package/dist/instrument/dto/create-name-instrument.dto.d.ts +1 -1
- package/dist/instrument/dto/update-name-instrument.dto.d.ts +2 -2
- package/dist/inventary/dto/create-inventary.dto.d.ts +1 -1
- package/dist/marks/dto/change-mark-quantity.dto.d.ts +16 -16
- package/dist/marks/dto/create-mark.dto.d.ts +8 -8
- package/dist/marks/dto/update-mark.dto.d.ts +2 -2
- package/dist/marks/schemas/marks.schema.d.ts +8 -8
- package/dist/marks/type/type.d.ts +2 -2
- package/dist/material/dto/create-material.dto.d.ts +20 -20
- package/dist/material/schemas/material-characteristics.schema.d.ts +6 -6
- package/dist/material/schemas/material.schema.d.ts +26 -26
- package/dist/metaloworking/schemas/metaloworking-by-operation.schema.d.ts +4 -4
- package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
- package/dist/movement-error/schemas/movement-error.schema.d.ts +2 -2
- package/dist/moving/schemas/moving.schema.d.ts +463 -456
- package/dist/operations/dto/create-type-operation.dto.d.ts +4 -0
- package/dist/operations/dto/create-type-operation.dto.js +5 -1
- package/dist/operations/dto/update-type-operation.dto.d.ts +4 -0
- package/dist/operations/dto/update-type-operation.dto.js +5 -1
- package/dist/operations/enums/enums.d.ts +7 -0
- package/dist/operations/enums/enums.js +21 -1
- package/dist/operations/index.d.ts +2 -0
- package/dist/operations/index.js +2 -0
- package/dist/operations/interfaces/interface.d.ts +5 -0
- package/dist/operations/schemas/operation.schema.d.ts +21 -17
- package/dist/operations/schemas/operation.schema.js +4 -0
- package/dist/operations/schemas/type-operation.schema.d.ts +4 -0
- package/dist/operations/schemas/type-operation.schema.js +2 -0
- package/dist/product/dto/up-create-product.dto.d.ts +7 -7
- package/dist/product/schemas/product-deficit.schema.d.ts +20 -20
- package/dist/product/schemas/product-material.schema.d.ts +2 -2
- package/dist/product/schemas/product-specification.schema.d.ts +2 -2
- package/dist/product/schemas/product.schema.d.ts +17 -17
- package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +2 -2
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.d.ts +4 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.js +3 -1
- package/dist/production-tasks/dto/get-production-task-by-user.dto.d.ts +4 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.js +2 -0
- package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +2 -2
- package/dist/production-tasks/interfaces/production-tasks.d.ts +2 -0
- package/dist/production-tasks/interfaces/workload-by-entity.d.ts +19 -0
- package/dist/production-tasks/schemas/operation-positions.schema.d.ts +7 -4
- package/dist/production-tasks/schemas/operation-positions.schema.js +1 -0
- package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +4 -4
- package/dist/provider/dto/create-provider.dto.d.ts +4 -4
- package/dist/provider/schemas/provider.schema.d.ts +1 -1
- package/dist/rack/dto/get-all-racks.dto.d.ts +3 -0
- package/dist/rack/dto/get-all-racks.dto.js +2 -1
- package/dist/role/schemas/role.schema.d.ts +455 -448
- package/dist/sclad/schemas/remain.schema.d.ts +2 -2
- package/dist/sclad/schemas/remains.schema.d.ts +6 -6
- package/dist/shipments/dto/get-attributes.dto.d.ts +2 -2
- package/dist/shipments/dto/shipments-list-pagination.dto.d.ts +1 -1
- package/dist/shipments/dto/shipments-paginate.dto.d.ts +2 -2
- package/dist/shipments/schemas/sh-complit.schema.d.ts +2 -2
- package/dist/shipments/schemas/shipments.schema.d.ts +2 -2
- package/dist/specification/dto/specification-attributes.dto.d.ts +1 -1
- package/dist/specification/schema/attributes.schema.d.ts +472 -472
- package/dist/stock-order/schemas/stock-order-item.schema.d.ts +2 -2
- package/dist/tech-process/schemas/tech-process.schema.d.ts +31 -26
- package/dist/thread/dto/add-thread.dto.d.ts +8 -8
- package/dist/user/dto/create-user.dto.d.ts +5 -5
- package/dist/user/dto/get-one-user.dto.d.ts +2 -2
- package/dist/user/schemas/user.schema.d.ts +267 -262
- package/dist/utils/enums.d.ts +2 -1
- package/dist/utils/enums.js +2 -1
- package/dist/utils/methods.d.ts +13 -0
- package/dist/utils/methods.js +106 -26
- package/dist/utils/types/types.d.ts +1 -0
- package/dist/waybill/dto/create-waybill-product.dto.d.ts +8 -2
- package/dist/waybill/dto/create-waybill-product.dto.js +15 -1
- package/dist/waybill/dto/create-waybill.dto.d.ts +16 -6
- package/dist/waybill/dto/create-waybill.dto.js +1 -1
- package/dist/waybill/interface/interface.d.ts +1 -0
- package/dist/waybill/schemas/waybill-product.schema.d.ts +8 -8
- package/dist/waybill/schemas/waybill.schema.d.ts +2 -2
- package/package.json +1 -1
- 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/index.js +0 -21
- 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/index.js +0 -21
- package/dist/library/interfaces/interface.d.ts +0 -3
- package/dist/library/interfaces/interface.js +0 -2
- 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/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/utils/interface/mat.interface.js +0 -2
- /package/dist/{issue/interfaces/interface.js → production-tasks/interfaces/workload-by-entity.js} +0 -0
|
@@ -52,63 +52,63 @@ export declare const CbedSchema: z.ZodObject<{
|
|
|
52
52
|
description: string | null;
|
|
53
53
|
id: number;
|
|
54
54
|
name: string;
|
|
55
|
-
assemble_id: number | null;
|
|
56
|
-
attention: boolean;
|
|
57
|
-
materialList: EntityCommonSpecificationArray | null;
|
|
58
|
-
quantity: number;
|
|
59
|
-
shipments_kolvo: number;
|
|
60
|
-
min_remaining: number;
|
|
61
|
-
responsibleId: number | null;
|
|
62
55
|
calculate_needs_time: Date | null;
|
|
56
|
+
min_remaining: number;
|
|
63
57
|
remainder_after_coming: number;
|
|
58
|
+
quantity: number;
|
|
64
59
|
deficit: number;
|
|
65
|
-
|
|
60
|
+
shipments_kolvo: number;
|
|
66
61
|
production_ordered: number;
|
|
67
62
|
deficit_by_sclad: number;
|
|
63
|
+
shipments_deficit: number;
|
|
68
64
|
ava_path: string | null;
|
|
69
65
|
parametrs: CbedParametrsField | null;
|
|
70
66
|
characteristic: CbedCharacteristicField | null;
|
|
71
|
-
|
|
67
|
+
materialList: EntityCommonSpecificationArray | null;
|
|
72
68
|
listPokDet: EntityCommonSpecificationArray | null;
|
|
73
69
|
listCbed: EntityCommonSpecificationArray | null;
|
|
74
70
|
listDetal: EntityCommonSpecificationArray | null;
|
|
75
|
-
|
|
71
|
+
attention: boolean;
|
|
72
|
+
in_kit: number;
|
|
73
|
+
responsibleId: number | null;
|
|
74
|
+
assemble_id: number | null;
|
|
76
75
|
task_relative_id?: number | null | undefined;
|
|
77
76
|
task_relative_type?: IzdType | null | undefined;
|
|
78
77
|
discontinued?: boolean | undefined;
|
|
79
78
|
production_time_assemble?: ProductionTimeType | null | undefined;
|
|
79
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
designation: string | null;
|
|
82
82
|
description: string | null;
|
|
83
83
|
id: number;
|
|
84
84
|
name: string;
|
|
85
|
-
assemble_id: number | null;
|
|
86
|
-
materialList: EntityCommonSpecificationArray | null;
|
|
87
|
-
responsibleId: number | null;
|
|
88
85
|
ava_path: string | null;
|
|
89
86
|
parametrs: CbedParametrsField | null;
|
|
90
87
|
characteristic: CbedCharacteristicField | null;
|
|
88
|
+
materialList: EntityCommonSpecificationArray | null;
|
|
91
89
|
listPokDet: EntityCommonSpecificationArray | null;
|
|
92
90
|
listCbed: EntityCommonSpecificationArray | null;
|
|
93
91
|
listDetal: EntityCommonSpecificationArray | null;
|
|
92
|
+
responsibleId: number | null;
|
|
93
|
+
assemble_id: number | null;
|
|
94
94
|
ban?: boolean | undefined;
|
|
95
95
|
cbed?: CbedRelativeType[] | undefined;
|
|
96
|
-
attention?: boolean | undefined;
|
|
97
|
-
quantity?: number | undefined;
|
|
98
|
-
shipments_kolvo?: number | undefined;
|
|
99
|
-
min_remaining?: number | undefined;
|
|
100
96
|
calculate_needs_time?: Date | null | undefined;
|
|
97
|
+
min_remaining?: number | undefined;
|
|
101
98
|
remainder_after_coming?: number | undefined;
|
|
99
|
+
task_relative_id?: number | null | undefined;
|
|
100
|
+
task_relative_type?: IzdType | null | undefined;
|
|
101
|
+
quantity?: number | undefined;
|
|
102
102
|
deficit?: number | undefined;
|
|
103
|
-
|
|
103
|
+
shipments_kolvo?: number | undefined;
|
|
104
104
|
production_ordered?: number | undefined;
|
|
105
105
|
deficit_by_sclad?: number | undefined;
|
|
106
|
-
|
|
106
|
+
shipments_deficit?: number | undefined;
|
|
107
|
+
attention?: boolean | undefined;
|
|
107
108
|
in_kit?: number | undefined;
|
|
108
|
-
task_relative_id?: number | null | undefined;
|
|
109
|
-
task_relative_type?: IzdType | null | undefined;
|
|
110
109
|
discontinued?: boolean | undefined;
|
|
111
110
|
production_time_assemble?: ProductionTimeType | null | undefined;
|
|
111
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
export type ModelCbed = z.infer<typeof CbedSchema> & {
|
|
114
114
|
documents?: ModelDocuments[];
|
|
@@ -5,6 +5,7 @@ export declare const companiesPaginationDtoZod: z.ZodObject<{
|
|
|
5
5
|
isSortedByAttention: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6
6
|
isSortedByDate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7
7
|
filterByTypes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../enums/enums").DtoEnumCompanyType>, "many">>>;
|
|
8
|
+
isFilteredByInboundSupplier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8
9
|
isBan: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
10
|
filterByEntities: z.ZodOptional<z.ZodObject<{
|
|
10
11
|
materialIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -29,6 +30,7 @@ export declare const companiesPaginationDtoZod: z.ZodObject<{
|
|
|
29
30
|
isSortedByDate: boolean;
|
|
30
31
|
isBan: boolean;
|
|
31
32
|
filterByTypes: import("../enums/enums").DtoEnumCompanyType[];
|
|
33
|
+
isFilteredByInboundSupplier: boolean;
|
|
32
34
|
filterByEntities?: {
|
|
33
35
|
equipmentIds: number[];
|
|
34
36
|
materialIds: number[];
|
|
@@ -42,6 +44,7 @@ export declare const companiesPaginationDtoZod: z.ZodObject<{
|
|
|
42
44
|
isSortedByDate?: boolean | undefined;
|
|
43
45
|
isBan?: boolean | undefined;
|
|
44
46
|
filterByTypes?: import("../enums/enums").DtoEnumCompanyType[] | undefined;
|
|
47
|
+
isFilteredByInboundSupplier?: boolean | undefined;
|
|
45
48
|
filterByEntities?: {
|
|
46
49
|
equipmentIds?: number[] | undefined;
|
|
47
50
|
materialIds?: number[] | undefined;
|
|
@@ -9,6 +9,7 @@ exports.companiesPaginationDtoZod = zod_1.z.object({
|
|
|
9
9
|
isSortedByAttention: zod_1.z.boolean().optional().default(false),
|
|
10
10
|
isSortedByDate: zod_1.z.boolean().optional().default(false),
|
|
11
11
|
filterByTypes: zod_1.z.array(enums_1.EnumDtoCompanyTypeZod).optional().default([]),
|
|
12
|
+
isFilteredByInboundSupplier: zod_1.z.boolean().optional().default(false),
|
|
12
13
|
isBan: zod_1.z.boolean().optional().default(false),
|
|
13
14
|
filterByEntities: zod_1.z
|
|
14
15
|
.object({
|
|
@@ -30,11 +30,6 @@ 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;
|
|
34
|
-
docs?: string | undefined;
|
|
35
|
-
inn?: string | undefined;
|
|
36
|
-
cpp?: string | undefined;
|
|
37
|
-
attention?: boolean | undefined;
|
|
38
33
|
requisites?: {
|
|
39
34
|
value: string;
|
|
40
35
|
title: {
|
|
@@ -42,6 +37,11 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
42
37
|
value?: string | undefined;
|
|
43
38
|
};
|
|
44
39
|
}[] | undefined;
|
|
40
|
+
attention?: boolean | undefined;
|
|
41
|
+
equipmentIds?: number[] | undefined;
|
|
42
|
+
docs?: string | undefined;
|
|
43
|
+
inn?: string | undefined;
|
|
44
|
+
cpp?: string | undefined;
|
|
45
45
|
materialIds?: number[] | undefined;
|
|
46
46
|
instrumentIds?: number[] | undefined;
|
|
47
47
|
inventaryIds?: number[] | undefined;
|
|
@@ -51,11 +51,6 @@ 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;
|
|
55
|
-
docs?: string | undefined;
|
|
56
|
-
inn?: string | undefined;
|
|
57
|
-
cpp?: string | undefined;
|
|
58
|
-
attention?: boolean | undefined;
|
|
59
54
|
requisites?: {
|
|
60
55
|
value: string;
|
|
61
56
|
title: {
|
|
@@ -63,6 +58,11 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
63
58
|
value?: string | undefined;
|
|
64
59
|
};
|
|
65
60
|
}[] | undefined;
|
|
61
|
+
attention?: boolean | undefined;
|
|
62
|
+
equipmentIds?: number[] | undefined;
|
|
63
|
+
docs?: string | undefined;
|
|
64
|
+
inn?: string | undefined;
|
|
65
|
+
cpp?: string | undefined;
|
|
66
66
|
materialIds?: number[] | undefined;
|
|
67
67
|
instrumentIds?: number[] | undefined;
|
|
68
68
|
inventaryIds?: number[] | undefined;
|
|
@@ -32,11 +32,6 @@ 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;
|
|
36
|
-
docs?: string | undefined;
|
|
37
|
-
inn?: string | undefined;
|
|
38
|
-
cpp?: string | undefined;
|
|
39
|
-
attention?: boolean | undefined;
|
|
40
35
|
requisites?: {
|
|
41
36
|
value: string;
|
|
42
37
|
title: {
|
|
@@ -44,6 +39,11 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
44
39
|
value?: string | undefined;
|
|
45
40
|
};
|
|
46
41
|
}[] | undefined;
|
|
42
|
+
attention?: boolean | undefined;
|
|
43
|
+
equipmentIds?: number[] | undefined;
|
|
44
|
+
docs?: string | undefined;
|
|
45
|
+
inn?: string | undefined;
|
|
46
|
+
cpp?: string | undefined;
|
|
47
47
|
materialIds?: number[] | undefined;
|
|
48
48
|
instrumentIds?: number[] | undefined;
|
|
49
49
|
inventaryIds?: number[] | undefined;
|
|
@@ -54,11 +54,6 @@ 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;
|
|
58
|
-
docs?: string | undefined;
|
|
59
|
-
inn?: string | undefined;
|
|
60
|
-
cpp?: string | undefined;
|
|
61
|
-
attention?: boolean | undefined;
|
|
62
57
|
requisites?: {
|
|
63
58
|
value: string;
|
|
64
59
|
title: {
|
|
@@ -66,6 +61,11 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
66
61
|
value?: string | undefined;
|
|
67
62
|
};
|
|
68
63
|
}[] | undefined;
|
|
64
|
+
attention?: boolean | undefined;
|
|
65
|
+
equipmentIds?: number[] | undefined;
|
|
66
|
+
docs?: string | undefined;
|
|
67
|
+
inn?: string | undefined;
|
|
68
|
+
cpp?: string | undefined;
|
|
69
69
|
materialIds?: number[] | undefined;
|
|
70
70
|
instrumentIds?: number[] | undefined;
|
|
71
71
|
inventaryIds?: number[] | undefined;
|
|
@@ -35,7 +35,6 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
35
35
|
ban: boolean;
|
|
36
36
|
id: number;
|
|
37
37
|
name: string;
|
|
38
|
-
attention: boolean;
|
|
39
38
|
requisites: {
|
|
40
39
|
value: string;
|
|
41
40
|
title: {
|
|
@@ -43,6 +42,7 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
43
42
|
value?: string | undefined;
|
|
44
43
|
};
|
|
45
44
|
}[];
|
|
45
|
+
attention: boolean;
|
|
46
46
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
47
47
|
description?: string | null | undefined;
|
|
48
48
|
inn?: string | null | undefined;
|
|
@@ -53,9 +53,6 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
53
53
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
54
54
|
ban?: boolean | undefined;
|
|
55
55
|
description?: string | null | undefined;
|
|
56
|
-
inn?: string | null | undefined;
|
|
57
|
-
cpp?: string | null | undefined;
|
|
58
|
-
attention?: boolean | undefined;
|
|
59
56
|
requisites?: {
|
|
60
57
|
value: string;
|
|
61
58
|
title: {
|
|
@@ -63,6 +60,9 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
63
60
|
value?: string | undefined;
|
|
64
61
|
};
|
|
65
62
|
}[] | undefined;
|
|
63
|
+
attention?: boolean | undefined;
|
|
64
|
+
inn?: string | null | undefined;
|
|
65
|
+
cpp?: string | null | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
export type ModelCompany = z.infer<typeof CompanySchema> & {
|
|
68
68
|
contacts?: ModelContact[];
|
|
@@ -21,9 +21,6 @@ export declare const сreateContactDtoZod: z.ZodObject<{
|
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
initial: string;
|
|
23
23
|
description?: string | undefined;
|
|
24
|
-
attention?: boolean | undefined;
|
|
25
|
-
companyIds?: number[] | undefined;
|
|
26
|
-
position?: string | undefined;
|
|
27
24
|
requisites?: {
|
|
28
25
|
value: string;
|
|
29
26
|
title: {
|
|
@@ -31,12 +28,12 @@ export declare const сreateContactDtoZod: z.ZodObject<{
|
|
|
31
28
|
value?: string | undefined;
|
|
32
29
|
};
|
|
33
30
|
}[] | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
initial: string;
|
|
36
|
-
description?: string | undefined;
|
|
37
31
|
attention?: boolean | undefined;
|
|
38
32
|
companyIds?: number[] | undefined;
|
|
39
33
|
position?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
initial: string;
|
|
36
|
+
description?: string | undefined;
|
|
40
37
|
requisites?: {
|
|
41
38
|
value: string;
|
|
42
39
|
title: {
|
|
@@ -44,5 +41,8 @@ export declare const сreateContactDtoZod: z.ZodObject<{
|
|
|
44
41
|
value?: string | undefined;
|
|
45
42
|
};
|
|
46
43
|
}[] | undefined;
|
|
44
|
+
attention?: boolean | undefined;
|
|
45
|
+
companyIds?: number[] | undefined;
|
|
46
|
+
position?: string | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type CreateContactDtoZodType = z.infer<typeof сreateContactDtoZod>;
|
|
@@ -23,9 +23,6 @@ export declare const updateContactDtoZod: z.ZodObject<{
|
|
|
23
23
|
id: number;
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
initial?: string | undefined;
|
|
26
|
-
attention?: boolean | undefined;
|
|
27
|
-
companyIds?: number[] | undefined;
|
|
28
|
-
position?: string | undefined;
|
|
29
26
|
requisites?: {
|
|
30
27
|
value: string;
|
|
31
28
|
title: {
|
|
@@ -33,13 +30,13 @@ export declare const updateContactDtoZod: z.ZodObject<{
|
|
|
33
30
|
value?: string | undefined;
|
|
34
31
|
};
|
|
35
32
|
}[] | undefined;
|
|
33
|
+
attention?: boolean | undefined;
|
|
34
|
+
companyIds?: number[] | undefined;
|
|
35
|
+
position?: string | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
id: number;
|
|
38
38
|
description?: string | undefined;
|
|
39
39
|
initial?: string | undefined;
|
|
40
|
-
attention?: boolean | undefined;
|
|
41
|
-
companyIds?: number[] | undefined;
|
|
42
|
-
position?: string | undefined;
|
|
43
40
|
requisites?: {
|
|
44
41
|
value: string;
|
|
45
42
|
title: {
|
|
@@ -47,5 +44,8 @@ export declare const updateContactDtoZod: z.ZodObject<{
|
|
|
47
44
|
value?: string | undefined;
|
|
48
45
|
};
|
|
49
46
|
}[] | undefined;
|
|
47
|
+
attention?: boolean | undefined;
|
|
48
|
+
companyIds?: number[] | undefined;
|
|
49
|
+
position?: string | undefined;
|
|
50
50
|
}>;
|
|
51
51
|
export type UpdateContactDtoZodType = z.infer<typeof updateContactDtoZod>;
|
|
@@ -23,8 +23,6 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
23
23
|
ban: boolean;
|
|
24
24
|
id: number;
|
|
25
25
|
initial: string;
|
|
26
|
-
attention: boolean;
|
|
27
|
-
position: string;
|
|
28
26
|
requisites: {
|
|
29
27
|
value: string;
|
|
30
28
|
title: {
|
|
@@ -32,6 +30,8 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
32
30
|
value?: string | undefined;
|
|
33
31
|
};
|
|
34
32
|
}[];
|
|
33
|
+
attention: boolean;
|
|
34
|
+
position: string;
|
|
35
35
|
designation?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
id: number;
|
|
@@ -39,7 +39,6 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
39
39
|
position: string;
|
|
40
40
|
ban?: boolean | undefined;
|
|
41
41
|
designation?: string | null | undefined;
|
|
42
|
-
attention?: boolean | undefined;
|
|
43
42
|
requisites?: {
|
|
44
43
|
value: string;
|
|
45
44
|
title: {
|
|
@@ -47,5 +46,6 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
47
46
|
value?: string | undefined;
|
|
48
47
|
};
|
|
49
48
|
}[] | undefined;
|
|
49
|
+
attention?: boolean | undefined;
|
|
50
50
|
}>;
|
|
51
51
|
export type ModelContact = z.infer<typeof ContactSchema>;
|
|
@@ -12,8 +12,8 @@ export declare const DeliveryPositionListItemSchema: z.ZodObject<{
|
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
type: EnumEntityDeliveryItem;
|
|
14
14
|
description: string;
|
|
15
|
-
shipped: number;
|
|
16
15
|
quantity: number;
|
|
16
|
+
shipped: number;
|
|
17
17
|
entityId: number;
|
|
18
18
|
ezId: number;
|
|
19
19
|
sum: number;
|
|
@@ -45,8 +45,8 @@ export declare const CreateDeliveriesDtoZod: z.ZodObject<{
|
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
type: EnumEntityDeliveryItem;
|
|
47
47
|
description: string;
|
|
48
|
-
shipped: number;
|
|
49
48
|
quantity: number;
|
|
49
|
+
shipped: number;
|
|
50
50
|
entityId: number;
|
|
51
51
|
ezId: number;
|
|
52
52
|
sum: number;
|
|
@@ -73,8 +73,8 @@ export declare const CreateDeliveriesDtoZod: z.ZodObject<{
|
|
|
73
73
|
deliveryPositionList: {
|
|
74
74
|
type: EnumEntityDeliveryItem;
|
|
75
75
|
description: string;
|
|
76
|
-
shipped: number;
|
|
77
76
|
quantity: number;
|
|
77
|
+
shipped: number;
|
|
78
78
|
entityId: number;
|
|
79
79
|
ezId: number;
|
|
80
80
|
sum: number;
|
|
@@ -4,12 +4,12 @@ export declare const DeliveriesInventarySchema: z.ZodObject<{
|
|
|
4
4
|
deliveries_id: z.ZodNumber;
|
|
5
5
|
inventary_id: z.ZodNumber;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
inventary_id: number;
|
|
8
7
|
deliveries_id: number;
|
|
8
|
+
inventary_id: number;
|
|
9
9
|
id?: number | null | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
inventary_id: number;
|
|
12
11
|
deliveries_id: number;
|
|
12
|
+
inventary_id: number;
|
|
13
13
|
id?: number | null | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export type ModelDeliveriesInventary = z.infer<typeof DeliveriesInventarySchema>;
|
|
@@ -30,12 +30,12 @@ export declare const DeliveriesSchema: z.ZodObject<{
|
|
|
30
30
|
id?: number | null | undefined;
|
|
31
31
|
number_order?: string | undefined;
|
|
32
32
|
number_check?: string | undefined;
|
|
33
|
-
count?: number | undefined;
|
|
34
33
|
provider_id?: number | null | undefined;
|
|
34
|
+
createdAt?: string | undefined;
|
|
35
|
+
count?: number | undefined;
|
|
35
36
|
date_shipments?: Date | undefined;
|
|
36
37
|
delivery_position_list?: DELIVERY_POSITION_LIST | undefined;
|
|
37
38
|
company_id?: number | null | undefined;
|
|
38
|
-
createdAt?: string | undefined;
|
|
39
39
|
updatedAt?: string | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
status: EnumStatusDelivery;
|
|
@@ -44,13 +44,13 @@ export declare const DeliveriesSchema: z.ZodObject<{
|
|
|
44
44
|
id?: number | null | undefined;
|
|
45
45
|
number_order?: string | undefined;
|
|
46
46
|
number_check?: string | undefined;
|
|
47
|
-
count?: number | undefined;
|
|
48
47
|
provider_id?: number | null | undefined;
|
|
48
|
+
createdAt?: string | undefined;
|
|
49
|
+
count?: number | undefined;
|
|
49
50
|
date_shipments?: Date | undefined;
|
|
50
51
|
nds?: number | undefined;
|
|
51
52
|
delivery_position_list?: DELIVERY_POSITION_LIST | undefined;
|
|
52
53
|
company_id?: number | null | undefined;
|
|
53
|
-
createdAt?: string | undefined;
|
|
54
54
|
updatedAt?: string | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
export type ModelDeliveries = z.infer<typeof DeliveriesSchema> & {
|
|
@@ -12,20 +12,20 @@ export declare const DetalPaginationDtoZod: z.ZodObject<{
|
|
|
12
12
|
enableIsDiscontinuedView: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
page: number;
|
|
15
|
+
listDetal: EntityCommonSpecificationArray;
|
|
15
16
|
searchString: string;
|
|
16
17
|
isSortedByAttention: boolean;
|
|
17
18
|
isSortedByDate: boolean;
|
|
18
|
-
listDetal: EntityCommonSpecificationArray;
|
|
19
19
|
isSortedByOwn: boolean;
|
|
20
20
|
isSortedByOperations: boolean;
|
|
21
21
|
isDiscontinued: boolean;
|
|
22
22
|
enableIsDiscontinuedView: boolean;
|
|
23
23
|
}, {
|
|
24
24
|
page?: number | undefined;
|
|
25
|
+
listDetal?: unknown;
|
|
25
26
|
searchString?: string | undefined;
|
|
26
27
|
isSortedByAttention?: boolean | undefined;
|
|
27
28
|
isSortedByDate?: boolean | undefined;
|
|
28
|
-
listDetal?: unknown;
|
|
29
29
|
isSortedByOwn?: boolean | undefined;
|
|
30
30
|
isSortedByOperations?: boolean | undefined;
|
|
31
31
|
isDiscontinued?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const GetOneDetalDtoZod: z.ZodObject<{
|
|
|
10
10
|
attributes?: string[] | undefined;
|
|
11
11
|
}, {
|
|
12
12
|
id: number;
|
|
13
|
-
modelsInclude?: unknown;
|
|
14
13
|
attributes?: unknown;
|
|
14
|
+
modelsInclude?: unknown;
|
|
15
15
|
}>;
|
|
16
16
|
export type GetOneDetalDtoType = z.infer<typeof GetOneDetalDtoZod>;
|
|
@@ -22,16 +22,16 @@ export declare const UpCreateDetalDtoZod: z.ZodObject<{
|
|
|
22
22
|
designation: string;
|
|
23
23
|
description: string;
|
|
24
24
|
name: string;
|
|
25
|
-
attention: boolean;
|
|
26
|
-
materialList: EntityCommonSpecificationArray;
|
|
27
25
|
parametrs: detalParametrsField;
|
|
28
|
-
|
|
26
|
+
materialList: EntityCommonSpecificationArray;
|
|
27
|
+
attention: boolean;
|
|
29
28
|
discontinued: boolean;
|
|
29
|
+
workpiece_characterization: DetalWorkpieceCharacteristics;
|
|
30
30
|
responsible: string;
|
|
31
31
|
id?: number | null | undefined;
|
|
32
|
+
characteristic?: any;
|
|
32
33
|
docs?: any;
|
|
33
34
|
fileBase?: string | undefined;
|
|
34
|
-
characteristic?: any;
|
|
35
35
|
mat_zag?: number | null | undefined;
|
|
36
36
|
mat_zag_zam?: number | null | undefined;
|
|
37
37
|
techProcessID?: number | null | undefined;
|
|
@@ -41,16 +41,16 @@ export declare const UpCreateDetalDtoZod: z.ZodObject<{
|
|
|
41
41
|
name: string;
|
|
42
42
|
responsible: string;
|
|
43
43
|
id?: unknown;
|
|
44
|
-
docs?: any;
|
|
45
|
-
attention?: unknown;
|
|
46
|
-
materialList?: unknown;
|
|
47
|
-
fileBase?: string | undefined;
|
|
48
44
|
parametrs?: unknown;
|
|
49
45
|
characteristic?: any;
|
|
46
|
+
materialList?: unknown;
|
|
47
|
+
attention?: unknown;
|
|
48
|
+
discontinued?: unknown;
|
|
49
|
+
docs?: any;
|
|
50
|
+
fileBase?: string | undefined;
|
|
50
51
|
workpiece_characterization?: unknown;
|
|
51
52
|
mat_zag?: unknown;
|
|
52
53
|
mat_zag_zam?: unknown;
|
|
53
|
-
discontinued?: unknown;
|
|
54
54
|
techProcessID?: unknown;
|
|
55
55
|
}>;
|
|
56
56
|
export type UpCreateDetalDtoType = z.infer<typeof UpCreateDetalDtoZod>;
|