react-native-unit-components
Version:
Unit React Native components
80 lines • 2.07 kB
TypeScript
import { UNConnectedAccountStatus, UNConnectionAccountType, UNCounterpartyAccountType, UNCounterpartyPermission, UNCounterpartyType } from './payments.types';
export type UNPayeeConnectedAccount = {
type: 'plaidConnectedAccount';
id: string;
attributes: {
mask: string;
name: string;
type: string;
subType: string;
createdAt: string;
updatedAt: string;
status: UNConnectedAccountStatus;
connectionType: UNConnectionAccountType;
};
relationships: {
customer: {
data: {
type: 'customer';
id: number;
};
};
};
};
export type UNPayeeCounterparty = {
id: string;
type: string;
attributes: {
name: string;
bank?: string;
routingNumber: string;
accountNumber: string;
accountType: UNCounterpartyAccountType;
type: UNCounterpartyType;
permissions: UNCounterpartyPermission;
tags?: {
[key: string]: string;
};
};
relationships: {
customer: {
data: {
type: 'customer';
id: number;
};
};
};
};
export declare enum UNPayeeManagementMenuItem {
sendFunds = "sendFunds",
delete = "delete"
}
export declare enum UNPayeeManagementComponentPaginationType {
infiniteScroll = "infiniteScroll",
pagination = "pagination"
}
export type UNPayeeOnLoadCounterparty = {
id: string;
attributes: {
name: string;
bank?: string;
routingNumber: string;
accountNumber: string;
accountType: UNCounterpartyAccountType;
type: UNCounterpartyType;
permissions: UNCounterpartyPermission;
createdAt: Date;
tags: {
[key: string]: string;
};
};
relationships: {
customer: {
data: {
type: 'customer';
id: number;
};
};
};
};
//# sourceMappingURL=payeeManagement.types.d.ts.map