32 lines
1 KiB
TypeScript
32 lines
1 KiB
TypeScript
import type { tipoResposta } from "p-respostas";
|
|
import { z } from "zod";
|
|
import { type zp_produto_conta } from "./_variaveis";
|
|
export declare const zp_serie_registrar: z.ZodObject<{
|
|
tabela: z.ZodString;
|
|
colanuEixoX: z.ZodString;
|
|
colunaAgrupamento: z.ZodString;
|
|
agregacao: z.ZodEnum<["contagem", "somatoria"]>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento: string;
|
|
agregacao: "contagem" | "somatoria";
|
|
}, {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento: string;
|
|
agregacao: "contagem" | "somatoria";
|
|
}>;
|
|
export declare const serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
|
emDesenvolvimento?: boolean | undefined | null;
|
|
/** Identificação do cliente */
|
|
cliente: z.infer<typeof zp_produto_conta>;
|
|
parametros: z.infer<typeof zp_serie_registrar>;
|
|
}) => {
|
|
dados: () => Promise<tipoResposta<{
|
|
registros: any[];
|
|
legenda: string;
|
|
serie: z.infer<typeof zp_serie_registrar>;
|
|
}>>;
|
|
url: () => string;
|
|
};
|