This commit is contained in:
Luiz Silva 2024-10-01 14:22:59 -03:00
parent 2cf1dfe75d
commit aac9eb143b
8 changed files with 18 additions and 1 deletions

View file

@ -40,6 +40,10 @@ class ClassPilaoEnviar {
this.__registrosParaEnvio.push(...registro);
return this;
}
adicionarCodigoParaDeletar(...codigos) {
this.__codigosParaDeletar.push(...codigos);
return this;
}
async __salvar_enviar_registros() {
const registros = this.__registrosParaEnvio;
const url = new URL(`${(0, variaveis_1.urlPilao)(this.__emDesenvolvimento).api}/enviar_registros/${this.__produto}/${this.__conta}`);