import { UserInfo } from "../Users/index"; export interface ISpaceInfo { id: string; name: string; imageUrl: string; domain: string; status: Status; apiUrl: string | 'agent-api.trii.app'; apiVersion: string | 'v1'; subscriptionExpirationDate?: Date; /**Access level for current user */ accessLevel: AccessLevel; /** Date on which the user accepted to be a member of the space */ joinTimeStamp?: Date; members: UserInfo[]; showItemsInDevelopment: boolean; contactNameFormat: nameFormat; } export declare enum AccessLevel { NULL = 0, OWNER = 10, CO_OWNER = 11, ADMIN = 20, AGENT = 30, EXTERNAL = 40, GUEST = 50 } export declare enum Status { UNKNOWN = 0, QUEUED = 1, CREATING = 2, READY = 3, PENDING_TO_DELETE = 4, DELETED = 5 } export declare enum Region { eastus = 101, brazilsouth = 102, westeurope = 103 } export declare const RegionInfo: { list: { Name: string; Value: number; DisplayName: string; RegionalDisplayName: string; }[]; getInfo_from_Name: (Name: string) => { Name: string; Value: number; DisplayName: string; RegionalDisplayName: string; } | null; getInfo_from_Value: (Value: number) => { Name: string; Value: number; DisplayName: string; RegionalDisplayName: string; } | null; }; export interface ISpace { id: string; uid: string; name: string; region: Region; status: Status; apiUrl?: string; apiVersion: string | 'v1'; subscriptionId: string; subscriptionExpirationDate?: Date; konnectCustomerCreated?: boolean | false; image_url: string; domain_active: string; domain_subdomain: string; domain_custom: ICustomDomain; contactNameFormat: nameFormat; showItemsInDevelopment: boolean; timeZone: string; createdAt: Date; deletedAt: Date; } export declare enum nameFormat { FIRST_LAST = 0, LAST_FIRST = 1, FIRST_COMMA_LAST = 2, LAST_COMMA_FIRST = 3 } export interface ICustomDomain { host: string; status: CustomDomain_Status; cert_status: CustomDomain_CertStatus; } export declare enum CustomDomain_Status { NOT_CONFIGURED = 0, PENDING = 1, VALIDATING = 2, OK = 3 } export declare enum CustomDomain_CertStatus { UNKNOWN = 0, QUEUED = 1, ERROR = 2, OK = 3 }