sigo-entities 0.0.71 → 0.0.72
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 +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +27 -6
- package/dist/index.mjs +404 -383
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -732,8 +732,10 @@ declare class FaseDTO {
|
|
|
732
732
|
Porcentaje: number;
|
|
733
733
|
FechaInicio: Date;
|
|
734
734
|
FechaFin: Date;
|
|
735
|
-
|
|
736
|
-
|
|
735
|
+
UsuarioCambio: UsuarioDTO;
|
|
736
|
+
FechaCambio: Date;
|
|
737
|
+
Observacion: string;
|
|
738
|
+
Anexos: FilesDocDTO[];
|
|
737
739
|
}
|
|
738
740
|
|
|
739
741
|
declare class ValorizacionAlemaniaDTO {
|
|
@@ -803,6 +805,7 @@ declare class FaseENTITY {
|
|
|
803
805
|
ID_Fase: number;
|
|
804
806
|
Pais: CodigoNombreDTO;
|
|
805
807
|
Delegacion: CodigoNombreDTO;
|
|
808
|
+
Descripcion: string;
|
|
806
809
|
TipoFase: number;
|
|
807
810
|
Porcentaje: number;
|
|
808
811
|
FechaInicio: Date;
|
package/dist/index.d.ts
CHANGED
|
@@ -732,8 +732,10 @@ declare class FaseDTO {
|
|
|
732
732
|
Porcentaje: number;
|
|
733
733
|
FechaInicio: Date;
|
|
734
734
|
FechaFin: Date;
|
|
735
|
-
|
|
736
|
-
|
|
735
|
+
UsuarioCambio: UsuarioDTO;
|
|
736
|
+
FechaCambio: Date;
|
|
737
|
+
Observacion: string;
|
|
738
|
+
Anexos: FilesDocDTO[];
|
|
737
739
|
}
|
|
738
740
|
|
|
739
741
|
declare class ValorizacionAlemaniaDTO {
|
|
@@ -803,6 +805,7 @@ declare class FaseENTITY {
|
|
|
803
805
|
ID_Fase: number;
|
|
804
806
|
Pais: CodigoNombreDTO;
|
|
805
807
|
Delegacion: CodigoNombreDTO;
|
|
808
|
+
Descripcion: string;
|
|
806
809
|
TipoFase: number;
|
|
807
810
|
Porcentaje: number;
|
|
808
811
|
FechaInicio: Date;
|
package/dist/index.js
CHANGED
|
@@ -3577,8 +3577,10 @@ var FaseDTO = class {
|
|
|
3577
3577
|
Porcentaje = 0;
|
|
3578
3578
|
FechaInicio = /* @__PURE__ */ new Date();
|
|
3579
3579
|
FechaFin = /* @__PURE__ */ new Date(0);
|
|
3580
|
-
|
|
3581
|
-
|
|
3580
|
+
UsuarioCambio = new UsuarioDTO();
|
|
3581
|
+
FechaCambio = /* @__PURE__ */ new Date();
|
|
3582
|
+
Observacion = "";
|
|
3583
|
+
Anexos = [];
|
|
3582
3584
|
};
|
|
3583
3585
|
__decorateClass([
|
|
3584
3586
|
(0, import_class_validator69.IsNumber)({}, { message: "debe ser un numero" }),
|
|
@@ -3613,13 +3615,25 @@ __decorateClass([
|
|
|
3613
3615
|
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3614
3616
|
(0, import_class_transformer69.Expose)(),
|
|
3615
3617
|
(0, import_class_validator69.ValidateNested)()
|
|
3616
|
-
], FaseDTO.prototype, "
|
|
3618
|
+
], FaseDTO.prototype, "UsuarioCambio", 2);
|
|
3617
3619
|
__decorateClass([
|
|
3618
|
-
(0,
|
|
3620
|
+
(0, import_class_validator69.IsDate)({ message: "debe ser una fecha" }),
|
|
3621
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3622
|
+
(0, import_class_transformer69.Expose)()
|
|
3623
|
+
], FaseDTO.prototype, "FechaCambio", 2);
|
|
3624
|
+
__decorateClass([
|
|
3625
|
+
(0, import_class_validator69.IsString)({ message: "debe ser un texto" }),
|
|
3626
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3627
|
+
(0, import_class_validator69.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
3628
|
+
(0, import_class_transformer69.Expose)()
|
|
3629
|
+
], FaseDTO.prototype, "Observacion", 2);
|
|
3630
|
+
__decorateClass([
|
|
3631
|
+
(0, import_class_validator69.IsArray)(),
|
|
3632
|
+
(0, import_class_transformer69.Type)(() => FilesDocDTO),
|
|
3619
3633
|
(0, import_class_validator69.IsNotEmpty)({ message: "es requerido" }),
|
|
3620
3634
|
(0, import_class_transformer69.Expose)(),
|
|
3621
|
-
(0, import_class_validator69.ValidateNested)()
|
|
3622
|
-
], FaseDTO.prototype, "
|
|
3635
|
+
(0, import_class_validator69.ValidateNested)({ each: true })
|
|
3636
|
+
], FaseDTO.prototype, "Anexos", 2);
|
|
3623
3637
|
|
|
3624
3638
|
// src/programados/procesos/trabajo/alemania/dto/valorizacion-dto.ts
|
|
3625
3639
|
var ValorizacionAlemaniaDTO = class {
|
|
@@ -4016,6 +4030,7 @@ var FaseENTITY = class {
|
|
|
4016
4030
|
ID_Fase = 0;
|
|
4017
4031
|
Pais = new CodigoNombreDTO();
|
|
4018
4032
|
Delegacion = new CodigoNombreDTO();
|
|
4033
|
+
Descripcion = "";
|
|
4019
4034
|
TipoFase = 1;
|
|
4020
4035
|
Porcentaje = 0;
|
|
4021
4036
|
FechaInicio = /* @__PURE__ */ new Date();
|
|
@@ -4042,6 +4057,12 @@ __decorateClass([
|
|
|
4042
4057
|
(0, import_class_transformer73.Expose)(),
|
|
4043
4058
|
(0, import_class_validator73.ValidateNested)()
|
|
4044
4059
|
], FaseENTITY.prototype, "Delegacion", 2);
|
|
4060
|
+
__decorateClass([
|
|
4061
|
+
(0, import_class_validator73.IsString)({ message: "debe ser un texto" }),
|
|
4062
|
+
(0, import_class_validator73.IsNotEmpty)({ message: "es requerido" }),
|
|
4063
|
+
(0, import_class_validator73.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
4064
|
+
(0, import_class_transformer73.Expose)()
|
|
4065
|
+
], FaseENTITY.prototype, "Descripcion", 2);
|
|
4045
4066
|
__decorateClass([
|
|
4046
4067
|
(0, import_class_validator73.IsNumber)({}, { message: "debe ser un numero" }),
|
|
4047
4068
|
(0, import_class_validator73.IsNotEmpty)({ message: "es requerido" }),
|