This commit is contained in:
Luiz H. R. Silva 2024-06-19 17:47:48 -03:00
parent a6205f1ab6
commit e580643abc
40 changed files with 329 additions and 507 deletions

View file

@ -1,19 +1,27 @@
import type { tipoResposta } from "p-respostas";
import { z } from "zod";
import { type zp_produto_conta } from "./_variaveis";
import type { zp_serie_registrar } from "./serie_registrar";
export declare const zp_serie_consultar: z.ZodObject<{
identificador: z.ZodString;
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, {
identificador: string;
tabela: string;
colanuEixoX: string;
colunaAgrupamento: string;
agregacao: "contagem" | "somatoria";
}, {
identificador: string;
tabela: string;
colanuEixoX: string;
colunaAgrupamento: string;
agregacao: "contagem" | "somatoria";
}>;
export declare const serie_consultar: ({ emDesenvolvimento, parametros: { identificador }, cliente: { conta, produto }, }: {
export declare const serie_consultar: ({ emDesenvolvimento, cliente: { conta, produto }, parametros: { agregacao, colanuEixoX, colunaAgrupamento, tabela }, }: {
emDesenvolvimento?: boolean | undefined | null;
/** Identificação do cliente */
cliente: z.infer<typeof zp_produto_conta>;
parametros: z.infer<typeof zp_serie_consultar>;
parametros: z.infer<typeof zp_serie_registrar>;
}) => {
dados: () => Promise<tipoResposta<{
registros: any[];