@pksep/zod-shared 0.0.549 → 0.0.551

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 (95) hide show
  1. package/dist/action/enums/enums.d.ts +10 -0
  2. package/dist/action/enums/enums.js +10 -0
  3. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +38 -24
  4. package/dist/assemble/interfaces/interfaces.d.ts +1 -0
  5. package/dist/assemble/schemas/assemble-coming.schema.d.ts +28 -18
  6. package/dist/assemble/schemas/assemble.schema.d.ts +28 -18
  7. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +6 -6
  8. package/dist/buyer/schemas/buyer.schema.d.ts +2 -2
  9. package/dist/buyer/schemas/purchases.schema.d.ts +2 -2
  10. package/dist/cbed/schemas/cbed.schema.d.ts +2 -2
  11. package/dist/company/schemas/companies.schema.d.ts +2 -2
  12. package/dist/detal/default-values/default-values.d.ts +4 -0
  13. package/dist/detal/default-values/default-values.js +4 -0
  14. package/dist/detal/schemas/detal-deficit.schema.d.ts +198 -28
  15. package/dist/detal/schemas/detal.schema.d.ts +192 -22
  16. package/dist/document/dto/update-document.dto.d.ts +2 -2
  17. package/dist/edizm/schemas/edizm.schema.d.ts +2 -2
  18. package/dist/edizm/schemas/type-edizm.schema.d.ts +6 -6
  19. package/dist/equipment/dto/udate-equipment-type.dto.d.ts +2 -2
  20. package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
  21. package/dist/equipment/schemas/equipment-pt.schema.d.ts +2 -2
  22. package/dist/equipment/schemas/equipment.schema.d.ts +6 -6
  23. package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +4 -4
  24. package/dist/expenditure/schema/expenditure-position.schema.d.ts +2 -2
  25. package/dist/instrument/dto/update-instrument.dto.d.ts +2 -2
  26. package/dist/instrument/dto/update-pt.dto.d.ts +2 -2
  27. package/dist/instrument/schemas/pt-instrument.schema.d.ts +2 -2
  28. package/dist/inventary/dto/update-inventary.dto.d.ts +2 -2
  29. package/dist/material/dto/create-material.dto.d.ts +136 -0
  30. package/dist/material/dto/create-material.dto.js +16 -0
  31. package/dist/material/dto/up-create-type-material.dto.d.ts +4 -0
  32. package/dist/material/dto/up-create-type-material.dto.js +6 -1
  33. package/dist/material/enum/enum.d.ts +10 -0
  34. package/dist/material/enum/enum.js +12 -1
  35. package/dist/material/index.d.ts +1 -0
  36. package/dist/material/index.js +1 -0
  37. package/dist/material/interfaces/interface.d.ts +5 -0
  38. package/dist/material/schemas/material-characteristics.schema.d.ts +56 -0
  39. package/dist/material/schemas/material-characteristics.schema.js +3 -1
  40. package/dist/material/schemas/material-shipments-response.schema.d.ts +130 -6
  41. package/dist/material/schemas/material.schema.d.ts +130 -6
  42. package/dist/material/schemas/subtype-material.schema.d.ts +2 -2
  43. package/dist/material/schemas/subtype-material.schema.js +1 -1
  44. package/dist/material/schemas/type-material.schema.d.ts +118 -2
  45. package/dist/material/schemas/type-material.schema.js +9 -2
  46. package/dist/material/utils/workpiece-mass.d.ts +56 -0
  47. package/dist/material/utils/workpiece-mass.js +536 -0
  48. package/dist/material/workpiece-mass.d.ts +45 -0
  49. package/dist/material/workpiece-mass.js +400 -0
  50. package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +3 -0
  51. package/dist/metaloworking/dto/get-metallworking-pagination.dto.js +1 -0
  52. package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
  53. package/dist/movement-object/schemas/get-one-object-history.schema.d.ts +40 -6
  54. package/dist/movement-object/schemas/get-one-object-history.schema.js +7 -1
  55. package/dist/moving/schemas/moving.schema.d.ts +6 -6
  56. package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +3 -3
  57. package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
  58. package/dist/product/schemas/product-deficit.schema.d.ts +6 -6
  59. package/dist/production-tasks/interfaces/online-board.d.ts +1 -0
  60. package/dist/role/dto/update-role.dto.d.ts +2 -2
  61. package/dist/role/schemas/role.schema.d.ts +8 -8
  62. package/dist/sclad/schemas/remain.schema.d.ts +2 -2
  63. package/dist/sclad/schemas/remains.schema.d.ts +16 -16
  64. package/dist/settings/dto/update-edizm.dto.d.ts +2 -2
  65. package/dist/shipments/dto/format-list-shipment.dto.d.ts +3 -0
  66. package/dist/shipments/dto/format-list-shipment.dto.js +1 -0
  67. package/dist/shipments/dto/get-shipment-items-by-entity.dto.d.ts +22 -0
  68. package/dist/shipments/dto/get-shipment-items-by-entity.dto.js +12 -0
  69. package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +18 -18
  70. package/dist/shipments/dto/up-create-shipments.dto.d.ts +342 -4
  71. package/dist/shipments/dto/up-create-shipments.dto.js +97 -3
  72. package/dist/shipments/dto/update-ready-to-ship-status.dto.d.ts +9 -0
  73. package/dist/shipments/dto/update-ready-to-ship-status.dto.js +7 -0
  74. package/dist/shipments/index.d.ts +2 -0
  75. package/dist/shipments/index.js +2 -0
  76. package/dist/shipments/schemas/shipment-list-item.schema.d.ts +12 -12
  77. package/dist/shipments/schemas/shipments.schema.d.ts +4 -4
  78. package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +12 -12
  79. package/dist/shipments/types/types.d.ts +1 -0
  80. package/dist/shipments/types/update-shipments-by-product.type.d.ts +12 -12
  81. package/dist/specification/schema/attributes.schema.d.ts +432 -46
  82. package/dist/specification/type/type.d.ts +47 -1
  83. package/dist/tech-process/schemas/tech-process.schema.d.ts +2 -2
  84. package/dist/user/schemas/user.schema.d.ts +4 -4
  85. package/dist/utils/default-value/default-value.js +2 -1
  86. package/dist/utils/enums.d.ts +4 -2
  87. package/dist/utils/enums.js +2 -0
  88. package/dist/utils/schemas/schema.d.ts +2 -2
  89. package/dist/utils/types.d.ts +6 -0
  90. package/dist/waybill/dto/create-waybill-product.dto.d.ts +3 -3
  91. package/dist/waybill/dto/create-waybill-product.dto.js +1 -1
  92. package/dist/waybill/dto/create-waybill.dto.d.ts +5 -5
  93. package/dist/waybill/schemas/waybill.schema.d.ts +6 -0
  94. package/dist/waybill/schemas/waybill.schema.js +3 -1
  95. package/package.json +1 -1
@@ -2,6 +2,8 @@ export declare enum ActionEntityTypes {
2
2
  production_operation_positions = "production_operation_positions",
3
3
  product = "product",
4
4
  cbed = "cbed",
5
+ type_material = "type_material",
6
+ subtype_material = "subtype_material",
5
7
  movement_error = "movement_error",
6
8
  rack = "rack",
7
9
  tools = "tools",
@@ -56,6 +58,14 @@ export declare const ActionEntityTypesDB: {
56
58
  readonly name: "cbed";
57
59
  readonly attributes: readonly ["designation"];
58
60
  };
61
+ readonly type_material: {
62
+ readonly name: "type_material";
63
+ readonly attributes: readonly ["name"];
64
+ };
65
+ readonly subtype_material: {
66
+ readonly name: "subtype_material";
67
+ readonly attributes: readonly ["name"];
68
+ };
59
69
  readonly rack: {
60
70
  readonly name: "rack";
61
71
  readonly attributes: readonly ["id"];
@@ -6,6 +6,8 @@ var ActionEntityTypes;
6
6
  ActionEntityTypes["production_operation_positions"] = "production_operation_positions";
7
7
  ActionEntityTypes["product"] = "product";
8
8
  ActionEntityTypes["cbed"] = "cbed";
9
+ ActionEntityTypes["type_material"] = "type_material";
10
+ ActionEntityTypes["subtype_material"] = "subtype_material";
9
11
  ActionEntityTypes["movement_error"] = "movement_error";
10
12
  ActionEntityTypes["rack"] = "rack";
11
13
  ActionEntityTypes["tools"] = "tools";
@@ -54,6 +56,14 @@ exports.ActionEntityTypesDB = {
54
56
  attributes: ['description']
55
57
  },
56
58
  [ActionEntityTypes.cbed]: { name: 'cbed', attributes: ['designation'] },
59
+ [ActionEntityTypes.type_material]: {
60
+ name: 'type_material',
61
+ attributes: ['name']
62
+ },
63
+ [ActionEntityTypes.subtype_material]: {
64
+ name: 'subtype_material',
65
+ attributes: ['name']
66
+ },
57
67
  [ActionEntityTypes.rack]: { name: 'rack', attributes: ['id'] },
58
68
  [ActionEntityTypes.shcomplit]: {
59
69
  name: 'sh_complit',
@@ -43,8 +43,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
43
43
  purchasesId: z.ZodOptional<z.ZodNumber>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  ban: boolean;
46
- id: number;
47
46
  name: string;
47
+ id: number;
48
48
  attention: boolean;
49
49
  description?: string | null | undefined;
50
50
  contacts?: string | null | undefined;
@@ -53,8 +53,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
53
53
  rekvisit?: string | null | undefined;
54
54
  purchasesId?: number | undefined;
55
55
  }, {
56
- id: number;
57
56
  name: string;
57
+ id: number;
58
58
  ban?: boolean | undefined;
59
59
  description?: string | null | undefined;
60
60
  contacts?: string | null | undefined;
@@ -86,8 +86,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
86
86
  product?: any;
87
87
  buyer?: {
88
88
  ban: boolean;
89
- id: number;
90
89
  name: string;
90
+ id: number;
91
91
  attention: boolean;
92
92
  description?: string | null | undefined;
93
93
  contacts?: string | null | undefined;
@@ -114,8 +114,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
114
114
  ban?: boolean | undefined;
115
115
  product?: any;
116
116
  buyer?: {
117
- id: number;
118
117
  name: string;
118
+ id: number;
119
119
  ban?: boolean | undefined;
120
120
  description?: string | null | undefined;
121
121
  contacts?: string | null | undefined;
@@ -325,8 +325,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
325
325
  }, "strip", z.ZodTypeAny, {
326
326
  ban: boolean;
327
327
  description: string;
328
- id?: number | null | undefined;
329
328
  name?: number | undefined;
329
+ id?: number | null | undefined;
330
330
  detalId?: number | null | undefined;
331
331
  cbedId?: number | null | undefined;
332
332
  productId?: number | null | undefined;
@@ -378,8 +378,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
378
378
  }, {
379
379
  ban?: boolean | undefined;
380
380
  description?: string | undefined;
381
- id?: number | null | undefined;
382
381
  name?: number | undefined;
382
+ id?: number | null | undefined;
383
383
  detalId?: number | null | undefined;
384
384
  cbedId?: number | null | undefined;
385
385
  productId?: number | null | undefined;
@@ -526,8 +526,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
526
526
  purchasesId: z.ZodOptional<z.ZodNumber>;
527
527
  }, "strip", z.ZodTypeAny, {
528
528
  ban: boolean;
529
- id: number;
530
529
  name: string;
530
+ id: number;
531
531
  attention: boolean;
532
532
  description?: string | null | undefined;
533
533
  contacts?: string | null | undefined;
@@ -536,8 +536,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
536
536
  rekvisit?: string | null | undefined;
537
537
  purchasesId?: number | undefined;
538
538
  }, {
539
- id: number;
540
539
  name: string;
540
+ id: number;
541
541
  ban?: boolean | undefined;
542
542
  description?: string | null | undefined;
543
543
  contacts?: string | null | undefined;
@@ -569,8 +569,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
569
569
  product?: any;
570
570
  buyer?: {
571
571
  ban: boolean;
572
- id: number;
573
572
  name: string;
573
+ id: number;
574
574
  attention: boolean;
575
575
  description?: string | null | undefined;
576
576
  contacts?: string | null | undefined;
@@ -597,8 +597,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
597
597
  ban?: boolean | undefined;
598
598
  product?: any;
599
599
  buyer?: {
600
- id: number;
601
600
  name: string;
601
+ id: number;
602
602
  ban?: boolean | undefined;
603
603
  description?: string | null | undefined;
604
604
  contacts?: string | null | undefined;
@@ -666,8 +666,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
666
666
  product?: any;
667
667
  buyer?: {
668
668
  ban: boolean;
669
- id: number;
670
669
  name: string;
670
+ id: number;
671
671
  attention: boolean;
672
672
  description?: string | null | undefined;
673
673
  contacts?: string | null | undefined;
@@ -726,8 +726,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
726
726
  ban?: boolean | undefined;
727
727
  product?: any;
728
728
  buyer?: {
729
- id: number;
730
729
  name: string;
730
+ id: number;
731
731
  ban?: boolean | undefined;
732
732
  description?: string | null | undefined;
733
733
  contacts?: string | null | undefined;
@@ -781,6 +781,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
781
781
  type_сoming: z.ZodNativeEnum<typeof import("../..").WaybilTypeComingEnums>;
782
782
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
783
783
  company_id: z.ZodOptional<z.ZodNumber>;
784
+ order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
785
+ order_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
784
786
  }, "strip", z.ZodTypeAny, {
785
787
  ban: boolean;
786
788
  description: string;
@@ -789,6 +791,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
789
791
  id?: number | null | undefined;
790
792
  createdAt?: string | Date | undefined;
791
793
  company_id?: number | undefined;
794
+ order_number?: string | null | undefined;
795
+ order_date?: string | Date | null | undefined;
792
796
  }, {
793
797
  name: string;
794
798
  type_сoming: import("../..").WaybilTypeComingEnums;
@@ -797,6 +801,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
797
801
  id?: number | null | undefined;
798
802
  createdAt?: string | Date | undefined;
799
803
  company_id?: number | undefined;
804
+ order_number?: string | null | undefined;
805
+ order_date?: string | Date | null | undefined;
800
806
  }>, "many">>>>;
801
807
  }, "strip", z.ZodTypeAny, {
802
808
  status: import("../..").StatusScladWorking;
@@ -811,8 +817,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
811
817
  tech_process?: {
812
818
  ban: boolean;
813
819
  description: string;
814
- id?: number | null | undefined;
815
820
  name?: number | undefined;
821
+ id?: number | null | undefined;
816
822
  detalId?: number | null | undefined;
817
823
  cbedId?: number | null | undefined;
818
824
  productId?: number | null | undefined;
@@ -880,8 +886,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
880
886
  product?: any;
881
887
  buyer?: {
882
888
  ban: boolean;
883
- id: number;
884
889
  name: string;
890
+ id: number;
885
891
  attention: boolean;
886
892
  description?: string | null | undefined;
887
893
  contacts?: string | null | undefined;
@@ -958,8 +964,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
958
964
  product?: any;
959
965
  buyer?: {
960
966
  ban: boolean;
961
- id: number;
962
967
  name: string;
968
+ id: number;
963
969
  attention: boolean;
964
970
  description?: string | null | undefined;
965
971
  contacts?: string | null | undefined;
@@ -984,6 +990,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
984
990
  id?: number | null | undefined;
985
991
  createdAt?: string | Date | undefined;
986
992
  company_id?: number | undefined;
993
+ order_number?: string | null | undefined;
994
+ order_date?: string | Date | null | undefined;
987
995
  }[] | null | undefined;
988
996
  }, {
989
997
  status: import("../..").StatusScladWorking;
@@ -996,8 +1004,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
996
1004
  tech_process?: {
997
1005
  ban?: boolean | undefined;
998
1006
  description?: string | undefined;
999
- id?: number | null | undefined;
1000
1007
  name?: number | undefined;
1008
+ id?: number | null | undefined;
1001
1009
  detalId?: number | null | undefined;
1002
1010
  cbedId?: number | null | undefined;
1003
1011
  productId?: number | null | undefined;
@@ -1062,8 +1070,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1062
1070
  ban?: boolean | undefined;
1063
1071
  product?: any;
1064
1072
  buyer?: {
1065
- id: number;
1066
1073
  name: string;
1074
+ id: number;
1067
1075
  ban?: boolean | undefined;
1068
1076
  description?: string | null | undefined;
1069
1077
  contacts?: string | null | undefined;
@@ -1138,8 +1146,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1138
1146
  ban?: boolean | undefined;
1139
1147
  product?: any;
1140
1148
  buyer?: {
1141
- id: number;
1142
1149
  name: string;
1150
+ id: number;
1143
1151
  ban?: boolean | undefined;
1144
1152
  description?: string | null | undefined;
1145
1153
  contacts?: string | null | undefined;
@@ -1171,6 +1179,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1171
1179
  id?: number | null | undefined;
1172
1180
  createdAt?: string | Date | undefined;
1173
1181
  company_id?: number | undefined;
1182
+ order_number?: string | null | undefined;
1183
+ order_date?: string | Date | null | undefined;
1174
1184
  }[] | null | undefined;
1175
1185
  }>, "many">;
1176
1186
  }, "strip", z.ZodTypeAny, {
@@ -1188,8 +1198,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1188
1198
  tech_process?: {
1189
1199
  ban: boolean;
1190
1200
  description: string;
1191
- id?: number | null | undefined;
1192
1201
  name?: number | undefined;
1202
+ id?: number | null | undefined;
1193
1203
  detalId?: number | null | undefined;
1194
1204
  cbedId?: number | null | undefined;
1195
1205
  productId?: number | null | undefined;
@@ -1257,8 +1267,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1257
1267
  product?: any;
1258
1268
  buyer?: {
1259
1269
  ban: boolean;
1260
- id: number;
1261
1270
  name: string;
1271
+ id: number;
1262
1272
  attention: boolean;
1263
1273
  description?: string | null | undefined;
1264
1274
  contacts?: string | null | undefined;
@@ -1335,8 +1345,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1335
1345
  product?: any;
1336
1346
  buyer?: {
1337
1347
  ban: boolean;
1338
- id: number;
1339
1348
  name: string;
1349
+ id: number;
1340
1350
  attention: boolean;
1341
1351
  description?: string | null | undefined;
1342
1352
  contacts?: string | null | undefined;
@@ -1361,6 +1371,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1361
1371
  id?: number | null | undefined;
1362
1372
  createdAt?: string | Date | undefined;
1363
1373
  company_id?: number | undefined;
1374
+ order_number?: string | null | undefined;
1375
+ order_date?: string | Date | null | undefined;
1364
1376
  }[] | null | undefined;
1365
1377
  }[];
1366
1378
  }, {
@@ -1375,8 +1387,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1375
1387
  tech_process?: {
1376
1388
  ban?: boolean | undefined;
1377
1389
  description?: string | undefined;
1378
- id?: number | null | undefined;
1379
1390
  name?: number | undefined;
1391
+ id?: number | null | undefined;
1380
1392
  detalId?: number | null | undefined;
1381
1393
  cbedId?: number | null | undefined;
1382
1394
  productId?: number | null | undefined;
@@ -1441,8 +1453,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1441
1453
  ban?: boolean | undefined;
1442
1454
  product?: any;
1443
1455
  buyer?: {
1444
- id: number;
1445
1456
  name: string;
1457
+ id: number;
1446
1458
  ban?: boolean | undefined;
1447
1459
  description?: string | null | undefined;
1448
1460
  contacts?: string | null | undefined;
@@ -1517,8 +1529,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1517
1529
  ban?: boolean | undefined;
1518
1530
  product?: any;
1519
1531
  buyer?: {
1520
- id: number;
1521
1532
  name: string;
1533
+ id: number;
1522
1534
  ban?: boolean | undefined;
1523
1535
  description?: string | null | undefined;
1524
1536
  contacts?: string | null | undefined;
@@ -1550,6 +1562,8 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1550
1562
  id?: number | null | undefined;
1551
1563
  createdAt?: string | Date | undefined;
1552
1564
  company_id?: number | undefined;
1565
+ order_number?: string | null | undefined;
1566
+ order_date?: string | Date | null | undefined;
1553
1567
  }[] | null | undefined;
1554
1568
  }[];
1555
1569
  operationId?: number | null | undefined;
@@ -88,6 +88,7 @@ export interface ICreateMovementObject {
88
88
  detal_id?: number;
89
89
  cbed_id?: number;
90
90
  product_id?: number;
91
+ material_id?: number;
91
92
  }
92
93
  type KitsSelected = {
93
94
  id: number;
@@ -44,8 +44,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
44
44
  purchasesId: z.ZodOptional<z.ZodNumber>;
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  ban: boolean;
47
- id: number;
48
47
  name: string;
48
+ id: number;
49
49
  attention: boolean;
50
50
  description?: string | null | undefined;
51
51
  contacts?: string | null | undefined;
@@ -54,8 +54,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
54
54
  rekvisit?: string | null | undefined;
55
55
  purchasesId?: number | undefined;
56
56
  }, {
57
- id: number;
58
57
  name: string;
58
+ id: number;
59
59
  ban?: boolean | undefined;
60
60
  description?: string | null | undefined;
61
61
  contacts?: string | null | undefined;
@@ -87,8 +87,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
87
87
  product?: any;
88
88
  buyer?: {
89
89
  ban: boolean;
90
- id: number;
91
90
  name: string;
91
+ id: number;
92
92
  attention: boolean;
93
93
  description?: string | null | undefined;
94
94
  contacts?: string | null | undefined;
@@ -115,8 +115,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
115
115
  ban?: boolean | undefined;
116
116
  product?: any;
117
117
  buyer?: {
118
- id: number;
119
118
  name: string;
119
+ id: number;
120
120
  ban?: boolean | undefined;
121
121
  description?: string | null | undefined;
122
122
  contacts?: string | null | undefined;
@@ -326,8 +326,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
326
326
  }, "strip", z.ZodTypeAny, {
327
327
  ban: boolean;
328
328
  description: string;
329
- id?: number | null | undefined;
330
329
  name?: number | undefined;
330
+ id?: number | null | undefined;
331
331
  detalId?: number | null | undefined;
332
332
  cbedId?: number | null | undefined;
333
333
  productId?: number | null | undefined;
@@ -379,8 +379,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
379
379
  }, {
380
380
  ban?: boolean | undefined;
381
381
  description?: string | undefined;
382
- id?: number | null | undefined;
383
382
  name?: number | undefined;
383
+ id?: number | null | undefined;
384
384
  detalId?: number | null | undefined;
385
385
  cbedId?: number | null | undefined;
386
386
  productId?: number | null | undefined;
@@ -526,8 +526,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
526
526
  purchasesId: z.ZodOptional<z.ZodNumber>;
527
527
  }, "strip", z.ZodTypeAny, {
528
528
  ban: boolean;
529
- id: number;
530
529
  name: string;
530
+ id: number;
531
531
  attention: boolean;
532
532
  description?: string | null | undefined;
533
533
  contacts?: string | null | undefined;
@@ -536,8 +536,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
536
536
  rekvisit?: string | null | undefined;
537
537
  purchasesId?: number | undefined;
538
538
  }, {
539
- id: number;
540
539
  name: string;
540
+ id: number;
541
541
  ban?: boolean | undefined;
542
542
  description?: string | null | undefined;
543
543
  contacts?: string | null | undefined;
@@ -569,8 +569,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
569
569
  product?: any;
570
570
  buyer?: {
571
571
  ban: boolean;
572
- id: number;
573
572
  name: string;
573
+ id: number;
574
574
  attention: boolean;
575
575
  description?: string | null | undefined;
576
576
  contacts?: string | null | undefined;
@@ -597,8 +597,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
597
597
  ban?: boolean | undefined;
598
598
  product?: any;
599
599
  buyer?: {
600
- id: number;
601
600
  name: string;
601
+ id: number;
602
602
  ban?: boolean | undefined;
603
603
  description?: string | null | undefined;
604
604
  contacts?: string | null | undefined;
@@ -666,8 +666,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
666
666
  product?: any;
667
667
  buyer?: {
668
668
  ban: boolean;
669
- id: number;
670
669
  name: string;
670
+ id: number;
671
671
  attention: boolean;
672
672
  description?: string | null | undefined;
673
673
  contacts?: string | null | undefined;
@@ -726,8 +726,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
726
726
  ban?: boolean | undefined;
727
727
  product?: any;
728
728
  buyer?: {
729
- id: number;
730
729
  name: string;
730
+ id: number;
731
731
  ban?: boolean | undefined;
732
732
  description?: string | null | undefined;
733
733
  contacts?: string | null | undefined;
@@ -781,6 +781,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
781
781
  type_сoming: z.ZodNativeEnum<typeof import("../..").WaybilTypeComingEnums>;
782
782
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
783
783
  company_id: z.ZodOptional<z.ZodNumber>;
784
+ order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
785
+ order_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
784
786
  }, "strip", z.ZodTypeAny, {
785
787
  ban: boolean;
786
788
  description: string;
@@ -789,6 +791,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
789
791
  id?: number | null | undefined;
790
792
  createdAt?: string | Date | undefined;
791
793
  company_id?: number | undefined;
794
+ order_number?: string | null | undefined;
795
+ order_date?: string | Date | null | undefined;
792
796
  }, {
793
797
  name: string;
794
798
  type_сoming: import("../..").WaybilTypeComingEnums;
@@ -797,6 +801,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
797
801
  id?: number | null | undefined;
798
802
  createdAt?: string | Date | undefined;
799
803
  company_id?: number | undefined;
804
+ order_number?: string | null | undefined;
805
+ order_date?: string | Date | null | undefined;
800
806
  }>, "many">>>>;
801
807
  } & {
802
808
  ava_path: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -835,8 +841,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
835
841
  tech_process?: {
836
842
  ban: boolean;
837
843
  description: string;
838
- id?: number | null | undefined;
839
844
  name?: number | undefined;
845
+ id?: number | null | undefined;
840
846
  detalId?: number | null | undefined;
841
847
  cbedId?: number | null | undefined;
842
848
  productId?: number | null | undefined;
@@ -904,8 +910,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
904
910
  product?: any;
905
911
  buyer?: {
906
912
  ban: boolean;
907
- id: number;
908
913
  name: string;
914
+ id: number;
909
915
  attention: boolean;
910
916
  description?: string | null | undefined;
911
917
  contacts?: string | null | undefined;
@@ -986,8 +992,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
986
992
  product?: any;
987
993
  buyer?: {
988
994
  ban: boolean;
989
- id: number;
990
995
  name: string;
996
+ id: number;
991
997
  attention: boolean;
992
998
  description?: string | null | undefined;
993
999
  contacts?: string | null | undefined;
@@ -1012,6 +1018,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
1012
1018
  id?: number | null | undefined;
1013
1019
  createdAt?: string | Date | undefined;
1014
1020
  company_id?: number | undefined;
1021
+ order_number?: string | null | undefined;
1022
+ order_date?: string | Date | null | undefined;
1015
1023
  }[] | null | undefined;
1016
1024
  }, {
1017
1025
  type: PositionItemType.product | PositionItemType.cbed;
@@ -1031,8 +1039,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
1031
1039
  tech_process?: {
1032
1040
  ban?: boolean | undefined;
1033
1041
  description?: string | undefined;
1034
- id?: number | null | undefined;
1035
1042
  name?: number | undefined;
1043
+ id?: number | null | undefined;
1036
1044
  detalId?: number | null | undefined;
1037
1045
  cbedId?: number | null | undefined;
1038
1046
  productId?: number | null | undefined;
@@ -1097,8 +1105,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
1097
1105
  ban?: boolean | undefined;
1098
1106
  product?: any;
1099
1107
  buyer?: {
1100
- id: number;
1101
1108
  name: string;
1109
+ id: number;
1102
1110
  ban?: boolean | undefined;
1103
1111
  description?: string | null | undefined;
1104
1112
  contacts?: string | null | undefined;
@@ -1177,8 +1185,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
1177
1185
  ban?: boolean | undefined;
1178
1186
  product?: any;
1179
1187
  buyer?: {
1180
- id: number;
1181
1188
  name: string;
1189
+ id: number;
1182
1190
  ban?: boolean | undefined;
1183
1191
  description?: string | null | undefined;
1184
1192
  contacts?: string | null | undefined;
@@ -1210,6 +1218,8 @@ export declare const AssembleComingSchema: z.ZodObject<{
1210
1218
  id?: number | null | undefined;
1211
1219
  createdAt?: string | Date | undefined;
1212
1220
  company_id?: number | undefined;
1221
+ order_number?: string | null | undefined;
1222
+ order_date?: string | Date | null | undefined;
1213
1223
  }[] | null | undefined;
1214
1224
  }>;
1215
1225
  export type ModelAssembleComing = z.infer<typeof AssembleComingSchema> & {