import { LinkEntity } from '../../common/model/LinkEntity'; import { MarketingInformation } from './Account'; export interface AccountsResponse { _embedded: { accounts: AccountEntity[]; }; page: { totalPages: number; number: number; size: number; totalElements: number; }; } export interface AccountResponse { account: AccountEntity; _links?: { deleteAccount: LinkEntity; accountUsers: LinkEntity; accountBulkUsers: LinkEntity; accountContentPackages: LinkEntity; }; } export interface AccountEntity { id: string; name: string; products: string[]; manager: string; status: string; type: string; marketSegment: string; deliveryMethod?: string; defaultLicenseDurationYears?: number; currency?: string; totalActiveUsers?: number; features?: { [key: string]: boolean; }; createdAt?: Date; marketingInformation?: MarketingInformation; accessExpiresOn?: Date; subAccounts?: SubAccountEntity[]; } export interface SubAccountEntity { id: string; name: string; }