interfaceConsent
export interface Consent {
consentId: string;
gatewayId: string;
tppName: string;
tppWebSite: string;
appName: string;
appWebsite: string;
appDescription: string;
scope: string;
grantedAt: string;
expiryAt: string;
permissions: string[];
permissionsObie?: string[];
permissionsPsd?: {
accounts: { accountId: string; accountType: string }[];
balances: { accountId: string; accountType: string }[];
transactions: { accountId: string; accountType: string }[];
};
accounts: PaymentAccount[];
isVerified: boolean;
}