@agentshouse/app-bridge 0.1.0-c6cf78fcfa1b4 → 0.1.0-c7704ffcd24b7

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
@@ -16,16 +16,19 @@ export interface HouseMethods {
16
16
  readonly user_name: string;
17
17
  readonly entries: readonly {
18
18
  readonly namespace: string;
19
- readonly operations: readonly ('read' | 'write' | 'delete' | 'sync' | 'export' | 'manageAccess')[];
19
+ readonly read: 'mcp' | 'online' | 'local' | null;
20
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
20
21
  readonly sources: readonly {
21
22
  readonly kind: 'direct' | 'inherited';
22
23
  readonly namespace: string;
23
- readonly operations: readonly ('read' | 'write' | 'delete' | 'sync' | 'export' | 'manageAccess')[];
24
+ readonly read: 'mcp' | 'online' | 'local' | null;
25
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
24
26
  }[];
25
27
  }[];
26
28
  readonly direct: readonly {
27
29
  readonly namespace: string;
28
- readonly operations: readonly ('read' | 'write' | 'delete' | 'sync' | 'export' | 'manageAccess')[];
30
+ readonly read: 'mcp' | 'online' | 'local' | null;
31
+ readonly operations: readonly ('write' | 'delete' | 'export' | 'manageAccess')[];
29
32
  }[];
30
33
  readonly admitted_at: string | null;
31
34
  readonly schema_roles: readonly string[];
@@ -61,6 +64,19 @@ export interface HouseMethods {
61
64
  readonly url: string;
62
65
  };
63
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
+ };
64
80
  readonly 'conversation.create': {
65
81
  readonly params: {
66
82
  readonly agent_id: string;
@@ -189,40 +205,13 @@ export interface HouseMethods {
189
205
  readonly 'conversation.send': {
190
206
  readonly params: {
191
207
  readonly conversation: string;
192
- readonly files?: readonly {
193
- readonly blob: Blob;
194
- readonly byteLength: number;
195
- readonly contentHash: string;
196
- readonly height?: number;
197
- readonly mediaType: string;
198
- readonly name: string;
199
- readonly width?: number;
200
- }[];
201
208
  readonly operation_id: string;
202
- readonly text?: string;
209
+ readonly text: string;
203
210
  };
204
211
  readonly result: {
205
212
  readonly agent_id: string;
206
213
  readonly authority: string;
207
214
  readonly conversation_id: string;
208
- readonly files: readonly {
209
- readonly name: string;
210
- readonly media_type: string | null;
211
- readonly dimensions: {
212
- readonly width: number;
213
- readonly height: number;
214
- } | null;
215
- readonly bytes: number;
216
- readonly sha256: string;
217
- readonly file: string | null;
218
- readonly page: string;
219
- readonly upload?: {
220
- readonly method: 'POST';
221
- readonly operation: string;
222
- readonly url: string;
223
- readonly expires_at: string;
224
- };
225
- }[];
226
215
  readonly log_epoch: string;
227
216
  readonly message_id: string;
228
217
  readonly position: string;
@@ -448,6 +437,13 @@ export interface HouseMethods {
448
437
  readonly url: string;
449
438
  })[];
450
439
  };
440
+ readonly follow_up_mail: {
441
+ readonly scope: 'none' | 'all_admitted' | 'selected_users';
442
+ readonly users: readonly {
443
+ readonly user: string;
444
+ readonly display_name: string | null;
445
+ }[];
446
+ };
451
447
  readonly granted_at: string;
452
448
  readonly revoked_at: string | null;
453
449
  readonly rooms?: {
@@ -478,11 +474,11 @@ export interface HouseMethods {
478
474
  readonly name: string;
479
475
  readonly email: string;
480
476
  readonly used: number;
481
- readonly quota: number | null;
477
+ readonly allowance: number | null;
482
478
  } | {
483
479
  readonly room: string;
484
480
  readonly used: number;
485
- readonly quota: number | null;
481
+ readonly allowance: number | null;
486
482
  readonly url: string;
487
483
  })[];
488
484
  };
@@ -577,320 +573,288 @@ export interface HouseMethods {
577
573
  };
578
574
  readonly 'trigger.list': {
579
575
  readonly params: {
580
- readonly room_ref: string;
576
+ readonly room_refs: readonly string[];
581
577
  };
582
578
  readonly result: {
583
- readonly triggers: readonly {
584
- readonly trigger: string;
585
- readonly owner: string;
586
- readonly description: string;
587
- readonly condition: {
588
- readonly on: 'documents';
589
- readonly scope: {
590
- readonly type: string;
591
- } | {
592
- readonly folder: string;
593
- } | {
594
- readonly document: string;
579
+ readonly rooms: readonly {
580
+ readonly room_ref: string;
581
+ readonly triggers: readonly {
582
+ readonly trigger: string;
583
+ readonly creator: {
584
+ readonly user: string;
585
+ readonly name: string;
595
586
  };
596
- readonly mode: 'starts_matching';
597
- readonly new_documents: boolean;
598
- readonly match: {
599
- readonly all: readonly unknown[];
600
- } | {
601
- readonly any: readonly unknown[];
602
- } | {
603
- readonly not: unknown;
604
- } | {
605
- readonly path: string;
606
- readonly eq: string | number | boolean | {
607
- readonly owner: true;
587
+ readonly description: string;
588
+ readonly condition: {
589
+ readonly on: 'documents';
590
+ readonly scope: {
591
+ readonly type: string;
592
+ } | {
593
+ readonly folder: string;
594
+ } | {
595
+ readonly document: string;
608
596
  };
609
- } | {
610
- readonly path: string;
611
- readonly in: readonly (string | number | boolean | {
612
- readonly owner: true;
613
- })[];
614
- } | {
615
- readonly path: string;
616
- readonly exists: boolean;
617
- } | {
618
- readonly path: string;
619
- readonly contains: string | number | boolean | {
620
- readonly owner: true;
597
+ readonly mode: 'starts_matching';
598
+ readonly new_documents: boolean;
599
+ readonly match: {
600
+ readonly all: readonly unknown[];
601
+ } | {
602
+ readonly any: readonly unknown[];
603
+ } | {
604
+ readonly not: unknown;
605
+ } | {
606
+ readonly path: string;
607
+ readonly eq: string | number | boolean;
608
+ } | {
609
+ readonly path: string;
610
+ readonly in: readonly (string | number | boolean)[];
611
+ } | {
612
+ readonly path: string;
613
+ readonly exists: boolean;
614
+ } | {
615
+ readonly path: string;
616
+ readonly contains: string | number | boolean;
617
+ } | {
618
+ readonly path: string;
619
+ readonly gt: number | string;
620
+ } | {
621
+ readonly path: string;
622
+ readonly gte: number | string;
623
+ } | {
624
+ readonly path: string;
625
+ readonly lt: number | string;
626
+ } | {
627
+ readonly path: string;
628
+ readonly lte: number | string;
629
+ } | {
630
+ readonly path: string;
631
+ readonly prefix: string;
621
632
  };
622
- } | {
623
- readonly path: string;
624
- readonly gt: number | string;
625
- } | {
626
- readonly path: string;
627
- readonly gte: number | string;
628
- } | {
629
- readonly path: string;
630
- readonly lt: number | string;
631
- } | {
632
- readonly path: string;
633
- readonly lte: number | string;
634
- } | {
635
- readonly path: string;
636
- readonly prefix: string;
637
- };
638
- readonly by?: {
639
- readonly all: readonly unknown[];
640
- } | {
641
- readonly any: readonly unknown[];
642
- } | {
643
- readonly not: unknown;
644
- } | {
645
- readonly path: string;
646
- readonly eq: string | number | boolean | {
647
- readonly owner: true;
633
+ readonly by?: {
634
+ readonly all: readonly unknown[];
635
+ } | {
636
+ readonly any: readonly unknown[];
637
+ } | {
638
+ readonly not: unknown;
639
+ } | {
640
+ readonly path: string;
641
+ readonly eq: string | number | boolean;
642
+ } | {
643
+ readonly path: string;
644
+ readonly in: readonly (string | number | boolean)[];
645
+ } | {
646
+ readonly path: string;
647
+ readonly exists: boolean;
648
+ } | {
649
+ readonly path: string;
650
+ readonly contains: string | number | boolean;
651
+ } | {
652
+ readonly path: string;
653
+ readonly gt: number | string;
654
+ } | {
655
+ readonly path: string;
656
+ readonly gte: number | string;
657
+ } | {
658
+ readonly path: string;
659
+ readonly lt: number | string;
660
+ } | {
661
+ readonly path: string;
662
+ readonly lte: number | string;
663
+ } | {
664
+ readonly path: string;
665
+ readonly prefix: string;
648
666
  };
649
- } | {
650
- readonly path: string;
651
- readonly in: readonly (string | number | boolean | {
652
- readonly owner: true;
653
- })[];
654
- } | {
655
- readonly path: string;
656
- readonly exists: boolean;
657
- } | {
658
- readonly path: string;
659
- readonly contains: string | number | boolean | {
660
- readonly owner: true;
667
+ readonly moved_between_rooms?: boolean;
668
+ } | {
669
+ readonly on: 'documents';
670
+ readonly scope: {
671
+ readonly type: string;
672
+ } | {
673
+ readonly folder: string;
674
+ } | {
675
+ readonly document: string;
661
676
  };
662
- } | {
663
- readonly path: string;
664
- readonly gt: number | string;
665
- } | {
666
- readonly path: string;
667
- readonly gte: number | string;
668
- } | {
669
- readonly path: string;
670
- readonly lt: number | string;
671
- } | {
672
- readonly path: string;
673
- readonly lte: number | string;
674
- } | {
675
- readonly path: string;
676
- readonly prefix: string;
677
- };
678
- } | {
679
- readonly on: 'documents';
680
- readonly scope: {
681
- readonly type: string;
682
- } | {
683
- readonly folder: string;
684
- } | {
685
- readonly document: string;
686
- };
687
- readonly mode: 'field_changes';
688
- readonly field: string;
689
- readonly from?: readonly (string | number | boolean | {
690
- readonly owner: true;
691
- })[] | 'new';
692
- readonly to?: readonly (string | number | boolean | {
693
- readonly owner: true;
694
- })[] | 'deleted';
695
- readonly match?: {
696
- readonly all: readonly unknown[];
697
- } | {
698
- readonly any: readonly unknown[];
699
- } | {
700
- readonly not: unknown;
701
- } | {
702
- readonly path: string;
703
- readonly eq: string | number | boolean | {
704
- readonly owner: true;
677
+ readonly mode: 'field_changes';
678
+ readonly field: string;
679
+ readonly from?: readonly (string | number | boolean)[] | 'new';
680
+ readonly to?: readonly (string | number | boolean)[] | 'deleted';
681
+ readonly match?: {
682
+ readonly all: readonly unknown[];
683
+ } | {
684
+ readonly any: readonly unknown[];
685
+ } | {
686
+ readonly not: unknown;
687
+ } | {
688
+ readonly path: string;
689
+ readonly eq: string | number | boolean;
690
+ } | {
691
+ readonly path: string;
692
+ readonly in: readonly (string | number | boolean)[];
693
+ } | {
694
+ readonly path: string;
695
+ readonly exists: boolean;
696
+ } | {
697
+ readonly path: string;
698
+ readonly contains: string | number | boolean;
699
+ } | {
700
+ readonly path: string;
701
+ readonly gt: number | string;
702
+ } | {
703
+ readonly path: string;
704
+ readonly gte: number | string;
705
+ } | {
706
+ readonly path: string;
707
+ readonly lt: number | string;
708
+ } | {
709
+ readonly path: string;
710
+ readonly lte: number | string;
711
+ } | {
712
+ readonly path: string;
713
+ readonly prefix: string;
705
714
  };
706
- } | {
707
- readonly path: string;
708
- readonly in: readonly (string | number | boolean | {
709
- readonly owner: true;
710
- })[];
711
- } | {
712
- readonly path: string;
713
- readonly exists: boolean;
714
- } | {
715
- readonly path: string;
716
- readonly contains: string | number | boolean | {
717
- readonly owner: true;
715
+ readonly by?: {
716
+ readonly all: readonly unknown[];
717
+ } | {
718
+ readonly any: readonly unknown[];
719
+ } | {
720
+ readonly not: unknown;
721
+ } | {
722
+ readonly path: string;
723
+ readonly eq: string | number | boolean;
724
+ } | {
725
+ readonly path: string;
726
+ readonly in: readonly (string | number | boolean)[];
727
+ } | {
728
+ readonly path: string;
729
+ readonly exists: boolean;
730
+ } | {
731
+ readonly path: string;
732
+ readonly contains: string | number | boolean;
733
+ } | {
734
+ readonly path: string;
735
+ readonly gt: number | string;
736
+ } | {
737
+ readonly path: string;
738
+ readonly gte: number | string;
739
+ } | {
740
+ readonly path: string;
741
+ readonly lt: number | string;
742
+ } | {
743
+ readonly path: string;
744
+ readonly lte: number | string;
745
+ } | {
746
+ readonly path: string;
747
+ readonly prefix: string;
718
748
  };
719
- } | {
720
- readonly path: string;
721
- readonly gt: number | string;
722
- } | {
723
- readonly path: string;
724
- readonly gte: number | string;
725
- } | {
726
- readonly path: string;
727
- readonly lt: number | string;
728
- } | {
729
- readonly path: string;
730
- readonly lte: number | string;
731
- } | {
732
- readonly path: string;
733
- readonly prefix: string;
734
- };
735
- readonly by?: {
736
- readonly all: readonly unknown[];
737
- } | {
738
- readonly any: readonly unknown[];
739
- } | {
740
- readonly not: unknown;
741
- } | {
742
- readonly path: string;
743
- readonly eq: string | number | boolean | {
744
- readonly owner: true;
745
- };
746
- } | {
747
- readonly path: string;
748
- readonly in: readonly (string | number | boolean | {
749
- readonly owner: true;
750
- })[];
751
- } | {
752
- readonly path: string;
753
- readonly exists: boolean;
754
- } | {
755
- readonly path: string;
756
- readonly contains: string | number | boolean | {
757
- readonly owner: true;
749
+ readonly moved_between_rooms?: boolean;
750
+ } | {
751
+ readonly on: 'items';
752
+ readonly source?: string;
753
+ readonly address?: string;
754
+ readonly match?: {
755
+ readonly all: readonly unknown[];
756
+ } | {
757
+ readonly any: readonly unknown[];
758
+ } | {
759
+ readonly not: unknown;
760
+ } | {
761
+ readonly path: string;
762
+ readonly eq: string | number | boolean;
763
+ } | {
764
+ readonly path: string;
765
+ readonly in: readonly (string | number | boolean)[];
766
+ } | {
767
+ readonly path: string;
768
+ readonly exists: boolean;
769
+ } | {
770
+ readonly path: string;
771
+ readonly contains: string | number | boolean;
772
+ } | {
773
+ readonly path: string;
774
+ readonly gt: number | string;
775
+ } | {
776
+ readonly path: string;
777
+ readonly gte: number | string;
778
+ } | {
779
+ readonly path: string;
780
+ readonly lt: number | string;
781
+ } | {
782
+ readonly path: string;
783
+ readonly lte: number | string;
784
+ } | {
785
+ readonly path: string;
786
+ readonly prefix: string;
758
787
  };
759
788
  } | {
760
- readonly path: string;
761
- readonly gt: number | string;
762
- } | {
763
- readonly path: string;
764
- readonly gte: number | string;
765
- } | {
766
- readonly path: string;
767
- readonly lt: number | string;
768
- } | {
769
- readonly path: string;
770
- readonly lte: number | string;
771
- } | {
772
- readonly path: string;
773
- readonly prefix: string;
774
- };
775
- } | {
776
- readonly on: 'items';
777
- readonly source?: string;
778
- readonly address?: string;
779
- readonly match?: {
780
- readonly all: readonly unknown[];
781
- } | {
782
- readonly any: readonly unknown[];
783
- } | {
784
- readonly not: unknown;
789
+ readonly on: 'clock';
790
+ readonly cron: string;
791
+ readonly time_zone: string;
785
792
  } | {
786
- readonly path: string;
787
- readonly eq: string | number | boolean | {
788
- readonly owner: true;
793
+ readonly on: 'clock';
794
+ readonly scope: {
795
+ readonly type: string;
789
796
  };
790
- } | {
791
- readonly path: string;
792
- readonly in: readonly (string | number | boolean | {
793
- readonly owner: true;
794
- })[];
795
- } | {
796
- readonly path: string;
797
- readonly exists: boolean;
798
- } | {
799
- readonly path: string;
800
- readonly contains: string | number | boolean | {
801
- readonly owner: true;
797
+ readonly date: string;
798
+ readonly days: number;
799
+ readonly at: string;
800
+ readonly time_zone: string;
801
+ readonly match?: {
802
+ readonly all: readonly unknown[];
803
+ } | {
804
+ readonly any: readonly unknown[];
805
+ } | {
806
+ readonly not: unknown;
807
+ } | {
808
+ readonly path: string;
809
+ readonly eq: string | number | boolean;
810
+ } | {
811
+ readonly path: string;
812
+ readonly in: readonly (string | number | boolean)[];
813
+ } | {
814
+ readonly path: string;
815
+ readonly exists: boolean;
816
+ } | {
817
+ readonly path: string;
818
+ readonly contains: string | number | boolean;
819
+ } | {
820
+ readonly path: string;
821
+ readonly gt: number | string;
822
+ } | {
823
+ readonly path: string;
824
+ readonly gte: number | string;
825
+ } | {
826
+ readonly path: string;
827
+ readonly lt: number | string;
828
+ } | {
829
+ readonly path: string;
830
+ readonly lte: number | string;
831
+ } | {
832
+ readonly path: string;
833
+ readonly prefix: string;
802
834
  };
803
- } | {
804
- readonly path: string;
805
- readonly gt: number | string;
806
- } | {
807
- readonly path: string;
808
- readonly gte: number | string;
809
- } | {
810
- readonly path: string;
811
- readonly lt: number | string;
812
- } | {
813
- readonly path: string;
814
- readonly lte: number | string;
815
- } | {
816
- readonly path: string;
817
- readonly prefix: string;
818
- };
819
- } | {
820
- readonly on: 'clock';
821
- readonly cron: string;
822
- readonly time_zone: string;
823
- } | {
824
- readonly on: 'clock';
825
- readonly scope: {
826
- readonly type: string;
827
835
  };
828
- readonly date: string;
829
- readonly days: number;
830
- readonly at: string;
831
- readonly time_zone: string;
832
- readonly match?: {
833
- readonly all: readonly unknown[];
834
- } | {
835
- readonly any: readonly unknown[];
836
- } | {
837
- readonly not: unknown;
838
- } | {
839
- readonly path: string;
840
- readonly eq: string | number | boolean | {
841
- readonly owner: true;
836
+ readonly enabled: boolean;
837
+ readonly paused_by?: 'types';
838
+ readonly actions: readonly ({
839
+ readonly kind: 'notify';
840
+ readonly enabled: boolean;
841
+ readonly title: string;
842
+ readonly text: string;
843
+ readonly to: {
844
+ readonly users: readonly string[];
845
+ readonly fields: readonly string[];
846
+ readonly roles: readonly string[];
842
847
  };
848
+ readonly holds: boolean;
843
849
  } | {
844
- readonly path: string;
845
- readonly in: readonly (string | number | boolean | {
846
- readonly owner: true;
847
- })[];
848
- } | {
849
- readonly path: string;
850
- readonly exists: boolean;
851
- } | {
852
- readonly path: string;
853
- readonly contains: string | number | boolean | {
854
- readonly owner: true;
855
- };
856
- } | {
857
- readonly path: string;
858
- readonly gt: number | string;
859
- } | {
860
- readonly path: string;
861
- readonly gte: number | string;
862
- } | {
863
- readonly path: string;
864
- readonly lt: number | string;
865
- } | {
866
- readonly path: string;
867
- readonly lte: number | string;
868
- } | {
869
- readonly path: string;
870
- readonly prefix: string;
871
- };
872
- };
873
- readonly enabled: boolean;
874
- readonly actions: readonly ({
875
- readonly kind: 'notify';
876
- readonly enabled?: boolean;
877
- readonly title?: string;
878
- readonly text?: string;
879
- } | {
880
- readonly kind: 'routine';
881
- readonly enabled?: boolean;
882
- readonly access?: string;
883
- readonly payload?: string;
884
- readonly references?: readonly {
885
- readonly room_ref: string;
886
- readonly ref: string;
887
- readonly url: string;
888
- }[];
889
- } | {
890
- readonly kind: 'conversation';
891
- readonly enabled?: boolean;
892
- readonly conversation_id?: string;
893
- })[];
850
+ readonly kind: 'routine';
851
+ readonly enabled: boolean;
852
+ readonly access?: string;
853
+ readonly payload: string;
854
+ readonly holds: boolean;
855
+ })[];
856
+ }[];
857
+ readonly url: string;
894
858
  }[];
895
859
  };
896
860
  };
@@ -908,15 +872,14 @@ export interface HouseMethods {
908
872
  readonly actions: readonly ({
909
873
  readonly position: number;
910
874
  readonly outcome: 'notified';
911
- readonly notification: string;
875
+ readonly reached: number;
912
876
  } | {
913
877
  readonly position: number;
914
- readonly outcome: 'requested';
915
- readonly request: string;
878
+ readonly outcome: 'no_target';
916
879
  } | {
917
880
  readonly position: number;
918
- readonly outcome: 'sent';
919
- readonly message: string;
881
+ readonly outcome: 'requested';
882
+ readonly request: string;
920
883
  } | {
921
884
  readonly position: number;
922
885
  readonly outcome: 'refused';
@@ -925,12 +888,12 @@ export interface HouseMethods {
925
888
  readonly position: number;
926
889
  readonly outcome: 'refused';
927
890
  readonly code: 'limit_reached';
928
- 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' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'member_triggers' | 'app_sockets' | 'kit_sockets';
891
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'external_calls' | 'routine_requests' | 'routine_mail';
929
892
  } | {
930
893
  readonly position: number;
931
894
  readonly outcome: 'refused';
932
895
  readonly code: 'limit_reached';
933
- 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' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'member_triggers' | 'app_sockets' | 'kit_sockets';
896
+ readonly limit: 'sites' | 'custom_domains' | 'publish_data' | 'site_submissions' | 'external_calls' | 'routine_requests' | 'routine_mail';
934
897
  readonly retry_at: string;
935
898
  } | {
936
899
  readonly position: number;
@@ -951,7 +914,7 @@ export interface HouseMethods {
951
914
  readonly position: number;
952
915
  readonly outcome: 'refused';
953
916
  readonly code: 'limit_reached';
954
- readonly limit: 'house_writes';
917
+ readonly limit: 'writes';
955
918
  readonly period: 'minute' | 'day';
956
919
  readonly retry_at: string;
957
920
  } | {
@@ -961,6 +924,17 @@ export interface HouseMethods {
961
924
  readonly limit: 'mcp_reads' | 'mcp_downloads';
962
925
  readonly value: string;
963
926
  readonly retry_at: string;
927
+ } | {
928
+ readonly position: number;
929
+ readonly outcome: 'refused';
930
+ readonly code: 'cap_reached';
931
+ readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'export_starts' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_connections' | 'open_uploads';
932
+ } | {
933
+ readonly position: number;
934
+ readonly outcome: 'refused';
935
+ readonly code: 'cap_reached';
936
+ readonly cap: 'address_submissions' | 'writes' | 'push_addresses' | 'push_deliveries' | 'external_accounts' | 'export_starts' | 'share_creations' | 'share_room_creations' | 'live_shares' | 'ownership_offers' | 'site_rooms' | 'slot_rooms' | 'room_triggers' | 'app_sockets' | 'kit_connections' | 'open_uploads';
937
+ readonly retry_at: string;
964
938
  } | {
965
939
  readonly position: number;
966
940
  readonly outcome: 'withdrawn';