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_registrar_serie } from "./registrar_serie";
|
|
export declare const zp_consultar_serie: z.ZodObject<{
|
|
identificador: z.ZodString;
|
|
}, "strip", z.ZodTypeAny, {
|
|
identificador: string;
|
|
}, {
|
|
identificador: string;
|
|
}>;
|
|
export declare const consultar_serie: ({ 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_consultar_serie>;
|
|
}) => {
|
|
dados: () => Promise<tipoResposta<{
|
|
registros: any[];
|
|
legenda: string;
|
|
serie: z.infer<typeof zp_registrar_serie>;
|
|
}>>;
|
|
url: () => string;
|
|
};
|