UNPKG

react-native-unit-components

Version:

Unit React Native components

51 lines (50 loc) 926 B
import { UNAchCounterparty, UNCents } from '../payment/payments.types'; import { UNTransactionTypes } from './transactions.types'; import { UNDirection } from '../types'; export type UNRewardTransaction = { type: UNTransactionTypes.Reward id: string attributes: { createdAt: Date amount: UNCents direction: UNDirection balance: UNCents summary: string counterparty: UNAchCounterparty tags?: { [key: string]: string } } relationships: { account: { data: { type: string id: string } } customer?: { data: { type: string id: string } } customers?: { data: [ { type: 'customer' id: string } ] } org?: { data: { type: string id: string } } reward: { data: { type: string id: string } } } };