sigo-entities 0.0.12 → 0.0.14

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/index.d.mts CHANGED
@@ -1,297 +1,297 @@
1
1
  declare function validateAndFormatData<T extends object>(data: any, dtoClass: new () => T): Promise<T>;
2
2
 
3
3
  declare class CodigoDescripcionDTO {
4
- readonly Codigo: string;
5
- readonly Descripcion: string;
4
+ Codigo: string;
5
+ Descripcion: string;
6
6
  }
7
7
 
8
8
  declare class CodigoNombreDTO {
9
- readonly Codigo: string;
10
- readonly Nombre: string;
9
+ Codigo: string;
10
+ Nombre: string;
11
11
  }
12
12
 
13
13
  declare class CodigoNombreUMDTO {
14
- readonly Codigo: string;
15
- readonly Nombre: string;
16
- readonly UnidadMedida: string;
14
+ Codigo: string;
15
+ Nombre: string;
16
+ UnidadMedida: string;
17
17
  }
18
18
 
19
19
  declare class CoordenadasDTO {
20
- readonly X: string;
21
- readonly Y: string;
20
+ X: string;
21
+ Y: string;
22
22
  }
23
23
 
24
24
  declare class UsuarioEdicionDTO {
25
- readonly Cuadrilla: string;
26
- readonly User: string;
27
- readonly Identificacion: string;
25
+ Cuadrilla: string;
26
+ User: string;
27
+ Identificacion: string;
28
28
  }
29
29
 
30
30
  declare class Sub_Estado_InternoDTO {
31
- readonly ID_EstadoInterno: number;
32
- readonly ID_EstadoInternoPadre: number;
33
- readonly Fecha: Date;
34
- readonly Descripcion: string;
35
- readonly Icono: string;
36
- readonly Color: string;
37
- readonly Orden: number;
38
- readonly ColorFondo: string;
39
- readonly Tipo: string;
40
- readonly Observacion: string;
41
- readonly UsuarioEdicion: UsuarioEdicionDTO;
31
+ ID_EstadoInterno: number;
32
+ ID_EstadoInternoPadre: number;
33
+ Fecha: Date;
34
+ Descripcion: string;
35
+ Icono: string;
36
+ Color: string;
37
+ Orden: number;
38
+ ColorFondo: string;
39
+ Tipo: string;
40
+ Observacion: string;
41
+ UsuarioEdicion: UsuarioEdicionDTO;
42
42
  }
43
43
 
44
44
  declare class Estado_InternoDTO {
45
- readonly ID_EstadoInterno: number;
46
- readonly Fecha: Date;
47
- readonly Descripcion: string;
48
- readonly Icono: string;
49
- readonly Color: string;
50
- readonly Orden: number;
51
- readonly ColorFondo: string;
52
- readonly Tipo: string;
53
- readonly Observacion: string;
54
- readonly UsuarioEdicion: UsuarioEdicionDTO;
55
- readonly UltimoSubEstado: Sub_Estado_InternoDTO;
56
- readonly SubEstados: Sub_Estado_InternoDTO[];
45
+ ID_EstadoInterno: number;
46
+ Fecha: Date;
47
+ Descripcion: string;
48
+ Icono: string;
49
+ Color: string;
50
+ Orden: number;
51
+ ColorFondo: string;
52
+ Tipo: string;
53
+ Observacion: string;
54
+ UsuarioEdicion: UsuarioEdicionDTO;
55
+ UltimoSubEstado: Sub_Estado_InternoDTO;
56
+ SubEstados: Sub_Estado_InternoDTO[];
57
57
  }
58
58
 
59
59
  declare class EstadoDTO {
60
- readonly ID_Estado: number;
61
- readonly Nombre: string;
60
+ ID_Estado: number;
61
+ Nombre: string;
62
62
  }
63
63
 
64
64
  declare class SizeDTO {
65
- readonly Size: number;
66
- readonly UM: string;
65
+ Size: number;
66
+ UM: string;
67
67
  }
68
68
 
69
69
  declare class FilesDocDTO {
70
- readonly Posicion: string;
71
- readonly Filename: string;
72
- readonly Extension: string;
73
- readonly CodigoNodo: string;
74
- readonly NameOriginal: string;
75
- readonly Size: SizeDTO;
76
- readonly Ruta: string;
77
- readonly Observacion: string;
78
- readonly Coordenadas: CoordenadasDTO;
79
- readonly Fecha_Archivo: Date;
80
- readonly Ultimo_Flujo: FilesDocDTO;
81
- readonly Flujos: FilesDocDTO[];
82
- readonly Estado: EstadoDTO;
70
+ Posicion: string;
71
+ Filename: string;
72
+ Extension: string;
73
+ CodigoNodo: string;
74
+ NameOriginal: string;
75
+ Size: SizeDTO;
76
+ Ruta: string;
77
+ Observacion: string;
78
+ Coordenadas: CoordenadasDTO;
79
+ Fecha_Archivo: Date;
80
+ Ultimo_Flujo: FilesDocDTO;
81
+ Flujos: FilesDocDTO[];
82
+ Estado: EstadoDTO;
83
83
  }
84
84
 
85
85
  declare class UsuarioDTO$1 {
86
- readonly Identificacion: string;
87
- readonly Apellidos: string;
88
- readonly Nombres: string;
89
- readonly Fecha: Date;
86
+ Identificacion: string;
87
+ Apellidos: string;
88
+ Nombres: string;
89
+ Fecha: Date;
90
90
  }
91
91
 
92
92
  declare class FotoDTO {
93
- readonly Coordenadas: CoordenadasDTO;
94
- readonly Estado: EstadoDTO;
95
- readonly Fecha: Date;
96
- readonly Ruta: string;
97
- readonly img: string;
93
+ Coordenadas: CoordenadasDTO;
94
+ Estado: EstadoDTO;
95
+ Fecha: Date;
96
+ Ruta: string;
97
+ img: string;
98
98
  }
99
99
 
100
100
  declare class UnidadMedidaDTO {
101
- readonly ID_UnidadMedida: number;
102
- readonly Nombre: string;
101
+ ID_UnidadMedida: number;
102
+ Nombre: string;
103
103
  }
104
104
 
105
105
  declare class ContrataDTO {
106
- readonly FechaRegistro: Date;
107
- readonly Ultimo_Estado_Interno: Estado_InternoDTO;
108
- readonly Estados_Internos: Estado_InternoDTO[];
106
+ FechaRegistro: Date;
107
+ Ultimo_Estado_Interno: Estado_InternoDTO;
108
+ Estados_Internos: Estado_InternoDTO[];
109
109
  }
110
110
 
111
111
  declare class PeriodoDTO {
112
- readonly ID_Periodo: number;
113
- readonly Codigo: string;
114
- readonly FechaInicio: Date;
115
- readonly FechaFin: Date;
116
- readonly FechaMaxima: Date;
117
- readonly Mes: number;
118
- readonly Anio: number;
112
+ ID_Periodo: number;
113
+ Codigo: string;
114
+ FechaInicio: Date;
115
+ FechaFin: Date;
116
+ FechaMaxima: Date;
117
+ Mes: number;
118
+ Anio: number;
119
119
  }
120
120
 
121
121
  declare class CertificacionProduccionDTO {
122
- readonly Mes: number;
123
- readonly Anio: number;
124
- readonly UltimoPeriodo: PeriodoDTO;
125
- readonly UsuarioEdicion: UsuarioEdicionDTO;
126
- readonly FechaRegistro: Date;
122
+ Mes: number;
123
+ Anio: number;
124
+ UltimoPeriodo: PeriodoDTO;
125
+ UsuarioEdicion: UsuarioEdicionDTO;
126
+ FechaRegistro: Date;
127
127
  }
128
128
 
129
129
  declare class MaterialesDTO {
130
- readonly Codigo: string;
131
- readonly CodigoLlave: string;
132
- readonly Descripcion: string;
133
- readonly Estado: EstadoDTO;
134
- readonly UnidadMedida: UnidadMedidaDTO;
135
- readonly Cantidad: number;
136
- readonly CantidadStock: number;
137
- readonly CantidadSinStock: number;
138
- readonly CantidadReutilizada: number;
139
- readonly CantidadContratista: number;
140
- readonly CantidadInformada: number;
141
- readonly Accion: CodigoDescripcionDTO;
142
- readonly Motivo: CodigoDescripcionDTO;
130
+ Codigo: string;
131
+ CodigoLlave: string;
132
+ Descripcion: string;
133
+ Estado: EstadoDTO;
134
+ UnidadMedida: UnidadMedidaDTO;
135
+ Cantidad: number;
136
+ CantidadStock: number;
137
+ CantidadSinStock: number;
138
+ CantidadReutilizada: number;
139
+ CantidadContratista: number;
140
+ CantidadInformada: number;
141
+ Accion: CodigoDescripcionDTO;
142
+ Motivo: CodigoDescripcionDTO;
143
143
  }
144
144
 
145
145
  declare class DetalleChileDTO {
146
- readonly Codigo: string;
147
- readonly Linea: string;
148
- readonly DirDesde: string;
149
- readonly AltDesde: string;
150
- readonly DirHasta: string;
151
- readonly AltHasta: string;
152
- readonly Plano: string;
153
- readonly Especialidad: CodigoNombreDTO;
154
- readonly Actividad: CodigoNombreDTO;
155
- readonly Clave: CodigoNombreDTO;
156
- readonly Tarea: string;
157
- readonly ManoObra: CodigoNombreUMDTO;
158
- readonly UnidadObra: CodigoNombreUMDTO;
159
- readonly HomePass: CodigoNombreDTO;
160
- readonly LineaCodigoCub: string;
161
- readonly CodigoCub: string;
162
- readonly CanMOCub: number;
163
- readonly CanMOInf: number;
164
- readonly CanMOApr: number;
165
- readonly CanUOCub: number;
166
- readonly CanUOInf: number;
167
- readonly TotalUO: number;
168
- readonly CanUOApr: number;
169
- readonly Origen: number;
170
- readonly CodigoBarra: string;
171
- readonly PuntoBaremo: number;
146
+ Codigo: string;
147
+ Linea: string;
148
+ DirDesde: string;
149
+ AltDesde: string;
150
+ DirHasta: string;
151
+ AltHasta: string;
152
+ Plano: string;
153
+ Especialidad: CodigoNombreDTO;
154
+ Actividad: CodigoNombreDTO;
155
+ Clave: CodigoNombreDTO;
156
+ Tarea: string;
157
+ ManoObra: CodigoNombreUMDTO;
158
+ UnidadObra: CodigoNombreUMDTO;
159
+ HomePass: CodigoNombreDTO;
160
+ LineaCodigoCub: string;
161
+ CodigoCub: string;
162
+ CanMOCub: number;
163
+ CanMOInf: number;
164
+ CanMOApr: number;
165
+ CanUOCub: number;
166
+ CanUOInf: number;
167
+ TotalUO: number;
168
+ CanUOApr: number;
169
+ Origen: number;
170
+ CodigoBarra: string;
171
+ PuntoBaremo: number;
172
172
  }
173
173
 
174
174
  declare class HomePassDTO {
175
- readonly ID_HPListMO: number;
176
- readonly Type: string;
177
- readonly Cantidad: number;
178
- readonly ID_AddressList: number;
179
- readonly AddressID: string;
180
- readonly Home_ID: string;
181
- readonly ClientType: string;
182
- readonly StreetName: string;
183
- readonly HouseNumber: string;
184
- readonly HouseNumbreComplement: string;
175
+ ID_HPListMO: number;
176
+ Type: string;
177
+ Cantidad: number;
178
+ ID_AddressList: number;
179
+ AddressID: string;
180
+ Home_ID: string;
181
+ ClientType: string;
182
+ StreetName: string;
183
+ HouseNumber: string;
184
+ HouseNumbreComplement: string;
185
185
  }
186
186
 
187
187
  declare class SubManoObraDTO {
188
- readonly Codigo: string;
189
- readonly Nombre: string;
190
- readonly CantidadSMO: number;
191
- readonly Cantidad: number;
192
- readonly Total: number;
193
- readonly Estado: EstadoDTO;
188
+ Codigo: string;
189
+ Nombre: string;
190
+ CantidadSMO: number;
191
+ Cantidad: number;
192
+ Total: number;
193
+ Estado: EstadoDTO;
194
194
  }
195
195
 
196
196
  declare class ValorizacionDTO {
197
- readonly ID_Valorizacion: number;
198
- readonly Amap: number;
199
- readonly Cantidad: number;
200
- readonly CantidadUO: number;
201
- readonly Codigo: string;
202
- readonly Descripcion: string;
203
- readonly Contrata: ContrataDTO;
204
- readonly Certificacion: CertificacionProduccionDTO;
205
- readonly Produccion: CertificacionProduccionDTO;
206
- readonly Ultimo_Estado_Interno: Estado_InternoDTO;
207
- readonly Estados: Estado_InternoDTO[];
208
- readonly FechaLiquidacion: Date;
209
- readonly Semana: number;
210
- readonly Calle: string;
211
- readonly Numero: string;
212
- readonly Anexos: FilesDocDTO[];
213
- readonly Fotos: FotoDTO[];
214
- readonly Moneda: string;
215
- readonly Simbolo: string;
216
- readonly Decimales: number;
217
- readonly Observaciones: string;
218
- readonly Precio: number;
219
- readonly Puntos: number;
220
- readonly Total: number;
221
- readonly Unidad: string;
222
- readonly MaterialesUtilizados: MaterialesDTO[];
223
- readonly MaterialesRetirados: MaterialesDTO[];
224
- readonly DetalleChile: DetalleChileDTO;
225
- readonly HomePass: HomePassDTO[];
226
- readonly SubManoObra: SubManoObraDTO[];
227
- readonly PrecioContrata: number;
228
- readonly TotalContrata: number;
197
+ ID_Valorizacion: number;
198
+ Amap: number;
199
+ Cantidad: number;
200
+ CantidadUO: number;
201
+ Codigo: string;
202
+ Descripcion: string;
203
+ Contrata: ContrataDTO;
204
+ Certificacion: CertificacionProduccionDTO;
205
+ Produccion: CertificacionProduccionDTO;
206
+ Ultimo_Estado_Interno: Estado_InternoDTO;
207
+ Estados: Estado_InternoDTO[];
208
+ FechaLiquidacion: Date;
209
+ Semana: number;
210
+ Calle: string;
211
+ Numero: string;
212
+ Anexos: FilesDocDTO[];
213
+ Fotos: FotoDTO[];
214
+ Moneda: string;
215
+ Simbolo: string;
216
+ Decimales: number;
217
+ Observaciones: string;
218
+ Precio: number;
219
+ Puntos: number;
220
+ Total: number;
221
+ Unidad: string;
222
+ MaterialesUtilizados: MaterialesDTO[];
223
+ MaterialesRetirados: MaterialesDTO[];
224
+ DetalleChile: DetalleChileDTO;
225
+ HomePass: HomePassDTO[];
226
+ SubManoObra: SubManoObraDTO[];
227
+ PrecioContrata: number;
228
+ TotalContrata: number;
229
229
  }
230
230
 
231
231
  declare class Ultima_PreLiquidacionDTO {
232
- readonly Valorizacion: ValorizacionDTO[];
232
+ Valorizacion: ValorizacionDTO[];
233
233
  }
234
234
 
235
235
  declare class PersonalDTO {
236
- readonly Identificacion: string;
237
- readonly IdPersonal: number;
238
- readonly Apellidos: string;
239
- readonly Nombres: string;
240
- readonly PerfilGOM: string;
241
- readonly Cargo: string;
236
+ Identificacion: string;
237
+ IdPersonal: number;
238
+ Apellidos: string;
239
+ Nombres: string;
240
+ PerfilGOM: string;
241
+ Cargo: string;
242
242
  }
243
243
 
244
244
  declare class TurnoDTO {
245
- readonly Codigo: string;
246
- readonly Hora_Fin: number;
247
- readonly Hora_Inicio: number;
245
+ Codigo: string;
246
+ Hora_Fin: number;
247
+ Hora_Inicio: number;
248
248
  }
249
249
 
250
250
  declare class EmpresaDTO {
251
- readonly Codigo: string;
252
- readonly RazonSocial: string;
253
- readonly Propia: boolean;
251
+ Codigo: string;
252
+ RazonSocial: string;
253
+ Propia: boolean;
254
254
  }
255
255
 
256
256
  declare class ValorizacionesDTO {
257
- readonly ID_AsignacionValorizacion: number;
258
- readonly ID_Amap: number;
259
- readonly Linea: string;
260
- readonly Codigo: string;
261
- readonly CantidadMO: number;
262
- readonly CantidadUO: number;
263
- readonly Especialidad: CodigoNombreDTO;
264
- readonly Actividad: CodigoNombreDTO;
265
- readonly Clave: CodigoNombreDTO;
266
- readonly ManoObra: CodigoNombreUMDTO;
267
- readonly UnidadObra: CodigoNombreUMDTO;
268
- readonly LineaCodigoCub: string;
269
- readonly CodigoCub: string;
270
- readonly Estado: EstadoDTO;
257
+ ID_AsignacionValorizacion: number;
258
+ ID_Amap: number;
259
+ Linea: string;
260
+ Codigo: string;
261
+ CantidadMO: number;
262
+ CantidadUO: number;
263
+ Especialidad: CodigoNombreDTO;
264
+ Actividad: CodigoNombreDTO;
265
+ Clave: CodigoNombreDTO;
266
+ ManoObra: CodigoNombreUMDTO;
267
+ UnidadObra: CodigoNombreUMDTO;
268
+ LineaCodigoCub: string;
269
+ CodigoCub: string;
270
+ Estado: EstadoDTO;
271
271
  }
272
272
 
273
273
  declare class Ultima_asignacionDTO {
274
- readonly Cuadrilla: CodigoDescripcionDTO;
275
- readonly Personal: PersonalDTO[];
276
- readonly TipoMovil: CodigoDescripcionDTO;
277
- readonly Turno: TurnoDTO;
278
- readonly Fecha: Date;
279
- readonly Usuario: UsuarioDTO$1;
280
- readonly Empresa: EmpresaDTO;
281
- readonly Valorizaciones: ValorizacionesDTO[];
274
+ Cuadrilla: CodigoDescripcionDTO;
275
+ Personal: PersonalDTO[];
276
+ TipoMovil: CodigoDescripcionDTO;
277
+ Turno: TurnoDTO;
278
+ Fecha: Date;
279
+ Usuario: UsuarioDTO$1;
280
+ Empresa: EmpresaDTO;
281
+ Valorizaciones: ValorizacionesDTO[];
282
282
  }
283
283
 
284
284
  declare class TrabajoENTITY {
285
- readonly ID_Trabajo: number;
286
- readonly ID_GOM: number;
287
- readonly GOM: string;
288
- readonly Descripcion: string;
289
- readonly FechaRegistro: Date;
290
- readonly Pais: CodigoNombreDTO;
291
- readonly Delegacion: CodigoNombreDTO;
292
- readonly ZonaAsignada: string;
293
- readonly Ultima_PreLiquidacion: Ultima_PreLiquidacionDTO;
294
- readonly Ultima_asignacion: Ultima_asignacionDTO;
285
+ ID_Trabajo: number;
286
+ ID_GOM: number;
287
+ GOM: string;
288
+ Descripcion: string;
289
+ FechaRegistro: Date;
290
+ Pais: CodigoNombreDTO;
291
+ Delegacion: CodigoNombreDTO;
292
+ ZonaAsignada: string;
293
+ Ultima_PreLiquidacion: Ultima_PreLiquidacionDTO;
294
+ Ultima_asignacion: Ultima_asignacionDTO;
295
295
  }
296
296
 
297
297
  declare class ConsumoMaterialChile9512ENTITY {
@@ -348,4 +348,17 @@ declare class StockPersonalEquiposENTITY {
348
348
  Equipos: EquiposDTO[];
349
349
  }
350
350
 
351
- export { ConsumoMaterialChile9512ENTITY, StockPersonalEquiposENTITY, TrabajoENTITY, validateAndFormatData };
351
+ type typeEstado = 'PENDIENTE' | 'ATENDIDO';
352
+ declare class AtencionOrdenesLiquidadasENTITY {
353
+ Orden: string;
354
+ CodigoSAP: string;
355
+ LoteSAP: string;
356
+ NumeroSerie: string;
357
+ Cantidad: number;
358
+ ID_Recurso: string;
359
+ NroDocumento: string;
360
+ Fecha: Date;
361
+ Estado: typeEstado;
362
+ }
363
+
364
+ export { AtencionOrdenesLiquidadasENTITY, ConsumoMaterialChile9512ENTITY, StockPersonalEquiposENTITY, TrabajoENTITY, validateAndFormatData };
package/dist/index.d.ts CHANGED
@@ -1,297 +1,297 @@
1
1
  declare function validateAndFormatData<T extends object>(data: any, dtoClass: new () => T): Promise<T>;
2
2
 
3
3
  declare class CodigoDescripcionDTO {
4
- readonly Codigo: string;
5
- readonly Descripcion: string;
4
+ Codigo: string;
5
+ Descripcion: string;
6
6
  }
7
7
 
8
8
  declare class CodigoNombreDTO {
9
- readonly Codigo: string;
10
- readonly Nombre: string;
9
+ Codigo: string;
10
+ Nombre: string;
11
11
  }
12
12
 
13
13
  declare class CodigoNombreUMDTO {
14
- readonly Codigo: string;
15
- readonly Nombre: string;
16
- readonly UnidadMedida: string;
14
+ Codigo: string;
15
+ Nombre: string;
16
+ UnidadMedida: string;
17
17
  }
18
18
 
19
19
  declare class CoordenadasDTO {
20
- readonly X: string;
21
- readonly Y: string;
20
+ X: string;
21
+ Y: string;
22
22
  }
23
23
 
24
24
  declare class UsuarioEdicionDTO {
25
- readonly Cuadrilla: string;
26
- readonly User: string;
27
- readonly Identificacion: string;
25
+ Cuadrilla: string;
26
+ User: string;
27
+ Identificacion: string;
28
28
  }
29
29
 
30
30
  declare class Sub_Estado_InternoDTO {
31
- readonly ID_EstadoInterno: number;
32
- readonly ID_EstadoInternoPadre: number;
33
- readonly Fecha: Date;
34
- readonly Descripcion: string;
35
- readonly Icono: string;
36
- readonly Color: string;
37
- readonly Orden: number;
38
- readonly ColorFondo: string;
39
- readonly Tipo: string;
40
- readonly Observacion: string;
41
- readonly UsuarioEdicion: UsuarioEdicionDTO;
31
+ ID_EstadoInterno: number;
32
+ ID_EstadoInternoPadre: number;
33
+ Fecha: Date;
34
+ Descripcion: string;
35
+ Icono: string;
36
+ Color: string;
37
+ Orden: number;
38
+ ColorFondo: string;
39
+ Tipo: string;
40
+ Observacion: string;
41
+ UsuarioEdicion: UsuarioEdicionDTO;
42
42
  }
43
43
 
44
44
  declare class Estado_InternoDTO {
45
- readonly ID_EstadoInterno: number;
46
- readonly Fecha: Date;
47
- readonly Descripcion: string;
48
- readonly Icono: string;
49
- readonly Color: string;
50
- readonly Orden: number;
51
- readonly ColorFondo: string;
52
- readonly Tipo: string;
53
- readonly Observacion: string;
54
- readonly UsuarioEdicion: UsuarioEdicionDTO;
55
- readonly UltimoSubEstado: Sub_Estado_InternoDTO;
56
- readonly SubEstados: Sub_Estado_InternoDTO[];
45
+ ID_EstadoInterno: number;
46
+ Fecha: Date;
47
+ Descripcion: string;
48
+ Icono: string;
49
+ Color: string;
50
+ Orden: number;
51
+ ColorFondo: string;
52
+ Tipo: string;
53
+ Observacion: string;
54
+ UsuarioEdicion: UsuarioEdicionDTO;
55
+ UltimoSubEstado: Sub_Estado_InternoDTO;
56
+ SubEstados: Sub_Estado_InternoDTO[];
57
57
  }
58
58
 
59
59
  declare class EstadoDTO {
60
- readonly ID_Estado: number;
61
- readonly Nombre: string;
60
+ ID_Estado: number;
61
+ Nombre: string;
62
62
  }
63
63
 
64
64
  declare class SizeDTO {
65
- readonly Size: number;
66
- readonly UM: string;
65
+ Size: number;
66
+ UM: string;
67
67
  }
68
68
 
69
69
  declare class FilesDocDTO {
70
- readonly Posicion: string;
71
- readonly Filename: string;
72
- readonly Extension: string;
73
- readonly CodigoNodo: string;
74
- readonly NameOriginal: string;
75
- readonly Size: SizeDTO;
76
- readonly Ruta: string;
77
- readonly Observacion: string;
78
- readonly Coordenadas: CoordenadasDTO;
79
- readonly Fecha_Archivo: Date;
80
- readonly Ultimo_Flujo: FilesDocDTO;
81
- readonly Flujos: FilesDocDTO[];
82
- readonly Estado: EstadoDTO;
70
+ Posicion: string;
71
+ Filename: string;
72
+ Extension: string;
73
+ CodigoNodo: string;
74
+ NameOriginal: string;
75
+ Size: SizeDTO;
76
+ Ruta: string;
77
+ Observacion: string;
78
+ Coordenadas: CoordenadasDTO;
79
+ Fecha_Archivo: Date;
80
+ Ultimo_Flujo: FilesDocDTO;
81
+ Flujos: FilesDocDTO[];
82
+ Estado: EstadoDTO;
83
83
  }
84
84
 
85
85
  declare class UsuarioDTO$1 {
86
- readonly Identificacion: string;
87
- readonly Apellidos: string;
88
- readonly Nombres: string;
89
- readonly Fecha: Date;
86
+ Identificacion: string;
87
+ Apellidos: string;
88
+ Nombres: string;
89
+ Fecha: Date;
90
90
  }
91
91
 
92
92
  declare class FotoDTO {
93
- readonly Coordenadas: CoordenadasDTO;
94
- readonly Estado: EstadoDTO;
95
- readonly Fecha: Date;
96
- readonly Ruta: string;
97
- readonly img: string;
93
+ Coordenadas: CoordenadasDTO;
94
+ Estado: EstadoDTO;
95
+ Fecha: Date;
96
+ Ruta: string;
97
+ img: string;
98
98
  }
99
99
 
100
100
  declare class UnidadMedidaDTO {
101
- readonly ID_UnidadMedida: number;
102
- readonly Nombre: string;
101
+ ID_UnidadMedida: number;
102
+ Nombre: string;
103
103
  }
104
104
 
105
105
  declare class ContrataDTO {
106
- readonly FechaRegistro: Date;
107
- readonly Ultimo_Estado_Interno: Estado_InternoDTO;
108
- readonly Estados_Internos: Estado_InternoDTO[];
106
+ FechaRegistro: Date;
107
+ Ultimo_Estado_Interno: Estado_InternoDTO;
108
+ Estados_Internos: Estado_InternoDTO[];
109
109
  }
110
110
 
111
111
  declare class PeriodoDTO {
112
- readonly ID_Periodo: number;
113
- readonly Codigo: string;
114
- readonly FechaInicio: Date;
115
- readonly FechaFin: Date;
116
- readonly FechaMaxima: Date;
117
- readonly Mes: number;
118
- readonly Anio: number;
112
+ ID_Periodo: number;
113
+ Codigo: string;
114
+ FechaInicio: Date;
115
+ FechaFin: Date;
116
+ FechaMaxima: Date;
117
+ Mes: number;
118
+ Anio: number;
119
119
  }
120
120
 
121
121
  declare class CertificacionProduccionDTO {
122
- readonly Mes: number;
123
- readonly Anio: number;
124
- readonly UltimoPeriodo: PeriodoDTO;
125
- readonly UsuarioEdicion: UsuarioEdicionDTO;
126
- readonly FechaRegistro: Date;
122
+ Mes: number;
123
+ Anio: number;
124
+ UltimoPeriodo: PeriodoDTO;
125
+ UsuarioEdicion: UsuarioEdicionDTO;
126
+ FechaRegistro: Date;
127
127
  }
128
128
 
129
129
  declare class MaterialesDTO {
130
- readonly Codigo: string;
131
- readonly CodigoLlave: string;
132
- readonly Descripcion: string;
133
- readonly Estado: EstadoDTO;
134
- readonly UnidadMedida: UnidadMedidaDTO;
135
- readonly Cantidad: number;
136
- readonly CantidadStock: number;
137
- readonly CantidadSinStock: number;
138
- readonly CantidadReutilizada: number;
139
- readonly CantidadContratista: number;
140
- readonly CantidadInformada: number;
141
- readonly Accion: CodigoDescripcionDTO;
142
- readonly Motivo: CodigoDescripcionDTO;
130
+ Codigo: string;
131
+ CodigoLlave: string;
132
+ Descripcion: string;
133
+ Estado: EstadoDTO;
134
+ UnidadMedida: UnidadMedidaDTO;
135
+ Cantidad: number;
136
+ CantidadStock: number;
137
+ CantidadSinStock: number;
138
+ CantidadReutilizada: number;
139
+ CantidadContratista: number;
140
+ CantidadInformada: number;
141
+ Accion: CodigoDescripcionDTO;
142
+ Motivo: CodigoDescripcionDTO;
143
143
  }
144
144
 
145
145
  declare class DetalleChileDTO {
146
- readonly Codigo: string;
147
- readonly Linea: string;
148
- readonly DirDesde: string;
149
- readonly AltDesde: string;
150
- readonly DirHasta: string;
151
- readonly AltHasta: string;
152
- readonly Plano: string;
153
- readonly Especialidad: CodigoNombreDTO;
154
- readonly Actividad: CodigoNombreDTO;
155
- readonly Clave: CodigoNombreDTO;
156
- readonly Tarea: string;
157
- readonly ManoObra: CodigoNombreUMDTO;
158
- readonly UnidadObra: CodigoNombreUMDTO;
159
- readonly HomePass: CodigoNombreDTO;
160
- readonly LineaCodigoCub: string;
161
- readonly CodigoCub: string;
162
- readonly CanMOCub: number;
163
- readonly CanMOInf: number;
164
- readonly CanMOApr: number;
165
- readonly CanUOCub: number;
166
- readonly CanUOInf: number;
167
- readonly TotalUO: number;
168
- readonly CanUOApr: number;
169
- readonly Origen: number;
170
- readonly CodigoBarra: string;
171
- readonly PuntoBaremo: number;
146
+ Codigo: string;
147
+ Linea: string;
148
+ DirDesde: string;
149
+ AltDesde: string;
150
+ DirHasta: string;
151
+ AltHasta: string;
152
+ Plano: string;
153
+ Especialidad: CodigoNombreDTO;
154
+ Actividad: CodigoNombreDTO;
155
+ Clave: CodigoNombreDTO;
156
+ Tarea: string;
157
+ ManoObra: CodigoNombreUMDTO;
158
+ UnidadObra: CodigoNombreUMDTO;
159
+ HomePass: CodigoNombreDTO;
160
+ LineaCodigoCub: string;
161
+ CodigoCub: string;
162
+ CanMOCub: number;
163
+ CanMOInf: number;
164
+ CanMOApr: number;
165
+ CanUOCub: number;
166
+ CanUOInf: number;
167
+ TotalUO: number;
168
+ CanUOApr: number;
169
+ Origen: number;
170
+ CodigoBarra: string;
171
+ PuntoBaremo: number;
172
172
  }
173
173
 
174
174
  declare class HomePassDTO {
175
- readonly ID_HPListMO: number;
176
- readonly Type: string;
177
- readonly Cantidad: number;
178
- readonly ID_AddressList: number;
179
- readonly AddressID: string;
180
- readonly Home_ID: string;
181
- readonly ClientType: string;
182
- readonly StreetName: string;
183
- readonly HouseNumber: string;
184
- readonly HouseNumbreComplement: string;
175
+ ID_HPListMO: number;
176
+ Type: string;
177
+ Cantidad: number;
178
+ ID_AddressList: number;
179
+ AddressID: string;
180
+ Home_ID: string;
181
+ ClientType: string;
182
+ StreetName: string;
183
+ HouseNumber: string;
184
+ HouseNumbreComplement: string;
185
185
  }
186
186
 
187
187
  declare class SubManoObraDTO {
188
- readonly Codigo: string;
189
- readonly Nombre: string;
190
- readonly CantidadSMO: number;
191
- readonly Cantidad: number;
192
- readonly Total: number;
193
- readonly Estado: EstadoDTO;
188
+ Codigo: string;
189
+ Nombre: string;
190
+ CantidadSMO: number;
191
+ Cantidad: number;
192
+ Total: number;
193
+ Estado: EstadoDTO;
194
194
  }
195
195
 
196
196
  declare class ValorizacionDTO {
197
- readonly ID_Valorizacion: number;
198
- readonly Amap: number;
199
- readonly Cantidad: number;
200
- readonly CantidadUO: number;
201
- readonly Codigo: string;
202
- readonly Descripcion: string;
203
- readonly Contrata: ContrataDTO;
204
- readonly Certificacion: CertificacionProduccionDTO;
205
- readonly Produccion: CertificacionProduccionDTO;
206
- readonly Ultimo_Estado_Interno: Estado_InternoDTO;
207
- readonly Estados: Estado_InternoDTO[];
208
- readonly FechaLiquidacion: Date;
209
- readonly Semana: number;
210
- readonly Calle: string;
211
- readonly Numero: string;
212
- readonly Anexos: FilesDocDTO[];
213
- readonly Fotos: FotoDTO[];
214
- readonly Moneda: string;
215
- readonly Simbolo: string;
216
- readonly Decimales: number;
217
- readonly Observaciones: string;
218
- readonly Precio: number;
219
- readonly Puntos: number;
220
- readonly Total: number;
221
- readonly Unidad: string;
222
- readonly MaterialesUtilizados: MaterialesDTO[];
223
- readonly MaterialesRetirados: MaterialesDTO[];
224
- readonly DetalleChile: DetalleChileDTO;
225
- readonly HomePass: HomePassDTO[];
226
- readonly SubManoObra: SubManoObraDTO[];
227
- readonly PrecioContrata: number;
228
- readonly TotalContrata: number;
197
+ ID_Valorizacion: number;
198
+ Amap: number;
199
+ Cantidad: number;
200
+ CantidadUO: number;
201
+ Codigo: string;
202
+ Descripcion: string;
203
+ Contrata: ContrataDTO;
204
+ Certificacion: CertificacionProduccionDTO;
205
+ Produccion: CertificacionProduccionDTO;
206
+ Ultimo_Estado_Interno: Estado_InternoDTO;
207
+ Estados: Estado_InternoDTO[];
208
+ FechaLiquidacion: Date;
209
+ Semana: number;
210
+ Calle: string;
211
+ Numero: string;
212
+ Anexos: FilesDocDTO[];
213
+ Fotos: FotoDTO[];
214
+ Moneda: string;
215
+ Simbolo: string;
216
+ Decimales: number;
217
+ Observaciones: string;
218
+ Precio: number;
219
+ Puntos: number;
220
+ Total: number;
221
+ Unidad: string;
222
+ MaterialesUtilizados: MaterialesDTO[];
223
+ MaterialesRetirados: MaterialesDTO[];
224
+ DetalleChile: DetalleChileDTO;
225
+ HomePass: HomePassDTO[];
226
+ SubManoObra: SubManoObraDTO[];
227
+ PrecioContrata: number;
228
+ TotalContrata: number;
229
229
  }
230
230
 
231
231
  declare class Ultima_PreLiquidacionDTO {
232
- readonly Valorizacion: ValorizacionDTO[];
232
+ Valorizacion: ValorizacionDTO[];
233
233
  }
234
234
 
235
235
  declare class PersonalDTO {
236
- readonly Identificacion: string;
237
- readonly IdPersonal: number;
238
- readonly Apellidos: string;
239
- readonly Nombres: string;
240
- readonly PerfilGOM: string;
241
- readonly Cargo: string;
236
+ Identificacion: string;
237
+ IdPersonal: number;
238
+ Apellidos: string;
239
+ Nombres: string;
240
+ PerfilGOM: string;
241
+ Cargo: string;
242
242
  }
243
243
 
244
244
  declare class TurnoDTO {
245
- readonly Codigo: string;
246
- readonly Hora_Fin: number;
247
- readonly Hora_Inicio: number;
245
+ Codigo: string;
246
+ Hora_Fin: number;
247
+ Hora_Inicio: number;
248
248
  }
249
249
 
250
250
  declare class EmpresaDTO {
251
- readonly Codigo: string;
252
- readonly RazonSocial: string;
253
- readonly Propia: boolean;
251
+ Codigo: string;
252
+ RazonSocial: string;
253
+ Propia: boolean;
254
254
  }
255
255
 
256
256
  declare class ValorizacionesDTO {
257
- readonly ID_AsignacionValorizacion: number;
258
- readonly ID_Amap: number;
259
- readonly Linea: string;
260
- readonly Codigo: string;
261
- readonly CantidadMO: number;
262
- readonly CantidadUO: number;
263
- readonly Especialidad: CodigoNombreDTO;
264
- readonly Actividad: CodigoNombreDTO;
265
- readonly Clave: CodigoNombreDTO;
266
- readonly ManoObra: CodigoNombreUMDTO;
267
- readonly UnidadObra: CodigoNombreUMDTO;
268
- readonly LineaCodigoCub: string;
269
- readonly CodigoCub: string;
270
- readonly Estado: EstadoDTO;
257
+ ID_AsignacionValorizacion: number;
258
+ ID_Amap: number;
259
+ Linea: string;
260
+ Codigo: string;
261
+ CantidadMO: number;
262
+ CantidadUO: number;
263
+ Especialidad: CodigoNombreDTO;
264
+ Actividad: CodigoNombreDTO;
265
+ Clave: CodigoNombreDTO;
266
+ ManoObra: CodigoNombreUMDTO;
267
+ UnidadObra: CodigoNombreUMDTO;
268
+ LineaCodigoCub: string;
269
+ CodigoCub: string;
270
+ Estado: EstadoDTO;
271
271
  }
272
272
 
273
273
  declare class Ultima_asignacionDTO {
274
- readonly Cuadrilla: CodigoDescripcionDTO;
275
- readonly Personal: PersonalDTO[];
276
- readonly TipoMovil: CodigoDescripcionDTO;
277
- readonly Turno: TurnoDTO;
278
- readonly Fecha: Date;
279
- readonly Usuario: UsuarioDTO$1;
280
- readonly Empresa: EmpresaDTO;
281
- readonly Valorizaciones: ValorizacionesDTO[];
274
+ Cuadrilla: CodigoDescripcionDTO;
275
+ Personal: PersonalDTO[];
276
+ TipoMovil: CodigoDescripcionDTO;
277
+ Turno: TurnoDTO;
278
+ Fecha: Date;
279
+ Usuario: UsuarioDTO$1;
280
+ Empresa: EmpresaDTO;
281
+ Valorizaciones: ValorizacionesDTO[];
282
282
  }
283
283
 
284
284
  declare class TrabajoENTITY {
285
- readonly ID_Trabajo: number;
286
- readonly ID_GOM: number;
287
- readonly GOM: string;
288
- readonly Descripcion: string;
289
- readonly FechaRegistro: Date;
290
- readonly Pais: CodigoNombreDTO;
291
- readonly Delegacion: CodigoNombreDTO;
292
- readonly ZonaAsignada: string;
293
- readonly Ultima_PreLiquidacion: Ultima_PreLiquidacionDTO;
294
- readonly Ultima_asignacion: Ultima_asignacionDTO;
285
+ ID_Trabajo: number;
286
+ ID_GOM: number;
287
+ GOM: string;
288
+ Descripcion: string;
289
+ FechaRegistro: Date;
290
+ Pais: CodigoNombreDTO;
291
+ Delegacion: CodigoNombreDTO;
292
+ ZonaAsignada: string;
293
+ Ultima_PreLiquidacion: Ultima_PreLiquidacionDTO;
294
+ Ultima_asignacion: Ultima_asignacionDTO;
295
295
  }
296
296
 
297
297
  declare class ConsumoMaterialChile9512ENTITY {
@@ -348,4 +348,17 @@ declare class StockPersonalEquiposENTITY {
348
348
  Equipos: EquiposDTO[];
349
349
  }
350
350
 
351
- export { ConsumoMaterialChile9512ENTITY, StockPersonalEquiposENTITY, TrabajoENTITY, validateAndFormatData };
351
+ type typeEstado = 'PENDIENTE' | 'ATENDIDO';
352
+ declare class AtencionOrdenesLiquidadasENTITY {
353
+ Orden: string;
354
+ CodigoSAP: string;
355
+ LoteSAP: string;
356
+ NumeroSerie: string;
357
+ Cantidad: number;
358
+ ID_Recurso: string;
359
+ NroDocumento: string;
360
+ Fecha: Date;
361
+ Estado: typeEstado;
362
+ }
363
+
364
+ export { AtencionOrdenesLiquidadasENTITY, ConsumoMaterialChile9512ENTITY, StockPersonalEquiposENTITY, TrabajoENTITY, validateAndFormatData };
package/dist/index.js CHANGED
@@ -28,6 +28,7 @@ var __decorateClass = (decorators, target, key, kind) => {
28
28
  // src/index.ts
29
29
  var src_exports = {};
30
30
  __export(src_exports, {
31
+ AtencionOrdenesLiquidadasENTITY: () => AtencionOrdenesLiquidadasENTITY,
31
32
  ConsumoMaterialChile9512ENTITY: () => ConsumoMaterialChile9512ENTITY,
32
33
  StockPersonalEquiposENTITY: () => StockPersonalEquiposENTITY,
33
34
  TrabajoENTITY: () => TrabajoENTITY,
@@ -1842,8 +1843,77 @@ var StockPersonalEquiposENTITY = class {
1842
1843
  CodigoLlave = "";
1843
1844
  Equipos = [];
1844
1845
  };
1846
+
1847
+ // src/logistica/atencion ordenes liquidadas/shared/index.ts
1848
+ var import_class_transformer32 = require("class-transformer");
1849
+ var import_class_validator32 = require("class-validator");
1850
+ var AtencionOrdenesLiquidadasENTITY = class {
1851
+ Orden = "";
1852
+ CodigoSAP = "";
1853
+ LoteSAP = "";
1854
+ NumeroSerie = "";
1855
+ Cantidad = 0;
1856
+ ID_Recurso = "";
1857
+ NroDocumento = "";
1858
+ Fecha = /* @__PURE__ */ new Date();
1859
+ Estado = "PENDIENTE";
1860
+ };
1861
+ __decorateClass([
1862
+ (0, import_class_transformer32.Expose)(),
1863
+ (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1864
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1865
+ (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1866
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Orden", 2);
1867
+ __decorateClass([
1868
+ (0, import_class_transformer32.Expose)(),
1869
+ (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1870
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1871
+ (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1872
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "CodigoSAP", 2);
1873
+ __decorateClass([
1874
+ (0, import_class_transformer32.Expose)(),
1875
+ (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1876
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1877
+ (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1878
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
1879
+ __decorateClass([
1880
+ (0, import_class_transformer32.Expose)(),
1881
+ (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1882
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1883
+ (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1884
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
1885
+ __decorateClass([
1886
+ (0, import_class_transformer32.Expose)(),
1887
+ (0, import_class_validator32.IsNumber)({}, { message: "debe ser un numero" }),
1888
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1889
+ (0, import_class_validator32.Min)(0, { message: "el valor m\xEDnimo es 0" }),
1890
+ (0, import_class_validator32.Max)(1e3, { message: "el valor m\xE1ximo es 1000" })
1891
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Cantidad", 2);
1892
+ __decorateClass([
1893
+ (0, import_class_transformer32.Expose)(),
1894
+ (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1895
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1896
+ (0, import_class_validator32.Length)(1, 40, { message: "debe tener entre 1 y 40 caracteres" })
1897
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "ID_Recurso", 2);
1898
+ __decorateClass([
1899
+ (0, import_class_transformer32.Expose)(),
1900
+ (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1901
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1902
+ (0, import_class_validator32.Length)(1, 60, { message: "debe tener entre 1 y 60 caracteres" })
1903
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "NroDocumento", 2);
1904
+ __decorateClass([
1905
+ (0, import_class_transformer32.Expose)(),
1906
+ (0, import_class_validator32.IsDate)({ message: "debe ser una fecha" }),
1907
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" })
1908
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Fecha", 2);
1909
+ __decorateClass([
1910
+ (0, import_class_transformer32.Expose)(),
1911
+ (0, import_class_validator32.IsEnum)(["PENDIENTE", "ATENDIDO"], { message: "debe ser PENDIENTE o ATENDIDO" }),
1912
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" })
1913
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Estado", 2);
1845
1914
  // Annotate the CommonJS export names for ESM import in node:
1846
1915
  0 && (module.exports = {
1916
+ AtencionOrdenesLiquidadasENTITY,
1847
1917
  ConsumoMaterialChile9512ENTITY,
1848
1918
  StockPersonalEquiposENTITY,
1849
1919
  TrabajoENTITY,
package/dist/index.mjs CHANGED
@@ -1816,7 +1816,76 @@ var StockPersonalEquiposENTITY = class {
1816
1816
  CodigoLlave = "";
1817
1817
  Equipos = [];
1818
1818
  };
1819
+
1820
+ // src/logistica/atencion ordenes liquidadas/shared/index.ts
1821
+ import { Expose as Expose31 } from "class-transformer";
1822
+ import { IsDate as IsDate13, IsEnum, IsNotEmpty as IsNotEmpty31, IsNumber as IsNumber18, IsString as IsString27, Length as Length27, Max as Max2, Min as Min2 } from "class-validator";
1823
+ var AtencionOrdenesLiquidadasENTITY = class {
1824
+ Orden = "";
1825
+ CodigoSAP = "";
1826
+ LoteSAP = "";
1827
+ NumeroSerie = "";
1828
+ Cantidad = 0;
1829
+ ID_Recurso = "";
1830
+ NroDocumento = "";
1831
+ Fecha = /* @__PURE__ */ new Date();
1832
+ Estado = "PENDIENTE";
1833
+ };
1834
+ __decorateClass([
1835
+ Expose31(),
1836
+ IsString27({ message: "debe ser un texto" }),
1837
+ IsNotEmpty31({ message: "es requerido" }),
1838
+ Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1839
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Orden", 2);
1840
+ __decorateClass([
1841
+ Expose31(),
1842
+ IsString27({ message: "debe ser un texto" }),
1843
+ IsNotEmpty31({ message: "es requerido" }),
1844
+ Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1845
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "CodigoSAP", 2);
1846
+ __decorateClass([
1847
+ Expose31(),
1848
+ IsString27({ message: "debe ser un texto" }),
1849
+ IsNotEmpty31({ message: "es requerido" }),
1850
+ Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1851
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
1852
+ __decorateClass([
1853
+ Expose31(),
1854
+ IsString27({ message: "debe ser un texto" }),
1855
+ IsNotEmpty31({ message: "es requerido" }),
1856
+ Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1857
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
1858
+ __decorateClass([
1859
+ Expose31(),
1860
+ IsNumber18({}, { message: "debe ser un numero" }),
1861
+ IsNotEmpty31({ message: "es requerido" }),
1862
+ Min2(0, { message: "el valor m\xEDnimo es 0" }),
1863
+ Max2(1e3, { message: "el valor m\xE1ximo es 1000" })
1864
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Cantidad", 2);
1865
+ __decorateClass([
1866
+ Expose31(),
1867
+ IsString27({ message: "debe ser un texto" }),
1868
+ IsNotEmpty31({ message: "es requerido" }),
1869
+ Length27(1, 40, { message: "debe tener entre 1 y 40 caracteres" })
1870
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "ID_Recurso", 2);
1871
+ __decorateClass([
1872
+ Expose31(),
1873
+ IsString27({ message: "debe ser un texto" }),
1874
+ IsNotEmpty31({ message: "es requerido" }),
1875
+ Length27(1, 60, { message: "debe tener entre 1 y 60 caracteres" })
1876
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "NroDocumento", 2);
1877
+ __decorateClass([
1878
+ Expose31(),
1879
+ IsDate13({ message: "debe ser una fecha" }),
1880
+ IsNotEmpty31({ message: "es requerido" })
1881
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Fecha", 2);
1882
+ __decorateClass([
1883
+ Expose31(),
1884
+ IsEnum(["PENDIENTE", "ATENDIDO"], { message: "debe ser PENDIENTE o ATENDIDO" }),
1885
+ IsNotEmpty31({ message: "es requerido" })
1886
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "Estado", 2);
1819
1887
  export {
1888
+ AtencionOrdenesLiquidadasENTITY,
1820
1889
  ConsumoMaterialChile9512ENTITY,
1821
1890
  StockPersonalEquiposENTITY,
1822
1891
  TrabajoENTITY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",