@otto-code/protocol 0.8.9 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-queue.d.ts +87 -0
- package/dist/agent-queue.js +106 -0
- package/dist/brain.d.ts +2321 -0
- package/dist/brain.js +1082 -0
- package/dist/client-capabilities.d.ts +2 -0
- package/dist/client-capabilities.js +10 -0
- package/dist/code-intelligence.d.ts +917 -0
- package/dist/code-intelligence.js +699 -0
- package/dist/communications.d.ts +1106 -0
- package/dist/communications.js +384 -0
- package/dist/context.d.ts +787 -0
- package/dist/context.js +295 -0
- package/dist/daemon-config.d.ts +377 -0
- package/dist/daemon-config.js +395 -0
- package/dist/file-operations.d.ts +380 -0
- package/dist/file-operations.js +282 -0
- package/dist/generated/validation/ws-outbound.aot.js +54927 -48878
- package/dist/git-hosting.d.ts +117 -0
- package/dist/git-hosting.js +109 -0
- package/dist/git-operations.d.ts +255 -0
- package/dist/git-operations.js +221 -0
- package/dist/integration-authorization.d.ts +195 -0
- package/dist/integration-authorization.js +125 -0
- package/dist/kanban.d.ts +341 -0
- package/dist/kanban.js +273 -0
- package/dist/loop/rpc-schemas.d.ts +6 -6
- package/dist/meetings.d.ts +95 -0
- package/dist/meetings.js +57 -0
- package/dist/messages.d.ts +21054 -24042
- package/dist/messages.js +4355 -8731
- package/dist/orchestration.d.ts +726 -0
- package/dist/orchestration.js +232 -0
- package/dist/personality-schemas.d.ts +221 -0
- package/dist/personality-schemas.js +340 -0
- package/dist/preview.d.ts +140 -0
- package/dist/preview.js +98 -0
- package/dist/project-knowledge.d.ts +740 -0
- package/dist/project-knowledge.js +229 -0
- package/dist/project-links.d.ts +102 -0
- package/dist/project-links.js +62 -0
- package/dist/provider-config.d.ts +87 -2
- package/dist/provider-config.js +110 -0
- package/dist/refine.d.ts +93 -0
- package/dist/refine.js +78 -0
- package/dist/schedule/rpc-schemas.d.ts +47 -47
- package/dist/schedule/types.d.ts +13 -13
- package/dist/speech.d.ts +180 -0
- package/dist/speech.js +177 -0
- package/dist/storage.d.ts +79 -0
- package/dist/storage.js +107 -0
- package/dist/suggested-tasks.d.ts +106 -0
- package/dist/suggested-tasks.js +81 -0
- package/dist/terminal-compatibility.d.ts +55 -0
- package/dist/terminal-compatibility.js +35 -0
- package/dist/usage-stats.d.ts +255 -0
- package/dist/usage-stats.js +162 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +1404 -274
- package/dist/worktree-ops.d.ts +81 -0
- package/dist/worktree-ops.js +88 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1106 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Provider-neutral communications vocabulary. Provider adapters translate their
|
|
4
|
+
* native models at this boundary; provider-specific identifiers never escape it.
|
|
5
|
+
*
|
|
6
|
+
* This deliberately describes the read model only. Connection credentials,
|
|
7
|
+
* provider OAuth mechanics, message composition, and notification policy have
|
|
8
|
+
* separate lifecycles and must not leak into the common conversation model.
|
|
9
|
+
*/
|
|
10
|
+
export declare const CommunicationProviderIdSchema: z.ZodString;
|
|
11
|
+
export declare const CommunicationProviderConnectionStateSchema: z.ZodEnum<{
|
|
12
|
+
error: "error";
|
|
13
|
+
disconnected: "disconnected";
|
|
14
|
+
connecting: "connecting";
|
|
15
|
+
connected: "connected";
|
|
16
|
+
reauth_required: "reauth_required";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const CommunicationProviderSummarySchema: z.ZodObject<{
|
|
19
|
+
providerId: z.ZodString;
|
|
20
|
+
label: z.ZodString;
|
|
21
|
+
connectionState: z.ZodEnum<{
|
|
22
|
+
error: "error";
|
|
23
|
+
disconnected: "disconnected";
|
|
24
|
+
connecting: "connecting";
|
|
25
|
+
connected: "connected";
|
|
26
|
+
reauth_required: "reauth_required";
|
|
27
|
+
}>;
|
|
28
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
29
|
+
error: z.ZodNullable<z.ZodString>;
|
|
30
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
/**
|
|
33
|
+
* Presence is intentionally a small common vocabulary. Providers retain richer
|
|
34
|
+
* client-only states as `unknown` while carrying an optional observed display
|
|
35
|
+
* label where presenting that distinction matters.
|
|
36
|
+
*/
|
|
37
|
+
export declare const CommunicationPresenceStatusSchema: z.ZodEnum<{
|
|
38
|
+
unknown: "unknown";
|
|
39
|
+
available: "available";
|
|
40
|
+
busy: "busy";
|
|
41
|
+
do_not_disturb: "do_not_disturb";
|
|
42
|
+
away: "away";
|
|
43
|
+
out_of_office: "out_of_office";
|
|
44
|
+
}>;
|
|
45
|
+
export declare const CommunicationPresenceSchema: z.ZodObject<{
|
|
46
|
+
providerId: z.ZodString;
|
|
47
|
+
status: z.ZodEnum<{
|
|
48
|
+
unknown: "unknown";
|
|
49
|
+
available: "available";
|
|
50
|
+
busy: "busy";
|
|
51
|
+
do_not_disturb: "do_not_disturb";
|
|
52
|
+
away: "away";
|
|
53
|
+
out_of_office: "out_of_office";
|
|
54
|
+
}>;
|
|
55
|
+
observedStatusLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
canSetStatus: z.ZodBoolean;
|
|
57
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
statusChangeAvailableAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
statusChangeAvailableInMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
+
pendingStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
61
|
+
unknown: "unknown";
|
|
62
|
+
available: "available";
|
|
63
|
+
busy: "busy";
|
|
64
|
+
do_not_disturb: "do_not_disturb";
|
|
65
|
+
away: "away";
|
|
66
|
+
out_of_office: "out_of_office";
|
|
67
|
+
}>>>;
|
|
68
|
+
statusChangeError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
/**
|
|
71
|
+
* A provider's conversation categorization, normalized only as far as Otto can
|
|
72
|
+
* present it honestly. Providers with richer topology retain it inside their
|
|
73
|
+
* adapter instead of expanding this shared enum.
|
|
74
|
+
*/
|
|
75
|
+
export declare const CommunicationConversationKindSchema: z.ZodEnum<{
|
|
76
|
+
unknown: "unknown";
|
|
77
|
+
direct: "direct";
|
|
78
|
+
group: "group";
|
|
79
|
+
channel: "channel";
|
|
80
|
+
}>;
|
|
81
|
+
export declare const CommunicationConversationSummarySchema: z.ZodObject<{
|
|
82
|
+
providerId: z.ZodString;
|
|
83
|
+
conversationId: z.ZodString;
|
|
84
|
+
kind: z.ZodEnum<{
|
|
85
|
+
unknown: "unknown";
|
|
86
|
+
direct: "direct";
|
|
87
|
+
group: "group";
|
|
88
|
+
channel: "channel";
|
|
89
|
+
}>;
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
92
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
93
|
+
unreadCount: z.ZodNumber;
|
|
94
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
/**
|
|
98
|
+
* A compact, selectable destination returned by a provider's search. The
|
|
99
|
+
* destination is deliberately a conversation summary so choosing either a
|
|
100
|
+
* person or a channel follows the same open/send path without exposing a
|
|
101
|
+
* provider's contact object to the renderer.
|
|
102
|
+
*/
|
|
103
|
+
export declare const CommunicationSearchResultSchema: z.ZodObject<{
|
|
104
|
+
providerId: z.ZodString;
|
|
105
|
+
category: z.ZodEnum<{
|
|
106
|
+
conversation: "conversation";
|
|
107
|
+
person: "person";
|
|
108
|
+
}>;
|
|
109
|
+
conversation: z.ZodObject<{
|
|
110
|
+
providerId: z.ZodString;
|
|
111
|
+
conversationId: z.ZodString;
|
|
112
|
+
kind: z.ZodEnum<{
|
|
113
|
+
unknown: "unknown";
|
|
114
|
+
direct: "direct";
|
|
115
|
+
group: "group";
|
|
116
|
+
channel: "channel";
|
|
117
|
+
}>;
|
|
118
|
+
title: z.ZodString;
|
|
119
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
120
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
121
|
+
unreadCount: z.ZodNumber;
|
|
122
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
126
|
+
presenceStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
127
|
+
unknown: "unknown";
|
|
128
|
+
available: "available";
|
|
129
|
+
busy: "busy";
|
|
130
|
+
do_not_disturb: "do_not_disturb";
|
|
131
|
+
away: "away";
|
|
132
|
+
out_of_office: "out_of_office";
|
|
133
|
+
}>>>;
|
|
134
|
+
presenceLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
/** A provider-confirmed aggregate attached to one stable message identity. */
|
|
137
|
+
export declare const CommunicationReactionSchema: z.ZodObject<{
|
|
138
|
+
emoji: z.ZodString;
|
|
139
|
+
count: z.ZodNumber;
|
|
140
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
/** The message affordances the connected provider can actually honor. */
|
|
143
|
+
export declare const CommunicationRoomCapabilitiesSchema: z.ZodObject<{
|
|
144
|
+
canCompose: z.ZodBoolean;
|
|
145
|
+
canReply: z.ZodBoolean;
|
|
146
|
+
canRetrieveThreads: z.ZodBoolean;
|
|
147
|
+
canReact: z.ZodBoolean;
|
|
148
|
+
canMarkRead: z.ZodBoolean;
|
|
149
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
/**
|
|
152
|
+
* A room message has a stable provider identity and an explicit parent link.
|
|
153
|
+
* Renderers must never infer thread topology from chronology or indentation.
|
|
154
|
+
*/
|
|
155
|
+
export declare const CommunicationMessageSchema: z.ZodObject<{
|
|
156
|
+
providerId: z.ZodString;
|
|
157
|
+
conversationId: z.ZodString;
|
|
158
|
+
messageId: z.ZodString;
|
|
159
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
160
|
+
text: z.ZodString;
|
|
161
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
162
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
167
|
+
emoji: z.ZodString;
|
|
168
|
+
count: z.ZodNumber;
|
|
169
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
+
}, z.core.$strip>>>;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
/** The durable room read model shared by popup and workspace-tab surfaces. */
|
|
173
|
+
export declare const CommunicationRoomSchema: z.ZodObject<{
|
|
174
|
+
conversation: z.ZodObject<{
|
|
175
|
+
providerId: z.ZodString;
|
|
176
|
+
conversationId: z.ZodString;
|
|
177
|
+
kind: z.ZodEnum<{
|
|
178
|
+
unknown: "unknown";
|
|
179
|
+
direct: "direct";
|
|
180
|
+
group: "group";
|
|
181
|
+
channel: "channel";
|
|
182
|
+
}>;
|
|
183
|
+
title: z.ZodString;
|
|
184
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
185
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
186
|
+
unreadCount: z.ZodNumber;
|
|
187
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
191
|
+
providerId: z.ZodString;
|
|
192
|
+
conversationId: z.ZodString;
|
|
193
|
+
messageId: z.ZodString;
|
|
194
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
195
|
+
text: z.ZodString;
|
|
196
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
197
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
202
|
+
emoji: z.ZodString;
|
|
203
|
+
count: z.ZodNumber;
|
|
204
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
}, z.core.$strip>>>;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
capabilities: z.ZodObject<{
|
|
208
|
+
canCompose: z.ZodBoolean;
|
|
209
|
+
canReply: z.ZodBoolean;
|
|
210
|
+
canRetrieveThreads: z.ZodBoolean;
|
|
211
|
+
canReact: z.ZodBoolean;
|
|
212
|
+
canMarkRead: z.ZodBoolean;
|
|
213
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
/**
|
|
217
|
+
* A non-message grouping a provider exposes in its home surface, such as a
|
|
218
|
+
* shared space or a future provider's folder. It is intentionally not
|
|
219
|
+
* selectable as a conversation: an adapter must explicitly expose its child
|
|
220
|
+
* conversations before Otto can open it.
|
|
221
|
+
*/
|
|
222
|
+
export declare const CommunicationHomeCollectionSchema: z.ZodObject<{
|
|
223
|
+
providerId: z.ZodString;
|
|
224
|
+
collectionId: z.ZodString;
|
|
225
|
+
kind: z.ZodEnum<{
|
|
226
|
+
unknown: "unknown";
|
|
227
|
+
space: "space";
|
|
228
|
+
folder: "folder";
|
|
229
|
+
}>;
|
|
230
|
+
title: z.ZodString;
|
|
231
|
+
description: z.ZodNullable<z.ZodString>;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
export declare const CommunicationHomeSectionSchema: z.ZodObject<{
|
|
234
|
+
id: z.ZodString;
|
|
235
|
+
label: z.ZodString;
|
|
236
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
237
|
+
providerId: z.ZodString;
|
|
238
|
+
conversationId: z.ZodString;
|
|
239
|
+
kind: z.ZodEnum<{
|
|
240
|
+
unknown: "unknown";
|
|
241
|
+
direct: "direct";
|
|
242
|
+
group: "group";
|
|
243
|
+
channel: "channel";
|
|
244
|
+
}>;
|
|
245
|
+
title: z.ZodString;
|
|
246
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
247
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
248
|
+
unreadCount: z.ZodNumber;
|
|
249
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
+
}, z.core.$strip>>;
|
|
252
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
253
|
+
providerId: z.ZodString;
|
|
254
|
+
collectionId: z.ZodString;
|
|
255
|
+
kind: z.ZodEnum<{
|
|
256
|
+
unknown: "unknown";
|
|
257
|
+
space: "space";
|
|
258
|
+
folder: "folder";
|
|
259
|
+
}>;
|
|
260
|
+
title: z.ZodString;
|
|
261
|
+
description: z.ZodNullable<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
/**
|
|
265
|
+
* A local Otto notification. Acknowledging it only changes Otto's inbox
|
|
266
|
+
* projection; it is not evidence that a provider message was marked read.
|
|
267
|
+
*/
|
|
268
|
+
export declare const CommunicationNotificationSchema: z.ZodObject<{
|
|
269
|
+
notificationId: z.ZodString;
|
|
270
|
+
conversation: z.ZodObject<{
|
|
271
|
+
providerId: z.ZodString;
|
|
272
|
+
conversationId: z.ZodString;
|
|
273
|
+
kind: z.ZodEnum<{
|
|
274
|
+
unknown: "unknown";
|
|
275
|
+
direct: "direct";
|
|
276
|
+
group: "group";
|
|
277
|
+
channel: "channel";
|
|
278
|
+
}>;
|
|
279
|
+
title: z.ZodString;
|
|
280
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
281
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
282
|
+
unreadCount: z.ZodNumber;
|
|
283
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
/** A provider-owned, deliberately compact home surface for its chat topology. */
|
|
288
|
+
export declare const CommunicationsInboxHomeSchema: z.ZodObject<{
|
|
289
|
+
provider: z.ZodObject<{
|
|
290
|
+
providerId: z.ZodString;
|
|
291
|
+
label: z.ZodString;
|
|
292
|
+
connectionState: z.ZodEnum<{
|
|
293
|
+
error: "error";
|
|
294
|
+
disconnected: "disconnected";
|
|
295
|
+
connecting: "connecting";
|
|
296
|
+
connected: "connected";
|
|
297
|
+
reauth_required: "reauth_required";
|
|
298
|
+
}>;
|
|
299
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
300
|
+
error: z.ZodNullable<z.ZodString>;
|
|
301
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
label: z.ZodString;
|
|
306
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
307
|
+
providerId: z.ZodString;
|
|
308
|
+
conversationId: z.ZodString;
|
|
309
|
+
kind: z.ZodEnum<{
|
|
310
|
+
unknown: "unknown";
|
|
311
|
+
direct: "direct";
|
|
312
|
+
group: "group";
|
|
313
|
+
channel: "channel";
|
|
314
|
+
}>;
|
|
315
|
+
title: z.ZodString;
|
|
316
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
317
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
318
|
+
unreadCount: z.ZodNumber;
|
|
319
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
+
}, z.core.$strip>>;
|
|
322
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
323
|
+
providerId: z.ZodString;
|
|
324
|
+
collectionId: z.ZodString;
|
|
325
|
+
kind: z.ZodEnum<{
|
|
326
|
+
unknown: "unknown";
|
|
327
|
+
space: "space";
|
|
328
|
+
folder: "folder";
|
|
329
|
+
}>;
|
|
330
|
+
title: z.ZodString;
|
|
331
|
+
description: z.ZodNullable<z.ZodString>;
|
|
332
|
+
}, z.core.$strip>>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
334
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
335
|
+
notificationId: z.ZodString;
|
|
336
|
+
conversation: z.ZodObject<{
|
|
337
|
+
providerId: z.ZodString;
|
|
338
|
+
conversationId: z.ZodString;
|
|
339
|
+
kind: z.ZodEnum<{
|
|
340
|
+
unknown: "unknown";
|
|
341
|
+
direct: "direct";
|
|
342
|
+
group: "group";
|
|
343
|
+
channel: "channel";
|
|
344
|
+
}>;
|
|
345
|
+
title: z.ZodString;
|
|
346
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
347
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
348
|
+
unreadCount: z.ZodNumber;
|
|
349
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
}, z.core.$strip>>>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
/**
|
|
355
|
+
* The small projection used by a title-bar inbox. The daemon owns this
|
|
356
|
+
* projection and may return an empty list before any provider is connected.
|
|
357
|
+
*/
|
|
358
|
+
export declare const CommunicationsOverviewSchema: z.ZodObject<{
|
|
359
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
360
|
+
providerId: z.ZodString;
|
|
361
|
+
label: z.ZodString;
|
|
362
|
+
connectionState: z.ZodEnum<{
|
|
363
|
+
error: "error";
|
|
364
|
+
disconnected: "disconnected";
|
|
365
|
+
connecting: "connecting";
|
|
366
|
+
connected: "connected";
|
|
367
|
+
reauth_required: "reauth_required";
|
|
368
|
+
}>;
|
|
369
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
370
|
+
error: z.ZodNullable<z.ZodString>;
|
|
371
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
}, z.core.$strip>>;
|
|
373
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
374
|
+
providerId: z.ZodString;
|
|
375
|
+
conversationId: z.ZodString;
|
|
376
|
+
kind: z.ZodEnum<{
|
|
377
|
+
unknown: "unknown";
|
|
378
|
+
direct: "direct";
|
|
379
|
+
group: "group";
|
|
380
|
+
channel: "channel";
|
|
381
|
+
}>;
|
|
382
|
+
title: z.ZodString;
|
|
383
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
384
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
385
|
+
unreadCount: z.ZodNumber;
|
|
386
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
387
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
unreadCount: z.ZodNumber;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
export type CommunicationProviderId = z.infer<typeof CommunicationProviderIdSchema>;
|
|
392
|
+
export type CommunicationProviderConnectionState = z.infer<typeof CommunicationProviderConnectionStateSchema>;
|
|
393
|
+
export type CommunicationProviderSummary = z.infer<typeof CommunicationProviderSummarySchema>;
|
|
394
|
+
export type CommunicationPresenceStatus = z.infer<typeof CommunicationPresenceStatusSchema>;
|
|
395
|
+
export type CommunicationPresence = z.infer<typeof CommunicationPresenceSchema>;
|
|
396
|
+
export type CommunicationConversationKind = z.infer<typeof CommunicationConversationKindSchema>;
|
|
397
|
+
export type CommunicationConversationSummary = z.infer<typeof CommunicationConversationSummarySchema>;
|
|
398
|
+
export type CommunicationSearchResult = z.infer<typeof CommunicationSearchResultSchema>;
|
|
399
|
+
export type CommunicationReaction = z.infer<typeof CommunicationReactionSchema>;
|
|
400
|
+
export type CommunicationRoomCapabilities = z.infer<typeof CommunicationRoomCapabilitiesSchema>;
|
|
401
|
+
export type CommunicationMessage = z.infer<typeof CommunicationMessageSchema>;
|
|
402
|
+
export type CommunicationRoom = z.infer<typeof CommunicationRoomSchema>;
|
|
403
|
+
export type CommunicationHomeCollection = z.infer<typeof CommunicationHomeCollectionSchema>;
|
|
404
|
+
export type CommunicationHomeSection = z.infer<typeof CommunicationHomeSectionSchema>;
|
|
405
|
+
export type CommunicationNotification = z.infer<typeof CommunicationNotificationSchema>;
|
|
406
|
+
export type CommunicationsInboxHome = z.infer<typeof CommunicationsInboxHomeSchema>;
|
|
407
|
+
export type CommunicationsOverview = z.infer<typeof CommunicationsOverviewSchema>;
|
|
408
|
+
export declare const CommunicationsGetOverviewRequestSchema: z.ZodObject<{
|
|
409
|
+
type: z.ZodLiteral<"communications.get_overview.request">;
|
|
410
|
+
requestId: z.ZodString;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
export declare const CommunicationsGetOverviewResponseSchema: z.ZodObject<{
|
|
413
|
+
type: z.ZodLiteral<"communications.get_overview.response">;
|
|
414
|
+
payload: z.ZodObject<{
|
|
415
|
+
overview: z.ZodObject<{
|
|
416
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
417
|
+
providerId: z.ZodString;
|
|
418
|
+
label: z.ZodString;
|
|
419
|
+
connectionState: z.ZodEnum<{
|
|
420
|
+
error: "error";
|
|
421
|
+
disconnected: "disconnected";
|
|
422
|
+
connecting: "connecting";
|
|
423
|
+
connected: "connected";
|
|
424
|
+
reauth_required: "reauth_required";
|
|
425
|
+
}>;
|
|
426
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
427
|
+
error: z.ZodNullable<z.ZodString>;
|
|
428
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
+
}, z.core.$strip>>;
|
|
430
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
431
|
+
providerId: z.ZodString;
|
|
432
|
+
conversationId: z.ZodString;
|
|
433
|
+
kind: z.ZodEnum<{
|
|
434
|
+
unknown: "unknown";
|
|
435
|
+
direct: "direct";
|
|
436
|
+
group: "group";
|
|
437
|
+
channel: "channel";
|
|
438
|
+
}>;
|
|
439
|
+
title: z.ZodString;
|
|
440
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
441
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
442
|
+
unreadCount: z.ZodNumber;
|
|
443
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
}, z.core.$strip>>;
|
|
446
|
+
unreadCount: z.ZodNumber;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
requestId: z.ZodString;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
export type CommunicationsGetOverviewRequest = z.infer<typeof CommunicationsGetOverviewRequestSchema>;
|
|
452
|
+
export type CommunicationsGetOverviewResponse = z.infer<typeof CommunicationsGetOverviewResponseSchema>;
|
|
453
|
+
export declare const CommunicationsInboxGetHomeRequestSchema: z.ZodObject<{
|
|
454
|
+
type: z.ZodLiteral<"communications.inbox.get_home.request">;
|
|
455
|
+
requestId: z.ZodString;
|
|
456
|
+
providerId: z.ZodString;
|
|
457
|
+
}, z.core.$strip>;
|
|
458
|
+
export declare const CommunicationsInboxGetHomeResponseSchema: z.ZodObject<{
|
|
459
|
+
type: z.ZodLiteral<"communications.inbox.get_home.response">;
|
|
460
|
+
payload: z.ZodObject<{
|
|
461
|
+
home: z.ZodObject<{
|
|
462
|
+
provider: z.ZodObject<{
|
|
463
|
+
providerId: z.ZodString;
|
|
464
|
+
label: z.ZodString;
|
|
465
|
+
connectionState: z.ZodEnum<{
|
|
466
|
+
error: "error";
|
|
467
|
+
disconnected: "disconnected";
|
|
468
|
+
connecting: "connecting";
|
|
469
|
+
connected: "connected";
|
|
470
|
+
reauth_required: "reauth_required";
|
|
471
|
+
}>;
|
|
472
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
473
|
+
error: z.ZodNullable<z.ZodString>;
|
|
474
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
475
|
+
}, z.core.$strip>;
|
|
476
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
477
|
+
id: z.ZodString;
|
|
478
|
+
label: z.ZodString;
|
|
479
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
480
|
+
providerId: z.ZodString;
|
|
481
|
+
conversationId: z.ZodString;
|
|
482
|
+
kind: z.ZodEnum<{
|
|
483
|
+
unknown: "unknown";
|
|
484
|
+
direct: "direct";
|
|
485
|
+
group: "group";
|
|
486
|
+
channel: "channel";
|
|
487
|
+
}>;
|
|
488
|
+
title: z.ZodString;
|
|
489
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
490
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
491
|
+
unreadCount: z.ZodNumber;
|
|
492
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
493
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
495
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
496
|
+
providerId: z.ZodString;
|
|
497
|
+
collectionId: z.ZodString;
|
|
498
|
+
kind: z.ZodEnum<{
|
|
499
|
+
unknown: "unknown";
|
|
500
|
+
space: "space";
|
|
501
|
+
folder: "folder";
|
|
502
|
+
}>;
|
|
503
|
+
title: z.ZodString;
|
|
504
|
+
description: z.ZodNullable<z.ZodString>;
|
|
505
|
+
}, z.core.$strip>>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
508
|
+
notificationId: z.ZodString;
|
|
509
|
+
conversation: z.ZodObject<{
|
|
510
|
+
providerId: z.ZodString;
|
|
511
|
+
conversationId: z.ZodString;
|
|
512
|
+
kind: z.ZodEnum<{
|
|
513
|
+
unknown: "unknown";
|
|
514
|
+
direct: "direct";
|
|
515
|
+
group: "group";
|
|
516
|
+
channel: "channel";
|
|
517
|
+
}>;
|
|
518
|
+
title: z.ZodString;
|
|
519
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
520
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
521
|
+
unreadCount: z.ZodNumber;
|
|
522
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
523
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
}, z.core.$strip>>>;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
requestId: z.ZodString;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
}, z.core.$strip>;
|
|
530
|
+
export type CommunicationsInboxGetHomeRequest = z.infer<typeof CommunicationsInboxGetHomeRequestSchema>;
|
|
531
|
+
export type CommunicationsInboxGetHomeResponse = z.infer<typeof CommunicationsInboxGetHomeResponseSchema>;
|
|
532
|
+
export declare const CommunicationsInboxSearchRequestSchema: z.ZodObject<{
|
|
533
|
+
type: z.ZodLiteral<"communications.inbox.search.request">;
|
|
534
|
+
requestId: z.ZodString;
|
|
535
|
+
providerId: z.ZodString;
|
|
536
|
+
query: z.ZodString;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
export declare const CommunicationsInboxSearchResponseSchema: z.ZodObject<{
|
|
539
|
+
type: z.ZodLiteral<"communications.inbox.search.response">;
|
|
540
|
+
payload: z.ZodObject<{
|
|
541
|
+
results: z.ZodArray<z.ZodObject<{
|
|
542
|
+
providerId: z.ZodString;
|
|
543
|
+
category: z.ZodEnum<{
|
|
544
|
+
conversation: "conversation";
|
|
545
|
+
person: "person";
|
|
546
|
+
}>;
|
|
547
|
+
conversation: z.ZodObject<{
|
|
548
|
+
providerId: z.ZodString;
|
|
549
|
+
conversationId: z.ZodString;
|
|
550
|
+
kind: z.ZodEnum<{
|
|
551
|
+
unknown: "unknown";
|
|
552
|
+
direct: "direct";
|
|
553
|
+
group: "group";
|
|
554
|
+
channel: "channel";
|
|
555
|
+
}>;
|
|
556
|
+
title: z.ZodString;
|
|
557
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
558
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
559
|
+
unreadCount: z.ZodNumber;
|
|
560
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
561
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
+
}, z.core.$strip>;
|
|
563
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
564
|
+
presenceStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
565
|
+
unknown: "unknown";
|
|
566
|
+
available: "available";
|
|
567
|
+
busy: "busy";
|
|
568
|
+
do_not_disturb: "do_not_disturb";
|
|
569
|
+
away: "away";
|
|
570
|
+
out_of_office: "out_of_office";
|
|
571
|
+
}>>>;
|
|
572
|
+
presenceLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
573
|
+
}, z.core.$strip>>;
|
|
574
|
+
requestId: z.ZodString;
|
|
575
|
+
}, z.core.$strip>;
|
|
576
|
+
}, z.core.$strip>;
|
|
577
|
+
export type CommunicationsInboxSearchRequest = z.infer<typeof CommunicationsInboxSearchRequestSchema>;
|
|
578
|
+
export type CommunicationsInboxSearchResponse = z.infer<typeof CommunicationsInboxSearchResponseSchema>;
|
|
579
|
+
export declare const CommunicationsInboxSetFavoriteRequestSchema: z.ZodObject<{
|
|
580
|
+
type: z.ZodLiteral<"communications.inbox.set_favorite.request">;
|
|
581
|
+
requestId: z.ZodString;
|
|
582
|
+
providerId: z.ZodString;
|
|
583
|
+
conversationId: z.ZodString;
|
|
584
|
+
favorite: z.ZodBoolean;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
export declare const CommunicationsInboxSetFavoriteResponseSchema: z.ZodObject<{
|
|
587
|
+
type: z.ZodLiteral<"communications.inbox.set_favorite.response">;
|
|
588
|
+
payload: z.ZodObject<{
|
|
589
|
+
home: z.ZodObject<{
|
|
590
|
+
provider: z.ZodObject<{
|
|
591
|
+
providerId: z.ZodString;
|
|
592
|
+
label: z.ZodString;
|
|
593
|
+
connectionState: z.ZodEnum<{
|
|
594
|
+
error: "error";
|
|
595
|
+
disconnected: "disconnected";
|
|
596
|
+
connecting: "connecting";
|
|
597
|
+
connected: "connected";
|
|
598
|
+
reauth_required: "reauth_required";
|
|
599
|
+
}>;
|
|
600
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
601
|
+
error: z.ZodNullable<z.ZodString>;
|
|
602
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
603
|
+
}, z.core.$strip>;
|
|
604
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
605
|
+
id: z.ZodString;
|
|
606
|
+
label: z.ZodString;
|
|
607
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
608
|
+
providerId: z.ZodString;
|
|
609
|
+
conversationId: z.ZodString;
|
|
610
|
+
kind: z.ZodEnum<{
|
|
611
|
+
unknown: "unknown";
|
|
612
|
+
direct: "direct";
|
|
613
|
+
group: "group";
|
|
614
|
+
channel: "channel";
|
|
615
|
+
}>;
|
|
616
|
+
title: z.ZodString;
|
|
617
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
618
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
619
|
+
unreadCount: z.ZodNumber;
|
|
620
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
621
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
624
|
+
providerId: z.ZodString;
|
|
625
|
+
collectionId: z.ZodString;
|
|
626
|
+
kind: z.ZodEnum<{
|
|
627
|
+
unknown: "unknown";
|
|
628
|
+
space: "space";
|
|
629
|
+
folder: "folder";
|
|
630
|
+
}>;
|
|
631
|
+
title: z.ZodString;
|
|
632
|
+
description: z.ZodNullable<z.ZodString>;
|
|
633
|
+
}, z.core.$strip>>;
|
|
634
|
+
}, z.core.$strip>>;
|
|
635
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
636
|
+
notificationId: z.ZodString;
|
|
637
|
+
conversation: z.ZodObject<{
|
|
638
|
+
providerId: z.ZodString;
|
|
639
|
+
conversationId: z.ZodString;
|
|
640
|
+
kind: z.ZodEnum<{
|
|
641
|
+
unknown: "unknown";
|
|
642
|
+
direct: "direct";
|
|
643
|
+
group: "group";
|
|
644
|
+
channel: "channel";
|
|
645
|
+
}>;
|
|
646
|
+
title: z.ZodString;
|
|
647
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
648
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
649
|
+
unreadCount: z.ZodNumber;
|
|
650
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
651
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
652
|
+
}, z.core.$strip>;
|
|
653
|
+
}, z.core.$strip>>>;
|
|
654
|
+
}, z.core.$strip>;
|
|
655
|
+
requestId: z.ZodString;
|
|
656
|
+
}, z.core.$strip>;
|
|
657
|
+
}, z.core.$strip>;
|
|
658
|
+
export type CommunicationsInboxSetFavoriteResponse = z.infer<typeof CommunicationsInboxSetFavoriteResponseSchema>;
|
|
659
|
+
export declare const CommunicationsInboxNotificationsAcknowledgeRequestSchema: z.ZodObject<{
|
|
660
|
+
type: z.ZodLiteral<"communications.inbox.notifications.acknowledge.request">;
|
|
661
|
+
requestId: z.ZodString;
|
|
662
|
+
providerId: z.ZodString;
|
|
663
|
+
notificationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
664
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
665
|
+
clearAll: z.ZodOptional<z.ZodBoolean>;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
export declare const CommunicationsInboxNotificationsAcknowledgeResponseSchema: z.ZodObject<{
|
|
668
|
+
type: z.ZodLiteral<"communications.inbox.notifications.acknowledge.response">;
|
|
669
|
+
payload: z.ZodObject<{
|
|
670
|
+
home: z.ZodObject<{
|
|
671
|
+
provider: z.ZodObject<{
|
|
672
|
+
providerId: z.ZodString;
|
|
673
|
+
label: z.ZodString;
|
|
674
|
+
connectionState: z.ZodEnum<{
|
|
675
|
+
error: "error";
|
|
676
|
+
disconnected: "disconnected";
|
|
677
|
+
connecting: "connecting";
|
|
678
|
+
connected: "connected";
|
|
679
|
+
reauth_required: "reauth_required";
|
|
680
|
+
}>;
|
|
681
|
+
accountLabel: z.ZodNullable<z.ZodString>;
|
|
682
|
+
error: z.ZodNullable<z.ZodString>;
|
|
683
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
684
|
+
}, z.core.$strip>;
|
|
685
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
686
|
+
id: z.ZodString;
|
|
687
|
+
label: z.ZodString;
|
|
688
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
689
|
+
providerId: z.ZodString;
|
|
690
|
+
conversationId: z.ZodString;
|
|
691
|
+
kind: z.ZodEnum<{
|
|
692
|
+
unknown: "unknown";
|
|
693
|
+
direct: "direct";
|
|
694
|
+
group: "group";
|
|
695
|
+
channel: "channel";
|
|
696
|
+
}>;
|
|
697
|
+
title: z.ZodString;
|
|
698
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
699
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
700
|
+
unreadCount: z.ZodNumber;
|
|
701
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
702
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
703
|
+
}, z.core.$strip>>;
|
|
704
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
705
|
+
providerId: z.ZodString;
|
|
706
|
+
collectionId: z.ZodString;
|
|
707
|
+
kind: z.ZodEnum<{
|
|
708
|
+
unknown: "unknown";
|
|
709
|
+
space: "space";
|
|
710
|
+
folder: "folder";
|
|
711
|
+
}>;
|
|
712
|
+
title: z.ZodString;
|
|
713
|
+
description: z.ZodNullable<z.ZodString>;
|
|
714
|
+
}, z.core.$strip>>;
|
|
715
|
+
}, z.core.$strip>>;
|
|
716
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
717
|
+
notificationId: z.ZodString;
|
|
718
|
+
conversation: z.ZodObject<{
|
|
719
|
+
providerId: z.ZodString;
|
|
720
|
+
conversationId: z.ZodString;
|
|
721
|
+
kind: z.ZodEnum<{
|
|
722
|
+
unknown: "unknown";
|
|
723
|
+
direct: "direct";
|
|
724
|
+
group: "group";
|
|
725
|
+
channel: "channel";
|
|
726
|
+
}>;
|
|
727
|
+
title: z.ZodString;
|
|
728
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
729
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
730
|
+
unreadCount: z.ZodNumber;
|
|
731
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
732
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
733
|
+
}, z.core.$strip>;
|
|
734
|
+
}, z.core.$strip>>>;
|
|
735
|
+
}, z.core.$strip>;
|
|
736
|
+
requestId: z.ZodString;
|
|
737
|
+
}, z.core.$strip>;
|
|
738
|
+
}, z.core.$strip>;
|
|
739
|
+
export type CommunicationsInboxNotificationsAcknowledgeResponse = z.infer<typeof CommunicationsInboxNotificationsAcknowledgeResponseSchema>;
|
|
740
|
+
export declare const CommunicationsInboxGetPresenceRequestSchema: z.ZodObject<{
|
|
741
|
+
type: z.ZodLiteral<"communications.inbox.get_presence.request">;
|
|
742
|
+
requestId: z.ZodString;
|
|
743
|
+
providerId: z.ZodString;
|
|
744
|
+
}, z.core.$strip>;
|
|
745
|
+
export declare const CommunicationsInboxGetPresenceResponseSchema: z.ZodObject<{
|
|
746
|
+
type: z.ZodLiteral<"communications.inbox.get_presence.response">;
|
|
747
|
+
payload: z.ZodObject<{
|
|
748
|
+
presence: z.ZodObject<{
|
|
749
|
+
providerId: z.ZodString;
|
|
750
|
+
status: z.ZodEnum<{
|
|
751
|
+
unknown: "unknown";
|
|
752
|
+
available: "available";
|
|
753
|
+
busy: "busy";
|
|
754
|
+
do_not_disturb: "do_not_disturb";
|
|
755
|
+
away: "away";
|
|
756
|
+
out_of_office: "out_of_office";
|
|
757
|
+
}>;
|
|
758
|
+
observedStatusLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
759
|
+
canSetStatus: z.ZodBoolean;
|
|
760
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
761
|
+
statusChangeAvailableAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
|
+
statusChangeAvailableInMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
763
|
+
pendingStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
764
|
+
unknown: "unknown";
|
|
765
|
+
available: "available";
|
|
766
|
+
busy: "busy";
|
|
767
|
+
do_not_disturb: "do_not_disturb";
|
|
768
|
+
away: "away";
|
|
769
|
+
out_of_office: "out_of_office";
|
|
770
|
+
}>>>;
|
|
771
|
+
statusChangeError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
772
|
+
}, z.core.$strip>;
|
|
773
|
+
requestId: z.ZodString;
|
|
774
|
+
}, z.core.$strip>;
|
|
775
|
+
}, z.core.$strip>;
|
|
776
|
+
export declare const CommunicationsInboxPresenceChangedNotificationSchema: z.ZodObject<{
|
|
777
|
+
type: z.ZodLiteral<"communications.inbox.presence.changed.notification">;
|
|
778
|
+
payload: z.ZodObject<{
|
|
779
|
+
presence: z.ZodObject<{
|
|
780
|
+
providerId: z.ZodString;
|
|
781
|
+
status: z.ZodEnum<{
|
|
782
|
+
unknown: "unknown";
|
|
783
|
+
available: "available";
|
|
784
|
+
busy: "busy";
|
|
785
|
+
do_not_disturb: "do_not_disturb";
|
|
786
|
+
away: "away";
|
|
787
|
+
out_of_office: "out_of_office";
|
|
788
|
+
}>;
|
|
789
|
+
observedStatusLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
790
|
+
canSetStatus: z.ZodBoolean;
|
|
791
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
792
|
+
statusChangeAvailableAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
|
+
statusChangeAvailableInMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
794
|
+
pendingStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
795
|
+
unknown: "unknown";
|
|
796
|
+
available: "available";
|
|
797
|
+
busy: "busy";
|
|
798
|
+
do_not_disturb: "do_not_disturb";
|
|
799
|
+
away: "away";
|
|
800
|
+
out_of_office: "out_of_office";
|
|
801
|
+
}>>>;
|
|
802
|
+
statusChangeError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
|
+
}, z.core.$strip>;
|
|
804
|
+
}, z.core.$strip>;
|
|
805
|
+
}, z.core.$strip>;
|
|
806
|
+
export declare const CommunicationsInboxSetPresenceRequestSchema: z.ZodObject<{
|
|
807
|
+
type: z.ZodLiteral<"communications.inbox.set_presence.request">;
|
|
808
|
+
requestId: z.ZodString;
|
|
809
|
+
providerId: z.ZodString;
|
|
810
|
+
status: z.ZodEnum<{
|
|
811
|
+
unknown: "unknown";
|
|
812
|
+
available: "available";
|
|
813
|
+
busy: "busy";
|
|
814
|
+
do_not_disturb: "do_not_disturb";
|
|
815
|
+
away: "away";
|
|
816
|
+
out_of_office: "out_of_office";
|
|
817
|
+
}>;
|
|
818
|
+
}, z.core.$strip>;
|
|
819
|
+
export declare const CommunicationsInboxSetPresenceResponseSchema: z.ZodObject<{
|
|
820
|
+
type: z.ZodLiteral<"communications.inbox.set_presence.response">;
|
|
821
|
+
payload: z.ZodObject<{
|
|
822
|
+
presence: z.ZodObject<{
|
|
823
|
+
providerId: z.ZodString;
|
|
824
|
+
status: z.ZodEnum<{
|
|
825
|
+
unknown: "unknown";
|
|
826
|
+
available: "available";
|
|
827
|
+
busy: "busy";
|
|
828
|
+
do_not_disturb: "do_not_disturb";
|
|
829
|
+
away: "away";
|
|
830
|
+
out_of_office: "out_of_office";
|
|
831
|
+
}>;
|
|
832
|
+
observedStatusLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
833
|
+
canSetStatus: z.ZodBoolean;
|
|
834
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
835
|
+
statusChangeAvailableAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
836
|
+
statusChangeAvailableInMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
837
|
+
pendingStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
838
|
+
unknown: "unknown";
|
|
839
|
+
available: "available";
|
|
840
|
+
busy: "busy";
|
|
841
|
+
do_not_disturb: "do_not_disturb";
|
|
842
|
+
away: "away";
|
|
843
|
+
out_of_office: "out_of_office";
|
|
844
|
+
}>>>;
|
|
845
|
+
statusChangeError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
846
|
+
}, z.core.$strip>;
|
|
847
|
+
requestId: z.ZodString;
|
|
848
|
+
}, z.core.$strip>;
|
|
849
|
+
}, z.core.$strip>;
|
|
850
|
+
export declare const CommunicationsInboxSetEnabledRequestSchema: z.ZodObject<{
|
|
851
|
+
type: z.ZodLiteral<"communications.inbox.set_enabled.request">;
|
|
852
|
+
requestId: z.ZodString;
|
|
853
|
+
providerId: z.ZodString;
|
|
854
|
+
enabled: z.ZodBoolean;
|
|
855
|
+
}, z.core.$strip>;
|
|
856
|
+
export declare const CommunicationsInboxSetEnabledResponseSchema: z.ZodObject<{
|
|
857
|
+
type: z.ZodLiteral<"communications.inbox.set_enabled.response">;
|
|
858
|
+
payload: z.ZodObject<{
|
|
859
|
+
presence: z.ZodObject<{
|
|
860
|
+
providerId: z.ZodString;
|
|
861
|
+
status: z.ZodEnum<{
|
|
862
|
+
unknown: "unknown";
|
|
863
|
+
available: "available";
|
|
864
|
+
busy: "busy";
|
|
865
|
+
do_not_disturb: "do_not_disturb";
|
|
866
|
+
away: "away";
|
|
867
|
+
out_of_office: "out_of_office";
|
|
868
|
+
}>;
|
|
869
|
+
observedStatusLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
870
|
+
canSetStatus: z.ZodBoolean;
|
|
871
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
872
|
+
statusChangeAvailableAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
873
|
+
statusChangeAvailableInMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
874
|
+
pendingStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
875
|
+
unknown: "unknown";
|
|
876
|
+
available: "available";
|
|
877
|
+
busy: "busy";
|
|
878
|
+
do_not_disturb: "do_not_disturb";
|
|
879
|
+
away: "away";
|
|
880
|
+
out_of_office: "out_of_office";
|
|
881
|
+
}>>>;
|
|
882
|
+
statusChangeError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
883
|
+
}, z.core.$strip>;
|
|
884
|
+
requestId: z.ZodString;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
}, z.core.$strip>;
|
|
887
|
+
export type CommunicationsInboxGetPresenceResponse = z.infer<typeof CommunicationsInboxGetPresenceResponseSchema>;
|
|
888
|
+
export type CommunicationsInboxPresenceChangedNotification = z.infer<typeof CommunicationsInboxPresenceChangedNotificationSchema>;
|
|
889
|
+
export type CommunicationsInboxSetPresenceResponse = z.infer<typeof CommunicationsInboxSetPresenceResponseSchema>;
|
|
890
|
+
export type CommunicationsInboxSetEnabledResponse = z.infer<typeof CommunicationsInboxSetEnabledResponseSchema>;
|
|
891
|
+
export declare const CommunicationsInboxGetMessagesRequestSchema: z.ZodObject<{
|
|
892
|
+
type: z.ZodLiteral<"communications.inbox.get_messages.request">;
|
|
893
|
+
requestId: z.ZodString;
|
|
894
|
+
providerId: z.ZodString;
|
|
895
|
+
conversationId: z.ZodString;
|
|
896
|
+
}, z.core.$strip>;
|
|
897
|
+
export declare const CommunicationsInboxGetMessagesResponseSchema: z.ZodObject<{
|
|
898
|
+
type: z.ZodLiteral<"communications.inbox.get_messages.response">;
|
|
899
|
+
payload: z.ZodObject<{
|
|
900
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
901
|
+
providerId: z.ZodString;
|
|
902
|
+
conversationId: z.ZodString;
|
|
903
|
+
messageId: z.ZodString;
|
|
904
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
905
|
+
text: z.ZodString;
|
|
906
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
907
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
908
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
909
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
910
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
911
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
912
|
+
emoji: z.ZodString;
|
|
913
|
+
count: z.ZodNumber;
|
|
914
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
915
|
+
}, z.core.$strip>>>;
|
|
916
|
+
}, z.core.$strip>>;
|
|
917
|
+
requestId: z.ZodString;
|
|
918
|
+
}, z.core.$strip>;
|
|
919
|
+
}, z.core.$strip>;
|
|
920
|
+
export declare const CommunicationsInboxSendMessageRequestSchema: z.ZodObject<{
|
|
921
|
+
type: z.ZodLiteral<"communications.inbox.send_message.request">;
|
|
922
|
+
requestId: z.ZodString;
|
|
923
|
+
providerId: z.ZodString;
|
|
924
|
+
conversationId: z.ZodString;
|
|
925
|
+
text: z.ZodString;
|
|
926
|
+
}, z.core.$strip>;
|
|
927
|
+
export declare const CommunicationsInboxSendMessageResponseSchema: z.ZodObject<{
|
|
928
|
+
type: z.ZodLiteral<"communications.inbox.send_message.response">;
|
|
929
|
+
payload: z.ZodObject<{
|
|
930
|
+
message: z.ZodObject<{
|
|
931
|
+
providerId: z.ZodString;
|
|
932
|
+
conversationId: z.ZodString;
|
|
933
|
+
messageId: z.ZodString;
|
|
934
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
935
|
+
text: z.ZodString;
|
|
936
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
937
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
938
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
939
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
940
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
941
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
942
|
+
emoji: z.ZodString;
|
|
943
|
+
count: z.ZodNumber;
|
|
944
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
945
|
+
}, z.core.$strip>>>;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
requestId: z.ZodString;
|
|
948
|
+
}, z.core.$strip>;
|
|
949
|
+
}, z.core.$strip>;
|
|
950
|
+
export type CommunicationsInboxGetMessagesRequest = z.infer<typeof CommunicationsInboxGetMessagesRequestSchema>;
|
|
951
|
+
export type CommunicationsInboxGetMessagesResponse = z.infer<typeof CommunicationsInboxGetMessagesResponseSchema>;
|
|
952
|
+
export type CommunicationsInboxSendMessageRequest = z.infer<typeof CommunicationsInboxSendMessageRequestSchema>;
|
|
953
|
+
export type CommunicationsInboxSendMessageResponse = z.infer<typeof CommunicationsInboxSendMessageResponseSchema>;
|
|
954
|
+
export declare const CommunicationsRoomGetRequestSchema: z.ZodObject<{
|
|
955
|
+
type: z.ZodLiteral<"communications.room.get.request">;
|
|
956
|
+
requestId: z.ZodString;
|
|
957
|
+
providerId: z.ZodString;
|
|
958
|
+
conversationId: z.ZodString;
|
|
959
|
+
}, z.core.$strip>;
|
|
960
|
+
export declare const CommunicationsRoomGetResponseSchema: z.ZodObject<{
|
|
961
|
+
type: z.ZodLiteral<"communications.room.get.response">;
|
|
962
|
+
payload: z.ZodObject<{
|
|
963
|
+
room: z.ZodObject<{
|
|
964
|
+
conversation: z.ZodObject<{
|
|
965
|
+
providerId: z.ZodString;
|
|
966
|
+
conversationId: z.ZodString;
|
|
967
|
+
kind: z.ZodEnum<{
|
|
968
|
+
unknown: "unknown";
|
|
969
|
+
direct: "direct";
|
|
970
|
+
group: "group";
|
|
971
|
+
channel: "channel";
|
|
972
|
+
}>;
|
|
973
|
+
title: z.ZodString;
|
|
974
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
975
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
976
|
+
unreadCount: z.ZodNumber;
|
|
977
|
+
favorite: z.ZodOptional<z.ZodBoolean>;
|
|
978
|
+
canFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
979
|
+
}, z.core.$strip>;
|
|
980
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
981
|
+
providerId: z.ZodString;
|
|
982
|
+
conversationId: z.ZodString;
|
|
983
|
+
messageId: z.ZodString;
|
|
984
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
985
|
+
text: z.ZodString;
|
|
986
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
987
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
989
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
990
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
991
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
992
|
+
emoji: z.ZodString;
|
|
993
|
+
count: z.ZodNumber;
|
|
994
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
995
|
+
}, z.core.$strip>>>;
|
|
996
|
+
}, z.core.$strip>>;
|
|
997
|
+
capabilities: z.ZodObject<{
|
|
998
|
+
canCompose: z.ZodBoolean;
|
|
999
|
+
canReply: z.ZodBoolean;
|
|
1000
|
+
canRetrieveThreads: z.ZodBoolean;
|
|
1001
|
+
canReact: z.ZodBoolean;
|
|
1002
|
+
canMarkRead: z.ZodBoolean;
|
|
1003
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
1004
|
+
}, z.core.$strip>;
|
|
1005
|
+
}, z.core.$strip>;
|
|
1006
|
+
requestId: z.ZodString;
|
|
1007
|
+
}, z.core.$strip>;
|
|
1008
|
+
}, z.core.$strip>;
|
|
1009
|
+
export declare const CommunicationsRoomThreadGetRequestSchema: z.ZodObject<{
|
|
1010
|
+
type: z.ZodLiteral<"communications.room.thread.get.request">;
|
|
1011
|
+
requestId: z.ZodString;
|
|
1012
|
+
providerId: z.ZodString;
|
|
1013
|
+
conversationId: z.ZodString;
|
|
1014
|
+
parentMessageId: z.ZodString;
|
|
1015
|
+
}, z.core.$strip>;
|
|
1016
|
+
export declare const CommunicationsRoomThreadGetResponseSchema: z.ZodObject<{
|
|
1017
|
+
type: z.ZodLiteral<"communications.room.thread.get.response">;
|
|
1018
|
+
payload: z.ZodObject<{
|
|
1019
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
1020
|
+
providerId: z.ZodString;
|
|
1021
|
+
conversationId: z.ZodString;
|
|
1022
|
+
messageId: z.ZodString;
|
|
1023
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
1024
|
+
text: z.ZodString;
|
|
1025
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
1026
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1027
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
1028
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1029
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
1030
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1031
|
+
emoji: z.ZodString;
|
|
1032
|
+
count: z.ZodNumber;
|
|
1033
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
1034
|
+
}, z.core.$strip>>>;
|
|
1035
|
+
}, z.core.$strip>>;
|
|
1036
|
+
requestId: z.ZodString;
|
|
1037
|
+
}, z.core.$strip>;
|
|
1038
|
+
}, z.core.$strip>;
|
|
1039
|
+
export declare const CommunicationsRoomMessageSendRequestSchema: z.ZodObject<{
|
|
1040
|
+
type: z.ZodLiteral<"communications.room.message.send.request">;
|
|
1041
|
+
requestId: z.ZodString;
|
|
1042
|
+
providerId: z.ZodString;
|
|
1043
|
+
conversationId: z.ZodString;
|
|
1044
|
+
text: z.ZodString;
|
|
1045
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1046
|
+
}, z.core.$strip>;
|
|
1047
|
+
export declare const CommunicationsRoomMessageSendResponseSchema: z.ZodObject<{
|
|
1048
|
+
type: z.ZodLiteral<"communications.room.message.send.response">;
|
|
1049
|
+
payload: z.ZodObject<{
|
|
1050
|
+
message: z.ZodObject<{
|
|
1051
|
+
providerId: z.ZodString;
|
|
1052
|
+
conversationId: z.ZodString;
|
|
1053
|
+
messageId: z.ZodString;
|
|
1054
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
1055
|
+
text: z.ZodString;
|
|
1056
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
1057
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1058
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
1059
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1060
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1062
|
+
emoji: z.ZodString;
|
|
1063
|
+
count: z.ZodNumber;
|
|
1064
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
1065
|
+
}, z.core.$strip>>>;
|
|
1066
|
+
}, z.core.$strip>;
|
|
1067
|
+
requestId: z.ZodString;
|
|
1068
|
+
}, z.core.$strip>;
|
|
1069
|
+
}, z.core.$strip>;
|
|
1070
|
+
export declare const CommunicationsRoomReactionSetRequestSchema: z.ZodObject<{
|
|
1071
|
+
type: z.ZodLiteral<"communications.room.reaction.set.request">;
|
|
1072
|
+
requestId: z.ZodString;
|
|
1073
|
+
providerId: z.ZodString;
|
|
1074
|
+
conversationId: z.ZodString;
|
|
1075
|
+
messageId: z.ZodString;
|
|
1076
|
+
emoji: z.ZodString;
|
|
1077
|
+
active: z.ZodBoolean;
|
|
1078
|
+
}, z.core.$strip>;
|
|
1079
|
+
export declare const CommunicationsRoomReactionSetResponseSchema: z.ZodObject<{
|
|
1080
|
+
type: z.ZodLiteral<"communications.room.reaction.set.response">;
|
|
1081
|
+
payload: z.ZodObject<{
|
|
1082
|
+
message: z.ZodObject<{
|
|
1083
|
+
providerId: z.ZodString;
|
|
1084
|
+
conversationId: z.ZodString;
|
|
1085
|
+
messageId: z.ZodString;
|
|
1086
|
+
senderId: z.ZodNullable<z.ZodString>;
|
|
1087
|
+
text: z.ZodString;
|
|
1088
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
1089
|
+
senderDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1090
|
+
isFromCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
1091
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1092
|
+
replyCount: z.ZodOptional<z.ZodNumber>;
|
|
1093
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1094
|
+
emoji: z.ZodString;
|
|
1095
|
+
count: z.ZodNumber;
|
|
1096
|
+
reactedByCurrentUser: z.ZodOptional<z.ZodBoolean>;
|
|
1097
|
+
}, z.core.$strip>>>;
|
|
1098
|
+
}, z.core.$strip>;
|
|
1099
|
+
requestId: z.ZodString;
|
|
1100
|
+
}, z.core.$strip>;
|
|
1101
|
+
}, z.core.$strip>;
|
|
1102
|
+
export type CommunicationsRoomGetResponse = z.infer<typeof CommunicationsRoomGetResponseSchema>;
|
|
1103
|
+
export type CommunicationsRoomThreadGetResponse = z.infer<typeof CommunicationsRoomThreadGetResponseSchema>;
|
|
1104
|
+
export type CommunicationsRoomMessageSendResponse = z.infer<typeof CommunicationsRoomMessageSendResponseSchema>;
|
|
1105
|
+
export type CommunicationsRoomReactionSetResponse = z.infer<typeof CommunicationsRoomReactionSetResponseSchema>;
|
|
1106
|
+
//# sourceMappingURL=communications.d.ts.map
|