sigo-package 1.1.97 → 1.1.99

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
@@ -164,9 +164,9 @@ declare const UpdateNodosDocDP: <T extends IDocumentacion>({ documentacion, obra
164
164
 
165
165
  declare const CalcularResumenValorizacionesAlemania: Funcion$3;
166
166
  interface Funcion$3 {
167
- (trabajo: TrabajoType$1, trabajos: any[]): ResumenLiquidacionesType$1;
167
+ (trabajo: TrabajoType$1, trabajos: any[]): ResumenLiquidacionesType;
168
168
  }
169
- interface ResumenLiquidacionesType$1 {
169
+ interface ResumenLiquidacionesType {
170
170
  MoUo: MoUoType$1[];
171
171
  MatUtilizados: MatUtilizadosType$1[];
172
172
  MatRetirados: MatRetiradosType[];
@@ -212,7 +212,7 @@ interface ValorizacionType$1 {
212
212
 
213
213
  declare const ActualizarDataResumenValorizacionesAlemania: Funcion$2;
214
214
  interface Funcion$2 {
215
- (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType$1): void;
215
+ (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType): void;
216
216
  }
217
217
 
218
218
  declare const codigosMaterialDuctos: string[];
@@ -263,45 +263,11 @@ type ReglaSoplado = {
263
263
  declare const mapaReglaSopladoTroncal: Map<string, ReglaSoplado[]>;
264
264
  declare const mapaReglaSopladoClientes: Map<string, ReglaSoplado[]>;
265
265
 
266
- declare const ActualizarDataResumenLiquidaciones: Funcion$1;
266
+ declare const CalcularResumenLiquidaciones: Funcion$1;
267
267
  interface Funcion$1 {
268
- (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType$1): void;
269
- }
270
-
271
- interface IParams {
272
- manoObra: ManoObraENTITY;
273
- trabajos: TrabajoENTITY[];
274
- obra: ObraChile9512ENTITY;
275
- ContratoOT: any;
276
- envSIGO: IenvSIGO;
277
- }
278
- interface IenvSIGO {
279
- SISTEMAS_VALORIZACION_MANO_OBRA: string[];
280
- }
281
- declare const ActualizarDataTrabajos: ({ manoObra, trabajos, obra, ContratoOT, envSIGO }: IParams) => void;
282
-
283
- interface Zona {
284
- Descripcion: string;
285
- Codigo: string;
286
- Estado: {
287
- ID_Estado: number;
288
- };
289
- }
290
- interface EmpresaContratistaEnPrecioEspecialidad {
291
- Zonas: Zona[];
292
- }
293
- interface Obra$1 {
294
- Pais: {
295
- Codigo: string;
296
- };
297
- }
298
- declare function BuscarZonaContratista(EmpresaContratistaEnPrecioEspecialidad: EmpresaContratistaEnPrecioEspecialidad, Obra: Obra$1, ZonaAsignada: string): Zona | undefined;
299
-
300
- declare const CalcularResumenLiquidaciones: Funcion;
301
- interface Funcion {
302
- (trabajo: TrabajoType, trabajos: any[]): ResumenLiquidacionesType;
268
+ (trabajo: TrabajoType, trabajos: any[]): ResumenLiquidacionesTypeChile;
303
269
  }
304
- interface ResumenLiquidacionesType {
270
+ interface ResumenLiquidacionesTypeChile {
305
271
  MoUo: MoUoType[];
306
272
  MatUtilizados: MatUtilizadosType[];
307
273
  MatRetirados: MatRetiradosType[];
@@ -334,6 +300,40 @@ interface PreLiquidacionType {
334
300
  interface ValorizacionType {
335
301
  }
336
302
 
303
+ declare const ActualizarDataResumenLiquidaciones: Funcion;
304
+ interface Funcion {
305
+ (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesTypeChile): void;
306
+ }
307
+
308
+ interface IParams {
309
+ manoObra: ManoObraENTITY;
310
+ trabajos: TrabajoENTITY[];
311
+ obra: ObraChile9512ENTITY;
312
+ ContratoOT: any;
313
+ envSIGO: IenvSIGO;
314
+ }
315
+ interface IenvSIGO {
316
+ SISTEMAS_VALORIZACION_MANO_OBRA: string[];
317
+ }
318
+ declare const ActualizarDataTrabajos: ({ manoObra, trabajos, obra, ContratoOT, envSIGO }: IParams) => void;
319
+
320
+ interface Zona {
321
+ Descripcion: string;
322
+ Codigo: string;
323
+ Estado: {
324
+ ID_Estado: number;
325
+ };
326
+ }
327
+ interface EmpresaContratistaEnPrecioEspecialidad {
328
+ Zonas: Zona[];
329
+ }
330
+ interface Obra$1 {
331
+ Pais: {
332
+ Codigo: string;
333
+ };
334
+ }
335
+ declare function BuscarZonaContratista(EmpresaContratistaEnPrecioEspecialidad: EmpresaContratistaEnPrecioEspecialidad, Obra: Obra$1, ZonaAsignada: string): Zona | undefined;
336
+
337
337
  interface Obra {
338
338
  ZonaAsignada: string;
339
339
  Ubicacion: {
@@ -435,4 +435,4 @@ declare function getDateInTimeZone(timeZone: TimeZone): Date;
435
435
 
436
436
  declare function generateUniqueNumber(): number;
437
437
 
438
- export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, GetCodigoFechaActual, type IDocumentacion, type IMO, type IMaterial, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, 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$1 as ResumenLiquidacionesType, SEGMENT_TY, type TARGET, UpdateNodosDocDP, codBalizaAL04, codClientes, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, paisMap, searchCurrentContractorSpecialtyPrice, validateNoLookup };
438
+ export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, GetCodigoFechaActual, type IDocumentacion, type IMO, type IMaterial, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, 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, codBalizaAL04, codClientes, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, paisMap, searchCurrentContractorSpecialtyPrice, validateNoLookup };
package/dist/index.d.ts CHANGED
@@ -164,9 +164,9 @@ declare const UpdateNodosDocDP: <T extends IDocumentacion>({ documentacion, obra
164
164
 
165
165
  declare const CalcularResumenValorizacionesAlemania: Funcion$3;
166
166
  interface Funcion$3 {
167
- (trabajo: TrabajoType$1, trabajos: any[]): ResumenLiquidacionesType$1;
167
+ (trabajo: TrabajoType$1, trabajos: any[]): ResumenLiquidacionesType;
168
168
  }
169
- interface ResumenLiquidacionesType$1 {
169
+ interface ResumenLiquidacionesType {
170
170
  MoUo: MoUoType$1[];
171
171
  MatUtilizados: MatUtilizadosType$1[];
172
172
  MatRetirados: MatRetiradosType[];
@@ -212,7 +212,7 @@ interface ValorizacionType$1 {
212
212
 
213
213
  declare const ActualizarDataResumenValorizacionesAlemania: Funcion$2;
214
214
  interface Funcion$2 {
215
- (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType$1): void;
215
+ (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType): void;
216
216
  }
217
217
 
218
218
  declare const codigosMaterialDuctos: string[];
@@ -263,45 +263,11 @@ type ReglaSoplado = {
263
263
  declare const mapaReglaSopladoTroncal: Map<string, ReglaSoplado[]>;
264
264
  declare const mapaReglaSopladoClientes: Map<string, ReglaSoplado[]>;
265
265
 
266
- declare const ActualizarDataResumenLiquidaciones: Funcion$1;
266
+ declare const CalcularResumenLiquidaciones: Funcion$1;
267
267
  interface Funcion$1 {
268
- (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType$1): void;
269
- }
270
-
271
- interface IParams {
272
- manoObra: ManoObraENTITY;
273
- trabajos: TrabajoENTITY[];
274
- obra: ObraChile9512ENTITY;
275
- ContratoOT: any;
276
- envSIGO: IenvSIGO;
277
- }
278
- interface IenvSIGO {
279
- SISTEMAS_VALORIZACION_MANO_OBRA: string[];
280
- }
281
- declare const ActualizarDataTrabajos: ({ manoObra, trabajos, obra, ContratoOT, envSIGO }: IParams) => void;
282
-
283
- interface Zona {
284
- Descripcion: string;
285
- Codigo: string;
286
- Estado: {
287
- ID_Estado: number;
288
- };
289
- }
290
- interface EmpresaContratistaEnPrecioEspecialidad {
291
- Zonas: Zona[];
292
- }
293
- interface Obra$1 {
294
- Pais: {
295
- Codigo: string;
296
- };
297
- }
298
- declare function BuscarZonaContratista(EmpresaContratistaEnPrecioEspecialidad: EmpresaContratistaEnPrecioEspecialidad, Obra: Obra$1, ZonaAsignada: string): Zona | undefined;
299
-
300
- declare const CalcularResumenLiquidaciones: Funcion;
301
- interface Funcion {
302
- (trabajo: TrabajoType, trabajos: any[]): ResumenLiquidacionesType;
268
+ (trabajo: TrabajoType, trabajos: any[]): ResumenLiquidacionesTypeChile;
303
269
  }
304
- interface ResumenLiquidacionesType {
270
+ interface ResumenLiquidacionesTypeChile {
305
271
  MoUo: MoUoType[];
306
272
  MatUtilizados: MatUtilizadosType[];
307
273
  MatRetirados: MatRetiradosType[];
@@ -334,6 +300,40 @@ interface PreLiquidacionType {
334
300
  interface ValorizacionType {
335
301
  }
336
302
 
303
+ declare const ActualizarDataResumenLiquidaciones: Funcion;
304
+ interface Funcion {
305
+ (ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesTypeChile): void;
306
+ }
307
+
308
+ interface IParams {
309
+ manoObra: ManoObraENTITY;
310
+ trabajos: TrabajoENTITY[];
311
+ obra: ObraChile9512ENTITY;
312
+ ContratoOT: any;
313
+ envSIGO: IenvSIGO;
314
+ }
315
+ interface IenvSIGO {
316
+ SISTEMAS_VALORIZACION_MANO_OBRA: string[];
317
+ }
318
+ declare const ActualizarDataTrabajos: ({ manoObra, trabajos, obra, ContratoOT, envSIGO }: IParams) => void;
319
+
320
+ interface Zona {
321
+ Descripcion: string;
322
+ Codigo: string;
323
+ Estado: {
324
+ ID_Estado: number;
325
+ };
326
+ }
327
+ interface EmpresaContratistaEnPrecioEspecialidad {
328
+ Zonas: Zona[];
329
+ }
330
+ interface Obra$1 {
331
+ Pais: {
332
+ Codigo: string;
333
+ };
334
+ }
335
+ declare function BuscarZonaContratista(EmpresaContratistaEnPrecioEspecialidad: EmpresaContratistaEnPrecioEspecialidad, Obra: Obra$1, ZonaAsignada: string): Zona | undefined;
336
+
337
337
  interface Obra {
338
338
  ZonaAsignada: string;
339
339
  Ubicacion: {
@@ -435,4 +435,4 @@ declare function getDateInTimeZone(timeZone: TimeZone): Date;
435
435
 
436
436
  declare function generateUniqueNumber(): number;
437
437
 
438
- export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, GetCodigoFechaActual, type IDocumentacion, type IMO, type IMaterial, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, 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$1 as ResumenLiquidacionesType, SEGMENT_TY, type TARGET, UpdateNodosDocDP, codBalizaAL04, codClientes, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, paisMap, searchCurrentContractorSpecialtyPrice, validateNoLookup };
438
+ export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, GetCodigoFechaActual, type IDocumentacion, type IMO, type IMaterial, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, 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, codBalizaAL04, codClientes, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, paisMap, searchCurrentContractorSpecialtyPrice, validateNoLookup };
package/dist/index.js CHANGED
@@ -5748,7 +5748,7 @@ ${Precios.map((e) => `Id_PrecioVigente: ${e.ID_PreciosVigentes}, Precio: ${e.Pre
5748
5748
  }
5749
5749
  __name(ObtenerPrecioContratistaVigente, "ObtenerPrecioContratistaVigente");
5750
5750
 
5751
- // src/Programados/SearchCurrentContractorSpecialtyPrice.ts
5751
+ // src/Programados/searchCurrentContractorSpecialtyPrice.ts
5752
5752
  function searchCurrentContractorSpecialtyPrice(OTContract, specialtyPriceData, companyCode, assignedArea, activityCode, specialtyCode, dateVerify) {
5753
5753
  const specialtyPrice = specialtyPriceData.filter((e) => e.Especialidad.Codigo === specialtyCode && e.ContratoOT.Codigo === OTContract.Codigo && e.Estado.ID_Estado === 1);
5754
5754
  if (specialtyPrice.length !== 1) {
package/dist/index.mjs CHANGED
@@ -5652,7 +5652,7 @@ ${Precios.map((e) => `Id_PrecioVigente: ${e.ID_PreciosVigentes}, Precio: ${e.Pre
5652
5652
  }
5653
5653
  __name(ObtenerPrecioContratistaVigente, "ObtenerPrecioContratistaVigente");
5654
5654
 
5655
- // src/Programados/SearchCurrentContractorSpecialtyPrice.ts
5655
+ // src/Programados/searchCurrentContractorSpecialtyPrice.ts
5656
5656
  function searchCurrentContractorSpecialtyPrice(OTContract, specialtyPriceData, companyCode, assignedArea, activityCode, specialtyCode, dateVerify) {
5657
5657
  const specialtyPrice = specialtyPriceData.filter((e) => e.Especialidad.Codigo === specialtyCode && e.ContratoOT.Codigo === OTContract.Codigo && e.Estado.ID_Estado === 1);
5658
5658
  if (specialtyPrice.length !== 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-package",
3
- "version": "1.1.97",
3
+ "version": "1.1.99",
4
4
  "description": "Funciones compartidas sigo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",