@pksep/zod-shared 0.0.518 → 0.0.520
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 +3 -0
- package/dist/action/dto/actions-by-param.dto.js +1 -0
- package/dist/action/schemas/actions.schema.d.ts +3 -0
- package/dist/action/schemas/actions.schema.js +2 -1
- package/dist/action/types/types.d.ts +3 -0
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +0 -16
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +0 -12
- package/dist/assemble/schemas/assemble.schema.d.ts +0 -12
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +0 -5
- package/dist/cbed/dto/get-deficit.dto.d.ts +1 -4
- package/dist/cbed/dto/get-deficit.dto.js +0 -1
- package/dist/detal/dto/get-deficit.dto.d.ts +1 -4
- package/dist/detal/dto/get-deficit.dto.js +0 -1
- package/dist/detal/dto/get-detal-deficit-dto.d.ts +1 -4
- package/dist/detal/dto/get-detal-deficit-dto.js +0 -1
- package/dist/detal/schemas/detal-deficit.schema.d.ts +0 -10
- package/dist/detal/schemas/detal.schema.d.ts +0 -5
- package/dist/equipment/schemas/equipment.schema.d.ts +5 -0
- package/dist/material/dto/get-deficit.dto.d.ts +1 -4
- package/dist/material/dto/get-deficit.dto.js +0 -1
- package/dist/moving/schemas/moving.schema.d.ts +7 -0
- package/dist/product/dto/get-deficit.dto.d.ts +1 -4
- package/dist/product/dto/get-deficit.dto.js +0 -1
- package/dist/product/schemas/product-deficit.schema.d.ts +0 -5
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.d.ts +3 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.js +1 -0
- package/dist/production-tasks/dto/get-production-task-by-operation.dto.d.ts +3 -0
- package/dist/production-tasks/dto/get-production-task-by-operation.dto.js +1 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.d.ts +3 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.js +1 -0
- package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +9 -0
- package/dist/production-tasks/dto/workload-by-entity.dto.js +4 -1
- package/dist/production-tasks/interfaces/production-tasks.d.ts +21 -5
- package/dist/production-tasks/schemas/operation-positions.schema.d.ts +3 -0
- package/dist/production-tasks/schemas/operation-positions.schema.js +1 -0
- package/dist/role/schemas/role.schema.d.ts +7 -0
- package/dist/sclad/dto/set-warehouse-readiness-date.dto.d.ts +12 -0
- package/dist/sclad/dto/set-warehouse-readiness-date.dto.js +8 -0
- package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +0 -5
- package/dist/shipments/index.d.ts +0 -1
- package/dist/shipments/index.js +0 -1
- package/dist/shipments/schemas/shipment-list-item.schema.d.ts +0 -3
- package/dist/shipments/schemas/shipment-list-item.schema.js +0 -1
- package/dist/shipments/schemas/shipments.schema.d.ts +0 -3
- package/dist/shipments/schemas/shipments.schema.js +0 -1
- package/dist/specification/schema/attributes.schema.d.ts +0 -7
- package/dist/user/schemas/user.schema.d.ts +5 -0
- package/dist/utils/date.methods.d.ts +8 -0
- package/dist/utils/date.methods.js +47 -0
- package/dist/utils/tables-config/methods.d.ts +4 -0
- package/dist/utils/tables-config/methods.js +4 -0
- package/dist/utils/tables-config/tables-array.js +2 -2
- package/dist/utils/types/types.d.ts +2 -0
- package/dist/utils/workings.js +1 -16
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export declare const ActionsByParamDtoZod: z.ZodObject<{
|
|
|
6
6
|
searchString: z.ZodOptional<z.ZodString>;
|
|
7
7
|
typeObject: z.ZodDefault<z.ZodNullable<z.ZodNativeEnum<typeof ActionEntityTypes>>>;
|
|
8
8
|
idObject: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9
|
+
relativeActionType: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof ActionEntityTypes>>>>;
|
|
9
10
|
operationId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
10
11
|
rangeDate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
12
|
start: z.ZodAny;
|
|
@@ -19,6 +20,7 @@ export declare const ActionsByParamDtoZod: z.ZodObject<{
|
|
|
19
20
|
}>>>;
|
|
20
21
|
}, "strip", z.ZodTypeAny, {
|
|
21
22
|
typeObject: ActionEntityTypes | null;
|
|
23
|
+
relativeActionType: ActionEntityTypes | null;
|
|
22
24
|
operationId?: number | null | undefined;
|
|
23
25
|
searchString?: string | undefined;
|
|
24
26
|
responsibleId?: number[] | undefined;
|
|
@@ -35,6 +37,7 @@ export declare const ActionsByParamDtoZod: z.ZodObject<{
|
|
|
35
37
|
offset?: number | undefined;
|
|
36
38
|
typeObject?: ActionEntityTypes | null | undefined;
|
|
37
39
|
idObject?: number | null | undefined;
|
|
40
|
+
relativeActionType?: ActionEntityTypes | null | undefined;
|
|
38
41
|
rangeDate?: {
|
|
39
42
|
start?: any;
|
|
40
43
|
end?: any;
|
|
@@ -9,6 +9,7 @@ exports.ActionsByParamDtoZod = zod_1.z.object({
|
|
|
9
9
|
searchString: zod_1.z.string().optional(),
|
|
10
10
|
typeObject: zod_1.z.nativeEnum(enums_1.ActionEntityTypes).nullable().default(null),
|
|
11
11
|
idObject: zod_1.z.number().optional().nullable(),
|
|
12
|
+
relativeActionType: zod_1.z.nativeEnum(enums_1.ActionEntityTypes).nullish().default(null),
|
|
12
13
|
operationId: zod_1.z.number().optional().nullable(),
|
|
13
14
|
rangeDate: zod_1.z
|
|
14
15
|
.object({
|
|
@@ -57,6 +57,7 @@ export declare const ActionsSchema: z.ZodObject<{
|
|
|
57
57
|
role_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
58
|
parent_action_idL: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
59
|
production_task_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
+
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
|
|
60
61
|
}, "strip", z.ZodTypeAny, {
|
|
61
62
|
ban: boolean;
|
|
62
63
|
action: IActionText[];
|
|
@@ -71,6 +72,7 @@ export declare const ActionsSchema: z.ZodObject<{
|
|
|
71
72
|
inventary_id?: number | null | undefined;
|
|
72
73
|
responsible_id?: number | null | undefined;
|
|
73
74
|
tech_process_id?: number | null | undefined;
|
|
75
|
+
createdAt?: string | Date | undefined;
|
|
74
76
|
equipment_id?: number | null | undefined;
|
|
75
77
|
movement_object_id?: number | null | undefined;
|
|
76
78
|
deliveries_id?: number | null | undefined;
|
|
@@ -105,6 +107,7 @@ export declare const ActionsSchema: z.ZodObject<{
|
|
|
105
107
|
inventary_id?: number | null | undefined;
|
|
106
108
|
responsible_id?: number | null | undefined;
|
|
107
109
|
tech_process_id?: number | null | undefined;
|
|
110
|
+
createdAt?: string | Date | undefined;
|
|
108
111
|
equipment_id?: number | null | undefined;
|
|
109
112
|
movement_object_id?: number | null | undefined;
|
|
110
113
|
deliveries_id?: number | null | undefined;
|
|
@@ -35,5 +35,6 @@ exports.ActionsSchema = zod_1.z.object({
|
|
|
35
35
|
mark_id: zod_1.z.number().nullish(),
|
|
36
36
|
role_id: zod_1.z.number().nullish(),
|
|
37
37
|
parent_action_idL: zod_1.z.number().nullable().optional(),
|
|
38
|
-
production_task_id: zod_1.z.number().nullish()
|
|
38
|
+
production_task_id: zod_1.z.number().nullish(),
|
|
39
|
+
createdAt: zod_1.z.union([zod_1.z.date(), zod_1.z.string()]).optional()
|
|
39
40
|
});
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { ModelActions } from '../schemas/actions.schema';
|
|
2
2
|
export type ActionWithParsedTextType = ModelActions & {
|
|
3
3
|
parsedActionsText: string[];
|
|
4
|
+
nameEntity: string | undefined | null;
|
|
5
|
+
relatedEntityName: string | undefined | null;
|
|
6
|
+
entityId: number | undefined | null;
|
|
4
7
|
};
|
|
@@ -20,7 +20,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
20
20
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
21
21
|
date_order: z.ZodDate;
|
|
22
22
|
date_shipments: z.ZodDate;
|
|
23
|
-
date_by_urgency: z.ZodDate;
|
|
24
23
|
number_order: z.ZodString;
|
|
25
24
|
kol: z.ZodNumber;
|
|
26
25
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -79,7 +78,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
79
78
|
date_shipments: Date;
|
|
80
79
|
productId: number;
|
|
81
80
|
date_order: Date;
|
|
82
|
-
date_by_urgency: Date;
|
|
83
81
|
bron: boolean;
|
|
84
82
|
is_custom_product: boolean;
|
|
85
83
|
buyerId: number;
|
|
@@ -108,7 +106,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
108
106
|
date_shipments: Date;
|
|
109
107
|
productId: number;
|
|
110
108
|
date_order: Date;
|
|
111
|
-
date_by_urgency: Date;
|
|
112
109
|
buyerId: number;
|
|
113
110
|
manager_id: number;
|
|
114
111
|
status?: string | undefined;
|
|
@@ -483,7 +480,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
483
480
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
484
481
|
date_order: z.ZodDate;
|
|
485
482
|
date_shipments: z.ZodDate;
|
|
486
|
-
date_by_urgency: z.ZodDate;
|
|
487
483
|
number_order: z.ZodString;
|
|
488
484
|
kol: z.ZodNumber;
|
|
489
485
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -542,7 +538,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
542
538
|
date_shipments: Date;
|
|
543
539
|
productId: number;
|
|
544
540
|
date_order: Date;
|
|
545
|
-
date_by_urgency: Date;
|
|
546
541
|
bron: boolean;
|
|
547
542
|
is_custom_product: boolean;
|
|
548
543
|
buyerId: number;
|
|
@@ -571,7 +566,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
571
566
|
date_shipments: Date;
|
|
572
567
|
productId: number;
|
|
573
568
|
date_order: Date;
|
|
574
|
-
date_by_urgency: Date;
|
|
575
569
|
buyerId: number;
|
|
576
570
|
manager_id: number;
|
|
577
571
|
status?: string | undefined;
|
|
@@ -634,7 +628,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
634
628
|
date_shipments: Date;
|
|
635
629
|
productId: number;
|
|
636
630
|
date_order: Date;
|
|
637
|
-
date_by_urgency: Date;
|
|
638
631
|
bron: boolean;
|
|
639
632
|
is_custom_product: boolean;
|
|
640
633
|
buyerId: number;
|
|
@@ -690,7 +683,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
690
683
|
date_shipments: Date;
|
|
691
684
|
productId: number;
|
|
692
685
|
date_order: Date;
|
|
693
|
-
date_by_urgency: Date;
|
|
694
686
|
buyerId: number;
|
|
695
687
|
manager_id: number;
|
|
696
688
|
status?: string | undefined;
|
|
@@ -842,7 +834,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
842
834
|
date_shipments: Date;
|
|
843
835
|
productId: number;
|
|
844
836
|
date_order: Date;
|
|
845
|
-
date_by_urgency: Date;
|
|
846
837
|
bron: boolean;
|
|
847
838
|
is_custom_product: boolean;
|
|
848
839
|
buyerId: number;
|
|
@@ -915,7 +906,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
915
906
|
date_shipments: Date;
|
|
916
907
|
productId: number;
|
|
917
908
|
date_order: Date;
|
|
918
|
-
date_by_urgency: Date;
|
|
919
909
|
bron: boolean;
|
|
920
910
|
is_custom_product: boolean;
|
|
921
911
|
buyerId: number;
|
|
@@ -1019,7 +1009,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1019
1009
|
date_shipments: Date;
|
|
1020
1010
|
productId: number;
|
|
1021
1011
|
date_order: Date;
|
|
1022
|
-
date_by_urgency: Date;
|
|
1023
1012
|
buyerId: number;
|
|
1024
1013
|
manager_id: number;
|
|
1025
1014
|
status?: string | undefined;
|
|
@@ -1090,7 +1079,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1090
1079
|
date_shipments: Date;
|
|
1091
1080
|
productId: number;
|
|
1092
1081
|
date_order: Date;
|
|
1093
|
-
date_by_urgency: Date;
|
|
1094
1082
|
buyerId: number;
|
|
1095
1083
|
manager_id: number;
|
|
1096
1084
|
status?: string | undefined;
|
|
@@ -1207,7 +1195,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1207
1195
|
date_shipments: Date;
|
|
1208
1196
|
productId: number;
|
|
1209
1197
|
date_order: Date;
|
|
1210
|
-
date_by_urgency: Date;
|
|
1211
1198
|
bron: boolean;
|
|
1212
1199
|
is_custom_product: boolean;
|
|
1213
1200
|
buyerId: number;
|
|
@@ -1280,7 +1267,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1280
1267
|
date_shipments: Date;
|
|
1281
1268
|
productId: number;
|
|
1282
1269
|
date_order: Date;
|
|
1283
|
-
date_by_urgency: Date;
|
|
1284
1270
|
bron: boolean;
|
|
1285
1271
|
is_custom_product: boolean;
|
|
1286
1272
|
buyerId: number;
|
|
@@ -1386,7 +1372,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1386
1372
|
date_shipments: Date;
|
|
1387
1373
|
productId: number;
|
|
1388
1374
|
date_order: Date;
|
|
1389
|
-
date_by_urgency: Date;
|
|
1390
1375
|
buyerId: number;
|
|
1391
1376
|
manager_id: number;
|
|
1392
1377
|
status?: string | undefined;
|
|
@@ -1457,7 +1442,6 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1457
1442
|
date_shipments: Date;
|
|
1458
1443
|
productId: number;
|
|
1459
1444
|
date_order: Date;
|
|
1460
|
-
date_by_urgency: Date;
|
|
1461
1445
|
buyerId: number;
|
|
1462
1446
|
manager_id: number;
|
|
1463
1447
|
status?: string | undefined;
|
|
@@ -21,7 +21,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
21
21
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
22
22
|
date_order: z.ZodDate;
|
|
23
23
|
date_shipments: z.ZodDate;
|
|
24
|
-
date_by_urgency: z.ZodDate;
|
|
25
24
|
number_order: z.ZodString;
|
|
26
25
|
kol: z.ZodNumber;
|
|
27
26
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -80,7 +79,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
80
79
|
date_shipments: Date;
|
|
81
80
|
productId: number;
|
|
82
81
|
date_order: Date;
|
|
83
|
-
date_by_urgency: Date;
|
|
84
82
|
bron: boolean;
|
|
85
83
|
is_custom_product: boolean;
|
|
86
84
|
buyerId: number;
|
|
@@ -109,7 +107,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
109
107
|
date_shipments: Date;
|
|
110
108
|
productId: number;
|
|
111
109
|
date_order: Date;
|
|
112
|
-
date_by_urgency: Date;
|
|
113
110
|
buyerId: number;
|
|
114
111
|
manager_id: number;
|
|
115
112
|
status?: string | undefined;
|
|
@@ -483,7 +480,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
483
480
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
484
481
|
date_order: z.ZodDate;
|
|
485
482
|
date_shipments: z.ZodDate;
|
|
486
|
-
date_by_urgency: z.ZodDate;
|
|
487
483
|
number_order: z.ZodString;
|
|
488
484
|
kol: z.ZodNumber;
|
|
489
485
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -542,7 +538,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
542
538
|
date_shipments: Date;
|
|
543
539
|
productId: number;
|
|
544
540
|
date_order: Date;
|
|
545
|
-
date_by_urgency: Date;
|
|
546
541
|
bron: boolean;
|
|
547
542
|
is_custom_product: boolean;
|
|
548
543
|
buyerId: number;
|
|
@@ -571,7 +566,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
571
566
|
date_shipments: Date;
|
|
572
567
|
productId: number;
|
|
573
568
|
date_order: Date;
|
|
574
|
-
date_by_urgency: Date;
|
|
575
569
|
buyerId: number;
|
|
576
570
|
manager_id: number;
|
|
577
571
|
status?: string | undefined;
|
|
@@ -634,7 +628,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
634
628
|
date_shipments: Date;
|
|
635
629
|
productId: number;
|
|
636
630
|
date_order: Date;
|
|
637
|
-
date_by_urgency: Date;
|
|
638
631
|
bron: boolean;
|
|
639
632
|
is_custom_product: boolean;
|
|
640
633
|
buyerId: number;
|
|
@@ -690,7 +683,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
690
683
|
date_shipments: Date;
|
|
691
684
|
productId: number;
|
|
692
685
|
date_order: Date;
|
|
693
|
-
date_by_urgency: Date;
|
|
694
686
|
buyerId: number;
|
|
695
687
|
manager_id: number;
|
|
696
688
|
status?: string | undefined;
|
|
@@ -866,7 +858,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
866
858
|
date_shipments: Date;
|
|
867
859
|
productId: number;
|
|
868
860
|
date_order: Date;
|
|
869
|
-
date_by_urgency: Date;
|
|
870
861
|
bron: boolean;
|
|
871
862
|
is_custom_product: boolean;
|
|
872
863
|
buyerId: number;
|
|
@@ -943,7 +934,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
943
934
|
date_shipments: Date;
|
|
944
935
|
productId: number;
|
|
945
936
|
date_order: Date;
|
|
946
|
-
date_by_urgency: Date;
|
|
947
937
|
bron: boolean;
|
|
948
938
|
is_custom_product: boolean;
|
|
949
939
|
buyerId: number;
|
|
@@ -1054,7 +1044,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
1054
1044
|
date_shipments: Date;
|
|
1055
1045
|
productId: number;
|
|
1056
1046
|
date_order: Date;
|
|
1057
|
-
date_by_urgency: Date;
|
|
1058
1047
|
buyerId: number;
|
|
1059
1048
|
manager_id: number;
|
|
1060
1049
|
status?: string | undefined;
|
|
@@ -1129,7 +1118,6 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
1129
1118
|
date_shipments: Date;
|
|
1130
1119
|
productId: number;
|
|
1131
1120
|
date_order: Date;
|
|
1132
|
-
date_by_urgency: Date;
|
|
1133
1121
|
buyerId: number;
|
|
1134
1122
|
manager_id: number;
|
|
1135
1123
|
status?: string | undefined;
|
|
@@ -21,7 +21,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
21
21
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
22
22
|
date_order: z.ZodDate;
|
|
23
23
|
date_shipments: z.ZodDate;
|
|
24
|
-
date_by_urgency: z.ZodDate;
|
|
25
24
|
number_order: z.ZodString;
|
|
26
25
|
kol: z.ZodNumber;
|
|
27
26
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -80,7 +79,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
80
79
|
date_shipments: Date;
|
|
81
80
|
productId: number;
|
|
82
81
|
date_order: Date;
|
|
83
|
-
date_by_urgency: Date;
|
|
84
82
|
bron: boolean;
|
|
85
83
|
is_custom_product: boolean;
|
|
86
84
|
buyerId: number;
|
|
@@ -109,7 +107,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
109
107
|
date_shipments: Date;
|
|
110
108
|
productId: number;
|
|
111
109
|
date_order: Date;
|
|
112
|
-
date_by_urgency: Date;
|
|
113
110
|
buyerId: number;
|
|
114
111
|
manager_id: number;
|
|
115
112
|
status?: string | undefined;
|
|
@@ -484,7 +481,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
484
481
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
485
482
|
date_order: z.ZodDate;
|
|
486
483
|
date_shipments: z.ZodDate;
|
|
487
|
-
date_by_urgency: z.ZodDate;
|
|
488
484
|
number_order: z.ZodString;
|
|
489
485
|
kol: z.ZodNumber;
|
|
490
486
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -543,7 +539,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
543
539
|
date_shipments: Date;
|
|
544
540
|
productId: number;
|
|
545
541
|
date_order: Date;
|
|
546
|
-
date_by_urgency: Date;
|
|
547
542
|
bron: boolean;
|
|
548
543
|
is_custom_product: boolean;
|
|
549
544
|
buyerId: number;
|
|
@@ -572,7 +567,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
572
567
|
date_shipments: Date;
|
|
573
568
|
productId: number;
|
|
574
569
|
date_order: Date;
|
|
575
|
-
date_by_urgency: Date;
|
|
576
570
|
buyerId: number;
|
|
577
571
|
manager_id: number;
|
|
578
572
|
status?: string | undefined;
|
|
@@ -635,7 +629,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
635
629
|
date_shipments: Date;
|
|
636
630
|
productId: number;
|
|
637
631
|
date_order: Date;
|
|
638
|
-
date_by_urgency: Date;
|
|
639
632
|
bron: boolean;
|
|
640
633
|
is_custom_product: boolean;
|
|
641
634
|
buyerId: number;
|
|
@@ -691,7 +684,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
691
684
|
date_shipments: Date;
|
|
692
685
|
productId: number;
|
|
693
686
|
date_order: Date;
|
|
694
|
-
date_by_urgency: Date;
|
|
695
687
|
buyerId: number;
|
|
696
688
|
manager_id: number;
|
|
697
689
|
status?: string | undefined;
|
|
@@ -843,7 +835,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
843
835
|
date_shipments: Date;
|
|
844
836
|
productId: number;
|
|
845
837
|
date_order: Date;
|
|
846
|
-
date_by_urgency: Date;
|
|
847
838
|
bron: boolean;
|
|
848
839
|
is_custom_product: boolean;
|
|
849
840
|
buyerId: number;
|
|
@@ -916,7 +907,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
916
907
|
date_shipments: Date;
|
|
917
908
|
productId: number;
|
|
918
909
|
date_order: Date;
|
|
919
|
-
date_by_urgency: Date;
|
|
920
910
|
bron: boolean;
|
|
921
911
|
is_custom_product: boolean;
|
|
922
912
|
buyerId: number;
|
|
@@ -1020,7 +1010,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
1020
1010
|
date_shipments: Date;
|
|
1021
1011
|
productId: number;
|
|
1022
1012
|
date_order: Date;
|
|
1023
|
-
date_by_urgency: Date;
|
|
1024
1013
|
buyerId: number;
|
|
1025
1014
|
manager_id: number;
|
|
1026
1015
|
status?: string | undefined;
|
|
@@ -1091,7 +1080,6 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
1091
1080
|
date_shipments: Date;
|
|
1092
1081
|
productId: number;
|
|
1093
1082
|
date_order: Date;
|
|
1094
|
-
date_by_urgency: Date;
|
|
1095
1083
|
buyerId: number;
|
|
1096
1084
|
manager_id: number;
|
|
1097
1085
|
status?: string | undefined;
|
|
@@ -60,7 +60,6 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
60
60
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
61
61
|
date_order: z.ZodDate;
|
|
62
62
|
date_shipments: z.ZodDate;
|
|
63
|
-
date_by_urgency: z.ZodDate;
|
|
64
63
|
number_order: z.ZodString;
|
|
65
64
|
kol: z.ZodNumber;
|
|
66
65
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -119,7 +118,6 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
119
118
|
date_shipments: Date;
|
|
120
119
|
productId: number;
|
|
121
120
|
date_order: Date;
|
|
122
|
-
date_by_urgency: Date;
|
|
123
121
|
bron: boolean;
|
|
124
122
|
is_custom_product: boolean;
|
|
125
123
|
buyerId: number;
|
|
@@ -148,7 +146,6 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
148
146
|
date_shipments: Date;
|
|
149
147
|
productId: number;
|
|
150
148
|
date_order: Date;
|
|
151
|
-
date_by_urgency: Date;
|
|
152
149
|
buyerId: number;
|
|
153
150
|
manager_id: number;
|
|
154
151
|
status?: string | undefined;
|
|
@@ -211,7 +208,6 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
211
208
|
date_shipments: Date;
|
|
212
209
|
productId: number;
|
|
213
210
|
date_order: Date;
|
|
214
|
-
date_by_urgency: Date;
|
|
215
211
|
bron: boolean;
|
|
216
212
|
is_custom_product: boolean;
|
|
217
213
|
buyerId: number;
|
|
@@ -267,7 +263,6 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
267
263
|
date_shipments: Date;
|
|
268
264
|
productId: number;
|
|
269
265
|
date_order: Date;
|
|
270
|
-
date_by_urgency: Date;
|
|
271
266
|
buyerId: number;
|
|
272
267
|
manager_id: number;
|
|
273
268
|
status?: string | undefined;
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { statusWorkingsDeficit } from '../../utils';
|
|
3
3
|
export declare const GetDeficitDtoZod: z.ZodObject<{
|
|
4
4
|
cbedIds: z.ZodArray<z.ZodNumber, "many">;
|
|
5
5
|
page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6
6
|
statusWorking: z.ZodNativeEnum<typeof statusWorkingsDeficit>;
|
|
7
|
-
statusDeficit: z.ZodNativeEnum<typeof enumDeficit>;
|
|
8
7
|
searchString: z.ZodString;
|
|
9
8
|
shipmentIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
10
9
|
}, "strip", z.ZodTypeAny, {
|
|
11
10
|
searchString: string;
|
|
12
11
|
statusWorking: statusWorkingsDeficit;
|
|
13
|
-
statusDeficit: enumDeficit;
|
|
14
12
|
cbedIds: number[];
|
|
15
13
|
page?: number | null | undefined;
|
|
16
14
|
shipmentIds?: number[] | null | undefined;
|
|
17
15
|
}, {
|
|
18
16
|
searchString: string;
|
|
19
17
|
statusWorking: statusWorkingsDeficit;
|
|
20
|
-
statusDeficit: enumDeficit;
|
|
21
18
|
cbedIds: number[];
|
|
22
19
|
page?: number | null | undefined;
|
|
23
20
|
shipmentIds?: number[] | null | undefined;
|
|
@@ -7,7 +7,6 @@ exports.GetDeficitDtoZod = zod_1.z.object({
|
|
|
7
7
|
cbedIds: zod_1.z.array(zod_1.z.number()),
|
|
8
8
|
page: zod_1.z.number().optional().nullable(),
|
|
9
9
|
statusWorking: zod_1.z.nativeEnum(utils_1.statusWorkingsDeficit),
|
|
10
|
-
statusDeficit: zod_1.z.nativeEnum(utils_1.enumDeficit),
|
|
11
10
|
searchString: zod_1.z.string(),
|
|
12
11
|
shipmentIds: zod_1.z.array(zod_1.z.number()).nullable().optional()
|
|
13
12
|
});
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { statusWorkingsDeficit } from '../../utils';
|
|
3
3
|
export declare const GetDetalDeficitDtoZod: z.ZodObject<{
|
|
4
4
|
detalIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
5
5
|
statusWorking: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof statusWorkingsDeficit>>>;
|
|
6
|
-
statusDeficit: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof enumDeficit>>>;
|
|
7
6
|
searchString: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
7
|
shipmentIds: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
9
8
|
page: z.ZodNumber;
|
|
@@ -12,14 +11,12 @@ export declare const GetDetalDeficitDtoZod: z.ZodObject<{
|
|
|
12
11
|
searchString: string;
|
|
13
12
|
detalIds: number[];
|
|
14
13
|
statusWorking: statusWorkingsDeficit;
|
|
15
|
-
statusDeficit: enumDeficit;
|
|
16
14
|
shipmentIds: number[] | null;
|
|
17
15
|
}, {
|
|
18
16
|
page: number;
|
|
19
17
|
searchString?: string | undefined;
|
|
20
18
|
detalIds?: number[] | undefined;
|
|
21
19
|
statusWorking?: statusWorkingsDeficit | undefined;
|
|
22
|
-
statusDeficit?: enumDeficit | undefined;
|
|
23
20
|
shipmentIds?: number[] | null | undefined;
|
|
24
21
|
}>;
|
|
25
22
|
export type GetDetalDeficitDtoType = z.infer<typeof GetDetalDeficitDtoZod>;
|
|
@@ -9,7 +9,6 @@ exports.GetDetalDeficitDtoZod = zod_1.z.object({
|
|
|
9
9
|
.nativeEnum(utils_1.statusWorkingsDeficit)
|
|
10
10
|
.optional()
|
|
11
11
|
.default(utils_1.statusWorkingsDeficit.all),
|
|
12
|
-
statusDeficit: zod_1.z.nativeEnum(utils_1.enumDeficit).optional().default(utils_1.enumDeficit.all),
|
|
13
12
|
searchString: zod_1.z.string().optional().default(''),
|
|
14
13
|
shipmentIds: zod_1.z.number().int().array().optional().nullable().default(null),
|
|
15
14
|
page: zod_1.z.number().int()
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { statusWorkingsDeficit } from '../../utils';
|
|
3
3
|
export declare const GetDetalDeficitSchema: z.ZodObject<{
|
|
4
4
|
detalIds: z.ZodArray<z.ZodNumber, "many">;
|
|
5
5
|
statusWorking: z.ZodNativeEnum<typeof statusWorkingsDeficit>;
|
|
6
|
-
statusDeficit: z.ZodNativeEnum<typeof enumDeficit>;
|
|
7
6
|
searchString: z.ZodString;
|
|
8
7
|
shipmentIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
9
8
|
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -11,14 +10,12 @@ export declare const GetDetalDeficitSchema: z.ZodObject<{
|
|
|
11
10
|
searchString: string;
|
|
12
11
|
detalIds: number[];
|
|
13
12
|
statusWorking: statusWorkingsDeficit;
|
|
14
|
-
statusDeficit: enumDeficit;
|
|
15
13
|
page?: number | null | undefined;
|
|
16
14
|
shipmentIds?: number[] | null | undefined;
|
|
17
15
|
}, {
|
|
18
16
|
searchString: string;
|
|
19
17
|
detalIds: number[];
|
|
20
18
|
statusWorking: statusWorkingsDeficit;
|
|
21
|
-
statusDeficit: enumDeficit;
|
|
22
19
|
page?: number | null | undefined;
|
|
23
20
|
shipmentIds?: number[] | null | undefined;
|
|
24
21
|
}>;
|
|
@@ -6,7 +6,6 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
exports.GetDetalDeficitSchema = zod_1.z.object({
|
|
7
7
|
detalIds: zod_1.z.number().array(),
|
|
8
8
|
statusWorking: zod_1.z.nativeEnum(utils_1.statusWorkingsDeficit),
|
|
9
|
-
statusDeficit: zod_1.z.nativeEnum(utils_1.enumDeficit),
|
|
10
9
|
searchString: zod_1.z.string(),
|
|
11
10
|
shipmentIds: zod_1.z.array(zod_1.z.number()).nullable().optional(),
|
|
12
11
|
page: zod_1.z.number().nullable().optional()
|
|
@@ -895,7 +895,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
895
895
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
896
896
|
date_order: z.ZodDate;
|
|
897
897
|
date_shipments: z.ZodDate;
|
|
898
|
-
date_by_urgency: z.ZodDate;
|
|
899
898
|
number_order: z.ZodString;
|
|
900
899
|
kol: z.ZodNumber;
|
|
901
900
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -954,7 +953,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
954
953
|
date_shipments: Date;
|
|
955
954
|
productId: number;
|
|
956
955
|
date_order: Date;
|
|
957
|
-
date_by_urgency: Date;
|
|
958
956
|
bron: boolean;
|
|
959
957
|
is_custom_product: boolean;
|
|
960
958
|
buyerId: number;
|
|
@@ -983,7 +981,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
983
981
|
date_shipments: Date;
|
|
984
982
|
productId: number;
|
|
985
983
|
date_order: Date;
|
|
986
|
-
date_by_urgency: Date;
|
|
987
984
|
buyerId: number;
|
|
988
985
|
manager_id: number;
|
|
989
986
|
status?: string | undefined;
|
|
@@ -1014,7 +1011,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1014
1011
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
1015
1012
|
date_order: z.ZodDate;
|
|
1016
1013
|
date_shipments: z.ZodDate;
|
|
1017
|
-
date_by_urgency: z.ZodDate;
|
|
1018
1014
|
number_order: z.ZodString;
|
|
1019
1015
|
kol: z.ZodNumber;
|
|
1020
1016
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1073,7 +1069,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1073
1069
|
date_shipments: Date;
|
|
1074
1070
|
productId: number;
|
|
1075
1071
|
date_order: Date;
|
|
1076
|
-
date_by_urgency: Date;
|
|
1077
1072
|
bron: boolean;
|
|
1078
1073
|
is_custom_product: boolean;
|
|
1079
1074
|
buyerId: number;
|
|
@@ -1102,7 +1097,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1102
1097
|
date_shipments: Date;
|
|
1103
1098
|
productId: number;
|
|
1104
1099
|
date_order: Date;
|
|
1105
|
-
date_by_urgency: Date;
|
|
1106
1100
|
buyerId: number;
|
|
1107
1101
|
manager_id: number;
|
|
1108
1102
|
status?: string | undefined;
|
|
@@ -1138,7 +1132,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1138
1132
|
date_shipments: Date;
|
|
1139
1133
|
productId: number;
|
|
1140
1134
|
date_order: Date;
|
|
1141
|
-
date_by_urgency: Date;
|
|
1142
1135
|
bron: boolean;
|
|
1143
1136
|
is_custom_product: boolean;
|
|
1144
1137
|
buyerId: number;
|
|
@@ -1249,7 +1242,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1249
1242
|
date_shipments: Date;
|
|
1250
1243
|
productId: number;
|
|
1251
1244
|
date_order: Date;
|
|
1252
|
-
date_by_urgency: Date;
|
|
1253
1245
|
bron: boolean;
|
|
1254
1246
|
is_custom_product: boolean;
|
|
1255
1247
|
buyerId: number;
|
|
@@ -1452,7 +1444,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1452
1444
|
date_shipments: Date;
|
|
1453
1445
|
productId: number;
|
|
1454
1446
|
date_order: Date;
|
|
1455
|
-
date_by_urgency: Date;
|
|
1456
1447
|
buyerId: number;
|
|
1457
1448
|
manager_id: number;
|
|
1458
1449
|
status?: string | undefined;
|
|
@@ -1552,7 +1543,6 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1552
1543
|
date_shipments: Date;
|
|
1553
1544
|
productId: number;
|
|
1554
1545
|
date_order: Date;
|
|
1555
|
-
date_by_urgency: Date;
|
|
1556
1546
|
buyerId: number;
|
|
1557
1547
|
manager_id: number;
|
|
1558
1548
|
status?: string | undefined;
|
|
@@ -901,7 +901,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
901
901
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
902
902
|
date_order: z.ZodDate;
|
|
903
903
|
date_shipments: z.ZodDate;
|
|
904
|
-
date_by_urgency: z.ZodDate;
|
|
905
904
|
number_order: z.ZodString;
|
|
906
905
|
kol: z.ZodNumber;
|
|
907
906
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -960,7 +959,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
960
959
|
date_shipments: Date;
|
|
961
960
|
productId: number;
|
|
962
961
|
date_order: Date;
|
|
963
|
-
date_by_urgency: Date;
|
|
964
962
|
bron: boolean;
|
|
965
963
|
is_custom_product: boolean;
|
|
966
964
|
buyerId: number;
|
|
@@ -989,7 +987,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
989
987
|
date_shipments: Date;
|
|
990
988
|
productId: number;
|
|
991
989
|
date_order: Date;
|
|
992
|
-
date_by_urgency: Date;
|
|
993
990
|
buyerId: number;
|
|
994
991
|
manager_id: number;
|
|
995
992
|
status?: string | undefined;
|
|
@@ -1104,7 +1101,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1104
1101
|
date_shipments: Date;
|
|
1105
1102
|
productId: number;
|
|
1106
1103
|
date_order: Date;
|
|
1107
|
-
date_by_urgency: Date;
|
|
1108
1104
|
bron: boolean;
|
|
1109
1105
|
is_custom_product: boolean;
|
|
1110
1106
|
buyerId: number;
|
|
@@ -1374,7 +1370,6 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1374
1370
|
date_shipments: Date;
|
|
1375
1371
|
productId: number;
|
|
1376
1372
|
date_order: Date;
|
|
1377
|
-
date_by_urgency: Date;
|
|
1378
1373
|
buyerId: number;
|
|
1379
1374
|
manager_id: number;
|
|
1380
1375
|
status?: string | undefined;
|