export type filechannels_FileChannel = { /** * Populated in the platform API only, these fields do not exist in the DB * Client this channel belongs to (set when membershipType is individual). */ clientId?: string; /** * Company this channel belongs to (set when membershipType is company). */ companyId?: string; createdAt?: string; creatorId?: string; data?: string; id?: string; identityId?: string; /** * Id of the member who triggered the most recent notification. */ lastNotificationSenderId?: string; /** * Notification fields populated from Fields["lastNotification"] * Timestamp of the most recent notification on the channel. */ lastNotificationTimestamp?: string; /** * Ids of the channel members. */ memberIds?: Array; /** * Id of the entity (client or company) the channel is based on (deprecated legacy field). */ membershipEntityId?: string; /** * How the channel's members are grouped together. */ membershipType?: filechannels_FileChannel.membershipType; object?: string; previousAttributes?: Record; ref?: string; /** * Default permission level granted to client members on the channel's root folder. */ rootClientPermissions?: filechannels_FileChannel.rootClientPermissions; updatedAt?: string; }; export declare namespace filechannels_FileChannel { /** * How the channel's members are grouped together. */ enum membershipType { INDIVIDUAL = "individual", COMPANY = "company", GROUP = "group" } /** * Default permission level granted to client members on the channel's root folder. */ enum rootClientPermissions { READ_WRITE = "read_write", READ_ONLY = "read_only" } }