@atproto/ozone 0.1.176 → 0.2.0

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 (176) hide show
  1. package/CHANGELOG.md +13 -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 +19 -2
  37. package/dist/lexicon/index.d.ts.map +1 -1
  38. package/dist/lexicon/index.js +32 -2
  39. package/dist/lexicon/index.js.map +1 -1
  40. package/dist/lexicon/lexicons.d.ts +1364 -132
  41. package/dist/lexicon/lexicons.d.ts.map +1 -1
  42. package/dist/lexicon/lexicons.js +721 -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/subscribeModEvents.d.ts +13 -1
  111. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  112. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
  113. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  114. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts +1 -1
  115. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  116. package/dist/lexicon/types/com/atproto/server/getServiceAuth.js.map +1 -1
  117. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +10 -3
  118. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  119. package/dist/lexicon/types/tools/ozone/moderation/defs.js +7 -0
  120. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  121. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
  122. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  123. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  124. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
  125. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  126. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  127. package/dist/mod-service/expiring-tags.d.ts +3 -0
  128. package/dist/mod-service/expiring-tags.d.ts.map +1 -1
  129. package/dist/mod-service/expiring-tags.js +5 -2
  130. package/dist/mod-service/expiring-tags.js.map +1 -1
  131. package/dist/mod-service/index.d.ts +3 -1
  132. package/dist/mod-service/index.d.ts.map +1 -1
  133. package/dist/mod-service/index.js +48 -10
  134. package/dist/mod-service/index.js.map +1 -1
  135. package/dist/mod-service/status.d.ts +7 -1
  136. package/dist/mod-service/status.d.ts.map +1 -1
  137. package/dist/mod-service/status.js +18 -3
  138. package/dist/mod-service/status.js.map +1 -1
  139. package/dist/mod-service/subject.d.ts +38 -2
  140. package/dist/mod-service/subject.d.ts.map +1 -1
  141. package/dist/mod-service/subject.js +67 -0
  142. package/dist/mod-service/subject.js.map +1 -1
  143. package/dist/mod-service/views.d.ts +2 -1
  144. package/dist/mod-service/views.d.ts.map +1 -1
  145. package/dist/mod-service/views.js +24 -22
  146. package/dist/mod-service/views.js.map +1 -1
  147. package/dist/queue/service.d.ts.map +1 -1
  148. package/dist/queue/service.js +7 -3
  149. package/dist/queue/service.js.map +1 -1
  150. package/dist/safelink/service.d.ts +1 -1
  151. package/package.json +5 -5
  152. package/src/api/chat/getConvo.ts +23 -0
  153. package/src/api/chat/getConvoMembers.ts +23 -0
  154. package/src/api/chat/index.ts +4 -0
  155. package/src/daemon/event-reverser.ts +1 -0
  156. package/src/db/migrations/20260513T202941104Z-add-subject-convo-id.ts +114 -0
  157. package/src/db/migrations/index.ts +1 -0
  158. package/src/db/schema/expiring_tag.ts +1 -0
  159. package/src/db/schema/moderation_event.ts +2 -0
  160. package/src/db/schema/moderation_subject_status.ts +4 -0
  161. package/src/db/schema/report.ts +2 -1
  162. package/src/mod-service/expiring-tags.ts +8 -2
  163. package/src/mod-service/index.ts +52 -16
  164. package/src/mod-service/status.ts +24 -2
  165. package/src/mod-service/subject.ts +79 -1
  166. package/src/mod-service/views.ts +28 -23
  167. package/src/queue/service.ts +8 -4
  168. package/tests/__snapshots__/verification.test.ts.snap +2 -0
  169. package/tests/expiring-tags.test.ts +1 -0
  170. package/tests/moderation-events.test.ts +108 -1
  171. package/tests/moderation-status-tags.test.ts +23 -0
  172. package/tests/moderation-statuses.test.ts +82 -0
  173. package/tests/moderation.test.ts +73 -0
  174. package/tsconfig.build.tsbuildinfo +1 -1
  175. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.d.ts.map +0 -1
  176. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.js.map +0 -1
@@ -385,6 +385,15 @@ export const schemaDict = {
385
385
  description: 'The user who issued this verification.',
386
386
  format: 'did',
387
387
  },
388
+ issuerDisplayName: {
389
+ type: 'string',
390
+ description: 'The display name of the issuer.',
391
+ },
392
+ issuerHandle: {
393
+ type: 'string',
394
+ description: 'The handle of the issuer.',
395
+ format: 'handle',
396
+ },
388
397
  uri: {
389
398
  type: 'string',
390
399
  description: 'The AT-URI of the verification record.',
@@ -2597,13 +2606,13 @@ export const schemaDict = {
2597
2606
  accept: ['image/*'],
2598
2607
  maxSize: 1000000,
2599
2608
  },
2600
- associatedRecords: {
2609
+ associatedRefs: {
2601
2610
  type: 'array',
2602
2611
  items: {
2603
2612
  type: 'ref',
2604
2613
  ref: 'lex:com.atproto.repo.strongRef',
2605
2614
  },
2606
- description: 'The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.',
2615
+ description: 'StrongRefs (uri+cid) of the Atmosphere records that backed this view.',
2607
2616
  },
2608
2617
  },
2609
2618
  },
@@ -2635,6 +2644,176 @@ export const schemaDict = {
2635
2644
  type: 'string',
2636
2645
  format: 'uri',
2637
2646
  },
2647
+ createdAt: {
2648
+ type: 'string',
2649
+ format: 'datetime',
2650
+ description: 'When the external content was created, if available. Example: a publication date, for an article.',
2651
+ },
2652
+ updatedAt: {
2653
+ type: 'string',
2654
+ format: 'datetime',
2655
+ description: 'When the external content was updated, if available.',
2656
+ },
2657
+ readingTime: {
2658
+ type: 'integer',
2659
+ description: 'Estimated reading time in minutes, if applicable and available.',
2660
+ },
2661
+ labels: {
2662
+ type: 'array',
2663
+ items: {
2664
+ type: 'ref',
2665
+ ref: 'lex:com.atproto.label.defs#label',
2666
+ },
2667
+ },
2668
+ source: {
2669
+ type: 'ref',
2670
+ ref: 'lex:app.bsky.embed.external#viewExternalSource',
2671
+ },
2672
+ associatedRefs: {
2673
+ type: 'array',
2674
+ items: {
2675
+ type: 'ref',
2676
+ ref: 'lex:com.atproto.repo.strongRef',
2677
+ },
2678
+ description: 'StrongRefs (uri+cid) of the Atmosphere records that backed this view.',
2679
+ },
2680
+ associatedProfiles: {
2681
+ type: 'array',
2682
+ items: {
2683
+ type: 'ref',
2684
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
2685
+ },
2686
+ description: 'Profiles of the owners of the Atmosphere records that backed this view.',
2687
+ },
2688
+ },
2689
+ },
2690
+ viewExternalSource: {
2691
+ type: 'object',
2692
+ description: 'The source of an external embed, such as a standard.site publication.',
2693
+ required: ['uri', 'title'],
2694
+ properties: {
2695
+ uri: {
2696
+ type: 'string',
2697
+ format: 'uri',
2698
+ description: 'URI of the source, if available. Example: the https:// URL of a site.standard.publication record.',
2699
+ },
2700
+ icon: {
2701
+ type: 'string',
2702
+ format: 'uri',
2703
+ description: 'Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.',
2704
+ },
2705
+ title: {
2706
+ type: 'string',
2707
+ },
2708
+ description: {
2709
+ type: 'string',
2710
+ },
2711
+ theme: {
2712
+ type: 'ref',
2713
+ ref: 'lex:app.bsky.embed.external#viewExternalSourceTheme',
2714
+ },
2715
+ },
2716
+ },
2717
+ viewExternalSourceTheme: {
2718
+ type: 'object',
2719
+ 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.',
2720
+ properties: {
2721
+ backgroundRGB: {
2722
+ type: 'ref',
2723
+ ref: 'lex:app.bsky.embed.external#colorRGB',
2724
+ },
2725
+ foregroundRGB: {
2726
+ type: 'ref',
2727
+ ref: 'lex:app.bsky.embed.external#colorRGB',
2728
+ },
2729
+ accentRGB: {
2730
+ type: 'ref',
2731
+ ref: 'lex:app.bsky.embed.external#colorRGB',
2732
+ },
2733
+ accentForegroundRGB: {
2734
+ type: 'ref',
2735
+ ref: 'lex:app.bsky.embed.external#colorRGB',
2736
+ },
2737
+ },
2738
+ },
2739
+ colorRGB: {
2740
+ type: 'object',
2741
+ description: 'RGB color definition, inspired by site.standard.theme.color#rgb',
2742
+ required: ['r', 'g', 'b'],
2743
+ properties: {
2744
+ r: {
2745
+ type: 'integer',
2746
+ minimum: 0,
2747
+ maximum: 255,
2748
+ },
2749
+ g: {
2750
+ type: 'integer',
2751
+ minimum: 0,
2752
+ maximum: 255,
2753
+ },
2754
+ b: {
2755
+ type: 'integer',
2756
+ minimum: 0,
2757
+ maximum: 255,
2758
+ },
2759
+ },
2760
+ },
2761
+ },
2762
+ },
2763
+ AppBskyEmbedGetEmbedExternalView: {
2764
+ lexicon: 1,
2765
+ id: 'app.bsky.embed.getEmbedExternalView',
2766
+ defs: {
2767
+ main: {
2768
+ type: 'query',
2769
+ 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.",
2770
+ parameters: {
2771
+ type: 'params',
2772
+ required: ['url', 'uris'],
2773
+ properties: {
2774
+ url: {
2775
+ type: 'string',
2776
+ format: 'uri',
2777
+ 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.",
2778
+ },
2779
+ uris: {
2780
+ type: 'array',
2781
+ 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.',
2782
+ items: {
2783
+ type: 'string',
2784
+ format: 'at-uri',
2785
+ },
2786
+ maxLength: 4,
2787
+ },
2788
+ },
2789
+ },
2790
+ output: {
2791
+ encoding: 'application/json',
2792
+ schema: {
2793
+ type: 'object',
2794
+ properties: {
2795
+ view: {
2796
+ type: 'ref',
2797
+ ref: 'lex:app.bsky.embed.external#view',
2798
+ 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.',
2799
+ },
2800
+ associatedRefs: {
2801
+ type: 'array',
2802
+ items: {
2803
+ type: 'ref',
2804
+ ref: 'lex:com.atproto.repo.strongRef',
2805
+ },
2806
+ description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.",
2807
+ },
2808
+ associatedRecords: {
2809
+ type: 'array',
2810
+ items: {
2811
+ type: 'unknown',
2812
+ 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.',
2813
+ },
2814
+ },
2815
+ },
2816
+ },
2638
2817
  },
2639
2818
  },
2640
2819
  },
@@ -9468,6 +9647,37 @@ export const schemaDict = {
9468
9647
  },
9469
9648
  },
9470
9649
  },
9650
+ ChatBskyActorGetStatus: {
9651
+ lexicon: 1,
9652
+ id: 'chat.bsky.actor.getStatus',
9653
+ defs: {
9654
+ main: {
9655
+ type: 'query',
9656
+ 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.",
9657
+ output: {
9658
+ encoding: 'application/json',
9659
+ schema: {
9660
+ type: 'object',
9661
+ required: ['chatDisabled', 'canCreateGroups', 'groupMemberLimit'],
9662
+ properties: {
9663
+ chatDisabled: {
9664
+ type: 'boolean',
9665
+ description: "True when the viewer's account is disabled and cannot actively participate in chat.",
9666
+ },
9667
+ canCreateGroups: {
9668
+ type: 'boolean',
9669
+ description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.",
9670
+ },
9671
+ groupMemberLimit: {
9672
+ type: 'integer',
9673
+ description: 'The maximum number of members allowed in a group conversation.',
9674
+ },
9675
+ },
9676
+ },
9677
+ },
9678
+ },
9679
+ },
9680
+ },
9471
9681
  ChatBskyConvoAcceptConvo: {
9472
9682
  lexicon: 1,
9473
9683
  id: 'chat.bsky.convo.acceptConvo',
@@ -9637,7 +9847,7 @@ export const schemaDict = {
9637
9847
  },
9638
9848
  embed: {
9639
9849
  type: 'union',
9640
- refs: ['lex:app.bsky.embed.record'],
9850
+ refs: ['lex:app.bsky.embed.record', 'lex:chat.bsky.embed.joinLink'],
9641
9851
  },
9642
9852
  },
9643
9853
  },
@@ -9666,7 +9876,10 @@ export const schemaDict = {
9666
9876
  },
9667
9877
  embed: {
9668
9878
  type: 'union',
9669
- refs: ['lex:app.bsky.embed.record#view'],
9879
+ refs: [
9880
+ 'lex:app.bsky.embed.record#view',
9881
+ 'lex:chat.bsky.embed.joinLink#view',
9882
+ ],
9670
9883
  },
9671
9884
  reactions: {
9672
9885
  type: 'array',
@@ -10001,18 +10214,14 @@ export const schemaDict = {
10001
10214
  groupConvo: {
10002
10215
  description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
10003
10216
  type: 'object',
10004
- required: ['name', 'lockStatus', 'memberCount', 'createdAt'],
10217
+ required: [
10218
+ 'createdAt',
10219
+ 'lockStatus',
10220
+ 'memberCount',
10221
+ 'memberLimit',
10222
+ 'name',
10223
+ ],
10005
10224
  properties: {
10006
- name: {
10007
- type: 'string',
10008
- description: 'The display name of the group conversation.',
10009
- maxGraphemes: 128,
10010
- maxLength: 1280,
10011
- },
10012
- memberCount: {
10013
- type: 'integer',
10014
- description: 'The total number of members in the group conversation.',
10015
- },
10016
10225
  createdAt: {
10017
10226
  type: 'string',
10018
10227
  format: 'datetime',
@@ -10021,11 +10230,33 @@ export const schemaDict = {
10021
10230
  type: 'ref',
10022
10231
  ref: 'lex:chat.bsky.group.defs#joinLinkView',
10023
10232
  },
10233
+ joinRequestCount: {
10234
+ type: 'integer',
10235
+ description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
10236
+ },
10024
10237
  lockStatus: {
10025
10238
  description: 'The lock status of the conversation.',
10026
10239
  type: 'ref',
10027
10240
  ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
10028
10241
  },
10242
+ memberCount: {
10243
+ type: 'integer',
10244
+ description: 'The total number of members in the group conversation.',
10245
+ },
10246
+ memberLimit: {
10247
+ type: 'integer',
10248
+ description: 'The maximum number of members allowed in the group conversation.',
10249
+ },
10250
+ name: {
10251
+ type: 'string',
10252
+ description: 'The display name of the group conversation.',
10253
+ maxGraphemes: 128,
10254
+ maxLength: 1280,
10255
+ },
10256
+ unreadJoinRequestCount: {
10257
+ type: 'integer',
10258
+ description: 'The number of unread join requests for the group conversation. Only present for the owner.',
10259
+ },
10029
10260
  },
10030
10261
  },
10031
10262
  logBeginConvo: {
@@ -10574,7 +10805,51 @@ export const schemaDict = {
10574
10805
  },
10575
10806
  },
10576
10807
  logOutgoingJoinRequest: {
10577
- 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.',
10808
+ 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.',
10809
+ type: 'object',
10810
+ required: ['rev', 'convoId'],
10811
+ properties: {
10812
+ rev: {
10813
+ type: 'string',
10814
+ },
10815
+ convoId: {
10816
+ type: 'string',
10817
+ },
10818
+ },
10819
+ },
10820
+ logWithdrawIncomingJoinRequest: {
10821
+ 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.',
10822
+ type: 'object',
10823
+ required: ['rev', 'convoId', 'member'],
10824
+ properties: {
10825
+ rev: {
10826
+ type: 'string',
10827
+ },
10828
+ convoId: {
10829
+ type: 'string',
10830
+ },
10831
+ member: {
10832
+ description: 'Prospective member who withdrew their join request.',
10833
+ type: 'ref',
10834
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10835
+ },
10836
+ },
10837
+ },
10838
+ logWithdrawOutgoingJoinRequest: {
10839
+ 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.',
10840
+ type: 'object',
10841
+ required: ['rev', 'convoId'],
10842
+ properties: {
10843
+ rev: {
10844
+ type: 'string',
10845
+ },
10846
+ convoId: {
10847
+ type: 'string',
10848
+ },
10849
+ },
10850
+ },
10851
+ logReadJoinRequests: {
10852
+ 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.',
10578
10853
  type: 'object',
10579
10854
  required: ['rev', 'convoId'],
10580
10855
  properties: {
@@ -10721,6 +10996,9 @@ export const schemaDict = {
10721
10996
  {
10722
10997
  name: 'BlockedActor',
10723
10998
  },
10999
+ {
11000
+ name: 'BlockedSubject',
11001
+ },
10724
11002
  {
10725
11003
  name: 'MessagesDisabled',
10726
11004
  },
@@ -10870,6 +11148,9 @@ export const schemaDict = {
10870
11148
  'lex:chat.bsky.convo.defs#logApproveJoinRequest',
10871
11149
  'lex:chat.bsky.convo.defs#logRejectJoinRequest',
10872
11150
  'lex:chat.bsky.convo.defs#logOutgoingJoinRequest',
11151
+ 'lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest',
11152
+ 'lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest',
11153
+ 'lex:chat.bsky.convo.defs#logReadJoinRequests',
10873
11154
  ],
10874
11155
  },
10875
11156
  },
@@ -10995,7 +11276,7 @@ export const schemaDict = {
10995
11276
  defs: {
10996
11277
  main: {
10997
11278
  type: 'query',
10998
- 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.',
11279
+ 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.',
10999
11280
  parameters: {
11000
11281
  type: 'params',
11001
11282
  properties: {
@@ -11025,7 +11306,7 @@ export const schemaDict = {
11025
11306
  type: 'union',
11026
11307
  refs: [
11027
11308
  'lex:chat.bsky.convo.defs#convoView',
11028
- 'lex:chat.bsky.group.defs#joinRequestView',
11309
+ 'lex:chat.bsky.group.defs#joinRequestConvoView',
11029
11310
  ],
11030
11311
  },
11031
11312
  },
@@ -11511,6 +11792,33 @@ export const schemaDict = {
11511
11792
  },
11512
11793
  },
11513
11794
  },
11795
+ ChatBskyEmbedJoinLink: {
11796
+ lexicon: 1,
11797
+ id: 'chat.bsky.embed.joinLink',
11798
+ 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.',
11799
+ defs: {
11800
+ main: {
11801
+ type: 'object',
11802
+ required: ['code'],
11803
+ properties: {
11804
+ code: {
11805
+ type: 'string',
11806
+ description: 'The join link code.',
11807
+ },
11808
+ },
11809
+ },
11810
+ view: {
11811
+ type: 'object',
11812
+ required: ['joinLinkPreview'],
11813
+ properties: {
11814
+ joinLinkPreview: {
11815
+ type: 'ref',
11816
+ ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
11817
+ },
11818
+ },
11819
+ },
11820
+ },
11821
+ },
11514
11822
  ChatBskyGroupAddMembers: {
11515
11823
  lexicon: 1,
11516
11824
  id: 'chat.bsky.group.addMembers',
@@ -11526,7 +11834,7 @@ export const schemaDict = {
11526
11834
  name: 'BlockedActor',
11527
11835
  },
11528
11836
  {
11529
- name: 'UserForbidsGroups',
11837
+ name: 'BlockedSubject',
11530
11838
  },
11531
11839
  {
11532
11840
  name: 'ConvoLocked',
@@ -11546,6 +11854,9 @@ export const schemaDict = {
11546
11854
  {
11547
11855
  name: 'RecipientNotFound',
11548
11856
  },
11857
+ {
11858
+ name: 'UserForbidsGroups',
11859
+ },
11549
11860
  ],
11550
11861
  input: {
11551
11862
  encoding: 'application/json',
@@ -11655,7 +11966,10 @@ export const schemaDict = {
11655
11966
  name: 'BlockedActor',
11656
11967
  },
11657
11968
  {
11658
- name: 'UserForbidsGroups',
11969
+ name: 'BlockedSubject',
11970
+ },
11971
+ {
11972
+ name: 'NewAccountCannotCreateGroup',
11659
11973
  },
11660
11974
  {
11661
11975
  name: 'NotFollowedBySender',
@@ -11663,6 +11977,9 @@ export const schemaDict = {
11663
11977
  {
11664
11978
  name: 'RecipientNotFound',
11665
11979
  },
11980
+ {
11981
+ name: 'UserForbidsGroups',
11982
+ },
11666
11983
  ],
11667
11984
  input: {
11668
11985
  encoding: 'application/json',
@@ -11802,8 +12119,20 @@ export const schemaDict = {
11802
12119
  },
11803
12120
  joinLinkPreviewView: {
11804
12121
  type: 'object',
11805
- required: ['name', 'owner', 'memberCount', 'requireApproval'],
12122
+ required: [
12123
+ 'code',
12124
+ 'name',
12125
+ 'owner',
12126
+ 'memberCount',
12127
+ 'memberLimit',
12128
+ 'requireApproval',
12129
+ 'joinRule',
12130
+ 'enabledStatus',
12131
+ ],
11806
12132
  properties: {
12133
+ code: {
12134
+ type: 'string',
12135
+ },
11807
12136
  name: {
11808
12137
  type: 'string',
11809
12138
  },
@@ -11814,14 +12143,38 @@ export const schemaDict = {
11814
12143
  memberCount: {
11815
12144
  type: 'integer',
11816
12145
  },
11817
- requireApproval: {
12146
+ memberLimit: {
12147
+ type: 'integer',
12148
+ },
12149
+ requireApproval: {
11818
12150
  type: 'boolean',
11819
12151
  },
12152
+ joinRule: {
12153
+ type: 'ref',
12154
+ ref: 'lex:chat.bsky.group.defs#joinRule',
12155
+ },
12156
+ enabledStatus: {
12157
+ type: 'ref',
12158
+ ref: 'lex:chat.bsky.group.defs#linkEnabledStatus',
12159
+ },
11820
12160
  convo: {
11821
12161
  type: 'ref',
11822
12162
  ref: 'lex:chat.bsky.convo.defs#convoView',
11823
12163
  description: 'Present only if the request is authenticated and the user is a member of the group.',
11824
12164
  },
12165
+ viewer: {
12166
+ type: 'ref',
12167
+ ref: 'lex:chat.bsky.group.defs#joinLinkViewerState',
12168
+ },
12169
+ },
12170
+ },
12171
+ joinLinkViewerState: {
12172
+ type: 'object',
12173
+ properties: {
12174
+ requestedAt: {
12175
+ type: 'string',
12176
+ format: 'datetime',
12177
+ },
11825
12178
  },
11826
12179
  },
11827
12180
  joinRequestView: {
@@ -11841,6 +12194,40 @@ export const schemaDict = {
11841
12194
  },
11842
12195
  },
11843
12196
  },
12197
+ joinRequestConvoView: {
12198
+ 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).',
12199
+ type: 'object',
12200
+ required: [
12201
+ 'convoId',
12202
+ 'name',
12203
+ 'owner',
12204
+ 'memberCount',
12205
+ 'memberLimit',
12206
+ 'requestedAt',
12207
+ ],
12208
+ properties: {
12209
+ convoId: {
12210
+ type: 'string',
12211
+ },
12212
+ name: {
12213
+ type: 'string',
12214
+ },
12215
+ owner: {
12216
+ type: 'ref',
12217
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
12218
+ },
12219
+ memberCount: {
12220
+ type: 'integer',
12221
+ },
12222
+ memberLimit: {
12223
+ type: 'integer',
12224
+ },
12225
+ requestedAt: {
12226
+ type: 'string',
12227
+ format: 'datetime',
12228
+ },
12229
+ },
12230
+ },
11844
12231
  },
11845
12232
  },
11846
12233
  ChatBskyGroupDisableJoinLink: {
@@ -12043,24 +12430,24 @@ export const schemaDict = {
12043
12430
  },
12044
12431
  },
12045
12432
  },
12046
- ChatBskyGroupGetJoinLinkPreview: {
12433
+ ChatBskyGroupGetJoinLinkPreviews: {
12047
12434
  lexicon: 1,
12048
- id: 'chat.bsky.group.getJoinLinkPreview',
12435
+ id: 'chat.bsky.group.getJoinLinkPreviews',
12049
12436
  defs: {
12050
12437
  main: {
12051
12438
  type: 'query',
12052
- 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.',
12053
- errors: [
12054
- {
12055
- name: 'InvalidCode',
12056
- },
12057
- ],
12439
+ 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.",
12058
12440
  parameters: {
12059
12441
  type: 'params',
12060
- required: ['code'],
12442
+ required: ['codes'],
12061
12443
  properties: {
12062
- code: {
12063
- type: 'string',
12444
+ codes: {
12445
+ type: 'array',
12446
+ minLength: 1,
12447
+ maxLength: 50,
12448
+ items: {
12449
+ type: 'string',
12450
+ },
12064
12451
  },
12065
12452
  },
12066
12453
  },
@@ -12068,11 +12455,14 @@ export const schemaDict = {
12068
12455
  encoding: 'application/json',
12069
12456
  schema: {
12070
12457
  type: 'object',
12071
- required: ['joinLinkPreview'],
12458
+ required: ['joinLinkPreviews'],
12072
12459
  properties: {
12073
- joinLinkPreview: {
12074
- type: 'ref',
12075
- ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
12460
+ joinLinkPreviews: {
12461
+ type: 'array',
12462
+ items: {
12463
+ type: 'ref',
12464
+ ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
12465
+ },
12076
12466
  },
12077
12467
  },
12078
12468
  },
@@ -12336,6 +12726,156 @@ export const schemaDict = {
12336
12726
  },
12337
12727
  },
12338
12728
  },
12729
+ ChatBskyGroupUpdateJoinRequestsRead: {
12730
+ lexicon: 1,
12731
+ id: 'chat.bsky.group.updateJoinRequestsRead',
12732
+ defs: {
12733
+ main: {
12734
+ type: 'procedure',
12735
+ 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.',
12736
+ errors: [
12737
+ {
12738
+ name: 'InvalidConvo',
12739
+ },
12740
+ {
12741
+ name: 'InsufficientRole',
12742
+ },
12743
+ ],
12744
+ input: {
12745
+ encoding: 'application/json',
12746
+ schema: {
12747
+ type: 'object',
12748
+ required: ['convoId'],
12749
+ properties: {
12750
+ convoId: {
12751
+ type: 'string',
12752
+ },
12753
+ },
12754
+ },
12755
+ },
12756
+ output: {
12757
+ encoding: 'application/json',
12758
+ schema: {
12759
+ type: 'object',
12760
+ required: [],
12761
+ properties: {},
12762
+ },
12763
+ },
12764
+ },
12765
+ },
12766
+ },
12767
+ ChatBskyGroupWithdrawJoinRequest: {
12768
+ lexicon: 1,
12769
+ id: 'chat.bsky.group.withdrawJoinRequest',
12770
+ defs: {
12771
+ main: {
12772
+ type: 'procedure',
12773
+ 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.',
12774
+ errors: [
12775
+ {
12776
+ name: 'InvalidJoinRequest',
12777
+ },
12778
+ ],
12779
+ input: {
12780
+ encoding: 'application/json',
12781
+ schema: {
12782
+ type: 'object',
12783
+ required: ['convoId'],
12784
+ properties: {
12785
+ convoId: {
12786
+ type: 'string',
12787
+ },
12788
+ },
12789
+ },
12790
+ },
12791
+ output: {
12792
+ encoding: 'application/json',
12793
+ schema: {
12794
+ type: 'object',
12795
+ required: [],
12796
+ properties: {},
12797
+ },
12798
+ },
12799
+ },
12800
+ },
12801
+ },
12802
+ ChatBskyModerationDefs: {
12803
+ lexicon: 1,
12804
+ id: 'chat.bsky.moderation.defs',
12805
+ defs: {
12806
+ convoView: {
12807
+ 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.',
12808
+ type: 'object',
12809
+ required: ['id', 'rev'],
12810
+ properties: {
12811
+ id: {
12812
+ type: 'string',
12813
+ },
12814
+ rev: {
12815
+ type: 'string',
12816
+ },
12817
+ kind: {
12818
+ description: 'Union field that has data specific to different kinds of convos.',
12819
+ type: 'union',
12820
+ refs: [
12821
+ 'lex:chat.bsky.moderation.defs#directConvo',
12822
+ 'lex:chat.bsky.moderation.defs#groupConvo',
12823
+ ],
12824
+ },
12825
+ },
12826
+ },
12827
+ directConvo: {
12828
+ 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.',
12829
+ type: 'object',
12830
+ properties: {},
12831
+ },
12832
+ groupConvo: {
12833
+ 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.',
12834
+ type: 'object',
12835
+ required: [
12836
+ 'createdAt',
12837
+ 'joinRequestCount',
12838
+ 'lockStatus',
12839
+ 'memberCount',
12840
+ 'memberLimit',
12841
+ 'name',
12842
+ ],
12843
+ properties: {
12844
+ createdAt: {
12845
+ type: 'string',
12846
+ format: 'datetime',
12847
+ },
12848
+ joinLink: {
12849
+ type: 'ref',
12850
+ ref: 'lex:chat.bsky.group.defs#joinLinkView',
12851
+ },
12852
+ joinRequestCount: {
12853
+ type: 'integer',
12854
+ 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.',
12855
+ },
12856
+ lockStatus: {
12857
+ description: 'The lock status of the conversation.',
12858
+ type: 'ref',
12859
+ ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
12860
+ },
12861
+ memberCount: {
12862
+ type: 'integer',
12863
+ description: 'The total number of members in the group conversation.',
12864
+ },
12865
+ memberLimit: {
12866
+ type: 'integer',
12867
+ description: 'The maximum number of members allowed in the group conversation.',
12868
+ },
12869
+ name: {
12870
+ type: 'string',
12871
+ description: 'The display name of the group conversation.',
12872
+ maxGraphemes: 128,
12873
+ maxLength: 1280,
12874
+ },
12875
+ },
12876
+ },
12877
+ },
12878
+ },
12339
12879
  ChatBskyModerationGetActorMetadata: {
12340
12880
  lexicon: 1,
12341
12881
  id: 'chat.bsky.moderation.getActorMetadata',
@@ -12399,6 +12939,95 @@ export const schemaDict = {
12399
12939
  },
12400
12940
  },
12401
12941
  },
12942
+ ChatBskyModerationGetConvo: {
12943
+ lexicon: 1,
12944
+ id: 'chat.bsky.moderation.getConvo',
12945
+ defs: {
12946
+ main: {
12947
+ type: 'query',
12948
+ 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.',
12949
+ errors: [
12950
+ {
12951
+ name: 'InvalidConvo',
12952
+ },
12953
+ ],
12954
+ parameters: {
12955
+ type: 'params',
12956
+ required: ['convoId'],
12957
+ properties: {
12958
+ convoId: {
12959
+ type: 'string',
12960
+ },
12961
+ },
12962
+ },
12963
+ output: {
12964
+ encoding: 'application/json',
12965
+ schema: {
12966
+ type: 'object',
12967
+ required: ['convo'],
12968
+ properties: {
12969
+ convo: {
12970
+ type: 'ref',
12971
+ ref: 'lex:chat.bsky.moderation.defs#convoView',
12972
+ },
12973
+ },
12974
+ },
12975
+ },
12976
+ },
12977
+ },
12978
+ },
12979
+ ChatBskyModerationGetConvoMembers: {
12980
+ lexicon: 1,
12981
+ id: 'chat.bsky.moderation.getConvoMembers',
12982
+ defs: {
12983
+ main: {
12984
+ type: 'query',
12985
+ 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.',
12986
+ errors: [
12987
+ {
12988
+ name: 'InvalidConvo',
12989
+ },
12990
+ ],
12991
+ parameters: {
12992
+ type: 'params',
12993
+ required: ['convoId'],
12994
+ properties: {
12995
+ convoId: {
12996
+ type: 'string',
12997
+ },
12998
+ limit: {
12999
+ type: 'integer',
13000
+ minimum: 1,
13001
+ maximum: 100,
13002
+ default: 50,
13003
+ },
13004
+ cursor: {
13005
+ type: 'string',
13006
+ },
13007
+ },
13008
+ },
13009
+ output: {
13010
+ encoding: 'application/json',
13011
+ schema: {
13012
+ type: 'object',
13013
+ required: ['members'],
13014
+ properties: {
13015
+ cursor: {
13016
+ type: 'string',
13017
+ },
13018
+ members: {
13019
+ type: 'array',
13020
+ items: {
13021
+ type: 'ref',
13022
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
13023
+ },
13024
+ },
13025
+ },
13026
+ },
13027
+ },
13028
+ },
13029
+ },
13030
+ },
12402
13031
  ChatBskyModerationGetMessageContext: {
12403
13032
  lexicon: 1,
12404
13033
  id: 'chat.bsky.moderation.getMessageContext',
@@ -12487,6 +13116,7 @@ export const schemaDict = {
12487
13116
  'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
12488
13117
  'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
12489
13118
  'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
13119
+ 'lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded',
12490
13120
  ],
12491
13121
  },
12492
13122
  },
@@ -13087,6 +13717,29 @@ export const schemaDict = {
13087
13717
  },
13088
13718
  },
13089
13719
  },
13720
+ eventRateLimitExceeded: {
13721
+ type: 'object',
13722
+ description: 'Fired when a user exceeds a rate limit.',
13723
+ required: ['actorDid', 'createdAt', 'endpoint', 'rev'],
13724
+ properties: {
13725
+ actorDid: {
13726
+ description: 'The DID of the user who hit the rate limit.',
13727
+ type: 'string',
13728
+ format: 'did',
13729
+ },
13730
+ createdAt: {
13731
+ type: 'string',
13732
+ format: 'datetime',
13733
+ },
13734
+ endpoint: {
13735
+ description: 'The NSID of the endpoint that was rate limited.',
13736
+ type: 'string',
13737
+ },
13738
+ rev: {
13739
+ type: 'string',
13740
+ },
13741
+ },
13742
+ },
13090
13743
  },
13091
13744
  },
13092
13745
  ChatBskyModerationUpdateActorAccess: {
@@ -16095,8 +16748,8 @@ export const schemaDict = {
16095
16748
  properties: {
16096
16749
  aud: {
16097
16750
  type: 'string',
16098
- format: 'did',
16099
- description: 'The DID of the service that the token will be used to authenticate with',
16751
+ maxLength: 2048,
16752
+ description: 'The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.',
16100
16753
  },
16101
16754
  exp: {
16102
16755
  type: 'integer',
@@ -18217,6 +18870,7 @@ export const schemaDict = {
18217
18870
  'lex:com.atproto.admin.defs#repoRef',
18218
18871
  'lex:com.atproto.repo.strongRef',
18219
18872
  'lex:chat.bsky.convo.defs#messageRef',
18873
+ 'lex:chat.bsky.convo.defs#convoRef',
18220
18874
  ],
18221
18875
  },
18222
18876
  subjectBlobCids: {
@@ -18296,6 +18950,7 @@ export const schemaDict = {
18296
18950
  'lex:tools.ozone.moderation.defs#repoViewNotFound',
18297
18951
  'lex:tools.ozone.moderation.defs#recordView',
18298
18952
  'lex:tools.ozone.moderation.defs#recordViewNotFound',
18953
+ 'lex:tools.ozone.moderation.defs#convoView',
18299
18954
  ],
18300
18955
  },
18301
18956
  subjectBlobs: {
@@ -18332,6 +18987,7 @@ export const schemaDict = {
18332
18987
  'lex:com.atproto.admin.defs#repoRef',
18333
18988
  'lex:com.atproto.repo.strongRef',
18334
18989
  'lex:chat.bsky.convo.defs#messageRef',
18990
+ 'lex:chat.bsky.convo.defs#convoRef',
18335
18991
  ],
18336
18992
  },
18337
18993
  hosting: {
@@ -19339,6 +19995,19 @@ export const schemaDict = {
19339
19995
  },
19340
19996
  },
19341
19997
  },
19998
+ convoView: {
19999
+ type: 'object',
20000
+ required: ['did', 'convoId'],
20001
+ properties: {
20002
+ did: {
20003
+ type: 'string',
20004
+ format: 'did',
20005
+ },
20006
+ convoId: {
20007
+ type: 'string',
20008
+ },
20009
+ },
20010
+ },
19342
20011
  moderation: {
19343
20012
  type: 'object',
19344
20013
  properties: {
@@ -20251,8 +20920,8 @@ export const schemaDict = {
20251
20920
  },
20252
20921
  subjectType: {
20253
20922
  type: 'string',
20254
- 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.",
20255
- knownValues: ['account', 'record'],
20923
+ 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.",
20924
+ knownValues: ['account', 'record', 'conversation'],
20256
20925
  },
20257
20926
  includeAllUserRecords: {
20258
20927
  type: 'boolean',
@@ -20537,8 +21206,8 @@ export const schemaDict = {
20537
21206
  },
20538
21207
  subjectType: {
20539
21208
  type: 'string',
20540
- 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.",
20541
- knownValues: ['account', 'record'],
21209
+ 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.",
21210
+ knownValues: ['account', 'record', 'conversation'],
20542
21211
  },
20543
21212
  minAccountSuspendCount: {
20544
21213
  type: 'integer',
@@ -24432,6 +25101,7 @@ export const ids = {
24432
25101
  AppBskyDraftUpdateDraft: 'app.bsky.draft.updateDraft',
24433
25102
  AppBskyEmbedDefs: 'app.bsky.embed.defs',
24434
25103
  AppBskyEmbedExternal: 'app.bsky.embed.external',
25104
+ AppBskyEmbedGetEmbedExternalView: 'app.bsky.embed.getEmbedExternalView',
24435
25105
  AppBskyEmbedImages: 'app.bsky.embed.images',
24436
25106
  AppBskyEmbedRecord: 'app.bsky.embed.record',
24437
25107
  AppBskyEmbedRecordWithMedia: 'app.bsky.embed.recordWithMedia',
@@ -24547,6 +25217,7 @@ export const ids = {
24547
25217
  ChatBskyActorDefs: 'chat.bsky.actor.defs',
24548
25218
  ChatBskyActorDeleteAccount: 'chat.bsky.actor.deleteAccount',
24549
25219
  ChatBskyActorExportAccountData: 'chat.bsky.actor.exportAccountData',
25220
+ ChatBskyActorGetStatus: 'chat.bsky.actor.getStatus',
24550
25221
  ChatBskyConvoAcceptConvo: 'chat.bsky.convo.acceptConvo',
24551
25222
  ChatBskyConvoAddReaction: 'chat.bsky.convo.addReaction',
24552
25223
  ChatBskyConvoDefs: 'chat.bsky.convo.defs',
@@ -24569,6 +25240,7 @@ export const ids = {
24569
25240
  ChatBskyConvoUnmuteConvo: 'chat.bsky.convo.unmuteConvo',
24570
25241
  ChatBskyConvoUpdateAllRead: 'chat.bsky.convo.updateAllRead',
24571
25242
  ChatBskyConvoUpdateRead: 'chat.bsky.convo.updateRead',
25243
+ ChatBskyEmbedJoinLink: 'chat.bsky.embed.joinLink',
24572
25244
  ChatBskyGroupAddMembers: 'chat.bsky.group.addMembers',
24573
25245
  ChatBskyGroupApproveJoinRequest: 'chat.bsky.group.approveJoinRequest',
24574
25246
  ChatBskyGroupCreateGroup: 'chat.bsky.group.createGroup',
@@ -24578,13 +25250,18 @@ export const ids = {
24578
25250
  ChatBskyGroupEditGroup: 'chat.bsky.group.editGroup',
24579
25251
  ChatBskyGroupEditJoinLink: 'chat.bsky.group.editJoinLink',
24580
25252
  ChatBskyGroupEnableJoinLink: 'chat.bsky.group.enableJoinLink',
24581
- ChatBskyGroupGetJoinLinkPreview: 'chat.bsky.group.getJoinLinkPreview',
25253
+ ChatBskyGroupGetJoinLinkPreviews: 'chat.bsky.group.getJoinLinkPreviews',
24582
25254
  ChatBskyGroupListJoinRequests: 'chat.bsky.group.listJoinRequests',
24583
25255
  ChatBskyGroupListMutualGroups: 'chat.bsky.group.listMutualGroups',
24584
25256
  ChatBskyGroupRejectJoinRequest: 'chat.bsky.group.rejectJoinRequest',
24585
25257
  ChatBskyGroupRemoveMembers: 'chat.bsky.group.removeMembers',
24586
25258
  ChatBskyGroupRequestJoin: 'chat.bsky.group.requestJoin',
25259
+ ChatBskyGroupUpdateJoinRequestsRead: 'chat.bsky.group.updateJoinRequestsRead',
25260
+ ChatBskyGroupWithdrawJoinRequest: 'chat.bsky.group.withdrawJoinRequest',
25261
+ ChatBskyModerationDefs: 'chat.bsky.moderation.defs',
24587
25262
  ChatBskyModerationGetActorMetadata: 'chat.bsky.moderation.getActorMetadata',
25263
+ ChatBskyModerationGetConvo: 'chat.bsky.moderation.getConvo',
25264
+ ChatBskyModerationGetConvoMembers: 'chat.bsky.moderation.getConvoMembers',
24588
25265
  ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
24589
25266
  ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
24590
25267
  ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',