sigo-package 1.1.59 → 1.1.61

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.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { ActualizarDataResumenLiquidaciones, CalcularResumenLiquidaciones, DocumentacionReplanteo, ModelDataFlujosDocumentacionReplanteo, CompararFechas, ActualizarDataReserva, ActualizarDataManoObra, ActualizarDataTrabajos, paisMap, GetCodigoFechaActual, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, BuscarZonaContratista, ObtenerMONoReservada, dataFlujosHomePass, UpdateNodosDocDP, CalcularResumenHPMOLiquidado, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, codClientes, codNoCliente, codSopladoRD, CodsMapeoMOMaterial, codigosMaterialDuctos, codMOTroncal_ReglaLiquidacion1, codMOClientes_ReglaLiquidacion1, codMONoClientes_ReglaLiquidacion1, codigosMaterialUGG, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodigosMaterialSoplado, ActualizarDataResumenValorizacionesAlemania, CalcularResumenValorizacionesAlemania, codMOPublico, CodsMapeoMO_Material_Arquertas, codigosMOT1_F2, mapaReglaSopladoTroncal, mapaReglaSopladoClientes } from './Programados/index';
2
- import { esObjetoFecha, esCadenaFechaISOValida, CurrencyFormat, isValidPartialEntity, convertDates, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup } from './shared/index';
3
- export { logTiempoProceso, ActualizarDataResumenLiquidaciones, CalcularResumenLiquidaciones, DocumentacionReplanteo, ModelDataFlujosDocumentacionReplanteo, CompararFechas, ActualizarDataReserva, ActualizarDataManoObra, ActualizarDataTrabajos, paisMap, GetCodigoFechaActual, esObjetoFecha, esCadenaFechaISOValida, CurrencyFormat, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, BuscarZonaContratista, ObtenerMONoReservada, dataFlujosHomePass, UpdateNodosDocDP, CalcularResumenHPMOLiquidado, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, codClientes, codNoCliente, codSopladoRD, CodsMapeoMOMaterial, codigosMaterialDuctos, codMOTroncal_ReglaLiquidacion1, codMOClientes_ReglaLiquidacion1, codMONoClientes_ReglaLiquidacion1, codigosMaterialUGG, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodigosMaterialSoplado, ActualizarDataResumenValorizacionesAlemania, CalcularResumenValorizacionesAlemania, codMOPublico, CodsMapeoMO_Material_Arquertas, codigosMOT1_F2, isValidPartialEntity, convertDates, mapaReglaSopladoTroncal, mapaReglaSopladoClientes, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup, };
2
+ import { esObjetoFecha, esCadenaFechaISOValida, CurrencyFormat, isValidPartialEntity, convertDates, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup, getChannelName, getDateInTimeZone } from './shared/index';
3
+ export { logTiempoProceso, ActualizarDataResumenLiquidaciones, CalcularResumenLiquidaciones, DocumentacionReplanteo, ModelDataFlujosDocumentacionReplanteo, CompararFechas, ActualizarDataReserva, ActualizarDataManoObra, ActualizarDataTrabajos, paisMap, GetCodigoFechaActual, esObjetoFecha, esCadenaFechaISOValida, CurrencyFormat, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, BuscarZonaContratista, ObtenerMONoReservada, dataFlujosHomePass, UpdateNodosDocDP, CalcularResumenHPMOLiquidado, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, codClientes, codNoCliente, codSopladoRD, CodsMapeoMOMaterial, codigosMaterialDuctos, codMOTroncal_ReglaLiquidacion1, codMOClientes_ReglaLiquidacion1, codMONoClientes_ReglaLiquidacion1, codigosMaterialUGG, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodigosMaterialSoplado, ActualizarDataResumenValorizacionesAlemania, CalcularResumenValorizacionesAlemania, codMOPublico, CodsMapeoMO_Material_Arquertas, codigosMOT1_F2, isValidPartialEntity, convertDates, mapaReglaSopladoTroncal, mapaReglaSopladoClientes, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup, getChannelName, getDateInTimeZone, };
@@ -0,0 +1,3 @@
1
+ export declare function getChannelName(id: string): {
2
+ reportAutoInventory: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ declare const timeZones: readonly ["America/Santiago", "America/Bogota", "Europe/Berlin"];
2
+ declare type TimeZone = (typeof timeZones)[number];
3
+ export declare function getDateInTimeZone(timeZone: TimeZone): Date;
4
+ export {};
@@ -6,3 +6,5 @@ export * from './isValidPartialEntity';
6
6
  export * from './logTiempoProceso';
7
7
  export * from './queueName';
8
8
  export * from './validateNoLookup';
9
+ export * from './getChannelName';
10
+ export * from './getDateInTimeZone';
@@ -1,3 +1,3 @@
1
1
  import { PaisDto, DelegacionDto, EmpresaDto, UnidadMedidaDto, EstadoDto, GeneralCodigoNombreDto, GeneralCodigoNombreUnidadDto, EmpresaUsuarioDto } from './dtos/index';
2
- import { esObjetoFecha, CurrencyFormat, isValidPartialEntity, convertDates, esCadenaFechaISOValida, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup } from './Utils/index';
3
- export { PaisDto, DelegacionDto, EmpresaDto, UnidadMedidaDto, EstadoDto, GeneralCodigoNombreDto, GeneralCodigoNombreUnidadDto, EmpresaUsuarioDto, esObjetoFecha, CurrencyFormat, isValidPartialEntity, convertDates, esCadenaFechaISOValida, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup, };
2
+ import { esObjetoFecha, CurrencyFormat, isValidPartialEntity, convertDates, esCadenaFechaISOValida, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup, getChannelName, getDateInTimeZone } from './Utils/index';
3
+ export { PaisDto, DelegacionDto, EmpresaDto, UnidadMedidaDto, EstadoDto, GeneralCodigoNombreDto, GeneralCodigoNombreUnidadDto, EmpresaUsuarioDto, esObjetoFecha, CurrencyFormat, isValidPartialEntity, convertDates, esCadenaFechaISOValida, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet, validateNoLookup, getChannelName, getDateInTimeZone, };
@@ -664,6 +664,18 @@ function validateNoLookup(input) {
664
664
  }
665
665
  }
666
666
 
667
+ function getChannelName(id) {
668
+ return {
669
+ reportAutoInventory: id + "reportAutoInventory"
670
+ };
671
+ }
672
+
673
+ function getDateInTimeZone(timeZone) {
674
+ return new Date(new Date().toLocaleString('en-US', {
675
+ timeZone: timeZone
676
+ }));
677
+ }
678
+
667
679
  function ObtenerPrecioContratistaVigente(_ref) {
668
680
  var actividad = _ref.actividad,
669
681
  FechaVerificar = _ref.FechaVerificar;
@@ -2265,6 +2277,8 @@ exports.convertDates = convertDates;
2265
2277
  exports.dataFlujosHomePass = dataFlujosHomePass;
2266
2278
  exports.esCadenaFechaISOValida = esCadenaFechaISOValida;
2267
2279
  exports.esObjetoFecha = esObjetoFecha;
2280
+ exports.getChannelName = getChannelName;
2281
+ exports.getDateInTimeZone = getDateInTimeZone;
2268
2282
  exports.getKeyRedisSortedSet = getKeyRedisSortedSet;
2269
2283
  exports.getModelDataAdicional = getModelDataAdicional;
2270
2284
  exports.getQueueName = getQueueName;