sigo-package 1.2.30 → 1.2.32
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -317,7 +317,7 @@ declare function obtenerTipoYCodigoMO(codigoOriginal: string): {
|
|
|
317
317
|
CodigoMO: string;
|
|
318
318
|
};
|
|
319
319
|
|
|
320
|
-
declare function
|
|
320
|
+
declare function checkAndBuildMaterialsFromStock(Materiales: IMOAndMaterialsRules[], dataStockPersonal: StockPersonalENTITY[], dataStockAlmacen: StockAlmacenENTITY[], key: string, Controller: any): IMateriales[];
|
|
321
321
|
|
|
322
322
|
declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsRules>, dataStockPersonal: Pick<StockPersonalENTITY, 'ID_StockPersonal' | 'Item' | 'Lote'>[], dataStockAlmacen: Pick<StockAlmacenENTITY, 'ID_StockAlmacen' | 'Item' | 'Lote'>[], Controller: any): {
|
|
323
323
|
key: string;
|
|
@@ -327,7 +327,7 @@ declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsR
|
|
|
327
327
|
stock: "Personal" | "Almacen";
|
|
328
328
|
ID: number;
|
|
329
329
|
lote: string;
|
|
330
|
-
id:
|
|
330
|
+
id: string;
|
|
331
331
|
text: string;
|
|
332
332
|
}[];
|
|
333
333
|
|
|
@@ -521,4 +521,4 @@ declare function generateUniqueNumberArray(index: number): number;
|
|
|
521
521
|
|
|
522
522
|
declare function setContext(this: any, modules: __WebpackModuleApi.RequireContext): void;
|
|
523
523
|
|
|
524
|
-
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule,
|
|
524
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule, checkAndBuildMaterialsFromStock, 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, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Valorizacion, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare function obtenerTipoYCodigoMO(codigoOriginal: string): {
|
|
|
317
317
|
CodigoMO: string;
|
|
318
318
|
};
|
|
319
319
|
|
|
320
|
-
declare function
|
|
320
|
+
declare function checkAndBuildMaterialsFromStock(Materiales: IMOAndMaterialsRules[], dataStockPersonal: StockPersonalENTITY[], dataStockAlmacen: StockAlmacenENTITY[], key: string, Controller: any): IMateriales[];
|
|
321
321
|
|
|
322
322
|
declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsRules>, dataStockPersonal: Pick<StockPersonalENTITY, 'ID_StockPersonal' | 'Item' | 'Lote'>[], dataStockAlmacen: Pick<StockAlmacenENTITY, 'ID_StockAlmacen' | 'Item' | 'Lote'>[], Controller: any): {
|
|
323
323
|
key: string;
|
|
@@ -327,7 +327,7 @@ declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsR
|
|
|
327
327
|
stock: "Personal" | "Almacen";
|
|
328
328
|
ID: number;
|
|
329
329
|
lote: string;
|
|
330
|
-
id:
|
|
330
|
+
id: string;
|
|
331
331
|
text: string;
|
|
332
332
|
}[];
|
|
333
333
|
|
|
@@ -521,4 +521,4 @@ declare function generateUniqueNumberArray(index: number): number;
|
|
|
521
521
|
|
|
522
522
|
declare function setContext(this: any, modules: __WebpackModuleApi.RequireContext): void;
|
|
523
523
|
|
|
524
|
-
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule,
|
|
524
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule, checkAndBuildMaterialsFromStock, 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, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Valorizacion, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.js
CHANGED
|
@@ -59,7 +59,7 @@ __export(index_exports, {
|
|
|
59
59
|
SEGMENT_TY: () => SEGMENT_TY,
|
|
60
60
|
UpdateNodosDocDP: () => UpdateNodosDocDP,
|
|
61
61
|
buildDataMaterialsRule: () => buildDataMaterialsRule,
|
|
62
|
-
|
|
62
|
+
checkAndBuildMaterialsFromStock: () => checkAndBuildMaterialsFromStock,
|
|
63
63
|
codBalizaAL04: () => codBalizaAL04,
|
|
64
64
|
codClientes: () => codClientes,
|
|
65
65
|
codMOClientesAL02: () => codMOClientesAL02,
|
|
@@ -5916,8 +5916,8 @@ function consumirStockPersonal(codDelegacion, codigoMaterial) {
|
|
|
5916
5916
|
}
|
|
5917
5917
|
__name(consumirStockPersonal, "consumirStockPersonal");
|
|
5918
5918
|
|
|
5919
|
-
// src/Programados/Alemania/
|
|
5920
|
-
function
|
|
5919
|
+
// src/Programados/Alemania/checkAndBuildMaterialsFromStock.ts
|
|
5920
|
+
function checkAndBuildMaterialsFromStock(Materiales, dataStockPersonal, dataStockAlmacen, key, Controller) {
|
|
5921
5921
|
const errores = [];
|
|
5922
5922
|
for (const element of Materiales) {
|
|
5923
5923
|
const stockPersonal = consumirStockPersonal(Controller.Delegacion.Codigo, element.Codigo);
|
|
@@ -5957,7 +5957,7 @@ function checkAndBuildMaterialsFromPersonalStock(Materiales, dataStockPersonal,
|
|
|
5957
5957
|
}
|
|
5958
5958
|
return materiales;
|
|
5959
5959
|
}
|
|
5960
|
-
__name(
|
|
5960
|
+
__name(checkAndBuildMaterialsFromStock, "checkAndBuildMaterialsFromStock");
|
|
5961
5961
|
|
|
5962
5962
|
// src/Programados/Alemania/buildDataMaterialsRule.ts
|
|
5963
5963
|
function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen, Controller) {
|
|
@@ -5985,7 +5985,7 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
|
|
|
5985
5985
|
});
|
|
5986
5986
|
});
|
|
5987
5987
|
return dataMaterialsRule.map((e) => ({
|
|
5988
|
-
id: e.
|
|
5988
|
+
id: e.key,
|
|
5989
5989
|
text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim(),
|
|
5990
5990
|
...e
|
|
5991
5991
|
}));
|
|
@@ -6665,7 +6665,7 @@ var getNextID_Valorizacion = /* @__PURE__ */ __name((valorizaciones) => {
|
|
|
6665
6665
|
SEGMENT_TY,
|
|
6666
6666
|
UpdateNodosDocDP,
|
|
6667
6667
|
buildDataMaterialsRule,
|
|
6668
|
-
|
|
6668
|
+
checkAndBuildMaterialsFromStock,
|
|
6669
6669
|
codBalizaAL04,
|
|
6670
6670
|
codClientes,
|
|
6671
6671
|
codMOClientesAL02,
|
package/dist/index.mjs
CHANGED
|
@@ -5789,8 +5789,8 @@ function consumirStockPersonal(codDelegacion, codigoMaterial) {
|
|
|
5789
5789
|
}
|
|
5790
5790
|
__name(consumirStockPersonal, "consumirStockPersonal");
|
|
5791
5791
|
|
|
5792
|
-
// src/Programados/Alemania/
|
|
5793
|
-
function
|
|
5792
|
+
// src/Programados/Alemania/checkAndBuildMaterialsFromStock.ts
|
|
5793
|
+
function checkAndBuildMaterialsFromStock(Materiales, dataStockPersonal, dataStockAlmacen, key, Controller) {
|
|
5794
5794
|
const errores = [];
|
|
5795
5795
|
for (const element of Materiales) {
|
|
5796
5796
|
const stockPersonal = consumirStockPersonal(Controller.Delegacion.Codigo, element.Codigo);
|
|
@@ -5830,7 +5830,7 @@ function checkAndBuildMaterialsFromPersonalStock(Materiales, dataStockPersonal,
|
|
|
5830
5830
|
}
|
|
5831
5831
|
return materiales;
|
|
5832
5832
|
}
|
|
5833
|
-
__name(
|
|
5833
|
+
__name(checkAndBuildMaterialsFromStock, "checkAndBuildMaterialsFromStock");
|
|
5834
5834
|
|
|
5835
5835
|
// src/Programados/Alemania/buildDataMaterialsRule.ts
|
|
5836
5836
|
function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen, Controller) {
|
|
@@ -5858,7 +5858,7 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
|
|
|
5858
5858
|
});
|
|
5859
5859
|
});
|
|
5860
5860
|
return dataMaterialsRule.map((e) => ({
|
|
5861
|
-
id: e.
|
|
5861
|
+
id: e.key,
|
|
5862
5862
|
text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim(),
|
|
5863
5863
|
...e
|
|
5864
5864
|
}));
|
|
@@ -6537,7 +6537,7 @@ export {
|
|
|
6537
6537
|
SEGMENT_TY,
|
|
6538
6538
|
UpdateNodosDocDP,
|
|
6539
6539
|
buildDataMaterialsRule,
|
|
6540
|
-
|
|
6540
|
+
checkAndBuildMaterialsFromStock,
|
|
6541
6541
|
codBalizaAL04,
|
|
6542
6542
|
codClientes,
|
|
6543
6543
|
codMOClientesAL02,
|