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

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.
Files changed (44) hide show
  1. package/dist/calls.d.ts +395 -341
  2. package/dist/index.d.ts +2 -0
  3. package/dist/mdmodel/condition.d.ts +15 -2
  4. package/dist/mdmodel/definition.d.ts +2 -1
  5. package/dist/mdmodel/document.d.ts +4 -4
  6. package/dist/mdmodel/index.d.ts +7 -6
  7. package/dist/mdmodel/links.d.ts +28 -0
  8. package/dist/mdmodel/types.d.ts +8 -4
  9. package/dist/mdmodel/validate.d.ts +25 -4
  10. package/dist/mdruntime/adapter.d.ts +39 -29
  11. package/dist/mdruntime/binary.d.ts +0 -5
  12. package/dist/mdruntime/chain.d.ts +10 -0
  13. package/dist/mdruntime/change-set.d.ts +6 -16
  14. package/dist/mdruntime/change.d.ts +31 -1
  15. package/dist/mdruntime/client.d.ts +6 -3
  16. package/dist/mdruntime/collection.d.ts +6 -20
  17. package/dist/mdruntime/compile.d.ts +15 -0
  18. package/dist/mdruntime/connection.d.ts +11 -6
  19. package/dist/mdruntime/conversation.d.ts +3 -3
  20. package/dist/mdruntime/durability.d.ts +3 -1
  21. package/dist/mdruntime/file.d.ts +2 -10
  22. package/dist/mdruntime/fulltext.d.ts +26 -0
  23. package/dist/mdruntime/messages.d.ts +27 -0
  24. package/dist/mdruntime/observation.d.ts +12 -0
  25. package/dist/mdruntime/opened.d.ts +21 -0
  26. package/dist/mdruntime/outcome.d.ts +28 -4
  27. package/dist/mdruntime/overlay.d.ts +1 -4
  28. package/dist/mdruntime/query.d.ts +5 -1
  29. package/dist/mdruntime/reach.d.ts +5 -3
  30. package/dist/mdruntime/readiness.d.ts +18 -3
  31. package/dist/mdruntime/recovery.d.ts +2 -2
  32. package/dist/mdruntime/replica.d.ts +57 -39
  33. package/dist/mdruntime/room-draft.d.ts +3 -1
  34. package/dist/mdruntime/save.d.ts +49 -14
  35. package/dist/mdruntime/search.d.ts +11 -43
  36. package/dist/mdruntime/shared.d.ts +4 -3
  37. package/dist/mdruntime/store.d.ts +87 -94
  38. package/dist/mdruntime/stored.d.ts +144 -0
  39. package/dist/mdruntime/tables.d.ts +341 -0
  40. package/dist/mdruntime/wire.d.ts +13 -1
  41. package/docs/families.md +2 -2
  42. package/package.json +1 -1
  43. package/dist/mdruntime/rows.d.ts +0 -38
  44. package/dist/mdruntime/turn.d.ts +0 -8
package/dist/calls.d.ts CHANGED
@@ -64,10 +64,24 @@ export interface HouseMethods {
64
64
  readonly url: string;
65
65
  };
66
66
  };
67
+ readonly 'conversation.attach': {
68
+ readonly params: {
69
+ readonly blob: Blob;
70
+ readonly byteLength: number;
71
+ readonly contentHash: string;
72
+ readonly mediaType: string;
73
+ readonly name: string;
74
+ readonly room: string;
75
+ };
76
+ readonly result: {
77
+ readonly path: string;
78
+ };
79
+ };
67
80
  readonly 'conversation.create': {
68
81
  readonly params: {
69
82
  readonly agent_id: string;
70
83
  readonly operation_id?: string;
84
+ readonly replaces?: string;
71
85
  };
72
86
  readonly result: {
73
87
  readonly agent_id: string;
@@ -192,40 +206,13 @@ export interface HouseMethods {
192
206
  readonly 'conversation.send': {
193
207
  readonly params: {
194
208
  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
209
  readonly operation_id: string;
205
- readonly text?: string;
210
+ readonly text: string;
206
211
  };
207
212
  readonly result: {
208
213
  readonly agent_id: string;
209
214
  readonly authority: string;
210
215
  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
216
  readonly log_epoch: string;
230
217
  readonly message_id: string;
231
218
  readonly position: string;
@@ -278,6 +265,86 @@ export interface HouseMethods {
278
265
  readonly log_epoch: string;
279
266
  };
280
267
  };
268
+ readonly 'inboxChat.assign': {
269
+ readonly params: {
270
+ readonly room_ref: string;
271
+ readonly path: string;
272
+ readonly assignee: {
273
+ readonly user: string;
274
+ } | {
275
+ readonly agent: string;
276
+ } | null;
277
+ };
278
+ readonly result: {
279
+ readonly room_ref: string;
280
+ readonly path: string;
281
+ readonly assignee: {
282
+ readonly user: string;
283
+ readonly name: string;
284
+ } | {
285
+ readonly agent: string;
286
+ readonly name: string;
287
+ } | null;
288
+ readonly return_to: {
289
+ readonly agent: string;
290
+ readonly name: string;
291
+ } | null;
292
+ readonly authority: string;
293
+ readonly position: string;
294
+ readonly log_epoch: string;
295
+ readonly url: string;
296
+ };
297
+ };
298
+ readonly 'inboxChat.return': {
299
+ readonly params: {
300
+ readonly room_ref: string;
301
+ readonly path: string;
302
+ };
303
+ readonly result: {
304
+ readonly room_ref: string;
305
+ readonly path: string;
306
+ readonly assignee: {
307
+ readonly user: string;
308
+ readonly name: string;
309
+ } | {
310
+ readonly agent: string;
311
+ readonly name: string;
312
+ } | null;
313
+ readonly return_to: {
314
+ readonly agent: string;
315
+ readonly name: string;
316
+ } | null;
317
+ readonly authority: string;
318
+ readonly position: string;
319
+ readonly log_epoch: string;
320
+ readonly url: string;
321
+ };
322
+ };
323
+ readonly 'inboxChat.takeControl': {
324
+ readonly params: {
325
+ readonly room_ref: string;
326
+ readonly path: string;
327
+ };
328
+ readonly result: {
329
+ readonly room_ref: string;
330
+ readonly path: string;
331
+ readonly assignee: {
332
+ readonly user: string;
333
+ readonly name: string;
334
+ } | {
335
+ readonly agent: string;
336
+ readonly name: string;
337
+ } | null;
338
+ readonly return_to: {
339
+ readonly agent: string;
340
+ readonly name: string;
341
+ } | null;
342
+ readonly authority: string;
343
+ readonly position: string;
344
+ readonly log_epoch: string;
345
+ readonly url: string;
346
+ };
347
+ };
281
348
  readonly 'member.list': {
282
349
  readonly params: {
283
350
  readonly room_ref: string;
@@ -353,42 +420,20 @@ export interface HouseMethods {
353
420
  readonly order?: 'asc' | 'desc';
354
421
  };
355
422
  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
423
  readonly record: string;
371
424
  readonly ref: string;
425
+ readonly created_at: string;
426
+ readonly body: string | null;
427
+ readonly claimed: unknown;
372
428
  } | {
373
- readonly next_cursor?: string;
374
429
  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
430
  readonly record: string;
390
431
  readonly ref: string;
432
+ readonly created_at: string;
433
+ readonly body: string | null;
434
+ readonly claimed: unknown;
391
435
  }[];
436
+ readonly next_cursor?: string;
392
437
  };
393
438
  };
394
439
  readonly 'relay.read': {
@@ -488,11 +533,11 @@ export interface HouseMethods {
488
533
  readonly name: string;
489
534
  readonly email: string;
490
535
  readonly used: number;
491
- readonly quota: number | null;
536
+ readonly allowance: number | null;
492
537
  } | {
493
538
  readonly room: string;
494
539
  readonly used: number;
495
- readonly quota: number | null;
540
+ readonly allowance: number | null;
496
541
  readonly url: string;
497
542
  })[];
498
543
  };
@@ -587,287 +632,288 @@ export interface HouseMethods {
587
632
  };
588
633
  readonly 'trigger.list': {
589
634
  readonly params: {
590
- readonly room_ref: string;
635
+ readonly room_refs: readonly string[];
591
636
  };
592
637
  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;
638
+ readonly rooms: readonly {
639
+ readonly room_ref: string;
640
+ readonly triggers: readonly {
641
+ readonly trigger: string;
642
+ readonly creator: {
643
+ readonly user: string;
644
+ readonly name: string;
844
645
  };
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[];
646
+ readonly description: string;
647
+ readonly condition: {
648
+ readonly on: 'documents';
649
+ readonly scope: {
650
+ readonly type: string;
651
+ } | {
652
+ readonly folder: string;
653
+ } | {
654
+ readonly document: string;
655
+ };
656
+ readonly mode: 'starts_matching';
657
+ readonly new_documents: boolean;
658
+ readonly match: {
659
+ readonly all: readonly unknown[];
660
+ } | {
661
+ readonly any: readonly unknown[];
662
+ } | {
663
+ readonly not: unknown;
664
+ } | {
665
+ readonly path: string;
666
+ readonly eq: string | number | boolean;
667
+ } | {
668
+ readonly path: string;
669
+ readonly in: readonly (string | number | boolean)[];
670
+ } | {
671
+ readonly path: string;
672
+ readonly exists: boolean;
673
+ } | {
674
+ readonly path: string;
675
+ readonly contains: string | number | boolean;
676
+ } | {
677
+ readonly path: string;
678
+ readonly gt: number | string;
679
+ } | {
680
+ readonly path: string;
681
+ readonly gte: number | string;
682
+ } | {
683
+ readonly path: string;
684
+ readonly lt: number | string;
685
+ } | {
686
+ readonly path: string;
687
+ readonly lte: number | string;
688
+ } | {
689
+ readonly path: string;
690
+ readonly prefix: string;
691
+ };
692
+ readonly by?: {
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 moved_between_rooms?: boolean;
727
+ } | {
728
+ readonly on: 'documents';
729
+ readonly scope: {
730
+ readonly type: string;
731
+ } | {
732
+ readonly folder: string;
733
+ } | {
734
+ readonly document: string;
735
+ };
736
+ readonly mode: 'field_changes';
737
+ readonly field: string;
738
+ readonly from?: readonly (string | number | boolean)[] | 'new';
739
+ readonly to?: readonly (string | number | boolean)[] | 'deleted';
740
+ readonly match?: {
741
+ readonly all: readonly unknown[];
742
+ } | {
743
+ readonly any: readonly unknown[];
744
+ } | {
745
+ readonly not: unknown;
746
+ } | {
747
+ readonly path: string;
748
+ readonly eq: string | number | boolean;
749
+ } | {
750
+ readonly path: string;
751
+ readonly in: readonly (string | number | boolean)[];
752
+ } | {
753
+ readonly path: string;
754
+ readonly exists: boolean;
755
+ } | {
756
+ readonly path: string;
757
+ readonly contains: string | number | boolean;
758
+ } | {
759
+ readonly path: string;
760
+ readonly gt: number | string;
761
+ } | {
762
+ readonly path: string;
763
+ readonly gte: number | string;
764
+ } | {
765
+ readonly path: string;
766
+ readonly lt: number | string;
767
+ } | {
768
+ readonly path: string;
769
+ readonly lte: number | string;
770
+ } | {
771
+ readonly path: string;
772
+ readonly prefix: string;
773
+ };
774
+ readonly by?: {
775
+ readonly all: readonly unknown[];
776
+ } | {
777
+ readonly any: readonly unknown[];
778
+ } | {
779
+ readonly not: unknown;
780
+ } | {
781
+ readonly path: string;
782
+ readonly eq: string | number | boolean;
783
+ } | {
784
+ readonly path: string;
785
+ readonly in: readonly (string | number | boolean)[];
786
+ } | {
787
+ readonly path: string;
788
+ readonly exists: boolean;
789
+ } | {
790
+ readonly path: string;
791
+ readonly contains: string | number | boolean;
792
+ } | {
793
+ readonly path: string;
794
+ readonly gt: number | string;
795
+ } | {
796
+ readonly path: string;
797
+ readonly gte: number | string;
798
+ } | {
799
+ readonly path: string;
800
+ readonly lt: number | string;
801
+ } | {
802
+ readonly path: string;
803
+ readonly lte: number | string;
804
+ } | {
805
+ readonly path: string;
806
+ readonly prefix: string;
807
+ };
808
+ readonly moved_between_rooms?: boolean;
809
+ } | {
810
+ readonly on: 'items';
811
+ readonly source?: string;
812
+ readonly address?: string;
813
+ readonly match?: {
814
+ readonly all: readonly unknown[];
815
+ } | {
816
+ readonly any: readonly unknown[];
817
+ } | {
818
+ readonly not: unknown;
819
+ } | {
820
+ readonly path: string;
821
+ readonly eq: string | number | boolean;
822
+ } | {
823
+ readonly path: string;
824
+ readonly in: readonly (string | number | boolean)[];
825
+ } | {
826
+ readonly path: string;
827
+ readonly exists: boolean;
828
+ } | {
829
+ readonly path: string;
830
+ readonly contains: string | number | boolean;
831
+ } | {
832
+ readonly path: string;
833
+ readonly gt: number | string;
834
+ } | {
835
+ readonly path: string;
836
+ readonly gte: number | string;
837
+ } | {
838
+ readonly path: string;
839
+ readonly lt: number | string;
840
+ } | {
841
+ readonly path: string;
842
+ readonly lte: number | string;
843
+ } | {
844
+ readonly path: string;
845
+ readonly prefix: string;
846
+ };
847
+ } | {
848
+ readonly on: 'clock';
849
+ readonly cron: string;
850
+ readonly time_zone: string;
851
+ } | {
852
+ readonly on: 'clock';
853
+ readonly scope: {
854
+ readonly type: string;
855
+ };
856
+ readonly date: string;
857
+ readonly days: number;
858
+ readonly at: string;
859
+ readonly time_zone: string;
860
+ readonly match?: {
861
+ readonly all: readonly unknown[];
862
+ } | {
863
+ readonly any: readonly unknown[];
864
+ } | {
865
+ readonly not: unknown;
866
+ } | {
867
+ readonly path: string;
868
+ readonly eq: string | number | boolean;
869
+ } | {
870
+ readonly path: string;
871
+ readonly in: readonly (string | number | boolean)[];
872
+ } | {
873
+ readonly path: string;
874
+ readonly exists: boolean;
875
+ } | {
876
+ readonly path: string;
877
+ readonly contains: string | number | boolean;
878
+ } | {
879
+ readonly path: string;
880
+ readonly gt: number | string;
881
+ } | {
882
+ readonly path: string;
883
+ readonly gte: number | string;
884
+ } | {
885
+ readonly path: string;
886
+ readonly lt: number | string;
887
+ } | {
888
+ readonly path: string;
889
+ readonly lte: number | string;
890
+ } | {
891
+ readonly path: string;
892
+ readonly prefix: string;
893
+ };
857
894
  };
858
- readonly holds: boolean;
859
- } | {
860
- readonly kind: 'routine';
861
895
  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
- })[];
896
+ readonly paused_by?: 'types';
897
+ readonly actions: readonly ({
898
+ readonly kind: 'notify';
899
+ readonly enabled: boolean;
900
+ readonly title: string;
901
+ readonly text: string;
902
+ readonly to: {
903
+ readonly users: readonly string[];
904
+ readonly fields: readonly string[];
905
+ readonly roles: readonly string[];
906
+ };
907
+ readonly holds: boolean;
908
+ } | {
909
+ readonly kind: 'routine';
910
+ readonly enabled: boolean;
911
+ readonly access?: string;
912
+ readonly payload: string;
913
+ readonly holds: boolean;
914
+ })[];
915
+ }[];
916
+ readonly url: string;
871
917
  }[];
872
918
  };
873
919
  };
@@ -893,6 +939,10 @@ export interface HouseMethods {
893
939
  readonly position: number;
894
940
  readonly outcome: 'requested';
895
941
  readonly request: string;
942
+ } | {
943
+ readonly position: number;
944
+ readonly outcome: 'continued';
945
+ readonly request: string;
896
946
  } | {
897
947
  readonly position: number;
898
948
  readonly outcome: 'refused';
@@ -901,12 +951,12 @@ export interface HouseMethods {
901
951
  readonly position: number;
902
952
  readonly outcome: 'refused';
903
953
  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';
954
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
905
955
  } | {
906
956
  readonly position: number;
907
957
  readonly outcome: 'refused';
908
958
  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';
959
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'mcp_reads' | 'mcp_downloads' | 'external_calls' | 'routine_requests' | 'routine_mail';
910
960
  readonly retry_at: string;
911
961
  } | {
912
962
  readonly position: number;
@@ -927,15 +977,19 @@ export interface HouseMethods {
927
977
  readonly position: number;
928
978
  readonly outcome: 'refused';
929
979
  readonly code: 'limit_reached';
930
- readonly limit: 'house_writes';
980
+ readonly limit: 'writes';
931
981
  readonly period: 'minute' | 'day';
932
982
  readonly retry_at: string;
933
983
  } | {
934
984
  readonly position: number;
935
985
  readonly outcome: 'refused';
936
- readonly code: 'limit_reached';
937
- readonly limit: 'mcp_reads' | 'mcp_downloads';
938
- readonly value: string;
986
+ readonly code: 'cap_reached';
987
+ readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | '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';
988
+ } | {
989
+ readonly position: number;
990
+ readonly outcome: 'refused';
991
+ readonly code: 'cap_reached';
992
+ readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | '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';
939
993
  readonly retry_at: string;
940
994
  } | {
941
995
  readonly position: number;