24 lines
866 B
TypeScript
24 lines
866 B
TypeScript
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;
|
|
}, "strip", z.ZodTypeAny, {
|
|
identificador: string;
|
|
}, {
|
|
identificador: string;
|
|
}>;
|
|
export declare const serie_consultar: ({ emDesenvolvimento, parametros: { identificador }, cliente: { conta, produto }, }: {
|
|
emDesenvolvimento?: boolean | undefined | null;
|
|
/** Identificação do cliente */
|
|
cliente: z.infer<typeof zp_produto_conta>;
|
|
parametros: z.infer<typeof zp_serie_consultar>;
|
|
}) => {
|
|
dados: () => Promise<tipoResposta<{
|
|
registros: any[];
|
|
legenda: string;
|
|
serie: z.infer<typeof zp_serie_registrar>;
|
|
}>>;
|
|
url: () => string;
|
|
};
|