@pksep/zod-shared 0.0.499 → 0.0.501

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.
Files changed (42) hide show
  1. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +41 -41
  2. package/dist/assemble/dto/get-assemble-pagination-sclad.dto.d.ts +2 -2
  3. package/dist/assemble/schemas/assemble-coming.schema.d.ts +29 -29
  4. package/dist/assemble/schemas/assemble.schema.d.ts +29 -29
  5. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +10 -10
  6. package/dist/cbed/dto/recursive-childrens.dto.d.ts +3 -0
  7. package/dist/cbed/dto/recursive-childrens.dto.js +1 -0
  8. package/dist/company/dto/create-company.dto.d.ts +2 -2
  9. package/dist/company/dto/update-company.dto.d.ts +2 -2
  10. package/dist/deliveries/schemas/deliveries.schema.d.ts +4 -4
  11. package/dist/detal/dto/get-deficit.dto.d.ts +2 -2
  12. package/dist/detal/dto/get-detal-deficit-dto.d.ts +2 -2
  13. package/dist/detal/dto/set-actual-shipment.dto.d.ts +1 -1
  14. package/dist/detal/schemas/detal-deficit.schema.d.ts +36 -28
  15. package/dist/detal/schemas/detal.schema.d.ts +26 -18
  16. package/dist/detal/schemas/detal.schema.js +1 -0
  17. package/dist/equipment/schemas/equipment.schema.d.ts +8 -8
  18. package/dist/material/dto/get-deficit.dto.d.ts +31 -0
  19. package/dist/material/dto/get-deficit.dto.js +18 -0
  20. package/dist/material/dto/set-actual-shipment.dto.d.ts +18 -0
  21. package/dist/material/dto/set-actual-shipment.dto.js +10 -0
  22. package/dist/material/index.d.ts +2 -0
  23. package/dist/material/index.js +2 -0
  24. package/dist/material/schemas/material.schema.d.ts +5 -0
  25. package/dist/material/schemas/material.schema.js +1 -0
  26. package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +2 -2
  27. package/dist/product/dto/recursive-childrens.dto.d.ts +3 -0
  28. package/dist/product/dto/recursive-childrens.dto.js +1 -0
  29. package/dist/product/schemas/product-deficit.schema.d.ts +10 -10
  30. package/dist/rack/dto/update-cell.dto.d.ts +5 -5
  31. package/dist/settings/schemas/sebestoim.schema.d.ts +2 -2
  32. package/dist/shipments/schemas/sh-complit.schema.d.ts +2 -2
  33. package/dist/shipments/schemas/shipments.schema.d.ts +5 -5
  34. package/dist/specification/dto/specification-attributes.dto.d.ts +2 -2
  35. package/dist/specification/schema/attributes.schema.d.ts +44 -27
  36. package/dist/tech-process/schemas/tech-process.schema.d.ts +2 -2
  37. package/dist/utils/methods.d.ts +1 -0
  38. package/dist/utils/methods.js +60 -18
  39. package/dist/utils/types/types.d.ts +5 -0
  40. package/dist/waybill/dto/create-waybill-product.dto.d.ts +2 -2
  41. package/dist/waybill/dto/create-waybill.dto.d.ts +4 -4
  42. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { IUnitsMeasurement } from '../interfaces/interface';
3
3
  import { ModelDocuments } from '../../document';
4
+ import { ModelShipments } from '../../shipments';
4
5
  export declare const MaterialSchema: z.ZodObject<{
5
6
  id: z.ZodNumber;
6
7
  name: z.ZodString;
@@ -246,6 +247,7 @@ export declare const MaterialSchema: z.ZodObject<{
246
247
  units_measurement: z.ZodArray<z.ZodType<IUnitsMeasurement, z.ZodTypeDef, IUnitsMeasurement>, "many">;
247
248
  attention: z.ZodBoolean;
248
249
  instance_type: z.ZodNumber;
250
+ actual_shipment_id: z.ZodNullable<z.ZodNumber>;
249
251
  shipments: z.ZodOptional<z.ZodAny>;
250
252
  typeMaterial: z.ZodType<{
251
253
  ban: boolean;
@@ -399,6 +401,7 @@ export declare const MaterialSchema: z.ZodObject<{
399
401
  price: number;
400
402
  deliveryTime: number;
401
403
  units_measurement: IUnitsMeasurement[];
404
+ actual_shipment_id: number | null;
402
405
  typeMaterial: {
403
406
  ban: boolean;
404
407
  id: number;
@@ -507,6 +510,7 @@ export declare const MaterialSchema: z.ZodObject<{
507
510
  price: number;
508
511
  deliveryTime: number;
509
512
  units_measurement: IUnitsMeasurement[];
513
+ actual_shipment_id: number | null;
510
514
  typeMaterial: {
511
515
  ban: boolean;
512
516
  id: number;
@@ -557,4 +561,5 @@ export declare const MaterialSchema: z.ZodObject<{
557
561
  }>;
558
562
  export type ModelMaterial = z.infer<typeof MaterialSchema> & {
559
563
  documents: ModelDocuments[];
564
+ actual_shipment?: ModelShipments;
560
565
  };
@@ -21,6 +21,7 @@ exports.MaterialSchema = zod_1.z.object({
21
21
  units_measurement: zod_1.z.array(zod_1.z.custom()),
22
22
  attention: zod_1.z.boolean(),
23
23
  instance_type: zod_1.z.number().int().min(1).max(3),
24
+ actual_shipment_id: zod_1.z.number().nullable(),
24
25
  shipments: zod_1.z.any().optional(),
25
26
  typeMaterial: zod_1.z.custom()
26
27
  });
@@ -23,8 +23,8 @@ export declare const GetMetaloworkingPaginationDtoZod: z.ZodObject<{
23
23
  searchString: string;
24
24
  isBan: boolean;
25
25
  detalIds: number[];
26
- responsibleUserId?: number | null | undefined;
27
26
  shipmentIds?: number[] | undefined;
27
+ responsibleUserId?: number | null | undefined;
28
28
  parentData?: {
29
29
  parentType: ParentType;
30
30
  parentId: number | null;
@@ -35,8 +35,8 @@ export declare const GetMetaloworkingPaginationDtoZod: z.ZodObject<{
35
35
  searchString: string;
36
36
  isBan: boolean;
37
37
  detalIds: number[];
38
- responsibleUserId?: number | null | undefined;
39
38
  shipmentIds?: number[] | undefined;
39
+ responsibleUserId?: number | null | undefined;
40
40
  parentData?: {
41
41
  parentType: ParentType;
42
42
  parentId: number | null;
@@ -6,6 +6,7 @@ export declare const ProductRecursiveChildrenDtoZod: z.ZodObject<{
6
6
  attributesCbeds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
7
  attributesDetals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
8
  attributesMaterials: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ isNeedsTypes: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9
10
  includes: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
10
11
  includesCbeds: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
11
12
  includesDetals: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
@@ -21,6 +22,7 @@ export declare const ProductRecursiveChildrenDtoZod: z.ZodObject<{
21
22
  attributes?: string[] | undefined;
22
23
  transaction?: any;
23
24
  isAppendedMaterials?: boolean | undefined;
25
+ isNeedsTypes?: boolean | null | undefined;
24
26
  attributesDetals?: string[] | undefined;
25
27
  attributesMaterials?: string[] | undefined;
26
28
  includesDetals?: any[] | undefined;
@@ -37,6 +39,7 @@ export declare const ProductRecursiveChildrenDtoZod: z.ZodObject<{
37
39
  attributes?: string[] | undefined;
38
40
  transaction?: any;
39
41
  isAppendedMaterials?: boolean | undefined;
42
+ isNeedsTypes?: boolean | null | undefined;
40
43
  attributesDetals?: string[] | undefined;
41
44
  attributesMaterials?: string[] | undefined;
42
45
  includesDetals?: any[] | undefined;
@@ -9,6 +9,7 @@ exports.ProductRecursiveChildrenDtoZod = zod_1.z.object({
9
9
  attributesCbeds: zod_1.z.array(zod_1.z.string()).optional(),
10
10
  attributesDetals: zod_1.z.array(zod_1.z.string()).optional(),
11
11
  attributesMaterials: zod_1.z.array(zod_1.z.string()).optional(),
12
+ isNeedsTypes: zod_1.z.boolean().nullish(),
12
13
  includes: zod_1.z.array(zod_1.z.any()).optional(),
13
14
  includesCbeds: zod_1.z.array(zod_1.z.any()).optional(),
14
15
  includesDetals: zod_1.z.array(zod_1.z.any()).optional(),
@@ -87,12 +87,12 @@ export declare const ProductDeficitSchema: z.ZodObject<{
87
87
  number_order: string;
88
88
  kol: number;
89
89
  base: string;
90
- date_shipments: Date;
91
- productId: number;
92
90
  date_order: Date;
91
+ date_shipments: Date;
93
92
  date_by_urgency: Date;
94
93
  bron: boolean;
95
94
  is_custom_product: boolean;
95
+ productId: number;
96
96
  buyerId: number;
97
97
  manager_id: number;
98
98
  product?: any;
@@ -116,10 +116,10 @@ export declare const ProductDeficitSchema: z.ZodObject<{
116
116
  number_order: string;
117
117
  kol: number;
118
118
  base: string;
119
- date_shipments: Date;
120
- productId: number;
121
119
  date_order: Date;
120
+ date_shipments: Date;
122
121
  date_by_urgency: Date;
122
+ productId: number;
123
123
  buyerId: number;
124
124
  manager_id: number;
125
125
  status?: string | undefined;
@@ -137,9 +137,9 @@ export declare const ProductDeficitSchema: z.ZodObject<{
137
137
  attention?: boolean | undefined;
138
138
  purchasesId?: number | undefined;
139
139
  } | undefined;
140
- company_id?: number | undefined;
141
140
  bron?: boolean | undefined;
142
141
  is_custom_product?: boolean | undefined;
142
+ company_id?: number | undefined;
143
143
  parent_id?: number | null | undefined;
144
144
  }>;
145
145
  myQuantity: z.ZodNumber;
@@ -153,12 +153,12 @@ export declare const ProductDeficitSchema: z.ZodObject<{
153
153
  number_order: string;
154
154
  kol: number;
155
155
  base: string;
156
- date_shipments: Date;
157
- productId: number;
158
156
  date_order: Date;
157
+ date_shipments: Date;
159
158
  date_by_urgency: Date;
160
159
  bron: boolean;
161
160
  is_custom_product: boolean;
161
+ productId: number;
162
162
  buyerId: number;
163
163
  manager_id: number;
164
164
  product?: any;
@@ -209,10 +209,10 @@ export declare const ProductDeficitSchema: z.ZodObject<{
209
209
  number_order: string;
210
210
  kol: number;
211
211
  base: string;
212
- date_shipments: Date;
213
- productId: number;
214
212
  date_order: Date;
213
+ date_shipments: Date;
215
214
  date_by_urgency: Date;
215
+ productId: number;
216
216
  buyerId: number;
217
217
  manager_id: number;
218
218
  status?: string | undefined;
@@ -230,9 +230,9 @@ export declare const ProductDeficitSchema: z.ZodObject<{
230
230
  attention?: boolean | undefined;
231
231
  purchasesId?: number | undefined;
232
232
  } | undefined;
233
- company_id?: number | undefined;
234
233
  bron?: boolean | undefined;
235
234
  is_custom_product?: boolean | undefined;
235
+ company_id?: number | undefined;
236
236
  parent_id?: number | null | undefined;
237
237
  };
238
238
  designation: string | null;
@@ -20,19 +20,19 @@ export declare const updateCellSchemaDto: z.ZodObject<{
20
20
  quantity: number;
21
21
  }[], string>>;
22
22
  }, "strip", z.ZodTypeAny, {
23
- detalIds: {
23
+ materialIds: {
24
24
  id: number;
25
25
  quantity: number;
26
26
  }[];
27
- cbedIds: {
27
+ detalIds: {
28
28
  id: number;
29
29
  quantity: number;
30
30
  }[];
31
- productIds: {
31
+ cbedIds: {
32
32
  id: number;
33
33
  quantity: number;
34
34
  }[];
35
- materialIds: {
35
+ productIds: {
36
36
  id: number;
37
37
  quantity: number;
38
38
  }[];
@@ -43,9 +43,9 @@ export declare const updateCellSchemaDto: z.ZodObject<{
43
43
  rackId: number;
44
44
  xIndex: number;
45
45
  yIndex: number;
46
+ materialIds?: string | undefined;
46
47
  detalIds?: string | undefined;
47
48
  cbedIds?: string | undefined;
48
49
  productIds?: string | undefined;
49
- materialIds?: string | undefined;
50
50
  }>;
51
51
  export type UpdateCellDto = z.infer<typeof updateCellSchemaDto>;
@@ -9,13 +9,13 @@ export declare const SebestoimSchema: z.ZodObject<{
9
9
  name: string;
10
10
  id?: number | null | undefined;
11
11
  detalId?: number | null | undefined;
12
- cbedId?: number | null | undefined;
13
12
  productId?: number | null | undefined;
13
+ cbedId?: number | null | undefined;
14
14
  }, {
15
15
  name: string;
16
16
  id?: number | null | undefined;
17
17
  detalId?: number | null | undefined;
18
- cbedId?: number | null | undefined;
19
18
  productId?: number | null | undefined;
19
+ cbedId?: number | null | undefined;
20
20
  }>;
21
21
  export type ModelSebestoim = z.infer<typeof SebestoimSchema>;
@@ -42,9 +42,9 @@ export declare const ShComplitSchema: z.ZodObject<{
42
42
  number_order: string;
43
43
  base: string;
44
44
  responsible_user_id: number;
45
+ date_order: string;
45
46
  date_shipments: string;
46
47
  company_id: number;
47
- date_order: string;
48
48
  to_sklad: boolean;
49
49
  date_shipments_fakt: Date;
50
50
  number_complit: string;
@@ -64,9 +64,9 @@ export declare const ShComplitSchema: z.ZodObject<{
64
64
  number_order: string;
65
65
  base: string;
66
66
  responsible_user_id: number;
67
+ date_order: string;
67
68
  date_shipments: string;
68
69
  company_id: number;
69
- date_order: string;
70
70
  date_shipments_fakt: Date;
71
71
  number_complit: string;
72
72
  fabric_number: string;
@@ -72,12 +72,12 @@ export declare const ShipmentsSchema: z.ZodObject<{
72
72
  number_order: string;
73
73
  kol: number;
74
74
  base: string;
75
- date_shipments: Date;
76
- productId: number;
77
75
  date_order: Date;
76
+ date_shipments: Date;
78
77
  date_by_urgency: Date;
79
78
  bron: boolean;
80
79
  is_custom_product: boolean;
80
+ productId: number;
81
81
  buyerId: number;
82
82
  manager_id: number;
83
83
  product?: any;
@@ -101,10 +101,10 @@ export declare const ShipmentsSchema: z.ZodObject<{
101
101
  number_order: string;
102
102
  kol: number;
103
103
  base: string;
104
- date_shipments: Date;
105
- productId: number;
106
104
  date_order: Date;
105
+ date_shipments: Date;
107
106
  date_by_urgency: Date;
107
+ productId: number;
108
108
  buyerId: number;
109
109
  manager_id: number;
110
110
  status?: string | undefined;
@@ -122,9 +122,9 @@ export declare const ShipmentsSchema: z.ZodObject<{
122
122
  attention?: boolean | undefined;
123
123
  purchasesId?: number | undefined;
124
124
  } | undefined;
125
- company_id?: number | undefined;
126
125
  bron?: boolean | undefined;
127
126
  is_custom_product?: boolean | undefined;
127
+ company_id?: number | undefined;
128
128
  parent_id?: number | null | undefined;
129
129
  }>;
130
130
  export type ModelShipments = z.infer<typeof ShipmentsSchema> & {
@@ -6,13 +6,13 @@ export declare const GetAttributesFromIdsSchema: z.ZodObject<{
6
6
  attributes: z.ZodArray<z.ZodString, "many">;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  attributes: string[];
9
+ materialIds: number[];
9
10
  detalIds: number[];
10
11
  cbedIds: number[];
11
- materialIds: number[];
12
12
  }, {
13
13
  attributes: string[];
14
+ materialIds?: number[] | undefined;
14
15
  detalIds?: number[] | undefined;
15
16
  cbedIds?: number[] | undefined;
16
- materialIds?: number[] | undefined;
17
17
  }>;
18
18
  export type GetAttributesFromIdsDto = z.infer<typeof GetAttributesFromIdsSchema>;
@@ -303,6 +303,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
303
303
  units_measurement: z.ZodArray<z.ZodType<import("../../material").IUnitsMeasurement, z.ZodTypeDef, import("../../material").IUnitsMeasurement>, "many">;
304
304
  attention: z.ZodBoolean;
305
305
  instance_type: z.ZodNumber;
306
+ actual_shipment_id: z.ZodNullable<z.ZodNumber>;
306
307
  shipments: z.ZodOptional<z.ZodAny>;
307
308
  typeMaterial: z.ZodType<{
308
309
  ban: boolean;
@@ -456,6 +457,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
456
457
  price: number;
457
458
  deliveryTime: number;
458
459
  units_measurement: import("../../material").IUnitsMeasurement[];
460
+ actual_shipment_id: number | null;
459
461
  typeMaterial: {
460
462
  ban: boolean;
461
463
  id: number;
@@ -564,6 +566,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
564
566
  price: number;
565
567
  deliveryTime: number;
566
568
  units_measurement: import("../../material").IUnitsMeasurement[];
569
+ actual_shipment_id: number | null;
567
570
  typeMaterial: {
568
571
  ban: boolean;
569
572
  id: number;
@@ -621,8 +624,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
621
624
  id?: number | null | undefined;
622
625
  name?: number | undefined;
623
626
  detalId?: number | null | undefined;
624
- cbedId?: number | null | undefined;
625
627
  productId?: number | null | undefined;
628
+ cbedId?: number | null | undefined;
626
629
  operations?: {
627
630
  ban: boolean;
628
631
  description: string;
@@ -673,8 +676,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
673
676
  id?: number | null | undefined;
674
677
  name?: number | undefined;
675
678
  detalId?: number | null | undefined;
676
- cbedId?: number | null | undefined;
677
679
  productId?: number | null | undefined;
680
+ cbedId?: number | null | undefined;
678
681
  operations?: {
679
682
  ban: boolean;
680
683
  description: string;
@@ -721,6 +724,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
721
724
  }[] | undefined;
722
725
  }>>>;
723
726
  responsibleId: z.ZodOptional<z.ZodNumber>;
727
+ actual_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
724
728
  cbed: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
725
729
  id: z.ZodNumber;
726
730
  name: z.ZodString;
@@ -920,14 +924,14 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
920
924
  name: string;
921
925
  id?: number | null | undefined;
922
926
  detalId?: number | null | undefined;
923
- cbedId?: number | null | undefined;
924
927
  productId?: number | null | undefined;
928
+ cbedId?: number | null | undefined;
925
929
  }, z.ZodTypeDef, {
926
930
  name: string;
927
931
  id?: number | null | undefined;
928
932
  detalId?: number | null | undefined;
929
- cbedId?: number | null | undefined;
930
933
  productId?: number | null | undefined;
934
+ cbedId?: number | null | undefined;
931
935
  }>>>;
932
936
  stock_orders_items: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
933
937
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1027,12 +1031,12 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1027
1031
  number_order: string;
1028
1032
  kol: number;
1029
1033
  base: string;
1030
- date_shipments: Date;
1031
- productId: number;
1032
1034
  date_order: Date;
1035
+ date_shipments: Date;
1033
1036
  date_by_urgency: Date;
1034
1037
  bron: boolean;
1035
1038
  is_custom_product: boolean;
1039
+ productId: number;
1036
1040
  buyerId: number;
1037
1041
  manager_id: number;
1038
1042
  product?: any;
@@ -1056,10 +1060,10 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1056
1060
  number_order: string;
1057
1061
  kol: number;
1058
1062
  base: string;
1059
- date_shipments: Date;
1060
- productId: number;
1061
1063
  date_order: Date;
1064
+ date_shipments: Date;
1062
1065
  date_by_urgency: Date;
1066
+ productId: number;
1063
1067
  buyerId: number;
1064
1068
  manager_id: number;
1065
1069
  status?: string | undefined;
@@ -1077,9 +1081,9 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1077
1081
  attention?: boolean | undefined;
1078
1082
  purchasesId?: number | undefined;
1079
1083
  } | undefined;
1080
- company_id?: number | undefined;
1081
1084
  bron?: boolean | undefined;
1082
1085
  is_custom_product?: boolean | undefined;
1086
+ company_id?: number | undefined;
1083
1087
  parent_id?: number | null | undefined;
1084
1088
  }>, "many">>>;
1085
1089
  discontinued: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -1150,12 +1154,12 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1150
1154
  number_order: string;
1151
1155
  kol: number;
1152
1156
  base: string;
1153
- date_shipments: Date;
1154
- productId: number;
1155
1157
  date_order: Date;
1158
+ date_shipments: Date;
1156
1159
  date_by_urgency: Date;
1157
1160
  bron: boolean;
1158
1161
  is_custom_product: boolean;
1162
+ productId: number;
1159
1163
  buyerId: number;
1160
1164
  manager_id: number;
1161
1165
  product?: any;
@@ -1181,6 +1185,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1181
1185
  shipments_kolvo?: number | undefined;
1182
1186
  deficit?: number | undefined;
1183
1187
  deficit_by_sclad?: number | undefined;
1188
+ actual_shipment_id?: number | null | undefined;
1184
1189
  materialList?: import("../..").EntityCommonSpecificationArray | undefined;
1185
1190
  production_ordered?: number | undefined;
1186
1191
  ava_path?: string | null | undefined;
@@ -1258,6 +1263,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1258
1263
  price: number;
1259
1264
  deliveryTime: number;
1260
1265
  units_measurement: import("../../material").IUnitsMeasurement[];
1266
+ actual_shipment_id: number | null;
1261
1267
  typeMaterial: {
1262
1268
  ban: boolean;
1263
1269
  id: number;
@@ -1312,8 +1318,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1312
1318
  id?: number | null | undefined;
1313
1319
  name?: number | undefined;
1314
1320
  detalId?: number | null | undefined;
1315
- cbedId?: number | null | undefined;
1316
1321
  productId?: number | null | undefined;
1322
+ cbedId?: number | null | undefined;
1317
1323
  operations?: {
1318
1324
  ban: boolean;
1319
1325
  description: string;
@@ -1390,8 +1396,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1390
1396
  name: string;
1391
1397
  id?: number | null | undefined;
1392
1398
  detalId?: number | null | undefined;
1393
- cbedId?: number | null | undefined;
1394
1399
  productId?: number | null | undefined;
1400
+ cbedId?: number | null | undefined;
1395
1401
  } | undefined;
1396
1402
  stock_orders_items?: {
1397
1403
  type: import("../..").IzdType;
@@ -1471,10 +1477,10 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1471
1477
  number_order: string;
1472
1478
  kol: number;
1473
1479
  base: string;
1474
- date_shipments: Date;
1475
- productId: number;
1476
1480
  date_order: Date;
1481
+ date_shipments: Date;
1477
1482
  date_by_urgency: Date;
1483
+ productId: number;
1478
1484
  buyerId: number;
1479
1485
  manager_id: number;
1480
1486
  status?: string | undefined;
@@ -1492,9 +1498,9 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1492
1498
  attention?: boolean | undefined;
1493
1499
  purchasesId?: number | undefined;
1494
1500
  } | undefined;
1495
- company_id?: number | undefined;
1496
1501
  bron?: boolean | undefined;
1497
1502
  is_custom_product?: boolean | undefined;
1503
+ company_id?: number | undefined;
1498
1504
  parent_id?: number | null | undefined;
1499
1505
  }[] | undefined;
1500
1506
  attention?: boolean | undefined;
@@ -1504,6 +1510,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1504
1510
  shipments_kolvo?: number | undefined;
1505
1511
  deficit?: number | undefined;
1506
1512
  deficit_by_sclad?: number | undefined;
1513
+ actual_shipment_id?: number | null | undefined;
1507
1514
  materialList?: import("../..").EntityCommonSpecificationArray | undefined;
1508
1515
  production_ordered?: number | undefined;
1509
1516
  ava_path?: string | null | undefined;
@@ -1578,6 +1585,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1578
1585
  price: number;
1579
1586
  deliveryTime: number;
1580
1587
  units_measurement: import("../../material").IUnitsMeasurement[];
1588
+ actual_shipment_id: number | null;
1581
1589
  typeMaterial: {
1582
1590
  ban: boolean;
1583
1591
  id: number;
@@ -1635,8 +1643,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1635
1643
  id?: number | null | undefined;
1636
1644
  name?: number | undefined;
1637
1645
  detalId?: number | null | undefined;
1638
- cbedId?: number | null | undefined;
1639
1646
  productId?: number | null | undefined;
1647
+ cbedId?: number | null | undefined;
1640
1648
  operations?: {
1641
1649
  ban: boolean;
1642
1650
  description: string;
@@ -1713,8 +1721,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
1713
1721
  name: string;
1714
1722
  id?: number | null | undefined;
1715
1723
  detalId?: number | null | undefined;
1716
- cbedId?: number | null | undefined;
1717
1724
  productId?: number | null | undefined;
1725
+ cbedId?: number | null | undefined;
1718
1726
  } | undefined;
1719
1727
  stock_orders_items?: {
1720
1728
  type: import("../..").IzdType;
@@ -2060,6 +2068,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2060
2068
  units_measurement: z.ZodOptional<z.ZodArray<z.ZodType<import("../../material").IUnitsMeasurement, z.ZodTypeDef, import("../../material").IUnitsMeasurement>, "many">>;
2061
2069
  attention: z.ZodOptional<z.ZodBoolean>;
2062
2070
  instance_type: z.ZodOptional<z.ZodNumber>;
2071
+ actual_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2063
2072
  shipments: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
2064
2073
  typeMaterial: z.ZodOptional<z.ZodType<{
2065
2074
  ban: boolean;
@@ -2214,6 +2223,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2214
2223
  price?: number | undefined;
2215
2224
  deliveryTime?: number | undefined;
2216
2225
  units_measurement?: import("../../material").IUnitsMeasurement[] | undefined;
2226
+ actual_shipment_id?: number | null | undefined;
2217
2227
  typeMaterial?: {
2218
2228
  ban: boolean;
2219
2229
  id: number;
@@ -2325,6 +2335,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2325
2335
  price?: number | undefined;
2326
2336
  deliveryTime?: number | undefined;
2327
2337
  units_measurement?: import("../../material").IUnitsMeasurement[] | undefined;
2338
+ actual_shipment_id?: number | null | undefined;
2328
2339
  typeMaterial?: {
2329
2340
  ban: boolean;
2330
2341
  id: number;
@@ -2438,6 +2449,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2438
2449
  price?: number | undefined;
2439
2450
  deliveryTime?: number | undefined;
2440
2451
  units_measurement?: import("../../material").IUnitsMeasurement[] | undefined;
2452
+ actual_shipment_id?: number | null | undefined;
2441
2453
  typeMaterial?: {
2442
2454
  ban: boolean;
2443
2455
  id: number;
@@ -2578,12 +2590,12 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2578
2590
  number_order: string;
2579
2591
  kol: number;
2580
2592
  base: string;
2581
- date_shipments: Date;
2582
- productId: number;
2583
2593
  date_order: Date;
2594
+ date_shipments: Date;
2584
2595
  date_by_urgency: Date;
2585
2596
  bron: boolean;
2586
2597
  is_custom_product: boolean;
2598
+ productId: number;
2587
2599
  buyerId: number;
2588
2600
  manager_id: number;
2589
2601
  product?: any;
@@ -2609,6 +2621,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2609
2621
  shipments_kolvo?: number | undefined;
2610
2622
  deficit?: number | undefined;
2611
2623
  deficit_by_sclad?: number | undefined;
2624
+ actual_shipment_id?: number | null | undefined;
2612
2625
  materialList?: import("../..").EntityCommonSpecificationArray | undefined;
2613
2626
  production_ordered?: number | undefined;
2614
2627
  ava_path?: string | null | undefined;
@@ -2686,6 +2699,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2686
2699
  price: number;
2687
2700
  deliveryTime: number;
2688
2701
  units_measurement: import("../../material").IUnitsMeasurement[];
2702
+ actual_shipment_id: number | null;
2689
2703
  typeMaterial: {
2690
2704
  ban: boolean;
2691
2705
  id: number;
@@ -2740,8 +2754,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2740
2754
  id?: number | null | undefined;
2741
2755
  name?: number | undefined;
2742
2756
  detalId?: number | null | undefined;
2743
- cbedId?: number | null | undefined;
2744
2757
  productId?: number | null | undefined;
2758
+ cbedId?: number | null | undefined;
2745
2759
  operations?: {
2746
2760
  ban: boolean;
2747
2761
  description: string;
@@ -2818,8 +2832,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2818
2832
  name: string;
2819
2833
  id?: number | null | undefined;
2820
2834
  detalId?: number | null | undefined;
2821
- cbedId?: number | null | undefined;
2822
2835
  productId?: number | null | undefined;
2836
+ cbedId?: number | null | undefined;
2823
2837
  } | undefined;
2824
2838
  stock_orders_items?: {
2825
2839
  type: import("../..").IzdType;
@@ -2904,6 +2918,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
2904
2918
  price?: number | undefined;
2905
2919
  deliveryTime?: number | undefined;
2906
2920
  units_measurement?: import("../../material").IUnitsMeasurement[] | undefined;
2921
+ actual_shipment_id?: number | null | undefined;
2907
2922
  typeMaterial?: {
2908
2923
  ban: boolean;
2909
2924
  id: number;
@@ -3042,10 +3057,10 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
3042
3057
  number_order: string;
3043
3058
  kol: number;
3044
3059
  base: string;
3045
- date_shipments: Date;
3046
- productId: number;
3047
3060
  date_order: Date;
3061
+ date_shipments: Date;
3048
3062
  date_by_urgency: Date;
3063
+ productId: number;
3049
3064
  buyerId: number;
3050
3065
  manager_id: number;
3051
3066
  status?: string | undefined;
@@ -3063,9 +3078,9 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
3063
3078
  attention?: boolean | undefined;
3064
3079
  purchasesId?: number | undefined;
3065
3080
  } | undefined;
3066
- company_id?: number | undefined;
3067
3081
  bron?: boolean | undefined;
3068
3082
  is_custom_product?: boolean | undefined;
3083
+ company_id?: number | undefined;
3069
3084
  parent_id?: number | null | undefined;
3070
3085
  }[] | undefined;
3071
3086
  attention?: boolean | undefined;
@@ -3075,6 +3090,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
3075
3090
  shipments_kolvo?: number | undefined;
3076
3091
  deficit?: number | undefined;
3077
3092
  deficit_by_sclad?: number | undefined;
3093
+ actual_shipment_id?: number | null | undefined;
3078
3094
  materialList?: import("../..").EntityCommonSpecificationArray | undefined;
3079
3095
  production_ordered?: number | undefined;
3080
3096
  ava_path?: string | null | undefined;
@@ -3149,6 +3165,7 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
3149
3165
  price: number;
3150
3166
  deliveryTime: number;
3151
3167
  units_measurement: import("../../material").IUnitsMeasurement[];
3168
+ actual_shipment_id: number | null;
3152
3169
  typeMaterial: {
3153
3170
  ban: boolean;
3154
3171
  id: number;
@@ -3206,8 +3223,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
3206
3223
  id?: number | null | undefined;
3207
3224
  name?: number | undefined;
3208
3225
  detalId?: number | null | undefined;
3209
- cbedId?: number | null | undefined;
3210
3226
  productId?: number | null | undefined;
3227
+ cbedId?: number | null | undefined;
3211
3228
  operations?: {
3212
3229
  ban: boolean;
3213
3230
  description: string;
@@ -3284,8 +3301,8 @@ export declare const SpecificationAttributesSchema: z.ZodObject<{
3284
3301
  name: string;
3285
3302
  id?: number | null | undefined;
3286
3303
  detalId?: number | null | undefined;
3287
- cbedId?: number | null | undefined;
3288
3304
  productId?: number | null | undefined;
3305
+ cbedId?: number | null | undefined;
3289
3306
  } | undefined;
3290
3307
  stock_orders_items?: {
3291
3308
  type: import("../..").IzdType;