UNPKG

sdk-node-apis-efi

Version:

Module for integration with Efi Bank API

271 lines 6.39 kB
import { z } from 'zod'; export declare const PixCalendarioSchema: z.ZodObject<{ expiracao: z.ZodNumber; }, "strip", z.ZodTypeAny, { expiracao: number; }, { expiracao: number; }>; export type PixCalendario = z.infer<typeof PixCalendarioSchema>; export declare const PixDevedorSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ cpf: z.ZodString; nome: z.ZodString; }, "strict", z.ZodTypeAny, { cpf: string; nome: string; }, { cpf: string; nome: string; }>, z.ZodObject<{ cnpj: z.ZodString; nome: z.ZodString; }, "strict", z.ZodTypeAny, { nome: string; cnpj: string; }, { nome: string; cnpj: string; }>]>>; export type PixDevedor = z.infer<typeof PixDevedorSchema>; export declare const PixValorSchema: z.ZodObject<{ original: z.ZodString; }, "strip", z.ZodTypeAny, { original: string; }, { original: string; }>; export type PixValor = z.infer<typeof PixValorSchema>; export declare const PixLocSchema: z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>; export type PixLoc = z.infer<typeof PixLocSchema>; export declare const PixInfoAdicionalSchema: z.ZodObject<{ nome: z.ZodString; valor: z.ZodString; }, "strip", z.ZodTypeAny, { nome: string; valor: string; }, { nome: string; valor: string; }>; export type PixInfoAdicional = z.infer<typeof PixInfoAdicionalSchema>; export declare const PixCreateImmediateChargeBodySchema: z.ZodObject<{ calendario: z.ZodObject<{ expiracao: z.ZodNumber; }, "strip", z.ZodTypeAny, { expiracao: number; }, { expiracao: number; }>; devedor: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ cpf: z.ZodString; nome: z.ZodString; }, "strict", z.ZodTypeAny, { cpf: string; nome: string; }, { cpf: string; nome: string; }>, z.ZodObject<{ cnpj: z.ZodString; nome: z.ZodString; }, "strict", z.ZodTypeAny, { nome: string; cnpj: string; }, { nome: string; cnpj: string; }>]>>; valor: z.ZodObject<{ original: z.ZodString; }, "strip", z.ZodTypeAny, { original: string; }, { original: string; }>; chave: z.ZodString; solicitacaoPagador: z.ZodOptional<z.ZodString>; loc: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>>; infoAdicionais: z.ZodOptional<z.ZodArray<z.ZodObject<{ nome: z.ZodString; valor: z.ZodString; }, "strip", z.ZodTypeAny, { nome: string; valor: string; }, { nome: string; valor: string; }>, "many">>; }, "strip", z.ZodTypeAny, { valor: { original: string; }; calendario: { expiracao: number; }; chave: string; devedor?: { cpf: string; nome: string; } | { nome: string; cnpj: string; } | undefined; solicitacaoPagador?: string | undefined; loc?: { id: number; } | undefined; infoAdicionais?: { nome: string; valor: string; }[] | undefined; }, { valor: { original: string; }; calendario: { expiracao: number; }; chave: string; devedor?: { cpf: string; nome: string; } | { nome: string; cnpj: string; } | undefined; solicitacaoPagador?: string | undefined; loc?: { id: number; } | undefined; infoAdicionais?: { nome: string; valor: string; }[] | undefined; }>; export type PixCreateImmediateChargeBody = z.infer<typeof PixCreateImmediateChargeBodySchema>; export declare const PixCreateImmediateChargeResponseSchema: z.ZodObject<{ calendario: z.ZodObject<{ criacao: z.ZodString; expiracao: z.ZodNumber; }, "strip", z.ZodTypeAny, { expiracao: number; criacao: string; }, { expiracao: number; criacao: string; }>; txid: z.ZodString; revisao: z.ZodNumber; loc: z.ZodObject<{ id: z.ZodNumber; location: z.ZodString; tipoCob: z.ZodString; }, "strip", z.ZodTypeAny, { location: string; id: number; tipoCob: string; }, { location: string; id: number; tipoCob: string; }>; location: z.ZodString; status: z.ZodString; devedor: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ cpf: z.ZodString; nome: z.ZodString; }, "strict", z.ZodTypeAny, { cpf: string; nome: string; }, { cpf: string; nome: string; }>, z.ZodObject<{ cnpj: z.ZodString; nome: z.ZodString; }, "strict", z.ZodTypeAny, { nome: string; cnpj: string; }, { nome: string; cnpj: string; }>]>>; valor: z.ZodObject<{ original: z.ZodString; }, "strip", z.ZodTypeAny, { original: string; }, { original: string; }>; chave: z.ZodString; solicitacaoPagador: z.ZodOptional<z.ZodString>; pixCopiaECola: z.ZodString; }, "strip", z.ZodTypeAny, { location: string; status: string; valor: { original: string; }; calendario: { expiracao: number; criacao: string; }; chave: string; loc: { location: string; id: number; tipoCob: string; }; txid: string; revisao: number; pixCopiaECola: string; devedor?: { cpf: string; nome: string; } | { nome: string; cnpj: string; } | undefined; solicitacaoPagador?: string | undefined; }, { location: string; status: string; valor: { original: string; }; calendario: { expiracao: number; criacao: string; }; chave: string; loc: { location: string; id: number; tipoCob: string; }; txid: string; revisao: number; pixCopiaECola: string; devedor?: { cpf: string; nome: string; } | { nome: string; cnpj: string; } | undefined; solicitacaoPagador?: string | undefined; }>; export type PixCreateImmediateChargeResponse = z.infer<typeof PixCreateImmediateChargeResponseSchema>; //# sourceMappingURL=pix.d.ts.map