sigo-entities 0.0.16 → 0.0.17

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
@@ -1877,19 +1877,19 @@ __decorateClass([
1877
1877
  (0, import_class_transformer32.Expose)(),
1878
1878
  (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1879
1879
  (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1880
- (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1880
+ (0, import_class_validator32.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
1881
1881
  ], AtencionOrdenesLiquidadasENTITY.prototype, "CodigoSAP", 2);
1882
1882
  __decorateClass([
1883
1883
  (0, import_class_transformer32.Expose)(),
1884
1884
  (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1885
1885
  (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1886
- (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1886
+ (0, import_class_validator32.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
1887
1887
  ], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
1888
1888
  __decorateClass([
1889
1889
  (0, import_class_transformer32.Expose)(),
1890
1890
  (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1891
1891
  (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1892
- (0, import_class_validator32.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1892
+ (0, import_class_validator32.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
1893
1893
  ], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
1894
1894
  __decorateClass([
1895
1895
  (0, import_class_transformer32.Expose)(),
@@ -1908,7 +1908,7 @@ __decorateClass([
1908
1908
  (0, import_class_transformer32.Expose)(),
1909
1909
  (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
1910
1910
  (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1911
- (0, import_class_validator32.Length)(1, 60, { message: "debe tener entre 1 y 60 caracteres" })
1911
+ (0, import_class_validator32.Length)(0, 60, { message: "debe tener entre 0 y 60 caracteres" })
1912
1912
  ], AtencionOrdenesLiquidadasENTITY.prototype, "NroDocumento", 2);
1913
1913
  __decorateClass([
1914
1914
  (0, import_class_transformer32.Expose)(),
package/dist/index.mjs CHANGED
@@ -1850,19 +1850,19 @@ __decorateClass([
1850
1850
  Expose31(),
1851
1851
  IsString27({ message: "debe ser un texto" }),
1852
1852
  IsNotEmpty31({ message: "es requerido" }),
1853
- Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1853
+ Length27(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
1854
1854
  ], AtencionOrdenesLiquidadasENTITY.prototype, "CodigoSAP", 2);
1855
1855
  __decorateClass([
1856
1856
  Expose31(),
1857
1857
  IsString27({ message: "debe ser un texto" }),
1858
1858
  IsNotEmpty31({ message: "es requerido" }),
1859
- Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1859
+ Length27(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
1860
1860
  ], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
1861
1861
  __decorateClass([
1862
1862
  Expose31(),
1863
1863
  IsString27({ message: "debe ser un texto" }),
1864
1864
  IsNotEmpty31({ message: "es requerido" }),
1865
- Length27(1, 30, { message: "debe tener entre 1 y 30 caracteres" })
1865
+ Length27(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
1866
1866
  ], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
1867
1867
  __decorateClass([
1868
1868
  Expose31(),
@@ -1881,7 +1881,7 @@ __decorateClass([
1881
1881
  Expose31(),
1882
1882
  IsString27({ message: "debe ser un texto" }),
1883
1883
  IsNotEmpty31({ message: "es requerido" }),
1884
- Length27(1, 60, { message: "debe tener entre 1 y 60 caracteres" })
1884
+ Length27(0, 60, { message: "debe tener entre 0 y 60 caracteres" })
1885
1885
  ], AtencionOrdenesLiquidadasENTITY.prototype, "NroDocumento", 2);
1886
1886
  __decorateClass([
1887
1887
  Expose31(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",