@agentshouse/app-bridge 0.1.0-ca559eade7c19 → 0.1.0-ca6bf24eae119
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/README.md +9 -9
- package/dist/calls.d.ts +676 -69
- package/dist/index.d.ts +36 -18
- package/dist/mdmodel/condition.d.ts +23 -10
- package/dist/mdmodel/definition.d.ts +3 -1
- package/dist/mdmodel/document.d.ts +5 -5
- package/dist/mdmodel/index.d.ts +9 -7
- package/dist/mdmodel/links.d.ts +28 -0
- package/dist/mdmodel/paths.d.ts +9 -1
- package/dist/mdmodel/project.d.ts +1 -0
- package/dist/mdmodel/types.d.ts +28 -4
- package/dist/mdmodel/validate.d.ts +27 -3
- package/dist/mdruntime/adapter.d.ts +83 -48
- package/dist/mdruntime/binary.d.ts +0 -5
- package/dist/mdruntime/chain.d.ts +10 -0
- package/dist/mdruntime/change-set.d.ts +9 -16
- package/dist/mdruntime/change.d.ts +31 -1
- package/dist/mdruntime/client.d.ts +13 -5
- package/dist/mdruntime/collection.d.ts +10 -21
- package/dist/mdruntime/compile.d.ts +15 -0
- package/dist/mdruntime/connection.d.ts +25 -13
- package/dist/mdruntime/conversation.d.ts +19 -6
- package/dist/mdruntime/durability.d.ts +2 -5
- package/dist/mdruntime/fulltext.d.ts +26 -0
- package/dist/mdruntime/identity.d.ts +6 -0
- package/dist/mdruntime/media.d.ts +7 -0
- package/dist/mdruntime/messages.d.ts +27 -0
- package/dist/mdruntime/model.d.ts +6 -1
- package/dist/mdruntime/observation.d.ts +15 -0
- package/dist/mdruntime/opened.d.ts +21 -0
- package/dist/mdruntime/outcome.d.ts +45 -7
- package/dist/mdruntime/overlay.d.ts +2 -5
- package/dist/mdruntime/query.d.ts +32 -2
- package/dist/mdruntime/reach.d.ts +13 -4
- package/dist/mdruntime/readiness.d.ts +14 -15
- package/dist/mdruntime/recovery.d.ts +3 -2
- package/dist/mdruntime/replica.d.ts +55 -33
- package/dist/mdruntime/room-draft.d.ts +21 -3
- package/dist/mdruntime/save.d.ts +53 -14
- package/dist/mdruntime/search.d.ts +23 -42
- package/dist/mdruntime/status.d.ts +4 -3
- package/dist/mdruntime/store.d.ts +90 -97
- package/dist/mdruntime/stored.d.ts +129 -0
- package/dist/mdruntime/tables.d.ts +324 -0
- package/dist/mdruntime/wire.d.ts +33 -1
- package/dist/test-host.d.ts +7 -4
- package/dist/test-host.js +18 -28
- package/docs/families.md +50 -49
- package/package.json +8 -3
- package/dist/mdruntime/acquisition.d.ts +0 -13
- package/dist/mdruntime/file.d.ts +0 -19
- package/dist/mdruntime/rows.d.ts +0 -37
- package/dist/mdruntime/shared.d.ts +0 -10
- package/dist/mdruntime/transfer.d.ts +0 -9
- package/dist/mdruntime/turn.d.ts +0 -6
package/dist/calls.d.ts
CHANGED
|
@@ -1,118 +1,725 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface HouseMethods {
|
|
2
2
|
readonly 'access.read': {
|
|
3
|
-
readonly
|
|
4
|
-
|
|
3
|
+
readonly params: {
|
|
4
|
+
readonly room_ref: string;
|
|
5
|
+
readonly statistics?: boolean;
|
|
6
|
+
};
|
|
7
|
+
readonly result: {
|
|
8
|
+
readonly room_ref: string;
|
|
9
|
+
readonly viewer: string;
|
|
10
|
+
readonly owner: string;
|
|
11
|
+
readonly authority: 'owner' | 'administrator' | 'member';
|
|
12
|
+
readonly namespaces: readonly string[];
|
|
13
|
+
readonly members: readonly {
|
|
14
|
+
readonly key: string | null;
|
|
15
|
+
readonly user: string;
|
|
16
|
+
readonly user_name: string;
|
|
17
|
+
readonly entries: readonly {
|
|
18
|
+
readonly namespace: string;
|
|
19
|
+
readonly level: 'search' | 'open' | 'keep' | null;
|
|
20
|
+
readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
|
|
21
|
+
readonly sources: readonly {
|
|
22
|
+
readonly kind: 'direct' | 'inherited';
|
|
23
|
+
readonly namespace: string;
|
|
24
|
+
readonly level: 'search' | 'open' | 'keep' | null;
|
|
25
|
+
readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
|
|
26
|
+
}[];
|
|
27
|
+
}[];
|
|
28
|
+
readonly direct: readonly {
|
|
29
|
+
readonly namespace: string;
|
|
30
|
+
readonly level: 'search' | 'open' | 'keep' | null;
|
|
31
|
+
readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
|
|
32
|
+
}[];
|
|
33
|
+
readonly admitted_at: string | null;
|
|
34
|
+
readonly schema_roles: readonly string[];
|
|
35
|
+
readonly requests_per_day?: number;
|
|
36
|
+
readonly downloads_per_day?: number;
|
|
37
|
+
}[];
|
|
38
|
+
readonly statistics?: readonly {
|
|
39
|
+
readonly user: string;
|
|
40
|
+
readonly day: string;
|
|
41
|
+
readonly requests: number;
|
|
42
|
+
readonly text_bytes: number;
|
|
43
|
+
readonly downloads: number;
|
|
44
|
+
}[];
|
|
45
|
+
readonly url: string;
|
|
46
|
+
};
|
|
5
47
|
};
|
|
6
48
|
readonly 'conversation.answer': {
|
|
7
|
-
readonly
|
|
49
|
+
readonly params: {
|
|
50
|
+
readonly answer: {
|
|
51
|
+
readonly interaction_id: string;
|
|
52
|
+
readonly response: unknown;
|
|
53
|
+
};
|
|
54
|
+
readonly conversation: string;
|
|
55
|
+
readonly operation_id?: string;
|
|
56
|
+
};
|
|
57
|
+
readonly result: {
|
|
58
|
+
readonly conversation_id: string;
|
|
59
|
+
readonly agent_id: string;
|
|
8
60
|
readonly interaction_id: string;
|
|
9
|
-
readonly
|
|
61
|
+
readonly authority: string;
|
|
62
|
+
readonly position: string;
|
|
63
|
+
readonly log_epoch: string;
|
|
64
|
+
readonly url: string;
|
|
10
65
|
};
|
|
11
|
-
readonly conversation: string;
|
|
12
|
-
readonly operation_id?: string;
|
|
13
66
|
};
|
|
14
67
|
readonly 'conversation.create': {
|
|
15
|
-
readonly
|
|
16
|
-
|
|
68
|
+
readonly params: {
|
|
69
|
+
readonly agent_id: string;
|
|
70
|
+
readonly operation_id?: string;
|
|
71
|
+
readonly replaces?: string;
|
|
72
|
+
};
|
|
73
|
+
readonly result: {
|
|
74
|
+
readonly agent_id: string;
|
|
75
|
+
readonly authority: string;
|
|
76
|
+
readonly conversation: string;
|
|
77
|
+
readonly conversation_id: string;
|
|
78
|
+
readonly log_epoch: string;
|
|
79
|
+
readonly position: string;
|
|
80
|
+
readonly url: string;
|
|
81
|
+
};
|
|
17
82
|
};
|
|
18
83
|
readonly 'conversation.delete': {
|
|
19
|
-
readonly
|
|
20
|
-
|
|
84
|
+
readonly params: {
|
|
85
|
+
readonly conversation: string;
|
|
86
|
+
readonly operation_id?: string;
|
|
87
|
+
};
|
|
88
|
+
readonly result: {
|
|
89
|
+
readonly conversation_id: string;
|
|
90
|
+
readonly outcome: 'deleted';
|
|
91
|
+
readonly authority: string;
|
|
92
|
+
readonly position: string;
|
|
93
|
+
readonly log_epoch: string;
|
|
94
|
+
};
|
|
21
95
|
};
|
|
22
96
|
readonly 'conversation.history': {
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
|
|
97
|
+
readonly params: {
|
|
98
|
+
readonly conversations: readonly {
|
|
99
|
+
readonly after?: string;
|
|
100
|
+
readonly conversation: string;
|
|
101
|
+
}[];
|
|
102
|
+
};
|
|
103
|
+
readonly result: {
|
|
104
|
+
readonly histories: readonly {
|
|
105
|
+
readonly conversation: string;
|
|
106
|
+
readonly messages: readonly {
|
|
107
|
+
readonly identity: string;
|
|
108
|
+
readonly message: unknown;
|
|
109
|
+
readonly position: string;
|
|
110
|
+
readonly text: string;
|
|
111
|
+
readonly turn: string;
|
|
112
|
+
}[];
|
|
113
|
+
readonly next?: string;
|
|
114
|
+
}[];
|
|
115
|
+
};
|
|
27
116
|
};
|
|
28
117
|
readonly 'conversation.interrupt': {
|
|
29
|
-
readonly
|
|
30
|
-
|
|
118
|
+
readonly params: {
|
|
119
|
+
readonly conversation: string;
|
|
120
|
+
readonly operation_id?: string;
|
|
121
|
+
};
|
|
122
|
+
readonly result: {
|
|
123
|
+
readonly conversation_id: string;
|
|
124
|
+
readonly agent_id: string;
|
|
125
|
+
readonly authority: string;
|
|
126
|
+
readonly position: string;
|
|
127
|
+
readonly log_epoch: string;
|
|
128
|
+
readonly url: string;
|
|
129
|
+
};
|
|
31
130
|
};
|
|
32
131
|
readonly 'conversation.kill': {
|
|
33
|
-
readonly
|
|
34
|
-
|
|
132
|
+
readonly params: {
|
|
133
|
+
readonly conversation: string;
|
|
134
|
+
readonly operation_id?: string;
|
|
135
|
+
};
|
|
136
|
+
readonly result: {
|
|
137
|
+
readonly conversation_id: string;
|
|
138
|
+
readonly agent_id: string;
|
|
139
|
+
readonly authority: string;
|
|
140
|
+
readonly position: string;
|
|
141
|
+
readonly log_epoch: string;
|
|
142
|
+
readonly url: string;
|
|
143
|
+
};
|
|
35
144
|
};
|
|
36
145
|
readonly 'conversation.markDone': {
|
|
37
|
-
readonly
|
|
38
|
-
|
|
39
|
-
|
|
146
|
+
readonly params: {
|
|
147
|
+
readonly conversation_id?: string;
|
|
148
|
+
readonly result?: string;
|
|
149
|
+
readonly operation_id: string;
|
|
150
|
+
};
|
|
151
|
+
readonly result: {
|
|
152
|
+
readonly conversation_id: string;
|
|
153
|
+
readonly agent_id: string;
|
|
154
|
+
readonly done: string | null;
|
|
155
|
+
readonly authority: string;
|
|
156
|
+
readonly position: string;
|
|
157
|
+
readonly log_epoch: string;
|
|
158
|
+
readonly url: string;
|
|
159
|
+
};
|
|
40
160
|
};
|
|
41
161
|
readonly 'conversation.rename': {
|
|
42
|
-
readonly
|
|
43
|
-
|
|
44
|
-
|
|
162
|
+
readonly params: {
|
|
163
|
+
readonly conversation_id: string;
|
|
164
|
+
readonly operation_id: string;
|
|
165
|
+
readonly name: string;
|
|
166
|
+
};
|
|
167
|
+
readonly result: {
|
|
168
|
+
readonly conversation_id: string;
|
|
169
|
+
readonly agent_id: string;
|
|
170
|
+
readonly name: string;
|
|
171
|
+
readonly authority: string;
|
|
172
|
+
readonly position: string;
|
|
173
|
+
readonly log_epoch: string;
|
|
174
|
+
readonly url: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
readonly 'conversation.retry': {
|
|
178
|
+
readonly params: {
|
|
179
|
+
readonly conversation_id: string;
|
|
180
|
+
readonly operation_id: string;
|
|
181
|
+
readonly message_id: string;
|
|
182
|
+
};
|
|
183
|
+
readonly result: {
|
|
184
|
+
readonly conversation_id: string;
|
|
185
|
+
readonly agent_id: string;
|
|
186
|
+
readonly message_id: string;
|
|
187
|
+
readonly authority: string;
|
|
188
|
+
readonly position: string;
|
|
189
|
+
readonly log_epoch: string;
|
|
190
|
+
readonly url: string;
|
|
191
|
+
};
|
|
45
192
|
};
|
|
46
193
|
readonly 'conversation.send': {
|
|
47
|
-
readonly
|
|
48
|
-
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
194
|
+
readonly params: {
|
|
195
|
+
readonly conversation: string;
|
|
196
|
+
readonly operation_id: string;
|
|
197
|
+
readonly text: string;
|
|
198
|
+
};
|
|
199
|
+
readonly result: {
|
|
200
|
+
readonly agent_id: string;
|
|
201
|
+
readonly authority: string;
|
|
202
|
+
readonly conversation_id: string;
|
|
203
|
+
readonly log_epoch: string;
|
|
204
|
+
readonly message_id: string;
|
|
205
|
+
readonly position: string;
|
|
206
|
+
readonly turn: string;
|
|
207
|
+
readonly url: string;
|
|
208
|
+
};
|
|
59
209
|
};
|
|
60
210
|
readonly 'conversation.setOption': {
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
211
|
+
readonly params: {
|
|
212
|
+
readonly conversation_id: string;
|
|
213
|
+
readonly operation_id: string;
|
|
214
|
+
readonly option: string;
|
|
215
|
+
readonly value: string | boolean;
|
|
216
|
+
};
|
|
217
|
+
readonly result: {
|
|
218
|
+
readonly conversation_id: string;
|
|
219
|
+
readonly agent_id: string;
|
|
220
|
+
readonly authority: string;
|
|
221
|
+
readonly position: string;
|
|
222
|
+
readonly log_epoch: string;
|
|
223
|
+
readonly url: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
readonly 'feature.list': {
|
|
227
|
+
readonly params: Readonly<Record<string, never>>;
|
|
228
|
+
readonly result: {
|
|
229
|
+
readonly features: readonly {
|
|
230
|
+
readonly feature: string;
|
|
231
|
+
readonly allowed: boolean;
|
|
232
|
+
}[];
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly 'holder.list': {
|
|
236
|
+
readonly params: Readonly<Record<string, never>>;
|
|
237
|
+
readonly result: {
|
|
238
|
+
readonly holders: readonly {
|
|
239
|
+
readonly user: string;
|
|
240
|
+
readonly name: string;
|
|
241
|
+
readonly email: string;
|
|
242
|
+
}[];
|
|
243
|
+
};
|
|
65
244
|
};
|
|
66
|
-
readonly 'feature.list': Readonly<Record<string, never>>;
|
|
67
|
-
readonly 'holder.list': Readonly<Record<string, never>>;
|
|
68
245
|
readonly 'holder.ring': {
|
|
69
|
-
readonly
|
|
246
|
+
readonly params: {
|
|
247
|
+
readonly to: string;
|
|
248
|
+
};
|
|
249
|
+
readonly result: {
|
|
250
|
+
readonly authority: string;
|
|
251
|
+
readonly position: string;
|
|
252
|
+
readonly log_epoch: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
readonly 'inboxChat.assign': {
|
|
256
|
+
readonly params: {
|
|
257
|
+
readonly room_ref: string;
|
|
258
|
+
readonly path: string;
|
|
259
|
+
readonly assignee: {
|
|
260
|
+
readonly user: string;
|
|
261
|
+
} | {
|
|
262
|
+
readonly agent: string;
|
|
263
|
+
} | null;
|
|
264
|
+
};
|
|
265
|
+
readonly result: {
|
|
266
|
+
readonly room_ref: string;
|
|
267
|
+
readonly path: string;
|
|
268
|
+
readonly assignee: {
|
|
269
|
+
readonly user: string;
|
|
270
|
+
readonly name: string;
|
|
271
|
+
} | {
|
|
272
|
+
readonly agent: string;
|
|
273
|
+
readonly name: string;
|
|
274
|
+
} | null;
|
|
275
|
+
readonly return_to: {
|
|
276
|
+
readonly agent: string;
|
|
277
|
+
readonly name: string;
|
|
278
|
+
} | null;
|
|
279
|
+
readonly authority: string;
|
|
280
|
+
readonly position: string;
|
|
281
|
+
readonly log_epoch: string;
|
|
282
|
+
readonly url: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
readonly 'inboxChat.return': {
|
|
286
|
+
readonly params: {
|
|
287
|
+
readonly room_ref: string;
|
|
288
|
+
readonly path: string;
|
|
289
|
+
};
|
|
290
|
+
readonly result: {
|
|
291
|
+
readonly room_ref: string;
|
|
292
|
+
readonly path: string;
|
|
293
|
+
readonly assignee: {
|
|
294
|
+
readonly user: string;
|
|
295
|
+
readonly name: string;
|
|
296
|
+
} | {
|
|
297
|
+
readonly agent: string;
|
|
298
|
+
readonly name: string;
|
|
299
|
+
} | null;
|
|
300
|
+
readonly return_to: {
|
|
301
|
+
readonly agent: string;
|
|
302
|
+
readonly name: string;
|
|
303
|
+
} | null;
|
|
304
|
+
readonly authority: string;
|
|
305
|
+
readonly position: string;
|
|
306
|
+
readonly log_epoch: string;
|
|
307
|
+
readonly url: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
readonly 'inboxChat.takeControl': {
|
|
311
|
+
readonly params: {
|
|
312
|
+
readonly room_ref: string;
|
|
313
|
+
readonly path: string;
|
|
314
|
+
};
|
|
315
|
+
readonly result: {
|
|
316
|
+
readonly room_ref: string;
|
|
317
|
+
readonly path: string;
|
|
318
|
+
readonly assignee: {
|
|
319
|
+
readonly user: string;
|
|
320
|
+
readonly name: string;
|
|
321
|
+
} | {
|
|
322
|
+
readonly agent: string;
|
|
323
|
+
readonly name: string;
|
|
324
|
+
} | null;
|
|
325
|
+
readonly return_to: {
|
|
326
|
+
readonly agent: string;
|
|
327
|
+
readonly name: string;
|
|
328
|
+
} | null;
|
|
329
|
+
readonly authority: string;
|
|
330
|
+
readonly position: string;
|
|
331
|
+
readonly log_epoch: string;
|
|
332
|
+
readonly url: string;
|
|
333
|
+
};
|
|
70
334
|
};
|
|
71
335
|
readonly 'member.list': {
|
|
72
|
-
readonly
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
336
|
+
readonly params: {
|
|
337
|
+
readonly room_ref: string;
|
|
338
|
+
readonly history?: boolean;
|
|
339
|
+
readonly limit?: number;
|
|
340
|
+
readonly cursor?: string;
|
|
341
|
+
};
|
|
342
|
+
readonly result: {
|
|
343
|
+
readonly members: readonly {
|
|
344
|
+
readonly user: string;
|
|
345
|
+
readonly display_name: string;
|
|
346
|
+
readonly owner: boolean;
|
|
347
|
+
readonly email?: string;
|
|
348
|
+
readonly since: string | null;
|
|
349
|
+
readonly access?: 'owner' | 'manage' | 'edit' | 'keep' | 'open' | 'search';
|
|
350
|
+
readonly only_while_online?: true;
|
|
351
|
+
readonly member_document: string | null;
|
|
352
|
+
readonly schema_roles?: readonly string[];
|
|
353
|
+
}[];
|
|
354
|
+
readonly next_cursor?: string;
|
|
355
|
+
readonly history?: readonly {
|
|
356
|
+
readonly kind: 'granted' | 'revoked';
|
|
357
|
+
readonly user: string;
|
|
358
|
+
readonly at: string;
|
|
359
|
+
}[];
|
|
360
|
+
};
|
|
76
361
|
};
|
|
77
362
|
readonly 'message.send': {
|
|
78
|
-
readonly
|
|
79
|
-
|
|
363
|
+
readonly params: {
|
|
364
|
+
readonly to: string;
|
|
365
|
+
readonly body: unknown;
|
|
366
|
+
};
|
|
367
|
+
readonly result: Readonly<Record<string, never>>;
|
|
80
368
|
};
|
|
81
369
|
readonly 'processing.read': {
|
|
82
|
-
readonly
|
|
83
|
-
|
|
370
|
+
readonly params: {
|
|
371
|
+
readonly room_ref: string;
|
|
372
|
+
readonly path: string;
|
|
373
|
+
};
|
|
374
|
+
readonly result: {
|
|
375
|
+
readonly path: string;
|
|
376
|
+
readonly policy: {
|
|
377
|
+
readonly value: 'On' | 'Off';
|
|
378
|
+
readonly origin: 'explicit' | 'inherited' | 'default';
|
|
379
|
+
readonly from: string | null;
|
|
380
|
+
readonly reason: 'unfunded' | 'room_too_large' | null;
|
|
381
|
+
};
|
|
382
|
+
readonly explicit: readonly {
|
|
383
|
+
readonly path: string;
|
|
384
|
+
readonly policy: 'On' | 'Off';
|
|
385
|
+
}[];
|
|
386
|
+
readonly writable: boolean;
|
|
387
|
+
readonly embedding: {
|
|
388
|
+
readonly finished: boolean;
|
|
389
|
+
readonly condition: {
|
|
390
|
+
readonly kind: 'demand_failed' | 'embed_again_failed';
|
|
391
|
+
readonly path: string;
|
|
392
|
+
} | null;
|
|
393
|
+
readonly embedding_estimate: {
|
|
394
|
+
readonly documents: number;
|
|
395
|
+
readonly measured_tokens: number;
|
|
396
|
+
readonly unmeasured_documents: number;
|
|
397
|
+
} | null;
|
|
398
|
+
readonly indexed_chunks: number;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
84
401
|
};
|
|
85
402
|
readonly 'record.list': {
|
|
86
|
-
readonly
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
403
|
+
readonly params: {
|
|
404
|
+
readonly room_ref: string;
|
|
405
|
+
readonly cursor?: string;
|
|
406
|
+
readonly limit?: number;
|
|
407
|
+
readonly order?: 'asc' | 'desc';
|
|
408
|
+
};
|
|
409
|
+
readonly result: {
|
|
410
|
+
readonly records: readonly {
|
|
411
|
+
readonly record: string;
|
|
412
|
+
readonly ref: string;
|
|
413
|
+
readonly created_at: string;
|
|
414
|
+
readonly body: string | null;
|
|
415
|
+
readonly claimed: unknown;
|
|
416
|
+
}[];
|
|
417
|
+
readonly next_cursor?: string;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
readonly 'relay.read': {
|
|
421
|
+
readonly params: Readonly<Record<string, never>>;
|
|
422
|
+
readonly result: {
|
|
423
|
+
readonly ice_servers: readonly {
|
|
424
|
+
readonly urls: readonly string[];
|
|
425
|
+
readonly username: string;
|
|
426
|
+
readonly credential: string;
|
|
427
|
+
}[];
|
|
428
|
+
readonly expires_at: string;
|
|
429
|
+
};
|
|
91
430
|
};
|
|
92
|
-
readonly 'relay.read': Readonly<Record<string, never>>;
|
|
93
431
|
readonly 'routine.list': {
|
|
94
|
-
readonly
|
|
432
|
+
readonly params: {
|
|
433
|
+
readonly room_ref: string;
|
|
434
|
+
};
|
|
435
|
+
readonly result: readonly {
|
|
436
|
+
readonly accessId: string;
|
|
437
|
+
readonly agentId: string;
|
|
438
|
+
readonly ownerDisplayName: string;
|
|
439
|
+
readonly name: string;
|
|
440
|
+
readonly description: string;
|
|
441
|
+
readonly input: string;
|
|
442
|
+
readonly version: number;
|
|
443
|
+
readonly startsWithoutApproval?: boolean;
|
|
444
|
+
readonly room?: true;
|
|
445
|
+
readonly url: string;
|
|
446
|
+
}[];
|
|
95
447
|
};
|
|
96
448
|
readonly 'routineAccess.list': {
|
|
97
|
-
readonly
|
|
449
|
+
readonly params: {
|
|
450
|
+
readonly room_ref: string;
|
|
451
|
+
};
|
|
452
|
+
readonly result: {
|
|
453
|
+
readonly access: readonly {
|
|
454
|
+
readonly access: string;
|
|
455
|
+
readonly agent: string;
|
|
456
|
+
readonly routine: string;
|
|
457
|
+
readonly name: string;
|
|
458
|
+
readonly current_version: number;
|
|
459
|
+
readonly state: 'live' | 'revoked' | 'routine_retired' | 'agent_retired' | 'target_owner_key_inactive';
|
|
460
|
+
readonly invokers: {
|
|
461
|
+
readonly scope: 'all_members' | 'selected_users';
|
|
462
|
+
readonly users: readonly ({
|
|
463
|
+
readonly user: string;
|
|
464
|
+
readonly display_name: string | null;
|
|
465
|
+
} | {
|
|
466
|
+
readonly room: string;
|
|
467
|
+
readonly url: string;
|
|
468
|
+
})[];
|
|
469
|
+
};
|
|
470
|
+
readonly starts_without_approval: {
|
|
471
|
+
readonly scope: 'none' | 'all_admitted' | 'selected_users';
|
|
472
|
+
readonly users: readonly ({
|
|
473
|
+
readonly user: string;
|
|
474
|
+
readonly display_name: string | null;
|
|
475
|
+
} | {
|
|
476
|
+
readonly room: string;
|
|
477
|
+
readonly url: string;
|
|
478
|
+
})[];
|
|
479
|
+
};
|
|
480
|
+
readonly follow_up_mail: {
|
|
481
|
+
readonly scope: 'none' | 'all_admitted' | 'selected_users';
|
|
482
|
+
readonly users: readonly {
|
|
483
|
+
readonly user: string;
|
|
484
|
+
readonly display_name: string | null;
|
|
485
|
+
}[];
|
|
486
|
+
};
|
|
487
|
+
readonly granted_at: string;
|
|
488
|
+
readonly revoked_at: string | null;
|
|
489
|
+
readonly rooms?: {
|
|
490
|
+
readonly reach: 'all';
|
|
491
|
+
} | {
|
|
492
|
+
readonly reach: 'all_but_private';
|
|
493
|
+
} | {
|
|
494
|
+
readonly reach: 'selected';
|
|
495
|
+
readonly refs: readonly string[];
|
|
496
|
+
};
|
|
497
|
+
readonly key_origins?: readonly string[];
|
|
498
|
+
readonly url: string;
|
|
499
|
+
}[];
|
|
500
|
+
};
|
|
98
501
|
};
|
|
99
502
|
readonly 'routineAllowance.list': {
|
|
100
|
-
readonly
|
|
101
|
-
|
|
503
|
+
readonly params: {
|
|
504
|
+
readonly room_ref: string;
|
|
505
|
+
readonly access: string;
|
|
506
|
+
};
|
|
507
|
+
readonly result: {
|
|
508
|
+
readonly grantees: readonly ({
|
|
509
|
+
readonly user: string;
|
|
510
|
+
readonly name: string;
|
|
511
|
+
readonly email: string;
|
|
512
|
+
readonly used: number;
|
|
513
|
+
readonly allowance: number | null;
|
|
514
|
+
} | {
|
|
515
|
+
readonly room: string;
|
|
516
|
+
readonly used: number;
|
|
517
|
+
readonly allowance: number | null;
|
|
518
|
+
readonly url: string;
|
|
519
|
+
})[];
|
|
520
|
+
};
|
|
102
521
|
};
|
|
103
522
|
readonly 'routineRequest.list': {
|
|
104
|
-
readonly
|
|
523
|
+
readonly params: {
|
|
524
|
+
readonly room_ref: string;
|
|
525
|
+
};
|
|
526
|
+
readonly result: {
|
|
527
|
+
readonly current: readonly {
|
|
528
|
+
readonly name: string;
|
|
529
|
+
readonly document: string;
|
|
530
|
+
}[];
|
|
531
|
+
readonly history: readonly {
|
|
532
|
+
readonly name: string;
|
|
533
|
+
readonly document: string;
|
|
534
|
+
}[];
|
|
535
|
+
};
|
|
105
536
|
};
|
|
106
537
|
readonly 'storage.read': {
|
|
107
|
-
readonly
|
|
538
|
+
readonly params: {
|
|
539
|
+
readonly room_ref?: string;
|
|
540
|
+
};
|
|
541
|
+
readonly result: {
|
|
542
|
+
readonly measurement: {
|
|
543
|
+
readonly page_reference: {
|
|
544
|
+
readonly bytes_per_page: string;
|
|
545
|
+
readonly font: string;
|
|
546
|
+
readonly font_size_pt: string;
|
|
547
|
+
readonly layout: string;
|
|
548
|
+
readonly encoding: string;
|
|
549
|
+
} | null;
|
|
550
|
+
};
|
|
551
|
+
readonly total: {
|
|
552
|
+
readonly bytes: string;
|
|
553
|
+
readonly gigabytes: string;
|
|
554
|
+
};
|
|
555
|
+
readonly indexed_text: {
|
|
556
|
+
readonly bytes: string;
|
|
557
|
+
readonly gigabytes: string;
|
|
558
|
+
readonly approximate_pages: string | null;
|
|
559
|
+
};
|
|
560
|
+
readonly blob: {
|
|
561
|
+
readonly bytes: string;
|
|
562
|
+
readonly gigabytes: string;
|
|
563
|
+
};
|
|
564
|
+
readonly freshness: {
|
|
565
|
+
readonly state: 'settled';
|
|
566
|
+
};
|
|
567
|
+
readonly site_images: {
|
|
568
|
+
readonly payloads: string;
|
|
569
|
+
readonly bytes: string;
|
|
570
|
+
readonly bound: string;
|
|
571
|
+
};
|
|
572
|
+
} | {
|
|
573
|
+
readonly measurement: {
|
|
574
|
+
readonly page_reference: {
|
|
575
|
+
readonly bytes_per_page: string;
|
|
576
|
+
readonly font: string;
|
|
577
|
+
readonly font_size_pt: string;
|
|
578
|
+
readonly layout: string;
|
|
579
|
+
readonly encoding: string;
|
|
580
|
+
} | null;
|
|
581
|
+
};
|
|
582
|
+
readonly total: {
|
|
583
|
+
readonly bytes: string;
|
|
584
|
+
readonly gigabytes: string;
|
|
585
|
+
};
|
|
586
|
+
readonly indexed_text: {
|
|
587
|
+
readonly bytes: string;
|
|
588
|
+
readonly gigabytes: string;
|
|
589
|
+
readonly approximate_pages: string | null;
|
|
590
|
+
};
|
|
591
|
+
readonly blob: {
|
|
592
|
+
readonly bytes: string;
|
|
593
|
+
readonly gigabytes: string;
|
|
594
|
+
};
|
|
595
|
+
readonly freshness: {
|
|
596
|
+
readonly state: 'settled';
|
|
597
|
+
};
|
|
598
|
+
readonly room_ref: string;
|
|
599
|
+
readonly url: string;
|
|
600
|
+
};
|
|
108
601
|
};
|
|
109
602
|
readonly submit: {
|
|
110
|
-
readonly
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
readonly
|
|
603
|
+
readonly params: {
|
|
604
|
+
readonly content: string;
|
|
605
|
+
};
|
|
606
|
+
readonly result: {
|
|
607
|
+
readonly submitted: true;
|
|
608
|
+
};
|
|
114
609
|
};
|
|
115
610
|
readonly 'triggerOccurrence.list': {
|
|
116
|
-
readonly
|
|
611
|
+
readonly params: {
|
|
612
|
+
readonly room_ref: string;
|
|
613
|
+
};
|
|
614
|
+
readonly result: {
|
|
615
|
+
readonly occurrences: readonly {
|
|
616
|
+
readonly trigger: string;
|
|
617
|
+
readonly path?: string;
|
|
618
|
+
readonly moment?: string;
|
|
619
|
+
readonly missed?: 'skipped' | 'failed';
|
|
620
|
+
readonly created_at: string;
|
|
621
|
+
readonly actions: readonly ({
|
|
622
|
+
readonly position: number;
|
|
623
|
+
readonly outcome: 'notified';
|
|
624
|
+
readonly reached: number;
|
|
625
|
+
} | {
|
|
626
|
+
readonly position: number;
|
|
627
|
+
readonly outcome: 'no_target';
|
|
628
|
+
readonly code: 'no_recipient' | 'routine_access_not_found' | 'routine_retired' | 'target_agent_unavailable' | 'app_not_found' | 'app_function_not_found';
|
|
629
|
+
} | {
|
|
630
|
+
readonly position: number;
|
|
631
|
+
readonly outcome: 'requested';
|
|
632
|
+
readonly request: string;
|
|
633
|
+
} | {
|
|
634
|
+
readonly position: number;
|
|
635
|
+
readonly outcome: 'continued';
|
|
636
|
+
readonly request: string;
|
|
637
|
+
} | {
|
|
638
|
+
readonly position: number;
|
|
639
|
+
readonly outcome: 'refused';
|
|
640
|
+
readonly code: string;
|
|
641
|
+
} | {
|
|
642
|
+
readonly position: number;
|
|
643
|
+
readonly outcome: 'refused';
|
|
644
|
+
readonly code: 'limit_reached';
|
|
645
|
+
readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
|
|
646
|
+
} | {
|
|
647
|
+
readonly position: number;
|
|
648
|
+
readonly outcome: 'refused';
|
|
649
|
+
readonly code: 'limit_reached';
|
|
650
|
+
readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
|
|
651
|
+
readonly retry_at: string;
|
|
652
|
+
} | {
|
|
653
|
+
readonly position: number;
|
|
654
|
+
readonly outcome: 'refused';
|
|
655
|
+
readonly code: 'limit_reached';
|
|
656
|
+
readonly limit: 'indexed_text' | 'blob';
|
|
657
|
+
readonly value: string;
|
|
658
|
+
readonly used: string;
|
|
659
|
+
} | {
|
|
660
|
+
readonly position: number;
|
|
661
|
+
readonly outcome: 'refused';
|
|
662
|
+
readonly code: 'limit_reached';
|
|
663
|
+
readonly limit: 'reads';
|
|
664
|
+
readonly period: 'minute' | 'day';
|
|
665
|
+
readonly value: string;
|
|
666
|
+
readonly retry_at: string;
|
|
667
|
+
} | {
|
|
668
|
+
readonly position: number;
|
|
669
|
+
readonly outcome: 'refused';
|
|
670
|
+
readonly code: 'limit_reached';
|
|
671
|
+
readonly limit: 'writes';
|
|
672
|
+
readonly period: 'minute' | 'day';
|
|
673
|
+
readonly retry_at: string;
|
|
674
|
+
} | {
|
|
675
|
+
readonly position: number;
|
|
676
|
+
readonly outcome: 'refused';
|
|
677
|
+
readonly code: 'cap_reached';
|
|
678
|
+
readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'service_keys' | 'shared_schemas' | 'export_starts' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_connections' | 'open_uploads' | 'waiting_web_wizards' | 'folder_subscriptions';
|
|
679
|
+
} | {
|
|
680
|
+
readonly position: number;
|
|
681
|
+
readonly outcome: 'refused';
|
|
682
|
+
readonly code: 'cap_reached';
|
|
683
|
+
readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'service_keys' | 'shared_schemas' | 'export_starts' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_connections' | 'open_uploads' | 'waiting_web_wizards' | 'folder_subscriptions';
|
|
684
|
+
readonly retry_at: string;
|
|
685
|
+
} | {
|
|
686
|
+
readonly position: number;
|
|
687
|
+
readonly outcome: 'withdrawn';
|
|
688
|
+
readonly code: 'agent_unavailable';
|
|
689
|
+
} | {
|
|
690
|
+
readonly position: number;
|
|
691
|
+
readonly outcome: 'failed';
|
|
692
|
+
readonly code: 'internal_error' | 'routine_request_not_started';
|
|
693
|
+
} | {
|
|
694
|
+
readonly position: number;
|
|
695
|
+
readonly outcome: 'failed';
|
|
696
|
+
readonly code: 'function_failed';
|
|
697
|
+
readonly error: string;
|
|
698
|
+
readonly release: string;
|
|
699
|
+
readonly final: true;
|
|
700
|
+
} | {
|
|
701
|
+
readonly position: number;
|
|
702
|
+
readonly outcome: 'failed';
|
|
703
|
+
readonly code: 'function_not_started';
|
|
704
|
+
readonly tries: number;
|
|
705
|
+
readonly final?: true;
|
|
706
|
+
} | {
|
|
707
|
+
readonly position: number;
|
|
708
|
+
readonly outcome: 'running';
|
|
709
|
+
readonly release: string;
|
|
710
|
+
} | {
|
|
711
|
+
readonly position: number;
|
|
712
|
+
readonly outcome: 'ran';
|
|
713
|
+
readonly release: string;
|
|
714
|
+
} | {
|
|
715
|
+
readonly position: number;
|
|
716
|
+
readonly outcome: 'waiting';
|
|
717
|
+
} | {
|
|
718
|
+
readonly position: number;
|
|
719
|
+
readonly outcome: 'paused';
|
|
720
|
+
})[];
|
|
721
|
+
readonly url?: string;
|
|
722
|
+
}[];
|
|
723
|
+
};
|
|
117
724
|
};
|
|
118
725
|
}
|