sigo-entities 0.0.261 → 0.0.263

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
@@ -1656,7 +1656,7 @@ declare class ModelMOSQLPeruENTITY {
1656
1656
  Tipo_MO: Tipo_MO;
1657
1657
  PB: number;
1658
1658
  Precio: number;
1659
- Fecha_Registro: Date;
1659
+ Fecha_Registro: string;
1660
1660
  Usuario_Registro: string;
1661
1661
  Estado: Estado_Model_MO;
1662
1662
  }
@@ -1685,24 +1685,24 @@ declare class ModelObraSQLPeruENTITY {
1685
1685
  Armario: string;
1686
1686
  Cuenta: string;
1687
1687
  OT: string;
1688
- Fecha_Registro: Date;
1689
- Fecha_Aprobacion: Date;
1690
- Fecha_Inicio: Date;
1691
- Fecha_Termino: Date;
1688
+ Fecha_Registro: string;
1689
+ Fecha_Aprobacion: string;
1690
+ Fecha_Inicio: string;
1691
+ Fecha_Termino: string;
1692
1692
  Documento_PM: string;
1693
- Fecha_Inicio_PM: Date;
1694
- Fecha_Fin_PM: Date;
1693
+ Fecha_Inicio_PM: string;
1694
+ Fecha_Fin_PM: string;
1695
1695
  Documento_CO: string;
1696
- Fecha_CO: Date;
1696
+ Fecha_CO: string;
1697
1697
  Contratista: string;
1698
1698
  H_Gestion: string;
1699
- Fecha_HG: Date;
1699
+ Fecha_HG: string;
1700
1700
  Pto_Can: number;
1701
1701
  Pto_Cel: number;
1702
1702
  Pto_Emp: number;
1703
1703
  valorizacionMo: number;
1704
1704
  valorizacionMat: number;
1705
- Fecha_Ult_Est: Date;
1705
+ Fecha_Ult_Est: string;
1706
1706
  Usuario_Registro: string;
1707
1707
  CodArea: string;
1708
1708
  Usuario: number;
@@ -1717,8 +1717,8 @@ declare class SeguimientoObraDTO {
1717
1717
  Porcentaje: string;
1718
1718
  Proyecto: string;
1719
1719
  SubProyecto: string;
1720
- Fecha_CreacionIP: Date;
1721
- Fecha_Ejecucion: Date;
1720
+ Fecha_CreacionIP: string;
1721
+ Fecha_Ejecucion: string;
1722
1722
  Estado_PTR: string;
1723
1723
  Estado_IP: string;
1724
1724
  Colab_IP: string;
@@ -1735,7 +1735,7 @@ declare class SeguimientoObraDTO {
1735
1735
  Expediente: string;
1736
1736
  Fecha_Expediente: string;
1737
1737
  Validado: string;
1738
- Fecha_Valida: Date;
1738
+ Fecha_Valida: string;
1739
1739
  Usuario_Valida: string;
1740
1740
  Estado_Sirope: string;
1741
1741
  }
package/dist/index.d.ts CHANGED
@@ -1656,7 +1656,7 @@ declare class ModelMOSQLPeruENTITY {
1656
1656
  Tipo_MO: Tipo_MO;
1657
1657
  PB: number;
1658
1658
  Precio: number;
1659
- Fecha_Registro: Date;
1659
+ Fecha_Registro: string;
1660
1660
  Usuario_Registro: string;
1661
1661
  Estado: Estado_Model_MO;
1662
1662
  }
@@ -1685,24 +1685,24 @@ declare class ModelObraSQLPeruENTITY {
1685
1685
  Armario: string;
1686
1686
  Cuenta: string;
1687
1687
  OT: string;
1688
- Fecha_Registro: Date;
1689
- Fecha_Aprobacion: Date;
1690
- Fecha_Inicio: Date;
1691
- Fecha_Termino: Date;
1688
+ Fecha_Registro: string;
1689
+ Fecha_Aprobacion: string;
1690
+ Fecha_Inicio: string;
1691
+ Fecha_Termino: string;
1692
1692
  Documento_PM: string;
1693
- Fecha_Inicio_PM: Date;
1694
- Fecha_Fin_PM: Date;
1693
+ Fecha_Inicio_PM: string;
1694
+ Fecha_Fin_PM: string;
1695
1695
  Documento_CO: string;
1696
- Fecha_CO: Date;
1696
+ Fecha_CO: string;
1697
1697
  Contratista: string;
1698
1698
  H_Gestion: string;
1699
- Fecha_HG: Date;
1699
+ Fecha_HG: string;
1700
1700
  Pto_Can: number;
1701
1701
  Pto_Cel: number;
1702
1702
  Pto_Emp: number;
1703
1703
  valorizacionMo: number;
1704
1704
  valorizacionMat: number;
1705
- Fecha_Ult_Est: Date;
1705
+ Fecha_Ult_Est: string;
1706
1706
  Usuario_Registro: string;
1707
1707
  CodArea: string;
1708
1708
  Usuario: number;
@@ -1717,8 +1717,8 @@ declare class SeguimientoObraDTO {
1717
1717
  Porcentaje: string;
1718
1718
  Proyecto: string;
1719
1719
  SubProyecto: string;
1720
- Fecha_CreacionIP: Date;
1721
- Fecha_Ejecucion: Date;
1720
+ Fecha_CreacionIP: string;
1721
+ Fecha_Ejecucion: string;
1722
1722
  Estado_PTR: string;
1723
1723
  Estado_IP: string;
1724
1724
  Colab_IP: string;
@@ -1735,7 +1735,7 @@ declare class SeguimientoObraDTO {
1735
1735
  Expediente: string;
1736
1736
  Fecha_Expediente: string;
1737
1737
  Validado: string;
1738
- Fecha_Valida: Date;
1738
+ Fecha_Valida: string;
1739
1739
  Usuario_Valida: string;
1740
1740
  Estado_Sirope: string;
1741
1741
  }
package/dist/index.js CHANGED
@@ -8932,8 +8932,9 @@ __decorateClass([
8932
8932
  ], ModelMOSQLPeruENTITY.prototype, "Precio", 2);
8933
8933
  __decorateClass([
8934
8934
  (0, import_class_transformer154.Expose)(),
8935
- (0, import_class_validator154.IsDate)({ message: "debe ser una fecha" }),
8936
- (0, import_class_validator154.IsNotEmpty)({ message: "es requerido" })
8935
+ (0, import_class_validator154.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
8936
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
8937
+ })
8937
8938
  ], ModelMOSQLPeruENTITY.prototype, "Fecha_Registro", 2);
8938
8939
  __decorateClass([
8939
8940
  (0, import_class_validator154.IsString)({ message: "debe ser un texto" }),
@@ -8972,24 +8973,24 @@ var ModelObraSQLPeruENTITY = class {
8972
8973
  Armario = "";
8973
8974
  Cuenta = "";
8974
8975
  OT = "";
8975
- Fecha_Registro = /* @__PURE__ */ new Date(0);
8976
- Fecha_Aprobacion = /* @__PURE__ */ new Date(0);
8977
- Fecha_Inicio = /* @__PURE__ */ new Date(0);
8978
- Fecha_Termino = /* @__PURE__ */ new Date(0);
8976
+ Fecha_Registro;
8977
+ Fecha_Aprobacion;
8978
+ Fecha_Inicio;
8979
+ Fecha_Termino;
8979
8980
  Documento_PM = "";
8980
- Fecha_Inicio_PM = /* @__PURE__ */ new Date(0);
8981
- Fecha_Fin_PM = /* @__PURE__ */ new Date(0);
8981
+ Fecha_Inicio_PM;
8982
+ Fecha_Fin_PM;
8982
8983
  Documento_CO = "";
8983
- Fecha_CO = /* @__PURE__ */ new Date(0);
8984
+ Fecha_CO;
8984
8985
  Contratista;
8985
8986
  H_Gestion = "";
8986
- Fecha_HG = /* @__PURE__ */ new Date(0);
8987
+ Fecha_HG;
8987
8988
  Pto_Can = 0;
8988
8989
  Pto_Cel = 0;
8989
8990
  Pto_Emp = 0;
8990
8991
  valorizacionMo = 0;
8991
8992
  valorizacionMat = 0;
8992
- Fecha_Ult_Est = /* @__PURE__ */ new Date(0);
8993
+ Fecha_Ult_Est;
8993
8994
  Usuario_Registro;
8994
8995
  CodArea = "";
8995
8996
  Usuario;
@@ -9111,27 +9112,27 @@ __decorateClass([
9111
9112
  (0, import_class_transformer155.Expose)()
9112
9113
  ], ModelObraSQLPeruENTITY.prototype, "OT", 2);
9113
9114
  __decorateClass([
9114
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9115
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9116
- (0, import_class_transformer155.Type)(() => Date),
9115
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9116
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9117
+ }),
9117
9118
  (0, import_class_transformer155.Expose)()
9118
9119
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Registro", 2);
9119
9120
  __decorateClass([
9120
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9121
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9122
- (0, import_class_transformer155.Type)(() => Date),
9121
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9122
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9123
+ }),
9123
9124
  (0, import_class_transformer155.Expose)()
9124
9125
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Aprobacion", 2);
9125
9126
  __decorateClass([
9126
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9127
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9128
- (0, import_class_transformer155.Type)(() => Date),
9127
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9128
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9129
+ }),
9129
9130
  (0, import_class_transformer155.Expose)()
9130
9131
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Inicio", 2);
9131
9132
  __decorateClass([
9132
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9133
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9134
- (0, import_class_transformer155.Type)(() => Date),
9133
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9134
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9135
+ }),
9135
9136
  (0, import_class_transformer155.Expose)()
9136
9137
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Termino", 2);
9137
9138
  __decorateClass([
@@ -9140,15 +9141,15 @@ __decorateClass([
9140
9141
  (0, import_class_transformer155.Expose)()
9141
9142
  ], ModelObraSQLPeruENTITY.prototype, "Documento_PM", 2);
9142
9143
  __decorateClass([
9143
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9144
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9145
- (0, import_class_transformer155.Type)(() => Date),
9144
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9145
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9146
+ }),
9146
9147
  (0, import_class_transformer155.Expose)()
9147
9148
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Inicio_PM", 2);
9148
9149
  __decorateClass([
9149
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9150
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9151
- (0, import_class_transformer155.Type)(() => Date),
9150
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9151
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9152
+ }),
9152
9153
  (0, import_class_transformer155.Expose)()
9153
9154
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Fin_PM", 2);
9154
9155
  __decorateClass([
@@ -9157,9 +9158,9 @@ __decorateClass([
9157
9158
  (0, import_class_transformer155.Expose)()
9158
9159
  ], ModelObraSQLPeruENTITY.prototype, "Documento_CO", 2);
9159
9160
  __decorateClass([
9160
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9161
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9162
- (0, import_class_transformer155.Type)(() => Date),
9161
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9162
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9163
+ }),
9163
9164
  (0, import_class_transformer155.Expose)()
9164
9165
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_CO", 2);
9165
9166
  __decorateClass([
@@ -9173,9 +9174,9 @@ __decorateClass([
9173
9174
  (0, import_class_transformer155.Expose)()
9174
9175
  ], ModelObraSQLPeruENTITY.prototype, "H_Gestion", 2);
9175
9176
  __decorateClass([
9176
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9177
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9178
- (0, import_class_transformer155.Type)(() => Date),
9177
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9178
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9179
+ }),
9179
9180
  (0, import_class_transformer155.Expose)()
9180
9181
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_HG", 2);
9181
9182
  __decorateClass([
@@ -9204,9 +9205,9 @@ __decorateClass([
9204
9205
  (0, import_class_transformer155.Expose)()
9205
9206
  ], ModelObraSQLPeruENTITY.prototype, "valorizacionMat", 2);
9206
9207
  __decorateClass([
9207
- (0, import_class_validator155.IsNotEmpty)({ message: "es obligatoria" }),
9208
- (0, import_class_validator155.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9209
- (0, import_class_transformer155.Type)(() => Date),
9208
+ (0, import_class_validator155.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9209
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9210
+ }),
9210
9211
  (0, import_class_transformer155.Expose)()
9211
9212
  ], ModelObraSQLPeruENTITY.prototype, "Fecha_Ult_Est", 2);
9212
9213
  __decorateClass([
@@ -9242,7 +9243,7 @@ var SeguimientoObraDTO = class {
9242
9243
  Proyecto;
9243
9244
  SubProyecto;
9244
9245
  Fecha_CreacionIP;
9245
- Fecha_Ejecucion = /* @__PURE__ */ new Date();
9246
+ Fecha_Ejecucion;
9246
9247
  Estado_PTR;
9247
9248
  Estado_IP;
9248
9249
  Colab_IP;
@@ -9259,7 +9260,7 @@ var SeguimientoObraDTO = class {
9259
9260
  Expediente = "";
9260
9261
  Fecha_Expediente = "";
9261
9262
  Validado = "";
9262
- Fecha_Valida = /* @__PURE__ */ new Date(0);
9263
+ Fecha_Valida;
9263
9264
  Usuario_Valida = "";
9264
9265
  Estado_Sirope = "";
9265
9266
  };
@@ -9299,15 +9300,15 @@ __decorateClass([
9299
9300
  (0, import_class_transformer156.Expose)()
9300
9301
  ], SeguimientoObraDTO.prototype, "SubProyecto", 2);
9301
9302
  __decorateClass([
9302
- (0, import_class_validator156.IsNotEmpty)({ message: "es obligatoria" }),
9303
- (0, import_class_validator156.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9304
- (0, import_class_transformer156.Type)(() => Date),
9303
+ (0, import_class_validator156.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9304
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9305
+ }),
9305
9306
  (0, import_class_transformer156.Expose)()
9306
9307
  ], SeguimientoObraDTO.prototype, "Fecha_CreacionIP", 2);
9307
9308
  __decorateClass([
9308
- (0, import_class_validator156.IsNotEmpty)({ message: "es obligatoria" }),
9309
- (0, import_class_validator156.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9310
- (0, import_class_transformer156.Type)(() => Date),
9309
+ (0, import_class_validator156.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9310
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9311
+ }),
9311
9312
  (0, import_class_transformer156.Expose)()
9312
9313
  ], SeguimientoObraDTO.prototype, "Fecha_Ejecucion", 2);
9313
9314
  __decorateClass([
@@ -9391,9 +9392,9 @@ __decorateClass([
9391
9392
  (0, import_class_transformer156.Expose)()
9392
9393
  ], SeguimientoObraDTO.prototype, "Validado", 2);
9393
9394
  __decorateClass([
9394
- (0, import_class_validator156.IsNotEmpty)({ message: "es obligatoria" }),
9395
- (0, import_class_validator156.IsDate)({ message: "debe ser una fecha v\xE1lida" }),
9396
- (0, import_class_transformer156.Type)(() => Date),
9395
+ (0, import_class_validator156.Matches)(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/, {
9396
+ message: "La fecha debe estar en formato YYYY-MM-DD HH:mm"
9397
+ }),
9397
9398
  (0, import_class_transformer156.Expose)()
9398
9399
  ], SeguimientoObraDTO.prototype, "Fecha_Valida", 2);
9399
9400
  __decorateClass([