sigo-entities 0.0.15 → 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.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +16 -4
- package/dist/index.mjs +16 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -349,6 +349,8 @@ declare class StockPersonalEquiposENTITY {
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
type typeEstado = 'PENDIENTE' | 'ATENDIDO';
|
|
352
|
+
type typeFuente = 'TOA' | 'TOA PEX';
|
|
353
|
+
type typeEstadoNroDocumento = '' | 'APROBADO' | 'VALIDADO' | 'INACTIVO_INCONCLUSO' | 'SOLICITADO';
|
|
352
354
|
declare class AtencionOrdenesLiquidadasENTITY {
|
|
353
355
|
ID_AtencionOrdenesLiquidadas: number;
|
|
354
356
|
Orden: string;
|
|
@@ -358,8 +360,10 @@ declare class AtencionOrdenesLiquidadasENTITY {
|
|
|
358
360
|
Cantidad: number;
|
|
359
361
|
ID_Recurso: string;
|
|
360
362
|
NroDocumento: string;
|
|
363
|
+
EstadoNroDocumento: typeEstadoNroDocumento;
|
|
361
364
|
Fecha: Date;
|
|
362
365
|
Estado: typeEstado;
|
|
366
|
+
Fuente: typeFuente;
|
|
363
367
|
}
|
|
364
368
|
|
|
365
369
|
export { AtencionOrdenesLiquidadasENTITY, ConsumoMaterialChile9512ENTITY, StockPersonalEquiposENTITY, TrabajoENTITY, validateAndFormatData };
|
package/dist/index.d.ts
CHANGED
|
@@ -349,6 +349,8 @@ declare class StockPersonalEquiposENTITY {
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
type typeEstado = 'PENDIENTE' | 'ATENDIDO';
|
|
352
|
+
type typeFuente = 'TOA' | 'TOA PEX';
|
|
353
|
+
type typeEstadoNroDocumento = '' | 'APROBADO' | 'VALIDADO' | 'INACTIVO_INCONCLUSO' | 'SOLICITADO';
|
|
352
354
|
declare class AtencionOrdenesLiquidadasENTITY {
|
|
353
355
|
ID_AtencionOrdenesLiquidadas: number;
|
|
354
356
|
Orden: string;
|
|
@@ -358,8 +360,10 @@ declare class AtencionOrdenesLiquidadasENTITY {
|
|
|
358
360
|
Cantidad: number;
|
|
359
361
|
ID_Recurso: string;
|
|
360
362
|
NroDocumento: string;
|
|
363
|
+
EstadoNroDocumento: typeEstadoNroDocumento;
|
|
361
364
|
Fecha: Date;
|
|
362
365
|
Estado: typeEstado;
|
|
366
|
+
Fuente: typeFuente;
|
|
363
367
|
}
|
|
364
368
|
|
|
365
369
|
export { AtencionOrdenesLiquidadasENTITY, ConsumoMaterialChile9512ENTITY, StockPersonalEquiposENTITY, TrabajoENTITY, validateAndFormatData };
|
package/dist/index.js
CHANGED
|
@@ -1856,8 +1856,10 @@ var AtencionOrdenesLiquidadasENTITY = class {
|
|
|
1856
1856
|
Cantidad = 0;
|
|
1857
1857
|
ID_Recurso = "";
|
|
1858
1858
|
NroDocumento = "";
|
|
1859
|
+
EstadoNroDocumento = "";
|
|
1859
1860
|
Fecha = /* @__PURE__ */ new Date();
|
|
1860
1861
|
Estado = "PENDIENTE";
|
|
1862
|
+
Fuente = "TOA";
|
|
1861
1863
|
};
|
|
1862
1864
|
__decorateClass([
|
|
1863
1865
|
(0, import_class_transformer32.Expose)(),
|
|
@@ -1875,19 +1877,19 @@ __decorateClass([
|
|
|
1875
1877
|
(0, import_class_transformer32.Expose)(),
|
|
1876
1878
|
(0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
|
|
1877
1879
|
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
|
|
1878
|
-
(0, import_class_validator32.Length)(
|
|
1880
|
+
(0, import_class_validator32.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
1879
1881
|
], AtencionOrdenesLiquidadasENTITY.prototype, "CodigoSAP", 2);
|
|
1880
1882
|
__decorateClass([
|
|
1881
1883
|
(0, import_class_transformer32.Expose)(),
|
|
1882
1884
|
(0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
|
|
1883
1885
|
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
|
|
1884
|
-
(0, import_class_validator32.Length)(
|
|
1886
|
+
(0, import_class_validator32.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
1885
1887
|
], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
|
|
1886
1888
|
__decorateClass([
|
|
1887
1889
|
(0, import_class_transformer32.Expose)(),
|
|
1888
1890
|
(0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
|
|
1889
1891
|
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
|
|
1890
|
-
(0, import_class_validator32.Length)(
|
|
1892
|
+
(0, import_class_validator32.Length)(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
1891
1893
|
], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
|
|
1892
1894
|
__decorateClass([
|
|
1893
1895
|
(0, import_class_transformer32.Expose)(),
|
|
@@ -1906,8 +1908,13 @@ __decorateClass([
|
|
|
1906
1908
|
(0, import_class_transformer32.Expose)(),
|
|
1907
1909
|
(0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
|
|
1908
1910
|
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
|
|
1909
|
-
(0, import_class_validator32.Length)(
|
|
1911
|
+
(0, import_class_validator32.Length)(0, 60, { message: "debe tener entre 0 y 60 caracteres" })
|
|
1910
1912
|
], AtencionOrdenesLiquidadasENTITY.prototype, "NroDocumento", 2);
|
|
1913
|
+
__decorateClass([
|
|
1914
|
+
(0, import_class_transformer32.Expose)(),
|
|
1915
|
+
(0, import_class_validator32.IsEnum)(["", "APROBADO", "VALIDADO", "INACTIVO_INCONCLUSO", "SOLICITADO"], { message: "debe ser APROBADO, VALIDADO, INACTIVO_INCONCLUSO o SOLICITADO" }),
|
|
1916
|
+
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" })
|
|
1917
|
+
], AtencionOrdenesLiquidadasENTITY.prototype, "EstadoNroDocumento", 2);
|
|
1911
1918
|
__decorateClass([
|
|
1912
1919
|
(0, import_class_transformer32.Expose)(),
|
|
1913
1920
|
(0, import_class_validator32.IsDate)({ message: "debe ser una fecha" }),
|
|
@@ -1918,6 +1925,11 @@ __decorateClass([
|
|
|
1918
1925
|
(0, import_class_validator32.IsEnum)(["PENDIENTE", "ATENDIDO"], { message: "debe ser PENDIENTE o ATENDIDO" }),
|
|
1919
1926
|
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" })
|
|
1920
1927
|
], AtencionOrdenesLiquidadasENTITY.prototype, "Estado", 2);
|
|
1928
|
+
__decorateClass([
|
|
1929
|
+
(0, import_class_transformer32.Expose)(),
|
|
1930
|
+
(0, import_class_validator32.IsEnum)(["TOA", "TOA PEX"], { message: "debe ser TOA o TOA PEX" }),
|
|
1931
|
+
(0, import_class_validator32.IsNotEmpty)({ message: "es requerido" })
|
|
1932
|
+
], AtencionOrdenesLiquidadasENTITY.prototype, "Fuente", 2);
|
|
1921
1933
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1922
1934
|
0 && (module.exports = {
|
|
1923
1935
|
AtencionOrdenesLiquidadasENTITY,
|
package/dist/index.mjs
CHANGED
|
@@ -1829,8 +1829,10 @@ var AtencionOrdenesLiquidadasENTITY = class {
|
|
|
1829
1829
|
Cantidad = 0;
|
|
1830
1830
|
ID_Recurso = "";
|
|
1831
1831
|
NroDocumento = "";
|
|
1832
|
+
EstadoNroDocumento = "";
|
|
1832
1833
|
Fecha = /* @__PURE__ */ new Date();
|
|
1833
1834
|
Estado = "PENDIENTE";
|
|
1835
|
+
Fuente = "TOA";
|
|
1834
1836
|
};
|
|
1835
1837
|
__decorateClass([
|
|
1836
1838
|
Expose31(),
|
|
@@ -1848,19 +1850,19 @@ __decorateClass([
|
|
|
1848
1850
|
Expose31(),
|
|
1849
1851
|
IsString27({ message: "debe ser un texto" }),
|
|
1850
1852
|
IsNotEmpty31({ message: "es requerido" }),
|
|
1851
|
-
Length27(
|
|
1853
|
+
Length27(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
1852
1854
|
], AtencionOrdenesLiquidadasENTITY.prototype, "CodigoSAP", 2);
|
|
1853
1855
|
__decorateClass([
|
|
1854
1856
|
Expose31(),
|
|
1855
1857
|
IsString27({ message: "debe ser un texto" }),
|
|
1856
1858
|
IsNotEmpty31({ message: "es requerido" }),
|
|
1857
|
-
Length27(
|
|
1859
|
+
Length27(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
1858
1860
|
], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
|
|
1859
1861
|
__decorateClass([
|
|
1860
1862
|
Expose31(),
|
|
1861
1863
|
IsString27({ message: "debe ser un texto" }),
|
|
1862
1864
|
IsNotEmpty31({ message: "es requerido" }),
|
|
1863
|
-
Length27(
|
|
1865
|
+
Length27(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
1864
1866
|
], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
|
|
1865
1867
|
__decorateClass([
|
|
1866
1868
|
Expose31(),
|
|
@@ -1879,8 +1881,13 @@ __decorateClass([
|
|
|
1879
1881
|
Expose31(),
|
|
1880
1882
|
IsString27({ message: "debe ser un texto" }),
|
|
1881
1883
|
IsNotEmpty31({ message: "es requerido" }),
|
|
1882
|
-
Length27(
|
|
1884
|
+
Length27(0, 60, { message: "debe tener entre 0 y 60 caracteres" })
|
|
1883
1885
|
], AtencionOrdenesLiquidadasENTITY.prototype, "NroDocumento", 2);
|
|
1886
|
+
__decorateClass([
|
|
1887
|
+
Expose31(),
|
|
1888
|
+
IsEnum(["", "APROBADO", "VALIDADO", "INACTIVO_INCONCLUSO", "SOLICITADO"], { message: "debe ser APROBADO, VALIDADO, INACTIVO_INCONCLUSO o SOLICITADO" }),
|
|
1889
|
+
IsNotEmpty31({ message: "es requerido" })
|
|
1890
|
+
], AtencionOrdenesLiquidadasENTITY.prototype, "EstadoNroDocumento", 2);
|
|
1884
1891
|
__decorateClass([
|
|
1885
1892
|
Expose31(),
|
|
1886
1893
|
IsDate13({ message: "debe ser una fecha" }),
|
|
@@ -1891,6 +1898,11 @@ __decorateClass([
|
|
|
1891
1898
|
IsEnum(["PENDIENTE", "ATENDIDO"], { message: "debe ser PENDIENTE o ATENDIDO" }),
|
|
1892
1899
|
IsNotEmpty31({ message: "es requerido" })
|
|
1893
1900
|
], AtencionOrdenesLiquidadasENTITY.prototype, "Estado", 2);
|
|
1901
|
+
__decorateClass([
|
|
1902
|
+
Expose31(),
|
|
1903
|
+
IsEnum(["TOA", "TOA PEX"], { message: "debe ser TOA o TOA PEX" }),
|
|
1904
|
+
IsNotEmpty31({ message: "es requerido" })
|
|
1905
|
+
], AtencionOrdenesLiquidadasENTITY.prototype, "Fuente", 2);
|
|
1894
1906
|
export {
|
|
1895
1907
|
AtencionOrdenesLiquidadasENTITY,
|
|
1896
1908
|
ConsumoMaterialChile9512ENTITY,
|