UNPKG

react-native-unit-components

Version:

Unit React Native components

87 lines 2.24 kB
import { UNActivityType } from '../shared'; import { UNCents, UNRelationshipsAccount } from './payment/payments.types'; export type UNCheckDeposit = { id: string; type: UNActivityType; attributes: { createdAt: Date; status: keyof typeof UNCheckDepositStatus; reason?: string; reasonText?: string; description: string; amount: UNCents; vendor?: UNCheckDepositVendors; checkNumber?: string; counterparty: UNCheckCounterparty; frontImage?: string; backImage?: string; settlementDate?: Date; statusCreatedAt?: Date; statusSetBy?: string; statusHistory: UNStatusEvent[]; tags?: { [key: string]: string; }; }; relationships: { account: { data: UNRelationshipsAccount; }; customer?: { data: { type: string; id: string; }; }; customers?: { data: [ { type: 'customer'; id: string; } ]; }; org?: { data: { type: 'org'; id: string; }; }; transaction?: { data: { type: UNActivityType; id: string; }; }; }; }; export declare enum UNCheckDepositStatus { AwaitingImages = "AwaitingImages", AwaitingFrontImage = "AwaitingFrontImage", AwaitingBackImage = "AwaitingBackImage", PendingReview = "PendingReview", AwaitingCustomerConfirmation = "AwaitingCustomerConfirmation", Pending = "Pending", Rejected = "Rejected", Clearing = "Clearing", Sent = "Sent", Canceled = "Canceled", Returned = "Returned" } export type UNCheckCounterparty = { name: string; accountNumber: string; routingNumber: string; }; export type UNStatusEvent = { status: { [key: string]: any; }; updatedAt: Date; updatedBy?: string; }; export declare enum UNCheckDepositVendors { Ensenta = "Ensenta", Smartpay = "Smartpay" } //# sourceMappingURL=checkDeposit.types.d.ts.map