@atproto/ozone 0.1.176 → 0.2.1

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 (180) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/api/chat/getConvo.d.ts +4 -0
  3. package/dist/api/chat/getConvo.d.ts.map +1 -0
  4. package/dist/api/chat/getConvo.js +18 -0
  5. package/dist/api/chat/getConvo.js.map +1 -0
  6. package/dist/api/chat/getConvoMembers.d.ts +4 -0
  7. package/dist/api/chat/getConvoMembers.d.ts.map +1 -0
  8. package/dist/api/chat/getConvoMembers.js +18 -0
  9. package/dist/api/chat/getConvoMembers.js.map +1 -0
  10. package/dist/api/chat/index.d.ts.map +1 -1
  11. package/dist/api/chat/index.js +4 -0
  12. package/dist/api/chat/index.js.map +1 -1
  13. package/dist/daemon/event-reverser.d.ts.map +1 -1
  14. package/dist/daemon/event-reverser.js +1 -0
  15. package/dist/daemon/event-reverser.js.map +1 -1
  16. package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.d.ts +4 -0
  17. package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.d.ts.map +1 -0
  18. package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.js +107 -0
  19. package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.js.map +1 -0
  20. package/dist/db/migrations/index.d.ts +1 -0
  21. package/dist/db/migrations/index.d.ts.map +1 -1
  22. package/dist/db/migrations/index.js +1 -0
  23. package/dist/db/migrations/index.js.map +1 -1
  24. package/dist/db/schema/expiring_tag.d.ts +1 -0
  25. package/dist/db/schema/expiring_tag.d.ts.map +1 -1
  26. package/dist/db/schema/expiring_tag.js.map +1 -1
  27. package/dist/db/schema/moderation_event.d.ts +2 -1
  28. package/dist/db/schema/moderation_event.d.ts.map +1 -1
  29. package/dist/db/schema/moderation_event.js.map +1 -1
  30. package/dist/db/schema/moderation_subject_status.d.ts +1 -0
  31. package/dist/db/schema/moderation_subject_status.d.ts.map +1 -1
  32. package/dist/db/schema/moderation_subject_status.js.map +1 -1
  33. package/dist/db/schema/report.d.ts +1 -0
  34. package/dist/db/schema/report.d.ts.map +1 -1
  35. package/dist/db/schema/report.js.map +1 -1
  36. package/dist/lexicon/index.d.ts +21 -2
  37. package/dist/lexicon/index.d.ts.map +1 -1
  38. package/dist/lexicon/index.js +36 -2
  39. package/dist/lexicon/index.js.map +1 -1
  40. package/dist/lexicon/lexicons.d.ts +1617 -305
  41. package/dist/lexicon/lexicons.d.ts.map +1 -1
  42. package/dist/lexicon/lexicons.js +762 -44
  43. package/dist/lexicon/lexicons.js.map +1 -1
  44. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +4 -0
  45. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  46. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  47. package/dist/lexicon/types/app/bsky/embed/external.d.ts +48 -2
  48. package/dist/lexicon/types/app/bsky/embed/external.d.ts.map +1 -1
  49. package/dist/lexicon/types/app/bsky/embed/external.js +21 -0
  50. package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
  51. package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.d.ts +31 -0
  52. package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -0
  53. package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.js +5 -0
  54. package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.js.map +1 -0
  55. package/dist/lexicon/types/chat/bsky/actor/getStatus.d.ts +24 -0
  56. package/dist/lexicon/types/chat/bsky/actor/getStatus.d.ts.map +1 -0
  57. package/dist/lexicon/types/chat/bsky/{group/getJoinLinkPreview.js → actor/getStatus.js} +2 -2
  58. package/dist/lexicon/types/chat/bsky/actor/getStatus.js.map +1 -0
  59. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +39 -7
  60. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  61. package/dist/lexicon/types/chat/bsky/convo/defs.js +21 -0
  62. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  63. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -1
  64. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  65. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
  66. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
  67. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  68. package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -1
  69. package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.d.ts +1 -1
  70. package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.d.ts.map +1 -1
  71. package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.js.map +1 -1
  72. package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts +19 -0
  73. package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
  74. package/dist/lexicon/types/chat/bsky/embed/joinLink.js +19 -0
  75. package/dist/lexicon/types/chat/bsky/embed/joinLink.js.map +1 -0
  76. package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts +1 -1
  77. package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  78. package/dist/lexicon/types/chat/bsky/group/addMembers.js.map +1 -1
  79. package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts +1 -1
  80. package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  81. package/dist/lexicon/types/chat/bsky/group/createGroup.js.map +1 -1
  82. package/dist/lexicon/types/chat/bsky/group/defs.d.ts +23 -0
  83. package/dist/lexicon/types/chat/bsky/group/defs.d.ts.map +1 -1
  84. package/dist/lexicon/types/chat/bsky/group/defs.js +14 -0
  85. package/dist/lexicon/types/chat/bsky/group/defs.js.map +1 -1
  86. package/dist/lexicon/types/chat/bsky/group/{getJoinLinkPreview.d.ts → getJoinLinkPreviews.d.ts} +3 -4
  87. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.d.ts.map +1 -0
  88. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js +5 -0
  89. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js.map +1 -0
  90. package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.d.ts +24 -0
  91. package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
  92. package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.js +5 -0
  93. package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
  94. package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.d.ts +24 -0
  95. package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
  96. package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.js +5 -0
  97. package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
  98. package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts +42 -0
  99. package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts.map +1 -0
  100. package/dist/lexicon/types/chat/bsky/moderation/defs.js +26 -0
  101. package/dist/lexicon/types/chat/bsky/moderation/defs.js.map +1 -0
  102. package/dist/lexicon/types/chat/bsky/moderation/getConvo.d.ts +23 -0
  103. package/dist/lexicon/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
  104. package/dist/lexicon/types/chat/bsky/moderation/getConvo.js +5 -0
  105. package/dist/lexicon/types/chat/bsky/moderation/getConvo.js.map +1 -0
  106. package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.d.ts +26 -0
  107. package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
  108. package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.js +5 -0
  109. package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
  110. package/dist/lexicon/types/chat/bsky/moderation/getConvos.d.ts +22 -0
  111. package/dist/lexicon/types/chat/bsky/moderation/getConvos.d.ts.map +1 -0
  112. package/dist/lexicon/types/chat/bsky/moderation/getConvos.js +5 -0
  113. package/dist/lexicon/types/chat/bsky/moderation/getConvos.js.map +1 -0
  114. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts +13 -1
  115. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  116. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
  117. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  118. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts +1 -1
  119. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  120. package/dist/lexicon/types/com/atproto/server/getServiceAuth.js.map +1 -1
  121. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +10 -3
  122. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  123. package/dist/lexicon/types/tools/ozone/moderation/defs.js +7 -0
  124. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  125. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
  126. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  127. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  128. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
  129. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  130. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  131. package/dist/mod-service/expiring-tags.d.ts +3 -0
  132. package/dist/mod-service/expiring-tags.d.ts.map +1 -1
  133. package/dist/mod-service/expiring-tags.js +5 -2
  134. package/dist/mod-service/expiring-tags.js.map +1 -1
  135. package/dist/mod-service/index.d.ts +3 -1
  136. package/dist/mod-service/index.d.ts.map +1 -1
  137. package/dist/mod-service/index.js +48 -10
  138. package/dist/mod-service/index.js.map +1 -1
  139. package/dist/mod-service/status.d.ts +7 -1
  140. package/dist/mod-service/status.d.ts.map +1 -1
  141. package/dist/mod-service/status.js +18 -3
  142. package/dist/mod-service/status.js.map +1 -1
  143. package/dist/mod-service/subject.d.ts +38 -2
  144. package/dist/mod-service/subject.d.ts.map +1 -1
  145. package/dist/mod-service/subject.js +67 -0
  146. package/dist/mod-service/subject.js.map +1 -1
  147. package/dist/mod-service/views.d.ts +2 -1
  148. package/dist/mod-service/views.d.ts.map +1 -1
  149. package/dist/mod-service/views.js +45 -23
  150. package/dist/mod-service/views.js.map +1 -1
  151. package/dist/queue/service.d.ts.map +1 -1
  152. package/dist/queue/service.js +7 -3
  153. package/dist/queue/service.js.map +1 -1
  154. package/dist/safelink/service.d.ts +1 -1
  155. package/package.json +5 -5
  156. package/src/api/chat/getConvo.ts +23 -0
  157. package/src/api/chat/getConvoMembers.ts +23 -0
  158. package/src/api/chat/index.ts +4 -0
  159. package/src/daemon/event-reverser.ts +1 -0
  160. package/src/db/migrations/20260513T202941104Z-add-subject-convo-id.ts +114 -0
  161. package/src/db/migrations/index.ts +1 -0
  162. package/src/db/schema/expiring_tag.ts +1 -0
  163. package/src/db/schema/moderation_event.ts +2 -0
  164. package/src/db/schema/moderation_subject_status.ts +4 -0
  165. package/src/db/schema/report.ts +2 -1
  166. package/src/mod-service/expiring-tags.ts +8 -2
  167. package/src/mod-service/index.ts +52 -16
  168. package/src/mod-service/status.ts +24 -2
  169. package/src/mod-service/subject.ts +79 -1
  170. package/src/mod-service/views.ts +52 -24
  171. package/src/queue/service.ts +8 -4
  172. package/tests/__snapshots__/verification.test.ts.snap +2 -0
  173. package/tests/expiring-tags.test.ts +1 -0
  174. package/tests/moderation-events.test.ts +108 -1
  175. package/tests/moderation-status-tags.test.ts +23 -0
  176. package/tests/moderation-statuses.test.ts +82 -0
  177. package/tests/moderation.test.ts +73 -0
  178. package/tsconfig.build.tsbuildinfo +1 -1
  179. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.d.ts.map +0 -1
  180. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.js.map +0 -1
@@ -384,6 +384,15 @@ export declare const schemaDict: {
384
384
  readonly description: "The user who issued this verification.";
385
385
  readonly format: "did";
386
386
  };
387
+ readonly issuerDisplayName: {
388
+ readonly type: "string";
389
+ readonly description: "The display name of the issuer.";
390
+ };
391
+ readonly issuerHandle: {
392
+ readonly type: "string";
393
+ readonly description: "The handle of the issuer.";
394
+ readonly format: "handle";
395
+ };
387
396
  readonly uri: {
388
397
  readonly type: "string";
389
398
  readonly description: "The AT-URI of the verification record.";
@@ -2509,13 +2518,13 @@ export declare const schemaDict: {
2509
2518
  readonly accept: ["image/*"];
2510
2519
  readonly maxSize: 1000000;
2511
2520
  };
2512
- readonly associatedRecords: {
2521
+ readonly associatedRefs: {
2513
2522
  readonly type: "array";
2514
2523
  readonly items: {
2515
2524
  readonly type: "ref";
2516
2525
  readonly ref: "lex:com.atproto.repo.strongRef";
2517
2526
  };
2518
- readonly description: "The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.";
2527
+ readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
2519
2528
  };
2520
2529
  };
2521
2530
  };
@@ -2547,6 +2556,176 @@ export declare const schemaDict: {
2547
2556
  readonly type: "string";
2548
2557
  readonly format: "uri";
2549
2558
  };
2559
+ readonly createdAt: {
2560
+ readonly type: "string";
2561
+ readonly format: "datetime";
2562
+ readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
2563
+ };
2564
+ readonly updatedAt: {
2565
+ readonly type: "string";
2566
+ readonly format: "datetime";
2567
+ readonly description: "When the external content was updated, if available.";
2568
+ };
2569
+ readonly readingTime: {
2570
+ readonly type: "integer";
2571
+ readonly description: "Estimated reading time in minutes, if applicable and available.";
2572
+ };
2573
+ readonly labels: {
2574
+ readonly type: "array";
2575
+ readonly items: {
2576
+ readonly type: "ref";
2577
+ readonly ref: "lex:com.atproto.label.defs#label";
2578
+ };
2579
+ };
2580
+ readonly source: {
2581
+ readonly type: "ref";
2582
+ readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
2583
+ };
2584
+ readonly associatedRefs: {
2585
+ readonly type: "array";
2586
+ readonly items: {
2587
+ readonly type: "ref";
2588
+ readonly ref: "lex:com.atproto.repo.strongRef";
2589
+ };
2590
+ readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
2591
+ };
2592
+ readonly associatedProfiles: {
2593
+ readonly type: "array";
2594
+ readonly items: {
2595
+ readonly type: "ref";
2596
+ readonly ref: "lex:app.bsky.actor.defs#profileViewBasic";
2597
+ };
2598
+ readonly description: "Profiles of the owners of the Atmosphere records that backed this view.";
2599
+ };
2600
+ };
2601
+ };
2602
+ readonly viewExternalSource: {
2603
+ readonly type: "object";
2604
+ readonly description: "The source of an external embed, such as a standard.site publication.";
2605
+ readonly required: ["uri", "title"];
2606
+ readonly properties: {
2607
+ readonly uri: {
2608
+ readonly type: "string";
2609
+ readonly format: "uri";
2610
+ readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
2611
+ };
2612
+ readonly icon: {
2613
+ readonly type: "string";
2614
+ readonly format: "uri";
2615
+ readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
2616
+ };
2617
+ readonly title: {
2618
+ readonly type: "string";
2619
+ };
2620
+ readonly description: {
2621
+ readonly type: "string";
2622
+ };
2623
+ readonly theme: {
2624
+ readonly type: "ref";
2625
+ readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
2626
+ };
2627
+ };
2628
+ };
2629
+ readonly viewExternalSourceTheme: {
2630
+ readonly type: "object";
2631
+ readonly description: "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.";
2632
+ readonly properties: {
2633
+ readonly backgroundRGB: {
2634
+ readonly type: "ref";
2635
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
2636
+ };
2637
+ readonly foregroundRGB: {
2638
+ readonly type: "ref";
2639
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
2640
+ };
2641
+ readonly accentRGB: {
2642
+ readonly type: "ref";
2643
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
2644
+ };
2645
+ readonly accentForegroundRGB: {
2646
+ readonly type: "ref";
2647
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
2648
+ };
2649
+ };
2650
+ };
2651
+ readonly colorRGB: {
2652
+ readonly type: "object";
2653
+ readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
2654
+ readonly required: ["r", "g", "b"];
2655
+ readonly properties: {
2656
+ readonly r: {
2657
+ readonly type: "integer";
2658
+ readonly minimum: 0;
2659
+ readonly maximum: 255;
2660
+ };
2661
+ readonly g: {
2662
+ readonly type: "integer";
2663
+ readonly minimum: 0;
2664
+ readonly maximum: 255;
2665
+ };
2666
+ readonly b: {
2667
+ readonly type: "integer";
2668
+ readonly minimum: 0;
2669
+ readonly maximum: 255;
2670
+ };
2671
+ };
2672
+ };
2673
+ };
2674
+ };
2675
+ readonly AppBskyEmbedGetEmbedExternalView: {
2676
+ readonly lexicon: 1;
2677
+ readonly id: "app.bsky.embed.getEmbedExternalView";
2678
+ readonly defs: {
2679
+ readonly main: {
2680
+ readonly type: "query";
2681
+ readonly description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.";
2682
+ readonly parameters: {
2683
+ readonly type: "params";
2684
+ readonly required: ["url", "uris"];
2685
+ readonly properties: {
2686
+ readonly url: {
2687
+ readonly type: "string";
2688
+ readonly format: "uri";
2689
+ readonly description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.";
2690
+ };
2691
+ readonly uris: {
2692
+ readonly type: "array";
2693
+ readonly description: "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.";
2694
+ readonly items: {
2695
+ readonly type: "string";
2696
+ readonly format: "at-uri";
2697
+ };
2698
+ readonly maxLength: 4;
2699
+ };
2700
+ };
2701
+ };
2702
+ readonly output: {
2703
+ readonly encoding: "application/json";
2704
+ readonly schema: {
2705
+ readonly type: "object";
2706
+ readonly properties: {
2707
+ readonly view: {
2708
+ readonly type: "ref";
2709
+ readonly ref: "lex:app.bsky.embed.external#view";
2710
+ readonly description: "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.";
2711
+ };
2712
+ readonly associatedRefs: {
2713
+ readonly type: "array";
2714
+ readonly items: {
2715
+ readonly type: "ref";
2716
+ readonly ref: "lex:com.atproto.repo.strongRef";
2717
+ };
2718
+ readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
2719
+ };
2720
+ readonly associatedRecords: {
2721
+ readonly type: "array";
2722
+ readonly items: {
2723
+ readonly type: "unknown";
2724
+ readonly description: "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.";
2725
+ };
2726
+ };
2727
+ };
2728
+ };
2550
2729
  };
2551
2730
  };
2552
2731
  };
@@ -9181,6 +9360,37 @@ export declare const schemaDict: {
9181
9360
  };
9182
9361
  };
9183
9362
  };
9363
+ readonly ChatBskyActorGetStatus: {
9364
+ readonly lexicon: 1;
9365
+ readonly id: "chat.bsky.actor.getStatus";
9366
+ readonly defs: {
9367
+ readonly main: {
9368
+ readonly type: "query";
9369
+ readonly description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.";
9370
+ readonly output: {
9371
+ readonly encoding: "application/json";
9372
+ readonly schema: {
9373
+ readonly type: "object";
9374
+ readonly required: ["chatDisabled", "canCreateGroups", "groupMemberLimit"];
9375
+ readonly properties: {
9376
+ readonly chatDisabled: {
9377
+ readonly type: "boolean";
9378
+ readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
9379
+ };
9380
+ readonly canCreateGroups: {
9381
+ readonly type: "boolean";
9382
+ readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
9383
+ };
9384
+ readonly groupMemberLimit: {
9385
+ readonly type: "integer";
9386
+ readonly description: "The maximum number of members allowed in a group conversation.";
9387
+ };
9388
+ };
9389
+ };
9390
+ };
9391
+ };
9392
+ };
9393
+ };
9184
9394
  readonly ChatBskyConvoAcceptConvo: {
9185
9395
  readonly lexicon: 1;
9186
9396
  readonly id: "chat.bsky.convo.acceptConvo";
@@ -9342,7 +9552,7 @@ export declare const schemaDict: {
9342
9552
  };
9343
9553
  readonly embed: {
9344
9554
  readonly type: "union";
9345
- readonly refs: ["lex:app.bsky.embed.record"];
9555
+ readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
9346
9556
  };
9347
9557
  };
9348
9558
  };
@@ -9371,7 +9581,7 @@ export declare const schemaDict: {
9371
9581
  };
9372
9582
  readonly embed: {
9373
9583
  readonly type: "union";
9374
- readonly refs: ["lex:app.bsky.embed.record#view"];
9584
+ readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
9375
9585
  };
9376
9586
  readonly reactions: {
9377
9587
  readonly type: "array";
@@ -9686,18 +9896,8 @@ export declare const schemaDict: {
9686
9896
  readonly groupConvo: {
9687
9897
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
9688
9898
  readonly type: "object";
9689
- readonly required: ["name", "lockStatus", "memberCount", "createdAt"];
9899
+ readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
9690
9900
  readonly properties: {
9691
- readonly name: {
9692
- readonly type: "string";
9693
- readonly description: "The display name of the group conversation.";
9694
- readonly maxGraphemes: 128;
9695
- readonly maxLength: 1280;
9696
- };
9697
- readonly memberCount: {
9698
- readonly type: "integer";
9699
- readonly description: "The total number of members in the group conversation.";
9700
- };
9701
9901
  readonly createdAt: {
9702
9902
  readonly type: "string";
9703
9903
  readonly format: "datetime";
@@ -9706,11 +9906,33 @@ export declare const schemaDict: {
9706
9906
  readonly type: "ref";
9707
9907
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
9708
9908
  };
9909
+ readonly joinRequestCount: {
9910
+ readonly type: "integer";
9911
+ readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
9912
+ };
9709
9913
  readonly lockStatus: {
9710
9914
  readonly description: "The lock status of the conversation.";
9711
9915
  readonly type: "ref";
9712
9916
  readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
9713
9917
  };
9918
+ readonly memberCount: {
9919
+ readonly type: "integer";
9920
+ readonly description: "The total number of members in the group conversation.";
9921
+ };
9922
+ readonly memberLimit: {
9923
+ readonly type: "integer";
9924
+ readonly description: "The maximum number of members allowed in the group conversation.";
9925
+ };
9926
+ readonly name: {
9927
+ readonly type: "string";
9928
+ readonly description: "The display name of the group conversation.";
9929
+ readonly maxGraphemes: 128;
9930
+ readonly maxLength: 1280;
9931
+ };
9932
+ readonly unreadJoinRequestCount: {
9933
+ readonly type: "integer";
9934
+ readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
9935
+ };
9714
9936
  };
9715
9937
  };
9716
9938
  readonly logBeginConvo: {
@@ -10239,7 +10461,51 @@ export declare const schemaDict: {
10239
10461
  };
10240
10462
  };
10241
10463
  readonly logOutgoingJoinRequest: {
10242
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.";
10464
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.";
10465
+ readonly type: "object";
10466
+ readonly required: ["rev", "convoId"];
10467
+ readonly properties: {
10468
+ readonly rev: {
10469
+ readonly type: "string";
10470
+ };
10471
+ readonly convoId: {
10472
+ readonly type: "string";
10473
+ };
10474
+ };
10475
+ };
10476
+ readonly logWithdrawIncomingJoinRequest: {
10477
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.";
10478
+ readonly type: "object";
10479
+ readonly required: ["rev", "convoId", "member"];
10480
+ readonly properties: {
10481
+ readonly rev: {
10482
+ readonly type: "string";
10483
+ };
10484
+ readonly convoId: {
10485
+ readonly type: "string";
10486
+ };
10487
+ readonly member: {
10488
+ readonly description: "Prospective member who withdrew their join request.";
10489
+ readonly type: "ref";
10490
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10491
+ };
10492
+ };
10493
+ };
10494
+ readonly logWithdrawOutgoingJoinRequest: {
10495
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.";
10496
+ readonly type: "object";
10497
+ readonly required: ["rev", "convoId"];
10498
+ readonly properties: {
10499
+ readonly rev: {
10500
+ readonly type: "string";
10501
+ };
10502
+ readonly convoId: {
10503
+ readonly type: "string";
10504
+ };
10505
+ };
10506
+ };
10507
+ readonly logReadJoinRequests: {
10508
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.";
10243
10509
  readonly type: "object";
10244
10510
  readonly required: ["rev", "convoId"];
10245
10511
  readonly properties: {
@@ -10378,6 +10644,8 @@ export declare const schemaDict: {
10378
10644
  readonly name: "AccountSuspended";
10379
10645
  }, {
10380
10646
  readonly name: "BlockedActor";
10647
+ }, {
10648
+ readonly name: "BlockedSubject";
10381
10649
  }, {
10382
10650
  readonly name: "MessagesDisabled";
10383
10651
  }, {
@@ -10494,7 +10762,7 @@ export declare const schemaDict: {
10494
10762
  readonly type: "array";
10495
10763
  readonly items: {
10496
10764
  readonly type: "union";
10497
- readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest"];
10765
+ readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logReadJoinRequests"];
10498
10766
  };
10499
10767
  };
10500
10768
  };
@@ -10610,7 +10878,7 @@ export declare const schemaDict: {
10610
10878
  readonly defs: {
10611
10879
  readonly main: {
10612
10880
  readonly type: "query";
10613
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests are returned as joinRequestView.";
10881
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.";
10614
10882
  readonly parameters: {
10615
10883
  readonly type: "params";
10616
10884
  readonly properties: {
@@ -10638,7 +10906,7 @@ export declare const schemaDict: {
10638
10906
  readonly type: "array";
10639
10907
  readonly items: {
10640
10908
  readonly type: "union";
10641
- readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#joinRequestView"];
10909
+ readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#joinRequestConvoView"];
10642
10910
  };
10643
10911
  };
10644
10912
  };
@@ -11099,6 +11367,33 @@ export declare const schemaDict: {
11099
11367
  };
11100
11368
  };
11101
11369
  };
11370
+ readonly ChatBskyEmbedJoinLink: {
11371
+ readonly lexicon: 1;
11372
+ readonly id: "chat.bsky.embed.joinLink";
11373
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.";
11374
+ readonly defs: {
11375
+ readonly main: {
11376
+ readonly type: "object";
11377
+ readonly required: ["code"];
11378
+ readonly properties: {
11379
+ readonly code: {
11380
+ readonly type: "string";
11381
+ readonly description: "The join link code.";
11382
+ };
11383
+ };
11384
+ };
11385
+ readonly view: {
11386
+ readonly type: "object";
11387
+ readonly required: ["joinLinkPreview"];
11388
+ readonly properties: {
11389
+ readonly joinLinkPreview: {
11390
+ readonly type: "ref";
11391
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
11392
+ };
11393
+ };
11394
+ };
11395
+ };
11396
+ };
11102
11397
  readonly ChatBskyGroupAddMembers: {
11103
11398
  readonly lexicon: 1;
11104
11399
  readonly id: "chat.bsky.group.addMembers";
@@ -11111,7 +11406,7 @@ export declare const schemaDict: {
11111
11406
  }, {
11112
11407
  readonly name: "BlockedActor";
11113
11408
  }, {
11114
- readonly name: "UserForbidsGroups";
11409
+ readonly name: "BlockedSubject";
11115
11410
  }, {
11116
11411
  readonly name: "ConvoLocked";
11117
11412
  }, {
@@ -11124,6 +11419,8 @@ export declare const schemaDict: {
11124
11419
  readonly name: "NotFollowedBySender";
11125
11420
  }, {
11126
11421
  readonly name: "RecipientNotFound";
11422
+ }, {
11423
+ readonly name: "UserForbidsGroups";
11127
11424
  }];
11128
11425
  readonly input: {
11129
11426
  readonly encoding: "application/json";
@@ -11226,11 +11523,15 @@ export declare const schemaDict: {
11226
11523
  }, {
11227
11524
  readonly name: "BlockedActor";
11228
11525
  }, {
11229
- readonly name: "UserForbidsGroups";
11526
+ readonly name: "BlockedSubject";
11527
+ }, {
11528
+ readonly name: "NewAccountCannotCreateGroup";
11230
11529
  }, {
11231
11530
  readonly name: "NotFollowedBySender";
11232
11531
  }, {
11233
11532
  readonly name: "RecipientNotFound";
11533
+ }, {
11534
+ readonly name: "UserForbidsGroups";
11234
11535
  }];
11235
11536
  readonly input: {
11236
11537
  readonly encoding: "application/json";
@@ -11360,8 +11661,11 @@ export declare const schemaDict: {
11360
11661
  };
11361
11662
  readonly joinLinkPreviewView: {
11362
11663
  readonly type: "object";
11363
- readonly required: ["name", "owner", "memberCount", "requireApproval"];
11664
+ readonly required: ["code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
11364
11665
  readonly properties: {
11666
+ readonly code: {
11667
+ readonly type: "string";
11668
+ };
11365
11669
  readonly name: {
11366
11670
  readonly type: "string";
11367
11671
  };
@@ -11372,14 +11676,38 @@ export declare const schemaDict: {
11372
11676
  readonly memberCount: {
11373
11677
  readonly type: "integer";
11374
11678
  };
11679
+ readonly memberLimit: {
11680
+ readonly type: "integer";
11681
+ };
11375
11682
  readonly requireApproval: {
11376
11683
  readonly type: "boolean";
11377
11684
  };
11685
+ readonly joinRule: {
11686
+ readonly type: "ref";
11687
+ readonly ref: "lex:chat.bsky.group.defs#joinRule";
11688
+ };
11689
+ readonly enabledStatus: {
11690
+ readonly type: "ref";
11691
+ readonly ref: "lex:chat.bsky.group.defs#linkEnabledStatus";
11692
+ };
11378
11693
  readonly convo: {
11379
11694
  readonly type: "ref";
11380
11695
  readonly ref: "lex:chat.bsky.convo.defs#convoView";
11381
11696
  readonly description: "Present only if the request is authenticated and the user is a member of the group.";
11382
11697
  };
11698
+ readonly viewer: {
11699
+ readonly type: "ref";
11700
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkViewerState";
11701
+ };
11702
+ };
11703
+ };
11704
+ readonly joinLinkViewerState: {
11705
+ readonly type: "object";
11706
+ readonly properties: {
11707
+ readonly requestedAt: {
11708
+ readonly type: "string";
11709
+ readonly format: "datetime";
11710
+ };
11383
11711
  };
11384
11712
  };
11385
11713
  readonly joinRequestView: {
@@ -11399,6 +11727,33 @@ export declare const schemaDict: {
11399
11727
  };
11400
11728
  };
11401
11729
  };
11730
+ readonly joinRequestConvoView: {
11731
+ readonly description: "A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).";
11732
+ readonly type: "object";
11733
+ readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "requestedAt"];
11734
+ readonly properties: {
11735
+ readonly convoId: {
11736
+ readonly type: "string";
11737
+ };
11738
+ readonly name: {
11739
+ readonly type: "string";
11740
+ };
11741
+ readonly owner: {
11742
+ readonly type: "ref";
11743
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
11744
+ };
11745
+ readonly memberCount: {
11746
+ readonly type: "integer";
11747
+ };
11748
+ readonly memberLimit: {
11749
+ readonly type: "integer";
11750
+ };
11751
+ readonly requestedAt: {
11752
+ readonly type: "string";
11753
+ readonly format: "datetime";
11754
+ };
11755
+ };
11756
+ };
11402
11757
  };
11403
11758
  };
11404
11759
  readonly ChatBskyGroupDisableJoinLink: {
@@ -11584,22 +11939,24 @@ export declare const schemaDict: {
11584
11939
  };
11585
11940
  };
11586
11941
  };
11587
- readonly ChatBskyGroupGetJoinLinkPreview: {
11942
+ readonly ChatBskyGroupGetJoinLinkPreviews: {
11588
11943
  readonly lexicon: 1;
11589
- readonly id: "chat.bsky.group.getJoinLinkPreview";
11944
+ readonly id: "chat.bsky.group.getJoinLinkPreviews";
11590
11945
  readonly defs: {
11591
11946
  readonly main: {
11592
11947
  readonly type: "query";
11593
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about a group from an join link.";
11594
- readonly errors: [{
11595
- readonly name: "InvalidCode";
11596
- }];
11948
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.";
11597
11949
  readonly parameters: {
11598
11950
  readonly type: "params";
11599
- readonly required: ["code"];
11951
+ readonly required: ["codes"];
11600
11952
  readonly properties: {
11601
- readonly code: {
11602
- readonly type: "string";
11953
+ readonly codes: {
11954
+ readonly type: "array";
11955
+ readonly minLength: 1;
11956
+ readonly maxLength: 50;
11957
+ readonly items: {
11958
+ readonly type: "string";
11959
+ };
11603
11960
  };
11604
11961
  };
11605
11962
  };
@@ -11607,11 +11964,14 @@ export declare const schemaDict: {
11607
11964
  readonly encoding: "application/json";
11608
11965
  readonly schema: {
11609
11966
  readonly type: "object";
11610
- readonly required: ["joinLinkPreview"];
11967
+ readonly required: ["joinLinkPreviews"];
11611
11968
  readonly properties: {
11612
- readonly joinLinkPreview: {
11613
- readonly type: "ref";
11614
- readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
11969
+ readonly joinLinkPreviews: {
11970
+ readonly type: "array";
11971
+ readonly items: {
11972
+ readonly type: "ref";
11973
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
11974
+ };
11615
11975
  };
11616
11976
  };
11617
11977
  };
@@ -11859,6 +12219,141 @@ export declare const schemaDict: {
11859
12219
  };
11860
12220
  };
11861
12221
  };
12222
+ readonly ChatBskyGroupUpdateJoinRequestsRead: {
12223
+ readonly lexicon: 1;
12224
+ readonly id: "chat.bsky.group.updateJoinRequestsRead";
12225
+ readonly defs: {
12226
+ readonly main: {
12227
+ readonly type: "procedure";
12228
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.";
12229
+ readonly errors: [{
12230
+ readonly name: "InvalidConvo";
12231
+ }, {
12232
+ readonly name: "InsufficientRole";
12233
+ }];
12234
+ readonly input: {
12235
+ readonly encoding: "application/json";
12236
+ readonly schema: {
12237
+ readonly type: "object";
12238
+ readonly required: ["convoId"];
12239
+ readonly properties: {
12240
+ readonly convoId: {
12241
+ readonly type: "string";
12242
+ };
12243
+ };
12244
+ };
12245
+ };
12246
+ readonly output: {
12247
+ readonly encoding: "application/json";
12248
+ readonly schema: {
12249
+ readonly type: "object";
12250
+ readonly required: [];
12251
+ readonly properties: {};
12252
+ };
12253
+ };
12254
+ };
12255
+ };
12256
+ };
12257
+ readonly ChatBskyGroupWithdrawJoinRequest: {
12258
+ readonly lexicon: 1;
12259
+ readonly id: "chat.bsky.group.withdrawJoinRequest";
12260
+ readonly defs: {
12261
+ readonly main: {
12262
+ readonly type: "procedure";
12263
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.";
12264
+ readonly errors: [{
12265
+ readonly name: "InvalidJoinRequest";
12266
+ }];
12267
+ readonly input: {
12268
+ readonly encoding: "application/json";
12269
+ readonly schema: {
12270
+ readonly type: "object";
12271
+ readonly required: ["convoId"];
12272
+ readonly properties: {
12273
+ readonly convoId: {
12274
+ readonly type: "string";
12275
+ };
12276
+ };
12277
+ };
12278
+ };
12279
+ readonly output: {
12280
+ readonly encoding: "application/json";
12281
+ readonly schema: {
12282
+ readonly type: "object";
12283
+ readonly required: [];
12284
+ readonly properties: {};
12285
+ };
12286
+ };
12287
+ };
12288
+ };
12289
+ };
12290
+ readonly ChatBskyModerationDefs: {
12291
+ readonly lexicon: 1;
12292
+ readonly id: "chat.bsky.moderation.defs";
12293
+ readonly defs: {
12294
+ readonly convoView: {
12295
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.";
12296
+ readonly type: "object";
12297
+ readonly required: ["id", "rev"];
12298
+ readonly properties: {
12299
+ readonly id: {
12300
+ readonly type: "string";
12301
+ };
12302
+ readonly rev: {
12303
+ readonly type: "string";
12304
+ };
12305
+ readonly kind: {
12306
+ readonly description: "Union field that has data specific to different kinds of convos.";
12307
+ readonly type: "union";
12308
+ readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
12309
+ };
12310
+ };
12311
+ };
12312
+ readonly directConvo: {
12313
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.";
12314
+ readonly type: "object";
12315
+ readonly properties: {};
12316
+ };
12317
+ readonly groupConvo: {
12318
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.";
12319
+ readonly type: "object";
12320
+ readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
12321
+ readonly properties: {
12322
+ readonly createdAt: {
12323
+ readonly type: "string";
12324
+ readonly format: "datetime";
12325
+ };
12326
+ readonly joinLink: {
12327
+ readonly type: "ref";
12328
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
12329
+ };
12330
+ readonly joinRequestCount: {
12331
+ readonly type: "integer";
12332
+ readonly description: "The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.";
12333
+ };
12334
+ readonly lockStatus: {
12335
+ readonly description: "The lock status of the conversation.";
12336
+ readonly type: "ref";
12337
+ readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
12338
+ };
12339
+ readonly memberCount: {
12340
+ readonly type: "integer";
12341
+ readonly description: "The total number of members in the group conversation.";
12342
+ };
12343
+ readonly memberLimit: {
12344
+ readonly type: "integer";
12345
+ readonly description: "The maximum number of members allowed in the group conversation.";
12346
+ };
12347
+ readonly name: {
12348
+ readonly type: "string";
12349
+ readonly description: "The display name of the group conversation.";
12350
+ readonly maxGraphemes: 128;
12351
+ readonly maxLength: 1280;
12352
+ };
12353
+ };
12354
+ };
12355
+ };
12356
+ };
11862
12357
  readonly ChatBskyModerationGetActorMetadata: {
11863
12358
  readonly lexicon: 1;
11864
12359
  readonly id: "chat.bsky.moderation.getActorMetadata";
@@ -11917,6 +12412,131 @@ export declare const schemaDict: {
11917
12412
  };
11918
12413
  };
11919
12414
  };
12415
+ readonly ChatBskyModerationGetConvo: {
12416
+ readonly lexicon: 1;
12417
+ readonly id: "chat.bsky.moderation.getConvo";
12418
+ readonly defs: {
12419
+ readonly main: {
12420
+ readonly type: "query";
12421
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.";
12422
+ readonly errors: [{
12423
+ readonly name: "InvalidConvo";
12424
+ }];
12425
+ readonly parameters: {
12426
+ readonly type: "params";
12427
+ readonly required: ["convoId"];
12428
+ readonly properties: {
12429
+ readonly convoId: {
12430
+ readonly type: "string";
12431
+ };
12432
+ };
12433
+ };
12434
+ readonly output: {
12435
+ readonly encoding: "application/json";
12436
+ readonly schema: {
12437
+ readonly type: "object";
12438
+ readonly required: ["convo"];
12439
+ readonly properties: {
12440
+ readonly convo: {
12441
+ readonly type: "ref";
12442
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
12443
+ };
12444
+ };
12445
+ };
12446
+ };
12447
+ };
12448
+ };
12449
+ };
12450
+ readonly ChatBskyModerationGetConvoMembers: {
12451
+ readonly lexicon: 1;
12452
+ readonly id: "chat.bsky.moderation.getConvoMembers";
12453
+ readonly defs: {
12454
+ readonly main: {
12455
+ readonly type: "query";
12456
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.";
12457
+ readonly errors: [{
12458
+ readonly name: "InvalidConvo";
12459
+ }];
12460
+ readonly parameters: {
12461
+ readonly type: "params";
12462
+ readonly required: ["convoId"];
12463
+ readonly properties: {
12464
+ readonly convoId: {
12465
+ readonly type: "string";
12466
+ };
12467
+ readonly limit: {
12468
+ readonly type: "integer";
12469
+ readonly minimum: 1;
12470
+ readonly maximum: 100;
12471
+ readonly default: 50;
12472
+ };
12473
+ readonly cursor: {
12474
+ readonly type: "string";
12475
+ };
12476
+ };
12477
+ };
12478
+ readonly output: {
12479
+ readonly encoding: "application/json";
12480
+ readonly schema: {
12481
+ readonly type: "object";
12482
+ readonly required: ["members"];
12483
+ readonly properties: {
12484
+ readonly cursor: {
12485
+ readonly type: "string";
12486
+ };
12487
+ readonly members: {
12488
+ readonly type: "array";
12489
+ readonly items: {
12490
+ readonly type: "ref";
12491
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
12492
+ };
12493
+ };
12494
+ };
12495
+ };
12496
+ };
12497
+ };
12498
+ };
12499
+ };
12500
+ readonly ChatBskyModerationGetConvos: {
12501
+ readonly lexicon: 1;
12502
+ readonly id: "chat.bsky.moderation.getConvos";
12503
+ readonly defs: {
12504
+ readonly main: {
12505
+ readonly type: "query";
12506
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.";
12507
+ readonly parameters: {
12508
+ readonly type: "params";
12509
+ readonly required: ["convoIds"];
12510
+ readonly properties: {
12511
+ readonly convoIds: {
12512
+ readonly type: "array";
12513
+ readonly minLength: 1;
12514
+ readonly maxLength: 100;
12515
+ readonly items: {
12516
+ readonly type: "string";
12517
+ };
12518
+ };
12519
+ };
12520
+ };
12521
+ readonly output: {
12522
+ readonly encoding: "application/json";
12523
+ readonly schema: {
12524
+ readonly type: "object";
12525
+ readonly required: ["convos"];
12526
+ readonly properties: {
12527
+ readonly convos: {
12528
+ readonly type: "array";
12529
+ readonly items: {
12530
+ readonly type: "ref";
12531
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
12532
+ };
12533
+ };
12534
+ };
12535
+ };
12536
+ };
12537
+ };
12538
+ };
12539
+ };
11920
12540
  readonly ChatBskyModerationGetMessageContext: {
11921
12541
  readonly lexicon: 1;
11922
12542
  readonly id: "chat.bsky.moderation.getMessageContext";
@@ -11991,7 +12611,7 @@ export declare const schemaDict: {
11991
12611
  readonly message: {
11992
12612
  readonly schema: {
11993
12613
  readonly type: "union";
11994
- readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
12614
+ readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated", "lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded"];
11995
12615
  };
11996
12616
  };
11997
12617
  readonly errors: [{
@@ -12480,6 +13100,29 @@ export declare const schemaDict: {
12480
13100
  };
12481
13101
  };
12482
13102
  };
13103
+ readonly eventRateLimitExceeded: {
13104
+ readonly type: "object";
13105
+ readonly description: "Fired when a user exceeds a rate limit.";
13106
+ readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
13107
+ readonly properties: {
13108
+ readonly actorDid: {
13109
+ readonly description: "The DID of the user who hit the rate limit.";
13110
+ readonly type: "string";
13111
+ readonly format: "did";
13112
+ };
13113
+ readonly createdAt: {
13114
+ readonly type: "string";
13115
+ readonly format: "datetime";
13116
+ };
13117
+ readonly endpoint: {
13118
+ readonly description: "The NSID of the endpoint that was rate limited.";
13119
+ readonly type: "string";
13120
+ };
13121
+ readonly rev: {
13122
+ readonly type: "string";
13123
+ };
13124
+ };
13125
+ };
12483
13126
  };
12484
13127
  };
12485
13128
  readonly ChatBskyModerationUpdateActorAccess: {
@@ -15319,8 +15962,8 @@ export declare const schemaDict: {
15319
15962
  readonly properties: {
15320
15963
  readonly aud: {
15321
15964
  readonly type: "string";
15322
- readonly format: "did";
15323
- readonly description: "The DID of the service that the token will be used to authenticate with";
15965
+ readonly maxLength: 2048;
15966
+ readonly description: "The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.";
15324
15967
  };
15325
15968
  readonly exp: {
15326
15969
  readonly type: "integer";
@@ -17275,7 +17918,7 @@ export declare const schemaDict: {
17275
17918
  };
17276
17919
  readonly subject: {
17277
17920
  readonly type: "union";
17278
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
17921
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
17279
17922
  };
17280
17923
  readonly subjectBlobCids: {
17281
17924
  readonly type: "array";
@@ -17316,7 +17959,7 @@ export declare const schemaDict: {
17316
17959
  };
17317
17960
  readonly subject: {
17318
17961
  readonly type: "union";
17319
- readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound"];
17962
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound", "lex:tools.ozone.moderation.defs#convoView"];
17320
17963
  };
17321
17964
  readonly subjectBlobs: {
17322
17965
  readonly type: "array";
@@ -17348,7 +17991,7 @@ export declare const schemaDict: {
17348
17991
  };
17349
17992
  readonly subject: {
17350
17993
  readonly type: "union";
17351
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
17994
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
17352
17995
  };
17353
17996
  readonly hosting: {
17354
17997
  readonly type: "union";
@@ -18312,6 +18955,19 @@ export declare const schemaDict: {
18312
18955
  };
18313
18956
  };
18314
18957
  };
18958
+ readonly convoView: {
18959
+ readonly type: "object";
18960
+ readonly required: ["did", "convoId"];
18961
+ readonly properties: {
18962
+ readonly did: {
18963
+ readonly type: "string";
18964
+ readonly format: "did";
18965
+ };
18966
+ readonly convoId: {
18967
+ readonly type: "string";
18968
+ };
18969
+ };
18970
+ };
18315
18971
  readonly moderation: {
18316
18972
  readonly type: "object";
18317
18973
  readonly properties: {
@@ -19129,8 +19785,8 @@ export declare const schemaDict: {
19129
19785
  };
19130
19786
  readonly subjectType: {
19131
19787
  readonly type: "string";
19132
- readonly description: "If specified, only events where the subject is of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
19133
- readonly knownValues: ["account", "record"];
19788
+ readonly description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
19789
+ readonly knownValues: ["account", "record", "conversation"];
19134
19790
  };
19135
19791
  readonly includeAllUserRecords: {
19136
19792
  readonly type: "boolean";
@@ -19398,8 +20054,8 @@ export declare const schemaDict: {
19398
20054
  };
19399
20055
  readonly subjectType: {
19400
20056
  readonly type: "string";
19401
- readonly description: "If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
19402
- readonly knownValues: ["account", "record"];
20057
+ readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
20058
+ readonly knownValues: ["account", "record", "conversation"];
19403
20059
  };
19404
20060
  readonly minAccountSuspendCount: {
19405
20061
  readonly type: "integer";
@@ -23422,6 +24078,15 @@ export declare const schemas: ({
23422
24078
  readonly description: "The user who issued this verification.";
23423
24079
  readonly format: "did";
23424
24080
  };
24081
+ readonly issuerDisplayName: {
24082
+ readonly type: "string";
24083
+ readonly description: "The display name of the issuer.";
24084
+ };
24085
+ readonly issuerHandle: {
24086
+ readonly type: "string";
24087
+ readonly description: "The handle of the issuer.";
24088
+ readonly format: "handle";
24089
+ };
23425
24090
  readonly uri: {
23426
24091
  readonly type: "string";
23427
24092
  readonly description: "The AT-URI of the verification record.";
@@ -25514,13 +26179,13 @@ export declare const schemas: ({
25514
26179
  readonly accept: ["image/*"];
25515
26180
  readonly maxSize: 1000000;
25516
26181
  };
25517
- readonly associatedRecords: {
26182
+ readonly associatedRefs: {
25518
26183
  readonly type: "array";
25519
26184
  readonly items: {
25520
26185
  readonly type: "ref";
25521
26186
  readonly ref: "lex:com.atproto.repo.strongRef";
25522
26187
  };
25523
- readonly description: "The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.";
26188
+ readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
25524
26189
  };
25525
26190
  };
25526
26191
  };
@@ -25552,6 +26217,175 @@ export declare const schemas: ({
25552
26217
  readonly type: "string";
25553
26218
  readonly format: "uri";
25554
26219
  };
26220
+ readonly createdAt: {
26221
+ readonly type: "string";
26222
+ readonly format: "datetime";
26223
+ readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
26224
+ };
26225
+ readonly updatedAt: {
26226
+ readonly type: "string";
26227
+ readonly format: "datetime";
26228
+ readonly description: "When the external content was updated, if available.";
26229
+ };
26230
+ readonly readingTime: {
26231
+ readonly type: "integer";
26232
+ readonly description: "Estimated reading time in minutes, if applicable and available.";
26233
+ };
26234
+ readonly labels: {
26235
+ readonly type: "array";
26236
+ readonly items: {
26237
+ readonly type: "ref";
26238
+ readonly ref: "lex:com.atproto.label.defs#label";
26239
+ };
26240
+ };
26241
+ readonly source: {
26242
+ readonly type: "ref";
26243
+ readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
26244
+ };
26245
+ readonly associatedRefs: {
26246
+ readonly type: "array";
26247
+ readonly items: {
26248
+ readonly type: "ref";
26249
+ readonly ref: "lex:com.atproto.repo.strongRef";
26250
+ };
26251
+ readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
26252
+ };
26253
+ readonly associatedProfiles: {
26254
+ readonly type: "array";
26255
+ readonly items: {
26256
+ readonly type: "ref";
26257
+ readonly ref: "lex:app.bsky.actor.defs#profileViewBasic";
26258
+ };
26259
+ readonly description: "Profiles of the owners of the Atmosphere records that backed this view.";
26260
+ };
26261
+ };
26262
+ };
26263
+ readonly viewExternalSource: {
26264
+ readonly type: "object";
26265
+ readonly description: "The source of an external embed, such as a standard.site publication.";
26266
+ readonly required: ["uri", "title"];
26267
+ readonly properties: {
26268
+ readonly uri: {
26269
+ readonly type: "string";
26270
+ readonly format: "uri";
26271
+ readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
26272
+ };
26273
+ readonly icon: {
26274
+ readonly type: "string";
26275
+ readonly format: "uri";
26276
+ readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
26277
+ };
26278
+ readonly title: {
26279
+ readonly type: "string";
26280
+ };
26281
+ readonly description: {
26282
+ readonly type: "string";
26283
+ };
26284
+ readonly theme: {
26285
+ readonly type: "ref";
26286
+ readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
26287
+ };
26288
+ };
26289
+ };
26290
+ readonly viewExternalSourceTheme: {
26291
+ readonly type: "object";
26292
+ readonly description: "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.";
26293
+ readonly properties: {
26294
+ readonly backgroundRGB: {
26295
+ readonly type: "ref";
26296
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
26297
+ };
26298
+ readonly foregroundRGB: {
26299
+ readonly type: "ref";
26300
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
26301
+ };
26302
+ readonly accentRGB: {
26303
+ readonly type: "ref";
26304
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
26305
+ };
26306
+ readonly accentForegroundRGB: {
26307
+ readonly type: "ref";
26308
+ readonly ref: "lex:app.bsky.embed.external#colorRGB";
26309
+ };
26310
+ };
26311
+ };
26312
+ readonly colorRGB: {
26313
+ readonly type: "object";
26314
+ readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
26315
+ readonly required: ["r", "g", "b"];
26316
+ readonly properties: {
26317
+ readonly r: {
26318
+ readonly type: "integer";
26319
+ readonly minimum: 0;
26320
+ readonly maximum: 255;
26321
+ };
26322
+ readonly g: {
26323
+ readonly type: "integer";
26324
+ readonly minimum: 0;
26325
+ readonly maximum: 255;
26326
+ };
26327
+ readonly b: {
26328
+ readonly type: "integer";
26329
+ readonly minimum: 0;
26330
+ readonly maximum: 255;
26331
+ };
26332
+ };
26333
+ };
26334
+ };
26335
+ } | {
26336
+ readonly lexicon: 1;
26337
+ readonly id: "app.bsky.embed.getEmbedExternalView";
26338
+ readonly defs: {
26339
+ readonly main: {
26340
+ readonly type: "query";
26341
+ readonly description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.";
26342
+ readonly parameters: {
26343
+ readonly type: "params";
26344
+ readonly required: ["url", "uris"];
26345
+ readonly properties: {
26346
+ readonly url: {
26347
+ readonly type: "string";
26348
+ readonly format: "uri";
26349
+ readonly description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.";
26350
+ };
26351
+ readonly uris: {
26352
+ readonly type: "array";
26353
+ readonly description: "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.";
26354
+ readonly items: {
26355
+ readonly type: "string";
26356
+ readonly format: "at-uri";
26357
+ };
26358
+ readonly maxLength: 4;
26359
+ };
26360
+ };
26361
+ };
26362
+ readonly output: {
26363
+ readonly encoding: "application/json";
26364
+ readonly schema: {
26365
+ readonly type: "object";
26366
+ readonly properties: {
26367
+ readonly view: {
26368
+ readonly type: "ref";
26369
+ readonly ref: "lex:app.bsky.embed.external#view";
26370
+ readonly description: "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.";
26371
+ };
26372
+ readonly associatedRefs: {
26373
+ readonly type: "array";
26374
+ readonly items: {
26375
+ readonly type: "ref";
26376
+ readonly ref: "lex:com.atproto.repo.strongRef";
26377
+ };
26378
+ readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
26379
+ };
26380
+ readonly associatedRecords: {
26381
+ readonly type: "array";
26382
+ readonly items: {
26383
+ readonly type: "unknown";
26384
+ readonly description: "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.";
26385
+ };
26386
+ };
26387
+ };
26388
+ };
25555
26389
  };
25556
26390
  };
25557
26391
  };
@@ -32070,6 +32904,36 @@ export declare const schemas: ({
32070
32904
  };
32071
32905
  };
32072
32906
  };
32907
+ } | {
32908
+ readonly lexicon: 1;
32909
+ readonly id: "chat.bsky.actor.getStatus";
32910
+ readonly defs: {
32911
+ readonly main: {
32912
+ readonly type: "query";
32913
+ readonly description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.";
32914
+ readonly output: {
32915
+ readonly encoding: "application/json";
32916
+ readonly schema: {
32917
+ readonly type: "object";
32918
+ readonly required: ["chatDisabled", "canCreateGroups", "groupMemberLimit"];
32919
+ readonly properties: {
32920
+ readonly chatDisabled: {
32921
+ readonly type: "boolean";
32922
+ readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
32923
+ };
32924
+ readonly canCreateGroups: {
32925
+ readonly type: "boolean";
32926
+ readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
32927
+ };
32928
+ readonly groupMemberLimit: {
32929
+ readonly type: "integer";
32930
+ readonly description: "The maximum number of members allowed in a group conversation.";
32931
+ };
32932
+ };
32933
+ };
32934
+ };
32935
+ };
32936
+ };
32073
32937
  } | {
32074
32938
  readonly lexicon: 1;
32075
32939
  readonly id: "chat.bsky.convo.acceptConvo";
@@ -32229,7 +33093,7 @@ export declare const schemas: ({
32229
33093
  };
32230
33094
  readonly embed: {
32231
33095
  readonly type: "union";
32232
- readonly refs: ["lex:app.bsky.embed.record"];
33096
+ readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
32233
33097
  };
32234
33098
  };
32235
33099
  };
@@ -32258,7 +33122,7 @@ export declare const schemas: ({
32258
33122
  };
32259
33123
  readonly embed: {
32260
33124
  readonly type: "union";
32261
- readonly refs: ["lex:app.bsky.embed.record#view"];
33125
+ readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
32262
33126
  };
32263
33127
  readonly reactions: {
32264
33128
  readonly type: "array";
@@ -32573,18 +33437,8 @@ export declare const schemas: ({
32573
33437
  readonly groupConvo: {
32574
33438
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
32575
33439
  readonly type: "object";
32576
- readonly required: ["name", "lockStatus", "memberCount", "createdAt"];
33440
+ readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
32577
33441
  readonly properties: {
32578
- readonly name: {
32579
- readonly type: "string";
32580
- readonly description: "The display name of the group conversation.";
32581
- readonly maxGraphemes: 128;
32582
- readonly maxLength: 1280;
32583
- };
32584
- readonly memberCount: {
32585
- readonly type: "integer";
32586
- readonly description: "The total number of members in the group conversation.";
32587
- };
32588
33442
  readonly createdAt: {
32589
33443
  readonly type: "string";
32590
33444
  readonly format: "datetime";
@@ -32593,11 +33447,33 @@ export declare const schemas: ({
32593
33447
  readonly type: "ref";
32594
33448
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
32595
33449
  };
33450
+ readonly joinRequestCount: {
33451
+ readonly type: "integer";
33452
+ readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
33453
+ };
32596
33454
  readonly lockStatus: {
32597
33455
  readonly description: "The lock status of the conversation.";
32598
33456
  readonly type: "ref";
32599
33457
  readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
32600
33458
  };
33459
+ readonly memberCount: {
33460
+ readonly type: "integer";
33461
+ readonly description: "The total number of members in the group conversation.";
33462
+ };
33463
+ readonly memberLimit: {
33464
+ readonly type: "integer";
33465
+ readonly description: "The maximum number of members allowed in the group conversation.";
33466
+ };
33467
+ readonly name: {
33468
+ readonly type: "string";
33469
+ readonly description: "The display name of the group conversation.";
33470
+ readonly maxGraphemes: 128;
33471
+ readonly maxLength: 1280;
33472
+ };
33473
+ readonly unreadJoinRequestCount: {
33474
+ readonly type: "integer";
33475
+ readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
33476
+ };
32601
33477
  };
32602
33478
  };
32603
33479
  readonly logBeginConvo: {
@@ -33126,7 +34002,51 @@ export declare const schemas: ({
33126
34002
  };
33127
34003
  };
33128
34004
  readonly logOutgoingJoinRequest: {
33129
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.";
34005
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.";
34006
+ readonly type: "object";
34007
+ readonly required: ["rev", "convoId"];
34008
+ readonly properties: {
34009
+ readonly rev: {
34010
+ readonly type: "string";
34011
+ };
34012
+ readonly convoId: {
34013
+ readonly type: "string";
34014
+ };
34015
+ };
34016
+ };
34017
+ readonly logWithdrawIncomingJoinRequest: {
34018
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.";
34019
+ readonly type: "object";
34020
+ readonly required: ["rev", "convoId", "member"];
34021
+ readonly properties: {
34022
+ readonly rev: {
34023
+ readonly type: "string";
34024
+ };
34025
+ readonly convoId: {
34026
+ readonly type: "string";
34027
+ };
34028
+ readonly member: {
34029
+ readonly description: "Prospective member who withdrew their join request.";
34030
+ readonly type: "ref";
34031
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
34032
+ };
34033
+ };
34034
+ };
34035
+ readonly logWithdrawOutgoingJoinRequest: {
34036
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.";
34037
+ readonly type: "object";
34038
+ readonly required: ["rev", "convoId"];
34039
+ readonly properties: {
34040
+ readonly rev: {
34041
+ readonly type: "string";
34042
+ };
34043
+ readonly convoId: {
34044
+ readonly type: "string";
34045
+ };
34046
+ };
34047
+ };
34048
+ readonly logReadJoinRequests: {
34049
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.";
33130
34050
  readonly type: "object";
33131
34051
  readonly required: ["rev", "convoId"];
33132
34052
  readonly properties: {
@@ -33261,6 +34181,8 @@ export declare const schemas: ({
33261
34181
  readonly name: "AccountSuspended";
33262
34182
  }, {
33263
34183
  readonly name: "BlockedActor";
34184
+ }, {
34185
+ readonly name: "BlockedSubject";
33264
34186
  }, {
33265
34187
  readonly name: "MessagesDisabled";
33266
34188
  }, {
@@ -33375,7 +34297,7 @@ export declare const schemas: ({
33375
34297
  readonly type: "array";
33376
34298
  readonly items: {
33377
34299
  readonly type: "union";
33378
- readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest"];
34300
+ readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logReadJoinRequests"];
33379
34301
  };
33380
34302
  };
33381
34303
  };
@@ -33488,7 +34410,7 @@ export declare const schemas: ({
33488
34410
  readonly defs: {
33489
34411
  readonly main: {
33490
34412
  readonly type: "query";
33491
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests are returned as joinRequestView.";
34413
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.";
33492
34414
  readonly parameters: {
33493
34415
  readonly type: "params";
33494
34416
  readonly properties: {
@@ -33516,7 +34438,7 @@ export declare const schemas: ({
33516
34438
  readonly type: "array";
33517
34439
  readonly items: {
33518
34440
  readonly type: "union";
33519
- readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#joinRequestView"];
34441
+ readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#joinRequestConvoView"];
33520
34442
  };
33521
34443
  };
33522
34444
  };
@@ -33966,6 +34888,32 @@ export declare const schemas: ({
33966
34888
  };
33967
34889
  };
33968
34890
  };
34891
+ } | {
34892
+ readonly lexicon: 1;
34893
+ readonly id: "chat.bsky.embed.joinLink";
34894
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.";
34895
+ readonly defs: {
34896
+ readonly main: {
34897
+ readonly type: "object";
34898
+ readonly required: ["code"];
34899
+ readonly properties: {
34900
+ readonly code: {
34901
+ readonly type: "string";
34902
+ readonly description: "The join link code.";
34903
+ };
34904
+ };
34905
+ };
34906
+ readonly view: {
34907
+ readonly type: "object";
34908
+ readonly required: ["joinLinkPreview"];
34909
+ readonly properties: {
34910
+ readonly joinLinkPreview: {
34911
+ readonly type: "ref";
34912
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
34913
+ };
34914
+ };
34915
+ };
34916
+ };
33969
34917
  } | {
33970
34918
  readonly lexicon: 1;
33971
34919
  readonly id: "chat.bsky.group.addMembers";
@@ -33978,7 +34926,7 @@ export declare const schemas: ({
33978
34926
  }, {
33979
34927
  readonly name: "BlockedActor";
33980
34928
  }, {
33981
- readonly name: "UserForbidsGroups";
34929
+ readonly name: "BlockedSubject";
33982
34930
  }, {
33983
34931
  readonly name: "ConvoLocked";
33984
34932
  }, {
@@ -33991,6 +34939,8 @@ export declare const schemas: ({
33991
34939
  readonly name: "NotFollowedBySender";
33992
34940
  }, {
33993
34941
  readonly name: "RecipientNotFound";
34942
+ }, {
34943
+ readonly name: "UserForbidsGroups";
33994
34944
  }];
33995
34945
  readonly input: {
33996
34946
  readonly encoding: "application/json";
@@ -34091,11 +35041,15 @@ export declare const schemas: ({
34091
35041
  }, {
34092
35042
  readonly name: "BlockedActor";
34093
35043
  }, {
34094
- readonly name: "UserForbidsGroups";
35044
+ readonly name: "BlockedSubject";
35045
+ }, {
35046
+ readonly name: "NewAccountCannotCreateGroup";
34095
35047
  }, {
34096
35048
  readonly name: "NotFollowedBySender";
34097
35049
  }, {
34098
35050
  readonly name: "RecipientNotFound";
35051
+ }, {
35052
+ readonly name: "UserForbidsGroups";
34099
35053
  }];
34100
35054
  readonly input: {
34101
35055
  readonly encoding: "application/json";
@@ -34223,8 +35177,11 @@ export declare const schemas: ({
34223
35177
  };
34224
35178
  readonly joinLinkPreviewView: {
34225
35179
  readonly type: "object";
34226
- readonly required: ["name", "owner", "memberCount", "requireApproval"];
35180
+ readonly required: ["code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
34227
35181
  readonly properties: {
35182
+ readonly code: {
35183
+ readonly type: "string";
35184
+ };
34228
35185
  readonly name: {
34229
35186
  readonly type: "string";
34230
35187
  };
@@ -34235,14 +35192,38 @@ export declare const schemas: ({
34235
35192
  readonly memberCount: {
34236
35193
  readonly type: "integer";
34237
35194
  };
35195
+ readonly memberLimit: {
35196
+ readonly type: "integer";
35197
+ };
34238
35198
  readonly requireApproval: {
34239
35199
  readonly type: "boolean";
34240
35200
  };
35201
+ readonly joinRule: {
35202
+ readonly type: "ref";
35203
+ readonly ref: "lex:chat.bsky.group.defs#joinRule";
35204
+ };
35205
+ readonly enabledStatus: {
35206
+ readonly type: "ref";
35207
+ readonly ref: "lex:chat.bsky.group.defs#linkEnabledStatus";
35208
+ };
34241
35209
  readonly convo: {
34242
35210
  readonly type: "ref";
34243
35211
  readonly ref: "lex:chat.bsky.convo.defs#convoView";
34244
35212
  readonly description: "Present only if the request is authenticated and the user is a member of the group.";
34245
35213
  };
35214
+ readonly viewer: {
35215
+ readonly type: "ref";
35216
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkViewerState";
35217
+ };
35218
+ };
35219
+ };
35220
+ readonly joinLinkViewerState: {
35221
+ readonly type: "object";
35222
+ readonly properties: {
35223
+ readonly requestedAt: {
35224
+ readonly type: "string";
35225
+ readonly format: "datetime";
35226
+ };
34246
35227
  };
34247
35228
  };
34248
35229
  readonly joinRequestView: {
@@ -34262,6 +35243,33 @@ export declare const schemas: ({
34262
35243
  };
34263
35244
  };
34264
35245
  };
35246
+ readonly joinRequestConvoView: {
35247
+ readonly description: "A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).";
35248
+ readonly type: "object";
35249
+ readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "requestedAt"];
35250
+ readonly properties: {
35251
+ readonly convoId: {
35252
+ readonly type: "string";
35253
+ };
35254
+ readonly name: {
35255
+ readonly type: "string";
35256
+ };
35257
+ readonly owner: {
35258
+ readonly type: "ref";
35259
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
35260
+ };
35261
+ readonly memberCount: {
35262
+ readonly type: "integer";
35263
+ };
35264
+ readonly memberLimit: {
35265
+ readonly type: "integer";
35266
+ };
35267
+ readonly requestedAt: {
35268
+ readonly type: "string";
35269
+ readonly format: "datetime";
35270
+ };
35271
+ };
35272
+ };
34265
35273
  };
34266
35274
  } | {
34267
35275
  readonly lexicon: 1;
@@ -34444,19 +35452,69 @@ export declare const schemas: ({
34444
35452
  };
34445
35453
  } | {
34446
35454
  readonly lexicon: 1;
34447
- readonly id: "chat.bsky.group.getJoinLinkPreview";
35455
+ readonly id: "chat.bsky.group.getJoinLinkPreviews";
34448
35456
  readonly defs: {
34449
35457
  readonly main: {
34450
35458
  readonly type: "query";
34451
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about a group from an join link.";
35459
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.";
35460
+ readonly parameters: {
35461
+ readonly type: "params";
35462
+ readonly required: ["codes"];
35463
+ readonly properties: {
35464
+ readonly codes: {
35465
+ readonly type: "array";
35466
+ readonly minLength: 1;
35467
+ readonly maxLength: 50;
35468
+ readonly items: {
35469
+ readonly type: "string";
35470
+ };
35471
+ };
35472
+ };
35473
+ };
35474
+ readonly output: {
35475
+ readonly encoding: "application/json";
35476
+ readonly schema: {
35477
+ readonly type: "object";
35478
+ readonly required: ["joinLinkPreviews"];
35479
+ readonly properties: {
35480
+ readonly joinLinkPreviews: {
35481
+ readonly type: "array";
35482
+ readonly items: {
35483
+ readonly type: "ref";
35484
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
35485
+ };
35486
+ };
35487
+ };
35488
+ };
35489
+ };
35490
+ };
35491
+ };
35492
+ } | {
35493
+ readonly lexicon: 1;
35494
+ readonly id: "chat.bsky.group.listJoinRequests";
35495
+ readonly defs: {
35496
+ readonly main: {
35497
+ readonly type: "query";
35498
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Lists a page of request to join a group (via join link) the user owns. Shows the data from the owner's point of view.";
34452
35499
  readonly errors: [{
34453
- readonly name: "InvalidCode";
35500
+ readonly name: "InvalidConvo";
35501
+ }, {
35502
+ readonly name: "InsufficientRole";
34454
35503
  }];
34455
35504
  readonly parameters: {
34456
35505
  readonly type: "params";
34457
- readonly required: ["code"];
35506
+ readonly required: ["convoId"];
34458
35507
  readonly properties: {
34459
- readonly code: {
35508
+ readonly convoId: {
35509
+ readonly type: "string";
35510
+ };
35511
+ readonly limit: {
35512
+ readonly type: "integer";
35513
+ readonly minimum: 1;
35514
+ readonly maximum: 100;
35515
+ readonly default: 50;
35516
+ };
35517
+ readonly cursor: {
34460
35518
  readonly type: "string";
34461
35519
  };
34462
35520
  };
@@ -34465,11 +35523,17 @@ export declare const schemas: ({
34465
35523
  readonly encoding: "application/json";
34466
35524
  readonly schema: {
34467
35525
  readonly type: "object";
34468
- readonly required: ["joinLinkPreview"];
35526
+ readonly required: ["requests"];
34469
35527
  readonly properties: {
34470
- readonly joinLinkPreview: {
34471
- readonly type: "ref";
34472
- readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
35528
+ readonly cursor: {
35529
+ readonly type: "string";
35530
+ };
35531
+ readonly requests: {
35532
+ readonly type: "array";
35533
+ readonly items: {
35534
+ readonly type: "ref";
35535
+ readonly ref: "lex:chat.bsky.group.defs#joinRequestView";
35536
+ };
34473
35537
  };
34474
35538
  };
34475
35539
  };
@@ -34478,16 +35542,421 @@ export declare const schemas: ({
34478
35542
  };
34479
35543
  } | {
34480
35544
  readonly lexicon: 1;
34481
- readonly id: "chat.bsky.group.listJoinRequests";
35545
+ readonly id: "chat.bsky.group.listMutualGroups";
34482
35546
  readonly defs: {
34483
35547
  readonly main: {
34484
35548
  readonly type: "query";
34485
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Lists a page of request to join a group (via join link) the user owns. Shows the data from the owner's point of view.";
35549
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of group conversations that both the requester and the specified actor are members of.";
35550
+ readonly parameters: {
35551
+ readonly type: "params";
35552
+ readonly required: ["subject"];
35553
+ readonly properties: {
35554
+ readonly subject: {
35555
+ readonly type: "string";
35556
+ readonly format: "did";
35557
+ };
35558
+ readonly limit: {
35559
+ readonly type: "integer";
35560
+ readonly minimum: 1;
35561
+ readonly maximum: 100;
35562
+ readonly default: 50;
35563
+ };
35564
+ readonly cursor: {
35565
+ readonly type: "string";
35566
+ };
35567
+ };
35568
+ };
35569
+ readonly output: {
35570
+ readonly encoding: "application/json";
35571
+ readonly schema: {
35572
+ readonly type: "object";
35573
+ readonly required: ["convos"];
35574
+ readonly properties: {
35575
+ readonly cursor: {
35576
+ readonly type: "string";
35577
+ };
35578
+ readonly convos: {
35579
+ readonly type: "array";
35580
+ readonly items: {
35581
+ readonly type: "ref";
35582
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
35583
+ };
35584
+ };
35585
+ };
35586
+ };
35587
+ };
35588
+ };
35589
+ };
35590
+ } | {
35591
+ readonly lexicon: 1;
35592
+ readonly id: "chat.bsky.group.rejectJoinRequest";
35593
+ readonly defs: {
35594
+ readonly main: {
35595
+ readonly type: "procedure";
35596
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.";
35597
+ readonly errors: [{
35598
+ readonly name: "InvalidConvo";
35599
+ }, {
35600
+ readonly name: "InsufficientRole";
35601
+ }];
35602
+ readonly input: {
35603
+ readonly encoding: "application/json";
35604
+ readonly schema: {
35605
+ readonly type: "object";
35606
+ readonly required: ["convoId", "member"];
35607
+ readonly properties: {
35608
+ readonly convoId: {
35609
+ readonly type: "string";
35610
+ };
35611
+ readonly member: {
35612
+ readonly type: "string";
35613
+ readonly format: "did";
35614
+ };
35615
+ };
35616
+ };
35617
+ };
35618
+ readonly output: {
35619
+ readonly encoding: "application/json";
35620
+ readonly schema: {
35621
+ readonly type: "object";
35622
+ readonly required: [];
35623
+ readonly properties: {};
35624
+ };
35625
+ };
35626
+ };
35627
+ };
35628
+ } | {
35629
+ readonly lexicon: 1;
35630
+ readonly id: "chat.bsky.group.removeMembers";
35631
+ readonly defs: {
35632
+ readonly main: {
35633
+ readonly type: "procedure";
35634
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Removes members from a group. This deletes convo memberships, doesn't just set a status.";
35635
+ readonly errors: [{
35636
+ readonly name: "InvalidConvo";
35637
+ }, {
35638
+ readonly name: "InsufficientRole";
35639
+ }];
35640
+ readonly input: {
35641
+ readonly encoding: "application/json";
35642
+ readonly schema: {
35643
+ readonly type: "object";
35644
+ readonly required: ["convoId", "members"];
35645
+ readonly properties: {
35646
+ readonly convoId: {
35647
+ readonly type: "string";
35648
+ };
35649
+ readonly members: {
35650
+ readonly type: "array";
35651
+ readonly items: {
35652
+ readonly type: "string";
35653
+ readonly format: "did";
35654
+ };
35655
+ readonly minLength: 1;
35656
+ };
35657
+ };
35658
+ };
35659
+ };
35660
+ readonly output: {
35661
+ readonly encoding: "application/json";
35662
+ readonly schema: {
35663
+ readonly type: "object";
35664
+ readonly required: ["convo"];
35665
+ readonly properties: {
35666
+ readonly convo: {
35667
+ readonly type: "ref";
35668
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
35669
+ };
35670
+ };
35671
+ };
35672
+ };
35673
+ };
35674
+ };
35675
+ } | {
35676
+ readonly lexicon: 1;
35677
+ readonly id: "chat.bsky.group.requestJoin";
35678
+ readonly defs: {
35679
+ readonly main: {
35680
+ readonly type: "procedure";
35681
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.";
35682
+ readonly errors: [{
35683
+ readonly name: "ConvoLocked";
35684
+ }, {
35685
+ readonly name: "FollowRequired";
35686
+ }, {
35687
+ readonly name: "InvalidCode";
35688
+ }, {
35689
+ readonly name: "LinkDisabled";
35690
+ }, {
35691
+ readonly name: "MemberLimitReached";
35692
+ }, {
35693
+ readonly name: "UserKicked";
35694
+ }];
35695
+ readonly input: {
35696
+ readonly encoding: "application/json";
35697
+ readonly schema: {
35698
+ readonly type: "object";
35699
+ readonly required: ["code"];
35700
+ readonly properties: {
35701
+ readonly code: {
35702
+ readonly type: "string";
35703
+ };
35704
+ };
35705
+ };
35706
+ };
35707
+ readonly output: {
35708
+ readonly encoding: "application/json";
35709
+ readonly schema: {
35710
+ readonly type: "object";
35711
+ readonly required: ["status"];
35712
+ readonly properties: {
35713
+ readonly status: {
35714
+ readonly type: "string";
35715
+ readonly knownValues: ["joined", "pending"];
35716
+ };
35717
+ readonly convo: {
35718
+ readonly description: "The group convo joined. This is only present in the case of status=joined";
35719
+ readonly type: "ref";
35720
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
35721
+ };
35722
+ };
35723
+ };
35724
+ };
35725
+ };
35726
+ };
35727
+ } | {
35728
+ readonly lexicon: 1;
35729
+ readonly id: "chat.bsky.group.updateJoinRequestsRead";
35730
+ readonly defs: {
35731
+ readonly main: {
35732
+ readonly type: "procedure";
35733
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.";
34486
35734
  readonly errors: [{
34487
35735
  readonly name: "InvalidConvo";
34488
35736
  }, {
34489
35737
  readonly name: "InsufficientRole";
34490
35738
  }];
35739
+ readonly input: {
35740
+ readonly encoding: "application/json";
35741
+ readonly schema: {
35742
+ readonly type: "object";
35743
+ readonly required: ["convoId"];
35744
+ readonly properties: {
35745
+ readonly convoId: {
35746
+ readonly type: "string";
35747
+ };
35748
+ };
35749
+ };
35750
+ };
35751
+ readonly output: {
35752
+ readonly encoding: "application/json";
35753
+ readonly schema: {
35754
+ readonly type: "object";
35755
+ readonly required: [];
35756
+ readonly properties: {};
35757
+ };
35758
+ };
35759
+ };
35760
+ };
35761
+ } | {
35762
+ readonly lexicon: 1;
35763
+ readonly id: "chat.bsky.group.withdrawJoinRequest";
35764
+ readonly defs: {
35765
+ readonly main: {
35766
+ readonly type: "procedure";
35767
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.";
35768
+ readonly errors: [{
35769
+ readonly name: "InvalidJoinRequest";
35770
+ }];
35771
+ readonly input: {
35772
+ readonly encoding: "application/json";
35773
+ readonly schema: {
35774
+ readonly type: "object";
35775
+ readonly required: ["convoId"];
35776
+ readonly properties: {
35777
+ readonly convoId: {
35778
+ readonly type: "string";
35779
+ };
35780
+ };
35781
+ };
35782
+ };
35783
+ readonly output: {
35784
+ readonly encoding: "application/json";
35785
+ readonly schema: {
35786
+ readonly type: "object";
35787
+ readonly required: [];
35788
+ readonly properties: {};
35789
+ };
35790
+ };
35791
+ };
35792
+ };
35793
+ } | {
35794
+ readonly lexicon: 1;
35795
+ readonly id: "chat.bsky.moderation.defs";
35796
+ readonly defs: {
35797
+ readonly convoView: {
35798
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.";
35799
+ readonly type: "object";
35800
+ readonly required: ["id", "rev"];
35801
+ readonly properties: {
35802
+ readonly id: {
35803
+ readonly type: "string";
35804
+ };
35805
+ readonly rev: {
35806
+ readonly type: "string";
35807
+ };
35808
+ readonly kind: {
35809
+ readonly description: "Union field that has data specific to different kinds of convos.";
35810
+ readonly type: "union";
35811
+ readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
35812
+ };
35813
+ };
35814
+ };
35815
+ readonly directConvo: {
35816
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.";
35817
+ readonly type: "object";
35818
+ readonly properties: {};
35819
+ };
35820
+ readonly groupConvo: {
35821
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.";
35822
+ readonly type: "object";
35823
+ readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
35824
+ readonly properties: {
35825
+ readonly createdAt: {
35826
+ readonly type: "string";
35827
+ readonly format: "datetime";
35828
+ };
35829
+ readonly joinLink: {
35830
+ readonly type: "ref";
35831
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
35832
+ };
35833
+ readonly joinRequestCount: {
35834
+ readonly type: "integer";
35835
+ readonly description: "The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.";
35836
+ };
35837
+ readonly lockStatus: {
35838
+ readonly description: "The lock status of the conversation.";
35839
+ readonly type: "ref";
35840
+ readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
35841
+ };
35842
+ readonly memberCount: {
35843
+ readonly type: "integer";
35844
+ readonly description: "The total number of members in the group conversation.";
35845
+ };
35846
+ readonly memberLimit: {
35847
+ readonly type: "integer";
35848
+ readonly description: "The maximum number of members allowed in the group conversation.";
35849
+ };
35850
+ readonly name: {
35851
+ readonly type: "string";
35852
+ readonly description: "The display name of the group conversation.";
35853
+ readonly maxGraphemes: 128;
35854
+ readonly maxLength: 1280;
35855
+ };
35856
+ };
35857
+ };
35858
+ };
35859
+ } | {
35860
+ readonly lexicon: 1;
35861
+ readonly id: "chat.bsky.moderation.getActorMetadata";
35862
+ readonly defs: {
35863
+ readonly main: {
35864
+ readonly type: "query";
35865
+ readonly parameters: {
35866
+ readonly type: "params";
35867
+ readonly required: ["actor"];
35868
+ readonly properties: {
35869
+ readonly actor: {
35870
+ readonly type: "string";
35871
+ readonly format: "did";
35872
+ };
35873
+ };
35874
+ };
35875
+ readonly output: {
35876
+ readonly encoding: "application/json";
35877
+ readonly schema: {
35878
+ readonly type: "object";
35879
+ readonly required: ["day", "month", "all"];
35880
+ readonly properties: {
35881
+ readonly day: {
35882
+ readonly type: "ref";
35883
+ readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35884
+ };
35885
+ readonly month: {
35886
+ readonly type: "ref";
35887
+ readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35888
+ };
35889
+ readonly all: {
35890
+ readonly type: "ref";
35891
+ readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35892
+ };
35893
+ };
35894
+ };
35895
+ };
35896
+ };
35897
+ readonly metadata: {
35898
+ readonly type: "object";
35899
+ readonly required: ["messagesSent", "messagesReceived", "convos", "convosStarted"];
35900
+ readonly properties: {
35901
+ readonly messagesSent: {
35902
+ readonly type: "integer";
35903
+ };
35904
+ readonly messagesReceived: {
35905
+ readonly type: "integer";
35906
+ };
35907
+ readonly convos: {
35908
+ readonly type: "integer";
35909
+ };
35910
+ readonly convosStarted: {
35911
+ readonly type: "integer";
35912
+ };
35913
+ };
35914
+ };
35915
+ };
35916
+ } | {
35917
+ readonly lexicon: 1;
35918
+ readonly id: "chat.bsky.moderation.getConvo";
35919
+ readonly defs: {
35920
+ readonly main: {
35921
+ readonly type: "query";
35922
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.";
35923
+ readonly errors: [{
35924
+ readonly name: "InvalidConvo";
35925
+ }];
35926
+ readonly parameters: {
35927
+ readonly type: "params";
35928
+ readonly required: ["convoId"];
35929
+ readonly properties: {
35930
+ readonly convoId: {
35931
+ readonly type: "string";
35932
+ };
35933
+ };
35934
+ };
35935
+ readonly output: {
35936
+ readonly encoding: "application/json";
35937
+ readonly schema: {
35938
+ readonly type: "object";
35939
+ readonly required: ["convo"];
35940
+ readonly properties: {
35941
+ readonly convo: {
35942
+ readonly type: "ref";
35943
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
35944
+ };
35945
+ };
35946
+ };
35947
+ };
35948
+ };
35949
+ };
35950
+ } | {
35951
+ readonly lexicon: 1;
35952
+ readonly id: "chat.bsky.moderation.getConvoMembers";
35953
+ readonly defs: {
35954
+ readonly main: {
35955
+ readonly type: "query";
35956
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.";
35957
+ readonly errors: [{
35958
+ readonly name: "InvalidConvo";
35959
+ }];
34491
35960
  readonly parameters: {
34492
35961
  readonly type: "params";
34493
35962
  readonly required: ["convoId"];
@@ -34510,16 +35979,16 @@ export declare const schemas: ({
34510
35979
  readonly encoding: "application/json";
34511
35980
  readonly schema: {
34512
35981
  readonly type: "object";
34513
- readonly required: ["requests"];
35982
+ readonly required: ["members"];
34514
35983
  readonly properties: {
34515
35984
  readonly cursor: {
34516
35985
  readonly type: "string";
34517
35986
  };
34518
- readonly requests: {
35987
+ readonly members: {
34519
35988
  readonly type: "array";
34520
35989
  readonly items: {
34521
35990
  readonly type: "ref";
34522
- readonly ref: "lex:chat.bsky.group.defs#joinRequestView";
35991
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
34523
35992
  };
34524
35993
  };
34525
35994
  };
@@ -34529,27 +35998,22 @@ export declare const schemas: ({
34529
35998
  };
34530
35999
  } | {
34531
36000
  readonly lexicon: 1;
34532
- readonly id: "chat.bsky.group.listMutualGroups";
36001
+ readonly id: "chat.bsky.moderation.getConvos";
34533
36002
  readonly defs: {
34534
36003
  readonly main: {
34535
36004
  readonly type: "query";
34536
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of group conversations that both the requester and the specified actor are members of.";
36005
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.";
34537
36006
  readonly parameters: {
34538
36007
  readonly type: "params";
34539
- readonly required: ["subject"];
36008
+ readonly required: ["convoIds"];
34540
36009
  readonly properties: {
34541
- readonly subject: {
34542
- readonly type: "string";
34543
- readonly format: "did";
34544
- };
34545
- readonly limit: {
34546
- readonly type: "integer";
34547
- readonly minimum: 1;
34548
- readonly maximum: 100;
34549
- readonly default: 50;
34550
- };
34551
- readonly cursor: {
34552
- readonly type: "string";
36010
+ readonly convoIds: {
36011
+ readonly type: "array";
36012
+ readonly minLength: 1;
36013
+ readonly maxLength: 100;
36014
+ readonly items: {
36015
+ readonly type: "string";
36016
+ };
34553
36017
  };
34554
36018
  };
34555
36019
  };
@@ -34559,14 +36023,11 @@ export declare const schemas: ({
34559
36023
  readonly type: "object";
34560
36024
  readonly required: ["convos"];
34561
36025
  readonly properties: {
34562
- readonly cursor: {
34563
- readonly type: "string";
34564
- };
34565
36026
  readonly convos: {
34566
36027
  readonly type: "array";
34567
36028
  readonly items: {
34568
36029
  readonly type: "ref";
34569
- readonly ref: "lex:chat.bsky.convo.defs#convoView";
36030
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
34570
36031
  };
34571
36032
  };
34572
36033
  };
@@ -34574,200 +36035,6 @@ export declare const schemas: ({
34574
36035
  };
34575
36036
  };
34576
36037
  };
34577
- } | {
34578
- readonly lexicon: 1;
34579
- readonly id: "chat.bsky.group.rejectJoinRequest";
34580
- readonly defs: {
34581
- readonly main: {
34582
- readonly type: "procedure";
34583
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.";
34584
- readonly errors: [{
34585
- readonly name: "InvalidConvo";
34586
- }, {
34587
- readonly name: "InsufficientRole";
34588
- }];
34589
- readonly input: {
34590
- readonly encoding: "application/json";
34591
- readonly schema: {
34592
- readonly type: "object";
34593
- readonly required: ["convoId", "member"];
34594
- readonly properties: {
34595
- readonly convoId: {
34596
- readonly type: "string";
34597
- };
34598
- readonly member: {
34599
- readonly type: "string";
34600
- readonly format: "did";
34601
- };
34602
- };
34603
- };
34604
- };
34605
- readonly output: {
34606
- readonly encoding: "application/json";
34607
- readonly schema: {
34608
- readonly type: "object";
34609
- readonly required: [];
34610
- readonly properties: {};
34611
- };
34612
- };
34613
- };
34614
- };
34615
- } | {
34616
- readonly lexicon: 1;
34617
- readonly id: "chat.bsky.group.removeMembers";
34618
- readonly defs: {
34619
- readonly main: {
34620
- readonly type: "procedure";
34621
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Removes members from a group. This deletes convo memberships, doesn't just set a status.";
34622
- readonly errors: [{
34623
- readonly name: "InvalidConvo";
34624
- }, {
34625
- readonly name: "InsufficientRole";
34626
- }];
34627
- readonly input: {
34628
- readonly encoding: "application/json";
34629
- readonly schema: {
34630
- readonly type: "object";
34631
- readonly required: ["convoId", "members"];
34632
- readonly properties: {
34633
- readonly convoId: {
34634
- readonly type: "string";
34635
- };
34636
- readonly members: {
34637
- readonly type: "array";
34638
- readonly items: {
34639
- readonly type: "string";
34640
- readonly format: "did";
34641
- };
34642
- readonly minLength: 1;
34643
- };
34644
- };
34645
- };
34646
- };
34647
- readonly output: {
34648
- readonly encoding: "application/json";
34649
- readonly schema: {
34650
- readonly type: "object";
34651
- readonly required: ["convo"];
34652
- readonly properties: {
34653
- readonly convo: {
34654
- readonly type: "ref";
34655
- readonly ref: "lex:chat.bsky.convo.defs#convoView";
34656
- };
34657
- };
34658
- };
34659
- };
34660
- };
34661
- };
34662
- } | {
34663
- readonly lexicon: 1;
34664
- readonly id: "chat.bsky.group.requestJoin";
34665
- readonly defs: {
34666
- readonly main: {
34667
- readonly type: "procedure";
34668
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.";
34669
- readonly errors: [{
34670
- readonly name: "ConvoLocked";
34671
- }, {
34672
- readonly name: "FollowRequired";
34673
- }, {
34674
- readonly name: "InvalidCode";
34675
- }, {
34676
- readonly name: "LinkDisabled";
34677
- }, {
34678
- readonly name: "MemberLimitReached";
34679
- }, {
34680
- readonly name: "UserKicked";
34681
- }];
34682
- readonly input: {
34683
- readonly encoding: "application/json";
34684
- readonly schema: {
34685
- readonly type: "object";
34686
- readonly required: ["code"];
34687
- readonly properties: {
34688
- readonly code: {
34689
- readonly type: "string";
34690
- };
34691
- };
34692
- };
34693
- };
34694
- readonly output: {
34695
- readonly encoding: "application/json";
34696
- readonly schema: {
34697
- readonly type: "object";
34698
- readonly required: ["status"];
34699
- readonly properties: {
34700
- readonly status: {
34701
- readonly type: "string";
34702
- readonly knownValues: ["joined", "pending"];
34703
- };
34704
- readonly convo: {
34705
- readonly description: "The group convo joined. This is only present in the case of status=joined";
34706
- readonly type: "ref";
34707
- readonly ref: "lex:chat.bsky.convo.defs#convoView";
34708
- };
34709
- };
34710
- };
34711
- };
34712
- };
34713
- };
34714
- } | {
34715
- readonly lexicon: 1;
34716
- readonly id: "chat.bsky.moderation.getActorMetadata";
34717
- readonly defs: {
34718
- readonly main: {
34719
- readonly type: "query";
34720
- readonly parameters: {
34721
- readonly type: "params";
34722
- readonly required: ["actor"];
34723
- readonly properties: {
34724
- readonly actor: {
34725
- readonly type: "string";
34726
- readonly format: "did";
34727
- };
34728
- };
34729
- };
34730
- readonly output: {
34731
- readonly encoding: "application/json";
34732
- readonly schema: {
34733
- readonly type: "object";
34734
- readonly required: ["day", "month", "all"];
34735
- readonly properties: {
34736
- readonly day: {
34737
- readonly type: "ref";
34738
- readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
34739
- };
34740
- readonly month: {
34741
- readonly type: "ref";
34742
- readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
34743
- };
34744
- readonly all: {
34745
- readonly type: "ref";
34746
- readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
34747
- };
34748
- };
34749
- };
34750
- };
34751
- };
34752
- readonly metadata: {
34753
- readonly type: "object";
34754
- readonly required: ["messagesSent", "messagesReceived", "convos", "convosStarted"];
34755
- readonly properties: {
34756
- readonly messagesSent: {
34757
- readonly type: "integer";
34758
- };
34759
- readonly messagesReceived: {
34760
- readonly type: "integer";
34761
- };
34762
- readonly convos: {
34763
- readonly type: "integer";
34764
- };
34765
- readonly convosStarted: {
34766
- readonly type: "integer";
34767
- };
34768
- };
34769
- };
34770
- };
34771
36038
  } | {
34772
36039
  readonly lexicon: 1;
34773
36040
  readonly id: "chat.bsky.moderation.getMessageContext";
@@ -34841,7 +36108,7 @@ export declare const schemas: ({
34841
36108
  readonly message: {
34842
36109
  readonly schema: {
34843
36110
  readonly type: "union";
34844
- readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
36111
+ readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated", "lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded"];
34845
36112
  };
34846
36113
  };
34847
36114
  readonly errors: [{
@@ -35330,6 +36597,29 @@ export declare const schemas: ({
35330
36597
  };
35331
36598
  };
35332
36599
  };
36600
+ readonly eventRateLimitExceeded: {
36601
+ readonly type: "object";
36602
+ readonly description: "Fired when a user exceeds a rate limit.";
36603
+ readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
36604
+ readonly properties: {
36605
+ readonly actorDid: {
36606
+ readonly description: "The DID of the user who hit the rate limit.";
36607
+ readonly type: "string";
36608
+ readonly format: "did";
36609
+ };
36610
+ readonly createdAt: {
36611
+ readonly type: "string";
36612
+ readonly format: "datetime";
36613
+ };
36614
+ readonly endpoint: {
36615
+ readonly description: "The NSID of the endpoint that was rate limited.";
36616
+ readonly type: "string";
36617
+ };
36618
+ readonly rev: {
36619
+ readonly type: "string";
36620
+ };
36621
+ };
36622
+ };
35333
36623
  };
35334
36624
  } | {
35335
36625
  readonly lexicon: 1;
@@ -38108,8 +39398,8 @@ export declare const schemas: ({
38108
39398
  readonly properties: {
38109
39399
  readonly aud: {
38110
39400
  readonly type: "string";
38111
- readonly format: "did";
38112
- readonly description: "The DID of the service that the token will be used to authenticate with";
39401
+ readonly maxLength: 2048;
39402
+ readonly description: "The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.";
38113
39403
  };
38114
39404
  readonly exp: {
38115
39405
  readonly type: "integer";
@@ -40021,7 +41311,7 @@ export declare const schemas: ({
40021
41311
  };
40022
41312
  readonly subject: {
40023
41313
  readonly type: "union";
40024
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
41314
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
40025
41315
  };
40026
41316
  readonly subjectBlobCids: {
40027
41317
  readonly type: "array";
@@ -40062,7 +41352,7 @@ export declare const schemas: ({
40062
41352
  };
40063
41353
  readonly subject: {
40064
41354
  readonly type: "union";
40065
- readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound"];
41355
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound", "lex:tools.ozone.moderation.defs#convoView"];
40066
41356
  };
40067
41357
  readonly subjectBlobs: {
40068
41358
  readonly type: "array";
@@ -40094,7 +41384,7 @@ export declare const schemas: ({
40094
41384
  };
40095
41385
  readonly subject: {
40096
41386
  readonly type: "union";
40097
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
41387
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
40098
41388
  };
40099
41389
  readonly hosting: {
40100
41390
  readonly type: "union";
@@ -41058,6 +42348,19 @@ export declare const schemas: ({
41058
42348
  };
41059
42349
  };
41060
42350
  };
42351
+ readonly convoView: {
42352
+ readonly type: "object";
42353
+ readonly required: ["did", "convoId"];
42354
+ readonly properties: {
42355
+ readonly did: {
42356
+ readonly type: "string";
42357
+ readonly format: "did";
42358
+ };
42359
+ readonly convoId: {
42360
+ readonly type: "string";
42361
+ };
42362
+ };
42363
+ };
41061
42364
  readonly moderation: {
41062
42365
  readonly type: "object";
41063
42366
  readonly properties: {
@@ -41864,8 +43167,8 @@ export declare const schemas: ({
41864
43167
  };
41865
43168
  readonly subjectType: {
41866
43169
  readonly type: "string";
41867
- readonly description: "If specified, only events where the subject is of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
41868
- readonly knownValues: ["account", "record"];
43170
+ readonly description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
43171
+ readonly knownValues: ["account", "record", "conversation"];
41869
43172
  };
41870
43173
  readonly includeAllUserRecords: {
41871
43174
  readonly type: "boolean";
@@ -42132,8 +43435,8 @@ export declare const schemas: ({
42132
43435
  };
42133
43436
  readonly subjectType: {
42134
43437
  readonly type: "string";
42135
- readonly description: "If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
42136
- readonly knownValues: ["account", "record"];
43438
+ readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
43439
+ readonly knownValues: ["account", "record", "conversation"];
42137
43440
  };
42138
43441
  readonly minAccountSuspendCount: {
42139
43442
  readonly type: "integer";
@@ -45761,6 +47064,7 @@ export declare const ids: {
45761
47064
  readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
45762
47065
  readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
45763
47066
  readonly AppBskyEmbedExternal: "app.bsky.embed.external";
47067
+ readonly AppBskyEmbedGetEmbedExternalView: "app.bsky.embed.getEmbedExternalView";
45764
47068
  readonly AppBskyEmbedImages: "app.bsky.embed.images";
45765
47069
  readonly AppBskyEmbedRecord: "app.bsky.embed.record";
45766
47070
  readonly AppBskyEmbedRecordWithMedia: "app.bsky.embed.recordWithMedia";
@@ -45876,6 +47180,7 @@ export declare const ids: {
45876
47180
  readonly ChatBskyActorDefs: "chat.bsky.actor.defs";
45877
47181
  readonly ChatBskyActorDeleteAccount: "chat.bsky.actor.deleteAccount";
45878
47182
  readonly ChatBskyActorExportAccountData: "chat.bsky.actor.exportAccountData";
47183
+ readonly ChatBskyActorGetStatus: "chat.bsky.actor.getStatus";
45879
47184
  readonly ChatBskyConvoAcceptConvo: "chat.bsky.convo.acceptConvo";
45880
47185
  readonly ChatBskyConvoAddReaction: "chat.bsky.convo.addReaction";
45881
47186
  readonly ChatBskyConvoDefs: "chat.bsky.convo.defs";
@@ -45898,6 +47203,7 @@ export declare const ids: {
45898
47203
  readonly ChatBskyConvoUnmuteConvo: "chat.bsky.convo.unmuteConvo";
45899
47204
  readonly ChatBskyConvoUpdateAllRead: "chat.bsky.convo.updateAllRead";
45900
47205
  readonly ChatBskyConvoUpdateRead: "chat.bsky.convo.updateRead";
47206
+ readonly ChatBskyEmbedJoinLink: "chat.bsky.embed.joinLink";
45901
47207
  readonly ChatBskyGroupAddMembers: "chat.bsky.group.addMembers";
45902
47208
  readonly ChatBskyGroupApproveJoinRequest: "chat.bsky.group.approveJoinRequest";
45903
47209
  readonly ChatBskyGroupCreateGroup: "chat.bsky.group.createGroup";
@@ -45907,13 +47213,19 @@ export declare const ids: {
45907
47213
  readonly ChatBskyGroupEditGroup: "chat.bsky.group.editGroup";
45908
47214
  readonly ChatBskyGroupEditJoinLink: "chat.bsky.group.editJoinLink";
45909
47215
  readonly ChatBskyGroupEnableJoinLink: "chat.bsky.group.enableJoinLink";
45910
- readonly ChatBskyGroupGetJoinLinkPreview: "chat.bsky.group.getJoinLinkPreview";
47216
+ readonly ChatBskyGroupGetJoinLinkPreviews: "chat.bsky.group.getJoinLinkPreviews";
45911
47217
  readonly ChatBskyGroupListJoinRequests: "chat.bsky.group.listJoinRequests";
45912
47218
  readonly ChatBskyGroupListMutualGroups: "chat.bsky.group.listMutualGroups";
45913
47219
  readonly ChatBskyGroupRejectJoinRequest: "chat.bsky.group.rejectJoinRequest";
45914
47220
  readonly ChatBskyGroupRemoveMembers: "chat.bsky.group.removeMembers";
45915
47221
  readonly ChatBskyGroupRequestJoin: "chat.bsky.group.requestJoin";
47222
+ readonly ChatBskyGroupUpdateJoinRequestsRead: "chat.bsky.group.updateJoinRequestsRead";
47223
+ readonly ChatBskyGroupWithdrawJoinRequest: "chat.bsky.group.withdrawJoinRequest";
47224
+ readonly ChatBskyModerationDefs: "chat.bsky.moderation.defs";
45916
47225
  readonly ChatBskyModerationGetActorMetadata: "chat.bsky.moderation.getActorMetadata";
47226
+ readonly ChatBskyModerationGetConvo: "chat.bsky.moderation.getConvo";
47227
+ readonly ChatBskyModerationGetConvoMembers: "chat.bsky.moderation.getConvoMembers";
47228
+ readonly ChatBskyModerationGetConvos: "chat.bsky.moderation.getConvos";
45917
47229
  readonly ChatBskyModerationGetMessageContext: "chat.bsky.moderation.getMessageContext";
45918
47230
  readonly ChatBskyModerationSubscribeModEvents: "chat.bsky.moderation.subscribeModEvents";
45919
47231
  readonly ChatBskyModerationUpdateActorAccess: "chat.bsky.moderation.updateActorAccess";