sigo-entities 0.0.136 → 0.0.138
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/README.md +4 -4
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +93 -94
- package/dist/index.mjs +93 -94
- package/package.json +27 -27
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# sigo-entities
|
|
2
|
-
Desarrollo de modelos de datos SIGO
|
|
3
|
-
npm i sigo-entities@latest
|
|
4
|
-
## Test
|
|
1
|
+
# sigo-entities
|
|
2
|
+
Desarrollo de modelos de datos SIGO
|
|
3
|
+
npm i sigo-entities@latest
|
|
4
|
+
## Test
|
package/dist/index.d.mts
CHANGED
|
@@ -260,6 +260,18 @@ declare class SizeDTO {
|
|
|
260
260
|
UM: string;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
declare class FlujoDocDTO {
|
|
264
|
+
Action: string;
|
|
265
|
+
Fecha: Date;
|
|
266
|
+
Coordenadas: UsuarioDTO;
|
|
267
|
+
Description: string;
|
|
268
|
+
Posicion: string;
|
|
269
|
+
Icono: string;
|
|
270
|
+
ColorIcono: string;
|
|
271
|
+
TagPagina: string[];
|
|
272
|
+
Visible: boolean;
|
|
273
|
+
}
|
|
274
|
+
|
|
263
275
|
declare class FilesDocDTO {
|
|
264
276
|
Posicion: string;
|
|
265
277
|
Filename: string;
|
|
@@ -271,23 +283,11 @@ declare class FilesDocDTO {
|
|
|
271
283
|
Observacion: string;
|
|
272
284
|
Coordenadas: CoordenadasDTO;
|
|
273
285
|
Fecha_Archivo: Date;
|
|
274
|
-
Ultimo_Flujo:
|
|
275
|
-
Flujos:
|
|
286
|
+
Ultimo_Flujo: FlujoDocDTO;
|
|
287
|
+
Flujos: FlujoDocDTO[];
|
|
276
288
|
Estado: EstadoDTO;
|
|
277
289
|
}
|
|
278
290
|
|
|
279
|
-
declare class FlujoDocDTO {
|
|
280
|
-
Action: string;
|
|
281
|
-
Fecha: Date;
|
|
282
|
-
Coordenadas: UsuarioDTO;
|
|
283
|
-
Description: string;
|
|
284
|
-
Posicion: string;
|
|
285
|
-
Icono: string;
|
|
286
|
-
ColorIcono: string;
|
|
287
|
-
TagPagina: string[];
|
|
288
|
-
Visible: boolean;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
291
|
declare class FotoDTO {
|
|
292
292
|
Coordenadas: CoordenadasDTO;
|
|
293
293
|
Estado: EstadoDTO;
|
package/dist/index.d.ts
CHANGED
|
@@ -260,6 +260,18 @@ declare class SizeDTO {
|
|
|
260
260
|
UM: string;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
declare class FlujoDocDTO {
|
|
264
|
+
Action: string;
|
|
265
|
+
Fecha: Date;
|
|
266
|
+
Coordenadas: UsuarioDTO;
|
|
267
|
+
Description: string;
|
|
268
|
+
Posicion: string;
|
|
269
|
+
Icono: string;
|
|
270
|
+
ColorIcono: string;
|
|
271
|
+
TagPagina: string[];
|
|
272
|
+
Visible: boolean;
|
|
273
|
+
}
|
|
274
|
+
|
|
263
275
|
declare class FilesDocDTO {
|
|
264
276
|
Posicion: string;
|
|
265
277
|
Filename: string;
|
|
@@ -271,23 +283,11 @@ declare class FilesDocDTO {
|
|
|
271
283
|
Observacion: string;
|
|
272
284
|
Coordenadas: CoordenadasDTO;
|
|
273
285
|
Fecha_Archivo: Date;
|
|
274
|
-
Ultimo_Flujo:
|
|
275
|
-
Flujos:
|
|
286
|
+
Ultimo_Flujo: FlujoDocDTO;
|
|
287
|
+
Flujos: FlujoDocDTO[];
|
|
276
288
|
Estado: EstadoDTO;
|
|
277
289
|
}
|
|
278
290
|
|
|
279
|
-
declare class FlujoDocDTO {
|
|
280
|
-
Action: string;
|
|
281
|
-
Fecha: Date;
|
|
282
|
-
Coordenadas: UsuarioDTO;
|
|
283
|
-
Description: string;
|
|
284
|
-
Posicion: string;
|
|
285
|
-
Icono: string;
|
|
286
|
-
ColorIcono: string;
|
|
287
|
-
TagPagina: string[];
|
|
288
|
-
Visible: boolean;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
291
|
declare class FotoDTO {
|
|
292
292
|
Coordenadas: CoordenadasDTO;
|
|
293
293
|
Estado: EstadoDTO;
|
package/dist/index.js
CHANGED
|
@@ -1522,8 +1522,8 @@ __decorateClass([
|
|
|
1522
1522
|
], FechaDTO.prototype, "Anulacion", 2);
|
|
1523
1523
|
|
|
1524
1524
|
// src/shared/dto/files-doc-dto.ts
|
|
1525
|
-
var
|
|
1526
|
-
var
|
|
1525
|
+
var import_class_transformer37 = require("class-transformer");
|
|
1526
|
+
var import_class_validator37 = require("class-validator");
|
|
1527
1527
|
|
|
1528
1528
|
// src/shared/dto/size-dto.ts
|
|
1529
1529
|
var import_class_transformer35 = require("class-transformer");
|
|
@@ -1544,168 +1544,167 @@ __decorateClass([
|
|
|
1544
1544
|
(0, import_class_transformer35.Expose)()
|
|
1545
1545
|
], SizeDTO.prototype, "UM", 2);
|
|
1546
1546
|
|
|
1547
|
-
// src/shared/dto/
|
|
1548
|
-
var
|
|
1547
|
+
// src/shared/dto/flujo-doc-dto.ts
|
|
1548
|
+
var import_class_transformer36 = require("class-transformer");
|
|
1549
|
+
var import_class_validator36 = require("class-validator");
|
|
1550
|
+
var FlujoDocDTO = class {
|
|
1551
|
+
Action = "";
|
|
1552
|
+
Fecha = /* @__PURE__ */ new Date();
|
|
1553
|
+
Coordenadas = new UsuarioDTO();
|
|
1554
|
+
Description = "";
|
|
1549
1555
|
Posicion = "";
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
Size = new SizeDTO();
|
|
1555
|
-
Ruta = "";
|
|
1556
|
-
Observacion = "";
|
|
1557
|
-
Coordenadas = new CoordenadasDTO();
|
|
1558
|
-
Fecha_Archivo = /* @__PURE__ */ new Date();
|
|
1559
|
-
Ultimo_Flujo = new _FilesDocDTO();
|
|
1560
|
-
Flujos = [];
|
|
1561
|
-
Estado = new EstadoDTO();
|
|
1556
|
+
Icono = "";
|
|
1557
|
+
ColorIcono = "";
|
|
1558
|
+
TagPagina = [];
|
|
1559
|
+
Visible = false;
|
|
1562
1560
|
};
|
|
1563
1561
|
__decorateClass([
|
|
1564
1562
|
(0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
|
|
1565
1563
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1566
1564
|
(0, import_class_validator36.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1567
1565
|
(0, import_class_transformer36.Expose)()
|
|
1568
|
-
],
|
|
1566
|
+
], FlujoDocDTO.prototype, "Action", 2);
|
|
1569
1567
|
__decorateClass([
|
|
1570
|
-
(0, import_class_validator36.
|
|
1568
|
+
(0, import_class_validator36.IsDate)({ message: "debe ser una fecha" }),
|
|
1571
1569
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1572
|
-
(0, import_class_validator36.Length)(1, 500, { message: "debe tener entre 1 y 500 caracteres" }),
|
|
1573
1570
|
(0, import_class_transformer36.Expose)()
|
|
1574
|
-
],
|
|
1571
|
+
], FlujoDocDTO.prototype, "Fecha", 2);
|
|
1575
1572
|
__decorateClass([
|
|
1576
|
-
(0,
|
|
1573
|
+
(0, import_class_transformer36.Type)(() => UsuarioDTO),
|
|
1577
1574
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1578
|
-
(0,
|
|
1579
|
-
(0,
|
|
1580
|
-
],
|
|
1575
|
+
(0, import_class_transformer36.Expose)(),
|
|
1576
|
+
(0, import_class_validator36.ValidateNested)()
|
|
1577
|
+
], FlujoDocDTO.prototype, "Coordenadas", 2);
|
|
1581
1578
|
__decorateClass([
|
|
1582
1579
|
(0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
|
|
1583
1580
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1584
1581
|
(0, import_class_validator36.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1585
1582
|
(0, import_class_transformer36.Expose)()
|
|
1586
|
-
],
|
|
1583
|
+
], FlujoDocDTO.prototype, "Description", 2);
|
|
1587
1584
|
__decorateClass([
|
|
1588
1585
|
(0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
|
|
1589
1586
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1590
1587
|
(0, import_class_validator36.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1591
1588
|
(0, import_class_transformer36.Expose)()
|
|
1592
|
-
],
|
|
1593
|
-
__decorateClass([
|
|
1594
|
-
(0, import_class_transformer36.Type)(() => SizeDTO),
|
|
1595
|
-
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1596
|
-
(0, import_class_transformer36.Expose)(),
|
|
1597
|
-
(0, import_class_validator36.ValidateNested)()
|
|
1598
|
-
], _FilesDocDTO.prototype, "Size", 2);
|
|
1589
|
+
], FlujoDocDTO.prototype, "Posicion", 2);
|
|
1599
1590
|
__decorateClass([
|
|
1600
1591
|
(0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
|
|
1601
1592
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1602
1593
|
(0, import_class_validator36.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1603
1594
|
(0, import_class_transformer36.Expose)()
|
|
1604
|
-
],
|
|
1595
|
+
], FlujoDocDTO.prototype, "Icono", 2);
|
|
1605
1596
|
__decorateClass([
|
|
1606
1597
|
(0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
|
|
1607
1598
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1608
|
-
(0, import_class_validator36.Length)(1,
|
|
1609
|
-
(0, import_class_transformer36.Expose)()
|
|
1610
|
-
], _FilesDocDTO.prototype, "Observacion", 2);
|
|
1611
|
-
__decorateClass([
|
|
1612
|
-
(0, import_class_transformer36.Type)(() => CoordenadasDTO),
|
|
1613
|
-
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1614
|
-
(0, import_class_transformer36.Expose)(),
|
|
1615
|
-
(0, import_class_validator36.ValidateNested)()
|
|
1616
|
-
], _FilesDocDTO.prototype, "Coordenadas", 2);
|
|
1617
|
-
__decorateClass([
|
|
1618
|
-
(0, import_class_validator36.IsDate)({ message: "debe ser una fecha" }),
|
|
1619
|
-
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1599
|
+
(0, import_class_validator36.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
1620
1600
|
(0, import_class_transformer36.Expose)()
|
|
1621
|
-
],
|
|
1622
|
-
__decorateClass([
|
|
1623
|
-
(0, import_class_transformer36.Type)(() => _FilesDocDTO),
|
|
1624
|
-
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1625
|
-
(0, import_class_transformer36.Expose)(),
|
|
1626
|
-
(0, import_class_validator36.ValidateNested)()
|
|
1627
|
-
], _FilesDocDTO.prototype, "Ultimo_Flujo", 2);
|
|
1601
|
+
], FlujoDocDTO.prototype, "ColorIcono", 2);
|
|
1628
1602
|
__decorateClass([
|
|
1629
|
-
(0, import_class_transformer36.Type)(() => _FilesDocDTO),
|
|
1630
|
-
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1631
1603
|
(0, import_class_validator36.IsArray)(),
|
|
1632
|
-
(0,
|
|
1633
|
-
(0, import_class_validator36.
|
|
1634
|
-
|
|
1604
|
+
(0, import_class_validator36.IsString)({ each: true }),
|
|
1605
|
+
(0, import_class_validator36.IsNotEmpty)({ each: true, message: "cada tag es requerido" }),
|
|
1606
|
+
(0, import_class_transformer36.Expose)()
|
|
1607
|
+
], FlujoDocDTO.prototype, "TagPagina", 2);
|
|
1635
1608
|
__decorateClass([
|
|
1636
|
-
(0,
|
|
1609
|
+
(0, import_class_validator36.IsBoolean)({ message: "debe ser un booleano" }),
|
|
1637
1610
|
(0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
|
|
1638
|
-
(0, import_class_transformer36.Expose)()
|
|
1639
|
-
|
|
1640
|
-
], _FilesDocDTO.prototype, "Estado", 2);
|
|
1641
|
-
var FilesDocDTO = _FilesDocDTO;
|
|
1611
|
+
(0, import_class_transformer36.Expose)()
|
|
1612
|
+
], FlujoDocDTO.prototype, "Visible", 2);
|
|
1642
1613
|
|
|
1643
|
-
// src/shared/dto/
|
|
1644
|
-
var
|
|
1645
|
-
var import_class_validator37 = require("class-validator");
|
|
1646
|
-
var FlujoDocDTO = class {
|
|
1647
|
-
Action = "";
|
|
1648
|
-
Fecha = /* @__PURE__ */ new Date();
|
|
1649
|
-
Coordenadas = new UsuarioDTO();
|
|
1650
|
-
Description = "";
|
|
1614
|
+
// src/shared/dto/files-doc-dto.ts
|
|
1615
|
+
var FilesDocDTO = class {
|
|
1651
1616
|
Posicion = "";
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1617
|
+
Filename = "";
|
|
1618
|
+
Extension = "";
|
|
1619
|
+
CodigoNodo = "";
|
|
1620
|
+
NameOriginal = "";
|
|
1621
|
+
Size = new SizeDTO();
|
|
1622
|
+
Ruta = "";
|
|
1623
|
+
Observacion = "";
|
|
1624
|
+
Coordenadas = new CoordenadasDTO();
|
|
1625
|
+
Fecha_Archivo = /* @__PURE__ */ new Date();
|
|
1626
|
+
Ultimo_Flujo = new FlujoDocDTO();
|
|
1627
|
+
Flujos = [];
|
|
1628
|
+
Estado = new EstadoDTO();
|
|
1656
1629
|
};
|
|
1657
1630
|
__decorateClass([
|
|
1658
1631
|
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1659
1632
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1660
1633
|
(0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1661
1634
|
(0, import_class_transformer37.Expose)()
|
|
1662
|
-
],
|
|
1635
|
+
], FilesDocDTO.prototype, "Posicion", 2);
|
|
1663
1636
|
__decorateClass([
|
|
1664
|
-
(0, import_class_validator37.
|
|
1637
|
+
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1665
1638
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1639
|
+
(0, import_class_validator37.Length)(1, 500, { message: "debe tener entre 1 y 500 caracteres" }),
|
|
1666
1640
|
(0, import_class_transformer37.Expose)()
|
|
1667
|
-
],
|
|
1641
|
+
], FilesDocDTO.prototype, "Filename", 2);
|
|
1668
1642
|
__decorateClass([
|
|
1669
|
-
(0,
|
|
1643
|
+
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1670
1644
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1671
|
-
(0,
|
|
1672
|
-
(0,
|
|
1673
|
-
],
|
|
1645
|
+
(0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1646
|
+
(0, import_class_transformer37.Expose)()
|
|
1647
|
+
], FilesDocDTO.prototype, "Extension", 2);
|
|
1674
1648
|
__decorateClass([
|
|
1675
1649
|
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1676
1650
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1677
1651
|
(0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1678
1652
|
(0, import_class_transformer37.Expose)()
|
|
1679
|
-
],
|
|
1653
|
+
], FilesDocDTO.prototype, "CodigoNodo", 2);
|
|
1680
1654
|
__decorateClass([
|
|
1681
1655
|
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1682
1656
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1683
1657
|
(0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1684
1658
|
(0, import_class_transformer37.Expose)()
|
|
1685
|
-
],
|
|
1659
|
+
], FilesDocDTO.prototype, "NameOriginal", 2);
|
|
1660
|
+
__decorateClass([
|
|
1661
|
+
(0, import_class_transformer37.Type)(() => SizeDTO),
|
|
1662
|
+
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1663
|
+
(0, import_class_transformer37.Expose)(),
|
|
1664
|
+
(0, import_class_validator37.ValidateNested)()
|
|
1665
|
+
], FilesDocDTO.prototype, "Size", 2);
|
|
1686
1666
|
__decorateClass([
|
|
1687
1667
|
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1688
1668
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1689
1669
|
(0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1690
1670
|
(0, import_class_transformer37.Expose)()
|
|
1691
|
-
],
|
|
1671
|
+
], FilesDocDTO.prototype, "Ruta", 2);
|
|
1692
1672
|
__decorateClass([
|
|
1693
1673
|
(0, import_class_validator37.IsString)({ message: "debe ser un texto" }),
|
|
1694
1674
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1695
|
-
(0, import_class_validator37.Length)(1,
|
|
1675
|
+
(0, import_class_validator37.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1696
1676
|
(0, import_class_transformer37.Expose)()
|
|
1697
|
-
],
|
|
1677
|
+
], FilesDocDTO.prototype, "Observacion", 2);
|
|
1698
1678
|
__decorateClass([
|
|
1699
|
-
(0,
|
|
1700
|
-
(0, import_class_validator37.
|
|
1701
|
-
(0,
|
|
1702
|
-
(0,
|
|
1703
|
-
],
|
|
1679
|
+
(0, import_class_transformer37.Type)(() => CoordenadasDTO),
|
|
1680
|
+
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1681
|
+
(0, import_class_transformer37.Expose)(),
|
|
1682
|
+
(0, import_class_validator37.ValidateNested)()
|
|
1683
|
+
], FilesDocDTO.prototype, "Coordenadas", 2);
|
|
1704
1684
|
__decorateClass([
|
|
1705
|
-
(0, import_class_validator37.
|
|
1685
|
+
(0, import_class_validator37.IsDate)({ message: "debe ser una fecha" }),
|
|
1706
1686
|
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1707
1687
|
(0, import_class_transformer37.Expose)()
|
|
1708
|
-
],
|
|
1688
|
+
], FilesDocDTO.prototype, "Fecha_Archivo", 2);
|
|
1689
|
+
__decorateClass([
|
|
1690
|
+
(0, import_class_transformer37.Type)(() => FlujoDocDTO),
|
|
1691
|
+
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1692
|
+
(0, import_class_transformer37.Expose)(),
|
|
1693
|
+
(0, import_class_validator37.ValidateNested)()
|
|
1694
|
+
], FilesDocDTO.prototype, "Ultimo_Flujo", 2);
|
|
1695
|
+
__decorateClass([
|
|
1696
|
+
(0, import_class_transformer37.Type)(() => FlujoDocDTO),
|
|
1697
|
+
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1698
|
+
(0, import_class_validator37.IsArray)(),
|
|
1699
|
+
(0, import_class_transformer37.Expose)(),
|
|
1700
|
+
(0, import_class_validator37.ValidateNested)({ each: true })
|
|
1701
|
+
], FilesDocDTO.prototype, "Flujos", 2);
|
|
1702
|
+
__decorateClass([
|
|
1703
|
+
(0, import_class_transformer37.Type)(() => EstadoDTO),
|
|
1704
|
+
(0, import_class_validator37.IsNotEmpty)({ message: "es requerido" }),
|
|
1705
|
+
(0, import_class_transformer37.Expose)(),
|
|
1706
|
+
(0, import_class_validator37.ValidateNested)()
|
|
1707
|
+
], FilesDocDTO.prototype, "Estado", 2);
|
|
1709
1708
|
|
|
1710
1709
|
// src/shared/dto/foto-dto.ts
|
|
1711
1710
|
var import_class_transformer38 = require("class-transformer");
|
|
@@ -6544,7 +6543,7 @@ var CambiosEstadosFaseLiberacionPagosDTO = class {
|
|
|
6544
6543
|
};
|
|
6545
6544
|
__decorateClass([
|
|
6546
6545
|
(0, import_class_validator115.IsString)({ message: "debe ser un texto" }),
|
|
6547
|
-
(0, import_class_validator115.Length)(0,
|
|
6546
|
+
(0, import_class_validator115.Length)(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
6548
6547
|
(0, import_class_transformer115.Expose)()
|
|
6549
6548
|
], CambiosEstadosFaseLiberacionPagosDTO.prototype, "NroDocumento", 2);
|
|
6550
6549
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -1320,8 +1320,8 @@ __decorateClass([
|
|
|
1320
1320
|
], FechaDTO.prototype, "Anulacion", 2);
|
|
1321
1321
|
|
|
1322
1322
|
// src/shared/dto/files-doc-dto.ts
|
|
1323
|
-
import { Expose as
|
|
1324
|
-
import { IsArray as
|
|
1323
|
+
import { Expose as Expose36, Type as Type16 } from "class-transformer";
|
|
1324
|
+
import { IsArray as IsArray4, IsDate as IsDate10, IsNotEmpty as IsNotEmpty36, IsString as IsString32, Length as Length32, ValidateNested as ValidateNested14 } from "class-validator";
|
|
1325
1325
|
|
|
1326
1326
|
// src/shared/dto/size-dto.ts
|
|
1327
1327
|
import { Expose as Expose34 } from "class-transformer";
|
|
@@ -1342,168 +1342,167 @@ __decorateClass([
|
|
|
1342
1342
|
Expose34()
|
|
1343
1343
|
], SizeDTO.prototype, "UM", 2);
|
|
1344
1344
|
|
|
1345
|
-
// src/shared/dto/
|
|
1346
|
-
|
|
1345
|
+
// src/shared/dto/flujo-doc-dto.ts
|
|
1346
|
+
import { Expose as Expose35, Type as Type15 } from "class-transformer";
|
|
1347
|
+
import { IsArray as IsArray3, IsBoolean as IsBoolean3, IsDate as IsDate9, IsNotEmpty as IsNotEmpty35, IsString as IsString31, Length as Length31, ValidateNested as ValidateNested13 } from "class-validator";
|
|
1348
|
+
var FlujoDocDTO = class {
|
|
1349
|
+
Action = "";
|
|
1350
|
+
Fecha = /* @__PURE__ */ new Date();
|
|
1351
|
+
Coordenadas = new UsuarioDTO();
|
|
1352
|
+
Description = "";
|
|
1347
1353
|
Posicion = "";
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
Size = new SizeDTO();
|
|
1353
|
-
Ruta = "";
|
|
1354
|
-
Observacion = "";
|
|
1355
|
-
Coordenadas = new CoordenadasDTO();
|
|
1356
|
-
Fecha_Archivo = /* @__PURE__ */ new Date();
|
|
1357
|
-
Ultimo_Flujo = new _FilesDocDTO();
|
|
1358
|
-
Flujos = [];
|
|
1359
|
-
Estado = new EstadoDTO();
|
|
1354
|
+
Icono = "";
|
|
1355
|
+
ColorIcono = "";
|
|
1356
|
+
TagPagina = [];
|
|
1357
|
+
Visible = false;
|
|
1360
1358
|
};
|
|
1361
1359
|
__decorateClass([
|
|
1362
1360
|
IsString31({ message: "debe ser un texto" }),
|
|
1363
1361
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1364
1362
|
Length31(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1365
1363
|
Expose35()
|
|
1366
|
-
],
|
|
1364
|
+
], FlujoDocDTO.prototype, "Action", 2);
|
|
1367
1365
|
__decorateClass([
|
|
1368
|
-
|
|
1366
|
+
IsDate9({ message: "debe ser una fecha" }),
|
|
1369
1367
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1370
|
-
Length31(1, 500, { message: "debe tener entre 1 y 500 caracteres" }),
|
|
1371
1368
|
Expose35()
|
|
1372
|
-
],
|
|
1369
|
+
], FlujoDocDTO.prototype, "Fecha", 2);
|
|
1373
1370
|
__decorateClass([
|
|
1374
|
-
|
|
1371
|
+
Type15(() => UsuarioDTO),
|
|
1375
1372
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
],
|
|
1373
|
+
Expose35(),
|
|
1374
|
+
ValidateNested13()
|
|
1375
|
+
], FlujoDocDTO.prototype, "Coordenadas", 2);
|
|
1379
1376
|
__decorateClass([
|
|
1380
1377
|
IsString31({ message: "debe ser un texto" }),
|
|
1381
1378
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1382
1379
|
Length31(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1383
1380
|
Expose35()
|
|
1384
|
-
],
|
|
1381
|
+
], FlujoDocDTO.prototype, "Description", 2);
|
|
1385
1382
|
__decorateClass([
|
|
1386
1383
|
IsString31({ message: "debe ser un texto" }),
|
|
1387
1384
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1388
1385
|
Length31(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1389
1386
|
Expose35()
|
|
1390
|
-
],
|
|
1391
|
-
__decorateClass([
|
|
1392
|
-
Type15(() => SizeDTO),
|
|
1393
|
-
IsNotEmpty35({ message: "es requerido" }),
|
|
1394
|
-
Expose35(),
|
|
1395
|
-
ValidateNested13()
|
|
1396
|
-
], _FilesDocDTO.prototype, "Size", 2);
|
|
1387
|
+
], FlujoDocDTO.prototype, "Posicion", 2);
|
|
1397
1388
|
__decorateClass([
|
|
1398
1389
|
IsString31({ message: "debe ser un texto" }),
|
|
1399
1390
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1400
1391
|
Length31(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1401
1392
|
Expose35()
|
|
1402
|
-
],
|
|
1393
|
+
], FlujoDocDTO.prototype, "Icono", 2);
|
|
1403
1394
|
__decorateClass([
|
|
1404
1395
|
IsString31({ message: "debe ser un texto" }),
|
|
1405
1396
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1406
|
-
Length31(1,
|
|
1407
|
-
Expose35()
|
|
1408
|
-
], _FilesDocDTO.prototype, "Observacion", 2);
|
|
1409
|
-
__decorateClass([
|
|
1410
|
-
Type15(() => CoordenadasDTO),
|
|
1411
|
-
IsNotEmpty35({ message: "es requerido" }),
|
|
1412
|
-
Expose35(),
|
|
1413
|
-
ValidateNested13()
|
|
1414
|
-
], _FilesDocDTO.prototype, "Coordenadas", 2);
|
|
1415
|
-
__decorateClass([
|
|
1416
|
-
IsDate9({ message: "debe ser una fecha" }),
|
|
1417
|
-
IsNotEmpty35({ message: "es requerido" }),
|
|
1397
|
+
Length31(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
1418
1398
|
Expose35()
|
|
1419
|
-
],
|
|
1420
|
-
__decorateClass([
|
|
1421
|
-
Type15(() => _FilesDocDTO),
|
|
1422
|
-
IsNotEmpty35({ message: "es requerido" }),
|
|
1423
|
-
Expose35(),
|
|
1424
|
-
ValidateNested13()
|
|
1425
|
-
], _FilesDocDTO.prototype, "Ultimo_Flujo", 2);
|
|
1399
|
+
], FlujoDocDTO.prototype, "ColorIcono", 2);
|
|
1426
1400
|
__decorateClass([
|
|
1427
|
-
Type15(() => _FilesDocDTO),
|
|
1428
|
-
IsNotEmpty35({ message: "es requerido" }),
|
|
1429
1401
|
IsArray3(),
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1402
|
+
IsString31({ each: true }),
|
|
1403
|
+
IsNotEmpty35({ each: true, message: "cada tag es requerido" }),
|
|
1404
|
+
Expose35()
|
|
1405
|
+
], FlujoDocDTO.prototype, "TagPagina", 2);
|
|
1433
1406
|
__decorateClass([
|
|
1434
|
-
|
|
1407
|
+
IsBoolean3({ message: "debe ser un booleano" }),
|
|
1435
1408
|
IsNotEmpty35({ message: "es requerido" }),
|
|
1436
|
-
Expose35()
|
|
1437
|
-
|
|
1438
|
-
], _FilesDocDTO.prototype, "Estado", 2);
|
|
1439
|
-
var FilesDocDTO = _FilesDocDTO;
|
|
1409
|
+
Expose35()
|
|
1410
|
+
], FlujoDocDTO.prototype, "Visible", 2);
|
|
1440
1411
|
|
|
1441
|
-
// src/shared/dto/
|
|
1442
|
-
|
|
1443
|
-
import { IsArray as IsArray4, IsBoolean as IsBoolean3, IsDate as IsDate10, IsNotEmpty as IsNotEmpty36, IsString as IsString32, Length as Length32, ValidateNested as ValidateNested14 } from "class-validator";
|
|
1444
|
-
var FlujoDocDTO = class {
|
|
1445
|
-
Action = "";
|
|
1446
|
-
Fecha = /* @__PURE__ */ new Date();
|
|
1447
|
-
Coordenadas = new UsuarioDTO();
|
|
1448
|
-
Description = "";
|
|
1412
|
+
// src/shared/dto/files-doc-dto.ts
|
|
1413
|
+
var FilesDocDTO = class {
|
|
1449
1414
|
Posicion = "";
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1415
|
+
Filename = "";
|
|
1416
|
+
Extension = "";
|
|
1417
|
+
CodigoNodo = "";
|
|
1418
|
+
NameOriginal = "";
|
|
1419
|
+
Size = new SizeDTO();
|
|
1420
|
+
Ruta = "";
|
|
1421
|
+
Observacion = "";
|
|
1422
|
+
Coordenadas = new CoordenadasDTO();
|
|
1423
|
+
Fecha_Archivo = /* @__PURE__ */ new Date();
|
|
1424
|
+
Ultimo_Flujo = new FlujoDocDTO();
|
|
1425
|
+
Flujos = [];
|
|
1426
|
+
Estado = new EstadoDTO();
|
|
1454
1427
|
};
|
|
1455
1428
|
__decorateClass([
|
|
1456
1429
|
IsString32({ message: "debe ser un texto" }),
|
|
1457
1430
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1458
1431
|
Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1459
1432
|
Expose36()
|
|
1460
|
-
],
|
|
1433
|
+
], FilesDocDTO.prototype, "Posicion", 2);
|
|
1461
1434
|
__decorateClass([
|
|
1462
|
-
|
|
1435
|
+
IsString32({ message: "debe ser un texto" }),
|
|
1463
1436
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1437
|
+
Length32(1, 500, { message: "debe tener entre 1 y 500 caracteres" }),
|
|
1464
1438
|
Expose36()
|
|
1465
|
-
],
|
|
1439
|
+
], FilesDocDTO.prototype, "Filename", 2);
|
|
1466
1440
|
__decorateClass([
|
|
1467
|
-
|
|
1441
|
+
IsString32({ message: "debe ser un texto" }),
|
|
1468
1442
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
],
|
|
1443
|
+
Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1444
|
+
Expose36()
|
|
1445
|
+
], FilesDocDTO.prototype, "Extension", 2);
|
|
1472
1446
|
__decorateClass([
|
|
1473
1447
|
IsString32({ message: "debe ser un texto" }),
|
|
1474
1448
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1475
1449
|
Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1476
1450
|
Expose36()
|
|
1477
|
-
],
|
|
1451
|
+
], FilesDocDTO.prototype, "CodigoNodo", 2);
|
|
1478
1452
|
__decorateClass([
|
|
1479
1453
|
IsString32({ message: "debe ser un texto" }),
|
|
1480
1454
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1481
1455
|
Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1482
1456
|
Expose36()
|
|
1483
|
-
],
|
|
1457
|
+
], FilesDocDTO.prototype, "NameOriginal", 2);
|
|
1458
|
+
__decorateClass([
|
|
1459
|
+
Type16(() => SizeDTO),
|
|
1460
|
+
IsNotEmpty36({ message: "es requerido" }),
|
|
1461
|
+
Expose36(),
|
|
1462
|
+
ValidateNested14()
|
|
1463
|
+
], FilesDocDTO.prototype, "Size", 2);
|
|
1484
1464
|
__decorateClass([
|
|
1485
1465
|
IsString32({ message: "debe ser un texto" }),
|
|
1486
1466
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1487
1467
|
Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1488
1468
|
Expose36()
|
|
1489
|
-
],
|
|
1469
|
+
], FilesDocDTO.prototype, "Ruta", 2);
|
|
1490
1470
|
__decorateClass([
|
|
1491
1471
|
IsString32({ message: "debe ser un texto" }),
|
|
1492
1472
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1493
|
-
Length32(1,
|
|
1473
|
+
Length32(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
1494
1474
|
Expose36()
|
|
1495
|
-
],
|
|
1475
|
+
], FilesDocDTO.prototype, "Observacion", 2);
|
|
1496
1476
|
__decorateClass([
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
],
|
|
1477
|
+
Type16(() => CoordenadasDTO),
|
|
1478
|
+
IsNotEmpty36({ message: "es requerido" }),
|
|
1479
|
+
Expose36(),
|
|
1480
|
+
ValidateNested14()
|
|
1481
|
+
], FilesDocDTO.prototype, "Coordenadas", 2);
|
|
1502
1482
|
__decorateClass([
|
|
1503
|
-
|
|
1483
|
+
IsDate10({ message: "debe ser una fecha" }),
|
|
1504
1484
|
IsNotEmpty36({ message: "es requerido" }),
|
|
1505
1485
|
Expose36()
|
|
1506
|
-
],
|
|
1486
|
+
], FilesDocDTO.prototype, "Fecha_Archivo", 2);
|
|
1487
|
+
__decorateClass([
|
|
1488
|
+
Type16(() => FlujoDocDTO),
|
|
1489
|
+
IsNotEmpty36({ message: "es requerido" }),
|
|
1490
|
+
Expose36(),
|
|
1491
|
+
ValidateNested14()
|
|
1492
|
+
], FilesDocDTO.prototype, "Ultimo_Flujo", 2);
|
|
1493
|
+
__decorateClass([
|
|
1494
|
+
Type16(() => FlujoDocDTO),
|
|
1495
|
+
IsNotEmpty36({ message: "es requerido" }),
|
|
1496
|
+
IsArray4(),
|
|
1497
|
+
Expose36(),
|
|
1498
|
+
ValidateNested14({ each: true })
|
|
1499
|
+
], FilesDocDTO.prototype, "Flujos", 2);
|
|
1500
|
+
__decorateClass([
|
|
1501
|
+
Type16(() => EstadoDTO),
|
|
1502
|
+
IsNotEmpty36({ message: "es requerido" }),
|
|
1503
|
+
Expose36(),
|
|
1504
|
+
ValidateNested14()
|
|
1505
|
+
], FilesDocDTO.prototype, "Estado", 2);
|
|
1507
1506
|
|
|
1508
1507
|
// src/shared/dto/foto-dto.ts
|
|
1509
1508
|
import { Expose as Expose37, Type as Type17 } from "class-transformer";
|
|
@@ -6342,7 +6341,7 @@ var CambiosEstadosFaseLiberacionPagosDTO = class {
|
|
|
6342
6341
|
};
|
|
6343
6342
|
__decorateClass([
|
|
6344
6343
|
IsString99({ message: "debe ser un texto" }),
|
|
6345
|
-
Length96(0,
|
|
6344
|
+
Length96(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
6346
6345
|
Expose114()
|
|
6347
6346
|
], CambiosEstadosFaseLiberacionPagosDTO.prototype, "NroDocumento", 2);
|
|
6348
6347
|
__decorateClass([
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sigo-entities",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Desarrollo de modelos de datos SIGO",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsup",
|
|
10
|
-
"prepare": "npm run build"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [],
|
|
17
|
-
"author": "usuario088",
|
|
18
|
-
"license": "ISC",
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"tsup": "^8.1.0",
|
|
21
|
-
"typescript": "^5.4.5"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"class-transformer": "^0.5.1",
|
|
25
|
-
"class-validator": "^0.14.1"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sigo-entities",
|
|
3
|
+
"version": "0.0.138",
|
|
4
|
+
"description": "Desarrollo de modelos de datos SIGO",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsup",
|
|
10
|
+
"prepare": "npm run build"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [],
|
|
17
|
+
"author": "usuario088",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"tsup": "^8.1.0",
|
|
21
|
+
"typescript": "^5.4.5"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"class-transformer": "^0.5.1",
|
|
25
|
+
"class-validator": "^0.14.1"
|
|
26
|
+
}
|
|
27
|
+
}
|