@pksep/zod-shared 0.0.527 → 0.0.528
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 +23 -18
- package/dist/action/schemas/actions.schema.js +2 -1
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +81 -90
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +68 -75
- package/dist/assemble/schemas/assemble.schema.d.ts +62 -69
- 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/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 -98
- 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 +462 -462
- package/dist/operations/dto/create-type-operation.dto.d.ts +0 -4
- package/dist/operations/dto/create-type-operation.dto.js +1 -5
- package/dist/operations/dto/update-type-operation.dto.d.ts +0 -4
- package/dist/operations/dto/update-type-operation.dto.js +1 -5
- package/dist/operations/index.d.ts +0 -2
- package/dist/operations/index.js +0 -2
- package/dist/operations/interfaces/interface.d.ts +0 -5
- package/dist/operations/schemas/operation.schema.d.ts +17 -21
- package/dist/operations/schemas/operation.schema.js +0 -4
- package/dist/operations/schemas/type-operation.schema.d.ts +0 -4
- package/dist/operations/schemas/type-operation.schema.js +0 -2
- 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/workload-by-entity.dto.d.ts +2 -2
- package/dist/production-tasks/interfaces/production-tasks.d.ts +0 -1
- package/dist/production-tasks/schemas/operation-positions.schema.d.ts +4 -4
- 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/role/schemas/role.schema.d.ts +451 -451
- 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 +482 -482
- package/dist/stock-order/schemas/stock-order-item.schema.d.ts +2 -2
- package/dist/tech-process/schemas/tech-process.schema.d.ts +26 -31
- 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 +264 -264
- 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
|
@@ -52,63 +52,63 @@ export declare const CbedSchema: z.ZodObject<{
|
|
|
52
52
|
description: string | null;
|
|
53
53
|
id: number;
|
|
54
54
|
name: string;
|
|
55
|
-
|
|
55
|
+
assemble_id: number | null;
|
|
56
|
+
attention: boolean;
|
|
57
|
+
materialList: EntityCommonSpecificationArray | null;
|
|
58
|
+
quantity: number;
|
|
59
|
+
shipments_kolvo: number;
|
|
56
60
|
min_remaining: number;
|
|
61
|
+
responsibleId: number | null;
|
|
62
|
+
calculate_needs_time: Date | null;
|
|
57
63
|
remainder_after_coming: number;
|
|
58
|
-
quantity: number;
|
|
59
64
|
deficit: number;
|
|
60
|
-
|
|
65
|
+
shipments_deficit: number;
|
|
61
66
|
production_ordered: number;
|
|
62
67
|
deficit_by_sclad: number;
|
|
63
|
-
shipments_deficit: number;
|
|
64
68
|
ava_path: string | null;
|
|
65
69
|
parametrs: CbedParametrsField | null;
|
|
66
70
|
characteristic: CbedCharacteristicField | null;
|
|
67
|
-
|
|
71
|
+
in_kit: number;
|
|
68
72
|
listPokDet: EntityCommonSpecificationArray | null;
|
|
69
73
|
listCbed: EntityCommonSpecificationArray | null;
|
|
70
74
|
listDetal: EntityCommonSpecificationArray | null;
|
|
71
|
-
|
|
72
|
-
in_kit: number;
|
|
73
|
-
responsibleId: number | null;
|
|
74
|
-
assemble_id: number | null;
|
|
75
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
75
76
|
task_relative_id?: number | null | undefined;
|
|
76
77
|
task_relative_type?: IzdType | null | undefined;
|
|
77
78
|
discontinued?: boolean | undefined;
|
|
78
79
|
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;
|
|
85
88
|
ava_path: string | null;
|
|
86
89
|
parametrs: CbedParametrsField | null;
|
|
87
90
|
characteristic: CbedCharacteristicField | null;
|
|
88
|
-
materialList: EntityCommonSpecificationArray | null;
|
|
89
91
|
listPokDet: EntityCommonSpecificationArray | null;
|
|
90
92
|
listCbed: EntityCommonSpecificationArray | null;
|
|
91
93
|
listDetal: EntityCommonSpecificationArray | null;
|
|
92
|
-
responsibleId: number | null;
|
|
93
|
-
assemble_id: number | null;
|
|
94
94
|
ban?: boolean | undefined;
|
|
95
95
|
cbed?: CbedRelativeType[] | undefined;
|
|
96
|
-
|
|
96
|
+
attention?: boolean | undefined;
|
|
97
|
+
quantity?: number | undefined;
|
|
98
|
+
shipments_kolvo?: number | undefined;
|
|
97
99
|
min_remaining?: number | undefined;
|
|
100
|
+
calculate_needs_time?: Date | null | undefined;
|
|
98
101
|
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_deficit?: number | undefined;
|
|
104
104
|
production_ordered?: number | undefined;
|
|
105
105
|
deficit_by_sclad?: number | undefined;
|
|
106
|
-
|
|
107
|
-
attention?: boolean | undefined;
|
|
106
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
108
107
|
in_kit?: number | undefined;
|
|
108
|
+
task_relative_id?: number | null | undefined;
|
|
109
|
+
task_relative_type?: IzdType | null | undefined;
|
|
109
110
|
discontinued?: boolean | undefined;
|
|
110
111
|
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[];
|
|
@@ -30,6 +30,11 @@ 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;
|
|
33
38
|
requisites?: {
|
|
34
39
|
value: string;
|
|
35
40
|
title: {
|
|
@@ -37,11 +42,6 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
37
42
|
value?: string | undefined;
|
|
38
43
|
};
|
|
39
44
|
}[] | 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,6 +51,11 @@ 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;
|
|
54
59
|
requisites?: {
|
|
55
60
|
value: string;
|
|
56
61
|
title: {
|
|
@@ -58,11 +63,6 @@ export declare const сreateCompanyDtoZod: z.ZodObject<{
|
|
|
58
63
|
value?: string | undefined;
|
|
59
64
|
};
|
|
60
65
|
}[] | 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,6 +32,11 @@ 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;
|
|
35
40
|
requisites?: {
|
|
36
41
|
value: string;
|
|
37
42
|
title: {
|
|
@@ -39,11 +44,6 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
39
44
|
value?: string | undefined;
|
|
40
45
|
};
|
|
41
46
|
}[] | 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,6 +54,11 @@ 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;
|
|
57
62
|
requisites?: {
|
|
58
63
|
value: string;
|
|
59
64
|
title: {
|
|
@@ -61,11 +66,6 @@ export declare const updateCompanyDtoZod: z.ZodObject<{
|
|
|
61
66
|
value?: string | undefined;
|
|
62
67
|
};
|
|
63
68
|
}[] | 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,6 +35,7 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
35
35
|
ban: boolean;
|
|
36
36
|
id: number;
|
|
37
37
|
name: string;
|
|
38
|
+
attention: boolean;
|
|
38
39
|
requisites: {
|
|
39
40
|
value: string;
|
|
40
41
|
title: {
|
|
@@ -42,7 +43,6 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
42
43
|
value?: string | undefined;
|
|
43
44
|
};
|
|
44
45
|
}[];
|
|
45
|
-
attention: boolean;
|
|
46
46
|
type?: import("../enums/enums").EnumCompanyType[] | undefined;
|
|
47
47
|
description?: string | null | undefined;
|
|
48
48
|
inn?: string | null | undefined;
|
|
@@ -53,6 +53,9 @@ 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;
|
|
56
59
|
requisites?: {
|
|
57
60
|
value: string;
|
|
58
61
|
title: {
|
|
@@ -60,9 +63,6 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
60
63
|
value?: string | undefined;
|
|
61
64
|
};
|
|
62
65
|
}[] | 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,6 +21,9 @@ 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;
|
|
24
27
|
requisites?: {
|
|
25
28
|
value: string;
|
|
26
29
|
title: {
|
|
@@ -28,12 +31,12 @@ export declare const сreateContactDtoZod: z.ZodObject<{
|
|
|
28
31
|
value?: string | undefined;
|
|
29
32
|
};
|
|
30
33
|
}[] | undefined;
|
|
31
|
-
attention?: boolean | undefined;
|
|
32
|
-
companyIds?: number[] | undefined;
|
|
33
|
-
position?: string | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
initial: string;
|
|
36
36
|
description?: string | undefined;
|
|
37
|
+
attention?: boolean | undefined;
|
|
38
|
+
companyIds?: number[] | undefined;
|
|
39
|
+
position?: string | undefined;
|
|
37
40
|
requisites?: {
|
|
38
41
|
value: string;
|
|
39
42
|
title: {
|
|
@@ -41,8 +44,5 @@ export declare const сreateContactDtoZod: z.ZodObject<{
|
|
|
41
44
|
value?: string | undefined;
|
|
42
45
|
};
|
|
43
46
|
}[] | 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,6 +23,9 @@ 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;
|
|
26
29
|
requisites?: {
|
|
27
30
|
value: string;
|
|
28
31
|
title: {
|
|
@@ -30,13 +33,13 @@ export declare const updateContactDtoZod: z.ZodObject<{
|
|
|
30
33
|
value?: string | undefined;
|
|
31
34
|
};
|
|
32
35
|
}[] | 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;
|
|
40
43
|
requisites?: {
|
|
41
44
|
value: string;
|
|
42
45
|
title: {
|
|
@@ -44,8 +47,5 @@ export declare const updateContactDtoZod: z.ZodObject<{
|
|
|
44
47
|
value?: string | undefined;
|
|
45
48
|
};
|
|
46
49
|
}[] | 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,6 +23,8 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
23
23
|
ban: boolean;
|
|
24
24
|
id: number;
|
|
25
25
|
initial: string;
|
|
26
|
+
attention: boolean;
|
|
27
|
+
position: string;
|
|
26
28
|
requisites: {
|
|
27
29
|
value: string;
|
|
28
30
|
title: {
|
|
@@ -30,8 +32,6 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
30
32
|
value?: string | undefined;
|
|
31
33
|
};
|
|
32
34
|
}[];
|
|
33
|
-
attention: boolean;
|
|
34
|
-
position: string;
|
|
35
35
|
designation?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
id: number;
|
|
@@ -39,6 +39,7 @@ 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;
|
|
42
43
|
requisites?: {
|
|
43
44
|
value: string;
|
|
44
45
|
title: {
|
|
@@ -46,6 +47,5 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
46
47
|
value?: string | undefined;
|
|
47
48
|
};
|
|
48
49
|
}[] | 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
|
-
quantity: number;
|
|
16
15
|
shipped: number;
|
|
16
|
+
quantity: 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
|
-
quantity: number;
|
|
49
48
|
shipped: number;
|
|
49
|
+
quantity: 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
|
-
quantity: number;
|
|
77
76
|
shipped: number;
|
|
77
|
+
quantity: 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
|
-
deliveries_id: number;
|
|
8
7
|
inventary_id: number;
|
|
8
|
+
deliveries_id: number;
|
|
9
9
|
id?: number | null | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
deliveries_id: number;
|
|
12
11
|
inventary_id: number;
|
|
12
|
+
deliveries_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
|
-
provider_id?: number | null | undefined;
|
|
34
|
-
createdAt?: string | undefined;
|
|
35
33
|
count?: number | undefined;
|
|
34
|
+
provider_id?: number | null | undefined;
|
|
36
35
|
date_shipments?: Date | undefined;
|
|
37
36
|
delivery_position_list?: DELIVERY_POSITION_LIST | undefined;
|
|
38
37
|
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
|
-
provider_id?: number | null | undefined;
|
|
48
|
-
createdAt?: string | undefined;
|
|
49
47
|
count?: number | undefined;
|
|
48
|
+
provider_id?: number | null | undefined;
|
|
50
49
|
date_shipments?: Date | undefined;
|
|
51
50
|
nds?: number | undefined;
|
|
52
51
|
delivery_position_list?: DELIVERY_POSITION_LIST | undefined;
|
|
53
52
|
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;
|
|
16
15
|
searchString: string;
|
|
17
16
|
isSortedByAttention: boolean;
|
|
18
17
|
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;
|
|
26
25
|
searchString?: string | undefined;
|
|
27
26
|
isSortedByAttention?: boolean | undefined;
|
|
28
27
|
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
|
-
attributes?: unknown;
|
|
14
13
|
modelsInclude?: unknown;
|
|
14
|
+
attributes?: 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
|
-
parametrs: detalParametrsField;
|
|
26
|
-
materialList: EntityCommonSpecificationArray;
|
|
27
25
|
attention: boolean;
|
|
28
|
-
|
|
26
|
+
materialList: EntityCommonSpecificationArray;
|
|
27
|
+
parametrs: detalParametrsField;
|
|
29
28
|
workpiece_characterization: DetalWorkpieceCharacteristics;
|
|
29
|
+
discontinued: boolean;
|
|
30
30
|
responsible: string;
|
|
31
31
|
id?: number | null | undefined;
|
|
32
|
-
characteristic?: any;
|
|
33
32
|
docs?: any;
|
|
34
33
|
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
|
-
parametrs?: unknown;
|
|
45
|
-
characteristic?: any;
|
|
46
|
-
materialList?: unknown;
|
|
47
|
-
attention?: unknown;
|
|
48
|
-
discontinued?: unknown;
|
|
49
44
|
docs?: any;
|
|
45
|
+
attention?: unknown;
|
|
46
|
+
materialList?: unknown;
|
|
50
47
|
fileBase?: string | undefined;
|
|
48
|
+
parametrs?: unknown;
|
|
49
|
+
characteristic?: any;
|
|
51
50
|
workpiece_characterization?: unknown;
|
|
52
51
|
mat_zag?: unknown;
|
|
53
52
|
mat_zag_zam?: unknown;
|
|
53
|
+
discontinued?: unknown;
|
|
54
54
|
techProcessID?: unknown;
|
|
55
55
|
}>;
|
|
56
56
|
export type UpCreateDetalDtoType = z.infer<typeof UpCreateDetalDtoZod>;
|