import { Connector } from '../connector'; import { PaymentRecipient } from './paymentRecipient'; import { Parameters } from '../item'; export declare const SMART_TRANSFER_PREAUTHORIZATION_STATUS: readonly ["CREATED", "COMPLETED", "REVOKED", "REJECTED", "ERROR"]; export type SmartTransferPreauthorizationStatus = typeof SMART_TRANSFER_PREAUTHORIZATION_STATUS[number]; export declare const SMART_TRANSFER_PAYMENT_STATUS: readonly ["PAYMENT_REJECTED", "ERROR", "CANCELED", "CONSENT_REJECTED", "CONSENT_AUTHORIZED", "PAYMENT_PENDING", "PAYMENT_PARTIALLY_ACCEPTED", "PAYMENT_SETTLEMENT_PROCESSING", "PAYMENT_SETTLEMENT_DEBTOR_ACCOUNT", "PAYMENT_COMPLETED"]; export type SmartTransferPaymentStatus = typeof SMART_TRANSFER_PAYMENT_STATUS[number]; export type SmartTransferRecipient = Pick & { pixKey: string | null; }; export type SmartTransferPreauthorization = { id: string; status: SmartTransferPreauthorizationStatus; consentUrl: string | null; clientPreauthorizationId: string | null; callbackUrls: { success?: string; error?: string; } | null; recipients: SmartTransferRecipient[]; connector: Connector; createdAt: Date; updatedAt: Date; }; export type CreateSmartTransferPreauthorization = { connectorId: number; parameters: Parameters; recipientIds: string[]; callbackUrls?: { success?: string; error?: string; }; }; export type CreateSmartTransferPayment = { preauthorizationId: string; recipientId: string; amount: number; description?: string; clientPaymentId?: string; }; export type SmartTransferPayment = { id: string; preauthorizationId: string; status: SmartTransferPaymentStatus; amount: number; description: string | null; recipient: SmartTransferRecipient; createdAt: Date; updatedAt: Date; clientPaymentId: string | null; };