UNPKG

pluggy-sdk

Version:

Official Node.js/TypeScript SDK for the Pluggy API.

26 lines (25 loc) 630 B
import { Connector } from '../connector'; export declare const PAYMENT_CUSTOMER_TYPE: readonly ["INDIVIDUAL", "BUSINESS"]; /** * @typedef PaymentCustomerType * Types of customers */ export type PaymentCustomerType = typeof PAYMENT_CUSTOMER_TYPE[number]; export type PaymentCustomer = { id: string; name: string; email: string; cpf: string; cnpj: string; type: PaymentCustomerType; connector: Connector | null; createdAt: Date; updatedAt: Date; }; export type CreatePaymentCustomer = { name: string; email: string; cpf: string; cnpj: string; type: PaymentCustomerType; };