@burdenoff/microfe-conversations 2026.830.2 → 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.
|
@@ -26,7 +26,7 @@ function e(e) {
|
|
|
26
26
|
lastMessage: e.lastMessage ? t(e.lastMessage) : void 0,
|
|
27
27
|
isPinned: !!(e.currentUserMembership && e.currentUserMembership.isPinned),
|
|
28
28
|
isMuted: !!(e.currentUserMembership && e.currentUserMembership.isMuted),
|
|
29
|
-
features: e.features ?
|
|
29
|
+
features: e.features ? o(e.features) : c(),
|
|
30
30
|
createdBy: {
|
|
31
31
|
id: String(e.createdBy && typeof e.createdBy == "object" ? e.createdBy.id : e.createdBy ?? ""),
|
|
32
32
|
name: String(e.createdBy && typeof e.createdBy == "object" ? e.createdBy.name : "")
|
|
@@ -36,19 +36,19 @@ function e(e) {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
function t(e) {
|
|
39
|
-
let t = Array.isArray(e.reactions) ? e.reactions.map(n) : [],
|
|
39
|
+
let t = Array.isArray(e.reactions) ? e.reactions.map(n) : [], o = Array.isArray(e.mentions) ? e.mentions.map(r) : [], c = Array.isArray(e.attachments) ? e.attachments.map(i) : [];
|
|
40
40
|
return {
|
|
41
41
|
id: String(e.id ?? ""),
|
|
42
42
|
conversationId: String(e.conversationId ?? ""),
|
|
43
43
|
type: String(e.type ?? "TEXT"),
|
|
44
44
|
status: String(e.status ?? "SENT"),
|
|
45
|
-
content:
|
|
45
|
+
content: u(e.content),
|
|
46
46
|
authorId: String(e.authorId ?? ""),
|
|
47
47
|
authorType: String(e.authorType ?? "user"),
|
|
48
48
|
isAnonymous: !!e.isAnonymous,
|
|
49
49
|
sender: {
|
|
50
50
|
id: String(e.authorId ?? ""),
|
|
51
|
-
name:
|
|
51
|
+
name: a(e),
|
|
52
52
|
avatarUrl: e.sender && typeof e.sender == "object" ? e.sender.avatarUrl : void 0
|
|
53
53
|
},
|
|
54
54
|
parentMessageId: e.parentMessageId ? String(e.parentMessageId) : void 0,
|
|
@@ -59,9 +59,9 @@ function t(e) {
|
|
|
59
59
|
editedAt: e.editedAt ? String(e.editedAt) : void 0,
|
|
60
60
|
isPinned: !!e.isPinned,
|
|
61
61
|
reactions: t,
|
|
62
|
-
mentions:
|
|
63
|
-
attachments:
|
|
64
|
-
permissions: e.permissions ?
|
|
62
|
+
mentions: o,
|
|
63
|
+
attachments: c,
|
|
64
|
+
permissions: e.permissions ? s(e.permissions) : l(),
|
|
65
65
|
createdAt: String(e.createdAt ?? (/* @__PURE__ */ new Date()).toISOString()),
|
|
66
66
|
updatedAt: String(e.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString())
|
|
67
67
|
};
|
|
@@ -102,6 +102,14 @@ function i(e) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
function a(e) {
|
|
105
|
+
if (typeof e.authorName == "string" && e.authorName.trim()) return e.authorName;
|
|
106
|
+
if (e.sender && typeof e.sender == "object") {
|
|
107
|
+
let t = e.sender.name;
|
|
108
|
+
if (typeof t == "string" && t.trim()) return t;
|
|
109
|
+
}
|
|
110
|
+
return "Unknown";
|
|
111
|
+
}
|
|
112
|
+
function o(e) {
|
|
105
113
|
return {
|
|
106
114
|
threads: !!(e.threads ?? !0),
|
|
107
115
|
reactions: !!(e.reactions ?? !0),
|
|
@@ -114,7 +122,7 @@ function a(e) {
|
|
|
114
122
|
recording: !!e.recording
|
|
115
123
|
};
|
|
116
124
|
}
|
|
117
|
-
function
|
|
125
|
+
function s(e) {
|
|
118
126
|
return {
|
|
119
127
|
canEdit: !!e.canEdit,
|
|
120
128
|
canDelete: !!e.canDelete,
|
|
@@ -125,7 +133,7 @@ function o(e) {
|
|
|
125
133
|
canReport: !!(e.canReport ?? !0)
|
|
126
134
|
};
|
|
127
135
|
}
|
|
128
|
-
function
|
|
136
|
+
function c() {
|
|
129
137
|
return {
|
|
130
138
|
threads: !0,
|
|
131
139
|
reactions: !0,
|
|
@@ -138,7 +146,7 @@ function s() {
|
|
|
138
146
|
recording: !1
|
|
139
147
|
};
|
|
140
148
|
}
|
|
141
|
-
function
|
|
149
|
+
function l() {
|
|
142
150
|
return {
|
|
143
151
|
canEdit: !1,
|
|
144
152
|
canDelete: !1,
|
|
@@ -149,7 +157,7 @@ function c() {
|
|
|
149
157
|
canReport: !0
|
|
150
158
|
};
|
|
151
159
|
}
|
|
152
|
-
function
|
|
160
|
+
function u(e) {
|
|
153
161
|
if (typeof e == "string") return e;
|
|
154
162
|
if (e && typeof e == "object") {
|
|
155
163
|
let t = e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","names":[],"sources":["../../../src/conversations/utils/mappers.ts"],"sourcesContent":["import type {\n Conversation,\n Message,\n Reaction,\n Attachment,\n Mention,\n MessagePermissions,\n ConversationFeatures,\n} from \"../types\";\n\n/**\n * Map a GraphQL Conversation response to the frontend Conversation type.\n * Gracefully handles undefined/null fields from partial queries.\n */\nexport function mapConversation(raw: Record<string, unknown>): Conversation {\n const settings =\n raw.settings && typeof raw.settings === \"object\"\n ? (raw.settings as Record<string, unknown>)\n : undefined;\n const sourceContext =\n settings &&\n typeof settings.metadata === \"object\" &&\n settings.metadata !== null &&\n typeof (settings.metadata as Record<string, unknown>).sourceContext ===\n \"object\" &&\n (settings.metadata as Record<string, unknown>).sourceContext !== null\n ? ((settings.metadata as Record<string, unknown>).sourceContext as Record<\n string,\n unknown\n >)\n : undefined;\n\n return {\n id: String(raw.id ?? \"\"),\n title: String(raw.title ?? \"Untitled\"),\n description: raw.description ? String(raw.description) : undefined,\n avatar: raw.avatar ? String(raw.avatar) : undefined,\n settings,\n sourceContext: sourceContext\n ? {\n product: sourceContext.product\n ? String(sourceContext.product)\n : undefined,\n pagePath: String(sourceContext.pagePath ?? \"\"),\n contextHref: String(sourceContext.contextHref ?? \"\"),\n contextTitle: sourceContext.contextTitle\n ? String(sourceContext.contextTitle)\n : undefined,\n entityType: sourceContext.entityType\n ? String(sourceContext.entityType)\n : undefined,\n entityId: sourceContext.entityId\n ? String(sourceContext.entityId)\n : undefined,\n activeTab: sourceContext.activeTab\n ? String(sourceContext.activeTab)\n : undefined,\n }\n : undefined,\n type: String(raw.type ?? \"DIRECT\") as Conversation[\"type\"],\n state: String(raw.state ?? \"ACTIVE\") as Conversation[\"state\"],\n visibility: String(\n raw.visibility ?? \"PRIVATE\",\n ) as Conversation[\"visibility\"],\n isGroup: Boolean(raw.isGroup) || String(raw.type ?? \"DIRECT\") !== \"DIRECT\",\n memberCount: Number(raw.memberCount ?? 0),\n unreadCount: Number(raw.unreadCount ?? 0),\n mentionCount: Number(raw.mentionCount ?? 0),\n lastMessage: raw.lastMessage\n ? mapMessage(raw.lastMessage as Record<string, unknown>)\n : undefined,\n isPinned: Boolean(\n raw.currentUserMembership\n ? (raw.currentUserMembership as Record<string, unknown>).isPinned\n : false,\n ),\n isMuted: Boolean(\n raw.currentUserMembership\n ? (raw.currentUserMembership as Record<string, unknown>).isMuted\n : false,\n ),\n features: raw.features\n ? mapConversationFeatures(raw.features as Record<string, unknown>)\n : defaultFeatures(),\n createdBy: {\n id: String(\n raw.createdBy && typeof raw.createdBy === \"object\"\n ? (raw.createdBy as Record<string, unknown>).id\n : (raw.createdBy ?? \"\"),\n ),\n name: String(\n raw.createdBy && typeof raw.createdBy === \"object\"\n ? (raw.createdBy as Record<string, unknown>).name\n : \"\",\n ),\n },\n createdAt: String(raw.createdAt ?? new Date().toISOString()),\n updatedAt: String(raw.updatedAt ?? new Date().toISOString()),\n };\n}\n\n/**\n * Map a GraphQL Message response to the frontend Message type.\n */\nexport function mapMessage(raw: Record<string, unknown>): Message {\n const reactions = Array.isArray(raw.reactions)\n ? (raw.reactions as Record<string, unknown>[]).map(mapReaction)\n : [];\n\n const mentions = Array.isArray(raw.mentions)\n ? (raw.mentions as Record<string, unknown>[]).map(mapMention)\n : [];\n\n const attachments = Array.isArray(raw.attachments)\n ? (raw.attachments as Record<string, unknown>[]).map(mapAttachment)\n : [];\n\n return {\n id: String(raw.id ?? \"\"),\n conversationId: String(raw.conversationId ?? \"\"),\n type: String(raw.type ?? \"TEXT\") as Message[\"type\"],\n status: String(raw.status ?? \"SENT\") as Message[\"status\"],\n content: extractTextContent(raw.content),\n authorId: String(raw.authorId ?? \"\"),\n authorType: String(raw.authorType ?? \"user\"),\n isAnonymous: Boolean(raw.isAnonymous),\n sender: {\n id: String(raw.authorId ?? \"\"),\n name: String(\n raw.sender && typeof raw.sender === \"object\"\n ? (raw.sender as Record<string, unknown>).name\n : (raw.authorId ?? \"Unknown\"),\n ),\n avatarUrl:\n raw.sender && typeof raw.sender === \"object\"\n ? ((raw.sender as Record<string, unknown>).avatarUrl as\n string | undefined)\n : undefined,\n },\n parentMessageId: raw.parentMessageId\n ? String(raw.parentMessageId)\n : undefined,\n threadRootId: raw.threadRootId ? String(raw.threadRootId) : undefined,\n threadLevel: Number(raw.threadLevel ?? 0),\n replyCount: Number(raw.replyCount ?? 0),\n isEdited: Boolean(raw.isEdited),\n editedAt: raw.editedAt ? String(raw.editedAt) : undefined,\n isPinned: Boolean(raw.isPinned),\n reactions,\n mentions,\n attachments,\n permissions: raw.permissions\n ? mapMessagePermissions(raw.permissions as Record<string, unknown>)\n : defaultMessagePermissions(),\n createdAt: String(raw.createdAt ?? new Date().toISOString()),\n updatedAt: String(raw.updatedAt ?? new Date().toISOString()),\n };\n}\n\n/**\n * Map a GraphQL Reaction response\n */\nfunction mapReaction(raw: Record<string, unknown>): Reaction {\n return {\n id: String(raw.id ?? \"\"),\n emoji: String(raw.emoji ?? \"\"),\n count: Number(raw.count ?? 1),\n users: Array.isArray(raw.users)\n ? (raw.users as Record<string, unknown>[]).map((u) => ({\n id: String(u.id ?? \"\"),\n name: String(u.name ?? \"\"),\n }))\n : [],\n currentUserReacted: Boolean(raw.currentUserReacted),\n };\n}\n\n/**\n * Map a GraphQL Mention response\n */\nfunction mapMention(raw: Record<string, unknown>): Mention {\n return {\n id: String(raw.id ?? \"\"),\n mentionedUser: raw.mentionedUser ? String(raw.mentionedUser) : undefined,\n mentionType: String(raw.mentionType ?? \"USER\") as Mention[\"mentionType\"],\n offset: Number(raw.offset ?? 0),\n length: Number(raw.length ?? 0),\n };\n}\n\n/**\n * Map a GraphQL Attachment response\n */\nfunction mapAttachment(raw: Record<string, unknown>): Attachment {\n return {\n id: String(raw.id ?? \"\"),\n fileId: String(raw.fileId ?? \"\"),\n fileName: String(raw.fileName ?? \"file\"),\n fileSize: Number(raw.fileSize ?? 0),\n mimeType: String(raw.mimeType ?? \"application/octet-stream\"),\n downloadUrl: raw.downloadUrl ? String(raw.downloadUrl) : undefined,\n width: raw.width ? Number(raw.width) : undefined,\n height: raw.height ? Number(raw.height) : undefined,\n duration: raw.duration ? Number(raw.duration) : undefined,\n thumbnail: raw.thumbnail ? String(raw.thumbnail) : undefined,\n };\n}\n\n// ============================================================================\n// HELPERS\n// ============================================================================\n\nfunction mapConversationFeatures(\n raw: Record<string, unknown>,\n): ConversationFeatures {\n return {\n threads: Boolean(raw.threads ?? true),\n reactions: Boolean(raw.reactions ?? true),\n mentions: Boolean(raw.mentions ?? true),\n calls: Boolean(raw.calls ?? true),\n apps: Boolean(raw.apps ?? true),\n polls: Boolean(raw.polls ?? true),\n anonymousMode: Boolean(raw.anonymousMode),\n screenShare: Boolean(raw.screenShare ?? true),\n recording: Boolean(raw.recording),\n };\n}\n\nfunction mapMessagePermissions(\n raw: Record<string, unknown>,\n): MessagePermissions {\n return {\n canEdit: Boolean(raw.canEdit),\n canDelete: Boolean(raw.canDelete),\n canReact: Boolean(raw.canReact ?? true),\n canReply: Boolean(raw.canReply ?? true),\n canPin: Boolean(raw.canPin),\n canHide: Boolean(raw.canHide),\n canReport: Boolean(raw.canReport ?? true),\n };\n}\n\nfunction defaultFeatures(): ConversationFeatures {\n return {\n threads: true,\n reactions: true,\n mentions: true,\n calls: true,\n apps: true,\n polls: true,\n anonymousMode: false,\n screenShare: true,\n recording: false,\n };\n}\n\nfunction defaultMessagePermissions(): MessagePermissions {\n return {\n canEdit: false,\n canDelete: false,\n canReact: true,\n canReply: true,\n canPin: false,\n canHide: false,\n canReport: true,\n };\n}\n\n/**\n * Extract text content from a JSON content field.\n * The GraphQL schema stores content as JSON — this handles\n * both string and structured rich-text formats.\n */\nfunction extractTextContent(content: unknown): string {\n if (typeof content === \"string\") return content;\n if (content && typeof content === \"object\") {\n const obj = content as Record<string, unknown>;\n if (typeof obj.text === \"string\") return obj.text;\n if (typeof obj.payload === \"string\") return obj.payload;\n }\n return \"\";\n}\n"],"mappings":";AAcA,SAAgB,EAAgB,GAA4C;CAC1E,IAAM,IACJ,EAAI,YAAY,OAAO,EAAI,YAAa,WACnC,EAAI,WACL,KAAA,GACA,IACJ,KACA,OAAO,EAAS,YAAa,YAC7B,EAAS,aAAa,QACtB,OAAQ,EAAS,SAAqC,iBACpD,YACD,EAAS,SAAqC,kBAAkB,OAC3D,EAAS,SAAqC,gBAIhD,KAAA;AAEN,QAAO;EACL,IAAI,OAAO,EAAI,MAAM,GAAG;EACxB,OAAO,OAAO,EAAI,SAAS,WAAW;EACtC,aAAa,EAAI,cAAc,OAAO,EAAI,YAAY,GAAG,KAAA;EACzD,QAAQ,EAAI,SAAS,OAAO,EAAI,OAAO,GAAG,KAAA;EAC1C;EACA,eAAe,IACX;GACE,SAAS,EAAc,UACnB,OAAO,EAAc,QAAQ,GAC7B,KAAA;GACJ,UAAU,OAAO,EAAc,YAAY,GAAG;GAC9C,aAAa,OAAO,EAAc,eAAe,GAAG;GACpD,cAAc,EAAc,eACxB,OAAO,EAAc,aAAa,GAClC,KAAA;GACJ,YAAY,EAAc,aACtB,OAAO,EAAc,WAAW,GAChC,KAAA;GACJ,UAAU,EAAc,WACpB,OAAO,EAAc,SAAS,GAC9B,KAAA;GACJ,WAAW,EAAc,YACrB,OAAO,EAAc,UAAU,GAC/B,KAAA;GACL,GACD,KAAA;EACJ,MAAM,OAAO,EAAI,QAAQ,SAAS;EAClC,OAA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AAGH,SAAS,IAAwC;AAC/C,QAAO;EACL,SAAS;EACT,WAAW;EACX,UAAU;EACV,OAAO;EACP,MAAM;EACN,OAAO;EACP,eAAe;EACf,aAAa;EACb,WAAW;EACZ;;AAGH,SAAS,IAAgD;AACvD,QAAO;EACL,SAAS;EACT,WAAW;EACX,UAAU;EACV,UAAU;EACV,QAAQ;EACR,SAAS;EACT,WAAW;EACZ;;AAQH,SAAS,EAAmB,GAA0B;AACpD,KAAI,OAAO,KAAY,SAAU,QAAO;AACxC,KAAI,KAAW,OAAO,KAAY,UAAU;EAC1C,IAAM,IAAM;AACZ,MAAI,OAAO,EAAI,QAAS,SAAU,QAAO,EAAI;AAC7C,MAAI,OAAO,EAAI,WAAY,SAAU,QAAO,EAAI;;AAElD,QAAO"}
|
|
1
|
+
{"version":3,"file":"mappers.js","names":[],"sources":["../../../src/conversations/utils/mappers.ts"],"sourcesContent":["import type {\n Conversation,\n Message,\n Reaction,\n Attachment,\n Mention,\n MessagePermissions,\n ConversationFeatures,\n} from \"../types\";\n\n/**\n * Map a GraphQL Conversation response to the frontend Conversation type.\n * Gracefully handles undefined/null fields from partial queries.\n */\nexport function mapConversation(raw: Record<string, unknown>): Conversation {\n const settings =\n raw.settings && typeof raw.settings === \"object\"\n ? (raw.settings as Record<string, unknown>)\n : undefined;\n const sourceContext =\n settings &&\n typeof settings.metadata === \"object\" &&\n settings.metadata !== null &&\n typeof (settings.metadata as Record<string, unknown>).sourceContext ===\n \"object\" &&\n (settings.metadata as Record<string, unknown>).sourceContext !== null\n ? ((settings.metadata as Record<string, unknown>).sourceContext as Record<\n string,\n unknown\n >)\n : undefined;\n\n return {\n id: String(raw.id ?? \"\"),\n title: String(raw.title ?? \"Untitled\"),\n description: raw.description ? String(raw.description) : undefined,\n avatar: raw.avatar ? String(raw.avatar) : undefined,\n settings,\n sourceContext: sourceContext\n ? {\n product: sourceContext.product\n ? String(sourceContext.product)\n : undefined,\n pagePath: String(sourceContext.pagePath ?? \"\"),\n contextHref: String(sourceContext.contextHref ?? \"\"),\n contextTitle: sourceContext.contextTitle\n ? String(sourceContext.contextTitle)\n : undefined,\n entityType: sourceContext.entityType\n ? String(sourceContext.entityType)\n : undefined,\n entityId: sourceContext.entityId\n ? String(sourceContext.entityId)\n : undefined,\n activeTab: sourceContext.activeTab\n ? String(sourceContext.activeTab)\n : undefined,\n }\n : undefined,\n type: String(raw.type ?? \"DIRECT\") as Conversation[\"type\"],\n state: String(raw.state ?? \"ACTIVE\") as Conversation[\"state\"],\n visibility: String(\n raw.visibility ?? \"PRIVATE\",\n ) as Conversation[\"visibility\"],\n isGroup: Boolean(raw.isGroup) || String(raw.type ?? \"DIRECT\") !== \"DIRECT\",\n memberCount: Number(raw.memberCount ?? 0),\n unreadCount: Number(raw.unreadCount ?? 0),\n mentionCount: Number(raw.mentionCount ?? 0),\n lastMessage: raw.lastMessage\n ? mapMessage(raw.lastMessage as Record<string, unknown>)\n : undefined,\n isPinned: Boolean(\n raw.currentUserMembership\n ? (raw.currentUserMembership as Record<string, unknown>).isPinned\n : false,\n ),\n isMuted: Boolean(\n raw.currentUserMembership\n ? (raw.currentUserMembership as Record<string, unknown>).isMuted\n : false,\n ),\n features: raw.features\n ? mapConversationFeatures(raw.features as Record<string, unknown>)\n : defaultFeatures(),\n createdBy: {\n id: String(\n raw.createdBy && typeof raw.createdBy === \"object\"\n ? (raw.createdBy as Record<string, unknown>).id\n : (raw.createdBy ?? \"\"),\n ),\n name: String(\n raw.createdBy && typeof raw.createdBy === \"object\"\n ? (raw.createdBy as Record<string, unknown>).name\n : \"\",\n ),\n },\n createdAt: String(raw.createdAt ?? new Date().toISOString()),\n updatedAt: String(raw.updatedAt ?? new Date().toISOString()),\n };\n}\n\n/**\n * Map a GraphQL Message response to the frontend Message type.\n */\nexport function mapMessage(raw: Record<string, unknown>): Message {\n const reactions = Array.isArray(raw.reactions)\n ? (raw.reactions as Record<string, unknown>[]).map(mapReaction)\n : [];\n\n const mentions = Array.isArray(raw.mentions)\n ? (raw.mentions as Record<string, unknown>[]).map(mapMention)\n : [];\n\n const attachments = Array.isArray(raw.attachments)\n ? (raw.attachments as Record<string, unknown>[]).map(mapAttachment)\n : [];\n\n return {\n id: String(raw.id ?? \"\"),\n conversationId: String(raw.conversationId ?? \"\"),\n type: String(raw.type ?? \"TEXT\") as Message[\"type\"],\n status: String(raw.status ?? \"SENT\") as Message[\"status\"],\n content: extractTextContent(raw.content),\n authorId: String(raw.authorId ?? \"\"),\n authorType: String(raw.authorType ?? \"user\"),\n isAnonymous: Boolean(raw.isAnonymous),\n sender: {\n id: String(raw.authorId ?? \"\"),\n name: resolveSenderName(raw),\n avatarUrl:\n raw.sender && typeof raw.sender === \"object\"\n ? ((raw.sender as Record<string, unknown>).avatarUrl as\n | string\n | undefined)\n : undefined,\n },\n parentMessageId: raw.parentMessageId\n ? String(raw.parentMessageId)\n : undefined,\n threadRootId: raw.threadRootId ? String(raw.threadRootId) : undefined,\n threadLevel: Number(raw.threadLevel ?? 0),\n replyCount: Number(raw.replyCount ?? 0),\n isEdited: Boolean(raw.isEdited),\n editedAt: raw.editedAt ? String(raw.editedAt) : undefined,\n isPinned: Boolean(raw.isPinned),\n reactions,\n mentions,\n attachments,\n permissions: raw.permissions\n ? mapMessagePermissions(raw.permissions as Record<string, unknown>)\n : defaultMessagePermissions(),\n createdAt: String(raw.createdAt ?? new Date().toISOString()),\n updatedAt: String(raw.updatedAt ?? new Date().toISOString()),\n };\n}\n\n/**\n * Map a GraphQL Reaction response\n */\nfunction mapReaction(raw: Record<string, unknown>): Reaction {\n return {\n id: String(raw.id ?? \"\"),\n emoji: String(raw.emoji ?? \"\"),\n count: Number(raw.count ?? 1),\n users: Array.isArray(raw.users)\n ? (raw.users as Record<string, unknown>[]).map((u) => ({\n id: String(u.id ?? \"\"),\n name: String(u.name ?? \"\"),\n }))\n : [],\n currentUserReacted: Boolean(raw.currentUserReacted),\n };\n}\n\n/**\n * Map a GraphQL Mention response\n */\nfunction mapMention(raw: Record<string, unknown>): Mention {\n return {\n id: String(raw.id ?? \"\"),\n mentionedUser: raw.mentionedUser ? String(raw.mentionedUser) : undefined,\n mentionType: String(raw.mentionType ?? \"USER\") as Mention[\"mentionType\"],\n offset: Number(raw.offset ?? 0),\n length: Number(raw.length ?? 0),\n };\n}\n\n/**\n * Map a GraphQL Attachment response\n */\nfunction mapAttachment(raw: Record<string, unknown>): Attachment {\n return {\n id: String(raw.id ?? \"\"),\n fileId: String(raw.fileId ?? \"\"),\n fileName: String(raw.fileName ?? \"file\"),\n fileSize: Number(raw.fileSize ?? 0),\n mimeType: String(raw.mimeType ?? \"application/octet-stream\"),\n downloadUrl: raw.downloadUrl ? String(raw.downloadUrl) : undefined,\n width: raw.width ? Number(raw.width) : undefined,\n height: raw.height ? Number(raw.height) : undefined,\n duration: raw.duration ? Number(raw.duration) : undefined,\n thumbnail: raw.thumbnail ? String(raw.thumbnail) : undefined,\n };\n}\n\n// ============================================================================\n// HELPERS\n// ============================================================================\n\n/**\n * Resolve the sender display name for a message.\n *\n * Prefers the server-resolved `authorName` (batch-resolved against the\n * workspace member directory, with a neutral-label fallback), then a nested\n * `sender.name` object when a query happens to provide one. Never falls back\n * to `authorId` — rendering the internal UUID as a name is the bug this\n * ordering prevents (BOFF-7852).\n */\nfunction resolveSenderName(raw: Record<string, unknown>): string {\n if (typeof raw.authorName === \"string\" && raw.authorName.trim()) {\n return raw.authorName;\n }\n if (raw.sender && typeof raw.sender === \"object\") {\n const name = (raw.sender as Record<string, unknown>).name;\n if (typeof name === \"string\" && name.trim()) return name;\n }\n return \"Unknown\";\n}\n\nfunction mapConversationFeatures(\n raw: Record<string, unknown>,\n): ConversationFeatures {\n return {\n threads: Boolean(raw.threads ?? true),\n reactions: Boolean(raw.reactions ?? true),\n mentions: Boolean(raw.mentions ?? true),\n calls: Boolean(raw.calls ?? true),\n apps: Boolean(raw.apps ?? true),\n polls: Boolean(raw.polls ?? true),\n anonymousMode: Boolean(raw.anonymousMode),\n screenShare: Boolean(raw.screenShare ?? true),\n recording: Boolean(raw.recording),\n };\n}\n\nfunction mapMessagePermissions(\n raw: Record<string, unknown>,\n): MessagePermissions {\n return {\n canEdit: Boolean(raw.canEdit),\n canDelete: Boolean(raw.canDelete),\n canReact: Boolean(raw.canReact ?? true),\n canReply: Boolean(raw.canReply ?? true),\n canPin: Boolean(raw.canPin),\n canHide: Boolean(raw.canHide),\n canReport: Boolean(raw.canReport ?? true),\n };\n}\n\nfunction defaultFeatures(): ConversationFeatures {\n return {\n threads: true,\n reactions: true,\n mentions: true,\n calls: true,\n apps: true,\n polls: true,\n anonymousMode: false,\n screenShare: true,\n recording: false,\n };\n}\n\nfunction defaultMessagePermissions(): MessagePermissions {\n return {\n canEdit: false,\n canDelete: false,\n canReact: true,\n canReply: true,\n canPin: false,\n canHide: false,\n canReport: true,\n };\n}\n\n/**\n * Extract text content from a JSON content field.\n * The GraphQL schema stores content as JSON — this handles\n * both string and structured rich-text formats.\n */\nfunction extractTextContent(content: unknown): string {\n if (typeof content === \"string\") return content;\n if (content && typeof content === \"object\") {\n const obj = content as Record<string, unknown>;\n if (typeof obj.text === \"string\") return obj.text;\n if (typeof obj.payload === \"string\") return obj.payload;\n }\n return \"\";\n}\n"],"mappings":";AAcA,SAAgB,EAAgB,GAA4C;CAC1E,IAAM,IACJ,EAAI,YAAY,OAAO,EAAI,YAAa,WACnC,EAAI,WACL,KAAA,GACA,IACJ,KACA,OAAO,EAAS,YAAa,YAC7B,EAAS,aAAa,QACtB,OAAQ,EAAS,SAAqC,iBACpD,YACD,EAAS,SAAqC,kBAAkB,OAC3D,EAAS,SAAqC,gBAIhD,KAAA;AAEN,QAAO;EACL,IAAI,OAAO,EAAI,MAAM,GAAG;EACxB,OAAO,OAAO,EAAI,SAAS,WAAW;EACtC,aAAa,EAAI,cAAc,OAAO,EAAI,YAAY,GAAG,KAAA;EACzD,QAAQ,EAAI,SAAS,OAAO,EAAI,OAAO,GAAG,KAAA;EAC1C;EACA,eAAe,IACX;GACE,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ootId
|
|
@@ -514,6 +515,7 @@ var L = e`
|
|
|
514
515
|
content
|
|
515
516
|
authorId
|
|
516
517
|
authorType
|
|
518
|
+
authorName
|
|
517
519
|
createdAt
|
|
518
520
|
}
|
|
519
521
|
currentUserMembership {
|
|
@@ -576,6 +578,7 @@ var z = e`
|
|
|
576
578
|
content
|
|
577
579
|
authorId
|
|
578
580
|
authorType
|
|
581
|
+
authorName
|
|
579
582
|
isAnonymous
|
|
580
583
|
parentMessageId
|
|
581
584
|
threadRootId
|
|
@@ -667,6 +670,7 @@ e`
|
|
|
667
670
|
content
|
|
668
671
|
authorId
|
|
669
672
|
authorType
|
|
673
|
+
authorName
|
|
670
674
|
isAnonymous
|
|
671
675
|
parentMessageId
|
|
672
676
|
threadRootId
|
|
@@ -769,6 +773,7 @@ var U = e`
|
|
|
769
773
|
content
|
|
770
774
|
authorId
|
|
771
775
|
authorType
|
|
776
|
+
authorName
|
|
772
777
|
createdAt
|
|
773
778
|
}
|
|
774
779
|
currentUserMembership {
|
|
@@ -814,6 +819,7 @@ e`
|
|
|
814
819
|
content
|
|
815
820
|
authorId
|
|
816
821
|
authorType
|
|
822
|
+
authorName
|
|
817
823
|
isAnonymous
|
|
818
824
|
parentMessageId
|
|
819
825
|
threadRootId
|
|
@@ -931,6 +937,7 @@ var G = e`
|
|
|
931
937
|
content
|
|
932
938
|
authorId
|
|
933
939
|
authorType
|
|
940
|
+
authorName
|
|
934
941
|
isAnonymous
|
|
935
942
|
parentMessageId
|
|
936
943
|
threadRootId
|
|
@@ -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,Y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,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;;;;;;;;;AA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