@agentshouse/app-bridge 0.1.0-ca559eade7c19 → 0.1.0-caae3da69c1c2

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/calls.d.ts CHANGED
@@ -1,118 +1,957 @@
1
- export interface HouseCalls {
1
+ export interface HouseMethods {
2
2
  readonly 'access.read': {
3
- readonly room_ref: string;
4
- readonly statistics?: boolean;
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 read: 'mcp' | 'online' | 'local' | null;
20
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
21
+ readonly sources: readonly {
22
+ readonly kind: 'direct' | 'inherited';
23
+ readonly namespace: string;
24
+ readonly read: 'mcp' | 'online' | 'local' | null;
25
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
26
+ }[];
27
+ }[];
28
+ readonly direct: readonly {
29
+ readonly namespace: string;
30
+ readonly read: 'mcp' | 'online' | 'local' | 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 answer: {
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 response: unknown;
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 agent_id: string;
16
- readonly operation_id?: string;
68
+ readonly params: {
69
+ readonly agent_id: string;
70
+ readonly operation_id?: string;
71
+ };
72
+ readonly result: {
73
+ readonly agent_id: string;
74
+ readonly authority: string;
75
+ readonly conversation: string;
76
+ readonly conversation_id: string;
77
+ readonly log_epoch: string;
78
+ readonly position: string;
79
+ readonly url: string;
80
+ };
17
81
  };
18
82
  readonly 'conversation.delete': {
19
- readonly conversation: string;
20
- readonly operation_id?: string;
83
+ readonly params: {
84
+ readonly conversation: string;
85
+ readonly operation_id?: string;
86
+ };
87
+ readonly result: {
88
+ readonly conversation_id: string;
89
+ readonly outcome: 'deleted';
90
+ readonly authority: string;
91
+ readonly position: string;
92
+ readonly log_epoch: string;
93
+ };
21
94
  };
22
95
  readonly 'conversation.history': {
23
- readonly conversations: readonly {
24
- readonly after?: string;
25
- readonly conversation: string;
26
- }[];
96
+ readonly params: {
97
+ readonly conversations: readonly {
98
+ readonly after?: string;
99
+ readonly conversation: string;
100
+ }[];
101
+ };
102
+ readonly result: {
103
+ readonly histories: readonly {
104
+ readonly conversation: string;
105
+ readonly messages: readonly {
106
+ readonly identity: string;
107
+ readonly message: unknown;
108
+ readonly position: string;
109
+ readonly text: string;
110
+ readonly turn: string;
111
+ }[];
112
+ readonly next?: string;
113
+ }[];
114
+ };
27
115
  };
28
116
  readonly 'conversation.interrupt': {
29
- readonly conversation: string;
30
- readonly operation_id?: string;
117
+ readonly params: {
118
+ readonly conversation: string;
119
+ readonly operation_id?: string;
120
+ };
121
+ readonly result: {
122
+ readonly conversation_id: string;
123
+ readonly agent_id: string;
124
+ readonly authority: string;
125
+ readonly position: string;
126
+ readonly log_epoch: string;
127
+ readonly url: string;
128
+ };
31
129
  };
32
130
  readonly 'conversation.kill': {
33
- readonly conversation: string;
34
- readonly operation_id?: string;
131
+ readonly params: {
132
+ readonly conversation: string;
133
+ readonly operation_id?: string;
134
+ };
135
+ readonly result: {
136
+ readonly conversation_id: string;
137
+ readonly agent_id: string;
138
+ readonly authority: string;
139
+ readonly position: string;
140
+ readonly log_epoch: string;
141
+ readonly url: string;
142
+ };
35
143
  };
36
144
  readonly 'conversation.markDone': {
37
- readonly conversation_id?: string;
38
- readonly result?: string;
39
- readonly operation_id: string;
145
+ readonly params: {
146
+ readonly conversation_id?: string;
147
+ readonly result?: string;
148
+ readonly operation_id: string;
149
+ };
150
+ readonly result: {
151
+ readonly conversation_id: string;
152
+ readonly agent_id: string;
153
+ readonly done: string | null;
154
+ readonly authority: string;
155
+ readonly position: string;
156
+ readonly log_epoch: string;
157
+ readonly url: string;
158
+ };
40
159
  };
41
160
  readonly 'conversation.rename': {
42
- readonly conversation_id: string;
43
- readonly operation_id: string;
44
- readonly name: string;
161
+ readonly params: {
162
+ readonly conversation_id: string;
163
+ readonly operation_id: string;
164
+ readonly name: string;
165
+ };
166
+ readonly result: {
167
+ readonly conversation_id: string;
168
+ readonly agent_id: string;
169
+ readonly name: string;
170
+ readonly authority: string;
171
+ readonly position: string;
172
+ readonly log_epoch: string;
173
+ readonly url: string;
174
+ };
175
+ };
176
+ readonly 'conversation.retry': {
177
+ readonly params: {
178
+ readonly conversation_id: string;
179
+ readonly operation_id: string;
180
+ readonly message_id: string;
181
+ };
182
+ readonly result: {
183
+ readonly conversation_id: string;
184
+ readonly agent_id: string;
185
+ readonly message_id: string;
186
+ readonly authority: string;
187
+ readonly position: string;
188
+ readonly log_epoch: string;
189
+ readonly url: string;
190
+ };
45
191
  };
46
192
  readonly 'conversation.send': {
47
- readonly conversation: string;
48
- readonly files?: readonly {
49
- readonly blob: Blob;
50
- readonly byteLength: number;
51
- readonly contentHash: string;
52
- readonly height?: number;
53
- readonly mediaType: string;
54
- readonly name: string;
55
- readonly width?: number;
56
- }[];
57
- readonly operation_id: string;
58
- readonly text?: string;
193
+ readonly params: {
194
+ readonly conversation: string;
195
+ readonly files?: readonly {
196
+ readonly blob: Blob;
197
+ readonly byteLength: number;
198
+ readonly contentHash: string;
199
+ readonly height?: number;
200
+ readonly mediaType: string;
201
+ readonly name: string;
202
+ readonly width?: number;
203
+ }[];
204
+ readonly operation_id: string;
205
+ readonly text?: string;
206
+ };
207
+ readonly result: {
208
+ readonly agent_id: string;
209
+ readonly authority: string;
210
+ readonly conversation_id: string;
211
+ readonly files: readonly {
212
+ readonly name: string;
213
+ readonly media_type: string | null;
214
+ readonly dimensions: {
215
+ readonly width: number;
216
+ readonly height: number;
217
+ } | null;
218
+ readonly bytes: number;
219
+ readonly sha256: string;
220
+ readonly file: string | null;
221
+ readonly page: string;
222
+ readonly upload?: {
223
+ readonly method: 'POST';
224
+ readonly operation: string;
225
+ readonly url: string;
226
+ readonly expires_at: string;
227
+ };
228
+ }[];
229
+ readonly log_epoch: string;
230
+ readonly message_id: string;
231
+ readonly position: string;
232
+ readonly turn: string;
233
+ readonly url: string;
234
+ };
59
235
  };
60
236
  readonly 'conversation.setOption': {
61
- readonly conversation_id: string;
62
- readonly operation_id: string;
63
- readonly option: string;
64
- readonly value: string | boolean;
237
+ readonly params: {
238
+ readonly conversation_id: string;
239
+ readonly operation_id: string;
240
+ readonly option: string;
241
+ readonly value: string | boolean;
242
+ };
243
+ readonly result: {
244
+ readonly conversation_id: string;
245
+ readonly agent_id: string;
246
+ readonly authority: string;
247
+ readonly position: string;
248
+ readonly log_epoch: string;
249
+ readonly url: string;
250
+ };
251
+ };
252
+ readonly 'feature.list': {
253
+ readonly params: Readonly<Record<string, never>>;
254
+ readonly result: {
255
+ readonly features: readonly {
256
+ readonly feature: 'microphone' | 'camera' | 'geolocation' | 'clipboard-read' | 'notifications';
257
+ readonly allowed: boolean;
258
+ }[];
259
+ };
260
+ };
261
+ readonly 'holder.list': {
262
+ readonly params: Readonly<Record<string, never>>;
263
+ readonly result: {
264
+ readonly holders: readonly {
265
+ readonly user: string;
266
+ readonly name: string;
267
+ readonly email: string;
268
+ }[];
269
+ };
65
270
  };
66
- readonly 'feature.list': Readonly<Record<string, never>>;
67
- readonly 'holder.list': Readonly<Record<string, never>>;
68
271
  readonly 'holder.ring': {
69
- readonly to: string;
272
+ readonly params: {
273
+ readonly to: string;
274
+ };
275
+ readonly result: {
276
+ readonly authority: string;
277
+ readonly position: string;
278
+ readonly log_epoch: string;
279
+ };
70
280
  };
71
281
  readonly 'member.list': {
72
- readonly room_ref: string;
73
- readonly history?: boolean;
74
- readonly limit?: number;
75
- readonly cursor?: string;
282
+ readonly params: {
283
+ readonly room_ref: string;
284
+ readonly history?: boolean;
285
+ readonly limit?: number;
286
+ readonly cursor?: string;
287
+ };
288
+ readonly result: {
289
+ readonly members: readonly {
290
+ readonly user: string;
291
+ readonly display_name: string;
292
+ readonly owner: boolean;
293
+ readonly email?: string;
294
+ readonly since: string | null;
295
+ readonly access?: 'owner' | 'manage' | 'edit' | 'read';
296
+ readonly member_document: string | null;
297
+ readonly schema_roles?: readonly string[];
298
+ }[];
299
+ readonly next_cursor?: string;
300
+ readonly history?: readonly {
301
+ readonly kind: 'granted' | 'revoked';
302
+ readonly user: string;
303
+ readonly at: string;
304
+ }[];
305
+ };
76
306
  };
77
307
  readonly 'message.send': {
78
- readonly to: string;
79
- readonly body: unknown;
308
+ readonly params: {
309
+ readonly to: string;
310
+ readonly body: unknown;
311
+ };
312
+ readonly result: Readonly<Record<string, never>>;
80
313
  };
81
314
  readonly 'processing.read': {
82
- readonly room_ref: string;
83
- readonly path: string;
315
+ readonly params: {
316
+ readonly room_ref: string;
317
+ readonly path: string;
318
+ };
319
+ readonly result: {
320
+ readonly path: string;
321
+ readonly policy: {
322
+ readonly value: 'On' | 'Off';
323
+ readonly origin: 'explicit' | 'inherited' | 'default';
324
+ readonly from: string | null;
325
+ readonly reason: 'unfunded' | 'room_too_large' | null;
326
+ };
327
+ readonly explicit: readonly {
328
+ readonly path: string;
329
+ readonly policy: 'On' | 'Off';
330
+ }[];
331
+ readonly writable: boolean;
332
+ readonly embedding: {
333
+ readonly finished: boolean;
334
+ readonly condition: {
335
+ readonly kind: 'demand_failed' | 'embed_again_failed';
336
+ readonly path: string;
337
+ } | null;
338
+ readonly embedding_estimate: {
339
+ readonly documents: number;
340
+ readonly measured_tokens: number;
341
+ readonly unmeasured_documents: number;
342
+ } | null;
343
+ readonly indexed_chunks: number;
344
+ };
345
+ };
84
346
  };
85
347
  readonly 'record.list': {
86
- readonly room_ref: string;
87
- readonly record?: string;
88
- readonly cursor?: string;
89
- readonly limit?: number;
90
- readonly order?: 'asc' | 'desc';
348
+ readonly params: {
349
+ readonly room_ref: string;
350
+ readonly record?: string;
351
+ readonly cursor?: string;
352
+ readonly limit?: number;
353
+ readonly order?: 'asc' | 'desc';
354
+ };
355
+ readonly result: {
356
+ readonly attachments: readonly {
357
+ readonly bytes: number;
358
+ readonly file: string;
359
+ readonly media_type: string | null;
360
+ readonly name: string | null;
361
+ readonly referrer: {
362
+ readonly record: string;
363
+ readonly room_ref: string;
364
+ };
365
+ readonly sha256: string;
366
+ }[];
367
+ readonly body: string | null;
368
+ readonly claimed: unknown;
369
+ readonly created_at: string;
370
+ readonly record: string;
371
+ readonly ref: string;
372
+ } | {
373
+ readonly next_cursor?: string;
374
+ readonly records: readonly {
375
+ readonly attachments: readonly {
376
+ readonly bytes: number;
377
+ readonly file: string;
378
+ readonly media_type: string | null;
379
+ readonly name: string | null;
380
+ readonly referrer: {
381
+ readonly record: string;
382
+ readonly room_ref: string;
383
+ };
384
+ readonly sha256: string;
385
+ }[];
386
+ readonly body: string | null;
387
+ readonly claimed: unknown;
388
+ readonly created_at: string;
389
+ readonly record: string;
390
+ readonly ref: string;
391
+ }[];
392
+ };
393
+ };
394
+ readonly 'relay.read': {
395
+ readonly params: Readonly<Record<string, never>>;
396
+ readonly result: {
397
+ readonly ice_servers: readonly {
398
+ readonly urls: readonly string[];
399
+ readonly username: string;
400
+ readonly credential: string;
401
+ }[];
402
+ readonly expires_at: string;
403
+ };
91
404
  };
92
- readonly 'relay.read': Readonly<Record<string, never>>;
93
405
  readonly 'routine.list': {
94
- readonly room_ref: string;
406
+ readonly params: {
407
+ readonly room_ref: string;
408
+ };
409
+ readonly result: readonly {
410
+ readonly accessId: string;
411
+ readonly agentId: string;
412
+ readonly ownerDisplayName: string;
413
+ readonly name: string;
414
+ readonly description: string;
415
+ readonly input: string;
416
+ readonly version: number;
417
+ readonly startsWithoutApproval?: boolean;
418
+ readonly room?: true;
419
+ readonly url: string;
420
+ }[];
95
421
  };
96
422
  readonly 'routineAccess.list': {
97
- readonly room_ref: string;
423
+ readonly params: {
424
+ readonly room_ref: string;
425
+ };
426
+ readonly result: {
427
+ readonly access: readonly {
428
+ readonly access: string;
429
+ readonly agent: string;
430
+ readonly routine: string;
431
+ readonly name: string;
432
+ readonly current_version: number;
433
+ readonly state: 'live' | 'revoked' | 'routine_retired' | 'agent_retired' | 'target_owner_key_inactive';
434
+ readonly invokers: {
435
+ readonly scope: 'all_members' | 'selected_users';
436
+ readonly users: readonly ({
437
+ readonly user: string;
438
+ readonly display_name: string | null;
439
+ } | {
440
+ readonly room: string;
441
+ readonly url: string;
442
+ })[];
443
+ };
444
+ readonly starts_without_approval: {
445
+ readonly scope: 'none' | 'all_admitted' | 'selected_users';
446
+ readonly users: readonly ({
447
+ readonly user: string;
448
+ readonly display_name: string | null;
449
+ } | {
450
+ readonly room: string;
451
+ readonly url: string;
452
+ })[];
453
+ };
454
+ readonly follow_up_mail: {
455
+ readonly scope: 'none' | 'all_admitted' | 'selected_users';
456
+ readonly users: readonly {
457
+ readonly user: string;
458
+ readonly display_name: string | null;
459
+ }[];
460
+ };
461
+ readonly granted_at: string;
462
+ readonly revoked_at: string | null;
463
+ readonly rooms?: {
464
+ readonly reach: 'all';
465
+ } | {
466
+ readonly reach: 'all_but_private';
467
+ } | {
468
+ readonly reach: 'selected';
469
+ readonly refs: readonly string[];
470
+ };
471
+ readonly accounts?: readonly {
472
+ readonly id: string;
473
+ readonly name: string;
474
+ readonly origin: string;
475
+ }[];
476
+ readonly url: string;
477
+ }[];
478
+ };
98
479
  };
99
480
  readonly 'routineAllowance.list': {
100
- readonly room_ref: string;
101
- readonly access: string;
481
+ readonly params: {
482
+ readonly room_ref: string;
483
+ readonly access: string;
484
+ };
485
+ readonly result: {
486
+ readonly grantees: readonly ({
487
+ readonly user: string;
488
+ readonly name: string;
489
+ readonly email: string;
490
+ readonly used: number;
491
+ readonly quota: number | null;
492
+ } | {
493
+ readonly room: string;
494
+ readonly used: number;
495
+ readonly quota: number | null;
496
+ readonly url: string;
497
+ })[];
498
+ };
102
499
  };
103
500
  readonly 'routineRequest.list': {
104
- readonly room_ref: string;
501
+ readonly params: {
502
+ readonly room_ref: string;
503
+ };
504
+ readonly result: {
505
+ readonly current: readonly {
506
+ readonly name: string;
507
+ readonly document: string;
508
+ }[];
509
+ readonly history: readonly {
510
+ readonly name: string;
511
+ readonly document: string;
512
+ }[];
513
+ };
105
514
  };
106
515
  readonly 'storage.read': {
107
- readonly room_ref?: string;
516
+ readonly params: {
517
+ readonly room_ref?: string;
518
+ };
519
+ readonly result: {
520
+ readonly measurement: {
521
+ readonly page_reference: {
522
+ readonly bytes_per_page: string;
523
+ readonly font: string;
524
+ readonly font_size_pt: string;
525
+ readonly layout: string;
526
+ readonly encoding: string;
527
+ } | null;
528
+ };
529
+ readonly total: {
530
+ readonly bytes: string;
531
+ readonly gigabytes: string;
532
+ };
533
+ readonly indexed_text: {
534
+ readonly bytes: string;
535
+ readonly gigabytes: string;
536
+ readonly approximate_pages: string | null;
537
+ };
538
+ readonly blob: {
539
+ readonly bytes: string;
540
+ readonly gigabytes: string;
541
+ };
542
+ readonly freshness: {
543
+ readonly state: 'settled';
544
+ };
545
+ readonly site_images: {
546
+ readonly payloads: string;
547
+ readonly bytes: string;
548
+ readonly bound: string;
549
+ };
550
+ } | {
551
+ readonly measurement: {
552
+ readonly page_reference: {
553
+ readonly bytes_per_page: string;
554
+ readonly font: string;
555
+ readonly font_size_pt: string;
556
+ readonly layout: string;
557
+ readonly encoding: string;
558
+ } | null;
559
+ };
560
+ readonly total: {
561
+ readonly bytes: string;
562
+ readonly gigabytes: string;
563
+ };
564
+ readonly indexed_text: {
565
+ readonly bytes: string;
566
+ readonly gigabytes: string;
567
+ readonly approximate_pages: string | null;
568
+ };
569
+ readonly blob: {
570
+ readonly bytes: string;
571
+ readonly gigabytes: string;
572
+ };
573
+ readonly freshness: {
574
+ readonly state: 'settled';
575
+ };
576
+ readonly room_ref: string;
577
+ readonly url: string;
578
+ };
108
579
  };
109
580
  readonly submit: {
110
- readonly content: string;
581
+ readonly params: {
582
+ readonly content: string;
583
+ };
584
+ readonly result: {
585
+ readonly submitted: true;
586
+ };
111
587
  };
112
588
  readonly 'trigger.list': {
113
- readonly room_ref: string;
589
+ readonly params: {
590
+ readonly room_ref: string;
591
+ };
592
+ readonly result: {
593
+ readonly triggers: readonly {
594
+ readonly trigger: string;
595
+ readonly creator: {
596
+ readonly user: string;
597
+ readonly name: string;
598
+ };
599
+ readonly description: string;
600
+ readonly condition: {
601
+ readonly on: 'documents';
602
+ readonly scope: {
603
+ readonly type: string;
604
+ } | {
605
+ readonly folder: string;
606
+ } | {
607
+ readonly document: string;
608
+ };
609
+ readonly mode: 'starts_matching';
610
+ readonly new_documents: boolean;
611
+ readonly match: {
612
+ readonly all: readonly unknown[];
613
+ } | {
614
+ readonly any: readonly unknown[];
615
+ } | {
616
+ readonly not: unknown;
617
+ } | {
618
+ readonly path: string;
619
+ readonly eq: string | number | boolean;
620
+ } | {
621
+ readonly path: string;
622
+ readonly in: readonly (string | number | boolean)[];
623
+ } | {
624
+ readonly path: string;
625
+ readonly exists: boolean;
626
+ } | {
627
+ readonly path: string;
628
+ readonly contains: string | number | boolean;
629
+ } | {
630
+ readonly path: string;
631
+ readonly gt: number | string;
632
+ } | {
633
+ readonly path: string;
634
+ readonly gte: number | string;
635
+ } | {
636
+ readonly path: string;
637
+ readonly lt: number | string;
638
+ } | {
639
+ readonly path: string;
640
+ readonly lte: number | string;
641
+ } | {
642
+ readonly path: string;
643
+ readonly prefix: string;
644
+ };
645
+ readonly by?: {
646
+ readonly all: readonly unknown[];
647
+ } | {
648
+ readonly any: readonly unknown[];
649
+ } | {
650
+ readonly not: unknown;
651
+ } | {
652
+ readonly path: string;
653
+ readonly eq: string | number | boolean;
654
+ } | {
655
+ readonly path: string;
656
+ readonly in: readonly (string | number | boolean)[];
657
+ } | {
658
+ readonly path: string;
659
+ readonly exists: boolean;
660
+ } | {
661
+ readonly path: string;
662
+ readonly contains: string | number | boolean;
663
+ } | {
664
+ readonly path: string;
665
+ readonly gt: number | string;
666
+ } | {
667
+ readonly path: string;
668
+ readonly gte: number | string;
669
+ } | {
670
+ readonly path: string;
671
+ readonly lt: number | string;
672
+ } | {
673
+ readonly path: string;
674
+ readonly lte: number | string;
675
+ } | {
676
+ readonly path: string;
677
+ readonly prefix: string;
678
+ };
679
+ } | {
680
+ readonly on: 'documents';
681
+ readonly scope: {
682
+ readonly type: string;
683
+ } | {
684
+ readonly folder: string;
685
+ } | {
686
+ readonly document: string;
687
+ };
688
+ readonly mode: 'field_changes';
689
+ readonly field: string;
690
+ readonly from?: readonly (string | number | boolean)[] | 'new';
691
+ readonly to?: readonly (string | number | boolean)[] | 'deleted';
692
+ readonly match?: {
693
+ readonly all: readonly unknown[];
694
+ } | {
695
+ readonly any: readonly unknown[];
696
+ } | {
697
+ readonly not: unknown;
698
+ } | {
699
+ readonly path: string;
700
+ readonly eq: string | number | boolean;
701
+ } | {
702
+ readonly path: string;
703
+ readonly in: readonly (string | number | boolean)[];
704
+ } | {
705
+ readonly path: string;
706
+ readonly exists: boolean;
707
+ } | {
708
+ readonly path: string;
709
+ readonly contains: string | number | boolean;
710
+ } | {
711
+ readonly path: string;
712
+ readonly gt: number | string;
713
+ } | {
714
+ readonly path: string;
715
+ readonly gte: number | string;
716
+ } | {
717
+ readonly path: string;
718
+ readonly lt: number | string;
719
+ } | {
720
+ readonly path: string;
721
+ readonly lte: number | string;
722
+ } | {
723
+ readonly path: string;
724
+ readonly prefix: string;
725
+ };
726
+ readonly by?: {
727
+ readonly all: readonly unknown[];
728
+ } | {
729
+ readonly any: readonly unknown[];
730
+ } | {
731
+ readonly not: unknown;
732
+ } | {
733
+ readonly path: string;
734
+ readonly eq: string | number | boolean;
735
+ } | {
736
+ readonly path: string;
737
+ readonly in: readonly (string | number | boolean)[];
738
+ } | {
739
+ readonly path: string;
740
+ readonly exists: boolean;
741
+ } | {
742
+ readonly path: string;
743
+ readonly contains: string | number | boolean;
744
+ } | {
745
+ readonly path: string;
746
+ readonly gt: number | string;
747
+ } | {
748
+ readonly path: string;
749
+ readonly gte: number | string;
750
+ } | {
751
+ readonly path: string;
752
+ readonly lt: number | string;
753
+ } | {
754
+ readonly path: string;
755
+ readonly lte: number | string;
756
+ } | {
757
+ readonly path: string;
758
+ readonly prefix: string;
759
+ };
760
+ } | {
761
+ readonly on: 'items';
762
+ readonly source?: string;
763
+ readonly address?: string;
764
+ readonly match?: {
765
+ readonly all: readonly unknown[];
766
+ } | {
767
+ readonly any: readonly unknown[];
768
+ } | {
769
+ readonly not: unknown;
770
+ } | {
771
+ readonly path: string;
772
+ readonly eq: string | number | boolean;
773
+ } | {
774
+ readonly path: string;
775
+ readonly in: readonly (string | number | boolean)[];
776
+ } | {
777
+ readonly path: string;
778
+ readonly exists: boolean;
779
+ } | {
780
+ readonly path: string;
781
+ readonly contains: string | number | boolean;
782
+ } | {
783
+ readonly path: string;
784
+ readonly gt: number | string;
785
+ } | {
786
+ readonly path: string;
787
+ readonly gte: number | string;
788
+ } | {
789
+ readonly path: string;
790
+ readonly lt: number | string;
791
+ } | {
792
+ readonly path: string;
793
+ readonly lte: number | string;
794
+ } | {
795
+ readonly path: string;
796
+ readonly prefix: string;
797
+ };
798
+ } | {
799
+ readonly on: 'clock';
800
+ readonly cron: string;
801
+ readonly time_zone: string;
802
+ } | {
803
+ readonly on: 'clock';
804
+ readonly scope: {
805
+ readonly type: string;
806
+ };
807
+ readonly date: string;
808
+ readonly days: number;
809
+ readonly at: string;
810
+ readonly time_zone: string;
811
+ readonly match?: {
812
+ readonly all: readonly unknown[];
813
+ } | {
814
+ readonly any: readonly unknown[];
815
+ } | {
816
+ readonly not: unknown;
817
+ } | {
818
+ readonly path: string;
819
+ readonly eq: string | number | boolean;
820
+ } | {
821
+ readonly path: string;
822
+ readonly in: readonly (string | number | boolean)[];
823
+ } | {
824
+ readonly path: string;
825
+ readonly exists: boolean;
826
+ } | {
827
+ readonly path: string;
828
+ readonly contains: string | number | boolean;
829
+ } | {
830
+ readonly path: string;
831
+ readonly gt: number | string;
832
+ } | {
833
+ readonly path: string;
834
+ readonly gte: number | string;
835
+ } | {
836
+ readonly path: string;
837
+ readonly lt: number | string;
838
+ } | {
839
+ readonly path: string;
840
+ readonly lte: number | string;
841
+ } | {
842
+ readonly path: string;
843
+ readonly prefix: string;
844
+ };
845
+ };
846
+ readonly enabled: boolean;
847
+ readonly paused_by?: 'types';
848
+ readonly actions: readonly ({
849
+ readonly kind: 'notify';
850
+ readonly enabled: boolean;
851
+ readonly title: string;
852
+ readonly text: string;
853
+ readonly to: {
854
+ readonly users: readonly string[];
855
+ readonly fields: readonly string[];
856
+ readonly roles: readonly string[];
857
+ };
858
+ readonly holds: boolean;
859
+ } | {
860
+ readonly kind: 'routine';
861
+ readonly enabled: boolean;
862
+ readonly access?: string;
863
+ readonly payload: string;
864
+ readonly references: readonly {
865
+ readonly room_ref: string;
866
+ readonly ref: string;
867
+ readonly url: string;
868
+ }[];
869
+ readonly holds: boolean;
870
+ })[];
871
+ }[];
872
+ };
114
873
  };
115
874
  readonly 'triggerOccurrence.list': {
116
- readonly room_ref: string;
875
+ readonly params: {
876
+ readonly room_ref: string;
877
+ };
878
+ readonly result: {
879
+ readonly occurrences: readonly {
880
+ readonly trigger: string;
881
+ readonly path?: string;
882
+ readonly moment?: string;
883
+ readonly missed?: 'skipped' | 'failed';
884
+ readonly created_at: string;
885
+ readonly actions: readonly ({
886
+ readonly position: number;
887
+ readonly outcome: 'notified';
888
+ readonly reached: number;
889
+ } | {
890
+ readonly position: number;
891
+ readonly outcome: 'no_target';
892
+ } | {
893
+ readonly position: number;
894
+ readonly outcome: 'requested';
895
+ readonly request: string;
896
+ } | {
897
+ readonly position: number;
898
+ readonly outcome: 'refused';
899
+ readonly code: string;
900
+ } | {
901
+ readonly position: number;
902
+ readonly outcome: 'refused';
903
+ readonly code: 'limit_reached';
904
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'address_submissions' | 'house_writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'external_calls' | 'export_starts' | 'routine_requests' | 'routine_mail' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_sockets';
905
+ } | {
906
+ readonly position: number;
907
+ readonly outcome: 'refused';
908
+ readonly code: 'limit_reached';
909
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'address_submissions' | 'house_writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'external_calls' | 'export_starts' | 'routine_requests' | 'routine_mail' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_sockets';
910
+ readonly retry_at: string;
911
+ } | {
912
+ readonly position: number;
913
+ readonly outcome: 'refused';
914
+ readonly code: 'limit_reached';
915
+ readonly limit: 'indexed_text' | 'blob';
916
+ readonly value: string;
917
+ readonly used: string;
918
+ } | {
919
+ readonly position: number;
920
+ readonly outcome: 'refused';
921
+ readonly code: 'limit_reached';
922
+ readonly limit: 'reads';
923
+ readonly period: 'minute' | 'day';
924
+ readonly value: string;
925
+ readonly retry_at: string;
926
+ } | {
927
+ readonly position: number;
928
+ readonly outcome: 'refused';
929
+ readonly code: 'limit_reached';
930
+ readonly limit: 'house_writes';
931
+ readonly period: 'minute' | 'day';
932
+ readonly retry_at: string;
933
+ } | {
934
+ readonly position: number;
935
+ readonly outcome: 'refused';
936
+ readonly code: 'limit_reached';
937
+ readonly limit: 'mcp_reads' | 'mcp_downloads';
938
+ readonly value: string;
939
+ readonly retry_at: string;
940
+ } | {
941
+ readonly position: number;
942
+ readonly outcome: 'withdrawn';
943
+ } | {
944
+ readonly position: number;
945
+ readonly outcome: 'failed';
946
+ } | {
947
+ readonly position: number;
948
+ readonly outcome: 'waiting';
949
+ } | {
950
+ readonly position: number;
951
+ readonly outcome: 'paused';
952
+ })[];
953
+ readonly url?: string;
954
+ }[];
955
+ };
117
956
  };
118
957
  }