@pksep/zod-shared 0.0.531 → 0.0.532
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/enums/enums.d.ts +7 -1
- package/dist/action/enums/enums.js +6 -0
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +16 -0
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +12 -0
- package/dist/assemble/schemas/assemble.schema.d.ts +12 -0
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +5 -0
- package/dist/detal/schemas/detal-deficit.schema.d.ts +10 -0
- package/dist/detal/schemas/detal.schema.d.ts +5 -0
- package/dist/exclusion/dto/create-exclusion.dto.d.ts +16 -0
- package/dist/exclusion/dto/create-exclusion.dto.js +13 -0
- package/dist/exclusion/dto/get-exclusion-pagination.dto.d.ts +13 -0
- package/dist/exclusion/dto/get-exclusion-pagination.dto.js +12 -0
- package/dist/exclusion/dto/update-exclusion.dto.d.ts +13 -0
- package/dist/exclusion/dto/update-exclusion.dto.js +12 -0
- package/dist/exclusion/index.d.ts +5 -0
- package/dist/exclusion/index.js +21 -0
- package/dist/exclusion/interfaces/interface.d.ts +8 -0
- package/dist/exclusion/interfaces/interface.js +2 -0
- package/dist/exclusion/schemas/exclusion.schema.d.ts +28 -0
- package/dist/exclusion/schemas/exclusion.schema.js +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/product/schemas/product-deficit.schema.d.ts +5 -0
- package/dist/production-tasks/interfaces/production-tasks.d.ts +2 -0
- package/dist/shipments/dto/set-warehouse-readiness-date.dto.d.ts +12 -0
- package/dist/shipments/dto/set-warehouse-readiness-date.dto.js +8 -0
- package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +5 -0
- package/dist/shipments/index.d.ts +1 -0
- package/dist/shipments/index.js +1 -0
- package/dist/shipments/schemas/shipment-list-item.schema.d.ts +3 -0
- package/dist/shipments/schemas/shipment-list-item.schema.js +4 -0
- package/dist/shipments/schemas/shipments.schema.d.ts +3 -0
- package/dist/shipments/schemas/shipments.schema.js +1 -0
- package/dist/specification/schema/attributes.schema.d.ts +7 -0
- package/dist/user/dto/update-user-table-config.dto.d.ts +5 -0
- package/dist/user/schemas/user-table-config.schema.d.ts +43 -0
- package/dist/user/schemas/user-table-config.schema.js +2 -1
- package/dist/utils/enums.d.ts +7 -0
- package/dist/utils/enums.js +9 -1
- package/dist/utils/tables-config/methods.js +28 -11
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare enum ActionEntityTypes {
|
|
2
|
+
production_operation_positions = "production_operation_positions",
|
|
2
3
|
product = "product",
|
|
3
4
|
cbed = "cbed",
|
|
4
5
|
movement_error = "movement_error",
|
|
@@ -36,7 +37,8 @@ export declare enum ActionEntityTypes {
|
|
|
36
37
|
revision = "revision",
|
|
37
38
|
thread_entity = "thread_entity",
|
|
38
39
|
user_table_config = "user_table_config",
|
|
39
|
-
tasks = "tasks"
|
|
40
|
+
tasks = "tasks",
|
|
41
|
+
exclusion = "exclusion"
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
* enum для обращения к моделям в бд
|
|
@@ -186,4 +188,8 @@ export declare const ActionEntityTypesDB: {
|
|
|
186
188
|
readonly name: "user_table_configs";
|
|
187
189
|
readonly attributes: readonly ["id"];
|
|
188
190
|
};
|
|
191
|
+
readonly exclusion: {
|
|
192
|
+
readonly name: "exclusion";
|
|
193
|
+
readonly attributes: readonly ["id"];
|
|
194
|
+
};
|
|
189
195
|
};
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ActionEntityTypesDB = exports.ActionEntityTypes = void 0;
|
|
4
4
|
var ActionEntityTypes;
|
|
5
5
|
(function (ActionEntityTypes) {
|
|
6
|
+
ActionEntityTypes["production_operation_positions"] = "production_operation_positions";
|
|
6
7
|
ActionEntityTypes["product"] = "product";
|
|
7
8
|
ActionEntityTypes["cbed"] = "cbed";
|
|
8
9
|
ActionEntityTypes["movement_error"] = "movement_error";
|
|
@@ -41,6 +42,7 @@ var ActionEntityTypes;
|
|
|
41
42
|
ActionEntityTypes["thread_entity"] = "thread_entity";
|
|
42
43
|
ActionEntityTypes["user_table_config"] = "user_table_config";
|
|
43
44
|
ActionEntityTypes["tasks"] = "tasks";
|
|
45
|
+
ActionEntityTypes["exclusion"] = "exclusion";
|
|
44
46
|
})(ActionEntityTypes || (exports.ActionEntityTypes = ActionEntityTypes = {}));
|
|
45
47
|
/**
|
|
46
48
|
* enum для обращения к моделям в бд
|
|
@@ -132,5 +134,9 @@ exports.ActionEntityTypesDB = {
|
|
|
132
134
|
[ActionEntityTypes.user_table_config]: {
|
|
133
135
|
name: 'user_table_configs',
|
|
134
136
|
attributes: ['id']
|
|
137
|
+
},
|
|
138
|
+
[ActionEntityTypes.exclusion]: {
|
|
139
|
+
name: 'exclusion',
|
|
140
|
+
attributes: ['id']
|
|
135
141
|
}
|
|
136
142
|
};
|
|
@@ -20,6 +20,7 @@ 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
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
23
24
|
number_order: z.ZodString;
|
|
24
25
|
kol: z.ZodNumber;
|
|
25
26
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -96,6 +97,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
96
97
|
purchasesId?: number | undefined;
|
|
97
98
|
} | undefined;
|
|
98
99
|
company_id?: number | undefined;
|
|
100
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
99
101
|
parent_id?: number | null | undefined;
|
|
100
102
|
}, {
|
|
101
103
|
description: string;
|
|
@@ -124,6 +126,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
124
126
|
purchasesId?: number | undefined;
|
|
125
127
|
} | undefined;
|
|
126
128
|
company_id?: number | undefined;
|
|
129
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
127
130
|
bron?: boolean | undefined;
|
|
128
131
|
is_custom_product?: boolean | undefined;
|
|
129
132
|
parent_id?: number | null | undefined;
|
|
@@ -500,6 +503,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
500
503
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
501
504
|
date_order: z.ZodDate;
|
|
502
505
|
date_shipments: z.ZodDate;
|
|
506
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
503
507
|
number_order: z.ZodString;
|
|
504
508
|
kol: z.ZodNumber;
|
|
505
509
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -576,6 +580,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
576
580
|
purchasesId?: number | undefined;
|
|
577
581
|
} | undefined;
|
|
578
582
|
company_id?: number | undefined;
|
|
583
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
579
584
|
parent_id?: number | null | undefined;
|
|
580
585
|
}, {
|
|
581
586
|
description: string;
|
|
@@ -604,6 +609,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
604
609
|
purchasesId?: number | undefined;
|
|
605
610
|
} | undefined;
|
|
606
611
|
company_id?: number | undefined;
|
|
612
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
607
613
|
bron?: boolean | undefined;
|
|
608
614
|
is_custom_product?: boolean | undefined;
|
|
609
615
|
parent_id?: number | null | undefined;
|
|
@@ -671,6 +677,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
671
677
|
purchasesId?: number | undefined;
|
|
672
678
|
} | undefined;
|
|
673
679
|
company_id?: number | undefined;
|
|
680
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
674
681
|
parent_id?: number | null | undefined;
|
|
675
682
|
}[] | undefined;
|
|
676
683
|
mark_id?: number | null | undefined;
|
|
@@ -731,6 +738,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
731
738
|
purchasesId?: number | undefined;
|
|
732
739
|
} | undefined;
|
|
733
740
|
company_id?: number | undefined;
|
|
741
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
734
742
|
bron?: boolean | undefined;
|
|
735
743
|
is_custom_product?: boolean | undefined;
|
|
736
744
|
parent_id?: number | null | undefined;
|
|
@@ -883,6 +891,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
883
891
|
purchasesId?: number | undefined;
|
|
884
892
|
} | undefined;
|
|
885
893
|
company_id?: number | undefined;
|
|
894
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
886
895
|
parent_id?: number | null | undefined;
|
|
887
896
|
} | null | undefined;
|
|
888
897
|
production_task?: {
|
|
@@ -960,6 +969,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
960
969
|
purchasesId?: number | undefined;
|
|
961
970
|
} | undefined;
|
|
962
971
|
company_id?: number | undefined;
|
|
972
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
963
973
|
parent_id?: number | null | undefined;
|
|
964
974
|
}[] | undefined;
|
|
965
975
|
mark_id?: number | null | undefined;
|
|
@@ -1064,6 +1074,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1064
1074
|
purchasesId?: number | undefined;
|
|
1065
1075
|
} | undefined;
|
|
1066
1076
|
company_id?: number | undefined;
|
|
1077
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1067
1078
|
bron?: boolean | undefined;
|
|
1068
1079
|
is_custom_product?: boolean | undefined;
|
|
1069
1080
|
parent_id?: number | null | undefined;
|
|
@@ -1139,6 +1150,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1139
1150
|
purchasesId?: number | undefined;
|
|
1140
1151
|
} | undefined;
|
|
1141
1152
|
company_id?: number | undefined;
|
|
1153
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1142
1154
|
bron?: boolean | undefined;
|
|
1143
1155
|
is_custom_product?: boolean | undefined;
|
|
1144
1156
|
parent_id?: number | null | undefined;
|
|
@@ -1256,6 +1268,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1256
1268
|
purchasesId?: number | undefined;
|
|
1257
1269
|
} | undefined;
|
|
1258
1270
|
company_id?: number | undefined;
|
|
1271
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1259
1272
|
parent_id?: number | null | undefined;
|
|
1260
1273
|
} | null | undefined;
|
|
1261
1274
|
production_task?: {
|
|
@@ -1333,6 +1346,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1333
1346
|
purchasesId?: number | undefined;
|
|
1334
1347
|
} | undefined;
|
|
1335
1348
|
company_id?: number | undefined;
|
|
1349
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1336
1350
|
parent_id?: number | null | undefined;
|
|
1337
1351
|
}[] | undefined;
|
|
1338
1352
|
mark_id?: number | null | undefined;
|
|
@@ -1439,6 +1453,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1439
1453
|
purchasesId?: number | undefined;
|
|
1440
1454
|
} | undefined;
|
|
1441
1455
|
company_id?: number | undefined;
|
|
1456
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1442
1457
|
bron?: boolean | undefined;
|
|
1443
1458
|
is_custom_product?: boolean | undefined;
|
|
1444
1459
|
parent_id?: number | null | undefined;
|
|
@@ -1514,6 +1529,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
|
|
|
1514
1529
|
purchasesId?: number | undefined;
|
|
1515
1530
|
} | undefined;
|
|
1516
1531
|
company_id?: number | undefined;
|
|
1532
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1517
1533
|
bron?: boolean | undefined;
|
|
1518
1534
|
is_custom_product?: boolean | undefined;
|
|
1519
1535
|
parent_id?: number | null | undefined;
|
|
@@ -21,6 +21,7 @@ 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
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
24
25
|
number_order: z.ZodString;
|
|
25
26
|
kol: z.ZodNumber;
|
|
26
27
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -97,6 +98,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
97
98
|
purchasesId?: number | undefined;
|
|
98
99
|
} | undefined;
|
|
99
100
|
company_id?: number | undefined;
|
|
101
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
100
102
|
parent_id?: number | null | undefined;
|
|
101
103
|
}, {
|
|
102
104
|
description: string;
|
|
@@ -125,6 +127,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
125
127
|
purchasesId?: number | undefined;
|
|
126
128
|
} | undefined;
|
|
127
129
|
company_id?: number | undefined;
|
|
130
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
128
131
|
bron?: boolean | undefined;
|
|
129
132
|
is_custom_product?: boolean | undefined;
|
|
130
133
|
parent_id?: number | null | undefined;
|
|
@@ -500,6 +503,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
500
503
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
501
504
|
date_order: z.ZodDate;
|
|
502
505
|
date_shipments: z.ZodDate;
|
|
506
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
503
507
|
number_order: z.ZodString;
|
|
504
508
|
kol: z.ZodNumber;
|
|
505
509
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -576,6 +580,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
576
580
|
purchasesId?: number | undefined;
|
|
577
581
|
} | undefined;
|
|
578
582
|
company_id?: number | undefined;
|
|
583
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
579
584
|
parent_id?: number | null | undefined;
|
|
580
585
|
}, {
|
|
581
586
|
description: string;
|
|
@@ -604,6 +609,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
604
609
|
purchasesId?: number | undefined;
|
|
605
610
|
} | undefined;
|
|
606
611
|
company_id?: number | undefined;
|
|
612
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
607
613
|
bron?: boolean | undefined;
|
|
608
614
|
is_custom_product?: boolean | undefined;
|
|
609
615
|
parent_id?: number | null | undefined;
|
|
@@ -671,6 +677,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
671
677
|
purchasesId?: number | undefined;
|
|
672
678
|
} | undefined;
|
|
673
679
|
company_id?: number | undefined;
|
|
680
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
674
681
|
parent_id?: number | null | undefined;
|
|
675
682
|
}[] | undefined;
|
|
676
683
|
mark_id?: number | null | undefined;
|
|
@@ -731,6 +738,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
731
738
|
purchasesId?: number | undefined;
|
|
732
739
|
} | undefined;
|
|
733
740
|
company_id?: number | undefined;
|
|
741
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
734
742
|
bron?: boolean | undefined;
|
|
735
743
|
is_custom_product?: boolean | undefined;
|
|
736
744
|
parent_id?: number | null | undefined;
|
|
@@ -907,6 +915,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
907
915
|
purchasesId?: number | undefined;
|
|
908
916
|
} | undefined;
|
|
909
917
|
company_id?: number | undefined;
|
|
918
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
910
919
|
parent_id?: number | null | undefined;
|
|
911
920
|
} | null | undefined;
|
|
912
921
|
production_task?: {
|
|
@@ -988,6 +997,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
988
997
|
purchasesId?: number | undefined;
|
|
989
998
|
} | undefined;
|
|
990
999
|
company_id?: number | undefined;
|
|
1000
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
991
1001
|
parent_id?: number | null | undefined;
|
|
992
1002
|
}[] | undefined;
|
|
993
1003
|
mark_id?: number | null | undefined;
|
|
@@ -1099,6 +1109,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
1099
1109
|
purchasesId?: number | undefined;
|
|
1100
1110
|
} | undefined;
|
|
1101
1111
|
company_id?: number | undefined;
|
|
1112
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1102
1113
|
bron?: boolean | undefined;
|
|
1103
1114
|
is_custom_product?: boolean | undefined;
|
|
1104
1115
|
parent_id?: number | null | undefined;
|
|
@@ -1178,6 +1189,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
|
|
|
1178
1189
|
purchasesId?: number | undefined;
|
|
1179
1190
|
} | undefined;
|
|
1180
1191
|
company_id?: number | undefined;
|
|
1192
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1181
1193
|
bron?: boolean | undefined;
|
|
1182
1194
|
is_custom_product?: boolean | undefined;
|
|
1183
1195
|
parent_id?: number | null | undefined;
|
|
@@ -21,6 +21,7 @@ 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
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
24
25
|
number_order: z.ZodString;
|
|
25
26
|
kol: z.ZodNumber;
|
|
26
27
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -97,6 +98,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
97
98
|
purchasesId?: number | undefined;
|
|
98
99
|
} | undefined;
|
|
99
100
|
company_id?: number | undefined;
|
|
101
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
100
102
|
parent_id?: number | null | undefined;
|
|
101
103
|
}, {
|
|
102
104
|
description: string;
|
|
@@ -125,6 +127,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
125
127
|
purchasesId?: number | undefined;
|
|
126
128
|
} | undefined;
|
|
127
129
|
company_id?: number | undefined;
|
|
130
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
128
131
|
bron?: boolean | undefined;
|
|
129
132
|
is_custom_product?: boolean | undefined;
|
|
130
133
|
parent_id?: number | null | undefined;
|
|
@@ -501,6 +504,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
501
504
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
502
505
|
date_order: z.ZodDate;
|
|
503
506
|
date_shipments: z.ZodDate;
|
|
507
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
504
508
|
number_order: z.ZodString;
|
|
505
509
|
kol: z.ZodNumber;
|
|
506
510
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -577,6 +581,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
577
581
|
purchasesId?: number | undefined;
|
|
578
582
|
} | undefined;
|
|
579
583
|
company_id?: number | undefined;
|
|
584
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
580
585
|
parent_id?: number | null | undefined;
|
|
581
586
|
}, {
|
|
582
587
|
description: string;
|
|
@@ -605,6 +610,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
605
610
|
purchasesId?: number | undefined;
|
|
606
611
|
} | undefined;
|
|
607
612
|
company_id?: number | undefined;
|
|
613
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
608
614
|
bron?: boolean | undefined;
|
|
609
615
|
is_custom_product?: boolean | undefined;
|
|
610
616
|
parent_id?: number | null | undefined;
|
|
@@ -672,6 +678,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
672
678
|
purchasesId?: number | undefined;
|
|
673
679
|
} | undefined;
|
|
674
680
|
company_id?: number | undefined;
|
|
681
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
675
682
|
parent_id?: number | null | undefined;
|
|
676
683
|
}[] | undefined;
|
|
677
684
|
mark_id?: number | null | undefined;
|
|
@@ -732,6 +739,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
732
739
|
purchasesId?: number | undefined;
|
|
733
740
|
} | undefined;
|
|
734
741
|
company_id?: number | undefined;
|
|
742
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
735
743
|
bron?: boolean | undefined;
|
|
736
744
|
is_custom_product?: boolean | undefined;
|
|
737
745
|
parent_id?: number | null | undefined;
|
|
@@ -884,6 +892,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
884
892
|
purchasesId?: number | undefined;
|
|
885
893
|
} | undefined;
|
|
886
894
|
company_id?: number | undefined;
|
|
895
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
887
896
|
parent_id?: number | null | undefined;
|
|
888
897
|
} | null | undefined;
|
|
889
898
|
production_task?: {
|
|
@@ -961,6 +970,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
961
970
|
purchasesId?: number | undefined;
|
|
962
971
|
} | undefined;
|
|
963
972
|
company_id?: number | undefined;
|
|
973
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
964
974
|
parent_id?: number | null | undefined;
|
|
965
975
|
}[] | undefined;
|
|
966
976
|
mark_id?: number | null | undefined;
|
|
@@ -1065,6 +1075,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
1065
1075
|
purchasesId?: number | undefined;
|
|
1066
1076
|
} | undefined;
|
|
1067
1077
|
company_id?: number | undefined;
|
|
1078
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1068
1079
|
bron?: boolean | undefined;
|
|
1069
1080
|
is_custom_product?: boolean | undefined;
|
|
1070
1081
|
parent_id?: number | null | undefined;
|
|
@@ -1140,6 +1151,7 @@ export declare const AssembleSchema: z.ZodObject<{
|
|
|
1140
1151
|
purchasesId?: number | undefined;
|
|
1141
1152
|
} | undefined;
|
|
1142
1153
|
company_id?: number | undefined;
|
|
1154
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1143
1155
|
bron?: boolean | undefined;
|
|
1144
1156
|
is_custom_product?: boolean | undefined;
|
|
1145
1157
|
parent_id?: number | null | undefined;
|
|
@@ -75,6 +75,7 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
75
75
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
76
76
|
date_order: z.ZodDate;
|
|
77
77
|
date_shipments: z.ZodDate;
|
|
78
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
78
79
|
number_order: z.ZodString;
|
|
79
80
|
kol: z.ZodNumber;
|
|
80
81
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -151,6 +152,7 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
151
152
|
purchasesId?: number | undefined;
|
|
152
153
|
} | undefined;
|
|
153
154
|
company_id?: number | undefined;
|
|
155
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
154
156
|
parent_id?: number | null | undefined;
|
|
155
157
|
}, {
|
|
156
158
|
description: string;
|
|
@@ -179,6 +181,7 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
179
181
|
purchasesId?: number | undefined;
|
|
180
182
|
} | undefined;
|
|
181
183
|
company_id?: number | undefined;
|
|
184
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
182
185
|
bron?: boolean | undefined;
|
|
183
186
|
is_custom_product?: boolean | undefined;
|
|
184
187
|
parent_id?: number | null | undefined;
|
|
@@ -246,6 +249,7 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
246
249
|
purchasesId?: number | undefined;
|
|
247
250
|
} | undefined;
|
|
248
251
|
company_id?: number | undefined;
|
|
252
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
249
253
|
parent_id?: number | null | undefined;
|
|
250
254
|
}[] | undefined;
|
|
251
255
|
mark_id?: number | null | undefined;
|
|
@@ -306,6 +310,7 @@ export declare const AssembleKitSchema: z.ZodObject<{
|
|
|
306
310
|
purchasesId?: number | undefined;
|
|
307
311
|
} | undefined;
|
|
308
312
|
company_id?: number | undefined;
|
|
313
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
309
314
|
bron?: boolean | undefined;
|
|
310
315
|
is_custom_product?: boolean | undefined;
|
|
311
316
|
parent_id?: number | null | undefined;
|
|
@@ -913,6 +913,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
913
913
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
914
914
|
date_order: z.ZodDate;
|
|
915
915
|
date_shipments: z.ZodDate;
|
|
916
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
916
917
|
number_order: z.ZodString;
|
|
917
918
|
kol: z.ZodNumber;
|
|
918
919
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -989,6 +990,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
989
990
|
purchasesId?: number | undefined;
|
|
990
991
|
} | undefined;
|
|
991
992
|
company_id?: number | undefined;
|
|
993
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
992
994
|
parent_id?: number | null | undefined;
|
|
993
995
|
}, {
|
|
994
996
|
description: string;
|
|
@@ -1017,6 +1019,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1017
1019
|
purchasesId?: number | undefined;
|
|
1018
1020
|
} | undefined;
|
|
1019
1021
|
company_id?: number | undefined;
|
|
1022
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1020
1023
|
bron?: boolean | undefined;
|
|
1021
1024
|
is_custom_product?: boolean | undefined;
|
|
1022
1025
|
parent_id?: number | null | undefined;
|
|
@@ -1029,6 +1032,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1029
1032
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
1030
1033
|
date_order: z.ZodDate;
|
|
1031
1034
|
date_shipments: z.ZodDate;
|
|
1035
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1032
1036
|
number_order: z.ZodString;
|
|
1033
1037
|
kol: z.ZodNumber;
|
|
1034
1038
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1105,6 +1109,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1105
1109
|
purchasesId?: number | undefined;
|
|
1106
1110
|
} | undefined;
|
|
1107
1111
|
company_id?: number | undefined;
|
|
1112
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1108
1113
|
parent_id?: number | null | undefined;
|
|
1109
1114
|
}, {
|
|
1110
1115
|
description: string;
|
|
@@ -1133,6 +1138,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1133
1138
|
purchasesId?: number | undefined;
|
|
1134
1139
|
} | undefined;
|
|
1135
1140
|
company_id?: number | undefined;
|
|
1141
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1136
1142
|
bron?: boolean | undefined;
|
|
1137
1143
|
is_custom_product?: boolean | undefined;
|
|
1138
1144
|
parent_id?: number | null | undefined;
|
|
@@ -1168,6 +1174,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1168
1174
|
purchasesId?: number | undefined;
|
|
1169
1175
|
} | undefined;
|
|
1170
1176
|
company_id?: number | undefined;
|
|
1177
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1171
1178
|
parent_id?: number | null | undefined;
|
|
1172
1179
|
};
|
|
1173
1180
|
id: number;
|
|
@@ -1283,6 +1290,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1283
1290
|
purchasesId?: number | undefined;
|
|
1284
1291
|
} | undefined;
|
|
1285
1292
|
company_id?: number | undefined;
|
|
1293
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1286
1294
|
parent_id?: number | null | undefined;
|
|
1287
1295
|
}[] | undefined;
|
|
1288
1296
|
task_relative_id?: number | null | undefined;
|
|
@@ -1486,6 +1494,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1486
1494
|
purchasesId?: number | undefined;
|
|
1487
1495
|
} | undefined;
|
|
1488
1496
|
company_id?: number | undefined;
|
|
1497
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1489
1498
|
bron?: boolean | undefined;
|
|
1490
1499
|
is_custom_product?: boolean | undefined;
|
|
1491
1500
|
parent_id?: number | null | undefined;
|
|
@@ -1590,6 +1599,7 @@ export declare const DetalDeficitSchema: z.ZodObject<{
|
|
|
1590
1599
|
purchasesId?: number | undefined;
|
|
1591
1600
|
} | undefined;
|
|
1592
1601
|
company_id?: number | undefined;
|
|
1602
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1593
1603
|
bron?: boolean | undefined;
|
|
1594
1604
|
is_custom_product?: boolean | undefined;
|
|
1595
1605
|
parent_id?: number | null | undefined;
|
|
@@ -919,6 +919,7 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
919
919
|
ban: z.ZodDefault<z.ZodBoolean>;
|
|
920
920
|
date_order: z.ZodDate;
|
|
921
921
|
date_shipments: z.ZodDate;
|
|
922
|
+
warehouse_readiness_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
922
923
|
number_order: z.ZodString;
|
|
923
924
|
kol: z.ZodNumber;
|
|
924
925
|
bron: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -995,6 +996,7 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
995
996
|
purchasesId?: number | undefined;
|
|
996
997
|
} | undefined;
|
|
997
998
|
company_id?: number | undefined;
|
|
999
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
998
1000
|
parent_id?: number | null | undefined;
|
|
999
1001
|
}, {
|
|
1000
1002
|
description: string;
|
|
@@ -1023,6 +1025,7 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1023
1025
|
purchasesId?: number | undefined;
|
|
1024
1026
|
} | undefined;
|
|
1025
1027
|
company_id?: number | undefined;
|
|
1028
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1026
1029
|
bron?: boolean | undefined;
|
|
1027
1030
|
is_custom_product?: boolean | undefined;
|
|
1028
1031
|
parent_id?: number | null | undefined;
|
|
@@ -1142,6 +1145,7 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1142
1145
|
purchasesId?: number | undefined;
|
|
1143
1146
|
} | undefined;
|
|
1144
1147
|
company_id?: number | undefined;
|
|
1148
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1145
1149
|
parent_id?: number | null | undefined;
|
|
1146
1150
|
}[] | undefined;
|
|
1147
1151
|
task_relative_id?: number | null | undefined;
|
|
@@ -1417,6 +1421,7 @@ export declare const DetalSchema: z.ZodObject<{
|
|
|
1417
1421
|
purchasesId?: number | undefined;
|
|
1418
1422
|
} | undefined;
|
|
1419
1423
|
company_id?: number | undefined;
|
|
1424
|
+
warehouse_readiness_date?: Date | null | undefined;
|
|
1420
1425
|
bron?: boolean | undefined;
|
|
1421
1426
|
is_custom_product?: boolean | undefined;
|
|
1422
1427
|
parent_id?: number | null | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { EnumExclusionType, IzdType } from '../../utils';
|
|
3
|
+
export declare const CreateExclusionDtoZod: z.ZodObject<{
|
|
4
|
+
exclusion: z.ZodString;
|
|
5
|
+
exclusionType: z.ZodNativeEnum<typeof EnumExclusionType>;
|
|
6
|
+
entityType: z.ZodNativeEnum<typeof IzdType>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
exclusion: string;
|
|
9
|
+
entityType: IzdType;
|
|
10
|
+
exclusionType: EnumExclusionType;
|
|
11
|
+
}, {
|
|
12
|
+
exclusion: string;
|
|
13
|
+
entityType: IzdType;
|
|
14
|
+
exclusionType: EnumExclusionType;
|
|
15
|
+
}>;
|
|
16
|
+
export type CreateExclusionDtoType = z.infer<typeof CreateExclusionDtoZod>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CreateExclusionDtoZod = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const utils_1 = require("../../utils");
|
|
9
|
+
exports.CreateExclusionDtoZod = zod_1.default.object({
|
|
10
|
+
exclusion: zod_1.default.string().nonempty(),
|
|
11
|
+
exclusionType: zod_1.default.nativeEnum(utils_1.EnumExclusionType),
|
|
12
|
+
entityType: zod_1.default.nativeEnum(utils_1.IzdType)
|
|
13
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { IzdType } from '../../utils';
|
|
3
|
+
export declare const GetExclusionPaginationDtoZod: z.ZodObject<{
|
|
4
|
+
page: z.ZodNumber;
|
|
5
|
+
entityType: z.ZodNativeEnum<typeof IzdType>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
page: number;
|
|
8
|
+
entityType: IzdType;
|
|
9
|
+
}, {
|
|
10
|
+
page: number;
|
|
11
|
+
entityType: IzdType;
|
|
12
|
+
}>;
|
|
13
|
+
export type GetExclusionPaginationDtoType = z.infer<typeof GetExclusionPaginationDtoZod>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GetExclusionPaginationDtoZod = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const utils_1 = require("../../utils");
|
|
9
|
+
exports.GetExclusionPaginationDtoZod = zod_1.default.object({
|
|
10
|
+
page: zod_1.default.number(),
|
|
11
|
+
entityType: zod_1.default.nativeEnum(utils_1.IzdType)
|
|
12
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { EnumExclusionType } from '../../utils';
|
|
3
|
+
export declare const UpdateExclusionDtoZod: z.ZodObject<{
|
|
4
|
+
exclusion: z.ZodString;
|
|
5
|
+
exclusionType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof EnumExclusionType>>>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
exclusion: string;
|
|
8
|
+
exclusionType?: EnumExclusionType | null | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
exclusion: string;
|
|
11
|
+
exclusionType?: EnumExclusionType | null | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export type UpdateExclusionDtoType = z.infer<typeof UpdateExclusionDtoZod>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UpdateExclusionDtoZod = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const utils_1 = require("../../utils");
|
|
9
|
+
exports.UpdateExclusionDtoZod = zod_1.default.object({
|
|
10
|
+
exclusion: zod_1.default.string().nonempty(),
|
|
11
|
+
exclusionType: zod_1.default.nativeEnum(utils_1.EnumExclusionType).optional().nullish()
|
|
12
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./interfaces/interface"), exports);
|
|
18
|
+
__exportStar(require("./schemas/exclusion.schema"), exports);
|
|
19
|
+
__exportStar(require("./dto/get-exclusion-pagination.dto"), exports);
|
|
20
|
+
__exportStar(require("./dto/create-exclusion.dto"), exports);
|
|
21
|
+
__exportStar(require("./dto/update-exclusion.dto"), exports);
|