sigo-entities 1.2.281 → 1.2.284

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
@@ -5785,9 +5785,9 @@ declare class NavisionpreordenEntity {
5785
5785
  Importe: number;
5786
5786
  ImporteIGV: number;
5787
5787
  Total: number;
5788
- DateRegistry: string;
5788
+ DateRegistry: Date;
5789
5789
  UserRegistry: string;
5790
- DateAccepted: string;
5790
+ DateAccepted: Date;
5791
5791
  UserAccepted: string;
5792
5792
  DatosContrato: any;
5793
5793
  enviarNav: EnviarNavDto;
package/dist/index.d.ts CHANGED
@@ -5785,9 +5785,9 @@ declare class NavisionpreordenEntity {
5785
5785
  Importe: number;
5786
5786
  ImporteIGV: number;
5787
5787
  Total: number;
5788
- DateRegistry: string;
5788
+ DateRegistry: Date;
5789
5789
  UserRegistry: string;
5790
- DateAccepted: string;
5790
+ DateAccepted: Date;
5791
5791
  UserAccepted: string;
5792
5792
  DatosContrato: any;
5793
5793
  enviarNav: EnviarNavDto;
package/dist/index.js CHANGED
@@ -30939,9 +30939,9 @@ var NavisionpreordenEntity = class {
30939
30939
  Importe = 0;
30940
30940
  ImporteIGV = 0;
30941
30941
  Total = 0;
30942
- DateRegistry = "";
30942
+ DateRegistry = /* @__PURE__ */ new Date();
30943
30943
  UserRegistry = "";
30944
- DateAccepted = "";
30944
+ DateAccepted = /* @__PURE__ */ new Date();
30945
30945
  UserAccepted = "";
30946
30946
  DatosContrato = {};
30947
30947
  enviarNav = new EnviarNavDto();
@@ -31125,7 +31125,9 @@ __decorateClass([
31125
31125
  ], NavisionpreordenEntity.prototype, "Total", 2);
31126
31126
  __decorateClass([
31127
31127
  (0, import_class_validator544.IsOptional)(),
31128
- (0, import_class_validator544.IsString)({ message: "debe ser texto" }),
31128
+ (0, import_class_transformer565.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
31129
+ (0, import_class_validator544.IsDate)({ message: "debe ser una fecha" }),
31130
+ (0, import_class_transformer565.Type)(() => Date),
31129
31131
  (0, import_class_transformer564.Expose)()
31130
31132
  ], NavisionpreordenEntity.prototype, "DateRegistry", 2);
31131
31133
  __decorateClass([
@@ -31135,7 +31137,9 @@ __decorateClass([
31135
31137
  ], NavisionpreordenEntity.prototype, "UserRegistry", 2);
31136
31138
  __decorateClass([
31137
31139
  (0, import_class_validator544.IsOptional)(),
31138
- (0, import_class_validator544.IsString)({ message: "debe ser texto" }),
31140
+ (0, import_class_transformer565.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
31141
+ (0, import_class_validator544.IsDate)({ message: "debe ser una fecha" }),
31142
+ (0, import_class_transformer565.Type)(() => Date),
31139
31143
  (0, import_class_transformer564.Expose)()
31140
31144
  ], NavisionpreordenEntity.prototype, "DateAccepted", 2);
31141
31145
  __decorateClass([