UNPKG

react-native-unit-components

Version:

Unit React Native components

51 lines (50 loc) 919 B
import { UNCents } from '../payment/payments.types'; import { UNTransactionTypes } from './transactions.types'; import { UNDirection } from '../types'; export type UNBankRepaymentTransaction = { type: UNTransactionTypes.BankRepayment id: number attributes: { createdAt: Date amount: UNCents direction: UNDirection balance: UNCents paidForDate: string summary: string tags?: { [key: string]: string } } relationships: { account: { data: { type: string id: number } } receivingAccount: { data: { type: string id: number } } customer?: { data: { type: string id: number } } customers?: { data: [ { type: 'customer' id: string } ] } org?: { data: { type: string id: number } } } };