sigo-package 1.2.182 → 1.2.183

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 CHANGED
@@ -994,6 +994,61 @@ declare function validarLineasDevolucionTR(lines: LineaDevolucionTR[], stock: St
994
994
  /** Igual que validarLineasDevolucionTR pero lanza el error (backend) */
995
995
  declare function verifyLineasDevolucionTR(lines: LineaDevolucionTR[], stock: StockEntregableDevolucionTR[], BadRequestException?: ClassConstructor<Error>): void;
996
996
 
997
+ /**
998
+ * Firma del despacho de almacén desde el móvil (sigo-pwa), pedida por la web (DespachoAlmacenDetalle).
999
+ * Comunicación directa web ↔ PWA por wsSIGO, sin backend:
1000
+ * - web → PWA: canal firmaDespachoCanalSolicitud(Identificacion del personal) → SOLICITAR / CANCELAR
1001
+ * - PWA → web: canal firmaDespachoCanalRespuesta(requestId) → ACEPTADA / RECHAZADA / FIRMADA
1002
+ */
1003
+ declare const FIRMA_DESPACHO_ACCIONES: {
1004
+ readonly SOLICITAR: "SOLICITAR";
1005
+ readonly CANCELAR: "CANCELAR";
1006
+ readonly ACEPTADA: "ACEPTADA";
1007
+ readonly RECHAZADA: "RECHAZADA";
1008
+ readonly FIRMADA: "FIRMADA";
1009
+ };
1010
+ /** Tiempos de espera de la web (ms): para que la PWA acepte y, una vez aceptada, para que firme */
1011
+ declare const FIRMA_DESPACHO_TIEMPOS: {
1012
+ readonly ACEPTAR: number;
1013
+ readonly FIRMAR: number;
1014
+ };
1015
+ declare const firmaDespachoCanalSolicitud: (identificacion: string) => string;
1016
+ declare const firmaDespachoCanalRespuesta: (requestId: string) => string;
1017
+ interface FirmaDespachoResumenDetalle {
1018
+ Codigo: string;
1019
+ Descripcion: string;
1020
+ UnidadMedida: string;
1021
+ Cantidad: number;
1022
+ }
1023
+ /** Lo que la web envía para que el personal vea qué firma */
1024
+ interface FirmaDespachoResumen {
1025
+ ID_DespachoAlmacen: number;
1026
+ NroDocumento: string;
1027
+ Almacen: string;
1028
+ Delegacion: string;
1029
+ Fecha: string;
1030
+ SolicitadoPor: string;
1031
+ Detalle: FirmaDespachoResumenDetalle[];
1032
+ }
1033
+ type FirmaDespachoSolicitud = {
1034
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.SOLICITAR;
1035
+ requestId: string;
1036
+ resumen: FirmaDespachoResumen;
1037
+ };
1038
+ type FirmaDespachoMensajeSolicitud = FirmaDespachoSolicitud | {
1039
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.CANCELAR;
1040
+ requestId: string;
1041
+ };
1042
+ /** imagen: data URL PNG (data:image/png;base64,...) */
1043
+ type FirmaDespachoMensajeRespuesta = {
1044
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.ACEPTADA | typeof FIRMA_DESPACHO_ACCIONES.RECHAZADA;
1045
+ requestId: string;
1046
+ } | {
1047
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.FIRMADA;
1048
+ requestId: string;
1049
+ imagen: string;
1050
+ };
1051
+
997
1052
  declare enum Position {
998
1053
  left = "left",
999
1054
  right = "right"
@@ -1178,4 +1233,4 @@ declare function getCookieToken(req: Request<any>, webOrigins: string[]): string
1178
1233
 
1179
1234
  declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
1180
1235
 
1181
- 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, DEVOLUCION_TR_ESTADOS, DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO, DocumentacionReplanteo, type ErrorLineaDevolucionTR, EstadoEspecialidad9612, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, type LineaDevolucionTR, 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 SaldoStockPersonal, type SomacylPhotoKey, type StockEntregableDevolucionTR, type TARGET, type TipoPreliquidacionAL02, type TipoPreliquidacionAL04, UpdateNodosDocDP, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularSaldoStockPersonal, 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, codigoParteDiarioHoyCHILE9512, codigosBaremosSubcontrataAL02, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, codigosSopladoHP, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirementAltasNVTMultifamiliar, documentRequirementAltasNVTUnifamiliar, empresas, esAsignacionPreliquidableAL02, esAsignacionPreliquidableAL04, esCadenaFechaISOValida, esMaterialDuctoAL04, esObjetoFecha, esParteDiarioAprobadoCHILE9512, esParteDiarioEditableCHILE9512, 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, throwDevolucionTRError, throwSomacylError, timeZoneCHILE9512, tituloFotoParteDiarioCHILE9512, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validarAsfaltoAL04, validarLineasDevolucionTR, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyLineasDevolucionTR, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
1236
+ 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, DEVOLUCION_TR_ESTADOS, DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO, DocumentacionReplanteo, type ErrorLineaDevolucionTR, EstadoEspecialidad9612, FIRMA_DESPACHO_ACCIONES, FIRMA_DESPACHO_TIEMPOS, type FirmaDespachoMensajeRespuesta, type FirmaDespachoMensajeSolicitud, type FirmaDespachoResumen, type FirmaDespachoResumenDetalle, type FirmaDespachoSolicitud, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, type LineaDevolucionTR, 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 SaldoStockPersonal, type SomacylPhotoKey, type StockEntregableDevolucionTR, type TARGET, type TipoPreliquidacionAL02, type TipoPreliquidacionAL04, UpdateNodosDocDP, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularSaldoStockPersonal, 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, codigoParteDiarioHoyCHILE9512, codigosBaremosSubcontrataAL02, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, codigosSopladoHP, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirementAltasNVTMultifamiliar, documentRequirementAltasNVTUnifamiliar, empresas, esAsignacionPreliquidableAL02, esAsignacionPreliquidableAL04, esCadenaFechaISOValida, esMaterialDuctoAL04, esObjetoFecha, esParteDiarioAprobadoCHILE9512, esParteDiarioEditableCHILE9512, estadoRechazadaPorMetraje, estadoRechazadaPorMetrajeAL04, firmaDespachoCanalRespuesta, firmaDespachoCanalSolicitud, 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, throwDevolucionTRError, throwSomacylError, timeZoneCHILE9512, tituloFotoParteDiarioCHILE9512, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validarAsfaltoAL04, validarLineasDevolucionTR, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyLineasDevolucionTR, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
package/dist/index.d.ts CHANGED
@@ -994,6 +994,61 @@ declare function validarLineasDevolucionTR(lines: LineaDevolucionTR[], stock: St
994
994
  /** Igual que validarLineasDevolucionTR pero lanza el error (backend) */
995
995
  declare function verifyLineasDevolucionTR(lines: LineaDevolucionTR[], stock: StockEntregableDevolucionTR[], BadRequestException?: ClassConstructor<Error>): void;
996
996
 
997
+ /**
998
+ * Firma del despacho de almacén desde el móvil (sigo-pwa), pedida por la web (DespachoAlmacenDetalle).
999
+ * Comunicación directa web ↔ PWA por wsSIGO, sin backend:
1000
+ * - web → PWA: canal firmaDespachoCanalSolicitud(Identificacion del personal) → SOLICITAR / CANCELAR
1001
+ * - PWA → web: canal firmaDespachoCanalRespuesta(requestId) → ACEPTADA / RECHAZADA / FIRMADA
1002
+ */
1003
+ declare const FIRMA_DESPACHO_ACCIONES: {
1004
+ readonly SOLICITAR: "SOLICITAR";
1005
+ readonly CANCELAR: "CANCELAR";
1006
+ readonly ACEPTADA: "ACEPTADA";
1007
+ readonly RECHAZADA: "RECHAZADA";
1008
+ readonly FIRMADA: "FIRMADA";
1009
+ };
1010
+ /** Tiempos de espera de la web (ms): para que la PWA acepte y, una vez aceptada, para que firme */
1011
+ declare const FIRMA_DESPACHO_TIEMPOS: {
1012
+ readonly ACEPTAR: number;
1013
+ readonly FIRMAR: number;
1014
+ };
1015
+ declare const firmaDespachoCanalSolicitud: (identificacion: string) => string;
1016
+ declare const firmaDespachoCanalRespuesta: (requestId: string) => string;
1017
+ interface FirmaDespachoResumenDetalle {
1018
+ Codigo: string;
1019
+ Descripcion: string;
1020
+ UnidadMedida: string;
1021
+ Cantidad: number;
1022
+ }
1023
+ /** Lo que la web envía para que el personal vea qué firma */
1024
+ interface FirmaDespachoResumen {
1025
+ ID_DespachoAlmacen: number;
1026
+ NroDocumento: string;
1027
+ Almacen: string;
1028
+ Delegacion: string;
1029
+ Fecha: string;
1030
+ SolicitadoPor: string;
1031
+ Detalle: FirmaDespachoResumenDetalle[];
1032
+ }
1033
+ type FirmaDespachoSolicitud = {
1034
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.SOLICITAR;
1035
+ requestId: string;
1036
+ resumen: FirmaDespachoResumen;
1037
+ };
1038
+ type FirmaDespachoMensajeSolicitud = FirmaDespachoSolicitud | {
1039
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.CANCELAR;
1040
+ requestId: string;
1041
+ };
1042
+ /** imagen: data URL PNG (data:image/png;base64,...) */
1043
+ type FirmaDespachoMensajeRespuesta = {
1044
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.ACEPTADA | typeof FIRMA_DESPACHO_ACCIONES.RECHAZADA;
1045
+ requestId: string;
1046
+ } | {
1047
+ Accion: typeof FIRMA_DESPACHO_ACCIONES.FIRMADA;
1048
+ requestId: string;
1049
+ imagen: string;
1050
+ };
1051
+
997
1052
  declare enum Position {
998
1053
  left = "left",
999
1054
  right = "right"
@@ -1178,4 +1233,4 @@ declare function getCookieToken(req: Request<any>, webOrigins: string[]): string
1178
1233
 
1179
1234
  declare function validateUUIDv4Param(BadRequestException: ClassConstructor<Error>, req: Request<any>, _res: Response, next: NextFunction): Promise<void>;
1180
1235
 
1181
- 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, DEVOLUCION_TR_ESTADOS, DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO, DocumentacionReplanteo, type ErrorLineaDevolucionTR, EstadoEspecialidad9612, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, type LineaDevolucionTR, 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 SaldoStockPersonal, type SomacylPhotoKey, type StockEntregableDevolucionTR, type TARGET, type TipoPreliquidacionAL02, type TipoPreliquidacionAL04, UpdateNodosDocDP, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularSaldoStockPersonal, 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, codigoParteDiarioHoyCHILE9512, codigosBaremosSubcontrataAL02, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, codigosSopladoHP, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirementAltasNVTMultifamiliar, documentRequirementAltasNVTUnifamiliar, empresas, esAsignacionPreliquidableAL02, esAsignacionPreliquidableAL04, esCadenaFechaISOValida, esMaterialDuctoAL04, esObjetoFecha, esParteDiarioAprobadoCHILE9512, esParteDiarioEditableCHILE9512, 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, throwDevolucionTRError, throwSomacylError, timeZoneCHILE9512, tituloFotoParteDiarioCHILE9512, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validarAsfaltoAL04, validarLineasDevolucionTR, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyLineasDevolucionTR, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
1236
+ 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, DEVOLUCION_TR_ESTADOS, DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO, DocumentacionReplanteo, type ErrorLineaDevolucionTR, EstadoEspecialidad9612, FIRMA_DESPACHO_ACCIONES, FIRMA_DESPACHO_TIEMPOS, type FirmaDespachoMensajeRespuesta, type FirmaDespachoMensajeSolicitud, type FirmaDespachoResumen, type FirmaDespachoResumenDetalle, type FirmaDespachoSolicitud, FormatearErrorValidacionMOHijas, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type ILineaValidacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, type IResultadoValidacionMOHijas, type LineaDevolucionTR, 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 SaldoStockPersonal, type SomacylPhotoKey, type StockEntregableDevolucionTR, type TARGET, type TipoPreliquidacionAL02, type TipoPreliquidacionAL04, UpdateNodosDocDP, ValidarRelacionMOHijasAL04, ValorizacionHelper, builSystemOption, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildKeyMO, buildMenu, buildReservaMOJobMajorProjectsAlemaniaAL02, buildReservaMOJobMajorProjectsAlemaniaAL04, buildTenantCollectionName, calcularSaldoStockPersonal, 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, codigoParteDiarioHoyCHILE9512, codigosBaremosSubcontrataAL02, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, codigosSopladoHP, collections, consumirStockPersonal, convertDates, dataFlujosHomePass, db_default, db_root, documentRequirementAltasNVTMultifamiliar, documentRequirementAltasNVTUnifamiliar, empresas, esAsignacionPreliquidableAL02, esAsignacionPreliquidableAL04, esCadenaFechaISOValida, esMaterialDuctoAL04, esObjetoFecha, esParteDiarioAprobadoCHILE9512, esParteDiarioEditableCHILE9512, estadoRechazadaPorMetraje, estadoRechazadaPorMetrajeAL04, firmaDespachoCanalRespuesta, firmaDespachoCanalSolicitud, 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, throwDevolucionTRError, throwSomacylError, timeZoneCHILE9512, tituloFotoParteDiarioCHILE9512, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, updatePricePBBudgetAlemaniaAL02, updatePricePBBudgetAlemaniaAL04, uuidRegex, validarAsfaltoAL04, validarLineasDevolucionTR, validateNoLookup, validateUUIDv4Param, verifyDetailsFinalizeSomacyl, verifyFiles, verifyInventoryFinalize, verifyInventoryFinalizeSomacyl, verifyInventoryLimitsSomacyl, verifyLineasDevolucionTR, verifyPhotosFinalizeSomacyl, verifyPhotosNotFinalizedSomacyl };
package/dist/index.js CHANGED
@@ -47,6 +47,8 @@ __export(index_exports, {
47
47
  DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO: () => DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO,
48
48
  DocumentacionReplanteo: () => DocumentacionReplanteo,
49
49
  EstadoEspecialidad9612: () => EstadoEspecialidad9612,
50
+ FIRMA_DESPACHO_ACCIONES: () => FIRMA_DESPACHO_ACCIONES,
51
+ FIRMA_DESPACHO_TIEMPOS: () => FIRMA_DESPACHO_TIEMPOS,
50
52
  FormatearErrorValidacionMOHijas: () => FormatearErrorValidacionMOHijas,
51
53
  GemeindeChangeNomenclatura: () => GemeindeChangeNomenclatura,
52
54
  GetCodigoFechaActual: () => GetCodigoFechaActual,
@@ -146,6 +148,8 @@ __export(index_exports, {
146
148
  esParteDiarioEditableCHILE9512: () => esParteDiarioEditableCHILE9512,
147
149
  estadoRechazadaPorMetraje: () => estadoRechazadaPorMetraje,
148
150
  estadoRechazadaPorMetrajeAL04: () => estadoRechazadaPorMetrajeAL04,
151
+ firmaDespachoCanalRespuesta: () => firmaDespachoCanalRespuesta,
152
+ firmaDespachoCanalSolicitud: () => firmaDespachoCanalSolicitud,
149
153
  formatCurrencyV1: () => formatCurrencyV1,
150
154
  formatNumberSmart: () => formatNumberSmart,
151
155
  formatNumberV1: () => formatNumberV1,
@@ -17600,6 +17604,21 @@ function verifyLineasDevolucionTR(lines, stock, BadRequestException) {
17600
17604
  }
17601
17605
  __name(verifyLineasDevolucionTR, "verifyLineasDevolucionTR");
17602
17606
 
17607
+ // src/Logistica/FirmaDespacho/constants.ts
17608
+ var FIRMA_DESPACHO_ACCIONES = {
17609
+ SOLICITAR: "SOLICITAR",
17610
+ CANCELAR: "CANCELAR",
17611
+ ACEPTADA: "ACEPTADA",
17612
+ RECHAZADA: "RECHAZADA",
17613
+ FIRMADA: "FIRMADA"
17614
+ };
17615
+ var FIRMA_DESPACHO_TIEMPOS = {
17616
+ ACEPTAR: 60 * 1e3,
17617
+ FIRMAR: 5 * 60 * 1e3
17618
+ };
17619
+ var firmaDespachoCanalSolicitud = /* @__PURE__ */ __name((identificacion) => `FIRMA_LOGISTICA_${identificacion}`, "firmaDespachoCanalSolicitud");
17620
+ var firmaDespachoCanalRespuesta = /* @__PURE__ */ __name((requestId) => `FIRMA_LOGISTICA_RESP_${requestId}`, "firmaDespachoCanalRespuesta");
17621
+
17603
17622
  // src/constants/collections.ts
17604
17623
  var collections = Object.freeze({
17605
17624
  PERU_9112_ToaOrder: "PERU_9112_ToaOrder",
@@ -17877,6 +17896,8 @@ __name(validateUUIDv4Param, "validateUUIDv4Param");
17877
17896
  DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO,
17878
17897
  DocumentacionReplanteo,
17879
17898
  EstadoEspecialidad9612,
17899
+ FIRMA_DESPACHO_ACCIONES,
17900
+ FIRMA_DESPACHO_TIEMPOS,
17880
17901
  FormatearErrorValidacionMOHijas,
17881
17902
  GemeindeChangeNomenclatura,
17882
17903
  GetCodigoFechaActual,
@@ -17976,6 +17997,8 @@ __name(validateUUIDv4Param, "validateUUIDv4Param");
17976
17997
  esParteDiarioEditableCHILE9512,
17977
17998
  estadoRechazadaPorMetraje,
17978
17999
  estadoRechazadaPorMetrajeAL04,
18000
+ firmaDespachoCanalRespuesta,
18001
+ firmaDespachoCanalSolicitud,
17979
18002
  formatCurrencyV1,
17980
18003
  formatNumberSmart,
17981
18004
  formatNumberV1,
package/dist/index.mjs CHANGED
@@ -17372,6 +17372,21 @@ function verifyLineasDevolucionTR(lines, stock, BadRequestException) {
17372
17372
  }
17373
17373
  __name(verifyLineasDevolucionTR, "verifyLineasDevolucionTR");
17374
17374
 
17375
+ // src/Logistica/FirmaDespacho/constants.ts
17376
+ var FIRMA_DESPACHO_ACCIONES = {
17377
+ SOLICITAR: "SOLICITAR",
17378
+ CANCELAR: "CANCELAR",
17379
+ ACEPTADA: "ACEPTADA",
17380
+ RECHAZADA: "RECHAZADA",
17381
+ FIRMADA: "FIRMADA"
17382
+ };
17383
+ var FIRMA_DESPACHO_TIEMPOS = {
17384
+ ACEPTAR: 60 * 1e3,
17385
+ FIRMAR: 5 * 60 * 1e3
17386
+ };
17387
+ var firmaDespachoCanalSolicitud = /* @__PURE__ */ __name((identificacion) => `FIRMA_LOGISTICA_${identificacion}`, "firmaDespachoCanalSolicitud");
17388
+ var firmaDespachoCanalRespuesta = /* @__PURE__ */ __name((requestId) => `FIRMA_LOGISTICA_RESP_${requestId}`, "firmaDespachoCanalRespuesta");
17389
+
17375
17390
  // src/constants/collections.ts
17376
17391
  var collections = Object.freeze({
17377
17392
  PERU_9112_ToaOrder: "PERU_9112_ToaOrder",
@@ -17648,6 +17663,8 @@ export {
17648
17663
  DEVOLUCION_TR_MOTIVO_CAMBIO_TURNO,
17649
17664
  DocumentacionReplanteo,
17650
17665
  EstadoEspecialidad9612,
17666
+ FIRMA_DESPACHO_ACCIONES,
17667
+ FIRMA_DESPACHO_TIEMPOS,
17651
17668
  FormatearErrorValidacionMOHijas,
17652
17669
  GemeindeChangeNomenclatura,
17653
17670
  GetCodigoFechaActual,
@@ -17747,6 +17764,8 @@ export {
17747
17764
  esParteDiarioEditableCHILE9512,
17748
17765
  estadoRechazadaPorMetraje,
17749
17766
  estadoRechazadaPorMetrajeAL04,
17767
+ firmaDespachoCanalRespuesta,
17768
+ firmaDespachoCanalSolicitud,
17750
17769
  formatCurrencyV1,
17751
17770
  formatNumberSmart,
17752
17771
  formatNumberV1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-package",
3
- "version": "1.2.182",
3
+ "version": "1.2.183",
4
4
  "description": "Funciones compartidas sigo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",