@atproto/api 0.19.17 → 0.19.19
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 +18 -0
- package/dist/client/lexicons.d.ts +1057 -113
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +594 -7
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +2 -1
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +8 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js +9 -0
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.js +5 -5
- package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js +5 -5
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +5 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +206 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +81 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/package.json +1 -1
- package/src/client/lexicons.ts +619 -7
- package/src/client/types/app/bsky/embed/external.ts +2 -1
- package/src/client/types/chat/bsky/convo/defs.ts +17 -1
- package/src/client/types/chat/bsky/group/addMembers.ts +2 -3
- package/src/client/types/chat/bsky/group/createGroup.ts +2 -3
- package/src/client/types/chat/bsky/moderation/getMessageContext.ts +4 -1
- package/src/client/types/chat/bsky/moderation/subscribeModEvents.ts +328 -0
package/src/client/lexicons.ts
CHANGED
|
@@ -2710,9 +2710,12 @@ export const schemaDict = {
|
|
|
2710
2710
|
accept: ['image/*'],
|
|
2711
2711
|
maxSize: 1000000,
|
|
2712
2712
|
},
|
|
2713
|
-
|
|
2714
|
-
type: '
|
|
2715
|
-
|
|
2713
|
+
associatedRecords: {
|
|
2714
|
+
type: 'array',
|
|
2715
|
+
items: {
|
|
2716
|
+
type: 'ref',
|
|
2717
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2718
|
+
},
|
|
2716
2719
|
description:
|
|
2717
2720
|
'The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.',
|
|
2718
2721
|
},
|
|
@@ -9941,6 +9944,19 @@ export const schemaDict = {
|
|
|
9941
9944
|
type: 'string',
|
|
9942
9945
|
knownValues: ['request', 'accepted'],
|
|
9943
9946
|
},
|
|
9947
|
+
convoRef: {
|
|
9948
|
+
type: 'object',
|
|
9949
|
+
required: ['did', 'convoId'],
|
|
9950
|
+
properties: {
|
|
9951
|
+
did: {
|
|
9952
|
+
type: 'string',
|
|
9953
|
+
format: 'did',
|
|
9954
|
+
},
|
|
9955
|
+
convoId: {
|
|
9956
|
+
type: 'string',
|
|
9957
|
+
},
|
|
9958
|
+
},
|
|
9959
|
+
},
|
|
9944
9960
|
messageRef: {
|
|
9945
9961
|
type: 'object',
|
|
9946
9962
|
required: ['did', 'messageId', 'convoId'],
|
|
@@ -10310,7 +10326,7 @@ export const schemaDict = {
|
|
|
10310
10326
|
},
|
|
10311
10327
|
members: {
|
|
10312
10328
|
description:
|
|
10313
|
-
'Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who
|
|
10329
|
+
'Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who added the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.',
|
|
10314
10330
|
type: 'array',
|
|
10315
10331
|
items: {
|
|
10316
10332
|
type: 'ref',
|
|
@@ -11950,7 +11966,7 @@ export const schemaDict = {
|
|
|
11950
11966
|
name: 'BlockedActor',
|
|
11951
11967
|
},
|
|
11952
11968
|
{
|
|
11953
|
-
name: '
|
|
11969
|
+
name: 'UserForbidsGroups',
|
|
11954
11970
|
},
|
|
11955
11971
|
{
|
|
11956
11972
|
name: 'ConvoLocked',
|
|
@@ -12081,7 +12097,7 @@ export const schemaDict = {
|
|
|
12081
12097
|
name: 'BlockedActor',
|
|
12082
12098
|
},
|
|
12083
12099
|
{
|
|
12084
|
-
name: '
|
|
12100
|
+
name: 'UserForbidsGroups',
|
|
12085
12101
|
},
|
|
12086
12102
|
{
|
|
12087
12103
|
name: 'NotFollowedBySender',
|
|
@@ -12811,10 +12827,22 @@ export const schemaDict = {
|
|
|
12811
12827
|
before: {
|
|
12812
12828
|
type: 'integer',
|
|
12813
12829
|
default: 5,
|
|
12830
|
+
description:
|
|
12831
|
+
'Number of user messages before the target to include. System messages between the earliest returned user message and the target are also included, capped per gap by `maxInterleavedSystemMessages`. If there are no user messages before the target, up to `maxInterleavedSystemMessages` system messages immediately preceding the target are returned instead.',
|
|
12814
12832
|
},
|
|
12815
12833
|
after: {
|
|
12816
12834
|
type: 'integer',
|
|
12817
12835
|
default: 5,
|
|
12836
|
+
description:
|
|
12837
|
+
'Number of user messages after the target to include. System messages between the target and the latest returned user message are also included, capped per gap by `maxInterleavedSystemMessages`. If there are no user messages after the target, up to `maxInterleavedSystemMessages` system messages immediately following the target are returned instead.',
|
|
12838
|
+
},
|
|
12839
|
+
maxInterleavedSystemMessages: {
|
|
12840
|
+
type: 'integer',
|
|
12841
|
+
default: 10,
|
|
12842
|
+
minimum: 0,
|
|
12843
|
+
maximum: 1000,
|
|
12844
|
+
description:
|
|
12845
|
+
'Maximum number of system messages to include per gap between consecutive returned messages (and per side when there are no user messages on that side). Within a gap, the system messages closest to the earlier message are kept.',
|
|
12818
12846
|
},
|
|
12819
12847
|
},
|
|
12820
12848
|
},
|
|
@@ -12830,7 +12858,6 @@ export const schemaDict = {
|
|
|
12830
12858
|
type: 'union',
|
|
12831
12859
|
refs: [
|
|
12832
12860
|
'lex:chat.bsky.convo.defs#messageView',
|
|
12833
|
-
'lex:chat.bsky.convo.defs#deletedMessageView',
|
|
12834
12861
|
'lex:chat.bsky.convo.defs#systemMessageView',
|
|
12835
12862
|
],
|
|
12836
12863
|
},
|
|
@@ -12864,6 +12891,15 @@ export const schemaDict = {
|
|
|
12864
12891
|
type: 'union',
|
|
12865
12892
|
refs: [
|
|
12866
12893
|
'lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage',
|
|
12894
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated',
|
|
12895
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded',
|
|
12896
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined',
|
|
12897
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest',
|
|
12898
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved',
|
|
12899
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected',
|
|
12900
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
|
|
12901
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
|
|
12902
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
|
|
12867
12903
|
],
|
|
12868
12904
|
},
|
|
12869
12905
|
},
|
|
@@ -12880,6 +12916,7 @@ export const schemaDict = {
|
|
|
12880
12916
|
},
|
|
12881
12917
|
eventConvoFirstMessage: {
|
|
12882
12918
|
type: 'object',
|
|
12919
|
+
description: 'Fired when the first message was sent on a convo.',
|
|
12883
12920
|
required: ['createdAt', 'rev', 'convoId', 'user', 'recipients'],
|
|
12884
12921
|
properties: {
|
|
12885
12922
|
convoId: {
|
|
@@ -12911,6 +12948,581 @@ export const schemaDict = {
|
|
|
12911
12948
|
},
|
|
12912
12949
|
},
|
|
12913
12950
|
},
|
|
12951
|
+
eventGroupChatCreated: {
|
|
12952
|
+
type: 'object',
|
|
12953
|
+
description: 'Fire when a group chat is created.',
|
|
12954
|
+
required: [
|
|
12955
|
+
'actorDid',
|
|
12956
|
+
'convoCreatedAt',
|
|
12957
|
+
'convoId',
|
|
12958
|
+
'createdAt',
|
|
12959
|
+
'groupMemberCount',
|
|
12960
|
+
'groupName',
|
|
12961
|
+
'initialMemberDids',
|
|
12962
|
+
'ownerDid',
|
|
12963
|
+
'rev',
|
|
12964
|
+
],
|
|
12965
|
+
properties: {
|
|
12966
|
+
actorDid: {
|
|
12967
|
+
description:
|
|
12968
|
+
'The DID of the actor performing the action. For this event, same as ownerDid.',
|
|
12969
|
+
type: 'string',
|
|
12970
|
+
format: 'did',
|
|
12971
|
+
},
|
|
12972
|
+
convoCreatedAt: {
|
|
12973
|
+
description: 'When the group was originally created.',
|
|
12974
|
+
type: 'string',
|
|
12975
|
+
format: 'datetime',
|
|
12976
|
+
},
|
|
12977
|
+
convoId: {
|
|
12978
|
+
type: 'string',
|
|
12979
|
+
},
|
|
12980
|
+
createdAt: {
|
|
12981
|
+
type: 'string',
|
|
12982
|
+
format: 'datetime',
|
|
12983
|
+
},
|
|
12984
|
+
groupMemberCount: {
|
|
12985
|
+
description: 'Current member count at the time of the event.',
|
|
12986
|
+
type: 'integer',
|
|
12987
|
+
},
|
|
12988
|
+
groupName: {
|
|
12989
|
+
description: 'The name set at creation time.',
|
|
12990
|
+
type: 'string',
|
|
12991
|
+
},
|
|
12992
|
+
initialMemberDids: {
|
|
12993
|
+
description: 'DIDs of everyone added at creation time.',
|
|
12994
|
+
type: 'array',
|
|
12995
|
+
items: {
|
|
12996
|
+
type: 'string',
|
|
12997
|
+
format: 'did',
|
|
12998
|
+
},
|
|
12999
|
+
},
|
|
13000
|
+
ownerDid: {
|
|
13001
|
+
description: 'The DID of the group chat owner.',
|
|
13002
|
+
type: 'string',
|
|
13003
|
+
format: 'did',
|
|
13004
|
+
},
|
|
13005
|
+
rev: {
|
|
13006
|
+
type: 'string',
|
|
13007
|
+
},
|
|
13008
|
+
},
|
|
13009
|
+
},
|
|
13010
|
+
eventGroupChatMemberAdded: {
|
|
13011
|
+
type: 'object',
|
|
13012
|
+
description:
|
|
13013
|
+
"Fired when a member is added to a group chat. Note that members are added in the 'request' state.",
|
|
13014
|
+
required: [
|
|
13015
|
+
'actorDid',
|
|
13016
|
+
'convoCreatedAt',
|
|
13017
|
+
'convoId',
|
|
13018
|
+
'createdAt',
|
|
13019
|
+
'groupMemberCount',
|
|
13020
|
+
'groupName',
|
|
13021
|
+
'ownerDid',
|
|
13022
|
+
'requestMembersCount',
|
|
13023
|
+
'rev',
|
|
13024
|
+
'subjectDid',
|
|
13025
|
+
'subjectFollowsOwner',
|
|
13026
|
+
],
|
|
13027
|
+
properties: {
|
|
13028
|
+
actorDid: {
|
|
13029
|
+
description:
|
|
13030
|
+
'The DID of the actor performing the action. For this event, same as ownerDid.',
|
|
13031
|
+
type: 'string',
|
|
13032
|
+
format: 'did',
|
|
13033
|
+
},
|
|
13034
|
+
convoCreatedAt: {
|
|
13035
|
+
description: 'When the group was originally created.',
|
|
13036
|
+
type: 'string',
|
|
13037
|
+
format: 'datetime',
|
|
13038
|
+
},
|
|
13039
|
+
convoId: {
|
|
13040
|
+
type: 'string',
|
|
13041
|
+
},
|
|
13042
|
+
createdAt: {
|
|
13043
|
+
type: 'string',
|
|
13044
|
+
format: 'datetime',
|
|
13045
|
+
},
|
|
13046
|
+
groupMemberCount: {
|
|
13047
|
+
description: 'Current member count at the time of the event.',
|
|
13048
|
+
type: 'integer',
|
|
13049
|
+
},
|
|
13050
|
+
groupName: {
|
|
13051
|
+
type: 'string',
|
|
13052
|
+
},
|
|
13053
|
+
ownerDid: {
|
|
13054
|
+
description: 'The DID of the group chat owner.',
|
|
13055
|
+
type: 'string',
|
|
13056
|
+
format: 'did',
|
|
13057
|
+
},
|
|
13058
|
+
requestMembersCount: {
|
|
13059
|
+
description:
|
|
13060
|
+
'The number of members who have not yet accepted the convo.',
|
|
13061
|
+
type: 'integer',
|
|
13062
|
+
},
|
|
13063
|
+
rev: {
|
|
13064
|
+
type: 'string',
|
|
13065
|
+
},
|
|
13066
|
+
subjectDid: {
|
|
13067
|
+
description: 'The DID of the member who was added.',
|
|
13068
|
+
type: 'string',
|
|
13069
|
+
format: 'did',
|
|
13070
|
+
},
|
|
13071
|
+
subjectFollowsOwner: {
|
|
13072
|
+
description: 'Whether the added member follows the group owner.',
|
|
13073
|
+
type: 'boolean',
|
|
13074
|
+
},
|
|
13075
|
+
},
|
|
13076
|
+
},
|
|
13077
|
+
eventGroupChatMemberJoined: {
|
|
13078
|
+
type: 'object',
|
|
13079
|
+
description:
|
|
13080
|
+
'Fired when a member joins a group chat via an join link that does not require approval.',
|
|
13081
|
+
required: [
|
|
13082
|
+
'actorDid',
|
|
13083
|
+
'convoCreatedAt',
|
|
13084
|
+
'convoId',
|
|
13085
|
+
'createdAt',
|
|
13086
|
+
'groupMemberCount',
|
|
13087
|
+
'groupName',
|
|
13088
|
+
'joinLinkCode',
|
|
13089
|
+
'ownerDid',
|
|
13090
|
+
'rev',
|
|
13091
|
+
'subjectFollowsOwner',
|
|
13092
|
+
],
|
|
13093
|
+
properties: {
|
|
13094
|
+
actorDid: {
|
|
13095
|
+
description: 'The DID of the person joining.',
|
|
13096
|
+
type: 'string',
|
|
13097
|
+
format: 'did',
|
|
13098
|
+
},
|
|
13099
|
+
convoCreatedAt: {
|
|
13100
|
+
description: 'When the group was originally created.',
|
|
13101
|
+
type: 'string',
|
|
13102
|
+
format: 'datetime',
|
|
13103
|
+
},
|
|
13104
|
+
convoId: {
|
|
13105
|
+
type: 'string',
|
|
13106
|
+
},
|
|
13107
|
+
createdAt: {
|
|
13108
|
+
type: 'string',
|
|
13109
|
+
format: 'datetime',
|
|
13110
|
+
},
|
|
13111
|
+
groupMemberCount: {
|
|
13112
|
+
description: 'Current member count at the time of the event.',
|
|
13113
|
+
type: 'integer',
|
|
13114
|
+
},
|
|
13115
|
+
groupName: {
|
|
13116
|
+
type: 'string',
|
|
13117
|
+
},
|
|
13118
|
+
joinLinkCode: {
|
|
13119
|
+
description: 'The code of the join link used to join.',
|
|
13120
|
+
type: 'string',
|
|
13121
|
+
},
|
|
13122
|
+
ownerDid: {
|
|
13123
|
+
description: 'The DID of the group chat owner.',
|
|
13124
|
+
type: 'string',
|
|
13125
|
+
format: 'did',
|
|
13126
|
+
},
|
|
13127
|
+
rev: {
|
|
13128
|
+
type: 'string',
|
|
13129
|
+
},
|
|
13130
|
+
subjectFollowsOwner: {
|
|
13131
|
+
description: 'Whether the joining member follows the group owner.',
|
|
13132
|
+
type: 'boolean',
|
|
13133
|
+
},
|
|
13134
|
+
},
|
|
13135
|
+
},
|
|
13136
|
+
eventGroupChatJoinRequest: {
|
|
13137
|
+
type: 'object',
|
|
13138
|
+
description:
|
|
13139
|
+
'Fired when a user requests to join a group chat via an join link that requires approval.',
|
|
13140
|
+
required: [
|
|
13141
|
+
'actorDid',
|
|
13142
|
+
'convoCreatedAt',
|
|
13143
|
+
'convoId',
|
|
13144
|
+
'createdAt',
|
|
13145
|
+
'groupMemberCount',
|
|
13146
|
+
'groupName',
|
|
13147
|
+
'joinLinkCode',
|
|
13148
|
+
'ownerDid',
|
|
13149
|
+
'rev',
|
|
13150
|
+
'subjectFollowsOwner',
|
|
13151
|
+
],
|
|
13152
|
+
properties: {
|
|
13153
|
+
actorDid: {
|
|
13154
|
+
description: 'The DID of the person requesting to join.',
|
|
13155
|
+
type: 'string',
|
|
13156
|
+
format: 'did',
|
|
13157
|
+
},
|
|
13158
|
+
convoCreatedAt: {
|
|
13159
|
+
description: 'When the group was originally created.',
|
|
13160
|
+
type: 'string',
|
|
13161
|
+
format: 'datetime',
|
|
13162
|
+
},
|
|
13163
|
+
convoId: {
|
|
13164
|
+
type: 'string',
|
|
13165
|
+
},
|
|
13166
|
+
createdAt: {
|
|
13167
|
+
type: 'string',
|
|
13168
|
+
format: 'datetime',
|
|
13169
|
+
},
|
|
13170
|
+
groupMemberCount: {
|
|
13171
|
+
description: 'Current member count at the time of the event.',
|
|
13172
|
+
type: 'integer',
|
|
13173
|
+
},
|
|
13174
|
+
groupName: {
|
|
13175
|
+
type: 'string',
|
|
13176
|
+
},
|
|
13177
|
+
joinLinkCode: {
|
|
13178
|
+
description: 'The code of the join link used to request joining.',
|
|
13179
|
+
type: 'string',
|
|
13180
|
+
},
|
|
13181
|
+
ownerDid: {
|
|
13182
|
+
description: 'The DID of the group chat owner.',
|
|
13183
|
+
type: 'string',
|
|
13184
|
+
format: 'did',
|
|
13185
|
+
},
|
|
13186
|
+
rev: {
|
|
13187
|
+
type: 'string',
|
|
13188
|
+
},
|
|
13189
|
+
subjectFollowsOwner: {
|
|
13190
|
+
description:
|
|
13191
|
+
'Whether the requesting member follows the group owner.',
|
|
13192
|
+
type: 'boolean',
|
|
13193
|
+
},
|
|
13194
|
+
},
|
|
13195
|
+
},
|
|
13196
|
+
eventGroupChatJoinRequestApproved: {
|
|
13197
|
+
type: 'object',
|
|
13198
|
+
description:
|
|
13199
|
+
'Fired when a join request is approved by the group owner.',
|
|
13200
|
+
required: [
|
|
13201
|
+
'actorDid',
|
|
13202
|
+
'convoCreatedAt',
|
|
13203
|
+
'convoId',
|
|
13204
|
+
'createdAt',
|
|
13205
|
+
'groupMemberCount',
|
|
13206
|
+
'groupName',
|
|
13207
|
+
'ownerDid',
|
|
13208
|
+
'rev',
|
|
13209
|
+
'subjectDid',
|
|
13210
|
+
],
|
|
13211
|
+
properties: {
|
|
13212
|
+
actorDid: {
|
|
13213
|
+
description: 'The DID of the owner approving the request.',
|
|
13214
|
+
type: 'string',
|
|
13215
|
+
format: 'did',
|
|
13216
|
+
},
|
|
13217
|
+
convoCreatedAt: {
|
|
13218
|
+
description: 'When the group was originally created.',
|
|
13219
|
+
type: 'string',
|
|
13220
|
+
format: 'datetime',
|
|
13221
|
+
},
|
|
13222
|
+
convoId: {
|
|
13223
|
+
type: 'string',
|
|
13224
|
+
},
|
|
13225
|
+
createdAt: {
|
|
13226
|
+
type: 'string',
|
|
13227
|
+
format: 'datetime',
|
|
13228
|
+
},
|
|
13229
|
+
groupMemberCount: {
|
|
13230
|
+
description: 'Current member count at the time of the event.',
|
|
13231
|
+
type: 'integer',
|
|
13232
|
+
},
|
|
13233
|
+
groupName: {
|
|
13234
|
+
type: 'string',
|
|
13235
|
+
},
|
|
13236
|
+
ownerDid: {
|
|
13237
|
+
description: 'The DID of the group chat owner.',
|
|
13238
|
+
type: 'string',
|
|
13239
|
+
format: 'did',
|
|
13240
|
+
},
|
|
13241
|
+
rev: {
|
|
13242
|
+
type: 'string',
|
|
13243
|
+
},
|
|
13244
|
+
subjectDid: {
|
|
13245
|
+
description: 'The DID of the member whose request was approved.',
|
|
13246
|
+
type: 'string',
|
|
13247
|
+
format: 'did',
|
|
13248
|
+
},
|
|
13249
|
+
},
|
|
13250
|
+
},
|
|
13251
|
+
eventGroupChatJoinRequestRejected: {
|
|
13252
|
+
type: 'object',
|
|
13253
|
+
description:
|
|
13254
|
+
'Fired when a join request is rejected by the group owner.',
|
|
13255
|
+
required: [
|
|
13256
|
+
'actorDid',
|
|
13257
|
+
'convoCreatedAt',
|
|
13258
|
+
'convoId',
|
|
13259
|
+
'createdAt',
|
|
13260
|
+
'groupMemberCount',
|
|
13261
|
+
'groupName',
|
|
13262
|
+
'ownerDid',
|
|
13263
|
+
'rev',
|
|
13264
|
+
'subjectDid',
|
|
13265
|
+
],
|
|
13266
|
+
properties: {
|
|
13267
|
+
actorDid: {
|
|
13268
|
+
description: 'The DID of the owner rejecting the request.',
|
|
13269
|
+
type: 'string',
|
|
13270
|
+
format: 'did',
|
|
13271
|
+
},
|
|
13272
|
+
convoCreatedAt: {
|
|
13273
|
+
description: 'When the group was originally created.',
|
|
13274
|
+
type: 'string',
|
|
13275
|
+
format: 'datetime',
|
|
13276
|
+
},
|
|
13277
|
+
convoId: {
|
|
13278
|
+
type: 'string',
|
|
13279
|
+
},
|
|
13280
|
+
createdAt: {
|
|
13281
|
+
type: 'string',
|
|
13282
|
+
format: 'datetime',
|
|
13283
|
+
},
|
|
13284
|
+
groupMemberCount: {
|
|
13285
|
+
description: 'Current member count at the time of the event.',
|
|
13286
|
+
type: 'integer',
|
|
13287
|
+
},
|
|
13288
|
+
groupName: {
|
|
13289
|
+
type: 'string',
|
|
13290
|
+
},
|
|
13291
|
+
ownerDid: {
|
|
13292
|
+
description: 'The DID of the group chat owner.',
|
|
13293
|
+
type: 'string',
|
|
13294
|
+
format: 'did',
|
|
13295
|
+
},
|
|
13296
|
+
rev: {
|
|
13297
|
+
type: 'string',
|
|
13298
|
+
},
|
|
13299
|
+
subjectDid: {
|
|
13300
|
+
description: 'The DID of the member whose request was rejected.',
|
|
13301
|
+
type: 'string',
|
|
13302
|
+
format: 'did',
|
|
13303
|
+
},
|
|
13304
|
+
},
|
|
13305
|
+
},
|
|
13306
|
+
eventChatAccepted: {
|
|
13307
|
+
type: 'object',
|
|
13308
|
+
description:
|
|
13309
|
+
'Fired when a user accepts a chat convo, either explicitly or by sending a message.',
|
|
13310
|
+
required: [
|
|
13311
|
+
'actorDid',
|
|
13312
|
+
'convoCreatedAt',
|
|
13313
|
+
'convoId',
|
|
13314
|
+
'createdAt',
|
|
13315
|
+
'method',
|
|
13316
|
+
'rev',
|
|
13317
|
+
],
|
|
13318
|
+
properties: {
|
|
13319
|
+
actorDid: {
|
|
13320
|
+
description: 'The DID of the person accepting the convo.',
|
|
13321
|
+
type: 'string',
|
|
13322
|
+
format: 'did',
|
|
13323
|
+
},
|
|
13324
|
+
convoCreatedAt: {
|
|
13325
|
+
description: 'When the convo was originally created.',
|
|
13326
|
+
type: 'string',
|
|
13327
|
+
format: 'datetime',
|
|
13328
|
+
},
|
|
13329
|
+
convoId: {
|
|
13330
|
+
type: 'string',
|
|
13331
|
+
},
|
|
13332
|
+
createdAt: {
|
|
13333
|
+
type: 'string',
|
|
13334
|
+
format: 'datetime',
|
|
13335
|
+
},
|
|
13336
|
+
groupMemberCount: {
|
|
13337
|
+
description:
|
|
13338
|
+
'Current member count at the time of the event. Only present for group convos.',
|
|
13339
|
+
type: 'integer',
|
|
13340
|
+
},
|
|
13341
|
+
groupName: {
|
|
13342
|
+
description:
|
|
13343
|
+
'The name of the group chat. Only present for group convos.',
|
|
13344
|
+
type: 'string',
|
|
13345
|
+
},
|
|
13346
|
+
method: {
|
|
13347
|
+
description: 'How the convo was accepted.',
|
|
13348
|
+
type: 'string',
|
|
13349
|
+
knownValues: ['explicit', 'message'],
|
|
13350
|
+
},
|
|
13351
|
+
ownerDid: {
|
|
13352
|
+
description:
|
|
13353
|
+
'The DID of the group chat owner. Only present for group convos.',
|
|
13354
|
+
type: 'string',
|
|
13355
|
+
format: 'did',
|
|
13356
|
+
},
|
|
13357
|
+
rev: {
|
|
13358
|
+
type: 'string',
|
|
13359
|
+
},
|
|
13360
|
+
},
|
|
13361
|
+
},
|
|
13362
|
+
eventGroupChatMemberLeft: {
|
|
13363
|
+
type: 'object',
|
|
13364
|
+
description:
|
|
13365
|
+
'Fired when a member leaves or is removed from a group chat.',
|
|
13366
|
+
required: [
|
|
13367
|
+
'actorDid',
|
|
13368
|
+
'convoCreatedAt',
|
|
13369
|
+
'convoId',
|
|
13370
|
+
'createdAt',
|
|
13371
|
+
'groupMemberCount',
|
|
13372
|
+
'groupName',
|
|
13373
|
+
'leaveMethod',
|
|
13374
|
+
'ownerDid',
|
|
13375
|
+
'rev',
|
|
13376
|
+
'subjectDid',
|
|
13377
|
+
],
|
|
13378
|
+
properties: {
|
|
13379
|
+
actorDid: {
|
|
13380
|
+
description:
|
|
13381
|
+
'The DID of the actor. For voluntary: the person leaving. For kicked: the owner.',
|
|
13382
|
+
type: 'string',
|
|
13383
|
+
format: 'did',
|
|
13384
|
+
},
|
|
13385
|
+
convoCreatedAt: {
|
|
13386
|
+
description: 'When the group was originally created.',
|
|
13387
|
+
type: 'string',
|
|
13388
|
+
format: 'datetime',
|
|
13389
|
+
},
|
|
13390
|
+
convoId: {
|
|
13391
|
+
type: 'string',
|
|
13392
|
+
},
|
|
13393
|
+
createdAt: {
|
|
13394
|
+
type: 'string',
|
|
13395
|
+
format: 'datetime',
|
|
13396
|
+
},
|
|
13397
|
+
groupMemberCount: {
|
|
13398
|
+
description: 'Current member count at the time of the event.',
|
|
13399
|
+
type: 'integer',
|
|
13400
|
+
},
|
|
13401
|
+
groupName: {
|
|
13402
|
+
type: 'string',
|
|
13403
|
+
},
|
|
13404
|
+
leaveMethod: {
|
|
13405
|
+
description: 'How the member left.',
|
|
13406
|
+
type: 'string',
|
|
13407
|
+
knownValues: ['voluntary', 'kicked'],
|
|
13408
|
+
},
|
|
13409
|
+
ownerDid: {
|
|
13410
|
+
description: 'The DID of the group chat owner.',
|
|
13411
|
+
type: 'string',
|
|
13412
|
+
format: 'did',
|
|
13413
|
+
},
|
|
13414
|
+
rev: {
|
|
13415
|
+
type: 'string',
|
|
13416
|
+
},
|
|
13417
|
+
subjectDid: {
|
|
13418
|
+
description: 'The DID of the member who left or was removed.',
|
|
13419
|
+
type: 'string',
|
|
13420
|
+
format: 'did',
|
|
13421
|
+
},
|
|
13422
|
+
},
|
|
13423
|
+
},
|
|
13424
|
+
eventGroupChatUpdated: {
|
|
13425
|
+
type: 'object',
|
|
13426
|
+
description: "Fired when a group chat's metadata or status changes.",
|
|
13427
|
+
required: [
|
|
13428
|
+
'actorDid',
|
|
13429
|
+
'convoCreatedAt',
|
|
13430
|
+
'convoId',
|
|
13431
|
+
'createdAt',
|
|
13432
|
+
'groupMemberCount',
|
|
13433
|
+
'groupName',
|
|
13434
|
+
'ownerDid',
|
|
13435
|
+
'rev',
|
|
13436
|
+
'updateType',
|
|
13437
|
+
],
|
|
13438
|
+
properties: {
|
|
13439
|
+
actorDid: {
|
|
13440
|
+
description:
|
|
13441
|
+
'The DID of the actor performing the action (the owner).',
|
|
13442
|
+
type: 'string',
|
|
13443
|
+
format: 'did',
|
|
13444
|
+
},
|
|
13445
|
+
convoCreatedAt: {
|
|
13446
|
+
description: 'When the group was originally created.',
|
|
13447
|
+
type: 'string',
|
|
13448
|
+
format: 'datetime',
|
|
13449
|
+
},
|
|
13450
|
+
convoId: {
|
|
13451
|
+
type: 'string',
|
|
13452
|
+
},
|
|
13453
|
+
createdAt: {
|
|
13454
|
+
type: 'string',
|
|
13455
|
+
format: 'datetime',
|
|
13456
|
+
},
|
|
13457
|
+
groupMemberCount: {
|
|
13458
|
+
description: 'Current member count at the time of the event.',
|
|
13459
|
+
type: 'integer',
|
|
13460
|
+
},
|
|
13461
|
+
groupName: {
|
|
13462
|
+
description: 'Current group name.',
|
|
13463
|
+
type: 'string',
|
|
13464
|
+
},
|
|
13465
|
+
joinLinkCode: {
|
|
13466
|
+
description:
|
|
13467
|
+
'The code of the join link. Only present when updateType is join-link-related.',
|
|
13468
|
+
type: 'string',
|
|
13469
|
+
},
|
|
13470
|
+
joinLinkFollowersOnly: {
|
|
13471
|
+
description:
|
|
13472
|
+
'Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related.',
|
|
13473
|
+
type: 'boolean',
|
|
13474
|
+
},
|
|
13475
|
+
joinLinkRequiresApproval: {
|
|
13476
|
+
description:
|
|
13477
|
+
'Whether the join link requires owner approval to join. Only present when updateType is join-link-related.',
|
|
13478
|
+
type: 'boolean',
|
|
13479
|
+
},
|
|
13480
|
+
lockReason: {
|
|
13481
|
+
description:
|
|
13482
|
+
"Why the group was locked. Only present when updateType is 'locked'.",
|
|
13483
|
+
type: 'string',
|
|
13484
|
+
knownValues: [
|
|
13485
|
+
'owner_action',
|
|
13486
|
+
'owner_left',
|
|
13487
|
+
'owner_deactivated',
|
|
13488
|
+
'owner_deleted',
|
|
13489
|
+
'owner_taken_down',
|
|
13490
|
+
'label_applied',
|
|
13491
|
+
],
|
|
13492
|
+
},
|
|
13493
|
+
newName: {
|
|
13494
|
+
description:
|
|
13495
|
+
"The new group name. Only present when updateType is 'name_changed'.",
|
|
13496
|
+
type: 'string',
|
|
13497
|
+
},
|
|
13498
|
+
oldName: {
|
|
13499
|
+
description:
|
|
13500
|
+
"The previous group name. Only present when updateType is 'name_changed'.",
|
|
13501
|
+
type: 'string',
|
|
13502
|
+
},
|
|
13503
|
+
ownerDid: {
|
|
13504
|
+
description: 'The DID of the group chat owner.',
|
|
13505
|
+
type: 'string',
|
|
13506
|
+
format: 'did',
|
|
13507
|
+
},
|
|
13508
|
+
rev: {
|
|
13509
|
+
type: 'string',
|
|
13510
|
+
},
|
|
13511
|
+
updateType: {
|
|
13512
|
+
description: 'What changed.',
|
|
13513
|
+
type: 'string',
|
|
13514
|
+
knownValues: [
|
|
13515
|
+
'name_changed',
|
|
13516
|
+
'locked',
|
|
13517
|
+
'locked_permanently',
|
|
13518
|
+
'unlocked',
|
|
13519
|
+
'join_link_created',
|
|
13520
|
+
'join_link_disabled',
|
|
13521
|
+
'join_link_settings_changed',
|
|
13522
|
+
],
|
|
13523
|
+
},
|
|
13524
|
+
},
|
|
13525
|
+
},
|
|
12914
13526
|
},
|
|
12915
13527
|
},
|
|
12916
13528
|
ChatBskyModerationUpdateActorAccess: {
|