refatoração PilaoEnviar
This commit is contained in:
parent
dc1b5171d7
commit
93d3caa378
11 changed files with 179 additions and 71 deletions
|
|
@ -51,4 +51,17 @@ export declare const zp_enviar_registros: z.ZodObject<{
|
|||
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
||||
}>[];
|
||||
}>;
|
||||
export declare const enviar_registros: ({ conta, produto, emDesenvolvimento, ver_log, }: z.infer<typeof zp_produto_conta>) => ({ registros: registros_entrada, tabela, }: z.infer<typeof zp_enviar_registros>) => Promise<tipoResposta<true>>;
|
||||
declare class ClassPilaoEnviar {
|
||||
__conta: string | undefined;
|
||||
__produto: string | undefined;
|
||||
__emDesenvolvimento: boolean | undefined;
|
||||
__ver_log: boolean | undefined;
|
||||
__tabela: string | undefined;
|
||||
__registros: z.infer<typeof zp_enviar_registros>["registros"];
|
||||
constructor({ conta, produto, emDesenvolvimento, ver_log, }: z.infer<typeof zp_produto_conta>);
|
||||
tabela(tabela: string): this;
|
||||
adicionarRegistro(...registro: z.infer<typeof zp_enviar_registros>["registros"]): this;
|
||||
enviar(): Promise<tipoResposta<true>>;
|
||||
}
|
||||
export declare const PilaoEnviar: (_: z.infer<typeof zp_produto_conta>) => ClassPilaoEnviar;
|
||||
export {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue