import { TypeM3PrdGrp } from "../Maestro/M3PrdGrp.type"; import { M3RegService } from "./m3-reg-service"; import { M3CouchMaestro } from "../Data/m3-couch-maestro"; import { PostServiceM3 } from "../../ConexionSQL/posts.service"; import { M3Procesos } from "../Registro/m3-procesos"; import { M3Ubicacion } from "../Maestro/Ubicacion/M3Ubicacion.type"; export declare class M3RegMasivo { private gsIdKatios; private reader; private separador; private oM3Proceso; private progress; private ConfMasiva; rounded_progress: number; gbBarCode: boolean; constructor(isIdKatios: string, ioM3Proceso: M3Procesos, iConfMasiva: any, ibBarcode: boolean); get_rounded_progress(): number; AdicionarMasivo(oM3CouchMaestro: M3CouchMaestro, PostServiceM3: PostServiceM3, oDatUser: any, oDataProc: any): Promise; /** * Recorre y adiciona los productos en un array a un proceso * @param oM3CouchMaestro * @param PostServiceM3 * @param oDatUser * @param arrCSV */ adicionar_masivo_from_array(oM3CouchMaestro: M3CouchMaestro, PostServiceM3: PostServiceM3, oDatUser: any, arrCSV: Array, oM3Ubicacion?: M3Ubicacion, aplExc?: string): Promise; setPrecioSiAPlica(product: TypeM3PrdGrp, oestructCSV: estructCSV): void; AddPrdToM3Proceso(product: TypeM3PrdGrp, oestructCSV: estructCSV, oM3RegService: M3RegService, oDatUser: any, oM3Ubicacion?: M3Ubicacion): void; /** * Adicionar capturas dinamicas * @param oestructCSV Estructura con informacion de linea a agregar */ AdicionarDinamica(oestructCSV: estructCSV): void; /** * Adicionar personas a proceso * @param oestructCSV Estructura con informacion a agregar */ AdicionarPersonasAProceso(oestructCSV: estructCSV): void; /** * Adicionar detalle al ultimo encabezado agregado. * @param oestructCSV Estructura con informacion de linea a agregar */ AdicionarDetalle(oestructCSV: estructCSV): void; GetReader(oDataProc: any): void; SetEstructCSV(line: string): estructCSV; /** * Estructura dinamica de cargue masiva * @param oArrCSV arreglo con informacion. */ EstructDynamic(oArrCSV: Array): estructCSV; /** * Estructura default. * @param oArrCSV Arreglo con informacion */ EstructDefault(oArrCSV: Array): estructCSV; } export interface estructCSV { sku: string; cantidad: number; precio: number; PathImagen: string; Dinamicas: Array; Personas: Array; M3Det: Array; }