sigo-entities 0.0.138 → 0.0.140

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.js CHANGED
@@ -703,14 +703,12 @@ var CoordenadasDTO = class {
703
703
  };
704
704
  __decorateClass([
705
705
  (0, import_class_validator16.IsString)({ message: "debe ser un texto" }),
706
- (0, import_class_validator16.IsNotEmpty)({ message: "es requerido" }),
707
- (0, import_class_validator16.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
706
+ (0, import_class_validator16.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
708
707
  (0, import_class_transformer16.Expose)()
709
708
  ], CoordenadasDTO.prototype, "X", 2);
710
709
  __decorateClass([
711
710
  (0, import_class_validator16.IsString)({ message: "debe ser un texto" }),
712
- (0, import_class_validator16.IsNotEmpty)({ message: "es requerido" }),
713
- (0, import_class_validator16.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
711
+ (0, import_class_validator16.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
714
712
  (0, import_class_transformer16.Expose)()
715
713
  ], CoordenadasDTO.prototype, "Y", 2);
716
714
 
@@ -1671,8 +1669,7 @@ __decorateClass([
1671
1669
  ], FilesDocDTO.prototype, "Ruta", 2);
1672
1670
  __decorateClass([
1673
1671
  (0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
1674
- (0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
1675
- (0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
1672
+ (0, import_class_validator37.Length)(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
1676
1673
  (0, import_class_transformer37.Expose)()
1677
1674
  ], FilesDocDTO.prototype, "Observacion", 2);
1678
1675
  __decorateClass([
@@ -6543,7 +6540,7 @@ var CambiosEstadosFaseLiberacionPagosDTO = class {
6543
6540
  };
6544
6541
  __decorateClass([
6545
6542
  (0, import_class_validator115.IsString)({ message: "debe ser un texto" }),
6546
- (0, import_class_validator115.Length)(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
6543
+ (0, import_class_validator115.Length)(0, 300, { message: "debe tener entre 0 y 300 caracteres " }),
6547
6544
  (0, import_class_transformer115.Expose)()
6548
6545
  ], CambiosEstadosFaseLiberacionPagosDTO.prototype, "NroDocumento", 2);
6549
6546
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -494,21 +494,19 @@ __decorateClass([
494
494
 
495
495
  // src/shared/dto/coordenadas-dto.ts
496
496
  import { Expose as Expose15 } from "class-transformer";
497
- import { IsNotEmpty as IsNotEmpty15, IsString as IsString14, Length as Length14 } from "class-validator";
497
+ import { IsString as IsString14, Length as Length14 } from "class-validator";
498
498
  var CoordenadasDTO = class {
499
499
  X = "";
500
500
  Y = "";
501
501
  };
502
502
  __decorateClass([
503
503
  IsString14({ message: "debe ser un texto" }),
504
- IsNotEmpty15({ message: "es requerido" }),
505
- Length14(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
504
+ Length14(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
506
505
  Expose15()
507
506
  ], CoordenadasDTO.prototype, "X", 2);
508
507
  __decorateClass([
509
508
  IsString14({ message: "debe ser un texto" }),
510
- IsNotEmpty15({ message: "es requerido" }),
511
- Length14(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
509
+ Length14(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
512
510
  Expose15()
513
511
  ], CoordenadasDTO.prototype, "Y", 2);
514
512
 
@@ -1469,8 +1467,7 @@ __decorateClass([
1469
1467
  ], FilesDocDTO.prototype, "Ruta", 2);
1470
1468
  __decorateClass([
1471
1469
  IsString32({ message: "debe ser un texto" }),
1472
- IsNotEmpty36({ message: "es requerido" }),
1473
- Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
1470
+ Length32(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
1474
1471
  Expose36()
1475
1472
  ], FilesDocDTO.prototype, "Observacion", 2);
1476
1473
  __decorateClass([
@@ -6341,7 +6338,7 @@ var CambiosEstadosFaseLiberacionPagosDTO = class {
6341
6338
  };
6342
6339
  __decorateClass([
6343
6340
  IsString99({ message: "debe ser un texto" }),
6344
- Length96(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
6341
+ Length96(0, 300, { message: "debe tener entre 0 y 300 caracteres " }),
6345
6342
  Expose114()
6346
6343
  ], CambiosEstadosFaseLiberacionPagosDTO.prototype, "NroDocumento", 2);
6347
6344
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.138",
3
+ "version": "0.0.140",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",