export type Organization = { domain: string; name: string; perm_join: PermJoin; payment_token: string; description?: string; facebook?: string; homepage?: string; perm_auth_domains?: string; billing_email?: string; encryption_key?: string; accent_color?: { color: string; opacity: number; }; }; export type AccentColor = { color: string; opacity: number; }; export type OrganizationDetailsResponse = { result: boolean; org: OrganizationDetails; }; export type OrganizationDetails = { domain: string; id: number; parent: number; created: Date; updated: Date; name: string; billing_email: string; encryption_key: string; description?: string; logo?: string; accent_color?: AccentColor; facebook?: string; twitter?: string; youtube?: string; instagram?: string; homepage?: string; perm_member_manage: string; perm_auth_domains?: string; plan?: string; platform: number; storage: number; subscriber: boolean; locked: boolean; suspended: boolean; closed: boolean; }; declare enum PermJoin { 'Only Owner can invite' = "Only Owner can invite", 'Only Admins can invite' = "Only Admins can invite", 'Anyone can invite' = "Anyone can invite", 'Anyone With authorized domain can join' = "Anyone With authorized domain can join", 'Authorized Email Domains' = "Authorized Email Domains" } export type OrganizationMember = { id: number; type: "User"; permission: "owner" | "admin"; }; export type MembersList = { result: boolean; results: number; members: Array; }; export type MemberDetails = { result: boolean; member: Member; }; export type Member = { id: number; email_address: string; first_name: string; last_name: string; profile_pic: string; locked: boolean; }; export type OrganizationList = { result: boolean; results: number; orgs: Array; }; export type OrganizationListMember = { id: number; }; export {};