@atproto/api 0.20.6 → 0.20.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/definitions/labels.json +4 -20
- package/dist/client/index.d.ts +22 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +48 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +1048 -276
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +451 -26
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +4 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +37 -9
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js +21 -0
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +3 -0
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.js +7 -0
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.js.map +1 -1
- package/dist/client/types/chat/bsky/embed/joinLink.d.ts +19 -0
- package/dist/client/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/embed/joinLink.js +19 -0
- package/dist/client/types/chat/bsky/embed/joinLink.js.map +1 -0
- package/dist/client/types/chat/bsky/group/addMembers.d.ts +3 -0
- package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.js +7 -0
- package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +3 -0
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js +7 -0
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts +29 -0
- package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js +28 -0
- package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
- package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts +26 -0
- package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js +21 -0
- package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/defs.d.ts +42 -0
- package/dist/client/types/chat/bsky/moderation/defs.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/moderation/defs.js +26 -0
- package/dist/client/types/chat/bsky/moderation/defs.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvo.d.ts +26 -0
- package/dist/client/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvo.js +21 -0
- package/dist/client/types/chat/bsky/moderation/getConvo.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts +29 -0
- package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvoMembers.js +21 -0
- package/dist/client/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.d.ts +23 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.js +8 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +12 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +10 -3
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +7 -0
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/moderation/const/labels.d.ts.map +1 -1
- package/dist/moderation/const/labels.js +0 -21
- package/dist/moderation/const/labels.js.map +1 -1
- package/package.json +4 -4
- package/tests/moderation-behaviors.test.ts +7 -26
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -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.',
|
|
@@ -9838,7 +9847,7 @@ export const schemaDict = {
|
|
|
9838
9847
|
},
|
|
9839
9848
|
embed: {
|
|
9840
9849
|
type: 'union',
|
|
9841
|
-
refs: ['lex:app.bsky.embed.record'],
|
|
9850
|
+
refs: ['lex:app.bsky.embed.record', 'lex:chat.bsky.embed.joinLink'],
|
|
9842
9851
|
},
|
|
9843
9852
|
},
|
|
9844
9853
|
},
|
|
@@ -9867,7 +9876,10 @@ export const schemaDict = {
|
|
|
9867
9876
|
},
|
|
9868
9877
|
embed: {
|
|
9869
9878
|
type: 'union',
|
|
9870
|
-
refs: [
|
|
9879
|
+
refs: [
|
|
9880
|
+
'lex:app.bsky.embed.record#view',
|
|
9881
|
+
'lex:chat.bsky.embed.joinLink#view',
|
|
9882
|
+
],
|
|
9871
9883
|
},
|
|
9872
9884
|
reactions: {
|
|
9873
9885
|
type: 'array',
|
|
@@ -10203,44 +10215,48 @@ export const schemaDict = {
|
|
|
10203
10215
|
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10204
10216
|
type: 'object',
|
|
10205
10217
|
required: [
|
|
10206
|
-
'
|
|
10218
|
+
'createdAt',
|
|
10207
10219
|
'lockStatus',
|
|
10208
10220
|
'memberCount',
|
|
10209
10221
|
'memberLimit',
|
|
10210
|
-
'
|
|
10222
|
+
'name',
|
|
10211
10223
|
],
|
|
10212
10224
|
properties: {
|
|
10213
|
-
name: {
|
|
10214
|
-
type: 'string',
|
|
10215
|
-
description: 'The display name of the group conversation.',
|
|
10216
|
-
maxGraphemes: 128,
|
|
10217
|
-
maxLength: 1280,
|
|
10218
|
-
},
|
|
10219
|
-
memberCount: {
|
|
10220
|
-
type: 'integer',
|
|
10221
|
-
description: 'The total number of members in the group conversation.',
|
|
10222
|
-
},
|
|
10223
10225
|
createdAt: {
|
|
10224
10226
|
type: 'string',
|
|
10225
10227
|
format: 'datetime',
|
|
10226
10228
|
},
|
|
10227
|
-
joinRequestCount: {
|
|
10228
|
-
type: 'integer',
|
|
10229
|
-
description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
|
|
10230
|
-
},
|
|
10231
10229
|
joinLink: {
|
|
10232
10230
|
type: 'ref',
|
|
10233
10231
|
ref: 'lex:chat.bsky.group.defs#joinLinkView',
|
|
10234
10232
|
},
|
|
10235
|
-
|
|
10233
|
+
joinRequestCount: {
|
|
10236
10234
|
type: 'integer',
|
|
10237
|
-
description: 'The
|
|
10235
|
+
description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
|
|
10238
10236
|
},
|
|
10239
10237
|
lockStatus: {
|
|
10240
10238
|
description: 'The lock status of the conversation.',
|
|
10241
10239
|
type: 'ref',
|
|
10242
10240
|
ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
|
|
10243
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
|
+
},
|
|
10244
10260
|
},
|
|
10245
10261
|
},
|
|
10246
10262
|
logBeginConvo: {
|
|
@@ -10789,7 +10805,51 @@ export const schemaDict = {
|
|
|
10789
10805
|
},
|
|
10790
10806
|
},
|
|
10791
10807
|
logOutgoingJoinRequest: {
|
|
10792
|
-
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
|
|
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.',
|
|
10793
10853
|
type: 'object',
|
|
10794
10854
|
required: ['rev', 'convoId'],
|
|
10795
10855
|
properties: {
|
|
@@ -10936,6 +10996,9 @@ export const schemaDict = {
|
|
|
10936
10996
|
{
|
|
10937
10997
|
name: 'BlockedActor',
|
|
10938
10998
|
},
|
|
10999
|
+
{
|
|
11000
|
+
name: 'BlockedSubject',
|
|
11001
|
+
},
|
|
10939
11002
|
{
|
|
10940
11003
|
name: 'MessagesDisabled',
|
|
10941
11004
|
},
|
|
@@ -11085,6 +11148,9 @@ export const schemaDict = {
|
|
|
11085
11148
|
'lex:chat.bsky.convo.defs#logApproveJoinRequest',
|
|
11086
11149
|
'lex:chat.bsky.convo.defs#logRejectJoinRequest',
|
|
11087
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',
|
|
11088
11154
|
],
|
|
11089
11155
|
},
|
|
11090
11156
|
},
|
|
@@ -11726,6 +11792,33 @@ export const schemaDict = {
|
|
|
11726
11792
|
},
|
|
11727
11793
|
},
|
|
11728
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
|
+
},
|
|
11729
11822
|
ChatBskyGroupAddMembers: {
|
|
11730
11823
|
lexicon: 1,
|
|
11731
11824
|
id: 'chat.bsky.group.addMembers',
|
|
@@ -11740,6 +11833,9 @@ export const schemaDict = {
|
|
|
11740
11833
|
{
|
|
11741
11834
|
name: 'BlockedActor',
|
|
11742
11835
|
},
|
|
11836
|
+
{
|
|
11837
|
+
name: 'BlockedSubject',
|
|
11838
|
+
},
|
|
11743
11839
|
{
|
|
11744
11840
|
name: 'ConvoLocked',
|
|
11745
11841
|
},
|
|
@@ -11869,6 +11965,9 @@ export const schemaDict = {
|
|
|
11869
11965
|
{
|
|
11870
11966
|
name: 'BlockedActor',
|
|
11871
11967
|
},
|
|
11968
|
+
{
|
|
11969
|
+
name: 'BlockedSubject',
|
|
11970
|
+
},
|
|
11872
11971
|
{
|
|
11873
11972
|
name: 'NewAccountCannotCreateGroup',
|
|
11874
11973
|
},
|
|
@@ -12337,7 +12436,7 @@ export const schemaDict = {
|
|
|
12337
12436
|
defs: {
|
|
12338
12437
|
main: {
|
|
12339
12438
|
type: 'query',
|
|
12340
|
-
description:
|
|
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.",
|
|
12341
12440
|
parameters: {
|
|
12342
12441
|
type: 'params',
|
|
12343
12442
|
required: ['codes'],
|
|
@@ -12627,6 +12726,156 @@ export const schemaDict = {
|
|
|
12627
12726
|
},
|
|
12628
12727
|
},
|
|
12629
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
|
+
},
|
|
12630
12879
|
ChatBskyModerationGetActorMetadata: {
|
|
12631
12880
|
lexicon: 1,
|
|
12632
12881
|
id: 'chat.bsky.moderation.getActorMetadata',
|
|
@@ -12690,6 +12939,135 @@ export const schemaDict = {
|
|
|
12690
12939
|
},
|
|
12691
12940
|
},
|
|
12692
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
|
+
},
|
|
13031
|
+
ChatBskyModerationGetConvos: {
|
|
13032
|
+
lexicon: 1,
|
|
13033
|
+
id: 'chat.bsky.moderation.getConvos',
|
|
13034
|
+
defs: {
|
|
13035
|
+
main: {
|
|
13036
|
+
type: 'query',
|
|
13037
|
+
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.',
|
|
13038
|
+
parameters: {
|
|
13039
|
+
type: 'params',
|
|
13040
|
+
required: ['convoIds'],
|
|
13041
|
+
properties: {
|
|
13042
|
+
convoIds: {
|
|
13043
|
+
type: 'array',
|
|
13044
|
+
minLength: 1,
|
|
13045
|
+
maxLength: 100,
|
|
13046
|
+
items: {
|
|
13047
|
+
type: 'string',
|
|
13048
|
+
},
|
|
13049
|
+
},
|
|
13050
|
+
},
|
|
13051
|
+
},
|
|
13052
|
+
output: {
|
|
13053
|
+
encoding: 'application/json',
|
|
13054
|
+
schema: {
|
|
13055
|
+
type: 'object',
|
|
13056
|
+
required: ['convos'],
|
|
13057
|
+
properties: {
|
|
13058
|
+
convos: {
|
|
13059
|
+
type: 'array',
|
|
13060
|
+
items: {
|
|
13061
|
+
type: 'ref',
|
|
13062
|
+
ref: 'lex:chat.bsky.moderation.defs#convoView',
|
|
13063
|
+
},
|
|
13064
|
+
},
|
|
13065
|
+
},
|
|
13066
|
+
},
|
|
13067
|
+
},
|
|
13068
|
+
},
|
|
13069
|
+
},
|
|
13070
|
+
},
|
|
12693
13071
|
ChatBskyModerationGetMessageContext: {
|
|
12694
13072
|
lexicon: 1,
|
|
12695
13073
|
id: 'chat.bsky.moderation.getMessageContext',
|
|
@@ -12778,6 +13156,7 @@ export const schemaDict = {
|
|
|
12778
13156
|
'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
|
|
12779
13157
|
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
|
|
12780
13158
|
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
|
|
13159
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded',
|
|
12781
13160
|
],
|
|
12782
13161
|
},
|
|
12783
13162
|
},
|
|
@@ -13378,6 +13757,29 @@ export const schemaDict = {
|
|
|
13378
13757
|
},
|
|
13379
13758
|
},
|
|
13380
13759
|
},
|
|
13760
|
+
eventRateLimitExceeded: {
|
|
13761
|
+
type: 'object',
|
|
13762
|
+
description: 'Fired when a user exceeds a rate limit.',
|
|
13763
|
+
required: ['actorDid', 'createdAt', 'endpoint', 'rev'],
|
|
13764
|
+
properties: {
|
|
13765
|
+
actorDid: {
|
|
13766
|
+
description: 'The DID of the user who hit the rate limit.',
|
|
13767
|
+
type: 'string',
|
|
13768
|
+
format: 'did',
|
|
13769
|
+
},
|
|
13770
|
+
createdAt: {
|
|
13771
|
+
type: 'string',
|
|
13772
|
+
format: 'datetime',
|
|
13773
|
+
},
|
|
13774
|
+
endpoint: {
|
|
13775
|
+
description: 'The NSID of the endpoint that was rate limited.',
|
|
13776
|
+
type: 'string',
|
|
13777
|
+
},
|
|
13778
|
+
rev: {
|
|
13779
|
+
type: 'string',
|
|
13780
|
+
},
|
|
13781
|
+
},
|
|
13782
|
+
},
|
|
13381
13783
|
},
|
|
13382
13784
|
},
|
|
13383
13785
|
ChatBskyModerationUpdateActorAccess: {
|
|
@@ -18572,6 +18974,7 @@ export const schemaDict = {
|
|
|
18572
18974
|
'lex:com.atproto.admin.defs#repoRef',
|
|
18573
18975
|
'lex:com.atproto.repo.strongRef',
|
|
18574
18976
|
'lex:chat.bsky.convo.defs#messageRef',
|
|
18977
|
+
'lex:chat.bsky.convo.defs#convoRef',
|
|
18575
18978
|
],
|
|
18576
18979
|
},
|
|
18577
18980
|
subjectBlobCids: {
|
|
@@ -18651,6 +19054,7 @@ export const schemaDict = {
|
|
|
18651
19054
|
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
|
18652
19055
|
'lex:tools.ozone.moderation.defs#recordView',
|
|
18653
19056
|
'lex:tools.ozone.moderation.defs#recordViewNotFound',
|
|
19057
|
+
'lex:tools.ozone.moderation.defs#convoView',
|
|
18654
19058
|
],
|
|
18655
19059
|
},
|
|
18656
19060
|
subjectBlobs: {
|
|
@@ -18687,6 +19091,7 @@ export const schemaDict = {
|
|
|
18687
19091
|
'lex:com.atproto.admin.defs#repoRef',
|
|
18688
19092
|
'lex:com.atproto.repo.strongRef',
|
|
18689
19093
|
'lex:chat.bsky.convo.defs#messageRef',
|
|
19094
|
+
'lex:chat.bsky.convo.defs#convoRef',
|
|
18690
19095
|
],
|
|
18691
19096
|
},
|
|
18692
19097
|
hosting: {
|
|
@@ -19694,6 +20099,19 @@ export const schemaDict = {
|
|
|
19694
20099
|
},
|
|
19695
20100
|
},
|
|
19696
20101
|
},
|
|
20102
|
+
convoView: {
|
|
20103
|
+
type: 'object',
|
|
20104
|
+
required: ['did', 'convoId'],
|
|
20105
|
+
properties: {
|
|
20106
|
+
did: {
|
|
20107
|
+
type: 'string',
|
|
20108
|
+
format: 'did',
|
|
20109
|
+
},
|
|
20110
|
+
convoId: {
|
|
20111
|
+
type: 'string',
|
|
20112
|
+
},
|
|
20113
|
+
},
|
|
20114
|
+
},
|
|
19697
20115
|
moderation: {
|
|
19698
20116
|
type: 'object',
|
|
19699
20117
|
properties: {
|
|
@@ -20606,8 +21024,8 @@ export const schemaDict = {
|
|
|
20606
21024
|
},
|
|
20607
21025
|
subjectType: {
|
|
20608
21026
|
type: 'string',
|
|
20609
|
-
description: "If specified, only events where the subject is of the given type (account or
|
|
20610
|
-
knownValues: ['account', 'record'],
|
|
21027
|
+
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.",
|
|
21028
|
+
knownValues: ['account', 'record', 'conversation'],
|
|
20611
21029
|
},
|
|
20612
21030
|
includeAllUserRecords: {
|
|
20613
21031
|
type: 'boolean',
|
|
@@ -20892,8 +21310,8 @@ export const schemaDict = {
|
|
|
20892
21310
|
},
|
|
20893
21311
|
subjectType: {
|
|
20894
21312
|
type: 'string',
|
|
20895
|
-
description: "If specified, subjects of the given type (account or
|
|
20896
|
-
knownValues: ['account', 'record'],
|
|
21313
|
+
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.",
|
|
21314
|
+
knownValues: ['account', 'record', 'conversation'],
|
|
20897
21315
|
},
|
|
20898
21316
|
minAccountSuspendCount: {
|
|
20899
21317
|
type: 'integer',
|
|
@@ -24926,6 +25344,7 @@ export const ids = {
|
|
|
24926
25344
|
ChatBskyConvoUnmuteConvo: 'chat.bsky.convo.unmuteConvo',
|
|
24927
25345
|
ChatBskyConvoUpdateAllRead: 'chat.bsky.convo.updateAllRead',
|
|
24928
25346
|
ChatBskyConvoUpdateRead: 'chat.bsky.convo.updateRead',
|
|
25347
|
+
ChatBskyEmbedJoinLink: 'chat.bsky.embed.joinLink',
|
|
24929
25348
|
ChatBskyGroupAddMembers: 'chat.bsky.group.addMembers',
|
|
24930
25349
|
ChatBskyGroupApproveJoinRequest: 'chat.bsky.group.approveJoinRequest',
|
|
24931
25350
|
ChatBskyGroupCreateGroup: 'chat.bsky.group.createGroup',
|
|
@@ -24941,7 +25360,13 @@ export const ids = {
|
|
|
24941
25360
|
ChatBskyGroupRejectJoinRequest: 'chat.bsky.group.rejectJoinRequest',
|
|
24942
25361
|
ChatBskyGroupRemoveMembers: 'chat.bsky.group.removeMembers',
|
|
24943
25362
|
ChatBskyGroupRequestJoin: 'chat.bsky.group.requestJoin',
|
|
25363
|
+
ChatBskyGroupUpdateJoinRequestsRead: 'chat.bsky.group.updateJoinRequestsRead',
|
|
25364
|
+
ChatBskyGroupWithdrawJoinRequest: 'chat.bsky.group.withdrawJoinRequest',
|
|
25365
|
+
ChatBskyModerationDefs: 'chat.bsky.moderation.defs',
|
|
24944
25366
|
ChatBskyModerationGetActorMetadata: 'chat.bsky.moderation.getActorMetadata',
|
|
25367
|
+
ChatBskyModerationGetConvo: 'chat.bsky.moderation.getConvo',
|
|
25368
|
+
ChatBskyModerationGetConvoMembers: 'chat.bsky.moderation.getConvoMembers',
|
|
25369
|
+
ChatBskyModerationGetConvos: 'chat.bsky.moderation.getConvos',
|
|
24945
25370
|
ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
|
|
24946
25371
|
ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
|
|
24947
25372
|
ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',
|