sigo-package 1.1.57 → 1.1.58
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 +2 -2
- package/dist/shared/Utils/index.d.ts +1 -0
- package/dist/shared/Utils/validateNoLookup.d.ts +1 -0
- package/dist/shared/index.d.ts +2 -2
- package/dist/sigo-package.cjs.development.js +18 -0
- package/dist/sigo-package.cjs.development.js.map +1 -1
- package/dist/sigo-package.cjs.production.min.js +1 -1
- package/dist/sigo-package.cjs.production.min.js.map +1 -1
- package/dist/sigo-package.esm.js +18 -1
- package/dist/sigo-package.esm.js.map +1 -1
- package/package.json +1 -1
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 } 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, };
|
|
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, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validateNoLookup(input: any | any[]): void;
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -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 } from './Utils/index';
|
|
3
|
-
export { PaisDto, DelegacionDto, EmpresaDto, UnidadMedidaDto, EstadoDto, GeneralCodigoNombreDto, GeneralCodigoNombreUnidadDto, EmpresaUsuarioDto, esObjetoFecha, CurrencyFormat, isValidPartialEntity, convertDates, esCadenaFechaISOValida, logTiempoProceso, isValidDate, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, getKeyRedisSortedSet };
|
|
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, };
|
|
@@ -647,6 +647,23 @@ var getModelDataAdicional = function getModelDataAdicional(queueName) {
|
|
|
647
647
|
};
|
|
648
648
|
};
|
|
649
649
|
|
|
650
|
+
function validateNoLookup(input) {
|
|
651
|
+
if (Array.isArray(input)) {
|
|
652
|
+
input.forEach(function (item) {
|
|
653
|
+
return validateNoLookup(item);
|
|
654
|
+
});
|
|
655
|
+
} else if (typeof input === 'object' && input !== null) {
|
|
656
|
+
for (var key in input) {
|
|
657
|
+
var value = input[key];
|
|
658
|
+
if (key === '$lookup') {
|
|
659
|
+
throw new Error('No está permitido $lookup para consultas con Redis');
|
|
660
|
+
} else if (typeof value === 'object' && value !== null) {
|
|
661
|
+
validateNoLookup(value);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
|
|
650
667
|
function ObtenerPrecioContratistaVigente(_ref) {
|
|
651
668
|
var actividad = _ref.actividad,
|
|
652
669
|
FechaVerificar = _ref.FechaVerificar;
|
|
@@ -2258,4 +2275,5 @@ exports.mapaReglaSopladoTroncal = mapaReglaSopladoTroncal;
|
|
|
2258
2275
|
exports.obtenerDocumentacionClientes = obtenerDocumentacionClientes;
|
|
2259
2276
|
exports.obtenerDocumentacionNoClientes = obtenerDocumentacionNoClientes;
|
|
2260
2277
|
exports.paisMap = paisMap;
|
|
2278
|
+
exports.validateNoLookup = validateNoLookup;
|
|
2261
2279
|
//# sourceMappingURL=sigo-package.cjs.development.js.map
|