@burdenoff/microfe-conversations 2026.830.1 → 2026.924.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/conversations/components/ConversationRow.js +81 -81
- package/dist/conversations/components/ConversationRow.js.map +1 -1
- package/dist/conversations/components/MessageBubble.js +116 -113
- package/dist/conversations/components/MessageBubble.js.map +1 -1
- package/dist/conversations/components/PermissionGuard.js +13 -16
- package/dist/conversations/components/PermissionGuard.js.map +1 -1
- package/dist/conversations/index.js +1 -0
- package/dist/conversations/pages/ConversationAdminPages.js +64 -79
- package/dist/conversations/pages/ConversationAdminPages.js.map +1 -1
- package/dist/conversations/pages/ConversationDetailPage.js +120 -120
- package/dist/conversations/pages/ConversationDetailPage.js.map +1 -1
- package/dist/conversations/utils/i18n.js +3 -3
- package/dist/conversations/utils/i18n.js.map +1 -1
- package/dist/conversations/utils/mappers.js +19 -11
- package/dist/conversations/utils/mappers.js.map +1 -1
- package/dist/generated/wspace-operations.js +7 -0
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/translations/en.js +319 -0
- package/dist/translations/en.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type CreateConversationMutationVariables = Types.Exact<{\n input: Types.CreateConversationInput;\n}>;\n\n\nexport type CreateConversationMutation = { __typename?: 'Mutation', createConversation: { __typename?: 'CreateConversationPayload', success: boolean, conversation?: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, joinedAt: string } | null, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean } } | null } };\n\nexport type UpdateConversationMutationVariables = Types.Exact<{\n input: Types.UpdateConversationInput;\n}>;\n\n\nexport type UpdateConversationMutation = { __typename?: 'Mutation', updateConversation: { __typename?: 'UpdateConversationPayload', success: boolean, conversation?: { __typename?: 'Conversation', id: string, title?: string | null, description?: string | null, avatar?: string | null, settings?: Record<string, unknown> | null, updatedAt: string } | null } };\n\nexport type ArchiveConversationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ArchiveConversationMutation = { __typename?: 'Mutation', archiveConversation: { __typename?: 'Conversation', id: string, state: Types.ConversationState, updatedAt: string } };\n\nexport type UnarchiveConversationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnarchiveConversationMutation = { __typename?: 'Mutation', unarchiveConversation: { __typename?: 'Conversation', id: string, state: Types.ConversationState, updatedAt: string } };\n\nexport type DeleteConversationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteConversationMutation = { __typename?: 'Mutation', deleteConversation: { __typename?: 'DeleteConversationPayload', conversationId: string, success: boolean } };\n\nexport type AddParticipantMutationVariables = Types.Exact<{\n input: Types.AddParticipantInput;\n}>;\n\n\nexport type AddParticipantMutation = { __typename?: 'Mutation', addParticipant: { __typename?: 'ConversationMembership', id: string, conversationId: string, userId: string, workspaceId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, notificationLevel: Types.NotificationLevel, isMuted: boolean, canSendMessages: boolean, canAddMembers: boolean, canRemoveMembers: boolean, joinedAt: string, invitedBy?: string | null, createdAt: string, updatedAt: string } };\n\nexport type RemoveParticipantMutationVariables = Types.Exact<{\n input: Types.RemoveParticipantInput;\n}>;\n\n\nexport type RemoveParticipantMutation = { __typename?: 'Mutation', removeParticipant: { __typename?: 'RemoveParticipantPayload', conversationId: string, userId: string, success: boolean } };\n\nexport type LeaveConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type LeaveConversationMutation = { __typename?: 'Mutation', leaveConversation: { __typename?: 'LeaveConversationPayload', conversationId: string, success: boolean } };\n\nexport type UpdateParticipantRoleMutationVariables = Types.Exact<{\n input: Types.UpdateParticipantRoleInput;\n}>;\n\n\nexport type UpdateParticipantRoleMutation = { __typename?: 'Mutation', updateParticipantRole: { __typename?: 'ConversationMembership', id: string, conversationId: string, userId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, canSendMessages: boolean, canAddMembers: boolean, canRemoveMembers: boolean, updatedAt: string } };\n\nexport type SendMessageMutationVariables = Types.Exact<{\n input: Types.SendMessageInput;\n}>;\n\n\nexport type SendMessageMutation = { __typename?: 'Mutation', sendMessage: { __typename?: 'SendMessagePayload', success: boolean, message?: { __typename?: 'Message', id: string, conversationId: string, workspaceId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isPinned: boolean, createdAt: string, updatedAt: string, replyCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean } } | null } };\n\nexport type EditMessageMutationVariables = Types.Exact<{\n input: Types.EditMessageInput;\n}>;\n\n\nexport type EditMessageMutation = { __typename?: 'Mutation', editMessage: { __typename?: 'Message', id: string, content: Record<string, unknown>, isEdited: boolean, editedAt?: string | null, updatedAt: string, editHistory: Array<{ __typename?: 'MessageEdit', id: string, previousContent: Record<string, unknown>, editedBy: string, editedAt: string, reason?: string | null }> } };\n\nexport type DeleteMessageMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n hard?: Types.InputMaybe<Types.Scalars['Boolean']['input']>;\n}>;\n\n\nexport type DeleteMessageMutation = { __typename?: 'Mutation', deleteMessage: { __typename?: 'DeleteMessagePayload', messageId: string, success: boolean } };\n\nexport type AddReactionMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n emoji: Types.Scalars['String']['input'];\n}>;\n\n\nexport type AddReactionMutation = { __typename?: 'Mutation', addReaction: { __typename?: 'Reaction', id: string, messageId: string, userId: string, emoji: string, createdAt: string } };\n\nexport type RemoveReactionMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n emoji: Types.Scalars['String']['input'];\n}>;\n\n\nexport type RemoveReactionMutation = { __typename?: 'Mutation', removeReaction: { __typename?: 'RemoveReactionPayload', messageId: string, emoji: string, success: boolean } };\n\nexport type MuteConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MuteConversationMutation = { __typename?: 'Mutation', muteConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type PinConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type PinConversationMutation = { __typename?: 'Mutation', pinConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type PinMessageByHookMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type PinMessageByHookMutation = { __typename?: 'Mutation', pinMessage: { __typename?: 'Message', id: string } };\n\nexport type UnmuteConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnmuteConversationMutation = { __typename?: 'Mutation', unmuteConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type UnpinConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnpinConversationMutation = { __typename?: 'Mutation', unpinConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type UnpinMessageByHookMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnpinMessageByHookMutation = { __typename?: 'Mutation', unpinMessage: { __typename?: 'Message', id: string } };\n\nexport type UpdateConversationByHookMutationVariables = Types.Exact<{\n input: Types.UpdateConversationInput;\n}>;\n\n\nexport type UpdateConversationByHookMutation = { __typename?: 'Mutation', updateConversation: { __typename?: 'UpdateConversationPayload', success: boolean, conversation?: { __typename?: 'Conversation', id: string, title?: string | null, description?: string | null, avatar?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean, anonymousMode: boolean, screenShare: boolean, recording: boolean } } | null } };\n\nexport type GetConversationQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetConversationQuery = { __typename?: 'Query', conversation?: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, settings?: Record<string, unknown> | null, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, lastReadMessageId?: string | null, lastReadAt?: string | null, unreadCount: number, mentionCount: number, notificationLevel: Types.NotificationLevel, isMuted: boolean, isPinned: boolean, pinnedOrder?: number | null, canSendMessages: boolean, canAddMembers: boolean, canRemoveMembers: boolean, joinedAt: string, customTitle?: string | null, customAvatar?: string | null } | null, members: { __typename?: 'ConversationMembershipConnection', totalCount?: number | null, edges: Array<{ __typename?: 'ConversationMembershipEdge', node: { __typename?: 'ConversationMembership', id: string, userId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, joinedAt: string, leftAt?: string | null, customTitle?: string | null, customAvatar?: string | null } }> }, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean, anonymousMode: boolean, screenShare: boolean, recording: boolean } } | null };\n\nexport type GetConversationsQueryVariables = Types.Exact<{\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n filter?: Types.InputMaybe<Types.ConversationFilter>;\n sort?: Types.InputMaybe<Types.ConversationSort>;\n}>;\n\n\nexport type GetConversationsQuery = { __typename?: 'Query', conversations: { __typename?: 'ConversationConnection', totalCount?: number | null, edges: Array<{ __typename?: 'ConversationEdge', cursor: string, node: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, settings?: Record<string, unknown> | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, lastMessage?: { __typename?: 'Message', id: string, type: Types.MessageType, content: Record<string, unknown>, authorId: string, authorType: string, createdAt: string } | null, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, unreadCount: number, mentionCount: number, notificationLevel: Types.NotificationLevel, isMuted: boolean, isPinned: boolean } | null, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean } } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } };\n\nexport type GetMessagesQueryVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n before?: Types.InputMaybe<Types.Scalars['String']['input']>;\n filter?: Types.InputMaybe<Types.MessageFilter>;\n}>;\n\n\nexport type GetMessagesQuery = { __typename?: 'Query', messages: { __typename?: 'MessageConnection', totalCount?: number | null, edges: Array<{ __typename?: 'MessageEdge', cursor: string, node: { __typename?: 'Message', id: string, conversationId: string, workspaceId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isHidden: boolean, isEdited: boolean, editedAt?: string | null, isPinned: boolean, pinnedBy?: string | null, pinnedAt?: string | null, expiresAt?: string | null, deletedAt?: string | null, createdAt: string, updatedAt: string, replyCount: number, readCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, downloadUrl?: string | null, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } };\n\nexport type GetPresenceQueryVariables = Types.Exact<{\n userIds: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetPresenceQuery = { __typename?: 'Query', presence: Array<{ __typename?: 'Presence', userId: string, status: Types.PresenceStatus, customStatus?: string | null, lastSeenAt?: string | null }> };\n\nexport type GetThreadMessagesQueryVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type GetThreadMessagesQuery = { __typename?: 'Query', thread: { __typename?: 'MessageConnection', edges: Array<{ __typename?: 'MessageEdge', cursor: string, node: { __typename?: 'Message', id: string, conversationId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isEdited: boolean, editedAt?: string | null, isPinned: boolean, createdAt: string, updatedAt: string, replyCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null } } };\n\nexport type GetWorkspaceDirectoryQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.WorkspaceDirectoryFilter>;\n pagination?: Types.InputMaybe<Types.PaginationInput>;\n}>;\n\n\nexport type GetWorkspaceDirectoryQuery = { __typename?: 'Query', workspaceDirectory: { __typename?: 'WorkspaceDirectoryConnection', totalCount?: number | null, edges: Array<{ __typename?: 'WorkspaceDirectoryEntry', id: string, name: string, email?: string | null, avatar?: string | null }> } };\n\nexport type SearchConversationsQueryVariables = Types.Exact<{\n query: Types.Scalars['String']['input'];\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n filter?: Types.InputMaybe<Types.ConversationFilter>;\n}>;\n\n\nexport type SearchConversationsQuery = { __typename?: 'Query', searchConversations: { __typename?: 'ConversationConnection', totalCount?: number | null, edges: Array<{ __typename?: 'ConversationEdge', cursor: string, node: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, settings?: Record<string, unknown> | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, lastMessage?: { __typename?: 'Message', id: string, type: Types.MessageType, content: Record<string, unknown>, authorId: string, authorType: string, createdAt: string } | null, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, unreadCount: number, mentionCount: number, isMuted: boolean, isPinned: boolean } | null } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } };\n\nexport type SearchMessagesByHookQueryVariables = Types.Exact<{\n query: Types.Scalars['String']['input'];\n conversationId?: Types.InputMaybe<Types.Scalars['ID']['input']>;\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n}>;\n\n\nexport type SearchMessagesByHookQuery = { __typename?: 'Query', searchMessages: { __typename?: 'MessageConnection', edges: Array<{ __typename?: 'MessageEdge', node: { __typename?: 'Message', id: string, conversationId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isEdited: boolean, editedAt?: string | null, isPinned: boolean, createdAt: string, updatedAt: string, replyCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } }> } };\n\nexport type ConversationAddedSubscriptionVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type ConversationAddedSubscription = { __typename?: 'Subscription', conversationAdded: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, createdBy: string, state: Types.ConversationState, visibility: Types.ConversationVisibility, createdAt: string, updatedAt: string } };\n\nexport type ConversationUpdatedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ConversationUpdatedSubscription = { __typename?: 'Subscription', conversationUpdated: { __typename?: 'ConversationUpdatedPayload', changes: Array<string>, conversation: { __typename?: 'Conversation', id: string, title?: string | null, description?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, avatar?: string | null, settings?: Record<string, unknown> | null, updatedAt: string } } };\n\nexport type ConversationDeletedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ConversationDeletedSubscription = { __typename?: 'Subscription', conversationDeleted: { __typename?: 'ConversationDeletedPayload', conversationId: string, deletedBy: string } };\n\nexport type ParticipantChangedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ParticipantChangedSubscription = { __typename?: 'Subscription', participantChanged: { __typename?: 'ParticipantChangedPayload', changeType: Types.ParticipantChangeType, conversation: { __typename?: 'Conversation', id: string }, membership: { __typename?: 'ConversationMembership', id: string, conversationId: string, userId: string, workspaceId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, notificationLevel: Types.NotificationLevel, joinedAt: string, leftAt?: string | null } } };\n\nexport type MessageAddedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageAddedSubscription = { __typename?: 'Subscription', messageAdded: { __typename?: 'Message', id: string, conversationId: string, workspaceId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isHidden: boolean, isPinned: boolean, isEdited: boolean, editedAt?: string | null, expiresAt?: string | null, deletedAt?: string | null, createdAt: string, updatedAt: string, replyCount: number, readCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, downloadUrl?: string | null, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } };\n\nexport type MessageUpdatedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageUpdatedSubscription = { __typename?: 'Subscription', messageUpdated: { __typename?: 'Message', id: string, conversationId: string, content: Record<string, unknown>, isEdited: boolean, editedAt?: string | null, isPinned: boolean, pinnedBy?: string | null, pinnedAt?: string | null, status: Types.MessageStatus, updatedAt: string } };\n\nexport type MessageDeletedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageDeletedSubscription = { __typename?: 'Subscription', messageDeleted: { __typename?: 'MessageDeletedPayload', conversationId: string, messageId: string, deletedBy: string, hard: boolean } };\n\nexport type MessageReactionChangedSubscriptionVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageReactionChangedSubscription = { __typename?: 'Subscription', messageReactionChanged: { __typename?: 'MessageReactionChangedPayload', changeType: Types.ReactionChangeType, message: { __typename?: 'Message', id: string, conversationId: string }, reaction?: { __typename?: 'Reaction', id: string, messageId: string, emoji: string, userId: string, createdAt: string } | null } };\n\nexport type MessageReadReceiptAddedSubscriptionVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageReadReceiptAddedSubscription = { __typename?: 'Subscription', messageReadReceiptAdded: { __typename?: 'MessageReadReceipt', id: string, messageId: string, userId: string, readAt: string } };\n\nexport type TypingIndicatorSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type TypingIndicatorSubscription = { __typename?: 'Subscription', typingIndicator: { __typename?: 'TypingIndicatorPayload', userId: string, isTyping: boolean, conversation: { __typename?: 'Conversation', id: string } } };\n\nexport type PresenceChangedSubscriptionVariables = Types.Exact<{\n userIds: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n}>;\n\n\nexport type PresenceChangedSubscription = { __typename?: 'Subscription', presenceChanged: { __typename?: 'Presence', userId: string, status: Types.PresenceStatus, lastSeenAt?: string | null } };\n\n\nexport const CreateConversationDocument = gql`\n mutation CreateConversation($input: CreateConversationInput!) {\n createConversation(input: $input) {\n conversation {\n id\n workspaceId\n type\n title\n description\n avatar\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n currentUserMembership {\n id\n role\n status\n joinedAt\n }\n memberCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n }\n }\n success\n }\n}\n `;\nexport type CreateConversationMutationFn = Apollo.MutationFunction<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>;\n\n/**\n * __useCreateConversationMutation__\n *\n * To run a mutation, you first call `useCreateConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createConversationMutation, { data, loading, error }] = useCreateConversationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>(CreateConversationDocument, options);\n }\nexport type CreateConversationMutationHookResult = ReturnType<typeof useCreateConversationMutation>;\nexport type CreateConversationMutationResult = Apollo.MutationResult<Types.CreateConversationMutation>;\nexport type CreateConversationMutationOptions = Apollo.BaseMutationOptions<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>;\nexport const UpdateConversationDocument = gql`\n mutation UpdateConversation($input: UpdateConversationInput!) {\n updateConversation(input: $input) {\n conversation {\n id\n title\n description\n avatar\n settings\n updatedAt\n }\n success\n }\n}\n `;\nexport type UpdateConversationMutationFn = Apollo.MutationFunction<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>;\n\n/**\n * __useUpdateConversationMutation__\n *\n * To run a mutation, you first call `useUpdateConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateConversationMutation, { data, loading, error }] = useUpdateConversationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>(UpdateConversationDocument, options);\n }\nexport type UpdateConversationMutationHookResult = ReturnType<typeof useUpdateConversationMutation>;\nexport type UpdateConversationMutationResult = Apollo.MutationResult<Types.UpdateConversationMutation>;\nexport type UpdateConversationMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>;\nexport const ArchiveConversationDocument = gql`\n mutation ArchiveConversation($id: ID!) {\n archiveConversation(id: $id) {\n id\n state\n updatedAt\n }\n}\n `;\nexport type ArchiveConversationMutationFn = Apollo.MutationFunction<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>;\n\n/**\n * __useArchiveConversationMutation__\n *\n * To run a mutation, you first call `useArchiveConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useArchiveConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [archiveConversationMutation, { data, loading, error }] = useArchiveConversationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useArchiveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>(ArchiveConversationDocument, options);\n }\nexport type ArchiveConversationMutationHookResult = ReturnType<typeof useArchiveConversationMutation>;\nexport type ArchiveConversationMutationResult = Apollo.MutationResult<Types.ArchiveConversationMutation>;\nexport type ArchiveConversationMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>;\nexport const UnarchiveConversationDocument = gql`\n mutation UnarchiveConversation($id: ID!) {\n unarchiveConversation(id: $id) {\n id\n state\n updatedAt\n }\n}\n `;\nexport type UnarchiveConversationMutationFn = Apollo.MutationFunction<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>;\n\n/**\n * __useUnarchiveConversationMutation__\n *\n * To run a mutation, you first call `useUnarchiveConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnarchiveConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unarchiveConversationMutation, { data, loading, error }] = useUnarchiveConversationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useUnarchiveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>(UnarchiveConversationDocument, options);\n }\nexport type UnarchiveConversationMutationHookResult = ReturnType<typeof useUnarchiveConversationMutation>;\nexport type UnarchiveConversationMutationResult = Apollo.MutationResult<Types.UnarchiveConversationMutation>;\nexport type UnarchiveConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>;\nexport const DeleteConversationDocument = gql`\n mutation DeleteConversation($id: ID!) {\n deleteConversation(id: $id) {\n conversationId\n success\n }\n}\n `;\nexport type DeleteConversationMutationFn = Apollo.MutationFunction<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>;\n\n/**\n * __useDeleteConversationMutation__\n *\n * To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>(DeleteConversationDocument, options);\n }\nexport type DeleteConversationMutationHookResult = ReturnType<typeof useDeleteConversationMutation>;\nexport type DeleteConversationMutationResult = Apollo.MutationResult<Types.DeleteConversationMutation>;\nexport type DeleteConversationMutationOptions = Apollo.BaseMutationOptions<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>;\nexport const AddParticipantDocument = gql`\n mutation AddParticipant($input: AddParticipantInput!) {\n addParticipant(input: $input) {\n id\n conversationId\n userId\n workspaceId\n role\n status\n notificationLevel\n isMuted\n canSendMessages\n canAddMembers\n canRemoveMembers\n joinedAt\n invitedBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type AddParticipantMutationFn = Apollo.MutationFunction<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>;\n\n/**\n * __useAddParticipantMutation__\n *\n * To run a mutation, you first call `useAddParticipantMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAddParticipantMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [addParticipantMutation, { data, loading, error }] = useAddParticipantMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useAddParticipantMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>(AddParticipantDocument, options);\n }\nexport type AddParticipantMutationHookResult = ReturnType<typeof useAddParticipantMutation>;\nexport type AddParticipantMutationResult = Apollo.MutationResult<Types.AddParticipantMutation>;\nexport type AddParticipantMutationOptions = Apollo.BaseMutationOptions<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>;\nexport const RemoveParticipantDocument = gql`\n mutation RemoveParticipant($input: RemoveParticipantInput!) {\n removeParticipant(input: $input) {\n conversationId\n userId\n success\n }\n}\n `;\nexport type RemoveParticipantMutationFn = Apollo.MutationFunction<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>;\n\n/**\n * __useRemoveParticipantMutation__\n *\n * To run a mutation, you first call `useRemoveParticipantMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRemoveParticipantMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [removeParticipantMutation, { data, loading, error }] = useRemoveParticipantMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useRemoveParticipantMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>(RemoveParticipantDocument, options);\n }\nexport type RemoveParticipantMutationHookResult = ReturnType<typeof useRemoveParticipantMutation>;\nexport type RemoveParticipantMutationResult = Apollo.MutationResult<Types.RemoveParticipantMutation>;\nexport type RemoveParticipantMutationOptions = Apollo.BaseMutationOptions<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>;\nexport const LeaveConversationDocument = gql`\n mutation LeaveConversation($conversationId: ID!) {\n leaveConversation(conversationId: $conversationId) {\n conversationId\n success\n }\n}\n `;\nexport type LeaveConversationMutationFn = Apollo.MutationFunction<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>;\n\n/**\n * __useLeaveConversationMutation__\n *\n * To run a mutation, you first call `useLeaveConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useLeaveConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [leaveConversationMutation, { data, loading, error }] = useLeaveConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useLeaveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>(LeaveConversationDocument, options);\n }\nexport type LeaveConversationMutationHookResult = ReturnType<typeof useLeaveConversationMutation>;\nexport type LeaveConversationMutationResult = Apollo.MutationResult<Types.LeaveConversationMutation>;\nexport type LeaveConversationMutationOptions = Apollo.BaseMutationOptions<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>;\nexport const UpdateParticipantRoleDocument = gql`\n mutation UpdateParticipantRole($input: UpdateParticipantRoleInput!) {\n updateParticipantRole(input: $input) {\n id\n conversationId\n userId\n role\n status\n canSendMessages\n canAddMembers\n canRemoveMembers\n updatedAt\n }\n}\n `;\nexport type UpdateParticipantRoleMutationFn = Apollo.MutationFunction<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>;\n\n/**\n * __useUpdateParticipantRoleMutation__\n *\n * To run a mutation, you first call `useUpdateParticipantRoleMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateParticipantRoleMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateParticipantRoleMutation, { data, loading, error }] = useUpdateParticipantRoleMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateParticipantRoleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>(UpdateParticipantRoleDocument, options);\n }\nexport type UpdateParticipantRoleMutationHookResult = ReturnType<typeof useUpdateParticipantRoleMutation>;\nexport type UpdateParticipantRoleMutationResult = Apollo.MutationResult<Types.UpdateParticipantRoleMutation>;\nexport type UpdateParticipantRoleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>;\nexport const SendMessageDocument = gql`\n mutation SendMessage($input: SendMessageInput!) {\n sendMessage(input: $input) {\n message {\n id\n conversationId\n workspaceId\n type\n status\n content\n authorId\n authorType\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isPinned\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n thumbnail\n }\n replyCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n }\n }\n success\n }\n}\n `;\nexport type SendMessageMutationFn = Apollo.MutationFunction<Types.SendMessageMutation, Types.SendMessageMutationVariables>;\n\n/**\n * __useSendMessageMutation__\n *\n * To run a mutation, you first call `useSendMessageMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useSendMessageMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [sendMessageMutation, { data, loading, error }] = useSendMessageMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useSendMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SendMessageMutation, Types.SendMessageMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.SendMessageMutation, Types.SendMessageMutationVariables>(SendMessageDocument, options);\n }\nexport type SendMessageMutationHookResult = ReturnType<typeof useSendMessageMutation>;\nexport type SendMessageMutationResult = Apollo.MutationResult<Types.SendMessageMutation>;\nexport type SendMessageMutationOptions = Apollo.BaseMutationOptions<Types.SendMessageMutation, Types.SendMessageMutationVariables>;\nexport const EditMessageDocument = gql`\n mutation EditMessage($input: EditMessageInput!) {\n editMessage(input: $input) {\n id\n content\n isEdited\n editedAt\n updatedAt\n editHistory {\n id\n previousContent\n editedBy\n editedAt\n reason\n }\n }\n}\n `;\nexport type EditMessageMutationFn = Apollo.MutationFunction<Types.EditMessageMutation, Types.EditMessageMutationVariables>;\n\n/**\n * __useEditMessageMutation__\n *\n * To run a mutation, you first call `useEditMessageMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useEditMessageMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [editMessageMutation, { data, loading, error }] = useEditMessageMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useEditMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.EditMessageMutation, Types.EditMessageMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.EditMessageMutation, Types.EditMessageMutationVariables>(EditMessageDocument, options);\n }\nexport type EditMessageMutationHookResult = ReturnType<typeof useEditMessageMutation>;\nexport type EditMessageMutationResult = Apollo.MutationResult<Types.EditMessageMutation>;\nexport type EditMessageMutationOptions = Apollo.BaseMutationOptions<Types.EditMessageMutation, Types.EditMessageMutationVariables>;\nexport const DeleteMessageDocument = gql`\n mutation DeleteMessage($id: ID!, $hard: Boolean) {\n deleteMessage(id: $id, hard: $hard) {\n messageId\n success\n }\n}\n `;\nexport type DeleteMessageMutationFn = Apollo.MutationFunction<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>;\n\n/**\n * __useDeleteMessageMutation__\n *\n * To run a mutation, you first call `useDeleteMessageMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteMessageMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteMessageMutation, { data, loading, error }] = useDeleteMessageMutation({\n * variables: {\n * id: // value for 'id'\n * hard: // value for 'hard'\n * },\n * });\n */\nexport function useDeleteMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>(DeleteMessageDocument, options);\n }\nexport type DeleteMessageMutationHookResult = ReturnType<typeof useDeleteMessageMutation>;\nexport type DeleteMessageMutationResult = Apollo.MutationResult<Types.DeleteMessageMutation>;\nexport type DeleteMessageMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>;\nexport const AddReactionDocument = gql`\n mutation AddReaction($messageId: ID!, $emoji: String!) {\n addReaction(messageId: $messageId, emoji: $emoji) {\n id\n messageId\n userId\n emoji\n createdAt\n }\n}\n `;\nexport type AddReactionMutationFn = Apollo.MutationFunction<Types.AddReactionMutation, Types.AddReactionMutationVariables>;\n\n/**\n * __useAddReactionMutation__\n *\n * To run a mutation, you first call `useAddReactionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAddReactionMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [addReactionMutation, { data, loading, error }] = useAddReactionMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * emoji: // value for 'emoji'\n * },\n * });\n */\nexport function useAddReactionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddReactionMutation, Types.AddReactionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AddReactionMutation, Types.AddReactionMutationVariables>(AddReactionDocument, options);\n }\nexport type AddReactionMutationHookResult = ReturnType<typeof useAddReactionMutation>;\nexport type AddReactionMutationResult = Apollo.MutationResult<Types.AddReactionMutation>;\nexport type AddReactionMutationOptions = Apollo.BaseMutationOptions<Types.AddReactionMutation, Types.AddReactionMutationVariables>;\nexport const RemoveReactionDocument = gql`\n mutation RemoveReaction($messageId: ID!, $emoji: String!) {\n removeReaction(messageId: $messageId, emoji: $emoji) {\n messageId\n emoji\n success\n }\n}\n `;\nexport type RemoveReactionMutationFn = Apollo.MutationFunction<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>;\n\n/**\n * __useRemoveReactionMutation__\n *\n * To run a mutation, you first call `useRemoveReactionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRemoveReactionMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [removeReactionMutation, { data, loading, error }] = useRemoveReactionMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * emoji: // value for 'emoji'\n * },\n * });\n */\nexport function useRemoveReactionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>(RemoveReactionDocument, options);\n }\nexport type RemoveReactionMutationHookResult = ReturnType<typeof useRemoveReactionMutation>;\nexport type RemoveReactionMutationResult = Apollo.MutationResult<Types.RemoveReactionMutation>;\nexport type RemoveReactionMutationOptions = Apollo.BaseMutationOptions<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>;\nexport const MuteConversationDocument = gql`\n mutation MuteConversation($conversationId: ID!) {\n muteConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type MuteConversationMutationFn = Apollo.MutationFunction<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>;\n\n/**\n * __useMuteConversationMutation__\n *\n * To run a mutation, you first call `useMuteConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useMuteConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [muteConversationMutation, { data, loading, error }] = useMuteConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMuteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>(MuteConversationDocument, options);\n }\nexport type MuteConversationMutationHookResult = ReturnType<typeof useMuteConversationMutation>;\nexport type MuteConversationMutationResult = Apollo.MutationResult<Types.MuteConversationMutation>;\nexport type MuteConversationMutationOptions = Apollo.BaseMutationOptions<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>;\nexport const PinConversationDocument = gql`\n mutation PinConversation($conversationId: ID!) {\n pinConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type PinConversationMutationFn = Apollo.MutationFunction<Types.PinConversationMutation, Types.PinConversationMutationVariables>;\n\n/**\n * __usePinConversationMutation__\n *\n * To run a mutation, you first call `usePinConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `usePinConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [pinConversationMutation, { data, loading, error }] = usePinConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function usePinConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PinConversationMutation, Types.PinConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.PinConversationMutation, Types.PinConversationMutationVariables>(PinConversationDocument, options);\n }\nexport type PinConversationMutationHookResult = ReturnType<typeof usePinConversationMutation>;\nexport type PinConversationMutationResult = Apollo.MutationResult<Types.PinConversationMutation>;\nexport type PinConversationMutationOptions = Apollo.BaseMutationOptions<Types.PinConversationMutation, Types.PinConversationMutationVariables>;\nexport const PinMessageByHookDocument = gql`\n mutation PinMessageByHook($messageId: ID!) {\n pinMessage(messageId: $messageId) {\n id\n }\n}\n `;\nexport type PinMessageByHookMutationFn = Apollo.MutationFunction<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>;\n\n/**\n * __usePinMessageByHookMutation__\n *\n * To run a mutation, you first call `usePinMessageByHookMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `usePinMessageByHookMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [pinMessageByHookMutation, { data, loading, error }] = usePinMessageByHookMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function usePinMessageByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>(PinMessageByHookDocument, options);\n }\nexport type PinMessageByHookMutationHookResult = ReturnType<typeof usePinMessageByHookMutation>;\nexport type PinMessageByHookMutationResult = Apollo.MutationResult<Types.PinMessageByHookMutation>;\nexport type PinMessageByHookMutationOptions = Apollo.BaseMutationOptions<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>;\nexport const UnmuteConversationDocument = gql`\n mutation UnmuteConversation($conversationId: ID!) {\n unmuteConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type UnmuteConversationMutationFn = Apollo.MutationFunction<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>;\n\n/**\n * __useUnmuteConversationMutation__\n *\n * To run a mutation, you first call `useUnmuteConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnmuteConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unmuteConversationMutation, { data, loading, error }] = useUnmuteConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useUnmuteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>(UnmuteConversationDocument, options);\n }\nexport type UnmuteConversationMutationHookResult = ReturnType<typeof useUnmuteConversationMutation>;\nexport type UnmuteConversationMutationResult = Apollo.MutationResult<Types.UnmuteConversationMutation>;\nexport type UnmuteConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>;\nexport const UnpinConversationDocument = gql`\n mutation UnpinConversation($conversationId: ID!) {\n unpinConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type UnpinConversationMutationFn = Apollo.MutationFunction<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>;\n\n/**\n * __useUnpinConversationMutation__\n *\n * To run a mutation, you first call `useUnpinConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnpinConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unpinConversationMutation, { data, loading, error }] = useUnpinConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useUnpinConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>(UnpinConversationDocument, options);\n }\nexport type UnpinConversationMutationHookResult = ReturnType<typeof useUnpinConversationMutation>;\nexport type UnpinConversationMutationResult = Apollo.MutationResult<Types.UnpinConversationMutation>;\nexport type UnpinConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>;\nexport const UnpinMessageByHookDocument = gql`\n mutation UnpinMessageByHook($messageId: ID!) {\n unpinMessage(messageId: $messageId) {\n id\n }\n}\n `;\nexport type UnpinMessageByHookMutationFn = Apollo.MutationFunction<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>;\n\n/**\n * __useUnpinMessageByHookMutation__\n *\n * To run a mutation, you first call `useUnpinMessageByHookMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnpinMessageByHookMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unpinMessageByHookMutation, { data, loading, error }] = useUnpinMessageByHookMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function useUnpinMessageByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>(UnpinMessageByHookDocument, options);\n }\nexport type UnpinMessageByHookMutationHookResult = ReturnType<typeof useUnpinMessageByHookMutation>;\nexport type UnpinMessageByHookMutationResult = Apollo.MutationResult<Types.UnpinMessageByHookMutation>;\nexport type UnpinMessageByHookMutationOptions = Apollo.BaseMutationOptions<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>;\nexport const UpdateConversationByHookDocument = gql`\n mutation UpdateConversationByHook($input: UpdateConversationInput!) {\n updateConversation(input: $input) {\n success\n conversation {\n id\n title\n description\n avatar\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n memberCount\n unreadCount\n mentionCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n anonymousMode\n screenShare\n recording\n }\n }\n }\n}\n `;\nexport type UpdateConversationByHookMutationFn = Apollo.MutationFunction<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>;\n\n/**\n * __useUpdateConversationByHookMutation__\n *\n * To run a mutation, you first call `useUpdateConversationByHookMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateConversationByHookMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateConversationByHookMutation, { data, loading, error }] = useUpdateConversationByHookMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateConversationByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>(UpdateConversationByHookDocument, options);\n }\nexport type UpdateConversationByHookMutationHookResult = ReturnType<typeof useUpdateConversationByHookMutation>;\nexport type UpdateConversationByHookMutationResult = Apollo.MutationResult<Types.UpdateConversationByHookMutation>;\nexport type UpdateConversationByHookMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>;\nexport const GetConversationDocument = gql`\n query GetConversation($id: ID!) {\n conversation(id: $id) {\n id\n workspaceId\n type\n title\n description\n avatar\n state\n visibility\n isGroup\n settings\n createdBy\n createdAt\n updatedAt\n currentUserMembership {\n id\n role\n status\n lastReadMessageId\n lastReadAt\n unreadCount\n mentionCount\n notificationLevel\n isMuted\n isPinned\n pinnedOrder\n canSendMessages\n canAddMembers\n canRemoveMembers\n joinedAt\n customTitle\n customAvatar\n }\n memberCount\n members(first: 25) {\n totalCount\n edges {\n node {\n id\n userId\n role\n status\n joinedAt\n leftAt\n customTitle\n customAvatar\n }\n }\n }\n unreadCount\n mentionCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n anonymousMode\n screenShare\n recording\n }\n }\n}\n `;\n\n/**\n * __useGetConversationQuery__\n *\n * To run a query within a React component, call `useGetConversationQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetConversationQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetConversationQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables> & ({ variables: Types.GetConversationQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetConversationQuery, Types.GetConversationQueryVariables>(GetConversationDocument, options);\n }\nexport function useGetConversationLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetConversationQuery, Types.GetConversationQueryVariables>(GetConversationDocument, options);\n }\n// @ts-ignore\nexport function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationQuery, Types.GetConversationQueryVariables>;\nexport function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationQuery | undefined, Types.GetConversationQueryVariables>;\nexport function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetConversationQuery, Types.GetConversationQueryVariables>(GetConversationDocument, options);\n }\nexport type GetConversationQueryHookResult = ReturnType<typeof useGetConversationQuery>;\nexport type GetConversationLazyQueryHookResult = ReturnType<typeof useGetConversationLazyQuery>;\nexport type GetConversationSuspenseQueryHookResult = ReturnType<typeof useGetConversationSuspenseQuery>;\nexport type GetConversationQueryResult = Apollo.QueryResult<Types.GetConversationQuery, Types.GetConversationQueryVariables>;\nexport const GetConversationsDocument = gql`\n query GetConversations($first: Int, $after: String, $filter: ConversationFilter, $sort: ConversationSort) {\n conversations(first: $first, after: $after, filter: $filter, sort: $sort) {\n edges {\n cursor\n node {\n id\n workspaceId\n type\n title\n description\n avatar\n settings\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n lastMessage {\n id\n type\n content\n authorId\n authorType\n createdAt\n }\n currentUserMembership {\n id\n role\n status\n unreadCount\n mentionCount\n notificationLevel\n isMuted\n isPinned\n }\n memberCount\n unreadCount\n mentionCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useGetConversationsQuery__\n *\n * To run a query within a React component, call `useGetConversationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetConversationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetConversationsQuery({\n * variables: {\n * first: // value for 'first'\n * after: // value for 'after'\n * filter: // value for 'filter'\n * sort: // value for 'sort'\n * },\n * });\n */\nexport function useGetConversationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>(GetConversationsDocument, options);\n }\nexport function useGetConversationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>(GetConversationsDocument, options);\n }\n// @ts-ignore\nexport function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>;\nexport function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationsQuery | undefined, Types.GetConversationsQueryVariables>;\nexport function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>(GetConversationsDocument, options);\n }\nexport type GetConversationsQueryHookResult = ReturnType<typeof useGetConversationsQuery>;\nexport type GetConversationsLazyQueryHookResult = ReturnType<typeof useGetConversationsLazyQuery>;\nexport type GetConversationsSuspenseQueryHookResult = ReturnType<typeof useGetConversationsSuspenseQuery>;\nexport type GetConversationsQueryResult = Apollo.QueryResult<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>;\nexport const GetMessagesDocument = gql`\n query GetMessages($conversationId: ID!, $first: Int, $after: String, $before: String, $filter: MessageFilter) {\n messages(\n conversationId: $conversationId\n first: $first\n after: $after\n before: $before\n filter: $filter\n ) {\n edges {\n cursor\n node {\n id\n conversationId\n workspaceId\n type\n status\n content\n authorId\n authorType\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isHidden\n isEdited\n editedAt\n isPinned\n pinnedBy\n pinnedAt\n expiresAt\n deletedAt\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n downloadUrl\n width\n height\n duration\n thumbnail\n }\n replyCount\n readCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useGetMessagesQuery__\n *\n * To run a query within a React component, call `useGetMessagesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMessagesQuery({\n * variables: {\n * conversationId: // value for 'conversationId'\n * first: // value for 'first'\n * after: // value for 'after'\n * before: // value for 'before'\n * filter: // value for 'filter'\n * },\n * });\n */\nexport function useGetMessagesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables> & ({ variables: Types.GetMessagesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>(GetMessagesDocument, options);\n }\nexport function useGetMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>(GetMessagesDocument, options);\n }\n// @ts-ignore\nexport function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>;\nexport function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMessagesQuery | undefined, Types.GetMessagesQueryVariables>;\nexport function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>(GetMessagesDocument, options);\n }\nexport type GetMessagesQueryHookResult = ReturnType<typeof useGetMessagesQuery>;\nexport type GetMessagesLazyQueryHookResult = ReturnType<typeof useGetMessagesLazyQuery>;\nexport type GetMessagesSuspenseQueryHookResult = ReturnType<typeof useGetMessagesSuspenseQuery>;\nexport type GetMessagesQueryResult = Apollo.QueryResult<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>;\nexport const GetPresenceDocument = gql`\n query GetPresence($userIds: [ID!]!) {\n presence(userIds: $userIds) {\n userId\n status\n customStatus\n lastSeenAt\n }\n}\n `;\n\n/**\n * __useGetPresenceQuery__\n *\n * To run a query within a React component, call `useGetPresenceQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetPresenceQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetPresenceQuery({\n * variables: {\n * userIds: // value for 'userIds'\n * },\n * });\n */\nexport function useGetPresenceQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables> & ({ variables: Types.GetPresenceQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>(GetPresenceDocument, options);\n }\nexport function useGetPresenceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>(GetPresenceDocument, options);\n }\n// @ts-ignore\nexport function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>;\nexport function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPresenceQuery | undefined, Types.GetPresenceQueryVariables>;\nexport function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>(GetPresenceDocument, options);\n }\nexport type GetPresenceQueryHookResult = ReturnType<typeof useGetPresenceQuery>;\nexport type GetPresenceLazyQueryHookResult = ReturnType<typeof useGetPresenceLazyQuery>;\nexport type GetPresenceSuspenseQueryHookResult = ReturnType<typeof useGetPresenceSuspenseQuery>;\nexport type GetPresenceQueryResult = Apollo.QueryResult<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>;\nexport const GetThreadMessagesDocument = gql`\n query GetThreadMessages($messageId: ID!, $first: Int, $after: String) {\n thread(messageId: $messageId, first: $first, after: $after) {\n edges {\n cursor\n node {\n id\n conversationId\n type\n status\n content\n authorId\n authorType\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isEdited\n editedAt\n isPinned\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n width\n height\n duration\n thumbnail\n }\n replyCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n `;\n\n/**\n * __useGetThreadMessagesQuery__\n *\n * To run a query within a React component, call `useGetThreadMessagesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetThreadMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetThreadMessagesQuery({\n * variables: {\n * messageId: // value for 'messageId'\n * first: // value for 'first'\n * after: // value for 'after'\n * },\n * });\n */\nexport function useGetThreadMessagesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables> & ({ variables: Types.GetThreadMessagesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>(GetThreadMessagesDocument, options);\n }\nexport function useGetThreadMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>(GetThreadMessagesDocument, options);\n }\n// @ts-ignore\nexport function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>;\nexport function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetThreadMessagesQuery | undefined, Types.GetThreadMessagesQueryVariables>;\nexport function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>(GetThreadMessagesDocument, options);\n }\nexport type GetThreadMessagesQueryHookResult = ReturnType<typeof useGetThreadMessagesQuery>;\nexport type GetThreadMessagesLazyQueryHookResult = ReturnType<typeof useGetThreadMessagesLazyQuery>;\nexport type GetThreadMessagesSuspenseQueryHookResult = ReturnType<typeof useGetThreadMessagesSuspenseQuery>;\nexport type GetThreadMessagesQueryResult = Apollo.QueryResult<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>;\nexport const GetWorkspaceDirectoryDocument = gql`\n query GetWorkspaceDirectory($filter: WorkspaceDirectoryFilter, $pagination: PaginationInput) {\n workspaceDirectory(filter: $filter, pagination: $pagination) {\n totalCount\n edges {\n id\n name\n email\n avatar\n }\n }\n}\n `;\n\n/**\n * __useGetWorkspaceDirectoryQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceDirectoryQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceDirectoryQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceDirectoryQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetWorkspaceDirectoryQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>(GetWorkspaceDirectoryDocument, options);\n }\nexport function useGetWorkspaceDirectoryLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>(GetWorkspaceDirectoryDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceDirectorySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>;\nexport function useGetWorkspaceDirectorySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceDirectoryQuery | undefined, Types.GetWorkspaceDirectoryQueryVariables>;\nexport function useGetWorkspaceDirectorySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>(GetWorkspaceDirectoryDocument, options);\n }\nexport type GetWorkspaceDirectoryQueryHookResult = ReturnType<typeof useGetWorkspaceDirectoryQuery>;\nexport type GetWorkspaceDirectoryLazyQueryHookResult = ReturnType<typeof useGetWorkspaceDirectoryLazyQuery>;\nexport type GetWorkspaceDirectorySuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceDirectorySuspenseQuery>;\nexport type GetWorkspaceDirectoryQueryResult = Apollo.QueryResult<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>;\nexport const SearchConversationsDocument = gql`\n query SearchConversations($query: String!, $first: Int, $after: String, $filter: ConversationFilter) {\n searchConversations(\n query: $query\n first: $first\n after: $after\n filter: $filter\n ) {\n edges {\n cursor\n node {\n id\n workspaceId\n type\n title\n description\n avatar\n settings\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n lastMessage {\n id\n type\n content\n authorId\n authorType\n createdAt\n }\n currentUserMembership {\n id\n role\n status\n unreadCount\n mentionCount\n isMuted\n isPinned\n }\n memberCount\n unreadCount\n mentionCount\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useSearchConversationsQuery__\n *\n * To run a query within a React component, call `useSearchConversationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useSearchConversationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSearchConversationsQuery({\n * variables: {\n * query: // value for 'query'\n * first: // value for 'first'\n * after: // value for 'after'\n * filter: // value for 'filter'\n * },\n * });\n */\nexport function useSearchConversationsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables> & ({ variables: Types.SearchConversationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>(SearchConversationsDocument, options);\n }\nexport function useSearchConversationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>(SearchConversationsDocument, options);\n }\n// @ts-ignore\nexport function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>;\nexport function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchConversationsQuery | undefined, Types.SearchConversationsQueryVariables>;\nexport function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>(SearchConversationsDocument, options);\n }\nexport type SearchConversationsQueryHookResult = ReturnType<typeof useSearchConversationsQuery>;\nexport type SearchConversationsLazyQueryHookResult = ReturnType<typeof useSearchConversationsLazyQuery>;\nexport type SearchConversationsSuspenseQueryHookResult = ReturnType<typeof useSearchConversationsSuspenseQuery>;\nexport type SearchConversationsQueryResult = Apollo.QueryResult<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>;\nexport const SearchMessagesByHookDocument = gql`\n query SearchMessagesByHook($query: String!, $conversationId: ID, $first: Int) {\n searchMessages(query: $query, conversationId: $conversationId, first: $first) {\n edges {\n node {\n id\n conversationId\n type\n status\n content\n authorId\n authorType\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isEdited\n editedAt\n isPinned\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n width\n height\n duration\n thumbnail\n }\n replyCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n }\n }\n}\n `;\n\n/**\n * __useSearchMessagesByHookQuery__\n *\n * To run a query within a React component, call `useSearchMessagesByHookQuery` and pass it any options that fit your needs.\n * When your component renders, `useSearchMessagesByHookQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSearchMessagesByHookQuery({\n * variables: {\n * query: // value for 'query'\n * conversationId: // value for 'conversationId'\n * first: // value for 'first'\n * },\n * });\n */\nexport function useSearchMessagesByHookQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables> & ({ variables: Types.SearchMessagesByHookQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>(SearchMessagesByHookDocument, options);\n }\nexport function useSearchMessagesByHookLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>(SearchMessagesByHookDocument, options);\n }\n// @ts-ignore\nexport function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>;\nexport function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchMessagesByHookQuery | undefined, Types.SearchMessagesByHookQueryVariables>;\nexport function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>(SearchMessagesByHookDocument, options);\n }\nexport type SearchMessagesByHookQueryHookResult = ReturnType<typeof useSearchMessagesByHookQuery>;\nexport type SearchMessagesByHookLazyQueryHookResult = ReturnType<typeof useSearchMessagesByHookLazyQuery>;\nexport type SearchMessagesByHookSuspenseQueryHookResult = ReturnType<typeof useSearchMessagesByHookSuspenseQuery>;\nexport type SearchMessagesByHookQueryResult = Apollo.QueryResult<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>;\nexport const ConversationAddedDocument = gql`\n subscription ConversationAdded {\n conversationAdded {\n id\n workspaceId\n type\n title\n description\n createdBy\n state\n visibility\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useConversationAddedSubscription__\n *\n * To run a query within a React component, call `useConversationAddedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useConversationAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useConversationAddedSubscription({\n * variables: {\n * },\n * });\n */\nexport function useConversationAddedSubscription(baseOptions?: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationAddedSubscription, Types.ConversationAddedSubscriptionVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ConversationAddedSubscription, Types.ConversationAddedSubscriptionVariables>(ConversationAddedDocument, options);\n }\nexport type ConversationAddedSubscriptionHookResult = ReturnType<typeof useConversationAddedSubscription>;\nexport type ConversationAddedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationAddedSubscription>;\nexport const ConversationUpdatedDocument = gql`\n subscription ConversationUpdated($conversationId: ID!) {\n conversationUpdated(conversationId: $conversationId) {\n changes\n conversation {\n id\n title\n description\n state\n visibility\n avatar\n settings\n updatedAt\n }\n }\n}\n `;\n\n/**\n * __useConversationUpdatedSubscription__\n *\n * To run a query within a React component, call `useConversationUpdatedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useConversationUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useConversationUpdatedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useConversationUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationUpdatedSubscription, Types.ConversationUpdatedSubscriptionVariables> & ({ variables: Types.ConversationUpdatedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ConversationUpdatedSubscription, Types.ConversationUpdatedSubscriptionVariables>(ConversationUpdatedDocument, options);\n }\nexport type ConversationUpdatedSubscriptionHookResult = ReturnType<typeof useConversationUpdatedSubscription>;\nexport type ConversationUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationUpdatedSubscription>;\nexport const ConversationDeletedDocument = gql`\n subscription ConversationDeleted($conversationId: ID!) {\n conversationDeleted(conversationId: $conversationId) {\n conversationId\n deletedBy\n }\n}\n `;\n\n/**\n * __useConversationDeletedSubscription__\n *\n * To run a query within a React component, call `useConversationDeletedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useConversationDeletedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useConversationDeletedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useConversationDeletedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationDeletedSubscription, Types.ConversationDeletedSubscriptionVariables> & ({ variables: Types.ConversationDeletedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ConversationDeletedSubscription, Types.ConversationDeletedSubscriptionVariables>(ConversationDeletedDocument, options);\n }\nexport type ConversationDeletedSubscriptionHookResult = ReturnType<typeof useConversationDeletedSubscription>;\nexport type ConversationDeletedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationDeletedSubscription>;\nexport const ParticipantChangedDocument = gql`\n subscription ParticipantChanged($conversationId: ID!) {\n participantChanged(conversationId: $conversationId) {\n changeType\n conversation {\n id\n }\n membership {\n id\n conversationId\n userId\n workspaceId\n role\n status\n notificationLevel\n joinedAt\n leftAt\n }\n }\n}\n `;\n\n/**\n * __useParticipantChangedSubscription__\n *\n * To run a query within a React component, call `useParticipantChangedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useParticipantChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useParticipantChangedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useParticipantChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ParticipantChangedSubscription, Types.ParticipantChangedSubscriptionVariables> & ({ variables: Types.ParticipantChangedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ParticipantChangedSubscription, Types.ParticipantChangedSubscriptionVariables>(ParticipantChangedDocument, options);\n }\nexport type ParticipantChangedSubscriptionHookResult = ReturnType<typeof useParticipantChangedSubscription>;\nexport type ParticipantChangedSubscriptionResult = Apollo.SubscriptionResult<Types.ParticipantChangedSubscription>;\nexport const MessageAddedDocument = gql`\n subscription MessageAdded($conversationId: ID!) {\n messageAdded(conversationId: $conversationId) {\n id\n conversationId\n workspaceId\n type\n status\n content\n authorId\n authorType\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isHidden\n isPinned\n isEdited\n editedAt\n expiresAt\n deletedAt\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n downloadUrl\n width\n height\n duration\n thumbnail\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n replyCount\n readCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n}\n `;\n\n/**\n * __useMessageAddedSubscription__\n *\n * To run a query within a React component, call `useMessageAddedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageAddedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMessageAddedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageAddedSubscription, Types.MessageAddedSubscriptionVariables> & ({ variables: Types.MessageAddedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageAddedSubscription, Types.MessageAddedSubscriptionVariables>(MessageAddedDocument, options);\n }\nexport type MessageAddedSubscriptionHookResult = ReturnType<typeof useMessageAddedSubscription>;\nexport type MessageAddedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageAddedSubscription>;\nexport const MessageUpdatedDocument = gql`\n subscription MessageUpdated($conversationId: ID!) {\n messageUpdated(conversationId: $conversationId) {\n id\n conversationId\n content\n isEdited\n editedAt\n isPinned\n pinnedBy\n pinnedAt\n status\n updatedAt\n }\n}\n `;\n\n/**\n * __useMessageUpdatedSubscription__\n *\n * To run a query within a React component, call `useMessageUpdatedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageUpdatedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMessageUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageUpdatedSubscription, Types.MessageUpdatedSubscriptionVariables> & ({ variables: Types.MessageUpdatedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageUpdatedSubscription, Types.MessageUpdatedSubscriptionVariables>(MessageUpdatedDocument, options);\n }\nexport type MessageUpdatedSubscriptionHookResult = ReturnType<typeof useMessageUpdatedSubscription>;\nexport type MessageUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageUpdatedSubscription>;\nexport const MessageDeletedDocument = gql`\n subscription MessageDeleted($conversationId: ID!) {\n messageDeleted(conversationId: $conversationId) {\n conversationId\n messageId\n deletedBy\n hard\n }\n}\n `;\n\n/**\n * __useMessageDeletedSubscription__\n *\n * To run a query within a React component, call `useMessageDeletedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageDeletedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageDeletedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMessageDeletedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageDeletedSubscription, Types.MessageDeletedSubscriptionVariables> & ({ variables: Types.MessageDeletedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageDeletedSubscription, Types.MessageDeletedSubscriptionVariables>(MessageDeletedDocument, options);\n }\nexport type MessageDeletedSubscriptionHookResult = ReturnType<typeof useMessageDeletedSubscription>;\nexport type MessageDeletedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageDeletedSubscription>;\nexport const MessageReactionChangedDocument = gql`\n subscription MessageReactionChanged($messageId: ID!) {\n messageReactionChanged(messageId: $messageId) {\n changeType\n message {\n id\n conversationId\n }\n reaction {\n id\n messageId\n emoji\n userId\n createdAt\n }\n }\n}\n `;\n\n/**\n * __useMessageReactionChangedSubscription__\n *\n * To run a query within a React component, call `useMessageReactionChangedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageReactionChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageReactionChangedSubscription({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function useMessageReactionChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageReactionChangedSubscription, Types.MessageReactionChangedSubscriptionVariables> & ({ variables: Types.MessageReactionChangedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageReactionChangedSubscription, Types.MessageReactionChangedSubscriptionVariables>(MessageReactionChangedDocument, options);\n }\nexport type MessageReactionChangedSubscriptionHookResult = ReturnType<typeof useMessageReactionChangedSubscription>;\nexport type MessageReactionChangedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageReactionChangedSubscription>;\nexport const MessageReadReceiptAddedDocument = gql`\n subscription MessageReadReceiptAdded($messageId: ID!) {\n messageReadReceiptAdded(messageId: $messageId) {\n id\n messageId\n userId\n readAt\n }\n}\n `;\n\n/**\n * __useMessageReadReceiptAddedSubscription__\n *\n * To run a query within a React component, call `useMessageReadReceiptAddedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageReadReceiptAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageReadReceiptAddedSubscription({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function useMessageReadReceiptAddedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageReadReceiptAddedSubscription, Types.MessageReadReceiptAddedSubscriptionVariables> & ({ variables: Types.MessageReadReceiptAddedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageReadReceiptAddedSubscription, Types.MessageReadReceiptAddedSubscriptionVariables>(MessageReadReceiptAddedDocument, options);\n }\nexport type MessageReadReceiptAddedSubscriptionHookResult = ReturnType<typeof useMessageReadReceiptAddedSubscription>;\nexport type MessageReadReceiptAddedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageReadReceiptAddedSubscription>;\nexport const TypingIndicatorDocument = gql`\n subscription TypingIndicator($conversationId: ID!) {\n typingIndicator(conversationId: $conversationId) {\n conversation {\n id\n }\n userId\n isTyping\n }\n}\n `;\n\n/**\n * __useTypingIndicatorSubscription__\n *\n * To run a query within a React component, call `useTypingIndicatorSubscription` and pass it any options that fit your needs.\n * When your component renders, `useTypingIndicatorSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useTypingIndicatorSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useTypingIndicatorSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.TypingIndicatorSubscription, Types.TypingIndicatorSubscriptionVariables> & ({ variables: Types.TypingIndicatorSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.TypingIndicatorSubscription, Types.TypingIndicatorSubscriptionVariables>(TypingIndicatorDocument, options);\n }\nexport type TypingIndicatorSubscriptionHookResult = ReturnType<typeof useTypingIndicatorSubscription>;\nexport type TypingIndicatorSubscriptionResult = Apollo.SubscriptionResult<Types.TypingIndicatorSubscription>;\nexport const PresenceChangedDocument = gql`\n subscription PresenceChanged($userIds: [ID!]!) {\n presenceChanged(userIds: $userIds) {\n userId\n status\n lastSeenAt\n }\n}\n `;\n\n/**\n * __usePresenceChangedSubscription__\n *\n * To run a query within a React component, call `usePresenceChangedSubscription` and pass it any options that fit your needs.\n * When your component renders, `usePresenceChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = usePresenceChangedSubscription({\n * variables: {\n * userIds: // value for 'userIds'\n * },\n * });\n */\nexport function usePresenceChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.PresenceChangedSubscription, Types.PresenceChangedSubscriptionVariables> & ({ variables: Types.PresenceChangedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.PresenceChangedSubscription, Types.PresenceChangedSubscriptionVariables>(PresenceChangedDocument, options);\n }\nexport type PresenceChangedSubscriptionHookResult = ReturnType<typeof usePresenceChangedSubscription>;\nexport type PresenceChangedSubscriptionResult = Apollo.SubscriptionResult<Types.PresenceChangedSubscription>;"],"mappings":";;;AAMA,IAAM,IAAiB,EAAE,EA0SZ,IAA6B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuD7C,SAAgB,EAA8B,GAAiI;CACvK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyF,GAA4B,EAAQ;;AAKnH,CAAG;;;;;;;;;;;;;;;AAyC7C,IAAa,IAA8B,CAAG;;;;;;;;;AA4B9C,SAAgB,EAA+B,GAAmI;CAC1K,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2F,GAA6B,EAAQ;;AAKhK,IAAa,IAAgC,CAAG;;;;;;;;;AA4BhD,SAAgB,EAAiC,GAAuI;CAChL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA+F,GAA+B,EAAQ;;AAK5H,CAAG;;;;;;;OAkCP,CAAG;;;;;;;;;;;;;;;;;;;;OA+CA,CAAG;;;;;;;;;AAmC5C,IAAa,IAA4B,CAAG;;;;;;;;AA2B5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK7G,CAAG;;;;;;;;;;;;;;;AAyChD,IAAa,IAAsB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAsB,CAAG;;;;;;;;;;;;;;;;;;AAqCtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAwB,CAAG;;;;;;;;AA4BxC,SAAgB,EAAyB,GAAuH;CACxJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA+E,GAAuB,EAAQ;;AAK9I,IAAa,IAAsB,CAAG;;;;;;;;;;;AA+BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAyB,CAAG;;;;;;;;;AA6BzC,SAAgB,EAA0B,GAAyH;CAC3J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAiF,GAAwB,EAAQ;;AAKjJ,IAAa,IAA2B,CAAG;;;;;;;AA0B3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAA0B,CAAG;;;;;;;AA0B1C,SAAgB,EAA2B,GAA2H;CAC9J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAmF,GAAyB,EAAQ;;AAKpJ,IAAa,IAA2B,CAAG;;;;;;;AA0B3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAA6B,CAAG;;;;;;;AA0B7C,SAAgB,EAA8B,GAAiI;CACvK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyF,GAA4B,EAAQ;;AAK7J,IAAa,IAA4B,CAAG;;;;;;;AA0B5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK1J,IAAa,IAA6B,CAAG;;;;;;;AA0B7C,SAAgB,EAA8B,GAAiI;CACvK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyF,GAA4B,EAAQ;;AAK7J,IAAa,IAAmC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDnD,SAAgB,EAAoC,GAA6I;CACzL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqG,GAAkC,EAAQ;;AAK/K,IAAa,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoF1C,SAAgB,EAAwB,GAA+M;CAC/O,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA0E,GAAyB,EAAQ;;AAiB3I,IAAa,IAA2B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgF3C,SAAgB,EAAyB,GAAoH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA4E,GAA0B,EAAQ;;AAiB9I,IAAa,IAAsB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGtC,SAAgB,EAAoB,GAAmM;CAC/N,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAkE,GAAqB,EAAQ;;AAiB5F,CAAG;;;;;;;;;OA8CG,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuG5C,IAAa,IAAgC,CAAG;;;;;;;;;;;;;AA+BhD,SAAgB,EAA8B,GAA8H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAsF,GAA+B,EAAQ;;AAiB7J,IAAa,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4E9C,SAAgB,EAA4B,GAA2N;CAC/P,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAkF,GAA6B,EAAQ;;AAiB3G,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkG/C,IAAa,IAA4B,CAAG;;;;;;;;;;;;;;;OAsC/B,IAA8B,CAAG;;;;;;;;;;;;;;;;OAwCjC,IAA8B,CAAG;;;;;;;OA+BjC,IAA6B,CAAG;;;;;;;;;;;;;;;;;;;;OA4ChC,IAAuB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqF1B,IAAyB,CAAG;;;;;;;;;;;;;;;OAuC5B,IAAyB,CAAG;;;;;;;;;;AAiCK,CAAG;;;;;;;;;;;;;;;;;OAyCF,CAAG;;;;;;;;;OAiCX,CAAG;;;;;;;;;;OAkCH,CAAG"}
|
|
1
|
+
{"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type CreateConversationMutationVariables = Types.Exact<{\n input: Types.CreateConversationInput;\n}>;\n\n\nexport type CreateConversationMutation = { __typename?: 'Mutation', createConversation: { __typename?: 'CreateConversationPayload', success: boolean, conversation?: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, joinedAt: string } | null, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean } } | null } };\n\nexport type UpdateConversationMutationVariables = Types.Exact<{\n input: Types.UpdateConversationInput;\n}>;\n\n\nexport type UpdateConversationMutation = { __typename?: 'Mutation', updateConversation: { __typename?: 'UpdateConversationPayload', success: boolean, conversation?: { __typename?: 'Conversation', id: string, title?: string | null, description?: string | null, avatar?: string | null, settings?: Record<string, unknown> | null, updatedAt: string } | null } };\n\nexport type ArchiveConversationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ArchiveConversationMutation = { __typename?: 'Mutation', archiveConversation: { __typename?: 'Conversation', id: string, state: Types.ConversationState, updatedAt: string } };\n\nexport type UnarchiveConversationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnarchiveConversationMutation = { __typename?: 'Mutation', unarchiveConversation: { __typename?: 'Conversation', id: string, state: Types.ConversationState, updatedAt: string } };\n\nexport type DeleteConversationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteConversationMutation = { __typename?: 'Mutation', deleteConversation: { __typename?: 'DeleteConversationPayload', conversationId: string, success: boolean } };\n\nexport type AddParticipantMutationVariables = Types.Exact<{\n input: Types.AddParticipantInput;\n}>;\n\n\nexport type AddParticipantMutation = { __typename?: 'Mutation', addParticipant: { __typename?: 'ConversationMembership', id: string, conversationId: string, userId: string, workspaceId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, notificationLevel: Types.NotificationLevel, isMuted: boolean, canSendMessages: boolean, canAddMembers: boolean, canRemoveMembers: boolean, joinedAt: string, invitedBy?: string | null, createdAt: string, updatedAt: string } };\n\nexport type RemoveParticipantMutationVariables = Types.Exact<{\n input: Types.RemoveParticipantInput;\n}>;\n\n\nexport type RemoveParticipantMutation = { __typename?: 'Mutation', removeParticipant: { __typename?: 'RemoveParticipantPayload', conversationId: string, userId: string, success: boolean } };\n\nexport type LeaveConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type LeaveConversationMutation = { __typename?: 'Mutation', leaveConversation: { __typename?: 'LeaveConversationPayload', conversationId: string, success: boolean } };\n\nexport type UpdateParticipantRoleMutationVariables = Types.Exact<{\n input: Types.UpdateParticipantRoleInput;\n}>;\n\n\nexport type UpdateParticipantRoleMutation = { __typename?: 'Mutation', updateParticipantRole: { __typename?: 'ConversationMembership', id: string, conversationId: string, userId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, canSendMessages: boolean, canAddMembers: boolean, canRemoveMembers: boolean, updatedAt: string } };\n\nexport type SendMessageMutationVariables = Types.Exact<{\n input: Types.SendMessageInput;\n}>;\n\n\nexport type SendMessageMutation = { __typename?: 'Mutation', sendMessage: { __typename?: 'SendMessagePayload', success: boolean, message?: { __typename?: 'Message', id: string, conversationId: string, workspaceId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isPinned: boolean, createdAt: string, updatedAt: string, replyCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean } } | null } };\n\nexport type EditMessageMutationVariables = Types.Exact<{\n input: Types.EditMessageInput;\n}>;\n\n\nexport type EditMessageMutation = { __typename?: 'Mutation', editMessage: { __typename?: 'Message', id: string, content: Record<string, unknown>, isEdited: boolean, editedAt?: string | null, updatedAt: string, editHistory: Array<{ __typename?: 'MessageEdit', id: string, previousContent: Record<string, unknown>, editedBy: string, editedAt: string, reason?: string | null }> } };\n\nexport type DeleteMessageMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n hard?: Types.InputMaybe<Types.Scalars['Boolean']['input']>;\n}>;\n\n\nexport type DeleteMessageMutation = { __typename?: 'Mutation', deleteMessage: { __typename?: 'DeleteMessagePayload', messageId: string, success: boolean } };\n\nexport type AddReactionMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n emoji: Types.Scalars['String']['input'];\n}>;\n\n\nexport type AddReactionMutation = { __typename?: 'Mutation', addReaction: { __typename?: 'Reaction', id: string, messageId: string, userId: string, emoji: string, createdAt: string } };\n\nexport type RemoveReactionMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n emoji: Types.Scalars['String']['input'];\n}>;\n\n\nexport type RemoveReactionMutation = { __typename?: 'Mutation', removeReaction: { __typename?: 'RemoveReactionPayload', messageId: string, emoji: string, success: boolean } };\n\nexport type MuteConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MuteConversationMutation = { __typename?: 'Mutation', muteConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type PinConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type PinConversationMutation = { __typename?: 'Mutation', pinConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type PinMessageByHookMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type PinMessageByHookMutation = { __typename?: 'Mutation', pinMessage: { __typename?: 'Message', id: string } };\n\nexport type UnmuteConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnmuteConversationMutation = { __typename?: 'Mutation', unmuteConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type UnpinConversationMutationVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnpinConversationMutation = { __typename?: 'Mutation', unpinConversation: { __typename?: 'ConversationMembership', id: string } };\n\nexport type UnpinMessageByHookMutationVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnpinMessageByHookMutation = { __typename?: 'Mutation', unpinMessage: { __typename?: 'Message', id: string } };\n\nexport type UpdateConversationByHookMutationVariables = Types.Exact<{\n input: Types.UpdateConversationInput;\n}>;\n\n\nexport type UpdateConversationByHookMutation = { __typename?: 'Mutation', updateConversation: { __typename?: 'UpdateConversationPayload', success: boolean, conversation?: { __typename?: 'Conversation', id: string, title?: string | null, description?: string | null, avatar?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean, anonymousMode: boolean, screenShare: boolean, recording: boolean } } | null } };\n\nexport type GetConversationQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetConversationQuery = { __typename?: 'Query', conversation?: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, settings?: Record<string, unknown> | null, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, lastReadMessageId?: string | null, lastReadAt?: string | null, unreadCount: number, mentionCount: number, notificationLevel: Types.NotificationLevel, isMuted: boolean, isPinned: boolean, pinnedOrder?: number | null, canSendMessages: boolean, canAddMembers: boolean, canRemoveMembers: boolean, joinedAt: string, customTitle?: string | null, customAvatar?: string | null } | null, members: { __typename?: 'ConversationMembershipConnection', totalCount?: number | null, edges: Array<{ __typename?: 'ConversationMembershipEdge', node: { __typename?: 'ConversationMembership', id: string, userId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, joinedAt: string, leftAt?: string | null, customTitle?: string | null, customAvatar?: string | null } }> }, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean, anonymousMode: boolean, screenShare: boolean, recording: boolean } } | null };\n\nexport type GetConversationsQueryVariables = Types.Exact<{\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n filter?: Types.InputMaybe<Types.ConversationFilter>;\n sort?: Types.InputMaybe<Types.ConversationSort>;\n}>;\n\n\nexport type GetConversationsQuery = { __typename?: 'Query', conversations: { __typename?: 'ConversationConnection', totalCount?: number | null, edges: Array<{ __typename?: 'ConversationEdge', cursor: string, node: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, settings?: Record<string, unknown> | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, lastMessage?: { __typename?: 'Message', id: string, type: Types.MessageType, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, createdAt: string } | null, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, unreadCount: number, mentionCount: number, notificationLevel: Types.NotificationLevel, isMuted: boolean, isPinned: boolean } | null, features: { __typename?: 'ConversationFeatures', threads: boolean, reactions: boolean, mentions: boolean, calls: boolean, apps: boolean, polls: boolean } } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } };\n\nexport type GetMessagesQueryVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n before?: Types.InputMaybe<Types.Scalars['String']['input']>;\n filter?: Types.InputMaybe<Types.MessageFilter>;\n}>;\n\n\nexport type GetMessagesQuery = { __typename?: 'Query', messages: { __typename?: 'MessageConnection', totalCount?: number | null, edges: Array<{ __typename?: 'MessageEdge', cursor: string, node: { __typename?: 'Message', id: string, conversationId: string, workspaceId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isHidden: boolean, isEdited: boolean, editedAt?: string | null, isPinned: boolean, pinnedBy?: string | null, pinnedAt?: string | null, expiresAt?: string | null, deletedAt?: string | null, createdAt: string, updatedAt: string, replyCount: number, readCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, downloadUrl?: string | null, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } };\n\nexport type GetPresenceQueryVariables = Types.Exact<{\n userIds: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetPresenceQuery = { __typename?: 'Query', presence: Array<{ __typename?: 'Presence', userId: string, status: Types.PresenceStatus, customStatus?: string | null, lastSeenAt?: string | null }> };\n\nexport type GetThreadMessagesQueryVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type GetThreadMessagesQuery = { __typename?: 'Query', thread: { __typename?: 'MessageConnection', edges: Array<{ __typename?: 'MessageEdge', cursor: string, node: { __typename?: 'Message', id: string, conversationId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isEdited: boolean, editedAt?: string | null, isPinned: boolean, createdAt: string, updatedAt: string, replyCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null } } };\n\nexport type GetWorkspaceDirectoryQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.WorkspaceDirectoryFilter>;\n pagination?: Types.InputMaybe<Types.PaginationInput>;\n}>;\n\n\nexport type GetWorkspaceDirectoryQuery = { __typename?: 'Query', workspaceDirectory: { __typename?: 'WorkspaceDirectoryConnection', totalCount?: number | null, edges: Array<{ __typename?: 'WorkspaceDirectoryEntry', id: string, name: string, email?: string | null, avatar?: string | null }> } };\n\nexport type SearchConversationsQueryVariables = Types.Exact<{\n query: Types.Scalars['String']['input'];\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n after?: Types.InputMaybe<Types.Scalars['String']['input']>;\n filter?: Types.InputMaybe<Types.ConversationFilter>;\n}>;\n\n\nexport type SearchConversationsQuery = { __typename?: 'Query', searchConversations: { __typename?: 'ConversationConnection', totalCount?: number | null, edges: Array<{ __typename?: 'ConversationEdge', cursor: string, node: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, avatar?: string | null, settings?: Record<string, unknown> | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, isGroup: boolean, createdBy: string, createdAt: string, updatedAt: string, memberCount: number, unreadCount: number, mentionCount: number, lastMessage?: { __typename?: 'Message', id: string, type: Types.MessageType, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, createdAt: string } | null, currentUserMembership?: { __typename?: 'ConversationMembership', id: string, role: Types.ParticipantRole, status: Types.MembershipStatus, unreadCount: number, mentionCount: number, isMuted: boolean, isPinned: boolean } | null } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } };\n\nexport type SearchMessagesByHookQueryVariables = Types.Exact<{\n query: Types.Scalars['String']['input'];\n conversationId?: Types.InputMaybe<Types.Scalars['ID']['input']>;\n first?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n}>;\n\n\nexport type SearchMessagesByHookQuery = { __typename?: 'Query', searchMessages: { __typename?: 'MessageConnection', edges: Array<{ __typename?: 'MessageEdge', node: { __typename?: 'Message', id: string, conversationId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isEdited: boolean, editedAt?: string | null, isPinned: boolean, createdAt: string, updatedAt: string, replyCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } }> } };\n\nexport type ConversationAddedSubscriptionVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type ConversationAddedSubscription = { __typename?: 'Subscription', conversationAdded: { __typename?: 'Conversation', id: string, workspaceId: string, type: Types.ConversationType, title?: string | null, description?: string | null, createdBy: string, state: Types.ConversationState, visibility: Types.ConversationVisibility, createdAt: string, updatedAt: string } };\n\nexport type ConversationUpdatedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ConversationUpdatedSubscription = { __typename?: 'Subscription', conversationUpdated: { __typename?: 'ConversationUpdatedPayload', changes: Array<string>, conversation: { __typename?: 'Conversation', id: string, title?: string | null, description?: string | null, state: Types.ConversationState, visibility: Types.ConversationVisibility, avatar?: string | null, settings?: Record<string, unknown> | null, updatedAt: string } } };\n\nexport type ConversationDeletedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ConversationDeletedSubscription = { __typename?: 'Subscription', conversationDeleted: { __typename?: 'ConversationDeletedPayload', conversationId: string, deletedBy: string } };\n\nexport type ParticipantChangedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type ParticipantChangedSubscription = { __typename?: 'Subscription', participantChanged: { __typename?: 'ParticipantChangedPayload', changeType: Types.ParticipantChangeType, conversation: { __typename?: 'Conversation', id: string }, membership: { __typename?: 'ConversationMembership', id: string, conversationId: string, userId: string, workspaceId: string, role: Types.ParticipantRole, status: Types.MembershipStatus, notificationLevel: Types.NotificationLevel, joinedAt: string, leftAt?: string | null } } };\n\nexport type MessageAddedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageAddedSubscription = { __typename?: 'Subscription', messageAdded: { __typename?: 'Message', id: string, conversationId: string, workspaceId: string, type: Types.MessageType, status: Types.MessageStatus, content: Record<string, unknown>, authorId: string, authorType: string, authorName: string, isAnonymous: boolean, parentMessageId?: string | null, threadRootId?: string | null, threadLevel: number, isHidden: boolean, isPinned: boolean, isEdited: boolean, editedAt?: string | null, expiresAt?: string | null, deletedAt?: string | null, createdAt: string, updatedAt: string, replyCount: number, readCount: number, reactions: Array<{ __typename?: 'Reaction', id: string, emoji: string, userId: string, createdAt: string }>, attachments: Array<{ __typename?: 'Attachment', id: string, fileId: string, fileName: string, fileSize: number, mimeType: string, downloadUrl?: string | null, width?: number | null, height?: number | null, duration?: number | null, thumbnail?: string | null }>, mentions: Array<{ __typename?: 'Mention', id: string, mentionedUser?: string | null, mentionType: Types.MentionType, offset: number, length: number }>, permissions: { __typename?: 'MessagePermissions', canEdit: boolean, canDelete: boolean, canReact: boolean, canReply: boolean, canPin: boolean, canHide: boolean, canReport: boolean } } };\n\nexport type MessageUpdatedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageUpdatedSubscription = { __typename?: 'Subscription', messageUpdated: { __typename?: 'Message', id: string, conversationId: string, content: Record<string, unknown>, isEdited: boolean, editedAt?: string | null, isPinned: boolean, pinnedBy?: string | null, pinnedAt?: string | null, status: Types.MessageStatus, updatedAt: string } };\n\nexport type MessageDeletedSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageDeletedSubscription = { __typename?: 'Subscription', messageDeleted: { __typename?: 'MessageDeletedPayload', conversationId: string, messageId: string, deletedBy: string, hard: boolean } };\n\nexport type MessageReactionChangedSubscriptionVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageReactionChangedSubscription = { __typename?: 'Subscription', messageReactionChanged: { __typename?: 'MessageReactionChangedPayload', changeType: Types.ReactionChangeType, message: { __typename?: 'Message', id: string, conversationId: string }, reaction?: { __typename?: 'Reaction', id: string, messageId: string, emoji: string, userId: string, createdAt: string } | null } };\n\nexport type MessageReadReceiptAddedSubscriptionVariables = Types.Exact<{\n messageId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type MessageReadReceiptAddedSubscription = { __typename?: 'Subscription', messageReadReceiptAdded: { __typename?: 'MessageReadReceipt', id: string, messageId: string, userId: string, readAt: string } };\n\nexport type TypingIndicatorSubscriptionVariables = Types.Exact<{\n conversationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type TypingIndicatorSubscription = { __typename?: 'Subscription', typingIndicator: { __typename?: 'TypingIndicatorPayload', userId: string, isTyping: boolean, conversation: { __typename?: 'Conversation', id: string } } };\n\nexport type PresenceChangedSubscriptionVariables = Types.Exact<{\n userIds: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n}>;\n\n\nexport type PresenceChangedSubscription = { __typename?: 'Subscription', presenceChanged: { __typename?: 'Presence', userId: string, status: Types.PresenceStatus, lastSeenAt?: string | null } };\n\n\nexport const CreateConversationDocument = gql`\n mutation CreateConversation($input: CreateConversationInput!) {\n createConversation(input: $input) {\n conversation {\n id\n workspaceId\n type\n title\n description\n avatar\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n currentUserMembership {\n id\n role\n status\n joinedAt\n }\n memberCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n }\n }\n success\n }\n}\n `;\nexport type CreateConversationMutationFn = Apollo.MutationFunction<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>;\n\n/**\n * __useCreateConversationMutation__\n *\n * To run a mutation, you first call `useCreateConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createConversationMutation, { data, loading, error }] = useCreateConversationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>(CreateConversationDocument, options);\n }\nexport type CreateConversationMutationHookResult = ReturnType<typeof useCreateConversationMutation>;\nexport type CreateConversationMutationResult = Apollo.MutationResult<Types.CreateConversationMutation>;\nexport type CreateConversationMutationOptions = Apollo.BaseMutationOptions<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>;\nexport const UpdateConversationDocument = gql`\n mutation UpdateConversation($input: UpdateConversationInput!) {\n updateConversation(input: $input) {\n conversation {\n id\n title\n description\n avatar\n settings\n updatedAt\n }\n success\n }\n}\n `;\nexport type UpdateConversationMutationFn = Apollo.MutationFunction<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>;\n\n/**\n * __useUpdateConversationMutation__\n *\n * To run a mutation, you first call `useUpdateConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateConversationMutation, { data, loading, error }] = useUpdateConversationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>(UpdateConversationDocument, options);\n }\nexport type UpdateConversationMutationHookResult = ReturnType<typeof useUpdateConversationMutation>;\nexport type UpdateConversationMutationResult = Apollo.MutationResult<Types.UpdateConversationMutation>;\nexport type UpdateConversationMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>;\nexport const ArchiveConversationDocument = gql`\n mutation ArchiveConversation($id: ID!) {\n archiveConversation(id: $id) {\n id\n state\n updatedAt\n }\n}\n `;\nexport type ArchiveConversationMutationFn = Apollo.MutationFunction<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>;\n\n/**\n * __useArchiveConversationMutation__\n *\n * To run a mutation, you first call `useArchiveConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useArchiveConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [archiveConversationMutation, { data, loading, error }] = useArchiveConversationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useArchiveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>(ArchiveConversationDocument, options);\n }\nexport type ArchiveConversationMutationHookResult = ReturnType<typeof useArchiveConversationMutation>;\nexport type ArchiveConversationMutationResult = Apollo.MutationResult<Types.ArchiveConversationMutation>;\nexport type ArchiveConversationMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>;\nexport const UnarchiveConversationDocument = gql`\n mutation UnarchiveConversation($id: ID!) {\n unarchiveConversation(id: $id) {\n id\n state\n updatedAt\n }\n}\n `;\nexport type UnarchiveConversationMutationFn = Apollo.MutationFunction<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>;\n\n/**\n * __useUnarchiveConversationMutation__\n *\n * To run a mutation, you first call `useUnarchiveConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnarchiveConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unarchiveConversationMutation, { data, loading, error }] = useUnarchiveConversationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useUnarchiveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>(UnarchiveConversationDocument, options);\n }\nexport type UnarchiveConversationMutationHookResult = ReturnType<typeof useUnarchiveConversationMutation>;\nexport type UnarchiveConversationMutationResult = Apollo.MutationResult<Types.UnarchiveConversationMutation>;\nexport type UnarchiveConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnarchiveConversationMutation, Types.UnarchiveConversationMutationVariables>;\nexport const DeleteConversationDocument = gql`\n mutation DeleteConversation($id: ID!) {\n deleteConversation(id: $id) {\n conversationId\n success\n }\n}\n `;\nexport type DeleteConversationMutationFn = Apollo.MutationFunction<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>;\n\n/**\n * __useDeleteConversationMutation__\n *\n * To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>(DeleteConversationDocument, options);\n }\nexport type DeleteConversationMutationHookResult = ReturnType<typeof useDeleteConversationMutation>;\nexport type DeleteConversationMutationResult = Apollo.MutationResult<Types.DeleteConversationMutation>;\nexport type DeleteConversationMutationOptions = Apollo.BaseMutationOptions<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>;\nexport const AddParticipantDocument = gql`\n mutation AddParticipant($input: AddParticipantInput!) {\n addParticipant(input: $input) {\n id\n conversationId\n userId\n workspaceId\n role\n status\n notificationLevel\n isMuted\n canSendMessages\n canAddMembers\n canRemoveMembers\n joinedAt\n invitedBy\n createdAt\n updatedAt\n }\n}\n `;\nexport type AddParticipantMutationFn = Apollo.MutationFunction<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>;\n\n/**\n * __useAddParticipantMutation__\n *\n * To run a mutation, you first call `useAddParticipantMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAddParticipantMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [addParticipantMutation, { data, loading, error }] = useAddParticipantMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useAddParticipantMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>(AddParticipantDocument, options);\n }\nexport type AddParticipantMutationHookResult = ReturnType<typeof useAddParticipantMutation>;\nexport type AddParticipantMutationResult = Apollo.MutationResult<Types.AddParticipantMutation>;\nexport type AddParticipantMutationOptions = Apollo.BaseMutationOptions<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>;\nexport const RemoveParticipantDocument = gql`\n mutation RemoveParticipant($input: RemoveParticipantInput!) {\n removeParticipant(input: $input) {\n conversationId\n userId\n success\n }\n}\n `;\nexport type RemoveParticipantMutationFn = Apollo.MutationFunction<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>;\n\n/**\n * __useRemoveParticipantMutation__\n *\n * To run a mutation, you first call `useRemoveParticipantMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRemoveParticipantMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [removeParticipantMutation, { data, loading, error }] = useRemoveParticipantMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useRemoveParticipantMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>(RemoveParticipantDocument, options);\n }\nexport type RemoveParticipantMutationHookResult = ReturnType<typeof useRemoveParticipantMutation>;\nexport type RemoveParticipantMutationResult = Apollo.MutationResult<Types.RemoveParticipantMutation>;\nexport type RemoveParticipantMutationOptions = Apollo.BaseMutationOptions<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>;\nexport const LeaveConversationDocument = gql`\n mutation LeaveConversation($conversationId: ID!) {\n leaveConversation(conversationId: $conversationId) {\n conversationId\n success\n }\n}\n `;\nexport type LeaveConversationMutationFn = Apollo.MutationFunction<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>;\n\n/**\n * __useLeaveConversationMutation__\n *\n * To run a mutation, you first call `useLeaveConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useLeaveConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [leaveConversationMutation, { data, loading, error }] = useLeaveConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useLeaveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>(LeaveConversationDocument, options);\n }\nexport type LeaveConversationMutationHookResult = ReturnType<typeof useLeaveConversationMutation>;\nexport type LeaveConversationMutationResult = Apollo.MutationResult<Types.LeaveConversationMutation>;\nexport type LeaveConversationMutationOptions = Apollo.BaseMutationOptions<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>;\nexport const UpdateParticipantRoleDocument = gql`\n mutation UpdateParticipantRole($input: UpdateParticipantRoleInput!) {\n updateParticipantRole(input: $input) {\n id\n conversationId\n userId\n role\n status\n canSendMessages\n canAddMembers\n canRemoveMembers\n updatedAt\n }\n}\n `;\nexport type UpdateParticipantRoleMutationFn = Apollo.MutationFunction<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>;\n\n/**\n * __useUpdateParticipantRoleMutation__\n *\n * To run a mutation, you first call `useUpdateParticipantRoleMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateParticipantRoleMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateParticipantRoleMutation, { data, loading, error }] = useUpdateParticipantRoleMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateParticipantRoleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>(UpdateParticipantRoleDocument, options);\n }\nexport type UpdateParticipantRoleMutationHookResult = ReturnType<typeof useUpdateParticipantRoleMutation>;\nexport type UpdateParticipantRoleMutationResult = Apollo.MutationResult<Types.UpdateParticipantRoleMutation>;\nexport type UpdateParticipantRoleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>;\nexport const SendMessageDocument = gql`\n mutation SendMessage($input: SendMessageInput!) {\n sendMessage(input: $input) {\n message {\n id\n conversationId\n workspaceId\n type\n status\n content\n authorId\n authorType\n authorName\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isPinned\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n thumbnail\n }\n replyCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n }\n }\n success\n }\n}\n `;\nexport type SendMessageMutationFn = Apollo.MutationFunction<Types.SendMessageMutation, Types.SendMessageMutationVariables>;\n\n/**\n * __useSendMessageMutation__\n *\n * To run a mutation, you first call `useSendMessageMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useSendMessageMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [sendMessageMutation, { data, loading, error }] = useSendMessageMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useSendMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SendMessageMutation, Types.SendMessageMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.SendMessageMutation, Types.SendMessageMutationVariables>(SendMessageDocument, options);\n }\nexport type SendMessageMutationHookResult = ReturnType<typeof useSendMessageMutation>;\nexport type SendMessageMutationResult = Apollo.MutationResult<Types.SendMessageMutation>;\nexport type SendMessageMutationOptions = Apollo.BaseMutationOptions<Types.SendMessageMutation, Types.SendMessageMutationVariables>;\nexport const EditMessageDocument = gql`\n mutation EditMessage($input: EditMessageInput!) {\n editMessage(input: $input) {\n id\n content\n isEdited\n editedAt\n updatedAt\n editHistory {\n id\n previousContent\n editedBy\n editedAt\n reason\n }\n }\n}\n `;\nexport type EditMessageMutationFn = Apollo.MutationFunction<Types.EditMessageMutation, Types.EditMessageMutationVariables>;\n\n/**\n * __useEditMessageMutation__\n *\n * To run a mutation, you first call `useEditMessageMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useEditMessageMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [editMessageMutation, { data, loading, error }] = useEditMessageMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useEditMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.EditMessageMutation, Types.EditMessageMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.EditMessageMutation, Types.EditMessageMutationVariables>(EditMessageDocument, options);\n }\nexport type EditMessageMutationHookResult = ReturnType<typeof useEditMessageMutation>;\nexport type EditMessageMutationResult = Apollo.MutationResult<Types.EditMessageMutation>;\nexport type EditMessageMutationOptions = Apollo.BaseMutationOptions<Types.EditMessageMutation, Types.EditMessageMutationVariables>;\nexport const DeleteMessageDocument = gql`\n mutation DeleteMessage($id: ID!, $hard: Boolean) {\n deleteMessage(id: $id, hard: $hard) {\n messageId\n success\n }\n}\n `;\nexport type DeleteMessageMutationFn = Apollo.MutationFunction<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>;\n\n/**\n * __useDeleteMessageMutation__\n *\n * To run a mutation, you first call `useDeleteMessageMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteMessageMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteMessageMutation, { data, loading, error }] = useDeleteMessageMutation({\n * variables: {\n * id: // value for 'id'\n * hard: // value for 'hard'\n * },\n * });\n */\nexport function useDeleteMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>(DeleteMessageDocument, options);\n }\nexport type DeleteMessageMutationHookResult = ReturnType<typeof useDeleteMessageMutation>;\nexport type DeleteMessageMutationResult = Apollo.MutationResult<Types.DeleteMessageMutation>;\nexport type DeleteMessageMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>;\nexport const AddReactionDocument = gql`\n mutation AddReaction($messageId: ID!, $emoji: String!) {\n addReaction(messageId: $messageId, emoji: $emoji) {\n id\n messageId\n userId\n emoji\n createdAt\n }\n}\n `;\nexport type AddReactionMutationFn = Apollo.MutationFunction<Types.AddReactionMutation, Types.AddReactionMutationVariables>;\n\n/**\n * __useAddReactionMutation__\n *\n * To run a mutation, you first call `useAddReactionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAddReactionMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [addReactionMutation, { data, loading, error }] = useAddReactionMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * emoji: // value for 'emoji'\n * },\n * });\n */\nexport function useAddReactionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddReactionMutation, Types.AddReactionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AddReactionMutation, Types.AddReactionMutationVariables>(AddReactionDocument, options);\n }\nexport type AddReactionMutationHookResult = ReturnType<typeof useAddReactionMutation>;\nexport type AddReactionMutationResult = Apollo.MutationResult<Types.AddReactionMutation>;\nexport type AddReactionMutationOptions = Apollo.BaseMutationOptions<Types.AddReactionMutation, Types.AddReactionMutationVariables>;\nexport const RemoveReactionDocument = gql`\n mutation RemoveReaction($messageId: ID!, $emoji: String!) {\n removeReaction(messageId: $messageId, emoji: $emoji) {\n messageId\n emoji\n success\n }\n}\n `;\nexport type RemoveReactionMutationFn = Apollo.MutationFunction<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>;\n\n/**\n * __useRemoveReactionMutation__\n *\n * To run a mutation, you first call `useRemoveReactionMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRemoveReactionMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [removeReactionMutation, { data, loading, error }] = useRemoveReactionMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * emoji: // value for 'emoji'\n * },\n * });\n */\nexport function useRemoveReactionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>(RemoveReactionDocument, options);\n }\nexport type RemoveReactionMutationHookResult = ReturnType<typeof useRemoveReactionMutation>;\nexport type RemoveReactionMutationResult = Apollo.MutationResult<Types.RemoveReactionMutation>;\nexport type RemoveReactionMutationOptions = Apollo.BaseMutationOptions<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>;\nexport const MuteConversationDocument = gql`\n mutation MuteConversation($conversationId: ID!) {\n muteConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type MuteConversationMutationFn = Apollo.MutationFunction<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>;\n\n/**\n * __useMuteConversationMutation__\n *\n * To run a mutation, you first call `useMuteConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useMuteConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [muteConversationMutation, { data, loading, error }] = useMuteConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMuteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>(MuteConversationDocument, options);\n }\nexport type MuteConversationMutationHookResult = ReturnType<typeof useMuteConversationMutation>;\nexport type MuteConversationMutationResult = Apollo.MutationResult<Types.MuteConversationMutation>;\nexport type MuteConversationMutationOptions = Apollo.BaseMutationOptions<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>;\nexport const PinConversationDocument = gql`\n mutation PinConversation($conversationId: ID!) {\n pinConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type PinConversationMutationFn = Apollo.MutationFunction<Types.PinConversationMutation, Types.PinConversationMutationVariables>;\n\n/**\n * __usePinConversationMutation__\n *\n * To run a mutation, you first call `usePinConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `usePinConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [pinConversationMutation, { data, loading, error }] = usePinConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function usePinConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PinConversationMutation, Types.PinConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.PinConversationMutation, Types.PinConversationMutationVariables>(PinConversationDocument, options);\n }\nexport type PinConversationMutationHookResult = ReturnType<typeof usePinConversationMutation>;\nexport type PinConversationMutationResult = Apollo.MutationResult<Types.PinConversationMutation>;\nexport type PinConversationMutationOptions = Apollo.BaseMutationOptions<Types.PinConversationMutation, Types.PinConversationMutationVariables>;\nexport const PinMessageByHookDocument = gql`\n mutation PinMessageByHook($messageId: ID!) {\n pinMessage(messageId: $messageId) {\n id\n }\n}\n `;\nexport type PinMessageByHookMutationFn = Apollo.MutationFunction<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>;\n\n/**\n * __usePinMessageByHookMutation__\n *\n * To run a mutation, you first call `usePinMessageByHookMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `usePinMessageByHookMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [pinMessageByHookMutation, { data, loading, error }] = usePinMessageByHookMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function usePinMessageByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>(PinMessageByHookDocument, options);\n }\nexport type PinMessageByHookMutationHookResult = ReturnType<typeof usePinMessageByHookMutation>;\nexport type PinMessageByHookMutationResult = Apollo.MutationResult<Types.PinMessageByHookMutation>;\nexport type PinMessageByHookMutationOptions = Apollo.BaseMutationOptions<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>;\nexport const UnmuteConversationDocument = gql`\n mutation UnmuteConversation($conversationId: ID!) {\n unmuteConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type UnmuteConversationMutationFn = Apollo.MutationFunction<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>;\n\n/**\n * __useUnmuteConversationMutation__\n *\n * To run a mutation, you first call `useUnmuteConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnmuteConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unmuteConversationMutation, { data, loading, error }] = useUnmuteConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useUnmuteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>(UnmuteConversationDocument, options);\n }\nexport type UnmuteConversationMutationHookResult = ReturnType<typeof useUnmuteConversationMutation>;\nexport type UnmuteConversationMutationResult = Apollo.MutationResult<Types.UnmuteConversationMutation>;\nexport type UnmuteConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>;\nexport const UnpinConversationDocument = gql`\n mutation UnpinConversation($conversationId: ID!) {\n unpinConversation(conversationId: $conversationId) {\n id\n }\n}\n `;\nexport type UnpinConversationMutationFn = Apollo.MutationFunction<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>;\n\n/**\n * __useUnpinConversationMutation__\n *\n * To run a mutation, you first call `useUnpinConversationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnpinConversationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unpinConversationMutation, { data, loading, error }] = useUnpinConversationMutation({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useUnpinConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>(UnpinConversationDocument, options);\n }\nexport type UnpinConversationMutationHookResult = ReturnType<typeof useUnpinConversationMutation>;\nexport type UnpinConversationMutationResult = Apollo.MutationResult<Types.UnpinConversationMutation>;\nexport type UnpinConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>;\nexport const UnpinMessageByHookDocument = gql`\n mutation UnpinMessageByHook($messageId: ID!) {\n unpinMessage(messageId: $messageId) {\n id\n }\n}\n `;\nexport type UnpinMessageByHookMutationFn = Apollo.MutationFunction<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>;\n\n/**\n * __useUnpinMessageByHookMutation__\n *\n * To run a mutation, you first call `useUnpinMessageByHookMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnpinMessageByHookMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unpinMessageByHookMutation, { data, loading, error }] = useUnpinMessageByHookMutation({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function useUnpinMessageByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>(UnpinMessageByHookDocument, options);\n }\nexport type UnpinMessageByHookMutationHookResult = ReturnType<typeof useUnpinMessageByHookMutation>;\nexport type UnpinMessageByHookMutationResult = Apollo.MutationResult<Types.UnpinMessageByHookMutation>;\nexport type UnpinMessageByHookMutationOptions = Apollo.BaseMutationOptions<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>;\nexport const UpdateConversationByHookDocument = gql`\n mutation UpdateConversationByHook($input: UpdateConversationInput!) {\n updateConversation(input: $input) {\n success\n conversation {\n id\n title\n description\n avatar\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n memberCount\n unreadCount\n mentionCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n anonymousMode\n screenShare\n recording\n }\n }\n }\n}\n `;\nexport type UpdateConversationByHookMutationFn = Apollo.MutationFunction<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>;\n\n/**\n * __useUpdateConversationByHookMutation__\n *\n * To run a mutation, you first call `useUpdateConversationByHookMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateConversationByHookMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateConversationByHookMutation, { data, loading, error }] = useUpdateConversationByHookMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateConversationByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>(UpdateConversationByHookDocument, options);\n }\nexport type UpdateConversationByHookMutationHookResult = ReturnType<typeof useUpdateConversationByHookMutation>;\nexport type UpdateConversationByHookMutationResult = Apollo.MutationResult<Types.UpdateConversationByHookMutation>;\nexport type UpdateConversationByHookMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>;\nexport const GetConversationDocument = gql`\n query GetConversation($id: ID!) {\n conversation(id: $id) {\n id\n workspaceId\n type\n title\n description\n avatar\n state\n visibility\n isGroup\n settings\n createdBy\n createdAt\n updatedAt\n currentUserMembership {\n id\n role\n status\n lastReadMessageId\n lastReadAt\n unreadCount\n mentionCount\n notificationLevel\n isMuted\n isPinned\n pinnedOrder\n canSendMessages\n canAddMembers\n canRemoveMembers\n joinedAt\n customTitle\n customAvatar\n }\n memberCount\n members(first: 25) {\n totalCount\n edges {\n node {\n id\n userId\n role\n status\n joinedAt\n leftAt\n customTitle\n customAvatar\n }\n }\n }\n unreadCount\n mentionCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n anonymousMode\n screenShare\n recording\n }\n }\n}\n `;\n\n/**\n * __useGetConversationQuery__\n *\n * To run a query within a React component, call `useGetConversationQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetConversationQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetConversationQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables> & ({ variables: Types.GetConversationQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetConversationQuery, Types.GetConversationQueryVariables>(GetConversationDocument, options);\n }\nexport function useGetConversationLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetConversationQuery, Types.GetConversationQueryVariables>(GetConversationDocument, options);\n }\n// @ts-ignore\nexport function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationQuery, Types.GetConversationQueryVariables>;\nexport function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationQuery | undefined, Types.GetConversationQueryVariables>;\nexport function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetConversationQuery, Types.GetConversationQueryVariables>(GetConversationDocument, options);\n }\nexport type GetConversationQueryHookResult = ReturnType<typeof useGetConversationQuery>;\nexport type GetConversationLazyQueryHookResult = ReturnType<typeof useGetConversationLazyQuery>;\nexport type GetConversationSuspenseQueryHookResult = ReturnType<typeof useGetConversationSuspenseQuery>;\nexport type GetConversationQueryResult = Apollo.QueryResult<Types.GetConversationQuery, Types.GetConversationQueryVariables>;\nexport const GetConversationsDocument = gql`\n query GetConversations($first: Int, $after: String, $filter: ConversationFilter, $sort: ConversationSort) {\n conversations(first: $first, after: $after, filter: $filter, sort: $sort) {\n edges {\n cursor\n node {\n id\n workspaceId\n type\n title\n description\n avatar\n settings\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n lastMessage {\n id\n type\n content\n authorId\n authorType\n authorName\n createdAt\n }\n currentUserMembership {\n id\n role\n status\n unreadCount\n mentionCount\n notificationLevel\n isMuted\n isPinned\n }\n memberCount\n unreadCount\n mentionCount\n features {\n threads\n reactions\n mentions\n calls\n apps\n polls\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useGetConversationsQuery__\n *\n * To run a query within a React component, call `useGetConversationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetConversationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetConversationsQuery({\n * variables: {\n * first: // value for 'first'\n * after: // value for 'after'\n * filter: // value for 'filter'\n * sort: // value for 'sort'\n * },\n * });\n */\nexport function useGetConversationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>(GetConversationsDocument, options);\n }\nexport function useGetConversationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>(GetConversationsDocument, options);\n }\n// @ts-ignore\nexport function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>;\nexport function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationsQuery | undefined, Types.GetConversationsQueryVariables>;\nexport function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>(GetConversationsDocument, options);\n }\nexport type GetConversationsQueryHookResult = ReturnType<typeof useGetConversationsQuery>;\nexport type GetConversationsLazyQueryHookResult = ReturnType<typeof useGetConversationsLazyQuery>;\nexport type GetConversationsSuspenseQueryHookResult = ReturnType<typeof useGetConversationsSuspenseQuery>;\nexport type GetConversationsQueryResult = Apollo.QueryResult<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>;\nexport const GetMessagesDocument = gql`\n query GetMessages($conversationId: ID!, $first: Int, $after: String, $before: String, $filter: MessageFilter) {\n messages(\n conversationId: $conversationId\n first: $first\n after: $after\n before: $before\n filter: $filter\n ) {\n edges {\n cursor\n node {\n id\n conversationId\n workspaceId\n type\n status\n content\n authorId\n authorType\n authorName\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isHidden\n isEdited\n editedAt\n isPinned\n pinnedBy\n pinnedAt\n expiresAt\n deletedAt\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n downloadUrl\n width\n height\n duration\n thumbnail\n }\n replyCount\n readCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useGetMessagesQuery__\n *\n * To run a query within a React component, call `useGetMessagesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMessagesQuery({\n * variables: {\n * conversationId: // value for 'conversationId'\n * first: // value for 'first'\n * after: // value for 'after'\n * before: // value for 'before'\n * filter: // value for 'filter'\n * },\n * });\n */\nexport function useGetMessagesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables> & ({ variables: Types.GetMessagesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>(GetMessagesDocument, options);\n }\nexport function useGetMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>(GetMessagesDocument, options);\n }\n// @ts-ignore\nexport function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>;\nexport function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMessagesQuery | undefined, Types.GetMessagesQueryVariables>;\nexport function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>(GetMessagesDocument, options);\n }\nexport type GetMessagesQueryHookResult = ReturnType<typeof useGetMessagesQuery>;\nexport type GetMessagesLazyQueryHookResult = ReturnType<typeof useGetMessagesLazyQuery>;\nexport type GetMessagesSuspenseQueryHookResult = ReturnType<typeof useGetMessagesSuspenseQuery>;\nexport type GetMessagesQueryResult = Apollo.QueryResult<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>;\nexport const GetPresenceDocument = gql`\n query GetPresence($userIds: [ID!]!) {\n presence(userIds: $userIds) {\n userId\n status\n customStatus\n lastSeenAt\n }\n}\n `;\n\n/**\n * __useGetPresenceQuery__\n *\n * To run a query within a React component, call `useGetPresenceQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetPresenceQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetPresenceQuery({\n * variables: {\n * userIds: // value for 'userIds'\n * },\n * });\n */\nexport function useGetPresenceQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables> & ({ variables: Types.GetPresenceQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>(GetPresenceDocument, options);\n }\nexport function useGetPresenceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>(GetPresenceDocument, options);\n }\n// @ts-ignore\nexport function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>;\nexport function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPresenceQuery | undefined, Types.GetPresenceQueryVariables>;\nexport function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>(GetPresenceDocument, options);\n }\nexport type GetPresenceQueryHookResult = ReturnType<typeof useGetPresenceQuery>;\nexport type GetPresenceLazyQueryHookResult = ReturnType<typeof useGetPresenceLazyQuery>;\nexport type GetPresenceSuspenseQueryHookResult = ReturnType<typeof useGetPresenceSuspenseQuery>;\nexport type GetPresenceQueryResult = Apollo.QueryResult<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>;\nexport const GetThreadMessagesDocument = gql`\n query GetThreadMessages($messageId: ID!, $first: Int, $after: String) {\n thread(messageId: $messageId, first: $first, after: $after) {\n edges {\n cursor\n node {\n id\n conversationId\n type\n status\n content\n authorId\n authorType\n authorName\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isEdited\n editedAt\n isPinned\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n width\n height\n duration\n thumbnail\n }\n replyCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n `;\n\n/**\n * __useGetThreadMessagesQuery__\n *\n * To run a query within a React component, call `useGetThreadMessagesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetThreadMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetThreadMessagesQuery({\n * variables: {\n * messageId: // value for 'messageId'\n * first: // value for 'first'\n * after: // value for 'after'\n * },\n * });\n */\nexport function useGetThreadMessagesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables> & ({ variables: Types.GetThreadMessagesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>(GetThreadMessagesDocument, options);\n }\nexport function useGetThreadMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>(GetThreadMessagesDocument, options);\n }\n// @ts-ignore\nexport function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>;\nexport function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetThreadMessagesQuery | undefined, Types.GetThreadMessagesQueryVariables>;\nexport function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>(GetThreadMessagesDocument, options);\n }\nexport type GetThreadMessagesQueryHookResult = ReturnType<typeof useGetThreadMessagesQuery>;\nexport type GetThreadMessagesLazyQueryHookResult = ReturnType<typeof useGetThreadMessagesLazyQuery>;\nexport type GetThreadMessagesSuspenseQueryHookResult = ReturnType<typeof useGetThreadMessagesSuspenseQuery>;\nexport type GetThreadMessagesQueryResult = Apollo.QueryResult<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>;\nexport const GetWorkspaceDirectoryDocument = gql`\n query GetWorkspaceDirectory($filter: WorkspaceDirectoryFilter, $pagination: PaginationInput) {\n workspaceDirectory(filter: $filter, pagination: $pagination) {\n totalCount\n edges {\n id\n name\n email\n avatar\n }\n }\n}\n `;\n\n/**\n * __useGetWorkspaceDirectoryQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceDirectoryQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceDirectoryQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceDirectoryQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetWorkspaceDirectoryQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>(GetWorkspaceDirectoryDocument, options);\n }\nexport function useGetWorkspaceDirectoryLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>(GetWorkspaceDirectoryDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceDirectorySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>;\nexport function useGetWorkspaceDirectorySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceDirectoryQuery | undefined, Types.GetWorkspaceDirectoryQueryVariables>;\nexport function useGetWorkspaceDirectorySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>(GetWorkspaceDirectoryDocument, options);\n }\nexport type GetWorkspaceDirectoryQueryHookResult = ReturnType<typeof useGetWorkspaceDirectoryQuery>;\nexport type GetWorkspaceDirectoryLazyQueryHookResult = ReturnType<typeof useGetWorkspaceDirectoryLazyQuery>;\nexport type GetWorkspaceDirectorySuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceDirectorySuspenseQuery>;\nexport type GetWorkspaceDirectoryQueryResult = Apollo.QueryResult<Types.GetWorkspaceDirectoryQuery, Types.GetWorkspaceDirectoryQueryVariables>;\nexport const SearchConversationsDocument = gql`\n query SearchConversations($query: String!, $first: Int, $after: String, $filter: ConversationFilter) {\n searchConversations(\n query: $query\n first: $first\n after: $after\n filter: $filter\n ) {\n edges {\n cursor\n node {\n id\n workspaceId\n type\n title\n description\n avatar\n settings\n state\n visibility\n isGroup\n createdBy\n createdAt\n updatedAt\n lastMessage {\n id\n type\n content\n authorId\n authorType\n authorName\n createdAt\n }\n currentUserMembership {\n id\n role\n status\n unreadCount\n mentionCount\n isMuted\n isPinned\n }\n memberCount\n unreadCount\n mentionCount\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n totalCount\n }\n}\n `;\n\n/**\n * __useSearchConversationsQuery__\n *\n * To run a query within a React component, call `useSearchConversationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useSearchConversationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSearchConversationsQuery({\n * variables: {\n * query: // value for 'query'\n * first: // value for 'first'\n * after: // value for 'after'\n * filter: // value for 'filter'\n * },\n * });\n */\nexport function useSearchConversationsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables> & ({ variables: Types.SearchConversationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>(SearchConversationsDocument, options);\n }\nexport function useSearchConversationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>(SearchConversationsDocument, options);\n }\n// @ts-ignore\nexport function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>;\nexport function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchConversationsQuery | undefined, Types.SearchConversationsQueryVariables>;\nexport function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>(SearchConversationsDocument, options);\n }\nexport type SearchConversationsQueryHookResult = ReturnType<typeof useSearchConversationsQuery>;\nexport type SearchConversationsLazyQueryHookResult = ReturnType<typeof useSearchConversationsLazyQuery>;\nexport type SearchConversationsSuspenseQueryHookResult = ReturnType<typeof useSearchConversationsSuspenseQuery>;\nexport type SearchConversationsQueryResult = Apollo.QueryResult<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>;\nexport const SearchMessagesByHookDocument = gql`\n query SearchMessagesByHook($query: String!, $conversationId: ID, $first: Int) {\n searchMessages(query: $query, conversationId: $conversationId, first: $first) {\n edges {\n node {\n id\n conversationId\n type\n status\n content\n authorId\n authorType\n authorName\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isEdited\n editedAt\n isPinned\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n width\n height\n duration\n thumbnail\n }\n replyCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n }\n }\n}\n `;\n\n/**\n * __useSearchMessagesByHookQuery__\n *\n * To run a query within a React component, call `useSearchMessagesByHookQuery` and pass it any options that fit your needs.\n * When your component renders, `useSearchMessagesByHookQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSearchMessagesByHookQuery({\n * variables: {\n * query: // value for 'query'\n * conversationId: // value for 'conversationId'\n * first: // value for 'first'\n * },\n * });\n */\nexport function useSearchMessagesByHookQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables> & ({ variables: Types.SearchMessagesByHookQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>(SearchMessagesByHookDocument, options);\n }\nexport function useSearchMessagesByHookLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>(SearchMessagesByHookDocument, options);\n }\n// @ts-ignore\nexport function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>;\nexport function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchMessagesByHookQuery | undefined, Types.SearchMessagesByHookQueryVariables>;\nexport function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>(SearchMessagesByHookDocument, options);\n }\nexport type SearchMessagesByHookQueryHookResult = ReturnType<typeof useSearchMessagesByHookQuery>;\nexport type SearchMessagesByHookLazyQueryHookResult = ReturnType<typeof useSearchMessagesByHookLazyQuery>;\nexport type SearchMessagesByHookSuspenseQueryHookResult = ReturnType<typeof useSearchMessagesByHookSuspenseQuery>;\nexport type SearchMessagesByHookQueryResult = Apollo.QueryResult<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>;\nexport const ConversationAddedDocument = gql`\n subscription ConversationAdded {\n conversationAdded {\n id\n workspaceId\n type\n title\n description\n createdBy\n state\n visibility\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useConversationAddedSubscription__\n *\n * To run a query within a React component, call `useConversationAddedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useConversationAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useConversationAddedSubscription({\n * variables: {\n * },\n * });\n */\nexport function useConversationAddedSubscription(baseOptions?: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationAddedSubscription, Types.ConversationAddedSubscriptionVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ConversationAddedSubscription, Types.ConversationAddedSubscriptionVariables>(ConversationAddedDocument, options);\n }\nexport type ConversationAddedSubscriptionHookResult = ReturnType<typeof useConversationAddedSubscription>;\nexport type ConversationAddedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationAddedSubscription>;\nexport const ConversationUpdatedDocument = gql`\n subscription ConversationUpdated($conversationId: ID!) {\n conversationUpdated(conversationId: $conversationId) {\n changes\n conversation {\n id\n title\n description\n state\n visibility\n avatar\n settings\n updatedAt\n }\n }\n}\n `;\n\n/**\n * __useConversationUpdatedSubscription__\n *\n * To run a query within a React component, call `useConversationUpdatedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useConversationUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useConversationUpdatedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useConversationUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationUpdatedSubscription, Types.ConversationUpdatedSubscriptionVariables> & ({ variables: Types.ConversationUpdatedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ConversationUpdatedSubscription, Types.ConversationUpdatedSubscriptionVariables>(ConversationUpdatedDocument, options);\n }\nexport type ConversationUpdatedSubscriptionHookResult = ReturnType<typeof useConversationUpdatedSubscription>;\nexport type ConversationUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationUpdatedSubscription>;\nexport const ConversationDeletedDocument = gql`\n subscription ConversationDeleted($conversationId: ID!) {\n conversationDeleted(conversationId: $conversationId) {\n conversationId\n deletedBy\n }\n}\n `;\n\n/**\n * __useConversationDeletedSubscription__\n *\n * To run a query within a React component, call `useConversationDeletedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useConversationDeletedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useConversationDeletedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useConversationDeletedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationDeletedSubscription, Types.ConversationDeletedSubscriptionVariables> & ({ variables: Types.ConversationDeletedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ConversationDeletedSubscription, Types.ConversationDeletedSubscriptionVariables>(ConversationDeletedDocument, options);\n }\nexport type ConversationDeletedSubscriptionHookResult = ReturnType<typeof useConversationDeletedSubscription>;\nexport type ConversationDeletedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationDeletedSubscription>;\nexport const ParticipantChangedDocument = gql`\n subscription ParticipantChanged($conversationId: ID!) {\n participantChanged(conversationId: $conversationId) {\n changeType\n conversation {\n id\n }\n membership {\n id\n conversationId\n userId\n workspaceId\n role\n status\n notificationLevel\n joinedAt\n leftAt\n }\n }\n}\n `;\n\n/**\n * __useParticipantChangedSubscription__\n *\n * To run a query within a React component, call `useParticipantChangedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useParticipantChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useParticipantChangedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useParticipantChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ParticipantChangedSubscription, Types.ParticipantChangedSubscriptionVariables> & ({ variables: Types.ParticipantChangedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.ParticipantChangedSubscription, Types.ParticipantChangedSubscriptionVariables>(ParticipantChangedDocument, options);\n }\nexport type ParticipantChangedSubscriptionHookResult = ReturnType<typeof useParticipantChangedSubscription>;\nexport type ParticipantChangedSubscriptionResult = Apollo.SubscriptionResult<Types.ParticipantChangedSubscription>;\nexport const MessageAddedDocument = gql`\n subscription MessageAdded($conversationId: ID!) {\n messageAdded(conversationId: $conversationId) {\n id\n conversationId\n workspaceId\n type\n status\n content\n authorId\n authorType\n authorName\n isAnonymous\n parentMessageId\n threadRootId\n threadLevel\n isHidden\n isPinned\n isEdited\n editedAt\n expiresAt\n deletedAt\n createdAt\n updatedAt\n reactions {\n id\n emoji\n userId\n createdAt\n }\n attachments {\n id\n fileId\n fileName\n fileSize\n mimeType\n downloadUrl\n width\n height\n duration\n thumbnail\n }\n mentions {\n id\n mentionedUser\n mentionType\n offset\n length\n }\n replyCount\n readCount\n permissions {\n canEdit\n canDelete\n canReact\n canReply\n canPin\n canHide\n canReport\n }\n }\n}\n `;\n\n/**\n * __useMessageAddedSubscription__\n *\n * To run a query within a React component, call `useMessageAddedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageAddedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMessageAddedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageAddedSubscription, Types.MessageAddedSubscriptionVariables> & ({ variables: Types.MessageAddedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageAddedSubscription, Types.MessageAddedSubscriptionVariables>(MessageAddedDocument, options);\n }\nexport type MessageAddedSubscriptionHookResult = ReturnType<typeof useMessageAddedSubscription>;\nexport type MessageAddedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageAddedSubscription>;\nexport const MessageUpdatedDocument = gql`\n subscription MessageUpdated($conversationId: ID!) {\n messageUpdated(conversationId: $conversationId) {\n id\n conversationId\n content\n isEdited\n editedAt\n isPinned\n pinnedBy\n pinnedAt\n status\n updatedAt\n }\n}\n `;\n\n/**\n * __useMessageUpdatedSubscription__\n *\n * To run a query within a React component, call `useMessageUpdatedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageUpdatedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMessageUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageUpdatedSubscription, Types.MessageUpdatedSubscriptionVariables> & ({ variables: Types.MessageUpdatedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageUpdatedSubscription, Types.MessageUpdatedSubscriptionVariables>(MessageUpdatedDocument, options);\n }\nexport type MessageUpdatedSubscriptionHookResult = ReturnType<typeof useMessageUpdatedSubscription>;\nexport type MessageUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageUpdatedSubscription>;\nexport const MessageDeletedDocument = gql`\n subscription MessageDeleted($conversationId: ID!) {\n messageDeleted(conversationId: $conversationId) {\n conversationId\n messageId\n deletedBy\n hard\n }\n}\n `;\n\n/**\n * __useMessageDeletedSubscription__\n *\n * To run a query within a React component, call `useMessageDeletedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageDeletedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageDeletedSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useMessageDeletedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageDeletedSubscription, Types.MessageDeletedSubscriptionVariables> & ({ variables: Types.MessageDeletedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageDeletedSubscription, Types.MessageDeletedSubscriptionVariables>(MessageDeletedDocument, options);\n }\nexport type MessageDeletedSubscriptionHookResult = ReturnType<typeof useMessageDeletedSubscription>;\nexport type MessageDeletedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageDeletedSubscription>;\nexport const MessageReactionChangedDocument = gql`\n subscription MessageReactionChanged($messageId: ID!) {\n messageReactionChanged(messageId: $messageId) {\n changeType\n message {\n id\n conversationId\n }\n reaction {\n id\n messageId\n emoji\n userId\n createdAt\n }\n }\n}\n `;\n\n/**\n * __useMessageReactionChangedSubscription__\n *\n * To run a query within a React component, call `useMessageReactionChangedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageReactionChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageReactionChangedSubscription({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function useMessageReactionChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageReactionChangedSubscription, Types.MessageReactionChangedSubscriptionVariables> & ({ variables: Types.MessageReactionChangedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageReactionChangedSubscription, Types.MessageReactionChangedSubscriptionVariables>(MessageReactionChangedDocument, options);\n }\nexport type MessageReactionChangedSubscriptionHookResult = ReturnType<typeof useMessageReactionChangedSubscription>;\nexport type MessageReactionChangedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageReactionChangedSubscription>;\nexport const MessageReadReceiptAddedDocument = gql`\n subscription MessageReadReceiptAdded($messageId: ID!) {\n messageReadReceiptAdded(messageId: $messageId) {\n id\n messageId\n userId\n readAt\n }\n}\n `;\n\n/**\n * __useMessageReadReceiptAddedSubscription__\n *\n * To run a query within a React component, call `useMessageReadReceiptAddedSubscription` and pass it any options that fit your needs.\n * When your component renders, `useMessageReadReceiptAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useMessageReadReceiptAddedSubscription({\n * variables: {\n * messageId: // value for 'messageId'\n * },\n * });\n */\nexport function useMessageReadReceiptAddedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageReadReceiptAddedSubscription, Types.MessageReadReceiptAddedSubscriptionVariables> & ({ variables: Types.MessageReadReceiptAddedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.MessageReadReceiptAddedSubscription, Types.MessageReadReceiptAddedSubscriptionVariables>(MessageReadReceiptAddedDocument, options);\n }\nexport type MessageReadReceiptAddedSubscriptionHookResult = ReturnType<typeof useMessageReadReceiptAddedSubscription>;\nexport type MessageReadReceiptAddedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageReadReceiptAddedSubscription>;\nexport const TypingIndicatorDocument = gql`\n subscription TypingIndicator($conversationId: ID!) {\n typingIndicator(conversationId: $conversationId) {\n conversation {\n id\n }\n userId\n isTyping\n }\n}\n `;\n\n/**\n * __useTypingIndicatorSubscription__\n *\n * To run a query within a React component, call `useTypingIndicatorSubscription` and pass it any options that fit your needs.\n * When your component renders, `useTypingIndicatorSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useTypingIndicatorSubscription({\n * variables: {\n * conversationId: // value for 'conversationId'\n * },\n * });\n */\nexport function useTypingIndicatorSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.TypingIndicatorSubscription, Types.TypingIndicatorSubscriptionVariables> & ({ variables: Types.TypingIndicatorSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.TypingIndicatorSubscription, Types.TypingIndicatorSubscriptionVariables>(TypingIndicatorDocument, options);\n }\nexport type TypingIndicatorSubscriptionHookResult = ReturnType<typeof useTypingIndicatorSubscription>;\nexport type TypingIndicatorSubscriptionResult = Apollo.SubscriptionResult<Types.TypingIndicatorSubscription>;\nexport const PresenceChangedDocument = gql`\n subscription PresenceChanged($userIds: [ID!]!) {\n presenceChanged(userIds: $userIds) {\n userId\n status\n lastSeenAt\n }\n}\n `;\n\n/**\n * __usePresenceChangedSubscription__\n *\n * To run a query within a React component, call `usePresenceChangedSubscription` and pass it any options that fit your needs.\n * When your component renders, `usePresenceChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = usePresenceChangedSubscription({\n * variables: {\n * userIds: // value for 'userIds'\n * },\n * });\n */\nexport function usePresenceChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.PresenceChangedSubscription, Types.PresenceChangedSubscriptionVariables> & ({ variables: Types.PresenceChangedSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.PresenceChangedSubscription, Types.PresenceChangedSubscriptionVariables>(PresenceChangedDocument, options);\n }\nexport type PresenceChangedSubscriptionHookResult = ReturnType<typeof usePresenceChangedSubscription>;\nexport type PresenceChangedSubscriptionResult = Apollo.SubscriptionResult<Types.PresenceChangedSubscription>;"],"mappings":";;;AAMA,IAAM,IAAiB,EAAE,EA0SZ,IAA6B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuD7C,SAAgB,EAA8B,GAAiI;CACvK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyF,GAA4B,EAAQ;;AAKnH,CAAG;;;;;;;;;;;;;;;AAyC7C,IAAa,IAA8B,CAAG;;;;;;;;;AA4B9C,SAAgB,EAA+B,GAAmI;CAC1K,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2F,GAA6B,EAAQ;;AAKhK,IAAa,IAAgC,CAAG;;;;;;;;;AA4BhD,SAAgB,EAAiC,GAAuI;CAChL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA+F,GAA+B,EAAQ;;AAK5H,CAAG;;;;;;;OAkCP,CAAG;;;;;;;;;;;;;;;;;;;;OA+CA,CAAG;;;;;;;;;AAmC5C,IAAa,IAA4B,CAAG;;;;;;;;AA2B5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK7G,CAAG;;;;;;;;;;;;;;;AAyChD,IAAa,IAAsB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAsB,CAAG;;;;;;;;;;;;;;;;;;AAqCtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAwB,CAAG;;;;;;;;AA4BxC,SAAgB,EAAyB,GAAuH;CACxJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA+E,GAAuB,EAAQ;;AAK9I,IAAa,IAAsB,CAAG;;;;;;;;;;;AA+BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAyB,CAAG;;;;;;;;;AA6BzC,SAAgB,EAA0B,GAAyH;CAC3J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAiF,GAAwB,EAAQ;;AAKjJ,IAAa,IAA2B,CAAG;;;;;;;AA0B3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAA0B,CAAG;;;;;;;AA0B1C,SAAgB,EAA2B,GAA2H;CAC9J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAmF,GAAyB,EAAQ;;AAKpJ,IAAa,IAA2B,CAAG;;;;;;;AA0B3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAA6B,CAAG;;;;;;;AA0B7C,SAAgB,EAA8B,GAAiI;CACvK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyF,GAA4B,EAAQ;;AAK7J,IAAa,IAA4B,CAAG;;;;;;;AA0B5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK1J,IAAa,IAA6B,CAAG;;;;;;;AA0B7C,SAAgB,EAA8B,GAAiI;CACvK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyF,GAA4B,EAAQ;;AAK7J,IAAa,IAAmC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDnD,SAAgB,EAAoC,GAA6I;CACzL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqG,GAAkC,EAAQ;;AAK/K,IAAa,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoF1C,SAAgB,EAAwB,GAA+M;CAC/O,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA0E,GAAyB,EAAQ;;AAiB3I,IAAa,IAA2B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiF3C,SAAgB,EAAyB,GAAoH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA4E,GAA0B,EAAQ;;AAiB9I,IAAa,IAAsB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwGtC,SAAgB,EAAoB,GAAmM;CAC/N,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAkE,GAAqB,EAAQ;;AAiB5F,CAAG;;;;;;;;;OA8CG,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwG5C,IAAa,IAAgC,CAAG;;;;;;;;;;;;;AA+BhD,SAAgB,EAA8B,GAA8H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAsF,GAA+B,EAAQ;;AAiB7J,IAAa,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6E9C,SAAgB,EAA4B,GAA2N;CAC/P,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAkF,GAA6B,EAAQ;;AAiB3G,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmG/C,IAAa,IAA4B,CAAG;;;;;;;;;;;;;;;OAsC/B,IAA8B,CAAG;;;;;;;;;;;;;;;;OAwCjC,IAA8B,CAAG;;;;;;;OA+BjC,IAA6B,CAAG;;;;;;;;;;;;;;;;;;;;OA4ChC,IAAuB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsF1B,IAAyB,CAAG;;;;;;;;;;;;;;;OAuC5B,IAAyB,CAAG;;;;;;;;;;AAiCK,CAAG;;;;;;;;;;;;;;;;;OAyCF,CAAG;;;;;;;;;OAiCX,CAAG;;;;;;;;;;OAkCH,CAAG"}
|