@pksep/zod-shared 0.0.558 → 0.0.560
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/assemble/dto/get-assemble-pagination-sclad.dto.d.ts +1 -1
- package/dist/cbed/dto/get-deficit.dto.d.ts +2 -2
- package/dist/deliveries/dto/all-delivery-pagination.dto.d.ts +4 -1
- package/dist/deliveries/dto/all-delivery-pagination.dto.js +4 -1
- package/dist/detal/dto/get-deficit.dto.d.ts +1 -1
- package/dist/material/dto/get-deficit.dto.d.ts +1 -1
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +1 -1
- package/dist/product/dto/get-deficit.dto.d.ts +2 -2
- package/dist/stock-order/dto/all-stock-orders-pagination.dto.d.ts +4 -1
- package/dist/stock-order/dto/all-stock-orders-pagination.dto.js +4 -1
- package/package.json +1 -1
|
@@ -42,8 +42,8 @@ export declare const GetAssembleScladPaginationDtoZod: z.ZodObject<{
|
|
|
42
42
|
sortDesc?: boolean | undefined;
|
|
43
43
|
}[] | undefined;
|
|
44
44
|
responsibleUserId?: number | null | undefined;
|
|
45
|
-
isDiscontinued?: boolean | null | undefined;
|
|
46
45
|
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
46
|
+
isDiscontinued?: boolean | null | undefined;
|
|
47
47
|
byParents?: IFiltersByParents | null | undefined;
|
|
48
48
|
byOrder?: IFiltersByByOrder | null | undefined;
|
|
49
49
|
}>;
|
|
@@ -28,8 +28,8 @@ export declare const GetDeficitDtoZod: z.ZodObject<{
|
|
|
28
28
|
statusWorking: statusWorkingsDeficit;
|
|
29
29
|
cbedIds: number[];
|
|
30
30
|
page?: number | null | undefined;
|
|
31
|
-
shipmentIds?: number[] | null | undefined;
|
|
32
31
|
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
32
|
+
shipmentIds?: number[] | null | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
searchString: string;
|
|
35
35
|
statusWorking: statusWorkingsDeficit;
|
|
@@ -39,8 +39,8 @@ export declare const GetDeficitDtoZod: z.ZodObject<{
|
|
|
39
39
|
sortDesc?: boolean | undefined;
|
|
40
40
|
}[] | undefined;
|
|
41
41
|
page?: number | null | undefined;
|
|
42
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
42
43
|
isDiscontinued?: boolean | null | undefined;
|
|
43
44
|
shipmentIds?: number[] | null | undefined;
|
|
44
|
-
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type GetDeficitDtoZodType = z.infer<typeof GetDeficitDtoZod>;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { DateRangeType, EnumStatusOrder } from '../../utils';
|
|
2
|
+
import { DateRangeType, EnumStatusOrder, WarehouseReadinessDateFilterEnum } from '../../utils';
|
|
3
3
|
export declare const AllDeliveryPaginationDtoZod: z.ZodObject<{
|
|
4
4
|
page: z.ZodNumber;
|
|
5
5
|
searchString: z.ZodString;
|
|
6
6
|
dateRange: z.ZodNullable<z.ZodType<DateRangeType, z.ZodTypeDef, DateRangeType>>;
|
|
7
7
|
status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNativeEnum<typeof EnumStatusOrder>, "many">>>;
|
|
8
|
+
warehouseReadinessDateFilter: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarehouseReadinessDateFilterEnum>>>;
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
page: number;
|
|
10
11
|
searchString: string;
|
|
11
12
|
dateRange: DateRangeType | null;
|
|
12
13
|
status?: EnumStatusOrder[] | null | undefined;
|
|
14
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | null | undefined;
|
|
13
15
|
}, {
|
|
14
16
|
page: number;
|
|
15
17
|
searchString: string;
|
|
16
18
|
dateRange: DateRangeType | null;
|
|
17
19
|
status?: EnumStatusOrder[] | null | undefined;
|
|
20
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | null | undefined;
|
|
18
21
|
}>;
|
|
19
22
|
export type AllDeliveryPaginationDtoZodType = z.infer<typeof AllDeliveryPaginationDtoZod>;
|
|
@@ -7,5 +7,8 @@ exports.AllDeliveryPaginationDtoZod = zod_1.z.object({
|
|
|
7
7
|
page: zod_1.z.number(),
|
|
8
8
|
searchString: zod_1.z.string(),
|
|
9
9
|
dateRange: zod_1.z.custom().nullable(),
|
|
10
|
-
status: zod_1.z.array(zod_1.z.nativeEnum(utils_1.EnumStatusOrder)).nullish()
|
|
10
|
+
status: zod_1.z.array(zod_1.z.nativeEnum(utils_1.EnumStatusOrder)).nullish(),
|
|
11
|
+
warehouseReadinessDateFilter: zod_1.z
|
|
12
|
+
.nativeEnum(utils_1.WarehouseReadinessDateFilterEnum)
|
|
13
|
+
.nullish()
|
|
11
14
|
});
|
|
@@ -37,10 +37,10 @@ export declare const GetDetalDeficitDtoZod: z.ZodObject<{
|
|
|
37
37
|
sortDesc?: boolean | undefined;
|
|
38
38
|
}[] | undefined;
|
|
39
39
|
searchString?: string | undefined;
|
|
40
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
40
41
|
isDiscontinued?: boolean | undefined;
|
|
41
42
|
detalIds?: number[] | undefined;
|
|
42
43
|
statusWorking?: statusWorkingsDeficit | undefined;
|
|
43
44
|
shipmentIds?: number[] | null | undefined;
|
|
44
|
-
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type GetDetalDeficitDtoType = z.infer<typeof GetDetalDeficitDtoZod>;
|
|
@@ -53,9 +53,9 @@ export declare const GetMaterialDeficitDtoZod: z.ZodObject<{
|
|
|
53
53
|
sortDesc?: boolean | undefined;
|
|
54
54
|
}[] | undefined;
|
|
55
55
|
searchString?: string | undefined;
|
|
56
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
56
57
|
statusWorking?: statusWorkingsDeficit | undefined;
|
|
57
58
|
shipmentIds?: number[] | null | undefined;
|
|
58
|
-
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
59
59
|
materialIds?: number[] | undefined;
|
|
60
60
|
typeMaterialIds?: number[] | undefined;
|
|
61
61
|
subTypeMaterialIds?: number[] | undefined;
|
|
@@ -46,8 +46,8 @@ export declare const GetMetaloworkingPaginationDtoZod: z.ZodObject<{
|
|
|
46
46
|
sortDesc?: boolean | undefined;
|
|
47
47
|
}[] | undefined;
|
|
48
48
|
responsibleUserId?: number | null | undefined;
|
|
49
|
-
isDiscontinued?: boolean | null | undefined;
|
|
50
49
|
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
50
|
+
isDiscontinued?: boolean | null | undefined;
|
|
51
51
|
byParents?: IFiltersByParents | null | undefined;
|
|
52
52
|
byOrder?: IFiltersByByOrder | null | undefined;
|
|
53
53
|
childrenByProductionTaskIds?: number[] | null | undefined;
|
|
@@ -28,8 +28,8 @@ export declare const GetDeficitProductSchema: z.ZodObject<{
|
|
|
28
28
|
statusWorking: statusWorkingsDeficit;
|
|
29
29
|
productIds: number[];
|
|
30
30
|
page?: number | undefined;
|
|
31
|
-
shipmentIds?: number[] | null | undefined;
|
|
32
31
|
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
32
|
+
shipmentIds?: number[] | null | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
searchString: string;
|
|
35
35
|
statusWorking: statusWorkingsDeficit;
|
|
@@ -39,8 +39,8 @@ export declare const GetDeficitProductSchema: z.ZodObject<{
|
|
|
39
39
|
sortDesc?: boolean | undefined;
|
|
40
40
|
}[] | undefined;
|
|
41
41
|
page?: number | undefined;
|
|
42
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
42
43
|
isDiscontinued?: boolean | null | undefined;
|
|
43
44
|
shipmentIds?: number[] | null | undefined;
|
|
44
|
-
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type GetDeficitProductDtoType = z.infer<typeof GetDeficitProductSchema>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { DateRangeType, EnumStatusOrder } from '../../utils';
|
|
2
|
+
import { DateRangeType, EnumStatusOrder, WarehouseReadinessDateFilterEnum } from '../../utils';
|
|
3
3
|
export declare const AllStockOrderPaginationDtoZod: z.ZodObject<{
|
|
4
4
|
page: z.ZodNumber;
|
|
5
5
|
typeFilter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -9,6 +9,7 @@ export declare const AllStockOrderPaginationDtoZod: z.ZodObject<{
|
|
|
9
9
|
dateRange: z.ZodOptional<z.ZodNullable<z.ZodType<DateRangeType, z.ZodTypeDef, DateRangeType>>>;
|
|
10
10
|
status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNativeEnum<typeof EnumStatusOrder>, "many">>>;
|
|
11
11
|
stockOrderIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
12
|
+
warehouseReadinessDateFilter: z.ZodOptional<z.ZodNativeEnum<typeof WarehouseReadinessDateFilterEnum>>;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
page: number;
|
|
14
15
|
isArchive: boolean;
|
|
@@ -18,6 +19,7 @@ export declare const AllStockOrderPaginationDtoZod: z.ZodObject<{
|
|
|
18
19
|
dateRange?: DateRangeType | null | undefined;
|
|
19
20
|
typeFilter?: number | null | undefined;
|
|
20
21
|
stockOrderIds?: number[] | undefined;
|
|
22
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
21
23
|
}, {
|
|
22
24
|
page: number;
|
|
23
25
|
status?: EnumStatusOrder[] | null | undefined;
|
|
@@ -27,5 +29,6 @@ export declare const AllStockOrderPaginationDtoZod: z.ZodObject<{
|
|
|
27
29
|
isArchive?: boolean | undefined;
|
|
28
30
|
modelsInclude?: string | undefined;
|
|
29
31
|
stockOrderIds?: number[] | undefined;
|
|
32
|
+
warehouseReadinessDateFilter?: WarehouseReadinessDateFilterEnum | undefined;
|
|
30
33
|
}>;
|
|
31
34
|
export type AllStockOrderPaginationDtoZodType = z.infer<typeof AllStockOrderPaginationDtoZod>;
|
|
@@ -11,5 +11,8 @@ exports.AllStockOrderPaginationDtoZod = zod_1.z.object({
|
|
|
11
11
|
modelsInclude: zod_1.z.string().default('[]'),
|
|
12
12
|
dateRange: zod_1.z.custom().nullish(),
|
|
13
13
|
status: zod_1.z.array(zod_1.z.nativeEnum(utils_1.EnumStatusOrder)).nullish(),
|
|
14
|
-
stockOrderIds: zod_1.z.array(zod_1.z.number().int()).optional()
|
|
14
|
+
stockOrderIds: zod_1.z.array(zod_1.z.number().int()).optional(),
|
|
15
|
+
warehouseReadinessDateFilter: zod_1.z
|
|
16
|
+
.nativeEnum(utils_1.WarehouseReadinessDateFilterEnum)
|
|
17
|
+
.optional()
|
|
15
18
|
});
|