sigo-package 1.2.40 → 1.2.41
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +6 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -99,6 +99,7 @@ interface IMORules {
|
|
|
99
99
|
key: string;
|
|
100
100
|
cantidad: number;
|
|
101
101
|
mo: IMOAndMaterialsRules;
|
|
102
|
+
materiales: string[];
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
interface IMateriales {
|
|
@@ -144,6 +145,8 @@ declare const mapaEstadoObraFaseAL02: Map<string, string>;
|
|
|
144
145
|
|
|
145
146
|
declare const mapaMOMaterialAL02: Map<string, IMOAndMaterialsRules>;
|
|
146
147
|
|
|
148
|
+
declare const newCodMOTroncalReglaLiquidacion1: string[];
|
|
149
|
+
|
|
147
150
|
interface typeHPMOUtilizado {
|
|
148
151
|
ID_HPListMO: number;
|
|
149
152
|
CantidadUtilizado: number;
|
|
@@ -537,4 +540,4 @@ declare function getContainerName(dirname: string): string;
|
|
|
537
540
|
|
|
538
541
|
declare function buildTenantCollectionName(countryName: string, delegation: string, collection: string): string;
|
|
539
542
|
|
|
540
|
-
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 IMORules, 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, buildDataMOFromMaterialRules, buildDataMaterialsRule, 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, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, 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 };
|
|
543
|
+
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 IMORules, 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, buildDataMOFromMaterialRules, buildDataMaterialsRule, 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, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Valorizacion, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ interface IMORules {
|
|
|
99
99
|
key: string;
|
|
100
100
|
cantidad: number;
|
|
101
101
|
mo: IMOAndMaterialsRules;
|
|
102
|
+
materiales: string[];
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
interface IMateriales {
|
|
@@ -144,6 +145,8 @@ declare const mapaEstadoObraFaseAL02: Map<string, string>;
|
|
|
144
145
|
|
|
145
146
|
declare const mapaMOMaterialAL02: Map<string, IMOAndMaterialsRules>;
|
|
146
147
|
|
|
148
|
+
declare const newCodMOTroncalReglaLiquidacion1: string[];
|
|
149
|
+
|
|
147
150
|
interface typeHPMOUtilizado {
|
|
148
151
|
ID_HPListMO: number;
|
|
149
152
|
CantidadUtilizado: number;
|
|
@@ -537,4 +540,4 @@ declare function getContainerName(dirname: string): string;
|
|
|
537
540
|
|
|
538
541
|
declare function buildTenantCollectionName(countryName: string, delegation: string, collection: string): string;
|
|
539
542
|
|
|
540
|
-
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 IMORules, 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, buildDataMOFromMaterialRules, buildDataMaterialsRule, 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, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, 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 };
|
|
543
|
+
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 IMORules, 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, buildDataMOFromMaterialRules, buildDataMaterialsRule, 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, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Valorizacion, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.js
CHANGED
|
@@ -118,6 +118,7 @@ __export(index_exports, {
|
|
|
118
118
|
mapaMOMaterialAL04: () => mapaMOMaterialAL04,
|
|
119
119
|
mapaReglaSopladoClientes: () => mapaReglaSopladoClientes,
|
|
120
120
|
mapaReglaSopladoTroncal: () => mapaReglaSopladoTroncal,
|
|
121
|
+
newCodMOTroncalReglaLiquidacion1: () => newCodMOTroncalReglaLiquidacion1,
|
|
121
122
|
obtenerDocumentacionClientes: () => obtenerDocumentacionClientes,
|
|
122
123
|
obtenerDocumentacionNoClientes: () => obtenerDocumentacionNoClientes,
|
|
123
124
|
obtenerPrecioManoObraAL02: () => obtenerPrecioManoObraAL02,
|
|
@@ -4285,7 +4286,7 @@ var mapaEstadoObraFaseAL02 = /* @__PURE__ */ new Map([
|
|
|
4285
4286
|
]);
|
|
4286
4287
|
|
|
4287
4288
|
// src/Programados/Alemania/AL02/buildPreliquidacionRules1.ts
|
|
4288
|
-
var
|
|
4289
|
+
var newCodMOTroncalReglaLiquidacion1 = [
|
|
4289
4290
|
"011304100",
|
|
4290
4291
|
"062605201",
|
|
4291
4292
|
"010600300",
|
|
@@ -4393,7 +4394,7 @@ function buildRulesMaterial() {
|
|
|
4393
4394
|
__name(buildRulesMaterial, "buildRulesMaterial");
|
|
4394
4395
|
function buildPreliquidacionRules1() {
|
|
4395
4396
|
const map = /* @__PURE__ */ new Map();
|
|
4396
|
-
|
|
4397
|
+
newCodMOTroncalReglaLiquidacion1.forEach((el) => {
|
|
4397
4398
|
const key = el;
|
|
4398
4399
|
const value = ![
|
|
4399
4400
|
"073006000"
|
|
@@ -6065,7 +6066,8 @@ function buildDataMOFromMaterialRules(key, ManoObra, Asignacion, Controller, Can
|
|
|
6065
6066
|
dataMORule.push({
|
|
6066
6067
|
cantidad,
|
|
6067
6068
|
key,
|
|
6068
|
-
mo: el
|
|
6069
|
+
mo: el,
|
|
6070
|
+
materiales: []
|
|
6069
6071
|
});
|
|
6070
6072
|
});
|
|
6071
6073
|
return dataMORule;
|
|
@@ -6817,6 +6819,7 @@ var getNextID_Valorizacion = /* @__PURE__ */ __name((valorizaciones) => {
|
|
|
6817
6819
|
mapaMOMaterialAL04,
|
|
6818
6820
|
mapaReglaSopladoClientes,
|
|
6819
6821
|
mapaReglaSopladoTroncal,
|
|
6822
|
+
newCodMOTroncalReglaLiquidacion1,
|
|
6820
6823
|
obtenerDocumentacionClientes,
|
|
6821
6824
|
obtenerDocumentacionNoClientes,
|
|
6822
6825
|
obtenerPrecioManoObraAL02,
|
package/dist/index.mjs
CHANGED
|
@@ -4154,7 +4154,7 @@ var mapaEstadoObraFaseAL02 = /* @__PURE__ */ new Map([
|
|
|
4154
4154
|
]);
|
|
4155
4155
|
|
|
4156
4156
|
// src/Programados/Alemania/AL02/buildPreliquidacionRules1.ts
|
|
4157
|
-
var
|
|
4157
|
+
var newCodMOTroncalReglaLiquidacion1 = [
|
|
4158
4158
|
"011304100",
|
|
4159
4159
|
"062605201",
|
|
4160
4160
|
"010600300",
|
|
@@ -4262,7 +4262,7 @@ function buildRulesMaterial() {
|
|
|
4262
4262
|
__name(buildRulesMaterial, "buildRulesMaterial");
|
|
4263
4263
|
function buildPreliquidacionRules1() {
|
|
4264
4264
|
const map = /* @__PURE__ */ new Map();
|
|
4265
|
-
|
|
4265
|
+
newCodMOTroncalReglaLiquidacion1.forEach((el) => {
|
|
4266
4266
|
const key = el;
|
|
4267
4267
|
const value = ![
|
|
4268
4268
|
"073006000"
|
|
@@ -5934,7 +5934,8 @@ function buildDataMOFromMaterialRules(key, ManoObra, Asignacion, Controller, Can
|
|
|
5934
5934
|
dataMORule.push({
|
|
5935
5935
|
cantidad,
|
|
5936
5936
|
key,
|
|
5937
|
-
mo: el
|
|
5937
|
+
mo: el,
|
|
5938
|
+
materiales: []
|
|
5938
5939
|
});
|
|
5939
5940
|
});
|
|
5940
5941
|
return dataMORule;
|
|
@@ -6685,6 +6686,7 @@ export {
|
|
|
6685
6686
|
mapaMOMaterialAL04,
|
|
6686
6687
|
mapaReglaSopladoClientes,
|
|
6687
6688
|
mapaReglaSopladoTroncal,
|
|
6689
|
+
newCodMOTroncalReglaLiquidacion1,
|
|
6688
6690
|
obtenerDocumentacionClientes,
|
|
6689
6691
|
obtenerDocumentacionNoClientes,
|
|
6690
6692
|
obtenerPrecioManoObraAL02,
|