sigo-entities 0.0.25 → 0.0.26
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 +36 -29
- package/dist/index.d.ts +36 -29
- package/dist/index.js +1102 -1094
- package/dist/index.mjs +1065 -1058
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
declare function validateAndFormatData<T extends object>(data: any, dtoClass: new () => T): Promise<T>;
|
|
2
2
|
|
|
3
|
+
declare class AlmacenDTO {
|
|
4
|
+
Codigo: string;
|
|
5
|
+
ID_Almacen: number;
|
|
6
|
+
Nombre: string;
|
|
7
|
+
Zona: string;
|
|
8
|
+
Bodega: CodigoNombreDTO;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class UsuarioDTO {
|
|
12
|
+
Identificacion: string;
|
|
13
|
+
Apellidos: string;
|
|
14
|
+
Nombres: string;
|
|
15
|
+
Fecha: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class BitacoraDTO {
|
|
19
|
+
Action: string;
|
|
20
|
+
Fecha: Date;
|
|
21
|
+
Usuario: UsuarioDTO;
|
|
22
|
+
Description: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
3
25
|
declare class CodigoDescripcionDTO {
|
|
4
26
|
Codigo: string;
|
|
5
27
|
Descripcion: string;
|
|
@@ -27,13 +49,18 @@ declare class EmpresaDTO {
|
|
|
27
49
|
Propia: boolean;
|
|
28
50
|
}
|
|
29
51
|
|
|
52
|
+
declare class EstadoDTO {
|
|
53
|
+
ID_Estado: number;
|
|
54
|
+
Nombre: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
30
57
|
declare class UsuarioEdicionDTO {
|
|
31
58
|
Cuadrilla: string;
|
|
32
59
|
User: string;
|
|
33
60
|
Identificacion: string;
|
|
34
61
|
}
|
|
35
62
|
|
|
36
|
-
declare class
|
|
63
|
+
declare class SubEstadoInternoDTO {
|
|
37
64
|
ID_EstadoInterno: number;
|
|
38
65
|
ID_EstadoInternoPadre: number;
|
|
39
66
|
Fecha: Date;
|
|
@@ -47,7 +74,7 @@ declare class Sub_Estado_InternoDTO {
|
|
|
47
74
|
UsuarioEdicion: UsuarioEdicionDTO;
|
|
48
75
|
}
|
|
49
76
|
|
|
50
|
-
declare class
|
|
77
|
+
declare class EstadoInternoDTO {
|
|
51
78
|
ID_EstadoInterno: number;
|
|
52
79
|
Fecha: Date;
|
|
53
80
|
Descripcion: string;
|
|
@@ -58,13 +85,8 @@ declare class Estado_InternoDTO {
|
|
|
58
85
|
Tipo: string;
|
|
59
86
|
Observacion: string;
|
|
60
87
|
UsuarioEdicion: UsuarioEdicionDTO;
|
|
61
|
-
UltimoSubEstado:
|
|
62
|
-
SubEstados:
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
declare class EstadoDTO {
|
|
66
|
-
ID_Estado: number;
|
|
67
|
-
Nombre: string;
|
|
88
|
+
UltimoSubEstado: SubEstadoInternoDTO;
|
|
89
|
+
SubEstados: SubEstadoInternoDTO[];
|
|
68
90
|
}
|
|
69
91
|
|
|
70
92
|
declare class SizeDTO {
|
|
@@ -88,13 +110,6 @@ declare class FilesDocDTO {
|
|
|
88
110
|
Estado: EstadoDTO;
|
|
89
111
|
}
|
|
90
112
|
|
|
91
|
-
declare class UsuarioDTO {
|
|
92
|
-
Identificacion: string;
|
|
93
|
-
Apellidos: string;
|
|
94
|
-
Nombres: string;
|
|
95
|
-
Fecha: Date;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
113
|
declare class FlujoDocDTO {
|
|
99
114
|
Action: string;
|
|
100
115
|
Fecha: Date;
|
|
@@ -135,8 +150,8 @@ declare class ValidadoDTO {
|
|
|
135
150
|
|
|
136
151
|
declare class ContrataDTO {
|
|
137
152
|
FechaRegistro: Date;
|
|
138
|
-
Ultimo_Estado_Interno:
|
|
139
|
-
Estados_Internos:
|
|
153
|
+
Ultimo_Estado_Interno: EstadoInternoDTO;
|
|
154
|
+
Estados_Internos: EstadoInternoDTO[];
|
|
140
155
|
}
|
|
141
156
|
|
|
142
157
|
declare class PeriodoDTO {
|
|
@@ -234,8 +249,8 @@ declare class ValorizacionDTO {
|
|
|
234
249
|
Contrata: ContrataDTO;
|
|
235
250
|
Certificacion: CertificacionProduccionDTO;
|
|
236
251
|
Produccion: CertificacionProduccionDTO;
|
|
237
|
-
Ultimo_Estado_Interno:
|
|
238
|
-
Estados:
|
|
252
|
+
Ultimo_Estado_Interno: EstadoInternoDTO;
|
|
253
|
+
Estados: EstadoInternoDTO[];
|
|
239
254
|
FechaLiquidacion: Date;
|
|
240
255
|
Semana: number;
|
|
241
256
|
Calle: string;
|
|
@@ -378,14 +393,6 @@ declare class AtencionOrdenesLiquidadasENTITY {
|
|
|
378
393
|
Fuente: typeFuente;
|
|
379
394
|
}
|
|
380
395
|
|
|
381
|
-
declare class AlmacenDTO {
|
|
382
|
-
Codigo: string;
|
|
383
|
-
ID_Almacen: number;
|
|
384
|
-
Nombre: string;
|
|
385
|
-
Zona: string;
|
|
386
|
-
Bodega: CodigoNombreDTO;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
396
|
declare class AlmacenLogisticaDTO extends CodigoNombreDTO {
|
|
390
397
|
ID_Almacen: number;
|
|
391
398
|
}
|
|
@@ -564,4 +571,4 @@ declare class SalidaAlmacenENTITY {
|
|
|
564
571
|
DatosTransportista: DatosTransportistaDTO;
|
|
565
572
|
}
|
|
566
573
|
|
|
567
|
-
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO,
|
|
574
|
+
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, BitacoraDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO, EstadoInternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemDetalleLogisticaDTO, LoteDTO, MovimientoAlmacenDTO, PaisStockPersonalDTO, PersonalLogisticaDTO, SalidaAlmacenENTITY, SizeDTO, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ZonaTrabajoDTO, validateAndFormatData };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
declare function validateAndFormatData<T extends object>(data: any, dtoClass: new () => T): Promise<T>;
|
|
2
2
|
|
|
3
|
+
declare class AlmacenDTO {
|
|
4
|
+
Codigo: string;
|
|
5
|
+
ID_Almacen: number;
|
|
6
|
+
Nombre: string;
|
|
7
|
+
Zona: string;
|
|
8
|
+
Bodega: CodigoNombreDTO;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class UsuarioDTO {
|
|
12
|
+
Identificacion: string;
|
|
13
|
+
Apellidos: string;
|
|
14
|
+
Nombres: string;
|
|
15
|
+
Fecha: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class BitacoraDTO {
|
|
19
|
+
Action: string;
|
|
20
|
+
Fecha: Date;
|
|
21
|
+
Usuario: UsuarioDTO;
|
|
22
|
+
Description: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
3
25
|
declare class CodigoDescripcionDTO {
|
|
4
26
|
Codigo: string;
|
|
5
27
|
Descripcion: string;
|
|
@@ -27,13 +49,18 @@ declare class EmpresaDTO {
|
|
|
27
49
|
Propia: boolean;
|
|
28
50
|
}
|
|
29
51
|
|
|
52
|
+
declare class EstadoDTO {
|
|
53
|
+
ID_Estado: number;
|
|
54
|
+
Nombre: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
30
57
|
declare class UsuarioEdicionDTO {
|
|
31
58
|
Cuadrilla: string;
|
|
32
59
|
User: string;
|
|
33
60
|
Identificacion: string;
|
|
34
61
|
}
|
|
35
62
|
|
|
36
|
-
declare class
|
|
63
|
+
declare class SubEstadoInternoDTO {
|
|
37
64
|
ID_EstadoInterno: number;
|
|
38
65
|
ID_EstadoInternoPadre: number;
|
|
39
66
|
Fecha: Date;
|
|
@@ -47,7 +74,7 @@ declare class Sub_Estado_InternoDTO {
|
|
|
47
74
|
UsuarioEdicion: UsuarioEdicionDTO;
|
|
48
75
|
}
|
|
49
76
|
|
|
50
|
-
declare class
|
|
77
|
+
declare class EstadoInternoDTO {
|
|
51
78
|
ID_EstadoInterno: number;
|
|
52
79
|
Fecha: Date;
|
|
53
80
|
Descripcion: string;
|
|
@@ -58,13 +85,8 @@ declare class Estado_InternoDTO {
|
|
|
58
85
|
Tipo: string;
|
|
59
86
|
Observacion: string;
|
|
60
87
|
UsuarioEdicion: UsuarioEdicionDTO;
|
|
61
|
-
UltimoSubEstado:
|
|
62
|
-
SubEstados:
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
declare class EstadoDTO {
|
|
66
|
-
ID_Estado: number;
|
|
67
|
-
Nombre: string;
|
|
88
|
+
UltimoSubEstado: SubEstadoInternoDTO;
|
|
89
|
+
SubEstados: SubEstadoInternoDTO[];
|
|
68
90
|
}
|
|
69
91
|
|
|
70
92
|
declare class SizeDTO {
|
|
@@ -88,13 +110,6 @@ declare class FilesDocDTO {
|
|
|
88
110
|
Estado: EstadoDTO;
|
|
89
111
|
}
|
|
90
112
|
|
|
91
|
-
declare class UsuarioDTO {
|
|
92
|
-
Identificacion: string;
|
|
93
|
-
Apellidos: string;
|
|
94
|
-
Nombres: string;
|
|
95
|
-
Fecha: Date;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
113
|
declare class FlujoDocDTO {
|
|
99
114
|
Action: string;
|
|
100
115
|
Fecha: Date;
|
|
@@ -135,8 +150,8 @@ declare class ValidadoDTO {
|
|
|
135
150
|
|
|
136
151
|
declare class ContrataDTO {
|
|
137
152
|
FechaRegistro: Date;
|
|
138
|
-
Ultimo_Estado_Interno:
|
|
139
|
-
Estados_Internos:
|
|
153
|
+
Ultimo_Estado_Interno: EstadoInternoDTO;
|
|
154
|
+
Estados_Internos: EstadoInternoDTO[];
|
|
140
155
|
}
|
|
141
156
|
|
|
142
157
|
declare class PeriodoDTO {
|
|
@@ -234,8 +249,8 @@ declare class ValorizacionDTO {
|
|
|
234
249
|
Contrata: ContrataDTO;
|
|
235
250
|
Certificacion: CertificacionProduccionDTO;
|
|
236
251
|
Produccion: CertificacionProduccionDTO;
|
|
237
|
-
Ultimo_Estado_Interno:
|
|
238
|
-
Estados:
|
|
252
|
+
Ultimo_Estado_Interno: EstadoInternoDTO;
|
|
253
|
+
Estados: EstadoInternoDTO[];
|
|
239
254
|
FechaLiquidacion: Date;
|
|
240
255
|
Semana: number;
|
|
241
256
|
Calle: string;
|
|
@@ -378,14 +393,6 @@ declare class AtencionOrdenesLiquidadasENTITY {
|
|
|
378
393
|
Fuente: typeFuente;
|
|
379
394
|
}
|
|
380
395
|
|
|
381
|
-
declare class AlmacenDTO {
|
|
382
|
-
Codigo: string;
|
|
383
|
-
ID_Almacen: number;
|
|
384
|
-
Nombre: string;
|
|
385
|
-
Zona: string;
|
|
386
|
-
Bodega: CodigoNombreDTO;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
396
|
declare class AlmacenLogisticaDTO extends CodigoNombreDTO {
|
|
390
397
|
ID_Almacen: number;
|
|
391
398
|
}
|
|
@@ -564,4 +571,4 @@ declare class SalidaAlmacenENTITY {
|
|
|
564
571
|
DatosTransportista: DatosTransportistaDTO;
|
|
565
572
|
}
|
|
566
573
|
|
|
567
|
-
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO,
|
|
574
|
+
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, BitacoraDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO, EstadoInternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemDetalleLogisticaDTO, LoteDTO, MovimientoAlmacenDTO, PaisStockPersonalDTO, PersonalLogisticaDTO, SalidaAlmacenENTITY, SizeDTO, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ZonaTrabajoDTO, validateAndFormatData };
|