@burdenoff/microfe-conversations 2026.525.2 → 2026.525.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/__tests__/setup.d.ts +0 -2
- package/dist/__tests__/setup.d.ts.map +0 -1
- package/dist/conversations/ConversationsAdminRoot.d.ts +0 -19
- package/dist/conversations/ConversationsAdminRoot.d.ts.map +0 -1
- package/dist/conversations/ConversationsAdminRoutes.d.ts +0 -18
- package/dist/conversations/ConversationsAdminRoutes.d.ts.map +0 -1
- package/dist/conversations/ConversationsRoot.d.ts +0 -33
- package/dist/conversations/ConversationsRoot.d.ts.map +0 -1
- package/dist/conversations/ConversationsUserRoot.d.ts +0 -17
- package/dist/conversations/ConversationsUserRoot.d.ts.map +0 -1
- package/dist/conversations/ConversationsUserRoutes.d.ts +0 -12
- package/dist/conversations/ConversationsUserRoutes.d.ts.map +0 -1
- package/dist/conversations/components/ConversationCard.d.ts +0 -14
- package/dist/conversations/components/ConversationCard.d.ts.map +0 -1
- package/dist/conversations/components/LazyPageBoundary.d.ts +0 -25
- package/dist/conversations/components/LazyPageBoundary.d.ts.map +0 -1
- package/dist/conversations/components/MessageBubble.d.ts +0 -21
- package/dist/conversations/components/MessageBubble.d.ts.map +0 -1
- package/dist/conversations/components/PageLayout.d.ts +0 -57
- package/dist/conversations/components/PageLayout.d.ts.map +0 -1
- package/dist/conversations/components/PermissionGuard.d.ts +0 -21
- package/dist/conversations/components/PermissionGuard.d.ts.map +0 -1
- package/dist/conversations/constants/featureFlags.d.ts +0 -8
- package/dist/conversations/constants/featureFlags.d.ts.map +0 -1
- package/dist/conversations/constants/permissions.d.ts +0 -174
- package/dist/conversations/constants/permissions.d.ts.map +0 -1
- package/dist/conversations/hooks/useAdminFeatureFlags.d.ts +0 -8
- package/dist/conversations/hooks/useAdminFeatureFlags.d.ts.map +0 -1
- package/dist/conversations/hooks/useConversationQueries.d.ts +0 -83
- package/dist/conversations/hooks/useConversationQueries.d.ts.map +0 -1
- package/dist/conversations/hooks/useExportConversation.d.ts +0 -10
- package/dist/conversations/hooks/useExportConversation.d.ts.map +0 -1
- package/dist/conversations/hooks/useMessageQueries.d.ts +0 -85
- package/dist/conversations/hooks/useMessageQueries.d.ts.map +0 -1
- package/dist/conversations/hooks/useMessageSubscriptions.d.ts +0 -24
- package/dist/conversations/hooks/useMessageSubscriptions.d.ts.map +0 -1
- package/dist/conversations/hooks/useUserFeatureFlags.d.ts +0 -5
- package/dist/conversations/hooks/useUserFeatureFlags.d.ts.map +0 -1
- package/dist/conversations/index.d.ts +0 -31
- package/dist/conversations/index.d.ts.map +0 -1
- package/dist/conversations/pages/AdminConversationsLandingPage.d.ts +0 -9
- package/dist/conversations/pages/AdminConversationsLandingPage.d.ts.map +0 -1
- package/dist/conversations/pages/ConversationAdminPages.d.ts +0 -5
- package/dist/conversations/pages/ConversationAdminPages.d.ts.map +0 -1
- package/dist/conversations/pages/ConversationDetailPage.d.ts +0 -2
- package/dist/conversations/pages/ConversationDetailPage.d.ts.map +0 -1
- package/dist/conversations/pages/ConversationListPage.d.ts +0 -5
- package/dist/conversations/pages/ConversationListPage.d.ts.map +0 -1
- package/dist/conversations/pages/ConversationsLandingPage.d.ts +0 -9
- package/dist/conversations/pages/ConversationsLandingPage.d.ts.map +0 -1
- package/dist/conversations/pages/ConversationsSettingsPage.d.ts +0 -2
- package/dist/conversations/pages/ConversationsSettingsPage.d.ts.map +0 -1
- package/dist/conversations/pages/NewConversationPage.d.ts +0 -2
- package/dist/conversations/pages/NewConversationPage.d.ts.map +0 -1
- package/dist/conversations/providers/ConversationsProvider.d.ts +0 -13
- package/dist/conversations/providers/ConversationsProvider.d.ts.map +0 -1
- package/dist/conversations/store/conversationsStore.d.ts +0 -29
- package/dist/conversations/store/conversationsStore.d.ts.map +0 -1
- package/dist/conversations/types/index.d.ts +0 -352
- package/dist/conversations/types/index.d.ts.map +0 -1
- package/dist/conversations/utils/cn.d.ts +0 -8
- package/dist/conversations/utils/cn.d.ts.map +0 -1
- package/dist/conversations/utils/i18n.d.ts +0 -15
- package/dist/conversations/utils/i18n.d.ts.map +0 -1
- package/dist/conversations/utils/mappers.d.ts +0 -32
- package/dist/conversations/utils/mappers.d.ts.map +0 -1
- package/dist/conversations/utils/navigation.d.ts +0 -18
- package/dist/conversations/utils/navigation.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -2008
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,2008 +0,0 @@
|
|
|
1
|
-
import * as Types from './wspace-types';
|
|
2
|
-
import * as Apollo from '@apollo/client';
|
|
3
|
-
import * as ApolloReactHooks from '@apollo/client/react';
|
|
4
|
-
export type CreateConversationMutationVariables = Types.Exact<{
|
|
5
|
-
input: Types.CreateConversationInput;
|
|
6
|
-
}>;
|
|
7
|
-
export type CreateConversationMutation = {
|
|
8
|
-
__typename?: 'Mutation';
|
|
9
|
-
createConversation: {
|
|
10
|
-
__typename?: 'CreateConversationPayload';
|
|
11
|
-
success: boolean;
|
|
12
|
-
conversation?: {
|
|
13
|
-
__typename?: 'Conversation';
|
|
14
|
-
id: string;
|
|
15
|
-
workspaceId: string;
|
|
16
|
-
type: Types.ConversationType;
|
|
17
|
-
title?: string | null;
|
|
18
|
-
description?: string | null;
|
|
19
|
-
avatar?: string | null;
|
|
20
|
-
state: Types.ConversationState;
|
|
21
|
-
visibility: Types.ConversationVisibility;
|
|
22
|
-
isGroup: boolean;
|
|
23
|
-
createdBy: string;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
memberCount: number;
|
|
27
|
-
currentUserMembership?: {
|
|
28
|
-
__typename?: 'ConversationMembership';
|
|
29
|
-
id: string;
|
|
30
|
-
role: Types.ParticipantRole;
|
|
31
|
-
status: Types.MembershipStatus;
|
|
32
|
-
joinedAt: string;
|
|
33
|
-
} | null;
|
|
34
|
-
features: {
|
|
35
|
-
__typename?: 'ConversationFeatures';
|
|
36
|
-
threads: boolean;
|
|
37
|
-
reactions: boolean;
|
|
38
|
-
mentions: boolean;
|
|
39
|
-
calls: boolean;
|
|
40
|
-
apps: boolean;
|
|
41
|
-
polls: boolean;
|
|
42
|
-
};
|
|
43
|
-
} | null;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export type UpdateConversationMutationVariables = Types.Exact<{
|
|
47
|
-
input: Types.UpdateConversationInput;
|
|
48
|
-
}>;
|
|
49
|
-
export type UpdateConversationMutation = {
|
|
50
|
-
__typename?: 'Mutation';
|
|
51
|
-
updateConversation: {
|
|
52
|
-
__typename?: 'UpdateConversationPayload';
|
|
53
|
-
success: boolean;
|
|
54
|
-
conversation?: {
|
|
55
|
-
__typename?: 'Conversation';
|
|
56
|
-
id: string;
|
|
57
|
-
title?: string | null;
|
|
58
|
-
description?: string | null;
|
|
59
|
-
avatar?: string | null;
|
|
60
|
-
settings?: Record<string, unknown> | null;
|
|
61
|
-
updatedAt: string;
|
|
62
|
-
} | null;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export type ArchiveConversationMutationVariables = Types.Exact<{
|
|
66
|
-
id: Types.Scalars['ID']['input'];
|
|
67
|
-
}>;
|
|
68
|
-
export type ArchiveConversationMutation = {
|
|
69
|
-
__typename?: 'Mutation';
|
|
70
|
-
archiveConversation: {
|
|
71
|
-
__typename?: 'Conversation';
|
|
72
|
-
id: string;
|
|
73
|
-
state: Types.ConversationState;
|
|
74
|
-
updatedAt: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
export type DeleteConversationMutationVariables = Types.Exact<{
|
|
78
|
-
id: Types.Scalars['ID']['input'];
|
|
79
|
-
}>;
|
|
80
|
-
export type DeleteConversationMutation = {
|
|
81
|
-
__typename?: 'Mutation';
|
|
82
|
-
deleteConversation: {
|
|
83
|
-
__typename?: 'DeleteConversationPayload';
|
|
84
|
-
conversationId: string;
|
|
85
|
-
success: boolean;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export type AddParticipantMutationVariables = Types.Exact<{
|
|
89
|
-
input: Types.AddParticipantInput;
|
|
90
|
-
}>;
|
|
91
|
-
export type AddParticipantMutation = {
|
|
92
|
-
__typename?: 'Mutation';
|
|
93
|
-
addParticipant: {
|
|
94
|
-
__typename?: 'ConversationMembership';
|
|
95
|
-
id: string;
|
|
96
|
-
conversationId: string;
|
|
97
|
-
userId: string;
|
|
98
|
-
workspaceId: string;
|
|
99
|
-
role: Types.ParticipantRole;
|
|
100
|
-
status: Types.MembershipStatus;
|
|
101
|
-
notificationLevel: Types.NotificationLevel;
|
|
102
|
-
isMuted: boolean;
|
|
103
|
-
canSendMessages: boolean;
|
|
104
|
-
canAddMembers: boolean;
|
|
105
|
-
canRemoveMembers: boolean;
|
|
106
|
-
joinedAt: string;
|
|
107
|
-
invitedBy?: string | null;
|
|
108
|
-
createdAt: string;
|
|
109
|
-
updatedAt: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
export type RemoveParticipantMutationVariables = Types.Exact<{
|
|
113
|
-
input: Types.RemoveParticipantInput;
|
|
114
|
-
}>;
|
|
115
|
-
export type RemoveParticipantMutation = {
|
|
116
|
-
__typename?: 'Mutation';
|
|
117
|
-
removeParticipant: {
|
|
118
|
-
__typename?: 'RemoveParticipantPayload';
|
|
119
|
-
conversationId: string;
|
|
120
|
-
userId: string;
|
|
121
|
-
success: boolean;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
export type LeaveConversationMutationVariables = Types.Exact<{
|
|
125
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
126
|
-
}>;
|
|
127
|
-
export type LeaveConversationMutation = {
|
|
128
|
-
__typename?: 'Mutation';
|
|
129
|
-
leaveConversation: {
|
|
130
|
-
__typename?: 'LeaveConversationPayload';
|
|
131
|
-
conversationId: string;
|
|
132
|
-
success: boolean;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
export type UpdateParticipantRoleMutationVariables = Types.Exact<{
|
|
136
|
-
input: Types.UpdateParticipantRoleInput;
|
|
137
|
-
}>;
|
|
138
|
-
export type UpdateParticipantRoleMutation = {
|
|
139
|
-
__typename?: 'Mutation';
|
|
140
|
-
updateParticipantRole: {
|
|
141
|
-
__typename?: 'ConversationMembership';
|
|
142
|
-
id: string;
|
|
143
|
-
conversationId: string;
|
|
144
|
-
userId: string;
|
|
145
|
-
role: Types.ParticipantRole;
|
|
146
|
-
status: Types.MembershipStatus;
|
|
147
|
-
canSendMessages: boolean;
|
|
148
|
-
canAddMembers: boolean;
|
|
149
|
-
canRemoveMembers: boolean;
|
|
150
|
-
updatedAt: string;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
export type SendMessageMutationVariables = Types.Exact<{
|
|
154
|
-
input: Types.SendMessageInput;
|
|
155
|
-
}>;
|
|
156
|
-
export type SendMessageMutation = {
|
|
157
|
-
__typename?: 'Mutation';
|
|
158
|
-
sendMessage: {
|
|
159
|
-
__typename?: 'SendMessagePayload';
|
|
160
|
-
success: boolean;
|
|
161
|
-
message?: {
|
|
162
|
-
__typename?: 'Message';
|
|
163
|
-
id: string;
|
|
164
|
-
conversationId: string;
|
|
165
|
-
workspaceId: string;
|
|
166
|
-
type: Types.MessageType;
|
|
167
|
-
status: Types.MessageStatus;
|
|
168
|
-
content: Record<string, unknown>;
|
|
169
|
-
authorId: string;
|
|
170
|
-
authorType: string;
|
|
171
|
-
isAnonymous: boolean;
|
|
172
|
-
parentMessageId?: string | null;
|
|
173
|
-
threadRootId?: string | null;
|
|
174
|
-
threadLevel: number;
|
|
175
|
-
isPinned: boolean;
|
|
176
|
-
createdAt: string;
|
|
177
|
-
updatedAt: string;
|
|
178
|
-
replyCount: number;
|
|
179
|
-
reactions: Array<{
|
|
180
|
-
__typename?: 'Reaction';
|
|
181
|
-
id: string;
|
|
182
|
-
emoji: string;
|
|
183
|
-
userId: string;
|
|
184
|
-
createdAt: string;
|
|
185
|
-
}>;
|
|
186
|
-
mentions: Array<{
|
|
187
|
-
__typename?: 'Mention';
|
|
188
|
-
id: string;
|
|
189
|
-
mentionedUser?: string | null;
|
|
190
|
-
mentionType: Types.MentionType;
|
|
191
|
-
offset: number;
|
|
192
|
-
length: number;
|
|
193
|
-
}>;
|
|
194
|
-
attachments: Array<{
|
|
195
|
-
__typename?: 'Attachment';
|
|
196
|
-
id: string;
|
|
197
|
-
fileId: string;
|
|
198
|
-
fileName: string;
|
|
199
|
-
fileSize: number;
|
|
200
|
-
mimeType: string;
|
|
201
|
-
thumbnail?: string | null;
|
|
202
|
-
}>;
|
|
203
|
-
permissions: {
|
|
204
|
-
__typename?: 'MessagePermissions';
|
|
205
|
-
canEdit: boolean;
|
|
206
|
-
canDelete: boolean;
|
|
207
|
-
canReact: boolean;
|
|
208
|
-
canReply: boolean;
|
|
209
|
-
canPin: boolean;
|
|
210
|
-
};
|
|
211
|
-
} | null;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
export type EditMessageMutationVariables = Types.Exact<{
|
|
215
|
-
input: Types.EditMessageInput;
|
|
216
|
-
}>;
|
|
217
|
-
export type EditMessageMutation = {
|
|
218
|
-
__typename?: 'Mutation';
|
|
219
|
-
editMessage: {
|
|
220
|
-
__typename?: 'Message';
|
|
221
|
-
id: string;
|
|
222
|
-
content: Record<string, unknown>;
|
|
223
|
-
isEdited: boolean;
|
|
224
|
-
editedAt?: string | null;
|
|
225
|
-
updatedAt: string;
|
|
226
|
-
editHistory: Array<{
|
|
227
|
-
__typename?: 'MessageEdit';
|
|
228
|
-
id: string;
|
|
229
|
-
previousContent: Record<string, unknown>;
|
|
230
|
-
editedBy: string;
|
|
231
|
-
editedAt: string;
|
|
232
|
-
reason?: string | null;
|
|
233
|
-
}>;
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
export type DeleteMessageMutationVariables = Types.Exact<{
|
|
237
|
-
id: Types.Scalars['ID']['input'];
|
|
238
|
-
hard?: Types.InputMaybe<Types.Scalars['Boolean']['input']>;
|
|
239
|
-
}>;
|
|
240
|
-
export type DeleteMessageMutation = {
|
|
241
|
-
__typename?: 'Mutation';
|
|
242
|
-
deleteMessage: {
|
|
243
|
-
__typename?: 'DeleteMessagePayload';
|
|
244
|
-
messageId: string;
|
|
245
|
-
success: boolean;
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
export type AddReactionMutationVariables = Types.Exact<{
|
|
249
|
-
messageId: Types.Scalars['ID']['input'];
|
|
250
|
-
emoji: Types.Scalars['String']['input'];
|
|
251
|
-
}>;
|
|
252
|
-
export type AddReactionMutation = {
|
|
253
|
-
__typename?: 'Mutation';
|
|
254
|
-
addReaction: {
|
|
255
|
-
__typename?: 'Reaction';
|
|
256
|
-
id: string;
|
|
257
|
-
messageId: string;
|
|
258
|
-
userId: string;
|
|
259
|
-
emoji: string;
|
|
260
|
-
createdAt: string;
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
export type RemoveReactionMutationVariables = Types.Exact<{
|
|
264
|
-
messageId: Types.Scalars['ID']['input'];
|
|
265
|
-
emoji: Types.Scalars['String']['input'];
|
|
266
|
-
}>;
|
|
267
|
-
export type RemoveReactionMutation = {
|
|
268
|
-
__typename?: 'Mutation';
|
|
269
|
-
removeReaction: {
|
|
270
|
-
__typename?: 'RemoveReactionPayload';
|
|
271
|
-
messageId: string;
|
|
272
|
-
emoji: string;
|
|
273
|
-
success: boolean;
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
export type MuteConversationMutationVariables = Types.Exact<{
|
|
277
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
278
|
-
}>;
|
|
279
|
-
export type MuteConversationMutation = {
|
|
280
|
-
__typename?: 'Mutation';
|
|
281
|
-
muteConversation: {
|
|
282
|
-
__typename?: 'ConversationMembership';
|
|
283
|
-
id: string;
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
export type PinConversationMutationVariables = Types.Exact<{
|
|
287
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
288
|
-
}>;
|
|
289
|
-
export type PinConversationMutation = {
|
|
290
|
-
__typename?: 'Mutation';
|
|
291
|
-
pinConversation: {
|
|
292
|
-
__typename?: 'ConversationMembership';
|
|
293
|
-
id: string;
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
export type PinMessageByHookMutationVariables = Types.Exact<{
|
|
297
|
-
messageId: Types.Scalars['ID']['input'];
|
|
298
|
-
}>;
|
|
299
|
-
export type PinMessageByHookMutation = {
|
|
300
|
-
__typename?: 'Mutation';
|
|
301
|
-
pinMessage: {
|
|
302
|
-
__typename?: 'Message';
|
|
303
|
-
id: string;
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
export type UnmuteConversationMutationVariables = Types.Exact<{
|
|
307
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
308
|
-
}>;
|
|
309
|
-
export type UnmuteConversationMutation = {
|
|
310
|
-
__typename?: 'Mutation';
|
|
311
|
-
unmuteConversation: {
|
|
312
|
-
__typename?: 'ConversationMembership';
|
|
313
|
-
id: string;
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
export type UnpinConversationMutationVariables = Types.Exact<{
|
|
317
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
318
|
-
}>;
|
|
319
|
-
export type UnpinConversationMutation = {
|
|
320
|
-
__typename?: 'Mutation';
|
|
321
|
-
unpinConversation: {
|
|
322
|
-
__typename?: 'ConversationMembership';
|
|
323
|
-
id: string;
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
export type UnpinMessageByHookMutationVariables = Types.Exact<{
|
|
327
|
-
messageId: Types.Scalars['ID']['input'];
|
|
328
|
-
}>;
|
|
329
|
-
export type UnpinMessageByHookMutation = {
|
|
330
|
-
__typename?: 'Mutation';
|
|
331
|
-
unpinMessage: {
|
|
332
|
-
__typename?: 'Message';
|
|
333
|
-
id: string;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
export type UpdateConversationByHookMutationVariables = Types.Exact<{
|
|
337
|
-
input: Types.UpdateConversationInput;
|
|
338
|
-
}>;
|
|
339
|
-
export type UpdateConversationByHookMutation = {
|
|
340
|
-
__typename?: 'Mutation';
|
|
341
|
-
updateConversation: {
|
|
342
|
-
__typename?: 'UpdateConversationPayload';
|
|
343
|
-
success: boolean;
|
|
344
|
-
conversation?: {
|
|
345
|
-
__typename?: 'Conversation';
|
|
346
|
-
id: string;
|
|
347
|
-
title?: string | null;
|
|
348
|
-
description?: string | null;
|
|
349
|
-
avatar?: string | null;
|
|
350
|
-
state: Types.ConversationState;
|
|
351
|
-
visibility: Types.ConversationVisibility;
|
|
352
|
-
isGroup: boolean;
|
|
353
|
-
createdBy: string;
|
|
354
|
-
createdAt: string;
|
|
355
|
-
updatedAt: string;
|
|
356
|
-
memberCount: number;
|
|
357
|
-
unreadCount: number;
|
|
358
|
-
mentionCount: number;
|
|
359
|
-
features: {
|
|
360
|
-
__typename?: 'ConversationFeatures';
|
|
361
|
-
threads: boolean;
|
|
362
|
-
reactions: boolean;
|
|
363
|
-
mentions: boolean;
|
|
364
|
-
calls: boolean;
|
|
365
|
-
apps: boolean;
|
|
366
|
-
polls: boolean;
|
|
367
|
-
anonymousMode: boolean;
|
|
368
|
-
screenShare: boolean;
|
|
369
|
-
recording: boolean;
|
|
370
|
-
};
|
|
371
|
-
} | null;
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
export type GetConversationQueryVariables = Types.Exact<{
|
|
375
|
-
id: Types.Scalars['ID']['input'];
|
|
376
|
-
}>;
|
|
377
|
-
export type GetConversationQuery = {
|
|
378
|
-
__typename?: 'Query';
|
|
379
|
-
conversation?: {
|
|
380
|
-
__typename?: 'Conversation';
|
|
381
|
-
id: string;
|
|
382
|
-
workspaceId: string;
|
|
383
|
-
type: Types.ConversationType;
|
|
384
|
-
title?: string | null;
|
|
385
|
-
description?: string | null;
|
|
386
|
-
avatar?: string | null;
|
|
387
|
-
state: Types.ConversationState;
|
|
388
|
-
visibility: Types.ConversationVisibility;
|
|
389
|
-
isGroup: boolean;
|
|
390
|
-
settings?: Record<string, unknown> | null;
|
|
391
|
-
createdBy: string;
|
|
392
|
-
createdAt: string;
|
|
393
|
-
updatedAt: string;
|
|
394
|
-
memberCount: number;
|
|
395
|
-
unreadCount: number;
|
|
396
|
-
mentionCount: number;
|
|
397
|
-
currentUserMembership?: {
|
|
398
|
-
__typename?: 'ConversationMembership';
|
|
399
|
-
id: string;
|
|
400
|
-
role: Types.ParticipantRole;
|
|
401
|
-
status: Types.MembershipStatus;
|
|
402
|
-
lastReadMessageId?: string | null;
|
|
403
|
-
lastReadAt?: string | null;
|
|
404
|
-
unreadCount: number;
|
|
405
|
-
mentionCount: number;
|
|
406
|
-
notificationLevel: Types.NotificationLevel;
|
|
407
|
-
isMuted: boolean;
|
|
408
|
-
isPinned: boolean;
|
|
409
|
-
pinnedOrder?: number | null;
|
|
410
|
-
canSendMessages: boolean;
|
|
411
|
-
canAddMembers: boolean;
|
|
412
|
-
canRemoveMembers: boolean;
|
|
413
|
-
joinedAt: string;
|
|
414
|
-
customTitle?: string | null;
|
|
415
|
-
customAvatar?: string | null;
|
|
416
|
-
} | null;
|
|
417
|
-
features: {
|
|
418
|
-
__typename?: 'ConversationFeatures';
|
|
419
|
-
threads: boolean;
|
|
420
|
-
reactions: boolean;
|
|
421
|
-
mentions: boolean;
|
|
422
|
-
calls: boolean;
|
|
423
|
-
apps: boolean;
|
|
424
|
-
polls: boolean;
|
|
425
|
-
anonymousMode: boolean;
|
|
426
|
-
screenShare: boolean;
|
|
427
|
-
recording: boolean;
|
|
428
|
-
};
|
|
429
|
-
} | null;
|
|
430
|
-
};
|
|
431
|
-
export type GetConversationsQueryVariables = Types.Exact<{
|
|
432
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
433
|
-
after?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
434
|
-
filter?: Types.InputMaybe<Types.ConversationFilter>;
|
|
435
|
-
sort?: Types.InputMaybe<Types.ConversationSort>;
|
|
436
|
-
}>;
|
|
437
|
-
export type GetConversationsQuery = {
|
|
438
|
-
__typename?: 'Query';
|
|
439
|
-
conversations: {
|
|
440
|
-
__typename?: 'ConversationConnection';
|
|
441
|
-
totalCount?: number | null;
|
|
442
|
-
edges: Array<{
|
|
443
|
-
__typename?: 'ConversationEdge';
|
|
444
|
-
cursor: string;
|
|
445
|
-
node: {
|
|
446
|
-
__typename?: 'Conversation';
|
|
447
|
-
id: string;
|
|
448
|
-
workspaceId: string;
|
|
449
|
-
type: Types.ConversationType;
|
|
450
|
-
title?: string | null;
|
|
451
|
-
description?: string | null;
|
|
452
|
-
avatar?: string | null;
|
|
453
|
-
settings?: Record<string, unknown> | null;
|
|
454
|
-
state: Types.ConversationState;
|
|
455
|
-
visibility: Types.ConversationVisibility;
|
|
456
|
-
isGroup: boolean;
|
|
457
|
-
createdBy: string;
|
|
458
|
-
createdAt: string;
|
|
459
|
-
updatedAt: string;
|
|
460
|
-
memberCount: number;
|
|
461
|
-
unreadCount: number;
|
|
462
|
-
mentionCount: number;
|
|
463
|
-
lastMessage?: {
|
|
464
|
-
__typename?: 'Message';
|
|
465
|
-
id: string;
|
|
466
|
-
type: Types.MessageType;
|
|
467
|
-
content: Record<string, unknown>;
|
|
468
|
-
authorId: string;
|
|
469
|
-
authorType: string;
|
|
470
|
-
createdAt: string;
|
|
471
|
-
} | null;
|
|
472
|
-
currentUserMembership?: {
|
|
473
|
-
__typename?: 'ConversationMembership';
|
|
474
|
-
id: string;
|
|
475
|
-
role: Types.ParticipantRole;
|
|
476
|
-
status: Types.MembershipStatus;
|
|
477
|
-
unreadCount: number;
|
|
478
|
-
mentionCount: number;
|
|
479
|
-
notificationLevel: Types.NotificationLevel;
|
|
480
|
-
isMuted: boolean;
|
|
481
|
-
isPinned: boolean;
|
|
482
|
-
} | null;
|
|
483
|
-
features: {
|
|
484
|
-
__typename?: 'ConversationFeatures';
|
|
485
|
-
threads: boolean;
|
|
486
|
-
reactions: boolean;
|
|
487
|
-
mentions: boolean;
|
|
488
|
-
calls: boolean;
|
|
489
|
-
apps: boolean;
|
|
490
|
-
polls: boolean;
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
}>;
|
|
494
|
-
pageInfo: {
|
|
495
|
-
__typename?: 'PageInfo';
|
|
496
|
-
hasNextPage: boolean;
|
|
497
|
-
hasPreviousPage: boolean;
|
|
498
|
-
startCursor?: string | null;
|
|
499
|
-
endCursor?: string | null;
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
export type GetMessagesQueryVariables = Types.Exact<{
|
|
504
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
505
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
506
|
-
after?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
507
|
-
before?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
508
|
-
filter?: Types.InputMaybe<Types.MessageFilter>;
|
|
509
|
-
}>;
|
|
510
|
-
export type GetMessagesQuery = {
|
|
511
|
-
__typename?: 'Query';
|
|
512
|
-
messages: {
|
|
513
|
-
__typename?: 'MessageConnection';
|
|
514
|
-
totalCount?: number | null;
|
|
515
|
-
edges: Array<{
|
|
516
|
-
__typename?: 'MessageEdge';
|
|
517
|
-
cursor: string;
|
|
518
|
-
node: {
|
|
519
|
-
__typename?: 'Message';
|
|
520
|
-
id: string;
|
|
521
|
-
conversationId: string;
|
|
522
|
-
workspaceId: string;
|
|
523
|
-
type: Types.MessageType;
|
|
524
|
-
status: Types.MessageStatus;
|
|
525
|
-
content: Record<string, unknown>;
|
|
526
|
-
authorId: string;
|
|
527
|
-
authorType: string;
|
|
528
|
-
isAnonymous: boolean;
|
|
529
|
-
parentMessageId?: string | null;
|
|
530
|
-
threadRootId?: string | null;
|
|
531
|
-
threadLevel: number;
|
|
532
|
-
isHidden: boolean;
|
|
533
|
-
isEdited: boolean;
|
|
534
|
-
editedAt?: string | null;
|
|
535
|
-
isPinned: boolean;
|
|
536
|
-
pinnedBy?: string | null;
|
|
537
|
-
pinnedAt?: string | null;
|
|
538
|
-
expiresAt?: string | null;
|
|
539
|
-
deletedAt?: string | null;
|
|
540
|
-
createdAt: string;
|
|
541
|
-
updatedAt: string;
|
|
542
|
-
replyCount: number;
|
|
543
|
-
readCount: number;
|
|
544
|
-
reactions: Array<{
|
|
545
|
-
__typename?: 'Reaction';
|
|
546
|
-
id: string;
|
|
547
|
-
emoji: string;
|
|
548
|
-
userId: string;
|
|
549
|
-
createdAt: string;
|
|
550
|
-
}>;
|
|
551
|
-
mentions: Array<{
|
|
552
|
-
__typename?: 'Mention';
|
|
553
|
-
id: string;
|
|
554
|
-
mentionedUser?: string | null;
|
|
555
|
-
mentionType: Types.MentionType;
|
|
556
|
-
offset: number;
|
|
557
|
-
length: number;
|
|
558
|
-
}>;
|
|
559
|
-
attachments: Array<{
|
|
560
|
-
__typename?: 'Attachment';
|
|
561
|
-
id: string;
|
|
562
|
-
fileId: string;
|
|
563
|
-
fileName: string;
|
|
564
|
-
fileSize: number;
|
|
565
|
-
mimeType: string;
|
|
566
|
-
downloadUrl?: string | null;
|
|
567
|
-
width?: number | null;
|
|
568
|
-
height?: number | null;
|
|
569
|
-
duration?: number | null;
|
|
570
|
-
thumbnail?: string | null;
|
|
571
|
-
}>;
|
|
572
|
-
permissions: {
|
|
573
|
-
__typename?: 'MessagePermissions';
|
|
574
|
-
canEdit: boolean;
|
|
575
|
-
canDelete: boolean;
|
|
576
|
-
canReact: boolean;
|
|
577
|
-
canReply: boolean;
|
|
578
|
-
canPin: boolean;
|
|
579
|
-
canHide: boolean;
|
|
580
|
-
canReport: boolean;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
}>;
|
|
584
|
-
pageInfo: {
|
|
585
|
-
__typename?: 'PageInfo';
|
|
586
|
-
hasNextPage: boolean;
|
|
587
|
-
hasPreviousPage: boolean;
|
|
588
|
-
startCursor?: string | null;
|
|
589
|
-
endCursor?: string | null;
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
};
|
|
593
|
-
export type GetPresenceQueryVariables = Types.Exact<{
|
|
594
|
-
userIds: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];
|
|
595
|
-
}>;
|
|
596
|
-
export type GetPresenceQuery = {
|
|
597
|
-
__typename?: 'Query';
|
|
598
|
-
presence: Array<{
|
|
599
|
-
__typename?: 'Presence';
|
|
600
|
-
userId: string;
|
|
601
|
-
status: Types.PresenceStatus;
|
|
602
|
-
customStatus?: string | null;
|
|
603
|
-
lastSeenAt?: string | null;
|
|
604
|
-
}>;
|
|
605
|
-
};
|
|
606
|
-
export type GetThreadMessagesQueryVariables = Types.Exact<{
|
|
607
|
-
messageId: Types.Scalars['ID']['input'];
|
|
608
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
609
|
-
after?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
610
|
-
}>;
|
|
611
|
-
export type GetThreadMessagesQuery = {
|
|
612
|
-
__typename?: 'Query';
|
|
613
|
-
thread: {
|
|
614
|
-
__typename?: 'MessageConnection';
|
|
615
|
-
edges: Array<{
|
|
616
|
-
__typename?: 'MessageEdge';
|
|
617
|
-
cursor: string;
|
|
618
|
-
node: {
|
|
619
|
-
__typename?: 'Message';
|
|
620
|
-
id: string;
|
|
621
|
-
conversationId: string;
|
|
622
|
-
type: Types.MessageType;
|
|
623
|
-
status: Types.MessageStatus;
|
|
624
|
-
content: Record<string, unknown>;
|
|
625
|
-
authorId: string;
|
|
626
|
-
authorType: string;
|
|
627
|
-
isAnonymous: boolean;
|
|
628
|
-
parentMessageId?: string | null;
|
|
629
|
-
threadRootId?: string | null;
|
|
630
|
-
threadLevel: number;
|
|
631
|
-
isEdited: boolean;
|
|
632
|
-
editedAt?: string | null;
|
|
633
|
-
isPinned: boolean;
|
|
634
|
-
createdAt: string;
|
|
635
|
-
updatedAt: string;
|
|
636
|
-
replyCount: number;
|
|
637
|
-
reactions: Array<{
|
|
638
|
-
__typename?: 'Reaction';
|
|
639
|
-
id: string;
|
|
640
|
-
emoji: string;
|
|
641
|
-
userId: string;
|
|
642
|
-
createdAt: string;
|
|
643
|
-
}>;
|
|
644
|
-
mentions: Array<{
|
|
645
|
-
__typename?: 'Mention';
|
|
646
|
-
id: string;
|
|
647
|
-
mentionedUser?: string | null;
|
|
648
|
-
mentionType: Types.MentionType;
|
|
649
|
-
offset: number;
|
|
650
|
-
length: number;
|
|
651
|
-
}>;
|
|
652
|
-
attachments: Array<{
|
|
653
|
-
__typename?: 'Attachment';
|
|
654
|
-
id: string;
|
|
655
|
-
fileId: string;
|
|
656
|
-
fileName: string;
|
|
657
|
-
fileSize: number;
|
|
658
|
-
mimeType: string;
|
|
659
|
-
width?: number | null;
|
|
660
|
-
height?: number | null;
|
|
661
|
-
duration?: number | null;
|
|
662
|
-
thumbnail?: string | null;
|
|
663
|
-
}>;
|
|
664
|
-
permissions: {
|
|
665
|
-
__typename?: 'MessagePermissions';
|
|
666
|
-
canEdit: boolean;
|
|
667
|
-
canDelete: boolean;
|
|
668
|
-
canReact: boolean;
|
|
669
|
-
canReply: boolean;
|
|
670
|
-
canPin: boolean;
|
|
671
|
-
canHide: boolean;
|
|
672
|
-
canReport: boolean;
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
|
-
}>;
|
|
676
|
-
pageInfo: {
|
|
677
|
-
__typename?: 'PageInfo';
|
|
678
|
-
hasNextPage: boolean;
|
|
679
|
-
endCursor?: string | null;
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
export type SearchConversationsQueryVariables = Types.Exact<{
|
|
684
|
-
query: Types.Scalars['String']['input'];
|
|
685
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
686
|
-
after?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
687
|
-
filter?: Types.InputMaybe<Types.ConversationFilter>;
|
|
688
|
-
}>;
|
|
689
|
-
export type SearchConversationsQuery = {
|
|
690
|
-
__typename?: 'Query';
|
|
691
|
-
searchConversations: {
|
|
692
|
-
__typename?: 'ConversationConnection';
|
|
693
|
-
totalCount?: number | null;
|
|
694
|
-
edges: Array<{
|
|
695
|
-
__typename?: 'ConversationEdge';
|
|
696
|
-
cursor: string;
|
|
697
|
-
node: {
|
|
698
|
-
__typename?: 'Conversation';
|
|
699
|
-
id: string;
|
|
700
|
-
workspaceId: string;
|
|
701
|
-
type: Types.ConversationType;
|
|
702
|
-
title?: string | null;
|
|
703
|
-
description?: string | null;
|
|
704
|
-
avatar?: string | null;
|
|
705
|
-
settings?: Record<string, unknown> | null;
|
|
706
|
-
state: Types.ConversationState;
|
|
707
|
-
visibility: Types.ConversationVisibility;
|
|
708
|
-
isGroup: boolean;
|
|
709
|
-
createdBy: string;
|
|
710
|
-
createdAt: string;
|
|
711
|
-
updatedAt: string;
|
|
712
|
-
memberCount: number;
|
|
713
|
-
unreadCount: number;
|
|
714
|
-
mentionCount: number;
|
|
715
|
-
lastMessage?: {
|
|
716
|
-
__typename?: 'Message';
|
|
717
|
-
id: string;
|
|
718
|
-
type: Types.MessageType;
|
|
719
|
-
content: Record<string, unknown>;
|
|
720
|
-
authorId: string;
|
|
721
|
-
authorType: string;
|
|
722
|
-
createdAt: string;
|
|
723
|
-
} | null;
|
|
724
|
-
currentUserMembership?: {
|
|
725
|
-
__typename?: 'ConversationMembership';
|
|
726
|
-
id: string;
|
|
727
|
-
role: Types.ParticipantRole;
|
|
728
|
-
status: Types.MembershipStatus;
|
|
729
|
-
unreadCount: number;
|
|
730
|
-
mentionCount: number;
|
|
731
|
-
isMuted: boolean;
|
|
732
|
-
isPinned: boolean;
|
|
733
|
-
} | null;
|
|
734
|
-
};
|
|
735
|
-
}>;
|
|
736
|
-
pageInfo: {
|
|
737
|
-
__typename?: 'PageInfo';
|
|
738
|
-
hasNextPage: boolean;
|
|
739
|
-
hasPreviousPage: boolean;
|
|
740
|
-
startCursor?: string | null;
|
|
741
|
-
endCursor?: string | null;
|
|
742
|
-
};
|
|
743
|
-
};
|
|
744
|
-
};
|
|
745
|
-
export type SearchMessagesByHookQueryVariables = Types.Exact<{
|
|
746
|
-
query: Types.Scalars['String']['input'];
|
|
747
|
-
conversationId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
|
|
748
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
749
|
-
}>;
|
|
750
|
-
export type SearchMessagesByHookQuery = {
|
|
751
|
-
__typename?: 'Query';
|
|
752
|
-
searchMessages: {
|
|
753
|
-
__typename?: 'MessageConnection';
|
|
754
|
-
edges: Array<{
|
|
755
|
-
__typename?: 'MessageEdge';
|
|
756
|
-
node: {
|
|
757
|
-
__typename?: 'Message';
|
|
758
|
-
id: string;
|
|
759
|
-
conversationId: string;
|
|
760
|
-
type: Types.MessageType;
|
|
761
|
-
status: Types.MessageStatus;
|
|
762
|
-
content: Record<string, unknown>;
|
|
763
|
-
authorId: string;
|
|
764
|
-
authorType: string;
|
|
765
|
-
isAnonymous: boolean;
|
|
766
|
-
parentMessageId?: string | null;
|
|
767
|
-
threadRootId?: string | null;
|
|
768
|
-
threadLevel: number;
|
|
769
|
-
isEdited: boolean;
|
|
770
|
-
editedAt?: string | null;
|
|
771
|
-
isPinned: boolean;
|
|
772
|
-
createdAt: string;
|
|
773
|
-
updatedAt: string;
|
|
774
|
-
replyCount: number;
|
|
775
|
-
reactions: Array<{
|
|
776
|
-
__typename?: 'Reaction';
|
|
777
|
-
id: string;
|
|
778
|
-
emoji: string;
|
|
779
|
-
userId: string;
|
|
780
|
-
createdAt: string;
|
|
781
|
-
}>;
|
|
782
|
-
mentions: Array<{
|
|
783
|
-
__typename?: 'Mention';
|
|
784
|
-
id: string;
|
|
785
|
-
mentionedUser?: string | null;
|
|
786
|
-
mentionType: Types.MentionType;
|
|
787
|
-
offset: number;
|
|
788
|
-
length: number;
|
|
789
|
-
}>;
|
|
790
|
-
attachments: Array<{
|
|
791
|
-
__typename?: 'Attachment';
|
|
792
|
-
id: string;
|
|
793
|
-
fileId: string;
|
|
794
|
-
fileName: string;
|
|
795
|
-
fileSize: number;
|
|
796
|
-
mimeType: string;
|
|
797
|
-
width?: number | null;
|
|
798
|
-
height?: number | null;
|
|
799
|
-
duration?: number | null;
|
|
800
|
-
thumbnail?: string | null;
|
|
801
|
-
}>;
|
|
802
|
-
permissions: {
|
|
803
|
-
__typename?: 'MessagePermissions';
|
|
804
|
-
canEdit: boolean;
|
|
805
|
-
canDelete: boolean;
|
|
806
|
-
canReact: boolean;
|
|
807
|
-
canReply: boolean;
|
|
808
|
-
canPin: boolean;
|
|
809
|
-
canHide: boolean;
|
|
810
|
-
canReport: boolean;
|
|
811
|
-
};
|
|
812
|
-
};
|
|
813
|
-
}>;
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
export type ConversationAddedSubscriptionVariables = Types.Exact<{
|
|
817
|
-
[key: string]: never;
|
|
818
|
-
}>;
|
|
819
|
-
export type ConversationAddedSubscription = {
|
|
820
|
-
__typename?: 'Subscription';
|
|
821
|
-
conversationAdded: {
|
|
822
|
-
__typename?: 'Conversation';
|
|
823
|
-
id: string;
|
|
824
|
-
workspaceId: string;
|
|
825
|
-
type: Types.ConversationType;
|
|
826
|
-
title?: string | null;
|
|
827
|
-
description?: string | null;
|
|
828
|
-
createdBy: string;
|
|
829
|
-
state: Types.ConversationState;
|
|
830
|
-
visibility: Types.ConversationVisibility;
|
|
831
|
-
createdAt: string;
|
|
832
|
-
updatedAt: string;
|
|
833
|
-
};
|
|
834
|
-
};
|
|
835
|
-
export type ConversationUpdatedSubscriptionVariables = Types.Exact<{
|
|
836
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
837
|
-
}>;
|
|
838
|
-
export type ConversationUpdatedSubscription = {
|
|
839
|
-
__typename?: 'Subscription';
|
|
840
|
-
conversationUpdated: {
|
|
841
|
-
__typename?: 'ConversationUpdatedPayload';
|
|
842
|
-
changes: Array<string>;
|
|
843
|
-
conversation: {
|
|
844
|
-
__typename?: 'Conversation';
|
|
845
|
-
id: string;
|
|
846
|
-
title?: string | null;
|
|
847
|
-
description?: string | null;
|
|
848
|
-
state: Types.ConversationState;
|
|
849
|
-
visibility: Types.ConversationVisibility;
|
|
850
|
-
avatar?: string | null;
|
|
851
|
-
settings?: Record<string, unknown> | null;
|
|
852
|
-
updatedAt: string;
|
|
853
|
-
};
|
|
854
|
-
};
|
|
855
|
-
};
|
|
856
|
-
export type ConversationDeletedSubscriptionVariables = Types.Exact<{
|
|
857
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
858
|
-
}>;
|
|
859
|
-
export type ConversationDeletedSubscription = {
|
|
860
|
-
__typename?: 'Subscription';
|
|
861
|
-
conversationDeleted: {
|
|
862
|
-
__typename?: 'ConversationDeletedPayload';
|
|
863
|
-
conversationId: string;
|
|
864
|
-
deletedBy: string;
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
export type ParticipantChangedSubscriptionVariables = Types.Exact<{
|
|
868
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
869
|
-
}>;
|
|
870
|
-
export type ParticipantChangedSubscription = {
|
|
871
|
-
__typename?: 'Subscription';
|
|
872
|
-
participantChanged: {
|
|
873
|
-
__typename?: 'ParticipantChangedPayload';
|
|
874
|
-
changeType: Types.ParticipantChangeType;
|
|
875
|
-
conversation: {
|
|
876
|
-
__typename?: 'Conversation';
|
|
877
|
-
id: string;
|
|
878
|
-
};
|
|
879
|
-
membership: {
|
|
880
|
-
__typename?: 'ConversationMembership';
|
|
881
|
-
id: string;
|
|
882
|
-
conversationId: string;
|
|
883
|
-
userId: string;
|
|
884
|
-
workspaceId: string;
|
|
885
|
-
role: Types.ParticipantRole;
|
|
886
|
-
status: Types.MembershipStatus;
|
|
887
|
-
notificationLevel: Types.NotificationLevel;
|
|
888
|
-
joinedAt: string;
|
|
889
|
-
leftAt?: string | null;
|
|
890
|
-
};
|
|
891
|
-
};
|
|
892
|
-
};
|
|
893
|
-
export type MessageAddedSubscriptionVariables = Types.Exact<{
|
|
894
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
895
|
-
}>;
|
|
896
|
-
export type MessageAddedSubscription = {
|
|
897
|
-
__typename?: 'Subscription';
|
|
898
|
-
messageAdded: {
|
|
899
|
-
__typename?: 'Message';
|
|
900
|
-
id: string;
|
|
901
|
-
conversationId: string;
|
|
902
|
-
workspaceId: string;
|
|
903
|
-
type: Types.MessageType;
|
|
904
|
-
status: Types.MessageStatus;
|
|
905
|
-
content: Record<string, unknown>;
|
|
906
|
-
authorId: string;
|
|
907
|
-
authorType: string;
|
|
908
|
-
isAnonymous: boolean;
|
|
909
|
-
parentMessageId?: string | null;
|
|
910
|
-
threadRootId?: string | null;
|
|
911
|
-
threadLevel: number;
|
|
912
|
-
isHidden: boolean;
|
|
913
|
-
isPinned: boolean;
|
|
914
|
-
isEdited: boolean;
|
|
915
|
-
editedAt?: string | null;
|
|
916
|
-
expiresAt?: string | null;
|
|
917
|
-
deletedAt?: string | null;
|
|
918
|
-
createdAt: string;
|
|
919
|
-
updatedAt: string;
|
|
920
|
-
replyCount: number;
|
|
921
|
-
readCount: number;
|
|
922
|
-
reactions: Array<{
|
|
923
|
-
__typename?: 'Reaction';
|
|
924
|
-
id: string;
|
|
925
|
-
emoji: string;
|
|
926
|
-
userId: string;
|
|
927
|
-
createdAt: string;
|
|
928
|
-
}>;
|
|
929
|
-
attachments: Array<{
|
|
930
|
-
__typename?: 'Attachment';
|
|
931
|
-
id: string;
|
|
932
|
-
fileId: string;
|
|
933
|
-
fileName: string;
|
|
934
|
-
fileSize: number;
|
|
935
|
-
mimeType: string;
|
|
936
|
-
downloadUrl?: string | null;
|
|
937
|
-
width?: number | null;
|
|
938
|
-
height?: number | null;
|
|
939
|
-
duration?: number | null;
|
|
940
|
-
thumbnail?: string | null;
|
|
941
|
-
}>;
|
|
942
|
-
mentions: Array<{
|
|
943
|
-
__typename?: 'Mention';
|
|
944
|
-
id: string;
|
|
945
|
-
mentionedUser?: string | null;
|
|
946
|
-
mentionType: Types.MentionType;
|
|
947
|
-
offset: number;
|
|
948
|
-
length: number;
|
|
949
|
-
}>;
|
|
950
|
-
permissions: {
|
|
951
|
-
__typename?: 'MessagePermissions';
|
|
952
|
-
canEdit: boolean;
|
|
953
|
-
canDelete: boolean;
|
|
954
|
-
canReact: boolean;
|
|
955
|
-
canReply: boolean;
|
|
956
|
-
canPin: boolean;
|
|
957
|
-
canHide: boolean;
|
|
958
|
-
canReport: boolean;
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
};
|
|
962
|
-
export type MessageUpdatedSubscriptionVariables = Types.Exact<{
|
|
963
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
964
|
-
}>;
|
|
965
|
-
export type MessageUpdatedSubscription = {
|
|
966
|
-
__typename?: 'Subscription';
|
|
967
|
-
messageUpdated: {
|
|
968
|
-
__typename?: 'Message';
|
|
969
|
-
id: string;
|
|
970
|
-
conversationId: string;
|
|
971
|
-
content: Record<string, unknown>;
|
|
972
|
-
isEdited: boolean;
|
|
973
|
-
editedAt?: string | null;
|
|
974
|
-
isPinned: boolean;
|
|
975
|
-
pinnedBy?: string | null;
|
|
976
|
-
pinnedAt?: string | null;
|
|
977
|
-
status: Types.MessageStatus;
|
|
978
|
-
updatedAt: string;
|
|
979
|
-
};
|
|
980
|
-
};
|
|
981
|
-
export type MessageDeletedSubscriptionVariables = Types.Exact<{
|
|
982
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
983
|
-
}>;
|
|
984
|
-
export type MessageDeletedSubscription = {
|
|
985
|
-
__typename?: 'Subscription';
|
|
986
|
-
messageDeleted: {
|
|
987
|
-
__typename?: 'MessageDeletedPayload';
|
|
988
|
-
conversationId: string;
|
|
989
|
-
messageId: string;
|
|
990
|
-
deletedBy: string;
|
|
991
|
-
hard: boolean;
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
export type MessageReactionChangedSubscriptionVariables = Types.Exact<{
|
|
995
|
-
messageId: Types.Scalars['ID']['input'];
|
|
996
|
-
}>;
|
|
997
|
-
export type MessageReactionChangedSubscription = {
|
|
998
|
-
__typename?: 'Subscription';
|
|
999
|
-
messageReactionChanged: {
|
|
1000
|
-
__typename?: 'MessageReactionChangedPayload';
|
|
1001
|
-
changeType: Types.ReactionChangeType;
|
|
1002
|
-
message: {
|
|
1003
|
-
__typename?: 'Message';
|
|
1004
|
-
id: string;
|
|
1005
|
-
conversationId: string;
|
|
1006
|
-
};
|
|
1007
|
-
reaction?: {
|
|
1008
|
-
__typename?: 'Reaction';
|
|
1009
|
-
id: string;
|
|
1010
|
-
messageId: string;
|
|
1011
|
-
emoji: string;
|
|
1012
|
-
userId: string;
|
|
1013
|
-
createdAt: string;
|
|
1014
|
-
} | null;
|
|
1015
|
-
};
|
|
1016
|
-
};
|
|
1017
|
-
export type MessageReadReceiptAddedSubscriptionVariables = Types.Exact<{
|
|
1018
|
-
messageId: Types.Scalars['ID']['input'];
|
|
1019
|
-
}>;
|
|
1020
|
-
export type MessageReadReceiptAddedSubscription = {
|
|
1021
|
-
__typename?: 'Subscription';
|
|
1022
|
-
messageReadReceiptAdded: {
|
|
1023
|
-
__typename?: 'MessageReadReceipt';
|
|
1024
|
-
id: string;
|
|
1025
|
-
messageId: string;
|
|
1026
|
-
userId: string;
|
|
1027
|
-
readAt: string;
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
export type TypingIndicatorSubscriptionVariables = Types.Exact<{
|
|
1031
|
-
conversationId: Types.Scalars['ID']['input'];
|
|
1032
|
-
}>;
|
|
1033
|
-
export type TypingIndicatorSubscription = {
|
|
1034
|
-
__typename?: 'Subscription';
|
|
1035
|
-
typingIndicator: {
|
|
1036
|
-
__typename?: 'TypingIndicatorPayload';
|
|
1037
|
-
userId: string;
|
|
1038
|
-
isTyping: boolean;
|
|
1039
|
-
conversation: {
|
|
1040
|
-
__typename?: 'Conversation';
|
|
1041
|
-
id: string;
|
|
1042
|
-
};
|
|
1043
|
-
};
|
|
1044
|
-
};
|
|
1045
|
-
export type PresenceChangedSubscriptionVariables = Types.Exact<{
|
|
1046
|
-
userIds: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];
|
|
1047
|
-
}>;
|
|
1048
|
-
export type PresenceChangedSubscription = {
|
|
1049
|
-
__typename?: 'Subscription';
|
|
1050
|
-
presenceChanged: {
|
|
1051
|
-
__typename?: 'Presence';
|
|
1052
|
-
userId: string;
|
|
1053
|
-
status: Types.PresenceStatus;
|
|
1054
|
-
lastSeenAt?: string | null;
|
|
1055
|
-
};
|
|
1056
|
-
};
|
|
1057
|
-
export declare const CreateConversationDocument: Apollo.DocumentNode;
|
|
1058
|
-
export type CreateConversationMutationFn = Apollo.MutationFunction<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>;
|
|
1059
|
-
/**
|
|
1060
|
-
* __useCreateConversationMutation__
|
|
1061
|
-
*
|
|
1062
|
-
* To run a mutation, you first call `useCreateConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1063
|
-
* When your component renders, `useCreateConversationMutation` returns a tuple that includes:
|
|
1064
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1065
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1066
|
-
*
|
|
1067
|
-
* @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;
|
|
1068
|
-
*
|
|
1069
|
-
* @example
|
|
1070
|
-
* const [createConversationMutation, { data, loading, error }] = useCreateConversationMutation({
|
|
1071
|
-
* variables: {
|
|
1072
|
-
* input: // value for 'input'
|
|
1073
|
-
* },
|
|
1074
|
-
* });
|
|
1075
|
-
*/
|
|
1076
|
-
export declare function useCreateConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateConversationMutation, any, Apollo.ApolloCache>;
|
|
1077
|
-
export type CreateConversationMutationHookResult = ReturnType<typeof useCreateConversationMutation>;
|
|
1078
|
-
export type CreateConversationMutationResult = Apollo.MutationResult<Types.CreateConversationMutation>;
|
|
1079
|
-
export type CreateConversationMutationOptions = Apollo.BaseMutationOptions<Types.CreateConversationMutation, Types.CreateConversationMutationVariables>;
|
|
1080
|
-
export declare const UpdateConversationDocument: Apollo.DocumentNode;
|
|
1081
|
-
export type UpdateConversationMutationFn = Apollo.MutationFunction<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>;
|
|
1082
|
-
/**
|
|
1083
|
-
* __useUpdateConversationMutation__
|
|
1084
|
-
*
|
|
1085
|
-
* To run a mutation, you first call `useUpdateConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1086
|
-
* When your component renders, `useUpdateConversationMutation` returns a tuple that includes:
|
|
1087
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1088
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1089
|
-
*
|
|
1090
|
-
* @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;
|
|
1091
|
-
*
|
|
1092
|
-
* @example
|
|
1093
|
-
* const [updateConversationMutation, { data, loading, error }] = useUpdateConversationMutation({
|
|
1094
|
-
* variables: {
|
|
1095
|
-
* input: // value for 'input'
|
|
1096
|
-
* },
|
|
1097
|
-
* });
|
|
1098
|
-
*/
|
|
1099
|
-
export declare function useUpdateConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateConversationMutation, any, Apollo.ApolloCache>;
|
|
1100
|
-
export type UpdateConversationMutationHookResult = ReturnType<typeof useUpdateConversationMutation>;
|
|
1101
|
-
export type UpdateConversationMutationResult = Apollo.MutationResult<Types.UpdateConversationMutation>;
|
|
1102
|
-
export type UpdateConversationMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConversationMutation, Types.UpdateConversationMutationVariables>;
|
|
1103
|
-
export declare const ArchiveConversationDocument: Apollo.DocumentNode;
|
|
1104
|
-
export type ArchiveConversationMutationFn = Apollo.MutationFunction<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>;
|
|
1105
|
-
/**
|
|
1106
|
-
* __useArchiveConversationMutation__
|
|
1107
|
-
*
|
|
1108
|
-
* To run a mutation, you first call `useArchiveConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1109
|
-
* When your component renders, `useArchiveConversationMutation` returns a tuple that includes:
|
|
1110
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1111
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1112
|
-
*
|
|
1113
|
-
* @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;
|
|
1114
|
-
*
|
|
1115
|
-
* @example
|
|
1116
|
-
* const [archiveConversationMutation, { data, loading, error }] = useArchiveConversationMutation({
|
|
1117
|
-
* variables: {
|
|
1118
|
-
* id: // value for 'id'
|
|
1119
|
-
* },
|
|
1120
|
-
* });
|
|
1121
|
-
*/
|
|
1122
|
-
export declare function useArchiveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ArchiveConversationMutation, any, Apollo.ApolloCache>;
|
|
1123
|
-
export type ArchiveConversationMutationHookResult = ReturnType<typeof useArchiveConversationMutation>;
|
|
1124
|
-
export type ArchiveConversationMutationResult = Apollo.MutationResult<Types.ArchiveConversationMutation>;
|
|
1125
|
-
export type ArchiveConversationMutationOptions = Apollo.BaseMutationOptions<Types.ArchiveConversationMutation, Types.ArchiveConversationMutationVariables>;
|
|
1126
|
-
export declare const DeleteConversationDocument: Apollo.DocumentNode;
|
|
1127
|
-
export type DeleteConversationMutationFn = Apollo.MutationFunction<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>;
|
|
1128
|
-
/**
|
|
1129
|
-
* __useDeleteConversationMutation__
|
|
1130
|
-
*
|
|
1131
|
-
* To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1132
|
-
* When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
|
|
1133
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1134
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1135
|
-
*
|
|
1136
|
-
* @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;
|
|
1137
|
-
*
|
|
1138
|
-
* @example
|
|
1139
|
-
* const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
|
|
1140
|
-
* variables: {
|
|
1141
|
-
* id: // value for 'id'
|
|
1142
|
-
* },
|
|
1143
|
-
* });
|
|
1144
|
-
*/
|
|
1145
|
-
export declare function useDeleteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteConversationMutation, any, Apollo.ApolloCache>;
|
|
1146
|
-
export type DeleteConversationMutationHookResult = ReturnType<typeof useDeleteConversationMutation>;
|
|
1147
|
-
export type DeleteConversationMutationResult = Apollo.MutationResult<Types.DeleteConversationMutation>;
|
|
1148
|
-
export type DeleteConversationMutationOptions = Apollo.BaseMutationOptions<Types.DeleteConversationMutation, Types.DeleteConversationMutationVariables>;
|
|
1149
|
-
export declare const AddParticipantDocument: Apollo.DocumentNode;
|
|
1150
|
-
export type AddParticipantMutationFn = Apollo.MutationFunction<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>;
|
|
1151
|
-
/**
|
|
1152
|
-
* __useAddParticipantMutation__
|
|
1153
|
-
*
|
|
1154
|
-
* To run a mutation, you first call `useAddParticipantMutation` within a React component and pass it any options that fit your needs.
|
|
1155
|
-
* When your component renders, `useAddParticipantMutation` returns a tuple that includes:
|
|
1156
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1157
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1158
|
-
*
|
|
1159
|
-
* @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;
|
|
1160
|
-
*
|
|
1161
|
-
* @example
|
|
1162
|
-
* const [addParticipantMutation, { data, loading, error }] = useAddParticipantMutation({
|
|
1163
|
-
* variables: {
|
|
1164
|
-
* input: // value for 'input'
|
|
1165
|
-
* },
|
|
1166
|
-
* });
|
|
1167
|
-
*/
|
|
1168
|
-
export declare function useAddParticipantMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.AddParticipantMutation, any, Apollo.ApolloCache>;
|
|
1169
|
-
export type AddParticipantMutationHookResult = ReturnType<typeof useAddParticipantMutation>;
|
|
1170
|
-
export type AddParticipantMutationResult = Apollo.MutationResult<Types.AddParticipantMutation>;
|
|
1171
|
-
export type AddParticipantMutationOptions = Apollo.BaseMutationOptions<Types.AddParticipantMutation, Types.AddParticipantMutationVariables>;
|
|
1172
|
-
export declare const RemoveParticipantDocument: Apollo.DocumentNode;
|
|
1173
|
-
export type RemoveParticipantMutationFn = Apollo.MutationFunction<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>;
|
|
1174
|
-
/**
|
|
1175
|
-
* __useRemoveParticipantMutation__
|
|
1176
|
-
*
|
|
1177
|
-
* To run a mutation, you first call `useRemoveParticipantMutation` within a React component and pass it any options that fit your needs.
|
|
1178
|
-
* When your component renders, `useRemoveParticipantMutation` returns a tuple that includes:
|
|
1179
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1180
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1181
|
-
*
|
|
1182
|
-
* @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;
|
|
1183
|
-
*
|
|
1184
|
-
* @example
|
|
1185
|
-
* const [removeParticipantMutation, { data, loading, error }] = useRemoveParticipantMutation({
|
|
1186
|
-
* variables: {
|
|
1187
|
-
* input: // value for 'input'
|
|
1188
|
-
* },
|
|
1189
|
-
* });
|
|
1190
|
-
*/
|
|
1191
|
-
export declare function useRemoveParticipantMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.RemoveParticipantMutation, any, Apollo.ApolloCache>;
|
|
1192
|
-
export type RemoveParticipantMutationHookResult = ReturnType<typeof useRemoveParticipantMutation>;
|
|
1193
|
-
export type RemoveParticipantMutationResult = Apollo.MutationResult<Types.RemoveParticipantMutation>;
|
|
1194
|
-
export type RemoveParticipantMutationOptions = Apollo.BaseMutationOptions<Types.RemoveParticipantMutation, Types.RemoveParticipantMutationVariables>;
|
|
1195
|
-
export declare const LeaveConversationDocument: Apollo.DocumentNode;
|
|
1196
|
-
export type LeaveConversationMutationFn = Apollo.MutationFunction<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>;
|
|
1197
|
-
/**
|
|
1198
|
-
* __useLeaveConversationMutation__
|
|
1199
|
-
*
|
|
1200
|
-
* To run a mutation, you first call `useLeaveConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1201
|
-
* When your component renders, `useLeaveConversationMutation` returns a tuple that includes:
|
|
1202
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1203
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1204
|
-
*
|
|
1205
|
-
* @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;
|
|
1206
|
-
*
|
|
1207
|
-
* @example
|
|
1208
|
-
* const [leaveConversationMutation, { data, loading, error }] = useLeaveConversationMutation({
|
|
1209
|
-
* variables: {
|
|
1210
|
-
* conversationId: // value for 'conversationId'
|
|
1211
|
-
* },
|
|
1212
|
-
* });
|
|
1213
|
-
*/
|
|
1214
|
-
export declare function useLeaveConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.LeaveConversationMutation, any, Apollo.ApolloCache>;
|
|
1215
|
-
export type LeaveConversationMutationHookResult = ReturnType<typeof useLeaveConversationMutation>;
|
|
1216
|
-
export type LeaveConversationMutationResult = Apollo.MutationResult<Types.LeaveConversationMutation>;
|
|
1217
|
-
export type LeaveConversationMutationOptions = Apollo.BaseMutationOptions<Types.LeaveConversationMutation, Types.LeaveConversationMutationVariables>;
|
|
1218
|
-
export declare const UpdateParticipantRoleDocument: Apollo.DocumentNode;
|
|
1219
|
-
export type UpdateParticipantRoleMutationFn = Apollo.MutationFunction<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>;
|
|
1220
|
-
/**
|
|
1221
|
-
* __useUpdateParticipantRoleMutation__
|
|
1222
|
-
*
|
|
1223
|
-
* To run a mutation, you first call `useUpdateParticipantRoleMutation` within a React component and pass it any options that fit your needs.
|
|
1224
|
-
* When your component renders, `useUpdateParticipantRoleMutation` returns a tuple that includes:
|
|
1225
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1226
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1227
|
-
*
|
|
1228
|
-
* @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;
|
|
1229
|
-
*
|
|
1230
|
-
* @example
|
|
1231
|
-
* const [updateParticipantRoleMutation, { data, loading, error }] = useUpdateParticipantRoleMutation({
|
|
1232
|
-
* variables: {
|
|
1233
|
-
* input: // value for 'input'
|
|
1234
|
-
* },
|
|
1235
|
-
* });
|
|
1236
|
-
*/
|
|
1237
|
-
export declare function useUpdateParticipantRoleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateParticipantRoleMutation, any, Apollo.ApolloCache>;
|
|
1238
|
-
export type UpdateParticipantRoleMutationHookResult = ReturnType<typeof useUpdateParticipantRoleMutation>;
|
|
1239
|
-
export type UpdateParticipantRoleMutationResult = Apollo.MutationResult<Types.UpdateParticipantRoleMutation>;
|
|
1240
|
-
export type UpdateParticipantRoleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateParticipantRoleMutation, Types.UpdateParticipantRoleMutationVariables>;
|
|
1241
|
-
export declare const SendMessageDocument: Apollo.DocumentNode;
|
|
1242
|
-
export type SendMessageMutationFn = Apollo.MutationFunction<Types.SendMessageMutation, Types.SendMessageMutationVariables>;
|
|
1243
|
-
/**
|
|
1244
|
-
* __useSendMessageMutation__
|
|
1245
|
-
*
|
|
1246
|
-
* To run a mutation, you first call `useSendMessageMutation` within a React component and pass it any options that fit your needs.
|
|
1247
|
-
* When your component renders, `useSendMessageMutation` returns a tuple that includes:
|
|
1248
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1249
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1250
|
-
*
|
|
1251
|
-
* @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;
|
|
1252
|
-
*
|
|
1253
|
-
* @example
|
|
1254
|
-
* const [sendMessageMutation, { data, loading, error }] = useSendMessageMutation({
|
|
1255
|
-
* variables: {
|
|
1256
|
-
* input: // value for 'input'
|
|
1257
|
-
* },
|
|
1258
|
-
* });
|
|
1259
|
-
*/
|
|
1260
|
-
export declare function useSendMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SendMessageMutation, Types.SendMessageMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.SendMessageMutation, any, Apollo.ApolloCache>;
|
|
1261
|
-
export type SendMessageMutationHookResult = ReturnType<typeof useSendMessageMutation>;
|
|
1262
|
-
export type SendMessageMutationResult = Apollo.MutationResult<Types.SendMessageMutation>;
|
|
1263
|
-
export type SendMessageMutationOptions = Apollo.BaseMutationOptions<Types.SendMessageMutation, Types.SendMessageMutationVariables>;
|
|
1264
|
-
export declare const EditMessageDocument: Apollo.DocumentNode;
|
|
1265
|
-
export type EditMessageMutationFn = Apollo.MutationFunction<Types.EditMessageMutation, Types.EditMessageMutationVariables>;
|
|
1266
|
-
/**
|
|
1267
|
-
* __useEditMessageMutation__
|
|
1268
|
-
*
|
|
1269
|
-
* To run a mutation, you first call `useEditMessageMutation` within a React component and pass it any options that fit your needs.
|
|
1270
|
-
* When your component renders, `useEditMessageMutation` returns a tuple that includes:
|
|
1271
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1272
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1273
|
-
*
|
|
1274
|
-
* @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;
|
|
1275
|
-
*
|
|
1276
|
-
* @example
|
|
1277
|
-
* const [editMessageMutation, { data, loading, error }] = useEditMessageMutation({
|
|
1278
|
-
* variables: {
|
|
1279
|
-
* input: // value for 'input'
|
|
1280
|
-
* },
|
|
1281
|
-
* });
|
|
1282
|
-
*/
|
|
1283
|
-
export declare function useEditMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.EditMessageMutation, Types.EditMessageMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.EditMessageMutation, any, Apollo.ApolloCache>;
|
|
1284
|
-
export type EditMessageMutationHookResult = ReturnType<typeof useEditMessageMutation>;
|
|
1285
|
-
export type EditMessageMutationResult = Apollo.MutationResult<Types.EditMessageMutation>;
|
|
1286
|
-
export type EditMessageMutationOptions = Apollo.BaseMutationOptions<Types.EditMessageMutation, Types.EditMessageMutationVariables>;
|
|
1287
|
-
export declare const DeleteMessageDocument: Apollo.DocumentNode;
|
|
1288
|
-
export type DeleteMessageMutationFn = Apollo.MutationFunction<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>;
|
|
1289
|
-
/**
|
|
1290
|
-
* __useDeleteMessageMutation__
|
|
1291
|
-
*
|
|
1292
|
-
* To run a mutation, you first call `useDeleteMessageMutation` within a React component and pass it any options that fit your needs.
|
|
1293
|
-
* When your component renders, `useDeleteMessageMutation` returns a tuple that includes:
|
|
1294
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1295
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1296
|
-
*
|
|
1297
|
-
* @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;
|
|
1298
|
-
*
|
|
1299
|
-
* @example
|
|
1300
|
-
* const [deleteMessageMutation, { data, loading, error }] = useDeleteMessageMutation({
|
|
1301
|
-
* variables: {
|
|
1302
|
-
* id: // value for 'id'
|
|
1303
|
-
* hard: // value for 'hard'
|
|
1304
|
-
* },
|
|
1305
|
-
* });
|
|
1306
|
-
*/
|
|
1307
|
-
export declare function useDeleteMessageMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.DeleteMessageMutation, any, Apollo.ApolloCache>;
|
|
1308
|
-
export type DeleteMessageMutationHookResult = ReturnType<typeof useDeleteMessageMutation>;
|
|
1309
|
-
export type DeleteMessageMutationResult = Apollo.MutationResult<Types.DeleteMessageMutation>;
|
|
1310
|
-
export type DeleteMessageMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMessageMutation, Types.DeleteMessageMutationVariables>;
|
|
1311
|
-
export declare const AddReactionDocument: Apollo.DocumentNode;
|
|
1312
|
-
export type AddReactionMutationFn = Apollo.MutationFunction<Types.AddReactionMutation, Types.AddReactionMutationVariables>;
|
|
1313
|
-
/**
|
|
1314
|
-
* __useAddReactionMutation__
|
|
1315
|
-
*
|
|
1316
|
-
* To run a mutation, you first call `useAddReactionMutation` within a React component and pass it any options that fit your needs.
|
|
1317
|
-
* When your component renders, `useAddReactionMutation` returns a tuple that includes:
|
|
1318
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1319
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1320
|
-
*
|
|
1321
|
-
* @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;
|
|
1322
|
-
*
|
|
1323
|
-
* @example
|
|
1324
|
-
* const [addReactionMutation, { data, loading, error }] = useAddReactionMutation({
|
|
1325
|
-
* variables: {
|
|
1326
|
-
* messageId: // value for 'messageId'
|
|
1327
|
-
* emoji: // value for 'emoji'
|
|
1328
|
-
* },
|
|
1329
|
-
* });
|
|
1330
|
-
*/
|
|
1331
|
-
export declare function useAddReactionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddReactionMutation, Types.AddReactionMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.AddReactionMutation, any, Apollo.ApolloCache>;
|
|
1332
|
-
export type AddReactionMutationHookResult = ReturnType<typeof useAddReactionMutation>;
|
|
1333
|
-
export type AddReactionMutationResult = Apollo.MutationResult<Types.AddReactionMutation>;
|
|
1334
|
-
export type AddReactionMutationOptions = Apollo.BaseMutationOptions<Types.AddReactionMutation, Types.AddReactionMutationVariables>;
|
|
1335
|
-
export declare const RemoveReactionDocument: Apollo.DocumentNode;
|
|
1336
|
-
export type RemoveReactionMutationFn = Apollo.MutationFunction<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>;
|
|
1337
|
-
/**
|
|
1338
|
-
* __useRemoveReactionMutation__
|
|
1339
|
-
*
|
|
1340
|
-
* To run a mutation, you first call `useRemoveReactionMutation` within a React component and pass it any options that fit your needs.
|
|
1341
|
-
* When your component renders, `useRemoveReactionMutation` returns a tuple that includes:
|
|
1342
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1343
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1344
|
-
*
|
|
1345
|
-
* @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;
|
|
1346
|
-
*
|
|
1347
|
-
* @example
|
|
1348
|
-
* const [removeReactionMutation, { data, loading, error }] = useRemoveReactionMutation({
|
|
1349
|
-
* variables: {
|
|
1350
|
-
* messageId: // value for 'messageId'
|
|
1351
|
-
* emoji: // value for 'emoji'
|
|
1352
|
-
* },
|
|
1353
|
-
* });
|
|
1354
|
-
*/
|
|
1355
|
-
export declare function useRemoveReactionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.RemoveReactionMutation, any, Apollo.ApolloCache>;
|
|
1356
|
-
export type RemoveReactionMutationHookResult = ReturnType<typeof useRemoveReactionMutation>;
|
|
1357
|
-
export type RemoveReactionMutationResult = Apollo.MutationResult<Types.RemoveReactionMutation>;
|
|
1358
|
-
export type RemoveReactionMutationOptions = Apollo.BaseMutationOptions<Types.RemoveReactionMutation, Types.RemoveReactionMutationVariables>;
|
|
1359
|
-
export declare const MuteConversationDocument: Apollo.DocumentNode;
|
|
1360
|
-
export type MuteConversationMutationFn = Apollo.MutationFunction<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>;
|
|
1361
|
-
/**
|
|
1362
|
-
* __useMuteConversationMutation__
|
|
1363
|
-
*
|
|
1364
|
-
* To run a mutation, you first call `useMuteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1365
|
-
* When your component renders, `useMuteConversationMutation` returns a tuple that includes:
|
|
1366
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1367
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1368
|
-
*
|
|
1369
|
-
* @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;
|
|
1370
|
-
*
|
|
1371
|
-
* @example
|
|
1372
|
-
* const [muteConversationMutation, { data, loading, error }] = useMuteConversationMutation({
|
|
1373
|
-
* variables: {
|
|
1374
|
-
* conversationId: // value for 'conversationId'
|
|
1375
|
-
* },
|
|
1376
|
-
* });
|
|
1377
|
-
*/
|
|
1378
|
-
export declare function useMuteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.MuteConversationMutation, any, Apollo.ApolloCache>;
|
|
1379
|
-
export type MuteConversationMutationHookResult = ReturnType<typeof useMuteConversationMutation>;
|
|
1380
|
-
export type MuteConversationMutationResult = Apollo.MutationResult<Types.MuteConversationMutation>;
|
|
1381
|
-
export type MuteConversationMutationOptions = Apollo.BaseMutationOptions<Types.MuteConversationMutation, Types.MuteConversationMutationVariables>;
|
|
1382
|
-
export declare const PinConversationDocument: Apollo.DocumentNode;
|
|
1383
|
-
export type PinConversationMutationFn = Apollo.MutationFunction<Types.PinConversationMutation, Types.PinConversationMutationVariables>;
|
|
1384
|
-
/**
|
|
1385
|
-
* __usePinConversationMutation__
|
|
1386
|
-
*
|
|
1387
|
-
* To run a mutation, you first call `usePinConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1388
|
-
* When your component renders, `usePinConversationMutation` returns a tuple that includes:
|
|
1389
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1390
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1391
|
-
*
|
|
1392
|
-
* @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;
|
|
1393
|
-
*
|
|
1394
|
-
* @example
|
|
1395
|
-
* const [pinConversationMutation, { data, loading, error }] = usePinConversationMutation({
|
|
1396
|
-
* variables: {
|
|
1397
|
-
* conversationId: // value for 'conversationId'
|
|
1398
|
-
* },
|
|
1399
|
-
* });
|
|
1400
|
-
*/
|
|
1401
|
-
export declare function usePinConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PinConversationMutation, Types.PinConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.PinConversationMutation, any, Apollo.ApolloCache>;
|
|
1402
|
-
export type PinConversationMutationHookResult = ReturnType<typeof usePinConversationMutation>;
|
|
1403
|
-
export type PinConversationMutationResult = Apollo.MutationResult<Types.PinConversationMutation>;
|
|
1404
|
-
export type PinConversationMutationOptions = Apollo.BaseMutationOptions<Types.PinConversationMutation, Types.PinConversationMutationVariables>;
|
|
1405
|
-
export declare const PinMessageByHookDocument: Apollo.DocumentNode;
|
|
1406
|
-
export type PinMessageByHookMutationFn = Apollo.MutationFunction<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>;
|
|
1407
|
-
/**
|
|
1408
|
-
* __usePinMessageByHookMutation__
|
|
1409
|
-
*
|
|
1410
|
-
* To run a mutation, you first call `usePinMessageByHookMutation` within a React component and pass it any options that fit your needs.
|
|
1411
|
-
* When your component renders, `usePinMessageByHookMutation` returns a tuple that includes:
|
|
1412
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1413
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1414
|
-
*
|
|
1415
|
-
* @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;
|
|
1416
|
-
*
|
|
1417
|
-
* @example
|
|
1418
|
-
* const [pinMessageByHookMutation, { data, loading, error }] = usePinMessageByHookMutation({
|
|
1419
|
-
* variables: {
|
|
1420
|
-
* messageId: // value for 'messageId'
|
|
1421
|
-
* },
|
|
1422
|
-
* });
|
|
1423
|
-
*/
|
|
1424
|
-
export declare function usePinMessageByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.PinMessageByHookMutation, any, Apollo.ApolloCache>;
|
|
1425
|
-
export type PinMessageByHookMutationHookResult = ReturnType<typeof usePinMessageByHookMutation>;
|
|
1426
|
-
export type PinMessageByHookMutationResult = Apollo.MutationResult<Types.PinMessageByHookMutation>;
|
|
1427
|
-
export type PinMessageByHookMutationOptions = Apollo.BaseMutationOptions<Types.PinMessageByHookMutation, Types.PinMessageByHookMutationVariables>;
|
|
1428
|
-
export declare const UnmuteConversationDocument: Apollo.DocumentNode;
|
|
1429
|
-
export type UnmuteConversationMutationFn = Apollo.MutationFunction<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>;
|
|
1430
|
-
/**
|
|
1431
|
-
* __useUnmuteConversationMutation__
|
|
1432
|
-
*
|
|
1433
|
-
* To run a mutation, you first call `useUnmuteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1434
|
-
* When your component renders, `useUnmuteConversationMutation` returns a tuple that includes:
|
|
1435
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1436
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1437
|
-
*
|
|
1438
|
-
* @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;
|
|
1439
|
-
*
|
|
1440
|
-
* @example
|
|
1441
|
-
* const [unmuteConversationMutation, { data, loading, error }] = useUnmuteConversationMutation({
|
|
1442
|
-
* variables: {
|
|
1443
|
-
* conversationId: // value for 'conversationId'
|
|
1444
|
-
* },
|
|
1445
|
-
* });
|
|
1446
|
-
*/
|
|
1447
|
-
export declare function useUnmuteConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UnmuteConversationMutation, any, Apollo.ApolloCache>;
|
|
1448
|
-
export type UnmuteConversationMutationHookResult = ReturnType<typeof useUnmuteConversationMutation>;
|
|
1449
|
-
export type UnmuteConversationMutationResult = Apollo.MutationResult<Types.UnmuteConversationMutation>;
|
|
1450
|
-
export type UnmuteConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnmuteConversationMutation, Types.UnmuteConversationMutationVariables>;
|
|
1451
|
-
export declare const UnpinConversationDocument: Apollo.DocumentNode;
|
|
1452
|
-
export type UnpinConversationMutationFn = Apollo.MutationFunction<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>;
|
|
1453
|
-
/**
|
|
1454
|
-
* __useUnpinConversationMutation__
|
|
1455
|
-
*
|
|
1456
|
-
* To run a mutation, you first call `useUnpinConversationMutation` within a React component and pass it any options that fit your needs.
|
|
1457
|
-
* When your component renders, `useUnpinConversationMutation` returns a tuple that includes:
|
|
1458
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1459
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1460
|
-
*
|
|
1461
|
-
* @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;
|
|
1462
|
-
*
|
|
1463
|
-
* @example
|
|
1464
|
-
* const [unpinConversationMutation, { data, loading, error }] = useUnpinConversationMutation({
|
|
1465
|
-
* variables: {
|
|
1466
|
-
* conversationId: // value for 'conversationId'
|
|
1467
|
-
* },
|
|
1468
|
-
* });
|
|
1469
|
-
*/
|
|
1470
|
-
export declare function useUnpinConversationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UnpinConversationMutation, any, Apollo.ApolloCache>;
|
|
1471
|
-
export type UnpinConversationMutationHookResult = ReturnType<typeof useUnpinConversationMutation>;
|
|
1472
|
-
export type UnpinConversationMutationResult = Apollo.MutationResult<Types.UnpinConversationMutation>;
|
|
1473
|
-
export type UnpinConversationMutationOptions = Apollo.BaseMutationOptions<Types.UnpinConversationMutation, Types.UnpinConversationMutationVariables>;
|
|
1474
|
-
export declare const UnpinMessageByHookDocument: Apollo.DocumentNode;
|
|
1475
|
-
export type UnpinMessageByHookMutationFn = Apollo.MutationFunction<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>;
|
|
1476
|
-
/**
|
|
1477
|
-
* __useUnpinMessageByHookMutation__
|
|
1478
|
-
*
|
|
1479
|
-
* To run a mutation, you first call `useUnpinMessageByHookMutation` within a React component and pass it any options that fit your needs.
|
|
1480
|
-
* When your component renders, `useUnpinMessageByHookMutation` returns a tuple that includes:
|
|
1481
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1482
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1483
|
-
*
|
|
1484
|
-
* @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;
|
|
1485
|
-
*
|
|
1486
|
-
* @example
|
|
1487
|
-
* const [unpinMessageByHookMutation, { data, loading, error }] = useUnpinMessageByHookMutation({
|
|
1488
|
-
* variables: {
|
|
1489
|
-
* messageId: // value for 'messageId'
|
|
1490
|
-
* },
|
|
1491
|
-
* });
|
|
1492
|
-
*/
|
|
1493
|
-
export declare function useUnpinMessageByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UnpinMessageByHookMutation, any, Apollo.ApolloCache>;
|
|
1494
|
-
export type UnpinMessageByHookMutationHookResult = ReturnType<typeof useUnpinMessageByHookMutation>;
|
|
1495
|
-
export type UnpinMessageByHookMutationResult = Apollo.MutationResult<Types.UnpinMessageByHookMutation>;
|
|
1496
|
-
export type UnpinMessageByHookMutationOptions = Apollo.BaseMutationOptions<Types.UnpinMessageByHookMutation, Types.UnpinMessageByHookMutationVariables>;
|
|
1497
|
-
export declare const UpdateConversationByHookDocument: Apollo.DocumentNode;
|
|
1498
|
-
export type UpdateConversationByHookMutationFn = Apollo.MutationFunction<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>;
|
|
1499
|
-
/**
|
|
1500
|
-
* __useUpdateConversationByHookMutation__
|
|
1501
|
-
*
|
|
1502
|
-
* To run a mutation, you first call `useUpdateConversationByHookMutation` within a React component and pass it any options that fit your needs.
|
|
1503
|
-
* When your component renders, `useUpdateConversationByHookMutation` returns a tuple that includes:
|
|
1504
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1505
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1506
|
-
*
|
|
1507
|
-
* @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;
|
|
1508
|
-
*
|
|
1509
|
-
* @example
|
|
1510
|
-
* const [updateConversationByHookMutation, { data, loading, error }] = useUpdateConversationByHookMutation({
|
|
1511
|
-
* variables: {
|
|
1512
|
-
* input: // value for 'input'
|
|
1513
|
-
* },
|
|
1514
|
-
* });
|
|
1515
|
-
*/
|
|
1516
|
-
export declare function useUpdateConversationByHookMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateConversationByHookMutation, any, Apollo.ApolloCache>;
|
|
1517
|
-
export type UpdateConversationByHookMutationHookResult = ReturnType<typeof useUpdateConversationByHookMutation>;
|
|
1518
|
-
export type UpdateConversationByHookMutationResult = Apollo.MutationResult<Types.UpdateConversationByHookMutation>;
|
|
1519
|
-
export type UpdateConversationByHookMutationOptions = Apollo.BaseMutationOptions<Types.UpdateConversationByHookMutation, Types.UpdateConversationByHookMutationVariables>;
|
|
1520
|
-
export declare const GetConversationDocument: Apollo.DocumentNode;
|
|
1521
|
-
/**
|
|
1522
|
-
* __useGetConversationQuery__
|
|
1523
|
-
*
|
|
1524
|
-
* To run a query within a React component, call `useGetConversationQuery` and pass it any options that fit your needs.
|
|
1525
|
-
* When your component renders, `useGetConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1526
|
-
* you can use to render your UI.
|
|
1527
|
-
*
|
|
1528
|
-
* @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;
|
|
1529
|
-
*
|
|
1530
|
-
* @example
|
|
1531
|
-
* const { data, loading, error } = useGetConversationQuery({
|
|
1532
|
-
* variables: {
|
|
1533
|
-
* id: // value for 'id'
|
|
1534
|
-
* },
|
|
1535
|
-
* });
|
|
1536
|
-
*/
|
|
1537
|
-
export declare function useGetConversationQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables> & ({
|
|
1538
|
-
variables: Types.GetConversationQueryVariables;
|
|
1539
|
-
skip?: boolean;
|
|
1540
|
-
} | {
|
|
1541
|
-
skip: boolean;
|
|
1542
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetConversationQuery, Types.GetConversationQueryVariables, "complete" | "empty" | "streaming", Types.GetConversationQueryVariables>;
|
|
1543
|
-
export declare function useGetConversationLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConversationQuery, Types.GetConversationQueryVariables, "complete" | "empty" | "streaming">;
|
|
1544
|
-
export declare function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationQuery, Types.GetConversationQueryVariables>;
|
|
1545
|
-
export declare function useGetConversationSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationQuery, Types.GetConversationQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationQuery | undefined, Types.GetConversationQueryVariables>;
|
|
1546
|
-
export type GetConversationQueryHookResult = ReturnType<typeof useGetConversationQuery>;
|
|
1547
|
-
export type GetConversationLazyQueryHookResult = ReturnType<typeof useGetConversationLazyQuery>;
|
|
1548
|
-
export type GetConversationSuspenseQueryHookResult = ReturnType<typeof useGetConversationSuspenseQuery>;
|
|
1549
|
-
export type GetConversationQueryResult = Apollo.QueryResult<Types.GetConversationQuery, Types.GetConversationQueryVariables>;
|
|
1550
|
-
export declare const GetConversationsDocument: Apollo.DocumentNode;
|
|
1551
|
-
/**
|
|
1552
|
-
* __useGetConversationsQuery__
|
|
1553
|
-
*
|
|
1554
|
-
* To run a query within a React component, call `useGetConversationsQuery` and pass it any options that fit your needs.
|
|
1555
|
-
* When your component renders, `useGetConversationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1556
|
-
* you can use to render your UI.
|
|
1557
|
-
*
|
|
1558
|
-
* @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;
|
|
1559
|
-
*
|
|
1560
|
-
* @example
|
|
1561
|
-
* const { data, loading, error } = useGetConversationsQuery({
|
|
1562
|
-
* variables: {
|
|
1563
|
-
* first: // value for 'first'
|
|
1564
|
-
* after: // value for 'after'
|
|
1565
|
-
* filter: // value for 'filter'
|
|
1566
|
-
* sort: // value for 'sort'
|
|
1567
|
-
* },
|
|
1568
|
-
* });
|
|
1569
|
-
*/
|
|
1570
|
-
export declare function useGetConversationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetConversationsQuery, Types.GetConversationsQueryVariables, "complete" | "empty" | "streaming", Types.GetConversationsQueryVariables>;
|
|
1571
|
-
export declare function useGetConversationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetConversationsQuery, Types.GetConversationsQueryVariables, "complete" | "empty" | "streaming">;
|
|
1572
|
-
export declare function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>;
|
|
1573
|
-
export declare function useGetConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetConversationsQuery | undefined, Types.GetConversationsQueryVariables>;
|
|
1574
|
-
export type GetConversationsQueryHookResult = ReturnType<typeof useGetConversationsQuery>;
|
|
1575
|
-
export type GetConversationsLazyQueryHookResult = ReturnType<typeof useGetConversationsLazyQuery>;
|
|
1576
|
-
export type GetConversationsSuspenseQueryHookResult = ReturnType<typeof useGetConversationsSuspenseQuery>;
|
|
1577
|
-
export type GetConversationsQueryResult = Apollo.QueryResult<Types.GetConversationsQuery, Types.GetConversationsQueryVariables>;
|
|
1578
|
-
export declare const GetMessagesDocument: Apollo.DocumentNode;
|
|
1579
|
-
/**
|
|
1580
|
-
* __useGetMessagesQuery__
|
|
1581
|
-
*
|
|
1582
|
-
* To run a query within a React component, call `useGetMessagesQuery` and pass it any options that fit your needs.
|
|
1583
|
-
* When your component renders, `useGetMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1584
|
-
* you can use to render your UI.
|
|
1585
|
-
*
|
|
1586
|
-
* @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;
|
|
1587
|
-
*
|
|
1588
|
-
* @example
|
|
1589
|
-
* const { data, loading, error } = useGetMessagesQuery({
|
|
1590
|
-
* variables: {
|
|
1591
|
-
* conversationId: // value for 'conversationId'
|
|
1592
|
-
* first: // value for 'first'
|
|
1593
|
-
* after: // value for 'after'
|
|
1594
|
-
* before: // value for 'before'
|
|
1595
|
-
* filter: // value for 'filter'
|
|
1596
|
-
* },
|
|
1597
|
-
* });
|
|
1598
|
-
*/
|
|
1599
|
-
export declare function useGetMessagesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables> & ({
|
|
1600
|
-
variables: Types.GetMessagesQueryVariables;
|
|
1601
|
-
skip?: boolean;
|
|
1602
|
-
} | {
|
|
1603
|
-
skip: boolean;
|
|
1604
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetMessagesQuery, Types.GetMessagesQueryVariables, "complete" | "empty" | "streaming", Types.GetMessagesQueryVariables>;
|
|
1605
|
-
export declare function useGetMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetMessagesQuery, Types.GetMessagesQueryVariables, "complete" | "empty" | "streaming">;
|
|
1606
|
-
export declare function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>;
|
|
1607
|
-
export declare function useGetMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMessagesQuery | undefined, Types.GetMessagesQueryVariables>;
|
|
1608
|
-
export type GetMessagesQueryHookResult = ReturnType<typeof useGetMessagesQuery>;
|
|
1609
|
-
export type GetMessagesLazyQueryHookResult = ReturnType<typeof useGetMessagesLazyQuery>;
|
|
1610
|
-
export type GetMessagesSuspenseQueryHookResult = ReturnType<typeof useGetMessagesSuspenseQuery>;
|
|
1611
|
-
export type GetMessagesQueryResult = Apollo.QueryResult<Types.GetMessagesQuery, Types.GetMessagesQueryVariables>;
|
|
1612
|
-
export declare const GetPresenceDocument: Apollo.DocumentNode;
|
|
1613
|
-
/**
|
|
1614
|
-
* __useGetPresenceQuery__
|
|
1615
|
-
*
|
|
1616
|
-
* To run a query within a React component, call `useGetPresenceQuery` and pass it any options that fit your needs.
|
|
1617
|
-
* When your component renders, `useGetPresenceQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1618
|
-
* you can use to render your UI.
|
|
1619
|
-
*
|
|
1620
|
-
* @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;
|
|
1621
|
-
*
|
|
1622
|
-
* @example
|
|
1623
|
-
* const { data, loading, error } = useGetPresenceQuery({
|
|
1624
|
-
* variables: {
|
|
1625
|
-
* userIds: // value for 'userIds'
|
|
1626
|
-
* },
|
|
1627
|
-
* });
|
|
1628
|
-
*/
|
|
1629
|
-
export declare function useGetPresenceQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables> & ({
|
|
1630
|
-
variables: Types.GetPresenceQueryVariables;
|
|
1631
|
-
skip?: boolean;
|
|
1632
|
-
} | {
|
|
1633
|
-
skip: boolean;
|
|
1634
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetPresenceQuery, Types.GetPresenceQueryVariables, "complete" | "empty" | "streaming", Types.GetPresenceQueryVariables>;
|
|
1635
|
-
export declare function useGetPresenceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetPresenceQuery, Types.GetPresenceQueryVariables, "complete" | "empty" | "streaming">;
|
|
1636
|
-
export declare function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>;
|
|
1637
|
-
export declare function useGetPresenceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPresenceQuery | undefined, Types.GetPresenceQueryVariables>;
|
|
1638
|
-
export type GetPresenceQueryHookResult = ReturnType<typeof useGetPresenceQuery>;
|
|
1639
|
-
export type GetPresenceLazyQueryHookResult = ReturnType<typeof useGetPresenceLazyQuery>;
|
|
1640
|
-
export type GetPresenceSuspenseQueryHookResult = ReturnType<typeof useGetPresenceSuspenseQuery>;
|
|
1641
|
-
export type GetPresenceQueryResult = Apollo.QueryResult<Types.GetPresenceQuery, Types.GetPresenceQueryVariables>;
|
|
1642
|
-
export declare const GetThreadMessagesDocument: Apollo.DocumentNode;
|
|
1643
|
-
/**
|
|
1644
|
-
* __useGetThreadMessagesQuery__
|
|
1645
|
-
*
|
|
1646
|
-
* To run a query within a React component, call `useGetThreadMessagesQuery` and pass it any options that fit your needs.
|
|
1647
|
-
* When your component renders, `useGetThreadMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1648
|
-
* you can use to render your UI.
|
|
1649
|
-
*
|
|
1650
|
-
* @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;
|
|
1651
|
-
*
|
|
1652
|
-
* @example
|
|
1653
|
-
* const { data, loading, error } = useGetThreadMessagesQuery({
|
|
1654
|
-
* variables: {
|
|
1655
|
-
* messageId: // value for 'messageId'
|
|
1656
|
-
* first: // value for 'first'
|
|
1657
|
-
* after: // value for 'after'
|
|
1658
|
-
* },
|
|
1659
|
-
* });
|
|
1660
|
-
*/
|
|
1661
|
-
export declare function useGetThreadMessagesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables> & ({
|
|
1662
|
-
variables: Types.GetThreadMessagesQueryVariables;
|
|
1663
|
-
skip?: boolean;
|
|
1664
|
-
} | {
|
|
1665
|
-
skip: boolean;
|
|
1666
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables, "complete" | "empty" | "streaming", Types.GetThreadMessagesQueryVariables>;
|
|
1667
|
-
export declare function useGetThreadMessagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables, "complete" | "empty" | "streaming">;
|
|
1668
|
-
export declare function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>;
|
|
1669
|
-
export declare function useGetThreadMessagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetThreadMessagesQuery | undefined, Types.GetThreadMessagesQueryVariables>;
|
|
1670
|
-
export type GetThreadMessagesQueryHookResult = ReturnType<typeof useGetThreadMessagesQuery>;
|
|
1671
|
-
export type GetThreadMessagesLazyQueryHookResult = ReturnType<typeof useGetThreadMessagesLazyQuery>;
|
|
1672
|
-
export type GetThreadMessagesSuspenseQueryHookResult = ReturnType<typeof useGetThreadMessagesSuspenseQuery>;
|
|
1673
|
-
export type GetThreadMessagesQueryResult = Apollo.QueryResult<Types.GetThreadMessagesQuery, Types.GetThreadMessagesQueryVariables>;
|
|
1674
|
-
export declare const SearchConversationsDocument: Apollo.DocumentNode;
|
|
1675
|
-
/**
|
|
1676
|
-
* __useSearchConversationsQuery__
|
|
1677
|
-
*
|
|
1678
|
-
* To run a query within a React component, call `useSearchConversationsQuery` and pass it any options that fit your needs.
|
|
1679
|
-
* When your component renders, `useSearchConversationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1680
|
-
* you can use to render your UI.
|
|
1681
|
-
*
|
|
1682
|
-
* @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;
|
|
1683
|
-
*
|
|
1684
|
-
* @example
|
|
1685
|
-
* const { data, loading, error } = useSearchConversationsQuery({
|
|
1686
|
-
* variables: {
|
|
1687
|
-
* query: // value for 'query'
|
|
1688
|
-
* first: // value for 'first'
|
|
1689
|
-
* after: // value for 'after'
|
|
1690
|
-
* filter: // value for 'filter'
|
|
1691
|
-
* },
|
|
1692
|
-
* });
|
|
1693
|
-
*/
|
|
1694
|
-
export declare function useSearchConversationsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables> & ({
|
|
1695
|
-
variables: Types.SearchConversationsQueryVariables;
|
|
1696
|
-
skip?: boolean;
|
|
1697
|
-
} | {
|
|
1698
|
-
skip: boolean;
|
|
1699
|
-
})): ApolloReactHooks.useQuery.Result<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables, "complete" | "empty" | "streaming", Types.SearchConversationsQueryVariables>;
|
|
1700
|
-
export declare function useSearchConversationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables, "complete" | "empty" | "streaming">;
|
|
1701
|
-
export declare function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>;
|
|
1702
|
-
export declare function useSearchConversationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchConversationsQuery | undefined, Types.SearchConversationsQueryVariables>;
|
|
1703
|
-
export type SearchConversationsQueryHookResult = ReturnType<typeof useSearchConversationsQuery>;
|
|
1704
|
-
export type SearchConversationsLazyQueryHookResult = ReturnType<typeof useSearchConversationsLazyQuery>;
|
|
1705
|
-
export type SearchConversationsSuspenseQueryHookResult = ReturnType<typeof useSearchConversationsSuspenseQuery>;
|
|
1706
|
-
export type SearchConversationsQueryResult = Apollo.QueryResult<Types.SearchConversationsQuery, Types.SearchConversationsQueryVariables>;
|
|
1707
|
-
export declare const SearchMessagesByHookDocument: Apollo.DocumentNode;
|
|
1708
|
-
/**
|
|
1709
|
-
* __useSearchMessagesByHookQuery__
|
|
1710
|
-
*
|
|
1711
|
-
* To run a query within a React component, call `useSearchMessagesByHookQuery` and pass it any options that fit your needs.
|
|
1712
|
-
* When your component renders, `useSearchMessagesByHookQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1713
|
-
* you can use to render your UI.
|
|
1714
|
-
*
|
|
1715
|
-
* @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;
|
|
1716
|
-
*
|
|
1717
|
-
* @example
|
|
1718
|
-
* const { data, loading, error } = useSearchMessagesByHookQuery({
|
|
1719
|
-
* variables: {
|
|
1720
|
-
* query: // value for 'query'
|
|
1721
|
-
* conversationId: // value for 'conversationId'
|
|
1722
|
-
* first: // value for 'first'
|
|
1723
|
-
* },
|
|
1724
|
-
* });
|
|
1725
|
-
*/
|
|
1726
|
-
export declare function useSearchMessagesByHookQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables> & ({
|
|
1727
|
-
variables: Types.SearchMessagesByHookQueryVariables;
|
|
1728
|
-
skip?: boolean;
|
|
1729
|
-
} | {
|
|
1730
|
-
skip: boolean;
|
|
1731
|
-
})): ApolloReactHooks.useQuery.Result<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables, "complete" | "empty" | "streaming", Types.SearchMessagesByHookQueryVariables>;
|
|
1732
|
-
export declare function useSearchMessagesByHookLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables, "complete" | "empty" | "streaming">;
|
|
1733
|
-
export declare function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>;
|
|
1734
|
-
export declare function useSearchMessagesByHookSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.SearchMessagesByHookQuery | undefined, Types.SearchMessagesByHookQueryVariables>;
|
|
1735
|
-
export type SearchMessagesByHookQueryHookResult = ReturnType<typeof useSearchMessagesByHookQuery>;
|
|
1736
|
-
export type SearchMessagesByHookLazyQueryHookResult = ReturnType<typeof useSearchMessagesByHookLazyQuery>;
|
|
1737
|
-
export type SearchMessagesByHookSuspenseQueryHookResult = ReturnType<typeof useSearchMessagesByHookSuspenseQuery>;
|
|
1738
|
-
export type SearchMessagesByHookQueryResult = Apollo.QueryResult<Types.SearchMessagesByHookQuery, Types.SearchMessagesByHookQueryVariables>;
|
|
1739
|
-
export declare const ConversationAddedDocument: Apollo.DocumentNode;
|
|
1740
|
-
/**
|
|
1741
|
-
* __useConversationAddedSubscription__
|
|
1742
|
-
*
|
|
1743
|
-
* To run a query within a React component, call `useConversationAddedSubscription` and pass it any options that fit your needs.
|
|
1744
|
-
* When your component renders, `useConversationAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1745
|
-
* you can use to render your UI.
|
|
1746
|
-
*
|
|
1747
|
-
* @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;
|
|
1748
|
-
*
|
|
1749
|
-
* @example
|
|
1750
|
-
* const { data, loading, error } = useConversationAddedSubscription({
|
|
1751
|
-
* variables: {
|
|
1752
|
-
* },
|
|
1753
|
-
* });
|
|
1754
|
-
*/
|
|
1755
|
-
export declare function useConversationAddedSubscription(baseOptions?: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationAddedSubscription, Types.ConversationAddedSubscriptionVariables>): ApolloReactHooks.useSubscription.Result<Types.ConversationAddedSubscription>;
|
|
1756
|
-
export type ConversationAddedSubscriptionHookResult = ReturnType<typeof useConversationAddedSubscription>;
|
|
1757
|
-
export type ConversationAddedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationAddedSubscription>;
|
|
1758
|
-
export declare const ConversationUpdatedDocument: Apollo.DocumentNode;
|
|
1759
|
-
/**
|
|
1760
|
-
* __useConversationUpdatedSubscription__
|
|
1761
|
-
*
|
|
1762
|
-
* To run a query within a React component, call `useConversationUpdatedSubscription` and pass it any options that fit your needs.
|
|
1763
|
-
* When your component renders, `useConversationUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1764
|
-
* you can use to render your UI.
|
|
1765
|
-
*
|
|
1766
|
-
* @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;
|
|
1767
|
-
*
|
|
1768
|
-
* @example
|
|
1769
|
-
* const { data, loading, error } = useConversationUpdatedSubscription({
|
|
1770
|
-
* variables: {
|
|
1771
|
-
* conversationId: // value for 'conversationId'
|
|
1772
|
-
* },
|
|
1773
|
-
* });
|
|
1774
|
-
*/
|
|
1775
|
-
export declare function useConversationUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationUpdatedSubscription, Types.ConversationUpdatedSubscriptionVariables> & ({
|
|
1776
|
-
variables: Types.ConversationUpdatedSubscriptionVariables;
|
|
1777
|
-
skip?: boolean;
|
|
1778
|
-
} | {
|
|
1779
|
-
skip: boolean;
|
|
1780
|
-
})): ApolloReactHooks.useSubscription.Result<Types.ConversationUpdatedSubscription>;
|
|
1781
|
-
export type ConversationUpdatedSubscriptionHookResult = ReturnType<typeof useConversationUpdatedSubscription>;
|
|
1782
|
-
export type ConversationUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationUpdatedSubscription>;
|
|
1783
|
-
export declare const ConversationDeletedDocument: Apollo.DocumentNode;
|
|
1784
|
-
/**
|
|
1785
|
-
* __useConversationDeletedSubscription__
|
|
1786
|
-
*
|
|
1787
|
-
* To run a query within a React component, call `useConversationDeletedSubscription` and pass it any options that fit your needs.
|
|
1788
|
-
* When your component renders, `useConversationDeletedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1789
|
-
* you can use to render your UI.
|
|
1790
|
-
*
|
|
1791
|
-
* @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;
|
|
1792
|
-
*
|
|
1793
|
-
* @example
|
|
1794
|
-
* const { data, loading, error } = useConversationDeletedSubscription({
|
|
1795
|
-
* variables: {
|
|
1796
|
-
* conversationId: // value for 'conversationId'
|
|
1797
|
-
* },
|
|
1798
|
-
* });
|
|
1799
|
-
*/
|
|
1800
|
-
export declare function useConversationDeletedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ConversationDeletedSubscription, Types.ConversationDeletedSubscriptionVariables> & ({
|
|
1801
|
-
variables: Types.ConversationDeletedSubscriptionVariables;
|
|
1802
|
-
skip?: boolean;
|
|
1803
|
-
} | {
|
|
1804
|
-
skip: boolean;
|
|
1805
|
-
})): ApolloReactHooks.useSubscription.Result<Types.ConversationDeletedSubscription>;
|
|
1806
|
-
export type ConversationDeletedSubscriptionHookResult = ReturnType<typeof useConversationDeletedSubscription>;
|
|
1807
|
-
export type ConversationDeletedSubscriptionResult = Apollo.SubscriptionResult<Types.ConversationDeletedSubscription>;
|
|
1808
|
-
export declare const ParticipantChangedDocument: Apollo.DocumentNode;
|
|
1809
|
-
/**
|
|
1810
|
-
* __useParticipantChangedSubscription__
|
|
1811
|
-
*
|
|
1812
|
-
* To run a query within a React component, call `useParticipantChangedSubscription` and pass it any options that fit your needs.
|
|
1813
|
-
* When your component renders, `useParticipantChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1814
|
-
* you can use to render your UI.
|
|
1815
|
-
*
|
|
1816
|
-
* @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;
|
|
1817
|
-
*
|
|
1818
|
-
* @example
|
|
1819
|
-
* const { data, loading, error } = useParticipantChangedSubscription({
|
|
1820
|
-
* variables: {
|
|
1821
|
-
* conversationId: // value for 'conversationId'
|
|
1822
|
-
* },
|
|
1823
|
-
* });
|
|
1824
|
-
*/
|
|
1825
|
-
export declare function useParticipantChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.ParticipantChangedSubscription, Types.ParticipantChangedSubscriptionVariables> & ({
|
|
1826
|
-
variables: Types.ParticipantChangedSubscriptionVariables;
|
|
1827
|
-
skip?: boolean;
|
|
1828
|
-
} | {
|
|
1829
|
-
skip: boolean;
|
|
1830
|
-
})): ApolloReactHooks.useSubscription.Result<Types.ParticipantChangedSubscription>;
|
|
1831
|
-
export type ParticipantChangedSubscriptionHookResult = ReturnType<typeof useParticipantChangedSubscription>;
|
|
1832
|
-
export type ParticipantChangedSubscriptionResult = Apollo.SubscriptionResult<Types.ParticipantChangedSubscription>;
|
|
1833
|
-
export declare const MessageAddedDocument: Apollo.DocumentNode;
|
|
1834
|
-
/**
|
|
1835
|
-
* __useMessageAddedSubscription__
|
|
1836
|
-
*
|
|
1837
|
-
* To run a query within a React component, call `useMessageAddedSubscription` and pass it any options that fit your needs.
|
|
1838
|
-
* When your component renders, `useMessageAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1839
|
-
* you can use to render your UI.
|
|
1840
|
-
*
|
|
1841
|
-
* @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;
|
|
1842
|
-
*
|
|
1843
|
-
* @example
|
|
1844
|
-
* const { data, loading, error } = useMessageAddedSubscription({
|
|
1845
|
-
* variables: {
|
|
1846
|
-
* conversationId: // value for 'conversationId'
|
|
1847
|
-
* },
|
|
1848
|
-
* });
|
|
1849
|
-
*/
|
|
1850
|
-
export declare function useMessageAddedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageAddedSubscription, Types.MessageAddedSubscriptionVariables> & ({
|
|
1851
|
-
variables: Types.MessageAddedSubscriptionVariables;
|
|
1852
|
-
skip?: boolean;
|
|
1853
|
-
} | {
|
|
1854
|
-
skip: boolean;
|
|
1855
|
-
})): ApolloReactHooks.useSubscription.Result<Types.MessageAddedSubscription>;
|
|
1856
|
-
export type MessageAddedSubscriptionHookResult = ReturnType<typeof useMessageAddedSubscription>;
|
|
1857
|
-
export type MessageAddedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageAddedSubscription>;
|
|
1858
|
-
export declare const MessageUpdatedDocument: Apollo.DocumentNode;
|
|
1859
|
-
/**
|
|
1860
|
-
* __useMessageUpdatedSubscription__
|
|
1861
|
-
*
|
|
1862
|
-
* To run a query within a React component, call `useMessageUpdatedSubscription` and pass it any options that fit your needs.
|
|
1863
|
-
* When your component renders, `useMessageUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1864
|
-
* you can use to render your UI.
|
|
1865
|
-
*
|
|
1866
|
-
* @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;
|
|
1867
|
-
*
|
|
1868
|
-
* @example
|
|
1869
|
-
* const { data, loading, error } = useMessageUpdatedSubscription({
|
|
1870
|
-
* variables: {
|
|
1871
|
-
* conversationId: // value for 'conversationId'
|
|
1872
|
-
* },
|
|
1873
|
-
* });
|
|
1874
|
-
*/
|
|
1875
|
-
export declare function useMessageUpdatedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageUpdatedSubscription, Types.MessageUpdatedSubscriptionVariables> & ({
|
|
1876
|
-
variables: Types.MessageUpdatedSubscriptionVariables;
|
|
1877
|
-
skip?: boolean;
|
|
1878
|
-
} | {
|
|
1879
|
-
skip: boolean;
|
|
1880
|
-
})): ApolloReactHooks.useSubscription.Result<Types.MessageUpdatedSubscription>;
|
|
1881
|
-
export type MessageUpdatedSubscriptionHookResult = ReturnType<typeof useMessageUpdatedSubscription>;
|
|
1882
|
-
export type MessageUpdatedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageUpdatedSubscription>;
|
|
1883
|
-
export declare const MessageDeletedDocument: Apollo.DocumentNode;
|
|
1884
|
-
/**
|
|
1885
|
-
* __useMessageDeletedSubscription__
|
|
1886
|
-
*
|
|
1887
|
-
* To run a query within a React component, call `useMessageDeletedSubscription` and pass it any options that fit your needs.
|
|
1888
|
-
* When your component renders, `useMessageDeletedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1889
|
-
* you can use to render your UI.
|
|
1890
|
-
*
|
|
1891
|
-
* @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;
|
|
1892
|
-
*
|
|
1893
|
-
* @example
|
|
1894
|
-
* const { data, loading, error } = useMessageDeletedSubscription({
|
|
1895
|
-
* variables: {
|
|
1896
|
-
* conversationId: // value for 'conversationId'
|
|
1897
|
-
* },
|
|
1898
|
-
* });
|
|
1899
|
-
*/
|
|
1900
|
-
export declare function useMessageDeletedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageDeletedSubscription, Types.MessageDeletedSubscriptionVariables> & ({
|
|
1901
|
-
variables: Types.MessageDeletedSubscriptionVariables;
|
|
1902
|
-
skip?: boolean;
|
|
1903
|
-
} | {
|
|
1904
|
-
skip: boolean;
|
|
1905
|
-
})): ApolloReactHooks.useSubscription.Result<Types.MessageDeletedSubscription>;
|
|
1906
|
-
export type MessageDeletedSubscriptionHookResult = ReturnType<typeof useMessageDeletedSubscription>;
|
|
1907
|
-
export type MessageDeletedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageDeletedSubscription>;
|
|
1908
|
-
export declare const MessageReactionChangedDocument: Apollo.DocumentNode;
|
|
1909
|
-
/**
|
|
1910
|
-
* __useMessageReactionChangedSubscription__
|
|
1911
|
-
*
|
|
1912
|
-
* To run a query within a React component, call `useMessageReactionChangedSubscription` and pass it any options that fit your needs.
|
|
1913
|
-
* When your component renders, `useMessageReactionChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1914
|
-
* you can use to render your UI.
|
|
1915
|
-
*
|
|
1916
|
-
* @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;
|
|
1917
|
-
*
|
|
1918
|
-
* @example
|
|
1919
|
-
* const { data, loading, error } = useMessageReactionChangedSubscription({
|
|
1920
|
-
* variables: {
|
|
1921
|
-
* messageId: // value for 'messageId'
|
|
1922
|
-
* },
|
|
1923
|
-
* });
|
|
1924
|
-
*/
|
|
1925
|
-
export declare function useMessageReactionChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageReactionChangedSubscription, Types.MessageReactionChangedSubscriptionVariables> & ({
|
|
1926
|
-
variables: Types.MessageReactionChangedSubscriptionVariables;
|
|
1927
|
-
skip?: boolean;
|
|
1928
|
-
} | {
|
|
1929
|
-
skip: boolean;
|
|
1930
|
-
})): ApolloReactHooks.useSubscription.Result<Types.MessageReactionChangedSubscription>;
|
|
1931
|
-
export type MessageReactionChangedSubscriptionHookResult = ReturnType<typeof useMessageReactionChangedSubscription>;
|
|
1932
|
-
export type MessageReactionChangedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageReactionChangedSubscription>;
|
|
1933
|
-
export declare const MessageReadReceiptAddedDocument: Apollo.DocumentNode;
|
|
1934
|
-
/**
|
|
1935
|
-
* __useMessageReadReceiptAddedSubscription__
|
|
1936
|
-
*
|
|
1937
|
-
* To run a query within a React component, call `useMessageReadReceiptAddedSubscription` and pass it any options that fit your needs.
|
|
1938
|
-
* When your component renders, `useMessageReadReceiptAddedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1939
|
-
* you can use to render your UI.
|
|
1940
|
-
*
|
|
1941
|
-
* @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;
|
|
1942
|
-
*
|
|
1943
|
-
* @example
|
|
1944
|
-
* const { data, loading, error } = useMessageReadReceiptAddedSubscription({
|
|
1945
|
-
* variables: {
|
|
1946
|
-
* messageId: // value for 'messageId'
|
|
1947
|
-
* },
|
|
1948
|
-
* });
|
|
1949
|
-
*/
|
|
1950
|
-
export declare function useMessageReadReceiptAddedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.MessageReadReceiptAddedSubscription, Types.MessageReadReceiptAddedSubscriptionVariables> & ({
|
|
1951
|
-
variables: Types.MessageReadReceiptAddedSubscriptionVariables;
|
|
1952
|
-
skip?: boolean;
|
|
1953
|
-
} | {
|
|
1954
|
-
skip: boolean;
|
|
1955
|
-
})): ApolloReactHooks.useSubscription.Result<Types.MessageReadReceiptAddedSubscription>;
|
|
1956
|
-
export type MessageReadReceiptAddedSubscriptionHookResult = ReturnType<typeof useMessageReadReceiptAddedSubscription>;
|
|
1957
|
-
export type MessageReadReceiptAddedSubscriptionResult = Apollo.SubscriptionResult<Types.MessageReadReceiptAddedSubscription>;
|
|
1958
|
-
export declare const TypingIndicatorDocument: Apollo.DocumentNode;
|
|
1959
|
-
/**
|
|
1960
|
-
* __useTypingIndicatorSubscription__
|
|
1961
|
-
*
|
|
1962
|
-
* To run a query within a React component, call `useTypingIndicatorSubscription` and pass it any options that fit your needs.
|
|
1963
|
-
* When your component renders, `useTypingIndicatorSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1964
|
-
* you can use to render your UI.
|
|
1965
|
-
*
|
|
1966
|
-
* @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;
|
|
1967
|
-
*
|
|
1968
|
-
* @example
|
|
1969
|
-
* const { data, loading, error } = useTypingIndicatorSubscription({
|
|
1970
|
-
* variables: {
|
|
1971
|
-
* conversationId: // value for 'conversationId'
|
|
1972
|
-
* },
|
|
1973
|
-
* });
|
|
1974
|
-
*/
|
|
1975
|
-
export declare function useTypingIndicatorSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.TypingIndicatorSubscription, Types.TypingIndicatorSubscriptionVariables> & ({
|
|
1976
|
-
variables: Types.TypingIndicatorSubscriptionVariables;
|
|
1977
|
-
skip?: boolean;
|
|
1978
|
-
} | {
|
|
1979
|
-
skip: boolean;
|
|
1980
|
-
})): ApolloReactHooks.useSubscription.Result<Types.TypingIndicatorSubscription>;
|
|
1981
|
-
export type TypingIndicatorSubscriptionHookResult = ReturnType<typeof useTypingIndicatorSubscription>;
|
|
1982
|
-
export type TypingIndicatorSubscriptionResult = Apollo.SubscriptionResult<Types.TypingIndicatorSubscription>;
|
|
1983
|
-
export declare const PresenceChangedDocument: Apollo.DocumentNode;
|
|
1984
|
-
/**
|
|
1985
|
-
* __usePresenceChangedSubscription__
|
|
1986
|
-
*
|
|
1987
|
-
* To run a query within a React component, call `usePresenceChangedSubscription` and pass it any options that fit your needs.
|
|
1988
|
-
* When your component renders, `usePresenceChangedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1989
|
-
* you can use to render your UI.
|
|
1990
|
-
*
|
|
1991
|
-
* @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;
|
|
1992
|
-
*
|
|
1993
|
-
* @example
|
|
1994
|
-
* const { data, loading, error } = usePresenceChangedSubscription({
|
|
1995
|
-
* variables: {
|
|
1996
|
-
* userIds: // value for 'userIds'
|
|
1997
|
-
* },
|
|
1998
|
-
* });
|
|
1999
|
-
*/
|
|
2000
|
-
export declare function usePresenceChangedSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.PresenceChangedSubscription, Types.PresenceChangedSubscriptionVariables> & ({
|
|
2001
|
-
variables: Types.PresenceChangedSubscriptionVariables;
|
|
2002
|
-
skip?: boolean;
|
|
2003
|
-
} | {
|
|
2004
|
-
skip: boolean;
|
|
2005
|
-
})): ApolloReactHooks.useSubscription.Result<Types.PresenceChangedSubscription>;
|
|
2006
|
-
export type PresenceChangedSubscriptionHookResult = ReturnType<typeof usePresenceChangedSubscription>;
|
|
2007
|
-
export type PresenceChangedSubscriptionResult = Apollo.SubscriptionResult<Types.PresenceChangedSubscription>;
|
|
2008
|
-
//# sourceMappingURL=wspace-operations.d.ts.map
|