UNPKG

react-native-unit-components

Version:

Unit React Native components

38 lines 1.45 kB
import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage'; import type { UNAccountData, UNCounterpartyAccountData } from './account.types'; import type { UNPaymentType, UNAchCounterparty, UNCounterpartyVerificationMethod, UNPaymentStatus } from './payments.types'; import type { UNTags, UNRelationship } from './types'; export type UNACHOnLoadData = { [RESPONSE_KEYS.account]: [UNAccountData]; [RESPONSE_KEYS.counterpartyAccount]: [UNCounterpartyAccountData]; }; export type UNACHData = { type: UNPaymentType.AchPayment; id: string; attributes: { createdAt: string | Date; status: UNPaymentStatus; settlementDate?: Date; reason: string; direction: 'Debit' | 'Credit'; description: string; transactionSummaryOverride?: string; amount: string; tags: UNTags; addenda?: string; counterparty: UNAchCounterparty; expectedCompletionDate?: Date; counterpartyVerificationMethod?: keyof typeof UNCounterpartyVerificationMethod; sameDay?: boolean; }; relationships: { account: UNRelationship; customer?: UNRelationship; customers?: UNRelationship; counterpartyAccount: UNRelationship; counterpartyCustomer: UNRelationship; transaction: UNRelationship; recurringPayment: UNRelationship; }; }; //# sourceMappingURL=achCredit.types.d.ts.map