sigo-package 1.2.146 → 1.2.148
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 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as sigo_entities from 'sigo-entities';
|
|
2
2
|
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, CodigoNombreUMDTO, PrecioContratistaMOAL04ENTITY, ManoObraGlobalENTITY, ValorizacionManoObraDTO, PrecioContratistaMOAL02ENTITY, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, TrabajoAlemaniaENTITY, ValorizacionAlemaniaDTO, ValorizacionDTO, StockPersonalENTITY, StockAlmacenENTITY, ConsumoMaterialAlemaniaENTITY, ValorizacionesDTO, PrecioContratistaMaterialENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY, DetalleChileValorizacionMODTO, PrecioMaterialENTITY, CodigoNombreDTO, SystemOptionEntity, MenuDto } from 'sigo-entities';
|
|
3
3
|
import { ClassConstructor } from 'class-transformer';
|
|
4
|
-
import { TFunction } from 'i18next';
|
|
5
4
|
import { Request, Response, NextFunction } from 'express';
|
|
6
5
|
|
|
7
6
|
interface IenvSIGO$1 {
|
|
@@ -775,6 +774,8 @@ declare const collections: Readonly<{
|
|
|
775
774
|
PERU_9112_MiFibraOrderStock: "PERU_9112_MiFibraOrderStock";
|
|
776
775
|
PERU_9112_BantelOrder: "PERU_9112_BantelOrder";
|
|
777
776
|
PERU_9112_BantelOrderStock: "PERU_9112_BantelOrderStock";
|
|
777
|
+
PERU_9112_ClaroOrder: "PERU_9112_ClaroOrder";
|
|
778
|
+
PERU_9112_ClaroOrderStock: "PERU_9112_ClaroOrderStock";
|
|
778
779
|
user: "users";
|
|
779
780
|
systemOption: "systemOptions";
|
|
780
781
|
profile: "profiles";
|
|
@@ -816,7 +817,8 @@ declare function builSystemOption(params: IParams): Promise<{
|
|
|
816
817
|
newData: SystemOptionEntity[];
|
|
817
818
|
}>;
|
|
818
819
|
|
|
819
|
-
|
|
820
|
+
type TranslateFn = (key: string) => string;
|
|
821
|
+
declare const buildMenu: (data: SystemOptionEntity[], t: TranslateFn) => MenuDto[];
|
|
820
822
|
|
|
821
823
|
declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
|
|
822
824
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as sigo_entities from 'sigo-entities';
|
|
2
2
|
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, CodigoNombreUMDTO, PrecioContratistaMOAL04ENTITY, ManoObraGlobalENTITY, ValorizacionManoObraDTO, PrecioContratistaMOAL02ENTITY, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, TrabajoAlemaniaENTITY, ValorizacionAlemaniaDTO, ValorizacionDTO, StockPersonalENTITY, StockAlmacenENTITY, ConsumoMaterialAlemaniaENTITY, ValorizacionesDTO, PrecioContratistaMaterialENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY, DetalleChileValorizacionMODTO, PrecioMaterialENTITY, CodigoNombreDTO, SystemOptionEntity, MenuDto } from 'sigo-entities';
|
|
3
3
|
import { ClassConstructor } from 'class-transformer';
|
|
4
|
-
import { TFunction } from 'i18next';
|
|
5
4
|
import { Request, Response, NextFunction } from 'express';
|
|
6
5
|
|
|
7
6
|
interface IenvSIGO$1 {
|
|
@@ -775,6 +774,8 @@ declare const collections: Readonly<{
|
|
|
775
774
|
PERU_9112_MiFibraOrderStock: "PERU_9112_MiFibraOrderStock";
|
|
776
775
|
PERU_9112_BantelOrder: "PERU_9112_BantelOrder";
|
|
777
776
|
PERU_9112_BantelOrderStock: "PERU_9112_BantelOrderStock";
|
|
777
|
+
PERU_9112_ClaroOrder: "PERU_9112_ClaroOrder";
|
|
778
|
+
PERU_9112_ClaroOrderStock: "PERU_9112_ClaroOrderStock";
|
|
778
779
|
user: "users";
|
|
779
780
|
systemOption: "systemOptions";
|
|
780
781
|
profile: "profiles";
|
|
@@ -816,7 +817,8 @@ declare function builSystemOption(params: IParams): Promise<{
|
|
|
816
817
|
newData: SystemOptionEntity[];
|
|
817
818
|
}>;
|
|
818
819
|
|
|
819
|
-
|
|
820
|
+
type TranslateFn = (key: string) => string;
|
|
821
|
+
declare const buildMenu: (data: SystemOptionEntity[], t: TranslateFn) => MenuDto[];
|
|
820
822
|
|
|
821
823
|
declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
|
|
822
824
|
|
package/dist/index.js
CHANGED
|
@@ -16816,6 +16816,8 @@ var collections = Object.freeze({
|
|
|
16816
16816
|
PERU_9112_MiFibraOrderStock: "PERU_9112_MiFibraOrderStock",
|
|
16817
16817
|
PERU_9112_BantelOrder: "PERU_9112_BantelOrder",
|
|
16818
16818
|
PERU_9112_BantelOrderStock: "PERU_9112_BantelOrderStock",
|
|
16819
|
+
PERU_9112_ClaroOrder: "PERU_9112_ClaroOrder",
|
|
16820
|
+
PERU_9112_ClaroOrderStock: "PERU_9112_ClaroOrderStock",
|
|
16819
16821
|
user: "users",
|
|
16820
16822
|
systemOption: "systemOptions",
|
|
16821
16823
|
profile: "profiles",
|
package/dist/index.mjs
CHANGED
|
@@ -16647,6 +16647,8 @@ var collections = Object.freeze({
|
|
|
16647
16647
|
PERU_9112_MiFibraOrderStock: "PERU_9112_MiFibraOrderStock",
|
|
16648
16648
|
PERU_9112_BantelOrder: "PERU_9112_BantelOrder",
|
|
16649
16649
|
PERU_9112_BantelOrderStock: "PERU_9112_BantelOrderStock",
|
|
16650
|
+
PERU_9112_ClaroOrder: "PERU_9112_ClaroOrder",
|
|
16651
|
+
PERU_9112_ClaroOrderStock: "PERU_9112_ClaroOrderStock",
|
|
16650
16652
|
user: "users",
|
|
16651
16653
|
systemOption: "systemOptions",
|
|
16652
16654
|
profile: "profiles",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sigo-package",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.148",
|
|
4
4
|
"description": "Funciones compartidas sigo",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -21,9 +21,8 @@
|
|
|
21
21
|
"typescript": "^5.7.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"
|
|
25
|
-
"sigo-entities": "^1.2.383"
|
|
26
|
-
"class-validator": "^0.15.1"
|
|
24
|
+
"class-validator": "^0.15.1",
|
|
25
|
+
"sigo-entities": "^1.2.383"
|
|
27
26
|
},
|
|
28
27
|
"overrides": {
|
|
29
28
|
"esbuild": "^0.28.0"
|