sigo-package 1.2.177 → 1.2.179
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 +172 -1
- package/dist/index.d.ts +172 -1
- package/dist/index.js +544 -266
- package/dist/index.mjs +513 -266
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -210,6 +210,129 @@ interface ILineaValidacion {
|
|
|
210
210
|
declare function ValidarRelacionMOHijasAL04(moUo: MoUoType$2[], manoObraDB: any): IResultadoValidacionMOHijas[];
|
|
211
211
|
declare function FormatearErrorValidacionMOHijas(violaciones: IResultadoValidacionMOHijas[]): string | null;
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Reglas de Preliquidar AL04 compartidas por la PWA (formulario) y pex-procesos (motor en el servidor).
|
|
215
|
+
* Legacy: sigo-pwa-mobile TrabajosDEAL04/Preliquidar y TrabajosDEAL04/DocHP; sic-backend TrabajosService/UpdateTrabajo.js.
|
|
216
|
+
* Son reglas propias de AL04: no se mezclan con las de AL02.
|
|
217
|
+
*/
|
|
218
|
+
/** Tipo de preliquidación: troncal o por HomePass (Clientes = Residential, No Clientes = Business) */
|
|
219
|
+
type TipoPreliquidacionAL04 = 'Troncal' | 'Residential' | 'Business';
|
|
220
|
+
/** Material consumido del almacén (todo lo que no es ducto) */
|
|
221
|
+
declare const motivoConsumoAlmacenAL04 = "CONSUMO_MATERIAL_AUTOMATICO_DUCTOS";
|
|
222
|
+
declare const estadoRechazadaPorMetrajeAL04 = "RECHAZADA POR METRAJE";
|
|
223
|
+
/** Asignaciones que no se preliquidan (getDataAsignaciones: UseCasePreLiquidationProcesses.ts L28) */
|
|
224
|
+
declare const codMONoPreliquidablesAL04: string[];
|
|
225
|
+
/** Baliza: una por AddressID entre los trabajos de la GOM (verificarUnaBalizaXDireccion.js) */
|
|
226
|
+
declare const codBalizaPreliquidarAL04 = "HP01";
|
|
227
|
+
/** Baremo único por DP: solo una valorización activa entre los trabajos de la GOM (verificarBaremoUnicoXDP.js) */
|
|
228
|
+
declare const codBaremoUnicoDPAL04: string[];
|
|
229
|
+
/** AP02 y ExtraWide no pueden superar lo preliquidado de AP01 en la obra (UpdateTrabajo.js L10-29, L330-347) */
|
|
230
|
+
declare const codMOAsfaltoMadreAL04 = "AP01";
|
|
231
|
+
declare const codMOAsfaltoHijasAL04: string[];
|
|
232
|
+
/** MO que se puede preliquidar en troncal (Preliquidar/Components/View.tsx L143) */
|
|
233
|
+
declare const codMOPreliquidarTroncalAL04: string[];
|
|
234
|
+
/** MO permitida por HomePass: No Clientes codMOFTTFAL04 (HP01); Clientes codMODROPAL04 (DocHP/Components/Documentacion.tsx L179-187) */
|
|
235
|
+
declare function obtenerCodMOHomePassAL04(tipo: Exclude<TipoPreliquidacionAL04, 'Troncal'>): string[];
|
|
236
|
+
type EstadoCierreAL04 = {
|
|
237
|
+
Estado: unknown;
|
|
238
|
+
Especialidad: string;
|
|
239
|
+
} | undefined;
|
|
240
|
+
/** Cierres OC / ASPH / SOP del trabajo (Ultima_PreLiquidacion) o del HomePass */
|
|
241
|
+
interface CierresPreliquidarAL04 {
|
|
242
|
+
Asfaltado?: EstadoCierreAL04;
|
|
243
|
+
OC?: EstadoCierreAL04;
|
|
244
|
+
Soplado?: EstadoCierreAL04;
|
|
245
|
+
}
|
|
246
|
+
/** Especialidades ocultas tras un cierre: solo si OC está cerrada (filtro `arr[1]`, Preliquidar/Components/View.tsx L144-151) */
|
|
247
|
+
declare function obtenerEspecialidadesCerradasAL04(cierres: CierresPreliquidarAL04): string[];
|
|
248
|
+
/**
|
|
249
|
+
* La asignación se puede preliquidar en ese tipo: MO troncal o permitida para el HomePass y sin especialidad cerrada.
|
|
250
|
+
* El estado de la asignación y codMONoPreliquidablesAL04 se comprueban aparte (getDataAsignaciones del legacy).
|
|
251
|
+
*/
|
|
252
|
+
declare function esAsignacionPreliquidableAL04(asignacion: {
|
|
253
|
+
ManoObra: {
|
|
254
|
+
Codigo: string;
|
|
255
|
+
};
|
|
256
|
+
Especialidad: {
|
|
257
|
+
Codigo: string;
|
|
258
|
+
};
|
|
259
|
+
}, tipo: TipoPreliquidacionAL04, especialidadesCerradas: string[]): boolean;
|
|
260
|
+
/** Ductos: se consumen del stock personal (técnico); el resto, del almacén */
|
|
261
|
+
declare const esMaterialDuctoAL04: (codigo: string) => boolean;
|
|
262
|
+
/** Materiales que no se muestran en el stock personal porque se añaden como hijos de un ducto (generarDataMaterial.ts L15) */
|
|
263
|
+
declare const codMaterialesOcultosAL04: string[];
|
|
264
|
+
/**
|
|
265
|
+
* Cómo se informan los materiales de la MO:
|
|
266
|
+
* - automatico: el mapa fija los materiales (GD01, HP01, NVT01) y se añaden solos
|
|
267
|
+
* - elegir: solo se pueden elegir los materiales del mapa (ductos de obra civil y soplado)
|
|
268
|
+
* - sinMaterial: la MO no lleva materiales (AP02, EXTRA01, PP01…)
|
|
269
|
+
* - libre: la MO no está en el mapa; se puede elegir cualquier material (p. ej. ExtraWide AP02_*)
|
|
270
|
+
*/
|
|
271
|
+
type ModoMaterialesAL04 = 'automatico' | 'elegir' | 'sinMaterial' | 'libre';
|
|
272
|
+
declare function modoMaterialesAL04(codMO: string): ModoMaterialesAL04;
|
|
273
|
+
/** Cantidad fija de la MO (HP01, NVT01 = 1): el campo queda deshabilitado (FormAdd.tsx L366-367, L474-479) */
|
|
274
|
+
declare function cantidadFijaMOAL04(codMO: string): number | undefined;
|
|
275
|
+
interface MaterialRequeridoAL04 {
|
|
276
|
+
Codigo: string;
|
|
277
|
+
Cantidad: number;
|
|
278
|
+
/** Ducto: stock personal; si no, stock de almacén */
|
|
279
|
+
StockPersonal: boolean;
|
|
280
|
+
}
|
|
281
|
+
/** Materiales automáticos: (CantidadFija ? Cantidad : cantidad de MO) × Factor (verificarReglas, FormAdd.tsx L255-297) */
|
|
282
|
+
declare function materialesAutomaticosAL04(codMO: string, cantidadMO: number): MaterialRequeridoAL04[];
|
|
283
|
+
/** Códigos que se pueden elegir; undefined si la MO no restringe los materiales (AddedMaterial.tsx L263-271) */
|
|
284
|
+
declare function materialesSeleccionablesAL04(codMO: string): string[] | undefined;
|
|
285
|
+
interface CantidadMaterialAL04 {
|
|
286
|
+
/** Cantidad que se fija al elegir el material; undefined si la informa el usuario */
|
|
287
|
+
Cantidad?: number;
|
|
288
|
+
Bloqueada: boolean;
|
|
289
|
+
/** El material lleva hijos (conectores / empalmes) cuya cantidad son los empalmes × Factor */
|
|
290
|
+
PideEmpalmes: boolean;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Cantidad del material elegido (AddedMaterial.tsx L194-219): CantidadPadre = cantidad de MO × Factor;
|
|
294
|
+
* CantidadFija = Cantidad × Factor. Si sus hijos no tienen cantidad fija, se piden los empalmes.
|
|
295
|
+
*/
|
|
296
|
+
declare function cantidadMaterialAL04(codMO: string, codMaterial: string, cantidadMO: number): CantidadMaterialAL04;
|
|
297
|
+
/**
|
|
298
|
+
* Hijos del material elegido (agregarSubMateriales, AddedMaterial.tsx L113-156):
|
|
299
|
+
* (CantidadFija ? Cantidad : CantidadPadre ? cantidad del material : empalmes) × Factor.
|
|
300
|
+
* Sin empalmes no se añaden; si no hay forma de obtener la cantidad es error.
|
|
301
|
+
*/
|
|
302
|
+
declare function subMaterialesAL04(codMO: string, codMaterial: string, cantidadMaterial: number, empalmes: number): MaterialRequeridoAL04[];
|
|
303
|
+
/**
|
|
304
|
+
* División por exceso (UseCasePreliquidar.ts L438-469): los ductos se reparten entre la valorización padre y la hija
|
|
305
|
+
* según la cantidad de cada una; el resto de materiales queda en el padre.
|
|
306
|
+
* Decisión 2026-10-14: el padre se redondea a 2 decimales y la hija lleva el total menos el padre.
|
|
307
|
+
*/
|
|
308
|
+
declare function prorratearMaterialesAL04<T extends {
|
|
309
|
+
Codigo: string;
|
|
310
|
+
Cantidad: number;
|
|
311
|
+
CantidadInformada: number;
|
|
312
|
+
}>(materiales: T[], cantidadPadre: number, cantidadTotal: number): {
|
|
313
|
+
padre: T[];
|
|
314
|
+
hija: T[];
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Lo preliquidado en la obra de AP02 + ExtraWide no puede superar a AP01 (tolerancia 0.001). Solo se valida si
|
|
318
|
+
* la preliquidación incluye alguno de esos códigos. Devuelve el mensaje de error o null.
|
|
319
|
+
* @param moUo resumen de todos los trabajos de la obra (CalcularResumenValorizacionesAlemania)
|
|
320
|
+
* @param manoObra ManoObra de la GOM: diccionario LineaCodigoCub → código de la MO
|
|
321
|
+
* @param codigosNuevos códigos de MO de las valorizaciones nuevas
|
|
322
|
+
*/
|
|
323
|
+
declare function validarAsfaltoAL04(moUo: {
|
|
324
|
+
LineaCodigoCub: string;
|
|
325
|
+
Cantidad: number;
|
|
326
|
+
}[], manoObra: {
|
|
327
|
+
Valorizacion: {
|
|
328
|
+
Codigo: string;
|
|
329
|
+
Descripcion?: string;
|
|
330
|
+
DetalleChile?: {
|
|
331
|
+
LineaCodigoCub?: string;
|
|
332
|
+
};
|
|
333
|
+
}[];
|
|
334
|
+
}, codigosNuevos: string[]): string | null;
|
|
335
|
+
|
|
213
336
|
declare const codMOTroncalAL02OC: never[];
|
|
214
337
|
declare const codMOTroncalAL02Soplado: never[];
|
|
215
338
|
declare const codMOTroncalAL02Asfaltado: never[];
|
|
@@ -268,6 +391,54 @@ declare const codIssueByPeriodoAL02: {
|
|
|
268
391
|
codPeriodo: string;
|
|
269
392
|
}[];
|
|
270
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Reglas de Preliquidar AL02 compartidas por la PWA (formulario) y pex-procesos (motor en el servidor).
|
|
396
|
+
* Legacy: sigo-pwa-mobile TrabajosDE/Preliquidar y TrabajosDE/DocHP.
|
|
397
|
+
*/
|
|
398
|
+
/** Tipo de preliquidación: troncal o por HomePass (Clientes = Residential, No Clientes = Business) */
|
|
399
|
+
type TipoPreliquidacionAL02 = 'Troncal' | 'Residential' | 'Business';
|
|
400
|
+
/** MO que no se preliquida ni en troncal ni por HomePass */
|
|
401
|
+
declare const codMOExcluidos: string[];
|
|
402
|
+
/** Baliza: una por AddressID y cantidad fija 1 */
|
|
403
|
+
declare const codBalizaAL02 = "073006000";
|
|
404
|
+
/** Baremos de subcontrata: en troncal piden el tipo (Asphalt / Trenching), que se guarda en DetalleChile.CodigoBarra */
|
|
405
|
+
declare const codigosBaremosSubcontrataAL02: string[];
|
|
406
|
+
/** Motivo del material consumido del almacén (UGG) o del conector de un ducto */
|
|
407
|
+
declare const motivoConsumoMaterialAutomaticoDuctos = "CONSUMO_MATERIAL_AUTOMATICO_DUCTOS";
|
|
408
|
+
declare const estadoRechazadaPorMetraje = "RECHAZADA POR METRAJE";
|
|
409
|
+
/** Códigos de soplado (addCodigosSoplado del legacy): por HomePass su disponible es 0 (HPListMO nunca se cargaba) */
|
|
410
|
+
declare const codigosSopladoHP: string[];
|
|
411
|
+
/** MO que se puede preliquidar en troncal (filtro de Preliquidar/Components/View.tsx) */
|
|
412
|
+
declare const codMOPreliquidarTroncalAL02: string[];
|
|
413
|
+
/** MO permitida por HomePass: No Clientes codNoCliente; Clientes codClientes + codSopladoRD (DocHP/Components/View.tsx L390-393) */
|
|
414
|
+
declare function obtenerCodMOHomePass(tipo: Exclude<TipoPreliquidacionAL02, 'Troncal'>): string[];
|
|
415
|
+
type EstadoCierre = {
|
|
416
|
+
Estado: unknown;
|
|
417
|
+
Especialidad: string;
|
|
418
|
+
} | undefined;
|
|
419
|
+
/** Cierres OC / ASPH / SOP del trabajo (Ultima_PreLiquidacion) o del HomePass */
|
|
420
|
+
interface CierresPreliquidarAL02 {
|
|
421
|
+
Asfaltado?: EstadoCierre;
|
|
422
|
+
OC?: EstadoCierre;
|
|
423
|
+
Soplado?: EstadoCierre;
|
|
424
|
+
}
|
|
425
|
+
/** Especialidades ocultas tras un cierre: solo si OC está cerrada (filtro `arr[1]` del legacy) */
|
|
426
|
+
declare function obtenerEspecialidadesCerradas(cierres: CierresPreliquidarAL02): string[];
|
|
427
|
+
/**
|
|
428
|
+
* La asignación se puede preliquidar en ese tipo: MO troncal o permitida para el HomePass, sin codMOExcluidos
|
|
429
|
+
* y sin especialidad cerrada. Las especialidades cerradas salen de obtenerEspecialidadesCerradas con los cierres
|
|
430
|
+
* del trabajo (troncal) o del HomePass.
|
|
431
|
+
* El estado de la asignación y codigosMOT1_F2 se comprueban aparte (getDataAsignaciones del legacy).
|
|
432
|
+
*/
|
|
433
|
+
declare function esAsignacionPreliquidableAL02(asignacion: {
|
|
434
|
+
ManoObra: {
|
|
435
|
+
Codigo: string;
|
|
436
|
+
};
|
|
437
|
+
Especialidad: {
|
|
438
|
+
Codigo: string;
|
|
439
|
+
};
|
|
440
|
+
}, tipo: TipoPreliquidacionAL02, especialidadesCerradas: string[]): boolean;
|
|
441
|
+
|
|
271
442
|
interface typeHPMOUtilizado {
|
|
272
443
|
ID_HPListMO: number;
|
|
273
444
|
CantidadUtilizado: number;
|
|
@@ -925,4 +1096,4 @@ declare function getCookieToken(req: Request<any>, webOrigins: string[]): string
|
|
|
925
1096
|
|
|
926
1097
|
declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
|
|
927
1098
|
|
|
928
|
-
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, SOMACYL_CODIGO_CONTADOR_RETIRADO, SOMACYL_PHOTO_POSITIONS, type SomacylPhotoKey, 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, documentRequirementAltasNVT, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getCaptureDateSomacyl, getChannelName, getContainerName, getCookieToken, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, getRequestOrigin, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, throwSomacylError, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
|
|
1099
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenLiquidacionesColombia, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, AsignacionHelper, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenLiquidacionesColombia, CalcularResumenValorizacionesAlemania, type CantidadMaterialAL04, type CierresPreliquidarAL02, type CierresPreliquidarAL04, 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 MaterialRequeridoAL04, type MoUoType$2 as MoUoType, ModelDataFlujosDocumentacionReplanteo, type ModoMaterialesAL04, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, type ResumenLiquidacionesTypeColombia, SEGMENT_TY, SOMACYL_CODIGO_CONTADOR_RETIRADO, SOMACYL_PHOTO_POSITIONS, type SomacylPhotoKey, type TARGET, type TipoPreliquidacionAL02, type TipoPreliquidacionAL04, UpdateNodosDocDP, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularTotalMaterialValorizacionPeru9112, cantidadFijaMOAL04, cantidadMaterialAL04, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL02, codBalizaAL04, codBalizaPreliquidarAL04, codBaremoUnicoDPAL04, codClientes, codIssueByPeriodoAL02, codMOAsfaltoHijasAL04, codMOAsfaltoMadreAL04, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOExcluidos, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMONoPreliquidablesAL04, codMOOcultosAL04, codMOPreliquidarTroncalAL02, codMOPreliquidarTroncalAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04Issue, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncalHistoricoAL02, codMOTroncal_ReglaLiquidacion1, codMaterialesOcultosAL04, codNoCliente, codSopladoRD, codigosBaremosSubcontrataAL02, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, codigosSopladoHP, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirementAltasNVT, empresas, esAsignacionPreliquidableAL02, esAsignacionPreliquidableAL04, esCadenaFechaISOValida, esMaterialDuctoAL04, esObjetoFecha, estadoRechazadaPorMetraje, estadoRechazadaPorMetrajeAL04, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getCaptureDateSomacyl, getChannelName, getContainerName, getCookieToken, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, getRequestOrigin, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, materialesAutomaticosAL04, materialesSeleccionablesAL04, modoMaterialesAL04, motivoConsumoAlmacenAL04, motivoConsumoMaterialAutomaticoDuctos, newCodMOTroncalReglaLiquidacion1, obtenerCodMOHomePass, obtenerCodMOHomePassAL04, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerEspecialidadesCerradas, obtenerEspecialidadesCerradasAL04, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, prorratearMaterialesAL04, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, subMaterialesAL04, throwSomacylError, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validarAsfaltoAL04, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
|
package/dist/index.d.ts
CHANGED
|
@@ -210,6 +210,129 @@ interface ILineaValidacion {
|
|
|
210
210
|
declare function ValidarRelacionMOHijasAL04(moUo: MoUoType$2[], manoObraDB: any): IResultadoValidacionMOHijas[];
|
|
211
211
|
declare function FormatearErrorValidacionMOHijas(violaciones: IResultadoValidacionMOHijas[]): string | null;
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Reglas de Preliquidar AL04 compartidas por la PWA (formulario) y pex-procesos (motor en el servidor).
|
|
215
|
+
* Legacy: sigo-pwa-mobile TrabajosDEAL04/Preliquidar y TrabajosDEAL04/DocHP; sic-backend TrabajosService/UpdateTrabajo.js.
|
|
216
|
+
* Son reglas propias de AL04: no se mezclan con las de AL02.
|
|
217
|
+
*/
|
|
218
|
+
/** Tipo de preliquidación: troncal o por HomePass (Clientes = Residential, No Clientes = Business) */
|
|
219
|
+
type TipoPreliquidacionAL04 = 'Troncal' | 'Residential' | 'Business';
|
|
220
|
+
/** Material consumido del almacén (todo lo que no es ducto) */
|
|
221
|
+
declare const motivoConsumoAlmacenAL04 = "CONSUMO_MATERIAL_AUTOMATICO_DUCTOS";
|
|
222
|
+
declare const estadoRechazadaPorMetrajeAL04 = "RECHAZADA POR METRAJE";
|
|
223
|
+
/** Asignaciones que no se preliquidan (getDataAsignaciones: UseCasePreLiquidationProcesses.ts L28) */
|
|
224
|
+
declare const codMONoPreliquidablesAL04: string[];
|
|
225
|
+
/** Baliza: una por AddressID entre los trabajos de la GOM (verificarUnaBalizaXDireccion.js) */
|
|
226
|
+
declare const codBalizaPreliquidarAL04 = "HP01";
|
|
227
|
+
/** Baremo único por DP: solo una valorización activa entre los trabajos de la GOM (verificarBaremoUnicoXDP.js) */
|
|
228
|
+
declare const codBaremoUnicoDPAL04: string[];
|
|
229
|
+
/** AP02 y ExtraWide no pueden superar lo preliquidado de AP01 en la obra (UpdateTrabajo.js L10-29, L330-347) */
|
|
230
|
+
declare const codMOAsfaltoMadreAL04 = "AP01";
|
|
231
|
+
declare const codMOAsfaltoHijasAL04: string[];
|
|
232
|
+
/** MO que se puede preliquidar en troncal (Preliquidar/Components/View.tsx L143) */
|
|
233
|
+
declare const codMOPreliquidarTroncalAL04: string[];
|
|
234
|
+
/** MO permitida por HomePass: No Clientes codMOFTTFAL04 (HP01); Clientes codMODROPAL04 (DocHP/Components/Documentacion.tsx L179-187) */
|
|
235
|
+
declare function obtenerCodMOHomePassAL04(tipo: Exclude<TipoPreliquidacionAL04, 'Troncal'>): string[];
|
|
236
|
+
type EstadoCierreAL04 = {
|
|
237
|
+
Estado: unknown;
|
|
238
|
+
Especialidad: string;
|
|
239
|
+
} | undefined;
|
|
240
|
+
/** Cierres OC / ASPH / SOP del trabajo (Ultima_PreLiquidacion) o del HomePass */
|
|
241
|
+
interface CierresPreliquidarAL04 {
|
|
242
|
+
Asfaltado?: EstadoCierreAL04;
|
|
243
|
+
OC?: EstadoCierreAL04;
|
|
244
|
+
Soplado?: EstadoCierreAL04;
|
|
245
|
+
}
|
|
246
|
+
/** Especialidades ocultas tras un cierre: solo si OC está cerrada (filtro `arr[1]`, Preliquidar/Components/View.tsx L144-151) */
|
|
247
|
+
declare function obtenerEspecialidadesCerradasAL04(cierres: CierresPreliquidarAL04): string[];
|
|
248
|
+
/**
|
|
249
|
+
* La asignación se puede preliquidar en ese tipo: MO troncal o permitida para el HomePass y sin especialidad cerrada.
|
|
250
|
+
* El estado de la asignación y codMONoPreliquidablesAL04 se comprueban aparte (getDataAsignaciones del legacy).
|
|
251
|
+
*/
|
|
252
|
+
declare function esAsignacionPreliquidableAL04(asignacion: {
|
|
253
|
+
ManoObra: {
|
|
254
|
+
Codigo: string;
|
|
255
|
+
};
|
|
256
|
+
Especialidad: {
|
|
257
|
+
Codigo: string;
|
|
258
|
+
};
|
|
259
|
+
}, tipo: TipoPreliquidacionAL04, especialidadesCerradas: string[]): boolean;
|
|
260
|
+
/** Ductos: se consumen del stock personal (técnico); el resto, del almacén */
|
|
261
|
+
declare const esMaterialDuctoAL04: (codigo: string) => boolean;
|
|
262
|
+
/** Materiales que no se muestran en el stock personal porque se añaden como hijos de un ducto (generarDataMaterial.ts L15) */
|
|
263
|
+
declare const codMaterialesOcultosAL04: string[];
|
|
264
|
+
/**
|
|
265
|
+
* Cómo se informan los materiales de la MO:
|
|
266
|
+
* - automatico: el mapa fija los materiales (GD01, HP01, NVT01) y se añaden solos
|
|
267
|
+
* - elegir: solo se pueden elegir los materiales del mapa (ductos de obra civil y soplado)
|
|
268
|
+
* - sinMaterial: la MO no lleva materiales (AP02, EXTRA01, PP01…)
|
|
269
|
+
* - libre: la MO no está en el mapa; se puede elegir cualquier material (p. ej. ExtraWide AP02_*)
|
|
270
|
+
*/
|
|
271
|
+
type ModoMaterialesAL04 = 'automatico' | 'elegir' | 'sinMaterial' | 'libre';
|
|
272
|
+
declare function modoMaterialesAL04(codMO: string): ModoMaterialesAL04;
|
|
273
|
+
/** Cantidad fija de la MO (HP01, NVT01 = 1): el campo queda deshabilitado (FormAdd.tsx L366-367, L474-479) */
|
|
274
|
+
declare function cantidadFijaMOAL04(codMO: string): number | undefined;
|
|
275
|
+
interface MaterialRequeridoAL04 {
|
|
276
|
+
Codigo: string;
|
|
277
|
+
Cantidad: number;
|
|
278
|
+
/** Ducto: stock personal; si no, stock de almacén */
|
|
279
|
+
StockPersonal: boolean;
|
|
280
|
+
}
|
|
281
|
+
/** Materiales automáticos: (CantidadFija ? Cantidad : cantidad de MO) × Factor (verificarReglas, FormAdd.tsx L255-297) */
|
|
282
|
+
declare function materialesAutomaticosAL04(codMO: string, cantidadMO: number): MaterialRequeridoAL04[];
|
|
283
|
+
/** Códigos que se pueden elegir; undefined si la MO no restringe los materiales (AddedMaterial.tsx L263-271) */
|
|
284
|
+
declare function materialesSeleccionablesAL04(codMO: string): string[] | undefined;
|
|
285
|
+
interface CantidadMaterialAL04 {
|
|
286
|
+
/** Cantidad que se fija al elegir el material; undefined si la informa el usuario */
|
|
287
|
+
Cantidad?: number;
|
|
288
|
+
Bloqueada: boolean;
|
|
289
|
+
/** El material lleva hijos (conectores / empalmes) cuya cantidad son los empalmes × Factor */
|
|
290
|
+
PideEmpalmes: boolean;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Cantidad del material elegido (AddedMaterial.tsx L194-219): CantidadPadre = cantidad de MO × Factor;
|
|
294
|
+
* CantidadFija = Cantidad × Factor. Si sus hijos no tienen cantidad fija, se piden los empalmes.
|
|
295
|
+
*/
|
|
296
|
+
declare function cantidadMaterialAL04(codMO: string, codMaterial: string, cantidadMO: number): CantidadMaterialAL04;
|
|
297
|
+
/**
|
|
298
|
+
* Hijos del material elegido (agregarSubMateriales, AddedMaterial.tsx L113-156):
|
|
299
|
+
* (CantidadFija ? Cantidad : CantidadPadre ? cantidad del material : empalmes) × Factor.
|
|
300
|
+
* Sin empalmes no se añaden; si no hay forma de obtener la cantidad es error.
|
|
301
|
+
*/
|
|
302
|
+
declare function subMaterialesAL04(codMO: string, codMaterial: string, cantidadMaterial: number, empalmes: number): MaterialRequeridoAL04[];
|
|
303
|
+
/**
|
|
304
|
+
* División por exceso (UseCasePreliquidar.ts L438-469): los ductos se reparten entre la valorización padre y la hija
|
|
305
|
+
* según la cantidad de cada una; el resto de materiales queda en el padre.
|
|
306
|
+
* Decisión 2026-10-14: el padre se redondea a 2 decimales y la hija lleva el total menos el padre.
|
|
307
|
+
*/
|
|
308
|
+
declare function prorratearMaterialesAL04<T extends {
|
|
309
|
+
Codigo: string;
|
|
310
|
+
Cantidad: number;
|
|
311
|
+
CantidadInformada: number;
|
|
312
|
+
}>(materiales: T[], cantidadPadre: number, cantidadTotal: number): {
|
|
313
|
+
padre: T[];
|
|
314
|
+
hija: T[];
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Lo preliquidado en la obra de AP02 + ExtraWide no puede superar a AP01 (tolerancia 0.001). Solo se valida si
|
|
318
|
+
* la preliquidación incluye alguno de esos códigos. Devuelve el mensaje de error o null.
|
|
319
|
+
* @param moUo resumen de todos los trabajos de la obra (CalcularResumenValorizacionesAlemania)
|
|
320
|
+
* @param manoObra ManoObra de la GOM: diccionario LineaCodigoCub → código de la MO
|
|
321
|
+
* @param codigosNuevos códigos de MO de las valorizaciones nuevas
|
|
322
|
+
*/
|
|
323
|
+
declare function validarAsfaltoAL04(moUo: {
|
|
324
|
+
LineaCodigoCub: string;
|
|
325
|
+
Cantidad: number;
|
|
326
|
+
}[], manoObra: {
|
|
327
|
+
Valorizacion: {
|
|
328
|
+
Codigo: string;
|
|
329
|
+
Descripcion?: string;
|
|
330
|
+
DetalleChile?: {
|
|
331
|
+
LineaCodigoCub?: string;
|
|
332
|
+
};
|
|
333
|
+
}[];
|
|
334
|
+
}, codigosNuevos: string[]): string | null;
|
|
335
|
+
|
|
213
336
|
declare const codMOTroncalAL02OC: never[];
|
|
214
337
|
declare const codMOTroncalAL02Soplado: never[];
|
|
215
338
|
declare const codMOTroncalAL02Asfaltado: never[];
|
|
@@ -268,6 +391,54 @@ declare const codIssueByPeriodoAL02: {
|
|
|
268
391
|
codPeriodo: string;
|
|
269
392
|
}[];
|
|
270
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Reglas de Preliquidar AL02 compartidas por la PWA (formulario) y pex-procesos (motor en el servidor).
|
|
396
|
+
* Legacy: sigo-pwa-mobile TrabajosDE/Preliquidar y TrabajosDE/DocHP.
|
|
397
|
+
*/
|
|
398
|
+
/** Tipo de preliquidación: troncal o por HomePass (Clientes = Residential, No Clientes = Business) */
|
|
399
|
+
type TipoPreliquidacionAL02 = 'Troncal' | 'Residential' | 'Business';
|
|
400
|
+
/** MO que no se preliquida ni en troncal ni por HomePass */
|
|
401
|
+
declare const codMOExcluidos: string[];
|
|
402
|
+
/** Baliza: una por AddressID y cantidad fija 1 */
|
|
403
|
+
declare const codBalizaAL02 = "073006000";
|
|
404
|
+
/** Baremos de subcontrata: en troncal piden el tipo (Asphalt / Trenching), que se guarda en DetalleChile.CodigoBarra */
|
|
405
|
+
declare const codigosBaremosSubcontrataAL02: string[];
|
|
406
|
+
/** Motivo del material consumido del almacén (UGG) o del conector de un ducto */
|
|
407
|
+
declare const motivoConsumoMaterialAutomaticoDuctos = "CONSUMO_MATERIAL_AUTOMATICO_DUCTOS";
|
|
408
|
+
declare const estadoRechazadaPorMetraje = "RECHAZADA POR METRAJE";
|
|
409
|
+
/** Códigos de soplado (addCodigosSoplado del legacy): por HomePass su disponible es 0 (HPListMO nunca se cargaba) */
|
|
410
|
+
declare const codigosSopladoHP: string[];
|
|
411
|
+
/** MO que se puede preliquidar en troncal (filtro de Preliquidar/Components/View.tsx) */
|
|
412
|
+
declare const codMOPreliquidarTroncalAL02: string[];
|
|
413
|
+
/** MO permitida por HomePass: No Clientes codNoCliente; Clientes codClientes + codSopladoRD (DocHP/Components/View.tsx L390-393) */
|
|
414
|
+
declare function obtenerCodMOHomePass(tipo: Exclude<TipoPreliquidacionAL02, 'Troncal'>): string[];
|
|
415
|
+
type EstadoCierre = {
|
|
416
|
+
Estado: unknown;
|
|
417
|
+
Especialidad: string;
|
|
418
|
+
} | undefined;
|
|
419
|
+
/** Cierres OC / ASPH / SOP del trabajo (Ultima_PreLiquidacion) o del HomePass */
|
|
420
|
+
interface CierresPreliquidarAL02 {
|
|
421
|
+
Asfaltado?: EstadoCierre;
|
|
422
|
+
OC?: EstadoCierre;
|
|
423
|
+
Soplado?: EstadoCierre;
|
|
424
|
+
}
|
|
425
|
+
/** Especialidades ocultas tras un cierre: solo si OC está cerrada (filtro `arr[1]` del legacy) */
|
|
426
|
+
declare function obtenerEspecialidadesCerradas(cierres: CierresPreliquidarAL02): string[];
|
|
427
|
+
/**
|
|
428
|
+
* La asignación se puede preliquidar en ese tipo: MO troncal o permitida para el HomePass, sin codMOExcluidos
|
|
429
|
+
* y sin especialidad cerrada. Las especialidades cerradas salen de obtenerEspecialidadesCerradas con los cierres
|
|
430
|
+
* del trabajo (troncal) o del HomePass.
|
|
431
|
+
* El estado de la asignación y codigosMOT1_F2 se comprueban aparte (getDataAsignaciones del legacy).
|
|
432
|
+
*/
|
|
433
|
+
declare function esAsignacionPreliquidableAL02(asignacion: {
|
|
434
|
+
ManoObra: {
|
|
435
|
+
Codigo: string;
|
|
436
|
+
};
|
|
437
|
+
Especialidad: {
|
|
438
|
+
Codigo: string;
|
|
439
|
+
};
|
|
440
|
+
}, tipo: TipoPreliquidacionAL02, especialidadesCerradas: string[]): boolean;
|
|
441
|
+
|
|
271
442
|
interface typeHPMOUtilizado {
|
|
272
443
|
ID_HPListMO: number;
|
|
273
444
|
CantidadUtilizado: number;
|
|
@@ -925,4 +1096,4 @@ declare function getCookieToken(req: Request<any>, webOrigins: string[]): string
|
|
|
925
1096
|
|
|
926
1097
|
declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
|
|
927
1098
|
|
|
928
|
-
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, SOMACYL_CODIGO_CONTADOR_RETIRADO, SOMACYL_PHOTO_POSITIONS, type SomacylPhotoKey, 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, documentRequirementAltasNVT, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getCaptureDateSomacyl, getChannelName, getContainerName, getCookieToken, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, getRequestOrigin, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, throwSomacylError, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
|
|
1099
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenLiquidacionesColombia, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, AsignacionHelper, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenLiquidacionesColombia, CalcularResumenValorizacionesAlemania, type CantidadMaterialAL04, type CierresPreliquidarAL02, type CierresPreliquidarAL04, 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 MaterialRequeridoAL04, type MoUoType$2 as MoUoType, ModelDataFlujosDocumentacionReplanteo, type ModoMaterialesAL04, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, type ResumenLiquidacionesTypeColombia, SEGMENT_TY, SOMACYL_CODIGO_CONTADOR_RETIRADO, SOMACYL_PHOTO_POSITIONS, type SomacylPhotoKey, type TARGET, type TipoPreliquidacionAL02, type TipoPreliquidacionAL04, UpdateNodosDocDP, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularTotalMaterialValorizacionPeru9112, cantidadFijaMOAL04, cantidadMaterialAL04, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL02, codBalizaAL04, codBalizaPreliquidarAL04, codBaremoUnicoDPAL04, codClientes, codIssueByPeriodoAL02, codMOAsfaltoHijasAL04, codMOAsfaltoMadreAL04, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOExcluidos, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMONoPreliquidablesAL04, codMOOcultosAL04, codMOPreliquidarTroncalAL02, codMOPreliquidarTroncalAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04Issue, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncalHistoricoAL02, codMOTroncal_ReglaLiquidacion1, codMaterialesOcultosAL04, codNoCliente, codSopladoRD, codigosBaremosSubcontrataAL02, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, codigosSopladoHP, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirementAltasNVT, empresas, esAsignacionPreliquidableAL02, esAsignacionPreliquidableAL04, esCadenaFechaISOValida, esMaterialDuctoAL04, esObjetoFecha, estadoRechazadaPorMetraje, estadoRechazadaPorMetrajeAL04, formatCurrencyV1, formatNumberSmart, formatNumberV1, formatPercentageV1, generateUniqueNumber, generateUniqueNumberArray, getCaptureDateSomacyl, getChannelName, getContainerName, getCookieToken, getDBName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getPriceMaterial, getQueueName, getQueueNameSaveOneNotification, getRequestOrigin, hashCode, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, mapeoZonasSimilares, materialesAutomaticosAL04, materialesSeleccionablesAL04, modoMaterialesAL04, motivoConsumoAlmacenAL04, motivoConsumoMaterialAutomaticoDuctos, newCodMOTroncalReglaLiquidacion1, obtenerCodMOHomePass, obtenerCodMOHomePassAL04, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerEspecialidadesCerradas, obtenerEspecialidadesCerradasAL04, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, parseDuplicateKeyError, prorratearMaterialesAL04, roundNumber, searchCurrentContractorSpecialtyPrice, setColModels, setContext, subMaterialesAL04, throwSomacylError, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validarAsfaltoAL04, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
|