@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
@@ -56,8 +56,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
56
56
  purchasesId: z.ZodOptional<z.ZodNumber>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  ban: boolean;
59
- id: number;
60
59
  name: string;
60
+ id: number;
61
61
  attention: boolean;
62
62
  description?: string | null | undefined;
63
63
  contacts?: string | null | undefined;
@@ -66,8 +66,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
66
66
  rekvisit?: string | null | undefined;
67
67
  purchasesId?: number | undefined;
68
68
  }, {
69
- id: number;
70
69
  name: string;
70
+ id: number;
71
71
  ban?: boolean | undefined;
72
72
  description?: string | null | undefined;
73
73
  contacts?: string | null | undefined;
@@ -99,8 +99,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
99
99
  product?: any;
100
100
  buyer?: {
101
101
  ban: boolean;
102
- id: number;
103
102
  name: string;
103
+ id: number;
104
104
  attention: boolean;
105
105
  description?: string | null | undefined;
106
106
  contacts?: string | null | undefined;
@@ -127,8 +127,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
127
127
  ban?: boolean | undefined;
128
128
  product?: any;
129
129
  buyer?: {
130
- id: number;
131
130
  name: string;
131
+ id: number;
132
132
  ban?: boolean | undefined;
133
133
  description?: string | null | undefined;
134
134
  contacts?: string | null | undefined;
@@ -166,8 +166,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
166
166
  product?: any;
167
167
  buyer?: {
168
168
  ban: boolean;
169
- id: number;
170
169
  name: string;
170
+ id: number;
171
171
  attention: boolean;
172
172
  description?: string | null | undefined;
173
173
  contacts?: string | null | undefined;
@@ -224,8 +224,8 @@ export declare const ProductDeficitSchema: z.ZodObject<{
224
224
  ban?: boolean | undefined;
225
225
  product?: any;
226
226
  buyer?: {
227
- id: number;
228
227
  name: string;
228
+ id: number;
229
229
  ban?: boolean | undefined;
230
230
  description?: string | null | undefined;
231
231
  contacts?: string | null | undefined;
@@ -3,6 +3,7 @@ export interface IFiltersByParents {
3
3
  productIds: number[];
4
4
  cbedIds: number[];
5
5
  detalIds: number[];
6
+ materialIds?: number[];
6
7
  }
7
8
  export interface IFiltersByByOrder {
8
9
  orderId: number | number[];
@@ -4,12 +4,12 @@ export declare const UpdateRoleDtoZod: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  }, "strip", z.ZodTypeAny, {
7
- id: number;
8
7
  name: string;
8
+ id: number;
9
9
  description?: string | null | undefined;
10
10
  }, {
11
- id: number;
12
11
  name: string;
12
+ id: number;
13
13
  description?: string | null | undefined;
14
14
  }>;
15
15
  export type UpdateRoleDtoZodType = z.infer<typeof UpdateRoleDtoZod>;
@@ -127,8 +127,8 @@ export declare const RoleSchema: z.ZodObject<{
127
127
  cbed: import("../..").CbedRelativeType[];
128
128
  designation: string | null;
129
129
  description: string | null;
130
- id: number;
131
130
  name: string;
131
+ id: number;
132
132
  calculate_needs_time: Date | null;
133
133
  entity_children_need_time: Date | null;
134
134
  min_remaining: number;
@@ -158,8 +158,8 @@ export declare const RoleSchema: z.ZodObject<{
158
158
  }, {
159
159
  designation: string | null;
160
160
  description: string | null;
161
- id: number;
162
161
  name: string;
162
+ id: number;
163
163
  ava_path: string | null;
164
164
  parametrs: import("../..").CbedParametrsField | null;
165
165
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -602,8 +602,8 @@ export declare const RoleSchema: z.ZodObject<{
602
602
  cbed: import("../..").CbedRelativeType[];
603
603
  designation: string | null;
604
604
  description: string | null;
605
- id: number;
606
605
  name: string;
606
+ id: number;
607
607
  calculate_needs_time: Date | null;
608
608
  entity_children_need_time: Date | null;
609
609
  min_remaining: number;
@@ -796,8 +796,8 @@ export declare const RoleSchema: z.ZodObject<{
796
796
  cbeds: {
797
797
  designation: string | null;
798
798
  description: string | null;
799
- id: number;
800
799
  name: string;
800
+ id: number;
801
801
  ava_path: string | null;
802
802
  parametrs: import("../..").CbedParametrsField | null;
803
803
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -969,8 +969,8 @@ export declare const RoleSchema: z.ZodObject<{
969
969
  }, "strip", z.ZodTypeAny, {
970
970
  ban: boolean;
971
971
  description: string;
972
- id: number;
973
972
  name: string;
973
+ id: number;
974
974
  user?: {
975
975
  banReason: string | null;
976
976
  ban: boolean;
@@ -1018,8 +1018,8 @@ export declare const RoleSchema: z.ZodObject<{
1018
1018
  cbed: import("../..").CbedRelativeType[];
1019
1019
  designation: string | null;
1020
1020
  description: string | null;
1021
- id: number;
1022
1021
  name: string;
1022
+ id: number;
1023
1023
  calculate_needs_time: Date | null;
1024
1024
  entity_children_need_time: Date | null;
1025
1025
  min_remaining: number;
@@ -1178,8 +1178,8 @@ export declare const RoleSchema: z.ZodObject<{
1178
1178
  subdivision?: import("../../user").EnumSubdivision | undefined;
1179
1179
  }[] | undefined;
1180
1180
  }, {
1181
- id: number;
1182
1181
  name: string;
1182
+ id: number;
1183
1183
  ban?: boolean | undefined;
1184
1184
  user?: {
1185
1185
  banReason: string | null;
@@ -1217,8 +1217,8 @@ export declare const RoleSchema: z.ZodObject<{
1217
1217
  cbeds: {
1218
1218
  designation: string | null;
1219
1219
  description: string | null;
1220
- id: number;
1221
1220
  name: string;
1221
+ id: number;
1222
1222
  ava_path: string | null;
1223
1223
  parametrs: import("../..").CbedParametrsField | null;
1224
1224
  characteristic: import("../..").CbedCharacteristicField | null;
@@ -18,8 +18,8 @@ export declare const RemainSchema: z.ZodObject<{
18
18
  ban: boolean;
19
19
  designation: string;
20
20
  description: string;
21
- id: number;
22
21
  name: string;
22
+ id: number;
23
23
  createdAt: string | Date;
24
24
  quantity: number;
25
25
  attetion: boolean;
@@ -33,8 +33,8 @@ export declare const RemainSchema: z.ZodObject<{
33
33
  ban: boolean;
34
34
  designation: string;
35
35
  description: string;
36
- id: number;
37
36
  name: string;
37
+ id: number;
38
38
  createdAt: string | Date;
39
39
  quantity: number;
40
40
  attetion: boolean;
@@ -13,14 +13,14 @@ declare const RemainsSchema: z.ZodObject<{
13
13
  designation: z.ZodOptional<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  designation?: string | undefined;
16
- id?: number | null | undefined;
17
16
  name?: string | undefined;
17
+ id?: number | null | undefined;
18
18
  quantity?: number | undefined;
19
19
  units?: number | undefined;
20
20
  }, {
21
21
  designation?: string | undefined;
22
- id?: number | null | undefined;
23
22
  name?: string | undefined;
23
+ id?: number | null | undefined;
24
24
  quantity?: number | undefined;
25
25
  units?: number | undefined;
26
26
  }>, "many">>;
@@ -32,14 +32,14 @@ declare const RemainsSchema: z.ZodObject<{
32
32
  designation: z.ZodOptional<z.ZodString>;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  designation?: string | undefined;
35
- id?: number | null | undefined;
36
35
  name?: string | undefined;
36
+ id?: number | null | undefined;
37
37
  quantity?: number | undefined;
38
38
  units?: number | undefined;
39
39
  }, {
40
40
  designation?: string | undefined;
41
- id?: number | null | undefined;
42
41
  name?: string | undefined;
42
+ id?: number | null | undefined;
43
43
  quantity?: number | undefined;
44
44
  units?: number | undefined;
45
45
  }>, "many">>;
@@ -51,14 +51,14 @@ declare const RemainsSchema: z.ZodObject<{
51
51
  designation: z.ZodOptional<z.ZodString>;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  designation?: string | undefined;
54
- id?: number | null | undefined;
55
54
  name?: string | undefined;
55
+ id?: number | null | undefined;
56
56
  quantity?: number | undefined;
57
57
  units?: number | undefined;
58
58
  }, {
59
59
  designation?: string | undefined;
60
- id?: number | null | undefined;
61
60
  name?: string | undefined;
61
+ id?: number | null | undefined;
62
62
  quantity?: number | undefined;
63
63
  units?: number | undefined;
64
64
  }>, "many">>;
@@ -70,14 +70,14 @@ declare const RemainsSchema: z.ZodObject<{
70
70
  designation: z.ZodOptional<z.ZodString>;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  designation?: string | undefined;
73
- id?: number | null | undefined;
74
73
  name?: string | undefined;
74
+ id?: number | null | undefined;
75
75
  quantity?: number | undefined;
76
76
  units?: number | undefined;
77
77
  }, {
78
78
  designation?: string | undefined;
79
- id?: number | null | undefined;
80
79
  name?: string | undefined;
80
+ id?: number | null | undefined;
81
81
  quantity?: number | undefined;
82
82
  units?: number | undefined;
83
83
  }>, "many">>;
@@ -93,29 +93,29 @@ declare const RemainsSchema: z.ZodObject<{
93
93
  shipments_kolvo?: number | undefined;
94
94
  materialList?: {
95
95
  designation?: string | undefined;
96
- id?: number | null | undefined;
97
96
  name?: string | undefined;
97
+ id?: number | null | undefined;
98
98
  quantity?: number | undefined;
99
99
  units?: number | undefined;
100
100
  }[] | undefined;
101
101
  listPokDet?: {
102
102
  designation?: string | undefined;
103
- id?: number | null | undefined;
104
103
  name?: string | undefined;
104
+ id?: number | null | undefined;
105
105
  quantity?: number | undefined;
106
106
  units?: number | undefined;
107
107
  }[] | undefined;
108
108
  listCbed?: {
109
109
  designation?: string | undefined;
110
- id?: number | null | undefined;
111
110
  name?: string | undefined;
111
+ id?: number | null | undefined;
112
112
  quantity?: number | undefined;
113
113
  units?: number | undefined;
114
114
  }[] | undefined;
115
115
  listDetal?: {
116
116
  designation?: string | undefined;
117
- id?: number | null | undefined;
118
117
  name?: string | undefined;
118
+ id?: number | null | undefined;
119
119
  quantity?: number | undefined;
120
120
  units?: number | undefined;
121
121
  }[] | undefined;
@@ -130,29 +130,29 @@ declare const RemainsSchema: z.ZodObject<{
130
130
  shipments_kolvo?: number | undefined;
131
131
  materialList?: {
132
132
  designation?: string | undefined;
133
- id?: number | null | undefined;
134
133
  name?: string | undefined;
134
+ id?: number | null | undefined;
135
135
  quantity?: number | undefined;
136
136
  units?: number | undefined;
137
137
  }[] | undefined;
138
138
  listPokDet?: {
139
139
  designation?: string | undefined;
140
- id?: number | null | undefined;
141
140
  name?: string | undefined;
141
+ id?: number | null | undefined;
142
142
  quantity?: number | undefined;
143
143
  units?: number | undefined;
144
144
  }[] | undefined;
145
145
  listCbed?: {
146
146
  designation?: string | undefined;
147
- id?: number | null | undefined;
148
147
  name?: string | undefined;
148
+ id?: number | null | undefined;
149
149
  quantity?: number | undefined;
150
150
  units?: number | undefined;
151
151
  }[] | undefined;
152
152
  listDetal?: {
153
153
  designation?: string | undefined;
154
- id?: number | null | undefined;
155
154
  name?: string | undefined;
155
+ id?: number | null | undefined;
156
156
  quantity?: number | undefined;
157
157
  units?: number | undefined;
158
158
  }[] | undefined;
@@ -4,12 +4,12 @@ export declare const UpdateEdizmDtoZod: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  short_name: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
- id: number;
8
7
  name: string;
8
+ id: number;
9
9
  short_name: string;
10
10
  }, {
11
- id: number;
12
11
  name: string;
12
+ id: number;
13
13
  short_name: string;
14
14
  }>;
15
15
  export type UpdateEdizmDtoZodType = z.infer<typeof UpdateEdizmDtoZod>;
@@ -3,6 +3,7 @@ import { IzdType } from '../../utils';
3
3
  export declare const formatinglistShipmentSchema: z.ZodObject<{
4
4
  entityId: z.ZodNumber;
5
5
  type: z.ZodNativeEnum<typeof IzdType>;
6
+ productId: z.ZodOptional<z.ZodNumber>;
6
7
  shipmentIdToDelete: z.ZodOptional<z.ZodNumber>;
7
8
  shipmentToCheckIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
8
9
  isReturnFirstDeficit: z.ZodOptional<z.ZodBoolean>;
@@ -11,6 +12,7 @@ export declare const formatinglistShipmentSchema: z.ZodObject<{
11
12
  }, "strip", z.ZodTypeAny, {
12
13
  type: IzdType;
13
14
  entityId: number;
15
+ productId?: number | undefined;
14
16
  recursiveSpecificationObject?: any;
15
17
  transaction?: any;
16
18
  shipmentIdToDelete?: number | undefined;
@@ -19,6 +21,7 @@ export declare const formatinglistShipmentSchema: z.ZodObject<{
19
21
  }, {
20
22
  type: IzdType;
21
23
  entityId: number;
24
+ productId?: number | undefined;
22
25
  recursiveSpecificationObject?: any;
23
26
  transaction?: any;
24
27
  shipmentIdToDelete?: number | undefined;
@@ -6,6 +6,7 @@ const utils_1 = require("../../utils");
6
6
  exports.formatinglistShipmentSchema = zod_1.z.object({
7
7
  entityId: zod_1.z.number(),
8
8
  type: zod_1.z.nativeEnum(utils_1.IzdType),
9
+ productId: zod_1.z.number().optional(),
9
10
  shipmentIdToDelete: zod_1.z.number().optional(),
10
11
  shipmentToCheckIds: zod_1.z.array(zod_1.z.number()).optional(),
11
12
  isReturnFirstDeficit: zod_1.z.boolean().optional(),
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { IzdType } from '../../utils';
3
+ export declare const getShipmentItemsByEntitySchema: z.ZodObject<{
4
+ entityId: z.ZodNumber;
5
+ entityType: z.ZodNativeEnum<typeof IzdType>;
6
+ shipmentId: z.ZodOptional<z.ZodNumber>;
7
+ childId: z.ZodNumber;
8
+ childType: z.ZodNativeEnum<typeof IzdType>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ entityId: number;
11
+ entityType: IzdType;
12
+ childId: number;
13
+ childType: IzdType;
14
+ shipmentId?: number | undefined;
15
+ }, {
16
+ entityId: number;
17
+ entityType: IzdType;
18
+ childId: number;
19
+ childType: IzdType;
20
+ shipmentId?: number | undefined;
21
+ }>;
22
+ export type GetShipmentItemsByEntityDto = z.infer<typeof getShipmentItemsByEntitySchema>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getShipmentItemsByEntitySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ exports.getShipmentItemsByEntitySchema = zod_1.z.object({
7
+ entityId: zod_1.z.number().int().positive(),
8
+ entityType: zod_1.z.nativeEnum(utils_1.IzdType),
9
+ shipmentId: zod_1.z.number().int().positive().optional(),
10
+ childId: zod_1.z.number().int().positive(),
11
+ childType: zod_1.z.nativeEnum(utils_1.IzdType)
12
+ });
@@ -10,11 +10,11 @@ export declare const ShipmentsListPaginationResponseSchema: z.ZodObject<{
10
10
  id: z.ZodNumber;
11
11
  name: z.ZodString;
12
12
  }, "strip", z.ZodTypeAny, {
13
- id: number;
14
13
  name: string;
15
- }, {
16
14
  id: number;
15
+ }, {
17
16
  name: string;
17
+ id: number;
18
18
  }>>;
19
19
  detals: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodNumber;
@@ -80,37 +80,37 @@ export declare const ShipmentsListPaginationResponseSchema: z.ZodObject<{
80
80
  id: z.ZodNumber;
81
81
  name: z.ZodString;
82
82
  }, "strip", z.ZodTypeAny, {
83
- id: number;
84
83
  name: string;
85
- }, {
86
84
  id: number;
85
+ }, {
87
86
  name: string;
87
+ id: number;
88
88
  }>>;
89
89
  company: z.ZodOptional<z.ZodObject<{
90
90
  id: z.ZodNumber;
91
91
  name: z.ZodString;
92
92
  }, "strip", z.ZodTypeAny, {
93
- id: number;
94
93
  name: string;
95
- }, {
96
94
  id: number;
95
+ }, {
97
96
  name: string;
97
+ id: number;
98
98
  }>>;
99
99
  }, "strip", z.ZodTypeAny, {
100
100
  id: number;
101
101
  number_order: string;
102
102
  date_shipments: string | Date;
103
103
  product?: {
104
- id: number;
105
104
  name: string;
105
+ id: number;
106
106
  } | undefined;
107
107
  buyer?: {
108
- id: number;
109
108
  name: string;
109
+ id: number;
110
110
  } | undefined;
111
111
  company?: {
112
- id: number;
113
112
  name: string;
113
+ id: number;
114
114
  } | undefined;
115
115
  cbeds?: {
116
116
  id: number;
@@ -134,16 +134,16 @@ export declare const ShipmentsListPaginationResponseSchema: z.ZodObject<{
134
134
  number_order: string;
135
135
  date_shipments: string | Date;
136
136
  product?: {
137
- id: number;
138
137
  name: string;
138
+ id: number;
139
139
  } | undefined;
140
140
  buyer?: {
141
- id: number;
142
141
  name: string;
142
+ id: number;
143
143
  } | undefined;
144
144
  company?: {
145
- id: number;
146
145
  name: string;
146
+ id: number;
147
147
  } | undefined;
148
148
  cbeds?: {
149
149
  id: number;
@@ -170,16 +170,16 @@ export declare const ShipmentsListPaginationResponseSchema: z.ZodObject<{
170
170
  number_order: string;
171
171
  date_shipments: string | Date;
172
172
  product?: {
173
- id: number;
174
173
  name: string;
174
+ id: number;
175
175
  } | undefined;
176
176
  buyer?: {
177
- id: number;
178
177
  name: string;
178
+ id: number;
179
179
  } | undefined;
180
180
  company?: {
181
- id: number;
182
181
  name: string;
182
+ id: number;
183
183
  } | undefined;
184
184
  cbeds?: {
185
185
  id: number;
@@ -206,16 +206,16 @@ export declare const ShipmentsListPaginationResponseSchema: z.ZodObject<{
206
206
  number_order: string;
207
207
  date_shipments: string | Date;
208
208
  product?: {
209
- id: number;
210
209
  name: string;
210
+ id: number;
211
211
  } | undefined;
212
212
  buyer?: {
213
- id: number;
214
213
  name: string;
214
+ id: number;
215
215
  } | undefined;
216
216
  company?: {
217
- id: number;
218
217
  name: string;
218
+ id: number;
219
219
  } | undefined;
220
220
  cbeds?: {
221
221
  id: number;