sigo-package 1.2.158 → 1.2.160

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as sigo_entities from 'sigo-entities';
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';
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, DocumentRequirementDto, CodigoNombreDTO, SystemOptionEntity, MenuDto } from 'sigo-entities';
3
3
  import { ClassConstructor } from 'class-transformer';
4
4
  import { Request, Response, NextFunction } from 'express';
5
5
 
@@ -686,6 +686,8 @@ declare function calcularTotalMaterialValorizacionPeru9112(valorizaciones: Pick<
686
686
 
687
687
  declare const mapeoZonasSimilares: Record<string, string[]>;
688
688
 
689
+ declare const documentRequirement: DocumentRequirementDto[];
690
+
689
691
  declare enum Position {
690
692
  left = "left",
691
693
  right = "right"
@@ -811,6 +813,8 @@ declare const collections: Readonly<{
811
813
  country: "countries";
812
814
  delegation: "delegations";
813
815
  company: "companies";
816
+ themeConfigCountry: "temeConfigCountry";
817
+ themeConfigUser: "TemeConfigUser";
814
818
  product: "products";
815
819
  }>;
816
820
 
@@ -852,4 +856,4 @@ declare const buildMenu: (data: SystemOptionEntity[], t: TranslateFn) => MenuDto
852
856
 
853
857
  declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
854
858
 
855
- 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, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, 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, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularTotalMaterialValorizacionPeru9112, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codIssueByPeriodoAL02, 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, codMOTroncalHistoricoAL02, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, 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, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validateNoLookup, validateUUIDv4Param };
859
+ 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, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, 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, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularTotalMaterialValorizacionPeru9112, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codIssueByPeriodoAL02, 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, codMOTroncalHistoricoAL02, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirement, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validateNoLookup, validateUUIDv4Param };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as sigo_entities from 'sigo-entities';
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';
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, DocumentRequirementDto, CodigoNombreDTO, SystemOptionEntity, MenuDto } from 'sigo-entities';
3
3
  import { ClassConstructor } from 'class-transformer';
4
4
  import { Request, Response, NextFunction } from 'express';
5
5
 
@@ -686,6 +686,8 @@ declare function calcularTotalMaterialValorizacionPeru9112(valorizaciones: Pick<
686
686
 
687
687
  declare const mapeoZonasSimilares: Record<string, string[]>;
688
688
 
689
+ declare const documentRequirement: DocumentRequirementDto[];
690
+
689
691
  declare enum Position {
690
692
  left = "left",
691
693
  right = "right"
@@ -811,6 +813,8 @@ declare const collections: Readonly<{
811
813
  country: "countries";
812
814
  delegation: "delegations";
813
815
  company: "companies";
816
+ themeConfigCountry: "temeConfigCountry";
817
+ themeConfigUser: "TemeConfigUser";
814
818
  product: "products";
815
819
  }>;
816
820
 
@@ -852,4 +856,4 @@ declare const buildMenu: (data: SystemOptionEntity[], t: TranslateFn) => MenuDto
852
856
 
853
857
  declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
854
858
 
855
- 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, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, 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, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularTotalMaterialValorizacionPeru9112, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codIssueByPeriodoAL02, 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, codMOTroncalHistoricoAL02, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, 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, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validateNoLookup, validateUUIDv4Param };
859
+ 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, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, 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, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularTotalMaterialValorizacionPeru9112, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codIssueByPeriodoAL02, 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, codMOTroncalHistoricoAL02, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirement, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validateNoLookup, validateUUIDv4Param };
package/dist/index.js CHANGED
@@ -116,6 +116,7 @@ __export(index_exports, {
116
116
  dataFlujosHomePass: () => dataFlujosHomePass,
117
117
  db_default: () => db_default,
118
118
  db_root: () => db_root,
119
+ documentRequirement: () => documentRequirement,
119
120
  empresas: () => empresas,
120
121
  esCadenaFechaISOValida: () => esCadenaFechaISOValida,
121
122
  esObjetoFecha: () => esObjetoFecha,
@@ -16872,6 +16873,108 @@ var mapeoZonasSimilares = {
16872
16873
  ]
16873
16874
  };
16874
16875
 
16876
+ // src/Operativa/AltasNVT/documentRequirement.ts
16877
+ var import_sigo_entities6 = require("sigo-entities");
16878
+ var acceptedFileExtensions = [
16879
+ import_sigo_entities6.FileExtension.Jpg,
16880
+ import_sigo_entities6.FileExtension.Jpeg,
16881
+ import_sigo_entities6.FileExtension.Png
16882
+ ];
16883
+ var documentRequirement = [
16884
+ {
16885
+ id: "roseta",
16886
+ label: "Roseta",
16887
+ acceptedFileExtensions,
16888
+ children: [
16889
+ {
16890
+ id: "rosetaTA",
16891
+ label: "Roseta TA abierta y cerrada",
16892
+ acceptedFileExtensions,
16893
+ children: [],
16894
+ minFiles: 1,
16895
+ maxFiles: 1,
16896
+ requiresMetadata: true,
16897
+ maxFileSize: 2
16898
+ },
16899
+ {
16900
+ id: "rosetaAP",
16901
+ label: "Roseta AP abierta y cerrada",
16902
+ acceptedFileExtensions,
16903
+ children: [],
16904
+ minFiles: 1,
16905
+ maxFiles: 1,
16906
+ requiresMetadata: true,
16907
+ maxFileSize: 2
16908
+ }
16909
+ ],
16910
+ minFiles: 0,
16911
+ maxFiles: 0,
16912
+ requiresMetadata: false,
16913
+ maxFileSize: 0
16914
+ },
16915
+ {
16916
+ id: "acometida",
16917
+ label: "Acometida ",
16918
+ acceptedFileExtensions,
16919
+ children: [
16920
+ {
16921
+ id: "acometidaExterior",
16922
+ label: "Entrada exterior de acometida",
16923
+ acceptedFileExtensions,
16924
+ children: [],
16925
+ minFiles: 1,
16926
+ maxFiles: 1,
16927
+ requiresMetadata: true,
16928
+ maxFileSize: 2
16929
+ },
16930
+ {
16931
+ id: "acometidaInterior",
16932
+ label: "Entrada interior de acometida",
16933
+ acceptedFileExtensions,
16934
+ children: [],
16935
+ minFiles: 1,
16936
+ maxFiles: 1,
16937
+ requiresMetadata: true,
16938
+ maxFileSize: 2
16939
+ }
16940
+ ],
16941
+ minFiles: 0,
16942
+ maxFiles: 0,
16943
+ requiresMetadata: false,
16944
+ maxFileSize: 0
16945
+ },
16946
+ {
16947
+ id: "gpon",
16948
+ label: "GPON conectado a roseta",
16949
+ acceptedFileExtensions,
16950
+ children: [],
16951
+ minFiles: 1,
16952
+ maxFiles: 1,
16953
+ requiresMetadata: true,
16954
+ maxFileSize: 2
16955
+ },
16956
+ {
16957
+ id: "recorridoCableado",
16958
+ label: "Recorrido del cableado interior",
16959
+ acceptedFileExtensions,
16960
+ children: [],
16961
+ minFiles: 1,
16962
+ maxFiles: 1,
16963
+ requiresMetadata: true,
16964
+ maxFileSize: 2
16965
+ },
16966
+ {
16967
+ id: "recorridoCanalizacion",
16968
+ label: "Recorrido de la canalizaci\xF3n",
16969
+ acceptedFileExtensions,
16970
+ children: [],
16971
+ minFiles: 1,
16972
+ maxFiles: 1,
16973
+ requiresMetadata: true,
16974
+ maxFileSize: 2
16975
+ }
16976
+ ];
16977
+
16875
16978
  // src/constants/collections.ts
16876
16979
  var collections = Object.freeze({
16877
16980
  PERU_9112_ToaOrder: "PERU_9112_ToaOrder",
@@ -16908,6 +17011,8 @@ var collections = Object.freeze({
16908
17011
  country: "countries",
16909
17012
  delegation: "delegations",
16910
17013
  company: "companies",
17014
+ themeConfigCountry: "temeConfigCountry",
17015
+ themeConfigUser: "TemeConfigUser",
16911
17016
  product: "products"
16912
17017
  });
16913
17018
 
@@ -16947,7 +17052,7 @@ var parseDuplicateKeyError = /* @__PURE__ */ __name((message) => {
16947
17052
  }, "parseDuplicateKeyError");
16948
17053
 
16949
17054
  // src/v2/utils/buildSystemOption.ts
16950
- var import_sigo_entities6 = require("sigo-entities");
17055
+ var import_sigo_entities7 = require("sigo-entities");
16951
17056
  function separarPalabras(texto) {
16952
17057
  return texto.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([A-Z])([A-Z][a-z])/g, "$1 $2");
16953
17058
  }
@@ -16978,7 +17083,7 @@ async function builSystemOption(params) {
16978
17083
  route: isLast ? `${method} ${rootPath}${pathParts}` : "",
16979
17084
  _id: crypto.randomUUID()
16980
17085
  };
16981
- const newItem = await (0, import_sigo_entities6.validateCustom)(_newEntity, import_sigo_entities6.SystemOptionEntity, UnprocessableEntityException);
17086
+ const newItem = await (0, import_sigo_entities7.validateCustom)(_newEntity, import_sigo_entities7.SystemOptionEntity, UnprocessableEntityException);
16982
17087
  newData.push(newItem);
16983
17088
  }
16984
17089
  }
@@ -17146,6 +17251,7 @@ __name(validateUUIDv4Param, "validateUUIDv4Param");
17146
17251
  dataFlujosHomePass,
17147
17252
  db_default,
17148
17253
  db_root,
17254
+ documentRequirement,
17149
17255
  empresas,
17150
17256
  esCadenaFechaISOValida,
17151
17257
  esObjetoFecha,
package/dist/index.mjs CHANGED
@@ -16701,6 +16701,108 @@ var mapeoZonasSimilares = {
16701
16701
  ]
16702
16702
  };
16703
16703
 
16704
+ // src/Operativa/AltasNVT/documentRequirement.ts
16705
+ import { FileExtension } from "sigo-entities";
16706
+ var acceptedFileExtensions = [
16707
+ FileExtension.Jpg,
16708
+ FileExtension.Jpeg,
16709
+ FileExtension.Png
16710
+ ];
16711
+ var documentRequirement = [
16712
+ {
16713
+ id: "roseta",
16714
+ label: "Roseta",
16715
+ acceptedFileExtensions,
16716
+ children: [
16717
+ {
16718
+ id: "rosetaTA",
16719
+ label: "Roseta TA abierta y cerrada",
16720
+ acceptedFileExtensions,
16721
+ children: [],
16722
+ minFiles: 1,
16723
+ maxFiles: 1,
16724
+ requiresMetadata: true,
16725
+ maxFileSize: 2
16726
+ },
16727
+ {
16728
+ id: "rosetaAP",
16729
+ label: "Roseta AP abierta y cerrada",
16730
+ acceptedFileExtensions,
16731
+ children: [],
16732
+ minFiles: 1,
16733
+ maxFiles: 1,
16734
+ requiresMetadata: true,
16735
+ maxFileSize: 2
16736
+ }
16737
+ ],
16738
+ minFiles: 0,
16739
+ maxFiles: 0,
16740
+ requiresMetadata: false,
16741
+ maxFileSize: 0
16742
+ },
16743
+ {
16744
+ id: "acometida",
16745
+ label: "Acometida ",
16746
+ acceptedFileExtensions,
16747
+ children: [
16748
+ {
16749
+ id: "acometidaExterior",
16750
+ label: "Entrada exterior de acometida",
16751
+ acceptedFileExtensions,
16752
+ children: [],
16753
+ minFiles: 1,
16754
+ maxFiles: 1,
16755
+ requiresMetadata: true,
16756
+ maxFileSize: 2
16757
+ },
16758
+ {
16759
+ id: "acometidaInterior",
16760
+ label: "Entrada interior de acometida",
16761
+ acceptedFileExtensions,
16762
+ children: [],
16763
+ minFiles: 1,
16764
+ maxFiles: 1,
16765
+ requiresMetadata: true,
16766
+ maxFileSize: 2
16767
+ }
16768
+ ],
16769
+ minFiles: 0,
16770
+ maxFiles: 0,
16771
+ requiresMetadata: false,
16772
+ maxFileSize: 0
16773
+ },
16774
+ {
16775
+ id: "gpon",
16776
+ label: "GPON conectado a roseta",
16777
+ acceptedFileExtensions,
16778
+ children: [],
16779
+ minFiles: 1,
16780
+ maxFiles: 1,
16781
+ requiresMetadata: true,
16782
+ maxFileSize: 2
16783
+ },
16784
+ {
16785
+ id: "recorridoCableado",
16786
+ label: "Recorrido del cableado interior",
16787
+ acceptedFileExtensions,
16788
+ children: [],
16789
+ minFiles: 1,
16790
+ maxFiles: 1,
16791
+ requiresMetadata: true,
16792
+ maxFileSize: 2
16793
+ },
16794
+ {
16795
+ id: "recorridoCanalizacion",
16796
+ label: "Recorrido de la canalizaci\xF3n",
16797
+ acceptedFileExtensions,
16798
+ children: [],
16799
+ minFiles: 1,
16800
+ maxFiles: 1,
16801
+ requiresMetadata: true,
16802
+ maxFileSize: 2
16803
+ }
16804
+ ];
16805
+
16704
16806
  // src/constants/collections.ts
16705
16807
  var collections = Object.freeze({
16706
16808
  PERU_9112_ToaOrder: "PERU_9112_ToaOrder",
@@ -16737,6 +16839,8 @@ var collections = Object.freeze({
16737
16839
  country: "countries",
16738
16840
  delegation: "delegations",
16739
16841
  company: "companies",
16842
+ themeConfigCountry: "temeConfigCountry",
16843
+ themeConfigUser: "TemeConfigUser",
16740
16844
  product: "products"
16741
16845
  });
16742
16846
 
@@ -16974,6 +17078,7 @@ export {
16974
17078
  dataFlujosHomePass,
16975
17079
  db_default,
16976
17080
  db_root,
17081
+ documentRequirement,
16977
17082
  empresas,
16978
17083
  esCadenaFechaISOValida,
16979
17084
  esObjetoFecha,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-package",
3
- "version": "1.2.158",
3
+ "version": "1.2.160",
4
4
  "description": "Funciones compartidas sigo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "peerDependencies": {
24
24
  "class-validator": "^0.15.1",
25
- "sigo-entities": "^1.2.383"
25
+ "sigo-entities": "^1.2.451"
26
26
  },
27
27
  "overrides": {
28
28
  "esbuild": "^0.28.0"
29
29
  }
30
- }
30
+ }