sigo-package 1.2.89 → 1.2.90
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 +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +23 -0
- package/dist/index.mjs +19 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as sigo_entities from 'sigo-entities';
|
|
2
|
-
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, ManoObraGlobalENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, TrabajoAlemaniaENTITY, ValorizacionManoObraDTO, ValorizacionAlemaniaDTO, PrecioContratistaMOAL02ENTITY, ValorizacionDTO, PrecioContratistaMOAL04ENTITY, StockPersonalENTITY, StockAlmacenENTITY, ConsumoMaterialAlemaniaENTITY, ValorizacionesDTO, PrecioContratistaMaterialENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY, DetalleChileValorizacionMODTO } from 'sigo-entities';
|
|
2
|
+
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, ManoObraGlobalENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, TrabajoAlemaniaENTITY, ValorizacionManoObraDTO, ValorizacionAlemaniaDTO, PrecioContratistaMOAL02ENTITY, ValorizacionDTO, PrecioContratistaMOAL04ENTITY, StockPersonalENTITY, StockAlmacenENTITY, ConsumoMaterialAlemaniaENTITY, ValorizacionesDTO, PrecioContratistaMaterialENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY, DetalleChileValorizacionMODTO, CodigoNombreDTO } from 'sigo-entities';
|
|
3
3
|
|
|
4
4
|
interface IenvSIGO$1 {
|
|
5
5
|
SISTEMAS_VALORIZACION_MANO_OBRA: string[];
|
|
@@ -716,4 +716,16 @@ declare const collections: {
|
|
|
716
716
|
readonly CHILE_9512_ToaClaroOrderStock: "CHILE_9512_ToaClaroOrderStock";
|
|
717
717
|
};
|
|
718
718
|
|
|
719
|
-
|
|
719
|
+
declare const db_root = "sigo_db";
|
|
720
|
+
declare const db_default = "default_db";
|
|
721
|
+
|
|
722
|
+
declare const colecciones: Readonly<{
|
|
723
|
+
USUARIOS: "usuarios";
|
|
724
|
+
}>;
|
|
725
|
+
|
|
726
|
+
declare function getDBName({ pais, delegacion }: {
|
|
727
|
+
pais: CodigoNombreDTO;
|
|
728
|
+
delegacion: CodigoNombreDTO;
|
|
729
|
+
}): string;
|
|
730
|
+
|
|
731
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenLiquidacionesColombia, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, AsignacionHelper, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenLiquidacionesColombia, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$2 as MatStockPersonalType, type MatUtilizadosType$2 as MatUtilizadosType, type MoUoType$2 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, type ResumenLiquidacionesTypeColombia, SEGMENT_TY, type TARGET, UpdateNodosDocDP, ValorizacionHelper, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildTenantCollectionName, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04Issue, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, colecciones, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as sigo_entities from 'sigo-entities';
|
|
2
|
-
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, ManoObraGlobalENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, TrabajoAlemaniaENTITY, ValorizacionManoObraDTO, ValorizacionAlemaniaDTO, PrecioContratistaMOAL02ENTITY, ValorizacionDTO, PrecioContratistaMOAL04ENTITY, StockPersonalENTITY, StockAlmacenENTITY, ConsumoMaterialAlemaniaENTITY, ValorizacionesDTO, PrecioContratistaMaterialENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY, DetalleChileValorizacionMODTO } from 'sigo-entities';
|
|
2
|
+
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, ManoObraGlobalENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, TrabajoAlemaniaENTITY, ValorizacionManoObraDTO, ValorizacionAlemaniaDTO, PrecioContratistaMOAL02ENTITY, ValorizacionDTO, PrecioContratistaMOAL04ENTITY, StockPersonalENTITY, StockAlmacenENTITY, ConsumoMaterialAlemaniaENTITY, ValorizacionesDTO, PrecioContratistaMaterialENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY, DetalleChileValorizacionMODTO, CodigoNombreDTO } from 'sigo-entities';
|
|
3
3
|
|
|
4
4
|
interface IenvSIGO$1 {
|
|
5
5
|
SISTEMAS_VALORIZACION_MANO_OBRA: string[];
|
|
@@ -716,4 +716,16 @@ declare const collections: {
|
|
|
716
716
|
readonly CHILE_9512_ToaClaroOrderStock: "CHILE_9512_ToaClaroOrderStock";
|
|
717
717
|
};
|
|
718
718
|
|
|
719
|
-
|
|
719
|
+
declare const db_root = "sigo_db";
|
|
720
|
+
declare const db_default = "default_db";
|
|
721
|
+
|
|
722
|
+
declare const colecciones: Readonly<{
|
|
723
|
+
USUARIOS: "usuarios";
|
|
724
|
+
}>;
|
|
725
|
+
|
|
726
|
+
declare function getDBName({ pais, delegacion }: {
|
|
727
|
+
pais: CodigoNombreDTO;
|
|
728
|
+
delegacion: CodigoNombreDTO;
|
|
729
|
+
}): string;
|
|
730
|
+
|
|
731
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenLiquidacionesColombia, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, AsignacionHelper, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenLiquidacionesColombia, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$2 as MatStockPersonalType, type MatUtilizadosType$2 as MatUtilizadosType, type MoUoType$2 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, type ResumenLiquidacionesTypeColombia, SEGMENT_TY, type TARGET, UpdateNodosDocDP, ValorizacionHelper, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildTenantCollectionName, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04Issue, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, colecciones, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.js
CHANGED
|
@@ -101,10 +101,13 @@ __export(index_exports, {
|
|
|
101
101
|
codigosMOT1_F2: () => codigosMOT1_F2,
|
|
102
102
|
codigosMaterialDuctos: () => codigosMaterialDuctos,
|
|
103
103
|
codigosMaterialUGG: () => codigosMaterialUGG,
|
|
104
|
+
colecciones: () => colecciones,
|
|
104
105
|
collections: () => collections,
|
|
105
106
|
consumirStockPersonal: () => consumirStockPersonal,
|
|
106
107
|
convertDates: () => convertDates,
|
|
107
108
|
dataFlujosHomePass: () => dataFlujosHomePass,
|
|
109
|
+
db_default: () => db_default,
|
|
110
|
+
db_root: () => db_root,
|
|
108
111
|
empresas: () => empresas,
|
|
109
112
|
esCadenaFechaISOValida: () => esCadenaFechaISOValida,
|
|
110
113
|
esObjetoFecha: () => esObjetoFecha,
|
|
@@ -116,6 +119,7 @@ __export(index_exports, {
|
|
|
116
119
|
generateUniqueNumberArray: () => generateUniqueNumberArray,
|
|
117
120
|
getChannelName: () => getChannelName,
|
|
118
121
|
getContainerName: () => getContainerName,
|
|
122
|
+
getDBName: () => getDBName,
|
|
119
123
|
getDateInTimeZone: () => getDateInTimeZone,
|
|
120
124
|
getKeyRedisSortedSet: () => getKeyRedisSortedSet,
|
|
121
125
|
getModelDataAdicional: () => getModelDataAdicional,
|
|
@@ -15644,6 +15648,21 @@ var collections = {
|
|
|
15644
15648
|
CHILE_9512_ToaClaroRequestNumberTTL: "CHILE_9512_ToaClaroRequestNumberTTL",
|
|
15645
15649
|
CHILE_9512_ToaClaroOrderStock: "CHILE_9512_ToaClaroOrderStock"
|
|
15646
15650
|
};
|
|
15651
|
+
|
|
15652
|
+
// src/v2/constants/db.ts
|
|
15653
|
+
var db_root = "sigo_db";
|
|
15654
|
+
var db_default = "default_db";
|
|
15655
|
+
|
|
15656
|
+
// src/v2/constants/collections.ts
|
|
15657
|
+
var colecciones = Object.freeze({
|
|
15658
|
+
USUARIOS: "usuarios"
|
|
15659
|
+
});
|
|
15660
|
+
|
|
15661
|
+
// src/v2/utils/getDBName.ts
|
|
15662
|
+
function getDBName({ pais, delegacion }) {
|
|
15663
|
+
return `${process.env.NODE_ENV}.${pais.Codigo}_${delegacion.Codigo}_db`.toLowerCase();
|
|
15664
|
+
}
|
|
15665
|
+
__name(getDBName, "getDBName");
|
|
15647
15666
|
// Annotate the CommonJS export names for ESM import in node:
|
|
15648
15667
|
0 && (module.exports = {
|
|
15649
15668
|
ActualizarDataManoObra,
|
|
@@ -15724,10 +15743,13 @@ var collections = {
|
|
|
15724
15743
|
codigosMOT1_F2,
|
|
15725
15744
|
codigosMaterialDuctos,
|
|
15726
15745
|
codigosMaterialUGG,
|
|
15746
|
+
colecciones,
|
|
15727
15747
|
collections,
|
|
15728
15748
|
consumirStockPersonal,
|
|
15729
15749
|
convertDates,
|
|
15730
15750
|
dataFlujosHomePass,
|
|
15751
|
+
db_default,
|
|
15752
|
+
db_root,
|
|
15731
15753
|
empresas,
|
|
15732
15754
|
esCadenaFechaISOValida,
|
|
15733
15755
|
esObjetoFecha,
|
|
@@ -15739,6 +15761,7 @@ var collections = {
|
|
|
15739
15761
|
generateUniqueNumberArray,
|
|
15740
15762
|
getChannelName,
|
|
15741
15763
|
getContainerName,
|
|
15764
|
+
getDBName,
|
|
15742
15765
|
getDateInTimeZone,
|
|
15743
15766
|
getKeyRedisSortedSet,
|
|
15744
15767
|
getModelDataAdicional,
|
package/dist/index.mjs
CHANGED
|
@@ -15495,6 +15495,21 @@ var collections = {
|
|
|
15495
15495
|
CHILE_9512_ToaClaroRequestNumberTTL: "CHILE_9512_ToaClaroRequestNumberTTL",
|
|
15496
15496
|
CHILE_9512_ToaClaroOrderStock: "CHILE_9512_ToaClaroOrderStock"
|
|
15497
15497
|
};
|
|
15498
|
+
|
|
15499
|
+
// src/v2/constants/db.ts
|
|
15500
|
+
var db_root = "sigo_db";
|
|
15501
|
+
var db_default = "default_db";
|
|
15502
|
+
|
|
15503
|
+
// src/v2/constants/collections.ts
|
|
15504
|
+
var colecciones = Object.freeze({
|
|
15505
|
+
USUARIOS: "usuarios"
|
|
15506
|
+
});
|
|
15507
|
+
|
|
15508
|
+
// src/v2/utils/getDBName.ts
|
|
15509
|
+
function getDBName({ pais, delegacion }) {
|
|
15510
|
+
return `${process.env.NODE_ENV}.${pais.Codigo}_${delegacion.Codigo}_db`.toLowerCase();
|
|
15511
|
+
}
|
|
15512
|
+
__name(getDBName, "getDBName");
|
|
15498
15513
|
export {
|
|
15499
15514
|
ActualizarDataManoObra,
|
|
15500
15515
|
ActualizarDataReserva,
|
|
@@ -15574,10 +15589,13 @@ export {
|
|
|
15574
15589
|
codigosMOT1_F2,
|
|
15575
15590
|
codigosMaterialDuctos,
|
|
15576
15591
|
codigosMaterialUGG,
|
|
15592
|
+
colecciones,
|
|
15577
15593
|
collections,
|
|
15578
15594
|
consumirStockPersonal,
|
|
15579
15595
|
convertDates,
|
|
15580
15596
|
dataFlujosHomePass,
|
|
15597
|
+
db_default,
|
|
15598
|
+
db_root,
|
|
15581
15599
|
empresas,
|
|
15582
15600
|
esCadenaFechaISOValida,
|
|
15583
15601
|
esObjetoFecha,
|
|
@@ -15589,6 +15607,7 @@ export {
|
|
|
15589
15607
|
generateUniqueNumberArray,
|
|
15590
15608
|
getChannelName,
|
|
15591
15609
|
getContainerName,
|
|
15610
|
+
getDBName,
|
|
15592
15611
|
getDateInTimeZone,
|
|
15593
15612
|
getKeyRedisSortedSet,
|
|
15594
15613
|
getModelDataAdicional,
|