sigo-entities 0.0.87 → 0.0.89
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +14 -1
- package/dist/index.mjs +14 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2448,7 +2448,7 @@ __decorateClass([
|
|
|
2448
2448
|
(0, import_class_transformer55.Expose)()
|
|
2449
2449
|
], PeriodoDTO.prototype, "FechaFin", 2);
|
|
2450
2450
|
__decorateClass([
|
|
2451
|
-
(0, import_class_validator55.
|
|
2451
|
+
(0, import_class_validator55.IsOptional)(),
|
|
2452
2452
|
(0, import_class_validator55.ValidateIf)((o) => o.FechaMaxima !== null && o.FechaMaxima !== "" && o.FechaMaxima !== void 0),
|
|
2453
2453
|
(0, import_class_transformer55.Expose)()
|
|
2454
2454
|
], PeriodoDTO.prototype, "FechaMaxima", 2);
|
|
@@ -3710,6 +3710,8 @@ var FaseDTO = class {
|
|
|
3710
3710
|
Observacion = "";
|
|
3711
3711
|
Anexos = [];
|
|
3712
3712
|
NroDocumento = "";
|
|
3713
|
+
UsuarioDocumento = new UsuarioDTO();
|
|
3714
|
+
FechaDocumento = /* @__PURE__ */ new Date();
|
|
3713
3715
|
UltimoPeriodo = new PeriodoDTO();
|
|
3714
3716
|
};
|
|
3715
3717
|
__decorateClass([
|
|
@@ -3763,6 +3765,17 @@ __decorateClass([
|
|
|
3763
3765
|
(0, import_class_validator72.Length)(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
3764
3766
|
(0, import_class_transformer72.Expose)()
|
|
3765
3767
|
], FaseDTO.prototype, "NroDocumento", 2);
|
|
3768
|
+
__decorateClass([
|
|
3769
|
+
(0, import_class_transformer72.Type)(() => UsuarioDTO),
|
|
3770
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3771
|
+
(0, import_class_transformer72.Expose)(),
|
|
3772
|
+
(0, import_class_validator72.ValidateNested)()
|
|
3773
|
+
], FaseDTO.prototype, "UsuarioDocumento", 2);
|
|
3774
|
+
__decorateClass([
|
|
3775
|
+
(0, import_class_validator72.IsDate)({ message: "debe ser una fecha" }),
|
|
3776
|
+
(0, import_class_validator72.IsNotEmpty)({ message: "es requerido" }),
|
|
3777
|
+
(0, import_class_transformer72.Expose)()
|
|
3778
|
+
], FaseDTO.prototype, "FechaDocumento", 2);
|
|
3766
3779
|
__decorateClass([
|
|
3767
3780
|
(0, import_class_transformer72.Type)(() => PeriodoDTO),
|
|
3768
3781
|
(0, import_class_transformer72.Expose)(),
|
package/dist/index.mjs
CHANGED
|
@@ -2283,7 +2283,7 @@ __decorateClass([
|
|
|
2283
2283
|
Expose54()
|
|
2284
2284
|
], PeriodoDTO.prototype, "FechaFin", 2);
|
|
2285
2285
|
__decorateClass([
|
|
2286
|
-
|
|
2286
|
+
IsOptional(),
|
|
2287
2287
|
ValidateIf((o) => o.FechaMaxima !== null && o.FechaMaxima !== "" && o.FechaMaxima !== void 0),
|
|
2288
2288
|
Expose54()
|
|
2289
2289
|
], PeriodoDTO.prototype, "FechaMaxima", 2);
|
|
@@ -3545,6 +3545,8 @@ var FaseDTO = class {
|
|
|
3545
3545
|
Observacion = "";
|
|
3546
3546
|
Anexos = [];
|
|
3547
3547
|
NroDocumento = "";
|
|
3548
|
+
UsuarioDocumento = new UsuarioDTO();
|
|
3549
|
+
FechaDocumento = /* @__PURE__ */ new Date();
|
|
3548
3550
|
UltimoPeriodo = new PeriodoDTO();
|
|
3549
3551
|
};
|
|
3550
3552
|
__decorateClass([
|
|
@@ -3598,6 +3600,17 @@ __decorateClass([
|
|
|
3598
3600
|
Length59(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
3599
3601
|
Expose71()
|
|
3600
3602
|
], FaseDTO.prototype, "NroDocumento", 2);
|
|
3603
|
+
__decorateClass([
|
|
3604
|
+
Type37(() => UsuarioDTO),
|
|
3605
|
+
IsNotEmpty71({ message: "es requerido" }),
|
|
3606
|
+
Expose71(),
|
|
3607
|
+
ValidateNested36()
|
|
3608
|
+
], FaseDTO.prototype, "UsuarioDocumento", 2);
|
|
3609
|
+
__decorateClass([
|
|
3610
|
+
IsDate22({ message: "debe ser una fecha" }),
|
|
3611
|
+
IsNotEmpty71({ message: "es requerido" }),
|
|
3612
|
+
Expose71()
|
|
3613
|
+
], FaseDTO.prototype, "FechaDocumento", 2);
|
|
3601
3614
|
__decorateClass([
|
|
3602
3615
|
Type37(() => PeriodoDTO),
|
|
3603
3616
|
Expose71(),
|