Spaces:
Sleeping
Sleeping
File size: 3,032 Bytes
084aac3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
export interface Account {
id: string;
name: string;
type: 'quantum_checking' | 'elite_savings' | 'high_yield_vault';
balance: number;
currency: string;
institution: string;
}
export interface Transaction {
id: string;
amount: number;
currency: string;
date: string;
description: string;
category: string;
status: 'POSTED' | 'PENDING';
type: string;
}
export interface InternalAccount {
id: string;
productName: string;
displayAccountNumber: string;
currency: string;
status: 'ACTIVE' | 'INACTIVE' | 'CLOSED';
currentBalance: number;
availableBalance: number;
institutionName: string;
connectionId: string;
}
export interface Counterparty {
id: string;
name: string;
email: string;
status: 'ACTIVE' | 'PENDING' | 'INACTIVE';
createdAt: string;
metadata?: Record<string, any>;
accounts?: Array<{
id: string;
accountType: string;
accountNumber: string;
}>;
}
export interface Connection {
id: string;
vendorCustomerId: string;
entity: string;
status: 'CONNECTED' | 'DISCONNECTED' | 'ERROR';
lastSyncedAt: string;
}
export interface Document {
id: string;
documentableId: string;
documentableType: string;
documentType: string;
fileName: string;
size: number;
createdAt: string;
format: string;
}
export interface SimulationResult {
outcomeNarrative: string;
projectedValue: number;
confidenceScore: number;
status: string;
simulationId: string;
keyRisks?: string[];
}
export interface Payee {
payeeId: string;
displayName: string;
merchantName: string;
status: string;
address?: {
line1: string;
city: string;
region: string;
postalCode: string;
};
}
export interface Payment {
paymentId: string;
amount: number;
status: string;
dueDate: string;
toPayeeId: string;
fromAccountId: string;
}
export interface CustomerProfileResponse {
firstName: string;
lastName: string;
middleName: string;
fullName: string;
companyName: string;
emails: Array<{
emailAddress: string;
preferenceType: string;
}>;
addressList: Array<{
addressLine1: string;
city: string;
countryCode: string;
postalCode: string;
addressType: string;
}>;
phones: Array<{
phoneType: string;
fullPhoneNumber: string;
preferenceType: string;
}>;
}
export interface ClientRegisterResponse {
client_id: string;
client_secret: string;
client_name: string;
appId?: string;
redirect_uris: string[];
scope: string[];
token_endpoint_auth_method?: string;
}
export interface VirtualAccount {
id: string;
name: string;
description: string | null;
status: 'ACTIVE' | 'PENDING' | 'CLOSED';
internal_account_id: string;
counterparty_id: string | null;
created_at: string;
}
export interface LineItem {
id: string;
amount: number;
currency: string;
description: string;
ledger_account_id: string;
createdAt: string;
}
export interface LineItemUpdateRequest {
description?: string;
metadata?: Record<string, any>;
}
|