@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
|
@@ -23,8 +23,8 @@ export declare const RemainSchema: z.ZodObject<{
|
|
|
23
23
|
quantity: number;
|
|
24
24
|
createdAt: string | Date;
|
|
25
25
|
attetion: boolean;
|
|
26
|
-
shipments_kolvo?: number | undefined;
|
|
27
26
|
min_remaining?: number | undefined;
|
|
27
|
+
shipments_kolvo?: number | undefined;
|
|
28
28
|
production_ordered?: number | undefined;
|
|
29
29
|
ava_path?: string | undefined;
|
|
30
30
|
in_kit?: number | undefined;
|
|
@@ -38,8 +38,8 @@ export declare const RemainSchema: z.ZodObject<{
|
|
|
38
38
|
quantity: number;
|
|
39
39
|
createdAt: string | Date;
|
|
40
40
|
attetion: boolean;
|
|
41
|
-
shipments_kolvo?: number | undefined;
|
|
42
41
|
min_remaining?: number | undefined;
|
|
42
|
+
shipments_kolvo?: number | undefined;
|
|
43
43
|
production_ordered?: number | undefined;
|
|
44
44
|
ava_path?: string | undefined;
|
|
45
45
|
in_kit?: number | undefined;
|
|
@@ -88,6 +88,9 @@ declare const RemainsSchema: z.ZodObject<{
|
|
|
88
88
|
name: string;
|
|
89
89
|
designation?: string | undefined;
|
|
90
90
|
id?: number | null | undefined;
|
|
91
|
+
min_remaining?: number | undefined;
|
|
92
|
+
quantity?: number | undefined;
|
|
93
|
+
shipments_kolvo?: number | undefined;
|
|
91
94
|
materialList?: {
|
|
92
95
|
designation?: string | undefined;
|
|
93
96
|
id?: number | null | undefined;
|
|
@@ -95,9 +98,6 @@ declare const RemainsSchema: z.ZodObject<{
|
|
|
95
98
|
quantity?: number | undefined;
|
|
96
99
|
units?: number | undefined;
|
|
97
100
|
}[] | undefined;
|
|
98
|
-
quantity?: number | undefined;
|
|
99
|
-
shipments_kolvo?: number | undefined;
|
|
100
|
-
min_remaining?: number | undefined;
|
|
101
101
|
listPokDet?: {
|
|
102
102
|
designation?: string | undefined;
|
|
103
103
|
id?: number | null | undefined;
|
|
@@ -125,6 +125,9 @@ declare const RemainsSchema: z.ZodObject<{
|
|
|
125
125
|
name: string;
|
|
126
126
|
designation?: string | undefined;
|
|
127
127
|
id?: number | null | undefined;
|
|
128
|
+
min_remaining?: number | undefined;
|
|
129
|
+
quantity?: number | undefined;
|
|
130
|
+
shipments_kolvo?: number | undefined;
|
|
128
131
|
materialList?: {
|
|
129
132
|
designation?: string | undefined;
|
|
130
133
|
id?: number | null | undefined;
|
|
@@ -132,9 +135,6 @@ declare const RemainsSchema: z.ZodObject<{
|
|
|
132
135
|
quantity?: number | undefined;
|
|
133
136
|
units?: number | undefined;
|
|
134
137
|
}[] | undefined;
|
|
135
|
-
quantity?: number | undefined;
|
|
136
|
-
shipments_kolvo?: number | undefined;
|
|
137
|
-
min_remaining?: number | undefined;
|
|
138
138
|
listPokDet?: {
|
|
139
139
|
designation?: string | undefined;
|
|
140
140
|
id?: number | null | undefined;
|
|
@@ -3,10 +3,10 @@ export declare const GetAttributesSchema: z.ZodObject<{
|
|
|
3
3
|
shipmentIds: z.ZodArray<z.ZodNumber, "many">;
|
|
4
4
|
attributes: z.ZodArray<z.ZodString, "many">;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
shipmentIds: number[];
|
|
7
6
|
attributes: string[];
|
|
8
|
-
}, {
|
|
9
7
|
shipmentIds: number[];
|
|
8
|
+
}, {
|
|
10
9
|
attributes: string[];
|
|
10
|
+
shipmentIds: number[];
|
|
11
11
|
}>;
|
|
12
12
|
export type GetAttributesDto = z.infer<typeof GetAttributesSchema>;
|
|
@@ -11,8 +11,8 @@ export declare const ShipmentsListPaginationSchema: z.ZodObject<{
|
|
|
11
11
|
modelsInclude?: any;
|
|
12
12
|
}, {
|
|
13
13
|
page: number;
|
|
14
|
+
attributes?: string[] | undefined;
|
|
14
15
|
searchString?: string | undefined;
|
|
15
16
|
modelsInclude?: string | undefined;
|
|
16
|
-
attributes?: string[] | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type ShipmentsListPaginationDto = z.infer<typeof ShipmentsListPaginationSchema>;
|
|
@@ -24,8 +24,8 @@ export declare const ShipmentsPaginateSchema: z.ZodObject<{
|
|
|
24
24
|
end: string;
|
|
25
25
|
} | null;
|
|
26
26
|
offset: number;
|
|
27
|
-
parentId?: number | null | undefined;
|
|
28
27
|
attributes?: string[] | undefined;
|
|
28
|
+
parentId?: number | null | undefined;
|
|
29
29
|
searchStr?: string | undefined;
|
|
30
30
|
companyId?: number | null | undefined;
|
|
31
31
|
}, {
|
|
@@ -35,8 +35,8 @@ export declare const ShipmentsPaginateSchema: z.ZodObject<{
|
|
|
35
35
|
end: string;
|
|
36
36
|
} | null;
|
|
37
37
|
offset: number;
|
|
38
|
-
parentId?: number | null | undefined;
|
|
39
38
|
attributes?: string[] | undefined;
|
|
39
|
+
parentId?: number | null | undefined;
|
|
40
40
|
searchStr?: string | undefined;
|
|
41
41
|
companyId?: number | null | undefined;
|
|
42
42
|
}>;
|
|
@@ -40,8 +40,8 @@ export declare const ShComplitSchema: z.ZodObject<{
|
|
|
40
40
|
description: string;
|
|
41
41
|
id: number;
|
|
42
42
|
number_order: string;
|
|
43
|
-
base: string;
|
|
44
43
|
responsible_user_id: number;
|
|
44
|
+
base: string;
|
|
45
45
|
date_shipments: string;
|
|
46
46
|
company_id: number;
|
|
47
47
|
date_order: string;
|
|
@@ -62,8 +62,8 @@ export declare const ShComplitSchema: z.ZodObject<{
|
|
|
62
62
|
description: string;
|
|
63
63
|
id: number;
|
|
64
64
|
number_order: string;
|
|
65
|
-
base: string;
|
|
66
65
|
responsible_user_id: number;
|
|
66
|
+
base: string;
|
|
67
67
|
date_shipments: string;
|
|
68
68
|
company_id: number;
|
|
69
69
|
date_order: string;
|
|
@@ -53,10 +53,10 @@ export declare const ShipmentsSchema: z.ZodObject<{
|
|
|
53
53
|
ban?: boolean | undefined;
|
|
54
54
|
description?: string | null | undefined;
|
|
55
55
|
contacts?: string | null | undefined;
|
|
56
|
+
attention?: boolean | undefined;
|
|
56
57
|
inn?: string | null | undefined;
|
|
57
58
|
cpp?: string | null | undefined;
|
|
58
59
|
rekvisit?: string | null | undefined;
|
|
59
|
-
attention?: boolean | undefined;
|
|
60
60
|
purchasesId?: number | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
status: z.ZodDefault<z.ZodString>;
|
|
@@ -113,10 +113,10 @@ export declare const ShipmentsSchema: z.ZodObject<{
|
|
|
113
113
|
ban?: boolean | undefined;
|
|
114
114
|
description?: string | null | undefined;
|
|
115
115
|
contacts?: string | null | undefined;
|
|
116
|
+
attention?: boolean | undefined;
|
|
116
117
|
inn?: string | null | undefined;
|
|
117
118
|
cpp?: string | null | undefined;
|
|
118
119
|
rekvisit?: string | null | undefined;
|
|
119
|
-
attention?: boolean | undefined;
|
|
120
120
|
purchasesId?: number | undefined;
|
|
121
121
|
} | undefined;
|
|
122
122
|
company_id?: number | undefined;
|
|
@@ -5,8 +5,8 @@ export declare const GetAttributesFromIdsSchema: z.ZodObject<{
|
|
|
5
5
|
materialIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
6
6
|
attributes: z.ZodArray<z.ZodString, "many">;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
detalIds: number[];
|
|
9
8
|
attributes: string[];
|
|
9
|
+
detalIds: number[];
|
|
10
10
|
cbedIds: number[];
|
|
11
11
|
materialIds: number[];
|
|
12
12
|
}, {
|