/** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { WorkspaceRole } from './WorkspaceRole'; import type { WorkspaceType } from './WorkspaceType'; import type { WorkspaceAllOfReferral } from './WorkspaceAllOfReferral'; /** * * @export * @interface Workspace */ export interface Workspace { /** * * @type {string} * @memberof Workspace */ 'id': string; /** * * @type {string} * @memberof Workspace */ 'parentWorkspaceId': string | null; /** * * @type {string} * @memberof Workspace */ 'title': string; /** * * @type {string} * @memberof Workspace */ 'description'?: string | null; /** * * @type {string} * @memberof Workspace */ 'slug': string; /** * * @type {WorkspaceType} * @memberof Workspace */ 'type': WorkspaceType; /** * * @type {string} * @memberof Workspace */ 'referralCode': string | null; /** * * @type {string} * @memberof Workspace */ 'avatarStoragePath': string | null; /** * * @type {WorkspaceAllOfReferral} * @memberof Workspace */ 'referral': WorkspaceAllOfReferral | null; /** * * @type {number} * @memberof Workspace */ 'membersCount': number; /** * * @type {string} * @memberof Workspace */ 'avatarUrl': string | null; /** * * @type {Array} * @memberof Workspace */ 'workspaceRoles': Array; /** * * @type {string} * @memberof Workspace */ 'createdAt': string; /** * * @type {string} * @memberof Workspace */ 'modifiedAt': string; } /** * Check if a given object implements the Workspace interface. */ export declare function instanceOfWorkspace(value: object): value is Workspace; export declare function WorkspaceFromJSON(json: any): Workspace; export declare function WorkspaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workspace; export declare function WorkspaceToJSON(json: any): Workspace; export declare function WorkspaceToJSONTyped(value?: Workspace | null, ignoreDiscriminator?: boolean): any;