sigo-entities 0.0.31 → 0.0.33
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 +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +173 -116
- package/dist/index.mjs +144 -88
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -783,6 +783,14 @@ declare class DatosTrabajoCatalogoDTO {
|
|
|
783
783
|
Code02: string;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
declare class EmpresaUsuarioDTO {
|
|
787
|
+
ID_Empresa: number;
|
|
788
|
+
Codigo: string;
|
|
789
|
+
NombreComercial: string;
|
|
790
|
+
RazonSocial: string;
|
|
791
|
+
NumeroDocumentoIdentidad: string;
|
|
792
|
+
}
|
|
793
|
+
|
|
786
794
|
declare class OTDTO {
|
|
787
795
|
ID_OT: number;
|
|
788
796
|
Codigo: string;
|
|
@@ -819,6 +827,8 @@ declare class PersonalENTITY {
|
|
|
819
827
|
Sincronizacion: SincronizacionPersonalDTO;
|
|
820
828
|
Administrativo: boolean;
|
|
821
829
|
OTs: OTDTO[];
|
|
830
|
+
EmpresaUsuario: EmpresaUsuarioDTO;
|
|
831
|
+
EmpresasUsuario: EmpresaUsuarioDTO[];
|
|
822
832
|
}
|
|
823
833
|
|
|
824
|
-
export { AlmacenDTO, AlmacenLogisticaDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, BitacoraAntiguaDTO, BitacoraDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DataCatalogoItemDTO, DatosAreaPersonalDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoIntegracionDTO, EstadoInternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, LogDTO, LogRegisterDTO, LoteDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, OTDTO, OptionCatalogoDTO, PaisStockPersonalDTO, PersonalENTITY, PersonalLogisticaDTO, PreciosVigentesDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SizeDTO, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, validateAndFormatData };
|
|
834
|
+
export { AlmacenDTO, AlmacenLogisticaDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, BitacoraAntiguaDTO, BitacoraDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DataCatalogoItemDTO, DatosAreaPersonalDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EmpresaUsuarioDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoIntegracionDTO, EstadoInternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, LogDTO, LogRegisterDTO, LoteDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, OTDTO, OptionCatalogoDTO, PaisStockPersonalDTO, PersonalENTITY, PersonalLogisticaDTO, PreciosVigentesDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SizeDTO, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, validateAndFormatData };
|
package/dist/index.d.ts
CHANGED
|
@@ -783,6 +783,14 @@ declare class DatosTrabajoCatalogoDTO {
|
|
|
783
783
|
Code02: string;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
declare class EmpresaUsuarioDTO {
|
|
787
|
+
ID_Empresa: number;
|
|
788
|
+
Codigo: string;
|
|
789
|
+
NombreComercial: string;
|
|
790
|
+
RazonSocial: string;
|
|
791
|
+
NumeroDocumentoIdentidad: string;
|
|
792
|
+
}
|
|
793
|
+
|
|
786
794
|
declare class OTDTO {
|
|
787
795
|
ID_OT: number;
|
|
788
796
|
Codigo: string;
|
|
@@ -819,6 +827,8 @@ declare class PersonalENTITY {
|
|
|
819
827
|
Sincronizacion: SincronizacionPersonalDTO;
|
|
820
828
|
Administrativo: boolean;
|
|
821
829
|
OTs: OTDTO[];
|
|
830
|
+
EmpresaUsuario: EmpresaUsuarioDTO;
|
|
831
|
+
EmpresasUsuario: EmpresaUsuarioDTO[];
|
|
822
832
|
}
|
|
823
833
|
|
|
824
|
-
export { AlmacenDTO, AlmacenLogisticaDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, BitacoraAntiguaDTO, BitacoraDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DataCatalogoItemDTO, DatosAreaPersonalDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoIntegracionDTO, EstadoInternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, LogDTO, LogRegisterDTO, LoteDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, OTDTO, OptionCatalogoDTO, PaisStockPersonalDTO, PersonalENTITY, PersonalLogisticaDTO, PreciosVigentesDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SizeDTO, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, validateAndFormatData };
|
|
834
|
+
export { AlmacenDTO, AlmacenLogisticaDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, BitacoraAntiguaDTO, BitacoraDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DataCatalogoItemDTO, DatosAreaPersonalDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EmpresaUsuarioDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoIntegracionDTO, EstadoInternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, LogDTO, LogRegisterDTO, LoteDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, OTDTO, OptionCatalogoDTO, PaisStockPersonalDTO, PersonalENTITY, PersonalLogisticaDTO, PreciosVigentesDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SizeDTO, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, validateAndFormatData };
|
package/dist/index.js
CHANGED
|
@@ -51,6 +51,7 @@ __export(src_exports, {
|
|
|
51
51
|
DetalleDTO: () => DetalleDTO,
|
|
52
52
|
EmpresaDTO: () => EmpresaDTO,
|
|
53
53
|
EmpresaLogisticaDTO: () => EmpresaLogisticaDTO,
|
|
54
|
+
EmpresaUsuarioDTO: () => EmpresaUsuarioDTO,
|
|
54
55
|
EquipoLogisticaDTO: () => EquipoLogisticaDTO,
|
|
55
56
|
EquiposDTO: () => EquiposDTO,
|
|
56
57
|
EstadoAntiguoDTO: () => EstadoAntiguoDTO,
|
|
@@ -3727,64 +3728,104 @@ __decorateClass([
|
|
|
3727
3728
|
(0, import_class_transformer68.Expose)()
|
|
3728
3729
|
], DatosTrabajoCatalogoDTO.prototype, "Code02", 2);
|
|
3729
3730
|
|
|
3730
|
-
// src/configuracion/personal/shared/dto/
|
|
3731
|
-
var import_class_validator69 = require("class-validator");
|
|
3731
|
+
// src/configuracion/personal/shared/dto/empresa-usuario-dto.ts
|
|
3732
3732
|
var import_class_transformer69 = require("class-transformer");
|
|
3733
|
-
var
|
|
3734
|
-
|
|
3733
|
+
var import_class_validator69 = require("class-validator");
|
|
3734
|
+
var EmpresaUsuarioDTO = class {
|
|
3735
|
+
ID_Empresa = 0;
|
|
3735
3736
|
Codigo = "";
|
|
3736
|
-
|
|
3737
|
-
|
|
3737
|
+
NombreComercial = "";
|
|
3738
|
+
RazonSocial = "";
|
|
3739
|
+
NumeroDocumentoIdentidad = "";
|
|
3738
3740
|
};
|
|
3739
3741
|
__decorateClass([
|
|
3742
|
+
(0, import_class_transformer69.Expose)(),
|
|
3740
3743
|
(0, import_class_validator69.IsNumber)({}, { message: "debe ser un numero" }),
|
|
3741
3744
|
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3742
|
-
(0,
|
|
3743
|
-
],
|
|
3745
|
+
(0, import_class_validator69.Min)(0, { message: "el valor m\xEDnimo es 0" })
|
|
3746
|
+
], EmpresaUsuarioDTO.prototype, "ID_Empresa", 2);
|
|
3744
3747
|
__decorateClass([
|
|
3745
3748
|
(0, import_class_validator69.IsString)({ message: "debe ser un texto" }),
|
|
3746
|
-
(0, import_class_validator69.Length)(0,
|
|
3749
|
+
(0, import_class_validator69.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
3747
3750
|
(0, import_class_transformer69.Expose)()
|
|
3748
|
-
],
|
|
3751
|
+
], EmpresaUsuarioDTO.prototype, "Codigo", 2);
|
|
3749
3752
|
__decorateClass([
|
|
3753
|
+
(0, import_class_transformer69.Expose)(),
|
|
3750
3754
|
(0, import_class_validator69.IsString)({ message: "debe ser un texto" }),
|
|
3751
|
-
(0, import_class_validator69.
|
|
3752
|
-
(0,
|
|
3753
|
-
],
|
|
3755
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3756
|
+
(0, import_class_validator69.Length)(1, 150, { message: "debe tener entre 1 y 150 caracteres" })
|
|
3757
|
+
], EmpresaUsuarioDTO.prototype, "NombreComercial", 2);
|
|
3754
3758
|
__decorateClass([
|
|
3755
|
-
(0, import_class_transformer69.
|
|
3759
|
+
(0, import_class_transformer69.Expose)(),
|
|
3760
|
+
(0, import_class_validator69.IsString)({ message: "debe ser un texto" }),
|
|
3756
3761
|
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3762
|
+
(0, import_class_validator69.Length)(1, 150, { message: "debe tener entre 1 y 150 caracteres" })
|
|
3763
|
+
], EmpresaUsuarioDTO.prototype, "RazonSocial", 2);
|
|
3764
|
+
__decorateClass([
|
|
3757
3765
|
(0, import_class_transformer69.Expose)(),
|
|
3758
|
-
(0, import_class_validator69.
|
|
3766
|
+
(0, import_class_validator69.IsString)({ message: "debe ser un texto" }),
|
|
3767
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3768
|
+
(0, import_class_validator69.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
|
|
3769
|
+
], EmpresaUsuarioDTO.prototype, "NumeroDocumentoIdentidad", 2);
|
|
3770
|
+
|
|
3771
|
+
// src/configuracion/personal/shared/dto/OT-dto.ts
|
|
3772
|
+
var import_class_validator70 = require("class-validator");
|
|
3773
|
+
var import_class_transformer70 = require("class-transformer");
|
|
3774
|
+
var OTDTO = class {
|
|
3775
|
+
ID_OT = 0;
|
|
3776
|
+
Codigo = "";
|
|
3777
|
+
Descripcion = "";
|
|
3778
|
+
Pais = new CodigoNombreDTO();
|
|
3779
|
+
};
|
|
3780
|
+
__decorateClass([
|
|
3781
|
+
(0, import_class_validator70.IsNumber)({}, { message: "debe ser un numero" }),
|
|
3782
|
+
(0, import_class_validator70.IsNotEmpty)({ message: "es requerido" }),
|
|
3783
|
+
(0, import_class_transformer70.Expose)()
|
|
3784
|
+
], OTDTO.prototype, "ID_OT", 2);
|
|
3785
|
+
__decorateClass([
|
|
3786
|
+
(0, import_class_validator70.IsString)({ message: "debe ser un texto" }),
|
|
3787
|
+
(0, import_class_validator70.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
3788
|
+
(0, import_class_transformer70.Expose)()
|
|
3789
|
+
], OTDTO.prototype, "Codigo", 2);
|
|
3790
|
+
__decorateClass([
|
|
3791
|
+
(0, import_class_validator70.IsString)({ message: "debe ser un texto" }),
|
|
3792
|
+
(0, import_class_validator70.Length)(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
3793
|
+
(0, import_class_transformer70.Expose)()
|
|
3794
|
+
], OTDTO.prototype, "Descripcion", 2);
|
|
3795
|
+
__decorateClass([
|
|
3796
|
+
(0, import_class_transformer70.Type)(() => CodigoNombreDTO),
|
|
3797
|
+
(0, import_class_validator70.IsNotEmpty)({ message: "es requerido" }),
|
|
3798
|
+
(0, import_class_transformer70.Expose)(),
|
|
3799
|
+
(0, import_class_validator70.ValidateNested)()
|
|
3759
3800
|
], OTDTO.prototype, "Pais", 2);
|
|
3760
3801
|
|
|
3761
3802
|
// src/configuracion/personal/shared/dto/sincronizacion-personal-dto.ts
|
|
3762
|
-
var
|
|
3763
|
-
var
|
|
3803
|
+
var import_class_transformer71 = require("class-transformer");
|
|
3804
|
+
var import_class_validator71 = require("class-validator");
|
|
3764
3805
|
var SincronizacionPersonalDTO = class {
|
|
3765
3806
|
NameApk = "";
|
|
3766
3807
|
Fecha = /* @__PURE__ */ new Date();
|
|
3767
3808
|
Estado = 0;
|
|
3768
3809
|
};
|
|
3769
3810
|
__decorateClass([
|
|
3770
|
-
(0,
|
|
3771
|
-
(0,
|
|
3772
|
-
(0,
|
|
3811
|
+
(0, import_class_validator71.IsString)({ message: "debe ser un texto" }),
|
|
3812
|
+
(0, import_class_validator71.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
3813
|
+
(0, import_class_transformer71.Expose)()
|
|
3773
3814
|
], SincronizacionPersonalDTO.prototype, "NameApk", 2);
|
|
3774
3815
|
__decorateClass([
|
|
3775
|
-
(0,
|
|
3776
|
-
(0,
|
|
3777
|
-
(0,
|
|
3816
|
+
(0, import_class_validator71.IsDate)({ message: "debe ser una fecha" }),
|
|
3817
|
+
(0, import_class_validator71.IsNotEmpty)({ message: "es requerido" }),
|
|
3818
|
+
(0, import_class_transformer71.Expose)()
|
|
3778
3819
|
], SincronizacionPersonalDTO.prototype, "Fecha", 2);
|
|
3779
3820
|
__decorateClass([
|
|
3780
|
-
(0,
|
|
3781
|
-
(0,
|
|
3782
|
-
(0,
|
|
3821
|
+
(0, import_class_validator71.IsNumber)({}, { message: "debe ser un numero" }),
|
|
3822
|
+
(0, import_class_validator71.IsNotEmpty)({ message: "es requerido" }),
|
|
3823
|
+
(0, import_class_transformer71.Expose)()
|
|
3783
3824
|
], SincronizacionPersonalDTO.prototype, "Estado", 2);
|
|
3784
3825
|
|
|
3785
3826
|
// src/configuracion/personal/shared/index.ts
|
|
3786
|
-
var
|
|
3787
|
-
var
|
|
3827
|
+
var import_class_transformer72 = require("class-transformer");
|
|
3828
|
+
var import_class_validator72 = require("class-validator");
|
|
3788
3829
|
var PersonalENTITY = class {
|
|
3789
3830
|
IdPersonal = 0;
|
|
3790
3831
|
IdRegister = 0;
|
|
@@ -3808,139 +3849,154 @@ var PersonalENTITY = class {
|
|
|
3808
3849
|
Sincronizacion = new SincronizacionPersonalDTO();
|
|
3809
3850
|
Administrativo = false;
|
|
3810
3851
|
OTs = [];
|
|
3852
|
+
EmpresaUsuario = new EmpresaUsuarioDTO();
|
|
3853
|
+
EmpresasUsuario = [];
|
|
3811
3854
|
};
|
|
3812
3855
|
__decorateClass([
|
|
3813
|
-
(0,
|
|
3814
|
-
(0,
|
|
3815
|
-
(0,
|
|
3816
|
-
(0,
|
|
3856
|
+
(0, import_class_validator72.IsNumber)({}, { message: "debe ser un numero" }),
|
|
3857
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3858
|
+
(0, import_class_transformer72.Expose)(),
|
|
3859
|
+
(0, import_class_validator72.Min)(1)
|
|
3817
3860
|
], PersonalENTITY.prototype, "IdPersonal", 2);
|
|
3818
3861
|
__decorateClass([
|
|
3819
|
-
(0,
|
|
3820
|
-
(0,
|
|
3821
|
-
(0,
|
|
3822
|
-
(0,
|
|
3862
|
+
(0, import_class_validator72.IsNumber)({}, { message: "debe ser un numero" }),
|
|
3863
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3864
|
+
(0, import_class_transformer72.Expose)(),
|
|
3865
|
+
(0, import_class_validator72.Min)(0)
|
|
3823
3866
|
], PersonalENTITY.prototype, "IdRegister", 2);
|
|
3824
3867
|
__decorateClass([
|
|
3825
|
-
(0,
|
|
3826
|
-
(0,
|
|
3827
|
-
(0,
|
|
3828
|
-
(0,
|
|
3868
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3869
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3870
|
+
(0, import_class_validator72.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
3871
|
+
(0, import_class_transformer72.Expose)()
|
|
3829
3872
|
], PersonalENTITY.prototype, "IdRecursoTOA", 2);
|
|
3830
3873
|
__decorateClass([
|
|
3831
|
-
(0,
|
|
3832
|
-
(0,
|
|
3833
|
-
(0,
|
|
3834
|
-
(0,
|
|
3874
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3875
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3876
|
+
(0, import_class_validator72.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
3877
|
+
(0, import_class_transformer72.Expose)()
|
|
3835
3878
|
], PersonalENTITY.prototype, "Code", 2);
|
|
3836
3879
|
__decorateClass([
|
|
3837
|
-
(0,
|
|
3838
|
-
(0,
|
|
3839
|
-
(0,
|
|
3840
|
-
(0,
|
|
3880
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3881
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3882
|
+
(0, import_class_validator72.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
3883
|
+
(0, import_class_transformer72.Expose)()
|
|
3841
3884
|
], PersonalENTITY.prototype, "Key", 2);
|
|
3842
3885
|
__decorateClass([
|
|
3843
|
-
(0,
|
|
3844
|
-
(0,
|
|
3845
|
-
(0,
|
|
3846
|
-
(0,
|
|
3886
|
+
(0, import_class_transformer72.Type)(() => DatosTrabajoCatalogoDTO),
|
|
3887
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3888
|
+
(0, import_class_transformer72.Expose)(),
|
|
3889
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3847
3890
|
], PersonalENTITY.prototype, "DatosTrabajo", 2);
|
|
3848
3891
|
__decorateClass([
|
|
3849
|
-
(0,
|
|
3850
|
-
(0,
|
|
3851
|
-
(0,
|
|
3852
|
-
(0,
|
|
3892
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3893
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3894
|
+
(0, import_class_validator72.Length)(1, 70, { message: "debe tener entre 1 y 70 caracteres" }),
|
|
3895
|
+
(0, import_class_transformer72.Expose)()
|
|
3853
3896
|
], PersonalENTITY.prototype, "ApellidoPaterno", 2);
|
|
3854
3897
|
__decorateClass([
|
|
3855
|
-
(0,
|
|
3856
|
-
(0,
|
|
3857
|
-
(0,
|
|
3858
|
-
(0,
|
|
3898
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3899
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3900
|
+
(0, import_class_validator72.Length)(1, 70, { message: "debe tener entre 1 y 70 caracteres" }),
|
|
3901
|
+
(0, import_class_transformer72.Expose)()
|
|
3859
3902
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
3860
3903
|
__decorateClass([
|
|
3861
|
-
(0,
|
|
3862
|
-
(0,
|
|
3863
|
-
(0,
|
|
3864
|
-
(0,
|
|
3904
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3905
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3906
|
+
(0, import_class_validator72.Length)(1, 130, { message: "debe tener entre 1 y 130 caracteres" }),
|
|
3907
|
+
(0, import_class_transformer72.Expose)()
|
|
3865
3908
|
], PersonalENTITY.prototype, "Nombres", 2);
|
|
3866
3909
|
__decorateClass([
|
|
3867
|
-
(0,
|
|
3868
|
-
(0,
|
|
3869
|
-
(0,
|
|
3870
|
-
(0,
|
|
3910
|
+
(0, import_class_transformer72.Type)(() => OptionCatalogoDTO),
|
|
3911
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3912
|
+
(0, import_class_transformer72.Expose)(),
|
|
3913
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3871
3914
|
], PersonalENTITY.prototype, "TipoDocumento", 2);
|
|
3872
3915
|
__decorateClass([
|
|
3873
|
-
(0,
|
|
3874
|
-
(0,
|
|
3875
|
-
(0,
|
|
3876
|
-
(0,
|
|
3916
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3917
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3918
|
+
(0, import_class_validator72.Length)(1, 41, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
3919
|
+
(0, import_class_transformer72.Expose)()
|
|
3877
3920
|
], PersonalENTITY.prototype, "Identificacion", 2);
|
|
3878
3921
|
__decorateClass([
|
|
3879
|
-
(0,
|
|
3880
|
-
(0,
|
|
3881
|
-
(0,
|
|
3882
|
-
(0,
|
|
3922
|
+
(0, import_class_transformer72.Type)(() => DatosGeneralesPersonalDTO),
|
|
3923
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3924
|
+
(0, import_class_transformer72.Expose)(),
|
|
3925
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3883
3926
|
], PersonalENTITY.prototype, "DatosGenerales", 2);
|
|
3884
3927
|
__decorateClass([
|
|
3885
|
-
(0,
|
|
3886
|
-
(0,
|
|
3887
|
-
(0,
|
|
3888
|
-
(0,
|
|
3928
|
+
(0, import_class_transformer72.Type)(() => DatosAreaPersonalDTO),
|
|
3929
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3930
|
+
(0, import_class_transformer72.Expose)(),
|
|
3931
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3889
3932
|
], PersonalENTITY.prototype, "DatosArea", 2);
|
|
3890
3933
|
__decorateClass([
|
|
3891
|
-
(0,
|
|
3892
|
-
(0,
|
|
3893
|
-
(0,
|
|
3894
|
-
(0,
|
|
3934
|
+
(0, import_class_transformer72.Type)(() => CodigoNombreDTO),
|
|
3935
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3936
|
+
(0, import_class_transformer72.Expose)(),
|
|
3937
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3895
3938
|
], PersonalENTITY.prototype, "Cargo", 2);
|
|
3896
3939
|
__decorateClass([
|
|
3897
|
-
(0,
|
|
3898
|
-
(0,
|
|
3899
|
-
(0,
|
|
3940
|
+
(0, import_class_validator72.IsString)({ message: "debe ser un texto" }),
|
|
3941
|
+
(0, import_class_validator72.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
3942
|
+
(0, import_class_transformer72.Expose)()
|
|
3900
3943
|
], PersonalENTITY.prototype, "Group", 2);
|
|
3901
3944
|
__decorateClass([
|
|
3902
|
-
(0,
|
|
3903
|
-
(0,
|
|
3904
|
-
(0,
|
|
3905
|
-
(0,
|
|
3945
|
+
(0, import_class_transformer72.Type)(() => OptionCatalogoDTO),
|
|
3946
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3947
|
+
(0, import_class_transformer72.Expose)(),
|
|
3948
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3906
3949
|
], PersonalENTITY.prototype, "Empresa", 2);
|
|
3907
3950
|
__decorateClass([
|
|
3908
|
-
(0,
|
|
3909
|
-
(0,
|
|
3910
|
-
(0,
|
|
3911
|
-
(0,
|
|
3951
|
+
(0, import_class_transformer72.Type)(() => OptionCatalogoDTO),
|
|
3952
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3953
|
+
(0, import_class_transformer72.Expose)(),
|
|
3954
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3912
3955
|
], PersonalENTITY.prototype, "Pais", 2);
|
|
3913
3956
|
__decorateClass([
|
|
3914
|
-
(0,
|
|
3915
|
-
(0,
|
|
3916
|
-
(0,
|
|
3917
|
-
(0,
|
|
3957
|
+
(0, import_class_transformer72.Type)(() => EstadoAntiguoDTO),
|
|
3958
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3959
|
+
(0, import_class_transformer72.Expose)(),
|
|
3960
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3918
3961
|
], PersonalENTITY.prototype, "Estado", 2);
|
|
3919
3962
|
__decorateClass([
|
|
3920
|
-
(0,
|
|
3921
|
-
(0,
|
|
3922
|
-
(0,
|
|
3923
|
-
(0,
|
|
3924
|
-
(0,
|
|
3963
|
+
(0, import_class_transformer72.Type)(() => BitacoraAntiguaDTO),
|
|
3964
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3965
|
+
(0, import_class_transformer72.Expose)(),
|
|
3966
|
+
(0, import_class_validator72.IsArray)(),
|
|
3967
|
+
(0, import_class_validator72.ValidateNested)({ each: true })
|
|
3925
3968
|
], PersonalENTITY.prototype, "Bitacora", 2);
|
|
3926
3969
|
__decorateClass([
|
|
3927
|
-
(0,
|
|
3928
|
-
(0,
|
|
3929
|
-
(0,
|
|
3930
|
-
(0,
|
|
3970
|
+
(0, import_class_transformer72.Type)(() => SincronizacionPersonalDTO),
|
|
3971
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3972
|
+
(0, import_class_transformer72.Expose)(),
|
|
3973
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3931
3974
|
], PersonalENTITY.prototype, "Sincronizacion", 2);
|
|
3932
3975
|
__decorateClass([
|
|
3933
|
-
(0,
|
|
3934
|
-
(0,
|
|
3935
|
-
(0,
|
|
3976
|
+
(0, import_class_validator72.IsBoolean)({ message: "debe ser un booleano" }),
|
|
3977
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3978
|
+
(0, import_class_transformer72.Expose)()
|
|
3936
3979
|
], PersonalENTITY.prototype, "Administrativo", 2);
|
|
3937
3980
|
__decorateClass([
|
|
3938
|
-
(0,
|
|
3939
|
-
(0,
|
|
3940
|
-
(0,
|
|
3941
|
-
(0,
|
|
3942
|
-
(0,
|
|
3981
|
+
(0, import_class_transformer72.Type)(() => OTDTO),
|
|
3982
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3983
|
+
(0, import_class_transformer72.Expose)(),
|
|
3984
|
+
(0, import_class_validator72.IsArray)(),
|
|
3985
|
+
(0, import_class_validator72.ValidateNested)({ each: true })
|
|
3943
3986
|
], PersonalENTITY.prototype, "OTs", 2);
|
|
3987
|
+
__decorateClass([
|
|
3988
|
+
(0, import_class_transformer72.Type)(() => EmpresaUsuarioDTO),
|
|
3989
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3990
|
+
(0, import_class_transformer72.Expose)(),
|
|
3991
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3992
|
+
], PersonalENTITY.prototype, "EmpresaUsuario", 2);
|
|
3993
|
+
__decorateClass([
|
|
3994
|
+
(0, import_class_transformer72.Type)(() => EmpresaUsuarioDTO),
|
|
3995
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3996
|
+
(0, import_class_transformer72.Expose)(),
|
|
3997
|
+
(0, import_class_validator72.IsArray)(),
|
|
3998
|
+
(0, import_class_validator72.ValidateNested)({ each: true })
|
|
3999
|
+
], PersonalENTITY.prototype, "EmpresasUsuario", 2);
|
|
3944
4000
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3945
4001
|
0 && (module.exports = {
|
|
3946
4002
|
AlmacenDTO,
|
|
@@ -3966,6 +4022,7 @@ __decorateClass([
|
|
|
3966
4022
|
DetalleDTO,
|
|
3967
4023
|
EmpresaDTO,
|
|
3968
4024
|
EmpresaLogisticaDTO,
|
|
4025
|
+
EmpresaUsuarioDTO,
|
|
3969
4026
|
EquipoLogisticaDTO,
|
|
3970
4027
|
EquiposDTO,
|
|
3971
4028
|
EstadoAntiguoDTO,
|
package/dist/index.mjs
CHANGED
|
@@ -3633,9 +3633,49 @@ __decorateClass([
|
|
|
3633
3633
|
Expose67()
|
|
3634
3634
|
], DatosTrabajoCatalogoDTO.prototype, "Code02", 2);
|
|
3635
3635
|
|
|
3636
|
+
// src/configuracion/personal/shared/dto/empresa-usuario-dto.ts
|
|
3637
|
+
import { Expose as Expose68 } from "class-transformer";
|
|
3638
|
+
import { IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber40, IsString as IsString55, Length as Length55, Min as Min23 } from "class-validator";
|
|
3639
|
+
var EmpresaUsuarioDTO = class {
|
|
3640
|
+
ID_Empresa = 0;
|
|
3641
|
+
Codigo = "";
|
|
3642
|
+
NombreComercial = "";
|
|
3643
|
+
RazonSocial = "";
|
|
3644
|
+
NumeroDocumentoIdentidad = "";
|
|
3645
|
+
};
|
|
3646
|
+
__decorateClass([
|
|
3647
|
+
Expose68(),
|
|
3648
|
+
IsNumber40({}, { message: "debe ser un numero" }),
|
|
3649
|
+
IsNotEmpty67({ message: "es requerido" }),
|
|
3650
|
+
Min23(0, { message: "el valor m\xEDnimo es 0" })
|
|
3651
|
+
], EmpresaUsuarioDTO.prototype, "ID_Empresa", 2);
|
|
3652
|
+
__decorateClass([
|
|
3653
|
+
IsString55({ message: "debe ser un texto" }),
|
|
3654
|
+
Length55(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
3655
|
+
Expose68()
|
|
3656
|
+
], EmpresaUsuarioDTO.prototype, "Codigo", 2);
|
|
3657
|
+
__decorateClass([
|
|
3658
|
+
Expose68(),
|
|
3659
|
+
IsString55({ message: "debe ser un texto" }),
|
|
3660
|
+
IsNotEmpty67({ message: "es requerido" }),
|
|
3661
|
+
Length55(1, 150, { message: "debe tener entre 1 y 150 caracteres" })
|
|
3662
|
+
], EmpresaUsuarioDTO.prototype, "NombreComercial", 2);
|
|
3663
|
+
__decorateClass([
|
|
3664
|
+
Expose68(),
|
|
3665
|
+
IsString55({ message: "debe ser un texto" }),
|
|
3666
|
+
IsNotEmpty67({ message: "es requerido" }),
|
|
3667
|
+
Length55(1, 150, { message: "debe tener entre 1 y 150 caracteres" })
|
|
3668
|
+
], EmpresaUsuarioDTO.prototype, "RazonSocial", 2);
|
|
3669
|
+
__decorateClass([
|
|
3670
|
+
Expose68(),
|
|
3671
|
+
IsString55({ message: "debe ser un texto" }),
|
|
3672
|
+
IsNotEmpty67({ message: "es requerido" }),
|
|
3673
|
+
Length55(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
|
|
3674
|
+
], EmpresaUsuarioDTO.prototype, "NumeroDocumentoIdentidad", 2);
|
|
3675
|
+
|
|
3636
3676
|
// src/configuracion/personal/shared/dto/OT-dto.ts
|
|
3637
|
-
import { IsNotEmpty as
|
|
3638
|
-
import { Expose as
|
|
3677
|
+
import { IsNotEmpty as IsNotEmpty68, IsNumber as IsNumber41, IsString as IsString56, Length as Length56, ValidateNested as ValidateNested36 } from "class-validator";
|
|
3678
|
+
import { Expose as Expose69, Type as Type36 } from "class-transformer";
|
|
3639
3679
|
var OTDTO = class {
|
|
3640
3680
|
ID_OT = 0;
|
|
3641
3681
|
Codigo = "";
|
|
@@ -3643,54 +3683,54 @@ var OTDTO = class {
|
|
|
3643
3683
|
Pais = new CodigoNombreDTO();
|
|
3644
3684
|
};
|
|
3645
3685
|
__decorateClass([
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3686
|
+
IsNumber41({}, { message: "debe ser un numero" }),
|
|
3687
|
+
IsNotEmpty68({ message: "es requerido" }),
|
|
3688
|
+
Expose69()
|
|
3649
3689
|
], OTDTO.prototype, "ID_OT", 2);
|
|
3650
3690
|
__decorateClass([
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3691
|
+
IsString56({ message: "debe ser un texto" }),
|
|
3692
|
+
Length56(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
3693
|
+
Expose69()
|
|
3654
3694
|
], OTDTO.prototype, "Codigo", 2);
|
|
3655
3695
|
__decorateClass([
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3696
|
+
IsString56({ message: "debe ser un texto" }),
|
|
3697
|
+
Length56(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
3698
|
+
Expose69()
|
|
3659
3699
|
], OTDTO.prototype, "Descripcion", 2);
|
|
3660
3700
|
__decorateClass([
|
|
3661
3701
|
Type36(() => CodigoNombreDTO),
|
|
3662
|
-
|
|
3663
|
-
|
|
3702
|
+
IsNotEmpty68({ message: "es requerido" }),
|
|
3703
|
+
Expose69(),
|
|
3664
3704
|
ValidateNested36()
|
|
3665
3705
|
], OTDTO.prototype, "Pais", 2);
|
|
3666
3706
|
|
|
3667
3707
|
// src/configuracion/personal/shared/dto/sincronizacion-personal-dto.ts
|
|
3668
|
-
import { Expose as
|
|
3669
|
-
import { IsDate as IsDate20, IsNotEmpty as
|
|
3708
|
+
import { Expose as Expose70 } from "class-transformer";
|
|
3709
|
+
import { IsDate as IsDate20, IsNotEmpty as IsNotEmpty69, IsNumber as IsNumber42, IsString as IsString57, Length as Length57 } from "class-validator";
|
|
3670
3710
|
var SincronizacionPersonalDTO = class {
|
|
3671
3711
|
NameApk = "";
|
|
3672
3712
|
Fecha = /* @__PURE__ */ new Date();
|
|
3673
3713
|
Estado = 0;
|
|
3674
3714
|
};
|
|
3675
3715
|
__decorateClass([
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3716
|
+
IsString57({ message: "debe ser un texto" }),
|
|
3717
|
+
Length57(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
3718
|
+
Expose70()
|
|
3679
3719
|
], SincronizacionPersonalDTO.prototype, "NameApk", 2);
|
|
3680
3720
|
__decorateClass([
|
|
3681
3721
|
IsDate20({ message: "debe ser una fecha" }),
|
|
3682
|
-
|
|
3683
|
-
|
|
3722
|
+
IsNotEmpty69({ message: "es requerido" }),
|
|
3723
|
+
Expose70()
|
|
3684
3724
|
], SincronizacionPersonalDTO.prototype, "Fecha", 2);
|
|
3685
3725
|
__decorateClass([
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3726
|
+
IsNumber42({}, { message: "debe ser un numero" }),
|
|
3727
|
+
IsNotEmpty69({ message: "es requerido" }),
|
|
3728
|
+
Expose70()
|
|
3689
3729
|
], SincronizacionPersonalDTO.prototype, "Estado", 2);
|
|
3690
3730
|
|
|
3691
3731
|
// src/configuracion/personal/shared/index.ts
|
|
3692
|
-
import { Expose as
|
|
3693
|
-
import { IsArray as IsArray14, IsBoolean as IsBoolean4, IsNotEmpty as
|
|
3732
|
+
import { Expose as Expose71, Type as Type37 } from "class-transformer";
|
|
3733
|
+
import { IsArray as IsArray14, IsBoolean as IsBoolean4, IsNotEmpty as IsNotEmpty70, IsNumber as IsNumber43, IsString as IsString58, Length as Length58, Min as Min24, ValidateNested as ValidateNested37 } from "class-validator";
|
|
3694
3734
|
var PersonalENTITY = class {
|
|
3695
3735
|
IdPersonal = 0;
|
|
3696
3736
|
IdRegister = 0;
|
|
@@ -3714,139 +3754,154 @@ var PersonalENTITY = class {
|
|
|
3714
3754
|
Sincronizacion = new SincronizacionPersonalDTO();
|
|
3715
3755
|
Administrativo = false;
|
|
3716
3756
|
OTs = [];
|
|
3757
|
+
EmpresaUsuario = new EmpresaUsuarioDTO();
|
|
3758
|
+
EmpresasUsuario = [];
|
|
3717
3759
|
};
|
|
3718
3760
|
__decorateClass([
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3761
|
+
IsNumber43({}, { message: "debe ser un numero" }),
|
|
3762
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3763
|
+
Expose71(),
|
|
3764
|
+
Min24(1)
|
|
3723
3765
|
], PersonalENTITY.prototype, "IdPersonal", 2);
|
|
3724
3766
|
__decorateClass([
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3767
|
+
IsNumber43({}, { message: "debe ser un numero" }),
|
|
3768
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3769
|
+
Expose71(),
|
|
3770
|
+
Min24(0)
|
|
3729
3771
|
], PersonalENTITY.prototype, "IdRegister", 2);
|
|
3730
3772
|
__decorateClass([
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3773
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3774
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3775
|
+
Length58(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
3776
|
+
Expose71()
|
|
3735
3777
|
], PersonalENTITY.prototype, "IdRecursoTOA", 2);
|
|
3736
3778
|
__decorateClass([
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3779
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3780
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3781
|
+
Length58(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
3782
|
+
Expose71()
|
|
3741
3783
|
], PersonalENTITY.prototype, "Code", 2);
|
|
3742
3784
|
__decorateClass([
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3785
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3786
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3787
|
+
Length58(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
3788
|
+
Expose71()
|
|
3747
3789
|
], PersonalENTITY.prototype, "Key", 2);
|
|
3748
3790
|
__decorateClass([
|
|
3749
3791
|
Type37(() => DatosTrabajoCatalogoDTO),
|
|
3750
|
-
|
|
3751
|
-
|
|
3792
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3793
|
+
Expose71(),
|
|
3752
3794
|
ValidateNested37()
|
|
3753
3795
|
], PersonalENTITY.prototype, "DatosTrabajo", 2);
|
|
3754
3796
|
__decorateClass([
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3797
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3798
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3799
|
+
Length58(1, 70, { message: "debe tener entre 1 y 70 caracteres" }),
|
|
3800
|
+
Expose71()
|
|
3759
3801
|
], PersonalENTITY.prototype, "ApellidoPaterno", 2);
|
|
3760
3802
|
__decorateClass([
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3803
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3804
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3805
|
+
Length58(1, 70, { message: "debe tener entre 1 y 70 caracteres" }),
|
|
3806
|
+
Expose71()
|
|
3765
3807
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
3766
3808
|
__decorateClass([
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3809
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3810
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3811
|
+
Length58(1, 130, { message: "debe tener entre 1 y 130 caracteres" }),
|
|
3812
|
+
Expose71()
|
|
3771
3813
|
], PersonalENTITY.prototype, "Nombres", 2);
|
|
3772
3814
|
__decorateClass([
|
|
3773
3815
|
Type37(() => OptionCatalogoDTO),
|
|
3774
|
-
|
|
3775
|
-
|
|
3816
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3817
|
+
Expose71(),
|
|
3776
3818
|
ValidateNested37()
|
|
3777
3819
|
], PersonalENTITY.prototype, "TipoDocumento", 2);
|
|
3778
3820
|
__decorateClass([
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3821
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3822
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3823
|
+
Length58(1, 41, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
3824
|
+
Expose71()
|
|
3783
3825
|
], PersonalENTITY.prototype, "Identificacion", 2);
|
|
3784
3826
|
__decorateClass([
|
|
3785
3827
|
Type37(() => DatosGeneralesPersonalDTO),
|
|
3786
|
-
|
|
3787
|
-
|
|
3828
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3829
|
+
Expose71(),
|
|
3788
3830
|
ValidateNested37()
|
|
3789
3831
|
], PersonalENTITY.prototype, "DatosGenerales", 2);
|
|
3790
3832
|
__decorateClass([
|
|
3791
3833
|
Type37(() => DatosAreaPersonalDTO),
|
|
3792
|
-
|
|
3793
|
-
|
|
3834
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3835
|
+
Expose71(),
|
|
3794
3836
|
ValidateNested37()
|
|
3795
3837
|
], PersonalENTITY.prototype, "DatosArea", 2);
|
|
3796
3838
|
__decorateClass([
|
|
3797
3839
|
Type37(() => CodigoNombreDTO),
|
|
3798
|
-
|
|
3799
|
-
|
|
3840
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3841
|
+
Expose71(),
|
|
3800
3842
|
ValidateNested37()
|
|
3801
3843
|
], PersonalENTITY.prototype, "Cargo", 2);
|
|
3802
3844
|
__decorateClass([
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3845
|
+
IsString58({ message: "debe ser un texto" }),
|
|
3846
|
+
Length58(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
3847
|
+
Expose71()
|
|
3806
3848
|
], PersonalENTITY.prototype, "Group", 2);
|
|
3807
3849
|
__decorateClass([
|
|
3808
3850
|
Type37(() => OptionCatalogoDTO),
|
|
3809
|
-
|
|
3810
|
-
|
|
3851
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3852
|
+
Expose71(),
|
|
3811
3853
|
ValidateNested37()
|
|
3812
3854
|
], PersonalENTITY.prototype, "Empresa", 2);
|
|
3813
3855
|
__decorateClass([
|
|
3814
3856
|
Type37(() => OptionCatalogoDTO),
|
|
3815
|
-
|
|
3816
|
-
|
|
3857
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3858
|
+
Expose71(),
|
|
3817
3859
|
ValidateNested37()
|
|
3818
3860
|
], PersonalENTITY.prototype, "Pais", 2);
|
|
3819
3861
|
__decorateClass([
|
|
3820
3862
|
Type37(() => EstadoAntiguoDTO),
|
|
3821
|
-
|
|
3822
|
-
|
|
3863
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3864
|
+
Expose71(),
|
|
3823
3865
|
ValidateNested37()
|
|
3824
3866
|
], PersonalENTITY.prototype, "Estado", 2);
|
|
3825
3867
|
__decorateClass([
|
|
3826
3868
|
Type37(() => BitacoraAntiguaDTO),
|
|
3827
|
-
|
|
3828
|
-
|
|
3869
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3870
|
+
Expose71(),
|
|
3829
3871
|
IsArray14(),
|
|
3830
3872
|
ValidateNested37({ each: true })
|
|
3831
3873
|
], PersonalENTITY.prototype, "Bitacora", 2);
|
|
3832
3874
|
__decorateClass([
|
|
3833
3875
|
Type37(() => SincronizacionPersonalDTO),
|
|
3834
|
-
|
|
3835
|
-
|
|
3876
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3877
|
+
Expose71(),
|
|
3836
3878
|
ValidateNested37()
|
|
3837
3879
|
], PersonalENTITY.prototype, "Sincronizacion", 2);
|
|
3838
3880
|
__decorateClass([
|
|
3839
3881
|
IsBoolean4({ message: "debe ser un booleano" }),
|
|
3840
|
-
|
|
3841
|
-
|
|
3882
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3883
|
+
Expose71()
|
|
3842
3884
|
], PersonalENTITY.prototype, "Administrativo", 2);
|
|
3843
3885
|
__decorateClass([
|
|
3844
3886
|
Type37(() => OTDTO),
|
|
3845
|
-
|
|
3846
|
-
|
|
3887
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3888
|
+
Expose71(),
|
|
3847
3889
|
IsArray14(),
|
|
3848
3890
|
ValidateNested37({ each: true })
|
|
3849
3891
|
], PersonalENTITY.prototype, "OTs", 2);
|
|
3892
|
+
__decorateClass([
|
|
3893
|
+
Type37(() => EmpresaUsuarioDTO),
|
|
3894
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3895
|
+
Expose71(),
|
|
3896
|
+
ValidateNested37()
|
|
3897
|
+
], PersonalENTITY.prototype, "EmpresaUsuario", 2);
|
|
3898
|
+
__decorateClass([
|
|
3899
|
+
Type37(() => EmpresaUsuarioDTO),
|
|
3900
|
+
IsNotEmpty70({ message: "es requerido" }),
|
|
3901
|
+
Expose71(),
|
|
3902
|
+
IsArray14(),
|
|
3903
|
+
ValidateNested37({ each: true })
|
|
3904
|
+
], PersonalENTITY.prototype, "EmpresasUsuario", 2);
|
|
3850
3905
|
export {
|
|
3851
3906
|
AlmacenDTO,
|
|
3852
3907
|
AlmacenLogisticaDTO,
|
|
@@ -3871,6 +3926,7 @@ export {
|
|
|
3871
3926
|
DetalleDTO,
|
|
3872
3927
|
EmpresaDTO,
|
|
3873
3928
|
EmpresaLogisticaDTO,
|
|
3929
|
+
EmpresaUsuarioDTO,
|
|
3874
3930
|
EquipoLogisticaDTO,
|
|
3875
3931
|
EquiposDTO,
|
|
3876
3932
|
EstadoAntiguoDTO,
|