sigo-entities 0.0.95 → 0.0.96
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +26 -5
- package/dist/index.mjs +26 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1714,10 +1714,13 @@ declare class ProductosServiciosLiqDTO {
|
|
|
1714
1714
|
declare class InventarioLiqDTO {
|
|
1715
1715
|
Descripcion: string;
|
|
1716
1716
|
LoteSAP: string;
|
|
1717
|
-
TipoInventario:
|
|
1717
|
+
TipoInventario: number;
|
|
1718
1718
|
CodigoSAP: string;
|
|
1719
1719
|
NumeroSerie: string;
|
|
1720
1720
|
Cantidad: number;
|
|
1721
|
+
Estado: string;
|
|
1722
|
+
Tipo: string;
|
|
1723
|
+
ID_Recurso: number;
|
|
1721
1724
|
}
|
|
1722
1725
|
|
|
1723
1726
|
declare class BitacoraLiqDTO {
|
package/dist/index.d.ts
CHANGED
|
@@ -1714,10 +1714,13 @@ declare class ProductosServiciosLiqDTO {
|
|
|
1714
1714
|
declare class InventarioLiqDTO {
|
|
1715
1715
|
Descripcion: string;
|
|
1716
1716
|
LoteSAP: string;
|
|
1717
|
-
TipoInventario:
|
|
1717
|
+
TipoInventario: number;
|
|
1718
1718
|
CodigoSAP: string;
|
|
1719
1719
|
NumeroSerie: string;
|
|
1720
1720
|
Cantidad: number;
|
|
1721
|
+
Estado: string;
|
|
1722
|
+
Tipo: string;
|
|
1723
|
+
ID_Recurso: number;
|
|
1721
1724
|
}
|
|
1722
1725
|
|
|
1723
1726
|
declare class BitacoraLiqDTO {
|
package/dist/index.js
CHANGED
|
@@ -8713,10 +8713,13 @@ var import_class_validator151 = require("class-validator");
|
|
|
8713
8713
|
var InventarioLiqDTO = class {
|
|
8714
8714
|
Descripcion = "";
|
|
8715
8715
|
LoteSAP = "";
|
|
8716
|
-
TipoInventario =
|
|
8716
|
+
TipoInventario = 0;
|
|
8717
8717
|
CodigoSAP = "";
|
|
8718
8718
|
NumeroSerie = "";
|
|
8719
8719
|
Cantidad = 0;
|
|
8720
|
+
Estado = "";
|
|
8721
|
+
Tipo = "";
|
|
8722
|
+
ID_Recurso = 0;
|
|
8720
8723
|
};
|
|
8721
8724
|
__decorateClass([
|
|
8722
8725
|
(0, import_class_validator151.IsString)({ message: "debe ser un texto" }),
|
|
@@ -8731,10 +8734,10 @@ __decorateClass([
|
|
|
8731
8734
|
(0, import_class_transformer151.Expose)()
|
|
8732
8735
|
], InventarioLiqDTO.prototype, "LoteSAP", 2);
|
|
8733
8736
|
__decorateClass([
|
|
8734
|
-
(0, import_class_validator151.
|
|
8737
|
+
(0, import_class_validator151.IsNumber)({}, { message: "debe ser un numero" }),
|
|
8735
8738
|
(0, import_class_validator151.IsNotEmpty)({ message: "es requerido" }),
|
|
8736
|
-
(0,
|
|
8737
|
-
(0,
|
|
8739
|
+
(0, import_class_transformer151.Expose)(),
|
|
8740
|
+
(0, import_class_validator151.Min)(0)
|
|
8738
8741
|
], InventarioLiqDTO.prototype, "TipoInventario", 2);
|
|
8739
8742
|
__decorateClass([
|
|
8740
8743
|
(0, import_class_validator151.IsString)({ message: "debe ser un texto" }),
|
|
@@ -8745,7 +8748,7 @@ __decorateClass([
|
|
|
8745
8748
|
__decorateClass([
|
|
8746
8749
|
(0, import_class_validator151.IsString)({ message: "debe ser un texto" }),
|
|
8747
8750
|
(0, import_class_validator151.IsNotEmpty)({ message: "es requerido" }),
|
|
8748
|
-
(0, import_class_validator151.Length)(1,
|
|
8751
|
+
(0, import_class_validator151.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
8749
8752
|
(0, import_class_transformer151.Expose)()
|
|
8750
8753
|
], InventarioLiqDTO.prototype, "NumeroSerie", 2);
|
|
8751
8754
|
__decorateClass([
|
|
@@ -8754,6 +8757,24 @@ __decorateClass([
|
|
|
8754
8757
|
(0, import_class_transformer151.Expose)(),
|
|
8755
8758
|
(0, import_class_validator151.Min)(0)
|
|
8756
8759
|
], InventarioLiqDTO.prototype, "Cantidad", 2);
|
|
8760
|
+
__decorateClass([
|
|
8761
|
+
(0, import_class_validator151.IsString)({ message: "debe ser un texto" }),
|
|
8762
|
+
(0, import_class_validator151.IsNotEmpty)({ message: "es requerido" }),
|
|
8763
|
+
(0, import_class_validator151.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
8764
|
+
(0, import_class_transformer151.Expose)()
|
|
8765
|
+
], InventarioLiqDTO.prototype, "Estado", 2);
|
|
8766
|
+
__decorateClass([
|
|
8767
|
+
(0, import_class_validator151.IsString)({ message: "debe ser un texto" }),
|
|
8768
|
+
(0, import_class_validator151.IsNotEmpty)({ message: "es requerido" }),
|
|
8769
|
+
(0, import_class_validator151.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
8770
|
+
(0, import_class_transformer151.Expose)()
|
|
8771
|
+
], InventarioLiqDTO.prototype, "Tipo", 2);
|
|
8772
|
+
__decorateClass([
|
|
8773
|
+
(0, import_class_validator151.IsNumber)({}, { message: "debe ser un numero" }),
|
|
8774
|
+
(0, import_class_validator151.IsNotEmpty)({ message: "es requerido" }),
|
|
8775
|
+
(0, import_class_transformer151.Expose)(),
|
|
8776
|
+
(0, import_class_validator151.Min)(0)
|
|
8777
|
+
], InventarioLiqDTO.prototype, "ID_Recurso", 2);
|
|
8757
8778
|
|
|
8758
8779
|
// src/operativa/procesos/liquidadas_toa/shared/dto/bitacora-liq-dto.ts
|
|
8759
8780
|
var import_class_transformer152 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -8556,10 +8556,13 @@ import { IsNotEmpty as IsNotEmpty143, IsNumber as IsNumber98, IsString as IsStri
|
|
|
8556
8556
|
var InventarioLiqDTO = class {
|
|
8557
8557
|
Descripcion = "";
|
|
8558
8558
|
LoteSAP = "";
|
|
8559
|
-
TipoInventario =
|
|
8559
|
+
TipoInventario = 0;
|
|
8560
8560
|
CodigoSAP = "";
|
|
8561
8561
|
NumeroSerie = "";
|
|
8562
8562
|
Cantidad = 0;
|
|
8563
|
+
Estado = "";
|
|
8564
|
+
Tipo = "";
|
|
8565
|
+
ID_Recurso = 0;
|
|
8563
8566
|
};
|
|
8564
8567
|
__decorateClass([
|
|
8565
8568
|
IsString128({ message: "debe ser un texto" }),
|
|
@@ -8574,10 +8577,10 @@ __decorateClass([
|
|
|
8574
8577
|
Expose150()
|
|
8575
8578
|
], InventarioLiqDTO.prototype, "LoteSAP", 2);
|
|
8576
8579
|
__decorateClass([
|
|
8577
|
-
|
|
8580
|
+
IsNumber98({}, { message: "debe ser un numero" }),
|
|
8578
8581
|
IsNotEmpty143({ message: "es requerido" }),
|
|
8579
|
-
|
|
8580
|
-
|
|
8582
|
+
Expose150(),
|
|
8583
|
+
Min76(0)
|
|
8581
8584
|
], InventarioLiqDTO.prototype, "TipoInventario", 2);
|
|
8582
8585
|
__decorateClass([
|
|
8583
8586
|
IsString128({ message: "debe ser un texto" }),
|
|
@@ -8588,7 +8591,7 @@ __decorateClass([
|
|
|
8588
8591
|
__decorateClass([
|
|
8589
8592
|
IsString128({ message: "debe ser un texto" }),
|
|
8590
8593
|
IsNotEmpty143({ message: "es requerido" }),
|
|
8591
|
-
Length122(1,
|
|
8594
|
+
Length122(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
8592
8595
|
Expose150()
|
|
8593
8596
|
], InventarioLiqDTO.prototype, "NumeroSerie", 2);
|
|
8594
8597
|
__decorateClass([
|
|
@@ -8597,6 +8600,24 @@ __decorateClass([
|
|
|
8597
8600
|
Expose150(),
|
|
8598
8601
|
Min76(0)
|
|
8599
8602
|
], InventarioLiqDTO.prototype, "Cantidad", 2);
|
|
8603
|
+
__decorateClass([
|
|
8604
|
+
IsString128({ message: "debe ser un texto" }),
|
|
8605
|
+
IsNotEmpty143({ message: "es requerido" }),
|
|
8606
|
+
Length122(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
8607
|
+
Expose150()
|
|
8608
|
+
], InventarioLiqDTO.prototype, "Estado", 2);
|
|
8609
|
+
__decorateClass([
|
|
8610
|
+
IsString128({ message: "debe ser un texto" }),
|
|
8611
|
+
IsNotEmpty143({ message: "es requerido" }),
|
|
8612
|
+
Length122(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
8613
|
+
Expose150()
|
|
8614
|
+
], InventarioLiqDTO.prototype, "Tipo", 2);
|
|
8615
|
+
__decorateClass([
|
|
8616
|
+
IsNumber98({}, { message: "debe ser un numero" }),
|
|
8617
|
+
IsNotEmpty143({ message: "es requerido" }),
|
|
8618
|
+
Expose150(),
|
|
8619
|
+
Min76(0)
|
|
8620
|
+
], InventarioLiqDTO.prototype, "ID_Recurso", 2);
|
|
8600
8621
|
|
|
8601
8622
|
// src/operativa/procesos/liquidadas_toa/shared/dto/bitacora-liq-dto.ts
|
|
8602
8623
|
import { Expose as Expose151 } from "class-transformer";
|