@atproto/api 0.20.6 → 0.20.7
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 +14 -0
- package/dist/client/index.d.ts +19 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +44 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +752 -60
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +410 -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/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/package.json +1 -1
- 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,95 @@ 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
|
+
},
|
|
12693
13031
|
ChatBskyModerationGetMessageContext: {
|
|
12694
13032
|
lexicon: 1,
|
|
12695
13033
|
id: 'chat.bsky.moderation.getMessageContext',
|
|
@@ -12778,6 +13116,7 @@ export const schemaDict = {
|
|
|
12778
13116
|
'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
|
|
12779
13117
|
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
|
|
12780
13118
|
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
|
|
13119
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded',
|
|
12781
13120
|
],
|
|
12782
13121
|
},
|
|
12783
13122
|
},
|
|
@@ -13378,6 +13717,29 @@ export const schemaDict = {
|
|
|
13378
13717
|
},
|
|
13379
13718
|
},
|
|
13380
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
|
+
},
|
|
13381
13743
|
},
|
|
13382
13744
|
},
|
|
13383
13745
|
ChatBskyModerationUpdateActorAccess: {
|
|
@@ -18572,6 +18934,7 @@ export const schemaDict = {
|
|
|
18572
18934
|
'lex:com.atproto.admin.defs#repoRef',
|
|
18573
18935
|
'lex:com.atproto.repo.strongRef',
|
|
18574
18936
|
'lex:chat.bsky.convo.defs#messageRef',
|
|
18937
|
+
'lex:chat.bsky.convo.defs#convoRef',
|
|
18575
18938
|
],
|
|
18576
18939
|
},
|
|
18577
18940
|
subjectBlobCids: {
|
|
@@ -18651,6 +19014,7 @@ export const schemaDict = {
|
|
|
18651
19014
|
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
|
18652
19015
|
'lex:tools.ozone.moderation.defs#recordView',
|
|
18653
19016
|
'lex:tools.ozone.moderation.defs#recordViewNotFound',
|
|
19017
|
+
'lex:tools.ozone.moderation.defs#convoView',
|
|
18654
19018
|
],
|
|
18655
19019
|
},
|
|
18656
19020
|
subjectBlobs: {
|
|
@@ -18687,6 +19051,7 @@ export const schemaDict = {
|
|
|
18687
19051
|
'lex:com.atproto.admin.defs#repoRef',
|
|
18688
19052
|
'lex:com.atproto.repo.strongRef',
|
|
18689
19053
|
'lex:chat.bsky.convo.defs#messageRef',
|
|
19054
|
+
'lex:chat.bsky.convo.defs#convoRef',
|
|
18690
19055
|
],
|
|
18691
19056
|
},
|
|
18692
19057
|
hosting: {
|
|
@@ -19694,6 +20059,19 @@ export const schemaDict = {
|
|
|
19694
20059
|
},
|
|
19695
20060
|
},
|
|
19696
20061
|
},
|
|
20062
|
+
convoView: {
|
|
20063
|
+
type: 'object',
|
|
20064
|
+
required: ['did', 'convoId'],
|
|
20065
|
+
properties: {
|
|
20066
|
+
did: {
|
|
20067
|
+
type: 'string',
|
|
20068
|
+
format: 'did',
|
|
20069
|
+
},
|
|
20070
|
+
convoId: {
|
|
20071
|
+
type: 'string',
|
|
20072
|
+
},
|
|
20073
|
+
},
|
|
20074
|
+
},
|
|
19697
20075
|
moderation: {
|
|
19698
20076
|
type: 'object',
|
|
19699
20077
|
properties: {
|
|
@@ -20606,8 +20984,8 @@ export const schemaDict = {
|
|
|
20606
20984
|
},
|
|
20607
20985
|
subjectType: {
|
|
20608
20986
|
type: 'string',
|
|
20609
|
-
description: "If specified, only events where the subject is of the given type (account or
|
|
20610
|
-
knownValues: ['account', 'record'],
|
|
20987
|
+
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.",
|
|
20988
|
+
knownValues: ['account', 'record', 'conversation'],
|
|
20611
20989
|
},
|
|
20612
20990
|
includeAllUserRecords: {
|
|
20613
20991
|
type: 'boolean',
|
|
@@ -20892,8 +21270,8 @@ export const schemaDict = {
|
|
|
20892
21270
|
},
|
|
20893
21271
|
subjectType: {
|
|
20894
21272
|
type: 'string',
|
|
20895
|
-
description: "If specified, subjects of the given type (account or
|
|
20896
|
-
knownValues: ['account', 'record'],
|
|
21273
|
+
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.",
|
|
21274
|
+
knownValues: ['account', 'record', 'conversation'],
|
|
20897
21275
|
},
|
|
20898
21276
|
minAccountSuspendCount: {
|
|
20899
21277
|
type: 'integer',
|
|
@@ -24926,6 +25304,7 @@ export const ids = {
|
|
|
24926
25304
|
ChatBskyConvoUnmuteConvo: 'chat.bsky.convo.unmuteConvo',
|
|
24927
25305
|
ChatBskyConvoUpdateAllRead: 'chat.bsky.convo.updateAllRead',
|
|
24928
25306
|
ChatBskyConvoUpdateRead: 'chat.bsky.convo.updateRead',
|
|
25307
|
+
ChatBskyEmbedJoinLink: 'chat.bsky.embed.joinLink',
|
|
24929
25308
|
ChatBskyGroupAddMembers: 'chat.bsky.group.addMembers',
|
|
24930
25309
|
ChatBskyGroupApproveJoinRequest: 'chat.bsky.group.approveJoinRequest',
|
|
24931
25310
|
ChatBskyGroupCreateGroup: 'chat.bsky.group.createGroup',
|
|
@@ -24941,7 +25320,12 @@ export const ids = {
|
|
|
24941
25320
|
ChatBskyGroupRejectJoinRequest: 'chat.bsky.group.rejectJoinRequest',
|
|
24942
25321
|
ChatBskyGroupRemoveMembers: 'chat.bsky.group.removeMembers',
|
|
24943
25322
|
ChatBskyGroupRequestJoin: 'chat.bsky.group.requestJoin',
|
|
25323
|
+
ChatBskyGroupUpdateJoinRequestsRead: 'chat.bsky.group.updateJoinRequestsRead',
|
|
25324
|
+
ChatBskyGroupWithdrawJoinRequest: 'chat.bsky.group.withdrawJoinRequest',
|
|
25325
|
+
ChatBskyModerationDefs: 'chat.bsky.moderation.defs',
|
|
24944
25326
|
ChatBskyModerationGetActorMetadata: 'chat.bsky.moderation.getActorMetadata',
|
|
25327
|
+
ChatBskyModerationGetConvo: 'chat.bsky.moderation.getConvo',
|
|
25328
|
+
ChatBskyModerationGetConvoMembers: 'chat.bsky.moderation.getConvoMembers',
|
|
24945
25329
|
ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
|
|
24946
25330
|
ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
|
|
24947
25331
|
ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',
|