) {\n return (\n \n );\n}\n","import { Label } from '@radix-ui/react-dropdown-menu';\n\nimport { SpinnersPulseAnimationIcon } from '@/icons/core';\n\nconst LoadingFullPage = (props?: { description?: string }) => (\n \n \n {props?.description && (\n \n )}\n
\n);\n\nexport default LoadingFullPage;\n","export const LocalStorageKey = {\n Token: 'token',\n WebsiteId: 'websiteId',\n};\n\nclass LocalStorage {\n static getToken(): string | null {\n try {\n const result = localStorage.getItem(LocalStorageKey.Token);\n return result;\n } catch {\n return null;\n }\n }\n\n static setToken(value: string): boolean {\n try {\n localStorage.setItem(LocalStorageKey.Token, value);\n return true;\n } catch {\n return false;\n }\n }\n\n static removeToken(): boolean {\n try {\n localStorage.removeItem(LocalStorageKey.Token);\n return true;\n } catch {\n return false;\n }\n }\n\n static getWebsiteId(): number | null {\n try {\n const result = localStorage.getItem(LocalStorageKey.WebsiteId);\n return Number(result);\n } catch {\n return null;\n }\n }\n\n static setWebsiteId(value: number): boolean {\n try {\n localStorage.setItem(LocalStorageKey.WebsiteId, value.toString());\n return true;\n } catch {\n return false;\n }\n }\n\n static removeWebsiteId(): boolean {\n try {\n localStorage.removeItem(LocalStorageKey.WebsiteId);\n return true;\n } catch {\n return false;\n }\n }\n}\n\nexport default LocalStorage;\n","import { createContext } from 'react';\n\nimport { UserFragment } from '@/types/tanstack-query/generated';\n\ntype IAuthenticatedUserContext = {\n user: UserFragment | undefined;\n refetch: () => void;\n logout: () => void;\n};\n\nconst AuthenticatedUserContext = createContext({\n user: undefined,\n refetch: () => {},\n logout: () => {},\n});\n\nexport default AuthenticatedUserContext;\n","type IEnvironmentName = 'dev' | 'prod';\n\ntype IEnv = {\n [k in IEnvironmentName]: {\n environment: IEnvironmentName;\n base: string;\n api: string;\n ws: string;\n };\n};\n\nconst env: IEnv = {\n dev: {\n environment: 'dev',\n base: 'https://wspaces.app',\n api: 'http://localhost:4000/graphql',\n ws: 'ws://localhost:4000/graphql',\n },\n prod: {\n environment: 'prod',\n base: 'https://wspaces.app',\n api: 'https://api.wspaces.app/graphql',\n ws: 'wss://api.wspaces.app/graphql',\n },\n};\n\nclass AppEnv {\n static get = () =>\n env[import.meta.env.VITE_ENV as IEnvironmentName] ?? env.dev;\n}\n\nexport default AppEnv;\n","const key = {\n token: 'token',\n refreshToken: 'refreshToken',\n};\n\nexport default class LocalStorage {\n // Token\n static setToken = (value: string) => localStorage.setItem(key.token, value);\n\n static getToken = () => localStorage.getItem(key.token) ?? '';\n\n static setRefreshToken = (value: string) =>\n localStorage.setItem(key.refreshToken, value);\n\n static getRefreshToken = () => localStorage.getItem(key.refreshToken) ?? '';\n}\n","import { parse, ASTNode, Kind, OperationDefinitionNode } from 'graphql';\nimport { request } from 'graphql-request';\n\nimport AppEnv from '@/services/core/app-env';\nimport LocalStorage from '@/services/core/local-storage';\n\nconst isOperationDefinition = (def: ASTNode): def is OperationDefinitionNode =>\n def.kind === Kind.OPERATION_DEFINITION;\n\nexport const useFetchData = (\n query: string,\n): ((variables?: TVariables) => Promise) => {\n return async (variables?: TVariables) => {\n const token = LocalStorage.getToken();\n\n const document = parse(query);\n const queryName = document.definitions.find(isOperationDefinition)?.name\n ?.value;\n\n const headers: any = {};\n\n if (token) {\n headers.Authorization = `Bearer ${token}`;\n }\n\n return request({\n url: `${AppEnv.get().api}?${queryName}`,\n document: document,\n variables: variables as any,\n requestHeaders: headers,\n });\n };\n};\n","import { InvalidInputError, InvalidCredentialsError } from '@/services/core/error-type'; import { ClientError } from 'graphql-request'; \nimport { useQuery, useInfiniteQuery, useMutation, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';\nimport { useFetchData } from '@/hooks/useFetchData';\nexport type Maybe = T | null;\nexport type InputMaybe = Maybe;\nexport type Exact = { [K in keyof T]: T[K] };\nexport type MakeOptional = Omit & { [SubKey in K]?: Maybe };\nexport type MakeMaybe = Omit & { [SubKey in K]: Maybe };\nexport type MakeEmpty = { [_ in K]?: never };\nexport type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n DateTime: { input: string; output: string; }\n JSONObject: { input: object; output: object; }\n Upload: { input: File; output: File; }\n};\n\nexport type ActivityEntity = {\n __typename?: 'ActivityEntity';\n comment?: Maybe;\n comment_id?: Maybe;\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n from_assignee?: Maybe;\n from_assignee_id?: Maybe;\n from_due_date?: Maybe;\n from_priority?: Maybe;\n from_project?: Maybe;\n from_project_id?: Maybe;\n from_workflow?: Maybe;\n from_workflow_id?: Maybe;\n id: Scalars['String']['output'];\n is_deleted?: Maybe;\n issue_id: Scalars['String']['output'];\n label_ids?: Maybe;\n to_assignee?: Maybe;\n to_assignee_id?: Maybe;\n to_due_date?: Maybe;\n to_priority?: Maybe;\n to_project?: Maybe;\n to_project_id?: Maybe;\n to_workflow?: Maybe;\n to_workflow_id?: Maybe;\n type: ActivityType;\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport enum ActivityType {\n IssueCreated = 'ISSUE_CREATED',\n IssueCreatedAppointment = 'ISSUE_CREATED_APPOINTMENT',\n IssueCreatedComment = 'ISSUE_CREATED_COMMENT',\n IssueUpdateAssignee = 'ISSUE_UPDATE_ASSIGNEE',\n IssueUpdateComment = 'ISSUE_UPDATE_COMMENT',\n IssueUpdateDescription = 'ISSUE_UPDATE_DESCRIPTION',\n IssueUpdateDueDate = 'ISSUE_UPDATE_DUE_DATE',\n IssueUpdateLabels = 'ISSUE_UPDATE_LABELS',\n IssueUpdatePriority = 'ISSUE_UPDATE_PRIORITY',\n IssueUpdateProject = 'ISSUE_UPDATE_PROJECT',\n IssueUpdateTitle = 'ISSUE_UPDATE_TITLE',\n IssueUpdateWorkflow = 'ISSUE_UPDATE_WORKFLOW'\n}\n\nexport type AppointmentEntity = {\n __typename?: 'AppointmentEntity';\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n description?: Maybe;\n id: Scalars['String']['output'];\n is_deleted?: Maybe;\n is_public: Scalars['Boolean']['output'];\n issue_id?: Maybe;\n status: AppointmentStatus;\n time_at: Scalars['DateTime']['output'];\n updated_at: Scalars['DateTime']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport enum AppointmentStatus {\n Cancelled = 'CANCELLED',\n Completed = 'COMPLETED',\n Processing = 'PROCESSING'\n}\n\nexport type CommentEntity = {\n __typename?: 'CommentEntity';\n comment_id?: Maybe;\n content: Scalars['String']['output'];\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n id: Scalars['String']['output'];\n is_deleted?: Maybe;\n issue_id: Scalars['String']['output'];\n updated_at: Scalars['DateTime']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type CreateActivityInput = {\n comment_id?: InputMaybe;\n from_assignee_id?: InputMaybe;\n from_due_date?: InputMaybe;\n from_priority?: InputMaybe;\n from_project_id?: InputMaybe;\n from_workflow_id?: InputMaybe;\n issue_id: Scalars['String']['input'];\n label_ids?: InputMaybe;\n to_assignee_id?: InputMaybe;\n to_due_date?: InputMaybe;\n to_priority?: InputMaybe;\n to_project_id?: InputMaybe;\n to_workflow_id?: InputMaybe;\n type: ActivityType;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateAppointmentInput = {\n description: Scalars['String']['input'];\n is_public?: Scalars['Boolean']['input'];\n issue_id?: InputMaybe;\n status?: AppointmentStatus;\n time_at: Scalars['DateTime']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateCommentInput = {\n comment_id?: InputMaybe;\n content: Scalars['String']['input'];\n issue_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateDocumentInput = {\n description?: InputMaybe;\n document_id?: InputMaybe;\n team_id: Scalars['String']['input'];\n title: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateFavoriteInput = {\n map_id: Scalars['String']['input'];\n type: FavoriteType;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateFileInput = {\n file: Scalars['Upload']['input'];\n type: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateIssueInput = {\n assignee_id?: InputMaybe;\n description?: InputMaybe;\n due_date_at?: InputMaybe;\n issue_id?: InputMaybe;\n label_ids?: InputMaybe>;\n priority: PriorityType;\n project_id?: InputMaybe;\n team_id: Scalars['String']['input'];\n title: Scalars['String']['input'];\n workflow_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateLabelInput = {\n color: Scalars['String']['input'];\n description: Scalars['String']['input'];\n name: Scalars['String']['input'];\n team_id?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateMemberWorkspaceInput = {\n email: Scalars['String']['input'];\n member_id?: InputMaybe;\n team_id?: InputMaybe>;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateProjectInput = {\n description?: InputMaybe;\n end_at?: InputMaybe;\n icon?: InputMaybe;\n label_ids?: InputMaybe;\n leader_id?: InputMaybe;\n member_ids?: InputMaybe;\n priority?: InputMaybe;\n project_status_id?: InputMaybe;\n short_summary?: InputMaybe;\n start_at?: InputMaybe;\n team_ids?: InputMaybe;\n title: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateProjectStatusInput = {\n color?: InputMaybe;\n description?: InputMaybe;\n name?: InputMaybe;\n order?: InputMaybe;\n type?: InputMaybe;\n workspace_id?: InputMaybe;\n};\n\nexport type CreateSubscriberInput = {\n map_id: Scalars['String']['input'];\n type: SubscriberType;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateTeamInput = {\n color: Scalars['String']['input'];\n icon: Scalars['String']['input'];\n identifier: Scalars['String']['input'];\n name: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateUploadDocumentAttachmentInput = {\n document_id: Scalars['String']['input'];\n file: Scalars['Upload']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateUploadIssueAttachmentInput = {\n file: Scalars['Upload']['input'];\n issue_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type CreateUserInput = {\n email: Scalars['String']['input'];\n full_name: Scalars['String']['input'];\n mode?: ThemeType;\n username: Scalars['String']['input'];\n};\n\nexport type CreateWorkflowInput = {\n color?: InputMaybe;\n description?: InputMaybe;\n name?: InputMaybe;\n order?: InputMaybe;\n team_id?: InputMaybe;\n type?: InputMaybe;\n workspace_id?: InputMaybe;\n};\n\nexport type CreateWorkspaceInput = {\n disabled_invite_link?: InputMaybe;\n large_company?: InputMaybe;\n logo?: InputMaybe;\n name: Scalars['String']['input'];\n timezone?: InputMaybe;\n url: Scalars['String']['input'];\n your_role?: InputMaybe;\n};\n\nexport type DeleteWorkspaceInput = {\n code: Scalars['String']['input'];\n type: OtpType;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type DocumentAttachmentEntity = {\n __typename?: 'DocumentAttachmentEntity';\n created_at?: Maybe;\n created_by: Scalars['String']['output'];\n document_id: Scalars['String']['output'];\n file?: Maybe;\n file_id: Scalars['String']['output'];\n id: Scalars['String']['output'];\n user?: Maybe;\n workspace?: Maybe;\n workspace_id?: Maybe;\n};\n\nexport type DocumentEntity = {\n __typename?: 'DocumentEntity';\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n description?: Maybe;\n document_id?: Maybe;\n id: Scalars['String']['output'];\n is_deleted: Scalars['Boolean']['output'];\n team_id: Scalars['String']['output'];\n title: Scalars['String']['output'];\n updated_at: Scalars['DateTime']['output'];\n updated_by?: Maybe;\n user: UserEntity;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type DocumentVersionEntity = {\n __typename?: 'DocumentVersionEntity';\n content?: Maybe;\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n document_id: Scalars['String']['output'];\n id: Scalars['String']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type FavoriteEntity = {\n __typename?: 'FavoriteEntity';\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n id: Scalars['String']['output'];\n map_id: Scalars['String']['output'];\n type: FavoriteType;\n user?: Maybe;\n workspace_id?: Maybe;\n};\n\nexport enum FavoriteType {\n Document = 'DOCUMENT',\n Issue = 'ISSUE',\n Project = 'PROJECT',\n Team = 'TEAM'\n}\n\nexport type FileEntity = {\n __typename?: 'FileEntity';\n created_at?: Maybe;\n id: Scalars['String']['output'];\n mime_type: Scalars['String']['output'];\n name: Scalars['String']['output'];\n path: Scalars['String']['output'];\n size: Scalars['Int']['output'];\n user?: Maybe;\n workspace?: Maybe;\n workspace_id?: Maybe;\n};\n\nexport type GetActivitiesInput = {\n issue_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetAnalyticsProject = {\n __typename?: 'GetAnalyticsProject';\n completed: Scalars['Float']['output'];\n labels: Array;\n members: Array;\n project_id: Scalars['String']['output'];\n scope: Scalars['Float']['output'];\n started: Scalars['Float']['output'];\n workspace_id: Scalars['String']['output'];\n};\n\nexport type GetAnalyticsProjectLabels = {\n __typename?: 'GetAnalyticsProjectLabels';\n id: Scalars['String']['output'];\n total_completed: Scalars['Float']['output'];\n total_scope: Scalars['Float']['output'];\n total_started: Scalars['Float']['output'];\n};\n\nexport type GetAnalyticsProjectMembers = {\n __typename?: 'GetAnalyticsProjectMembers';\n id: Scalars['String']['output'];\n total_completed: Scalars['Float']['output'];\n total_scope: Scalars['Float']['output'];\n total_started: Scalars['Float']['output'];\n};\n\nexport type GetAppointmentsInput = {\n issue_id?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetCommentsInput = {\n issue_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetDocumentAttachmentsInput = {\n document_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetDocumentInput = {\n id: Scalars['String']['input'];\n};\n\nexport type GetDocumentVersionsInput = {\n document_id: Scalars['String']['input'];\n};\n\nexport type GetDocumentsInput = {\n created_by?: InputMaybe;\n document_id?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetFilesInput = {\n name?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetIssueAttachmentsInput = {\n issue_id: Scalars['String']['input'];\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetIssueInput = {\n issue_identifier: Scalars['Float']['input'];\n team_identifier: Scalars['String']['input'];\n workspace_url: Scalars['String']['input'];\n};\n\nexport type GetIssueLabelsInput = {\n issue_id: Scalars['String']['input'];\n};\n\nexport type GetIssueVersionsInput = {\n issue_id: Scalars['String']['input'];\n};\n\nexport type GetIssuesInput = {\n assignee_id?: InputMaybe;\n created_by?: InputMaybe;\n project_id?: InputMaybe;\n subscribe_by?: InputMaybe;\n team_id?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetLabelsInput = {\n team_id?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetMemberTeamInput = {\n email?: InputMaybe;\n team_id?: InputMaybe;\n};\n\nexport type GetMemberWorkspaceInput = {\n email?: InputMaybe;\n workspace_id?: InputMaybe;\n};\n\nexport type GetNotificationsInput = {\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetProjectStatusesInput = {\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetProjectVersionsInput = {\n project_id: Scalars['String']['input'];\n};\n\nexport type GetProjectsInput = {\n workspace_id: Scalars['String']['input'];\n};\n\nexport type GetWorkflowsInput = {\n team_id?: InputMaybe;\n workspace_id: Scalars['String']['input'];\n};\n\nexport type IssueAttachmentEntity = {\n __typename?: 'IssueAttachmentEntity';\n created_at?: Maybe;\n created_by: Scalars['String']['output'];\n file?: Maybe;\n file_id: Scalars['String']['output'];\n id: Scalars['String']['output'];\n issue_id: Scalars['String']['output'];\n user?: Maybe;\n workspace?: Maybe;\n workspace_id?: Maybe;\n};\n\nexport type IssueEntity = {\n __typename?: 'IssueEntity';\n assignee_id?: Maybe;\n code: Scalars['Int']['output'];\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n description: Scalars['String']['output'];\n due_date_at?: Maybe;\n id: Scalars['String']['output'];\n is_deleted: Scalars['Boolean']['output'];\n issue_id?: Maybe;\n labels?: Maybe>;\n priority: PriorityType;\n project_id?: Maybe;\n team_id?: Maybe;\n title: Scalars['String']['output'];\n updated_at: Scalars['DateTime']['output'];\n updated_by?: Maybe;\n user: UserEntity;\n workflow_id?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type IssueLabelEntity = {\n __typename?: 'IssueLabelEntity';\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n id: Scalars['String']['output'];\n issue_id: Scalars['String']['output'];\n label_id: Scalars['String']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type IssueVersionEntity = {\n __typename?: 'IssueVersionEntity';\n content?: Maybe;\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n id: Scalars['String']['output'];\n issue_id: Scalars['String']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type JoinWorkspaceInput = {\n email?: InputMaybe;\n id: Scalars['String']['input'];\n invite?: InputMaybe;\n};\n\nexport type LabelEntity = {\n __typename?: 'LabelEntity';\n color: Scalars['String']['output'];\n created_at?: Maybe;\n description?: Maybe;\n id: Scalars['String']['output'];\n name: Scalars['String']['output'];\n team_id?: Maybe;\n updated_at?: Maybe;\n user?: Maybe;\n workspace?: Maybe;\n workspace_id?: Maybe;\n};\n\nexport type MemberTeamEntity = {\n __typename?: 'MemberTeamEntity';\n created_at?: Maybe;\n email: Scalars['String']['output'];\n id: Scalars['String']['output'];\n member?: Maybe;\n member_id?: Maybe;\n team?: Maybe;\n team_id: Scalars['String']['output'];\n user?: Maybe;\n workspace?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type MemberWorkspaceEntity = {\n __typename?: 'MemberWorkspaceEntity';\n created_at?: Maybe;\n email: Scalars['String']['output'];\n id: Scalars['String']['output'];\n is_joined: Scalars['Boolean']['output'];\n joined_at?: Maybe;\n member_id: Scalars['String']['output'];\n user?: Maybe;\n workspace?: Maybe;\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n confirmDeleteWorkspace: Scalars['Boolean']['output'];\n createActivity: ActivityEntity;\n createAppointment?: Maybe;\n createAttachment: FileEntity;\n createComment?: Maybe;\n createDocument: DocumentEntity;\n createDocumentAttachment: DocumentAttachmentEntity;\n createIssue: IssueEntity;\n createIssueAttachment: IssueAttachmentEntity;\n createLabel: LabelEntity;\n createMemberWorkspace: Scalars['Boolean']['output'];\n createProject: ProjectEntity;\n createProjectStatus: ProjectStatusEntity;\n createTeam: TeamEntity;\n createUser: UserEntity;\n createWorkflow: WorkflowEntity;\n createWorkspace: WorkspaceEntity;\n deleteDocumentAttachment: Scalars['Boolean']['output'];\n deleteIssue: Scalars['Boolean']['output'];\n deleteIssueAttachment: Scalars['Boolean']['output'];\n deleteProject: Scalars['Boolean']['output'];\n generateInviteLink: Scalars['String']['output'];\n joinInviteLink: Scalars['Boolean']['output'];\n joinWorkspace: Scalars['Boolean']['output'];\n markReadNotification: Scalars['Boolean']['output'];\n removeAppointment: Scalars['Boolean']['output'];\n removeComment: Scalars['Boolean']['output'];\n removeDocument: Scalars['Boolean']['output'];\n removeLabel: LabelEntity;\n removeMemberTeam: MemberTeamEntity;\n removeMemberWorkspace: Scalars['Boolean']['output'];\n removeProjectStatus: ProjectStatusEntity;\n removeTeam: TeamEntity;\n removeWorkflow: WorkflowEntity;\n removeWorkspace: WorkspaceEntity;\n restoreDocumentVersion: Scalars['Boolean']['output'];\n restoreProjectVersion: Scalars['Boolean']['output'];\n restoreVersion: Scalars['Boolean']['output'];\n sendOtpDeleteWorkspace: Scalars['Boolean']['output'];\n signIn: Scalars['Boolean']['output'];\n sortableProjectStatus: Scalars['Boolean']['output'];\n sortableWorkflow: Scalars['Boolean']['output'];\n subscribe: Scalars['Boolean']['output'];\n toggleFavorite: Scalars['Boolean']['output'];\n updateAppointment?: Maybe;\n updateComment?: Maybe;\n updateDocument: Scalars['Boolean']['output'];\n updateIssue: IssueEntity;\n updateLabel: LabelEntity;\n updateProject: Scalars['Boolean']['output'];\n updateProjectStatus: ProjectStatusEntity;\n updateTeam: TeamEntity;\n updateThemeMode: Scalars['Boolean']['output'];\n updateUser: Scalars['Boolean']['output'];\n updateWorkflow: WorkflowEntity;\n updateWorkspace: WorkspaceEntity;\n validateOTP: SignInResponse;\n};\n\n\nexport type MutationConfirmDeleteWorkspaceArgs = {\n deleteInput: DeleteWorkspaceInput;\n};\n\n\nexport type MutationCreateActivityArgs = {\n createInput: CreateActivityInput;\n};\n\n\nexport type MutationCreateAppointmentArgs = {\n createInput: CreateAppointmentInput;\n};\n\n\nexport type MutationCreateAttachmentArgs = {\n createInput: CreateFileInput;\n};\n\n\nexport type MutationCreateCommentArgs = {\n createInput: CreateCommentInput;\n};\n\n\nexport type MutationCreateDocumentArgs = {\n createInput: CreateDocumentInput;\n};\n\n\nexport type MutationCreateDocumentAttachmentArgs = {\n createInput: CreateUploadDocumentAttachmentInput;\n};\n\n\nexport type MutationCreateIssueArgs = {\n createInput: CreateIssueInput;\n};\n\n\nexport type MutationCreateIssueAttachmentArgs = {\n createInput: CreateUploadIssueAttachmentInput;\n};\n\n\nexport type MutationCreateLabelArgs = {\n createInput: CreateLabelInput;\n};\n\n\nexport type MutationCreateMemberWorkspaceArgs = {\n createInput: CreateMemberWorkspaceInput;\n};\n\n\nexport type MutationCreateProjectArgs = {\n createInput: CreateProjectInput;\n};\n\n\nexport type MutationCreateProjectStatusArgs = {\n createInput: CreateProjectStatusInput;\n};\n\n\nexport type MutationCreateTeamArgs = {\n createInput: CreateTeamInput;\n};\n\n\nexport type MutationCreateUserArgs = {\n createUserInput: CreateUserInput;\n};\n\n\nexport type MutationCreateWorkflowArgs = {\n createInput: CreateWorkflowInput;\n};\n\n\nexport type MutationCreateWorkspaceArgs = {\n createInput: CreateWorkspaceInput;\n};\n\n\nexport type MutationDeleteDocumentAttachmentArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationDeleteIssueArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationDeleteIssueAttachmentArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationDeleteProjectArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateInviteLinkArgs = {\n workspace_id: Scalars['String']['input'];\n};\n\n\nexport type MutationJoinInviteLinkArgs = {\n invite_link: Scalars['String']['input'];\n};\n\n\nexport type MutationJoinWorkspaceArgs = {\n joinInput: JoinWorkspaceInput;\n};\n\n\nexport type MutationMarkReadNotificationArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveAppointmentArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveCommentArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveDocumentArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveLabelArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveMemberTeamArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveMemberWorkspaceArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveProjectStatusArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveTeamArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveWorkflowArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRemoveWorkspaceArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type MutationRestoreDocumentVersionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRestoreProjectVersionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationRestoreVersionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationSendOtpDeleteWorkspaceArgs = {\n workspace_id: Scalars['String']['input'];\n};\n\n\nexport type MutationSignInArgs = {\n email: Scalars['String']['input'];\n};\n\n\nexport type MutationSortableProjectStatusArgs = {\n ids: Array;\n};\n\n\nexport type MutationSortableWorkflowArgs = {\n ids: Array;\n};\n\n\nexport type MutationSubscribeArgs = {\n input: CreateSubscriberInput;\n};\n\n\nexport type MutationToggleFavoriteArgs = {\n toggleFavorite: CreateFavoriteInput;\n};\n\n\nexport type MutationUpdateAppointmentArgs = {\n updateInput: UpdateAppointmentInput;\n};\n\n\nexport type MutationUpdateCommentArgs = {\n updateInput: UpdateCommentInput;\n};\n\n\nexport type MutationUpdateDocumentArgs = {\n updateInput: UpdateDocumentInput;\n};\n\n\nexport type MutationUpdateIssueArgs = {\n updateInput: UpdateIssueInput;\n};\n\n\nexport type MutationUpdateLabelArgs = {\n updateInput: UpdateLabelInput;\n};\n\n\nexport type MutationUpdateProjectArgs = {\n updateInput: UpdateProjectInput;\n};\n\n\nexport type MutationUpdateProjectStatusArgs = {\n updateInput: UpdateProjectStatusInput;\n};\n\n\nexport type MutationUpdateTeamArgs = {\n updateInput: UpdateTeamInput;\n};\n\n\nexport type MutationUpdateThemeModeArgs = {\n updateInput: UpdateThemeInput;\n};\n\n\nexport type MutationUpdateUserArgs = {\n updateInput: UpdateUserInput;\n};\n\n\nexport type MutationUpdateWorkflowArgs = {\n updateInput: UpdateWorkflowInput;\n};\n\n\nexport type MutationUpdateWorkspaceArgs = {\n updateInput: UpdateWorkspaceInput;\n};\n\n\nexport type MutationValidateOtpArgs = {\n validateInput: ValidateOtpSignInInput;\n};\n\nexport type NotificationEntity = {\n __typename?: 'NotificationEntity';\n activity_id?: Maybe;\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n event?: Maybe;\n id: Scalars['String']['output'];\n map_id: Scalars['String']['output'];\n mark_read: Scalars['Boolean']['output'];\n member_id: Scalars['String']['output'];\n type: NotificationType;\n updated_at: Scalars['DateTime']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport enum NotificationType {\n Document = 'DOCUMENT',\n Issue = 'ISSUE',\n Project = 'PROJECT'\n}\n\nexport enum OtpType {\n DeleteWorkspace = 'DELETE_WORKSPACE',\n SignIn = 'SIGN_IN'\n}\n\nexport enum PriorityType {\n High = 'HIGH',\n Low = 'LOW',\n Medium = 'MEDIUM',\n NoPriority = 'NO_PRIORITY',\n Urgent = 'URGENT'\n}\n\nexport type ProjectEntity = {\n __typename?: 'ProjectEntity';\n analytics?: Maybe;\n code: Scalars['String']['output'];\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n description?: Maybe;\n end_at?: Maybe;\n icon?: Maybe;\n id: Scalars['String']['output'];\n is_deleted: Scalars['Boolean']['output'];\n label_ids?: Maybe;\n leader_id?: Maybe;\n member_ids?: Maybe;\n priority: PriorityType;\n project_status_id?: Maybe;\n short_summary?: Maybe;\n start_at?: Maybe;\n team_ids?: Maybe;\n title: Scalars['String']['output'];\n updated_at: Scalars['DateTime']['output'];\n updated_by?: Maybe;\n user: UserEntity;\n workspace_id: Scalars['String']['output'];\n};\n\nexport type ProjectStatusEntity = {\n __typename?: 'ProjectStatusEntity';\n color?: Maybe;\n created_at: Scalars['DateTime']['output'];\n description?: Maybe;\n id: Scalars['String']['output'];\n name: Scalars['String']['output'];\n order?: Maybe;\n processing: Scalars['Float']['output'];\n type: ProjectStatusType;\n updated_at?: Maybe;\n user?: Maybe;\n workspace?: Maybe;\n};\n\nexport enum ProjectStatusType {\n Backlog = 'BACKLOG',\n Canceled = 'CANCELED',\n Completed = 'COMPLETED',\n InProgress = 'IN_PROGRESS',\n Planned = 'PLANNED'\n}\n\nexport type ProjectVersionEntity = {\n __typename?: 'ProjectVersionEntity';\n content?: Maybe;\n created_at: Scalars['DateTime']['output'];\n created_by: Scalars['String']['output'];\n id: Scalars['String']['output'];\n project_id: Scalars['String']['output'];\n user?: Maybe;\n workspace_id: Scalars['String']['output'];\n};\n\nexport enum PushEventType {\n ActivityAddedAppointment = 'ACTIVITY_ADDED_APPOINTMENT',\n ActivityAddedComment = 'ACTIVITY_ADDED_COMMENT',\n ActivityDeletedAppointment = 'ACTIVITY_DELETED_APPOINTMENT',\n ActivityDeletedComment = 'ACTIVITY_DELETED_COMMENT',\n ActivityUpdatedAssignee = 'ACTIVITY_UPDATED_ASSIGNEE',\n ActivityUpdatedDescription = 'ACTIVITY_UPDATED_DESCRIPTION',\n ActivityUpdatedDueDate = 'ACTIVITY_UPDATED_DUE_DATE',\n ActivityUpdatedLabels = 'ACTIVITY_UPDATED_LABELS',\n ActivityUpdatedPriority = 'ACTIVITY_UPDATED_PRIORITY',\n ActivityUpdatedProject = 'ACTIVITY_UPDATED_PROJECT',\n ActivityUpdatedWorkflow = 'ACTIVITY_UPDATED_WORKFLOW',\n AppointmentAdded = 'APPOINTMENT_ADDED',\n AppointmentDeleted = 'APPOINTMENT_DELETED',\n AppointmentUpdated = 'APPOINTMENT_UPDATED',\n CommentAdded = 'COMMENT_ADDED',\n CommentDeleted = 'COMMENT_DELETED',\n CommentUpdated = 'COMMENT_UPDATED',\n DocumentAdded = 'DOCUMENT_ADDED',\n DocumentAttachmentAdded = 'DOCUMENT_ATTACHMENT_ADDED',\n DocumentAttachmentDeleted = 'DOCUMENT_ATTACHMENT_DELETED',\n DocumentDeleted = 'DOCUMENT_DELETED',\n DocumentSubscribed = 'DOCUMENT_SUBSCRIBED',\n DocumentUnsubscribed = 'DOCUMENT_UNSUBSCRIBED',\n DocumentUpdated = 'DOCUMENT_UPDATED',\n FavoriteAdded = 'FAVORITE_ADDED',\n FavoriteDeleted = 'FAVORITE_DELETED',\n IssueAdded = 'ISSUE_ADDED',\n IssueAttachmentAdded = 'ISSUE_ATTACHMENT_ADDED',\n IssueAttachmentDeleted = 'ISSUE_ATTACHMENT_DELETED',\n IssueDeleted = 'ISSUE_DELETED',\n IssueSubscribed = 'ISSUE_SUBSCRIBED',\n IssueUnsubscribed = 'ISSUE_UNSUBSCRIBED',\n IssueUpdated = 'ISSUE_UPDATED',\n LabelAdded = 'LABEL_ADDED',\n LabelDeleted = 'LABEL_DELETED',\n LabelUpdated = 'LABEL_UPDATED',\n MemberWorkspaceAdded = 'MEMBER_WORKSPACE_ADDED',\n MemberWorkspaceDeleted = 'MEMBER_WORKSPACE_DELETED',\n NotificationDocumentUpdated = 'NOTIFICATION_DOCUMENT_UPDATED',\n NotificationNewAssignee = 'NOTIFICATION_NEW_ASSIGNEE',\n NotificationNewComment = 'NOTIFICATION_NEW_COMMENT',\n NotificationNewLeader = 'NOTIFICATION_NEW_LEADER',\n NotificationReplyComment = 'NOTIFICATION_REPLY_COMMENT',\n NotificationUpdateDueDate = 'NOTIFICATION_UPDATE_DUE_DATE',\n NotificationUpdateWorkflow = 'NOTIFICATION_UPDATE_WORKFLOW',\n ProjectAdded = 'PROJECT_ADDED',\n ProjectDeleted = 'PROJECT_DELETED',\n ProjectStatusAdded = 'PROJECT_STATUS_ADDED',\n ProjectStatusDeleted = 'PROJECT_STATUS_DELETED',\n ProjectStatusUpdated = 'PROJECT_STATUS_UPDATED',\n ProjectUpdated = 'PROJECT_UPDATED',\n TeamAdded = 'TEAM_ADDED',\n TeamDeleted = 'TEAM_DELETED',\n TeamUpdated = 'TEAM_UPDATED',\n UserUpdated = 'USER_UPDATED',\n WorkflowAdded = 'WORKFLOW_ADDED',\n WorkflowDeleted = 'WORKFLOW_DELETED',\n WorkflowUpdated = 'WORKFLOW_UPDATED'\n}\n\nexport type Query = {\n __typename?: 'Query';\n activities: Array;\n appointments: Array;\n comments: Array;\n document: DocumentEntity;\n documentAttachments: Array;\n documentVersions: Array;\n documents: Array;\n files: Array;\n getInviteEmail: WorkspaceInviteEmail;\n getInviteLink: WorkspaceInviteLink;\n issue: IssueEntity;\n issueAttachments: Array;\n issueLabels: Array;\n issueVersions: Array;\n issues: Array;\n labels: Array;\n labelsIncludeCore: Array;\n me: UserEntity;\n membersTeam: Array;\n membersWorkspace: Array;\n notifications: Array;\n pendingMembersWorkspace: Array;\n projectStatuses: Array