@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/dist/client/lexicons.js
CHANGED
|
@@ -2601,9 +2601,12 @@ exports.schemaDict = {
|
|
|
2601
2601
|
accept: ['image/*'],
|
|
2602
2602
|
maxSize: 1000000,
|
|
2603
2603
|
},
|
|
2604
|
-
|
|
2605
|
-
type: '
|
|
2606
|
-
|
|
2604
|
+
associatedRecords: {
|
|
2605
|
+
type: 'array',
|
|
2606
|
+
items: {
|
|
2607
|
+
type: 'ref',
|
|
2608
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2609
|
+
},
|
|
2607
2610
|
description: 'The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.',
|
|
2608
2611
|
},
|
|
2609
2612
|
},
|
|
@@ -9590,6 +9593,19 @@ exports.schemaDict = {
|
|
|
9590
9593
|
type: 'string',
|
|
9591
9594
|
knownValues: ['request', 'accepted'],
|
|
9592
9595
|
},
|
|
9596
|
+
convoRef: {
|
|
9597
|
+
type: 'object',
|
|
9598
|
+
required: ['did', 'convoId'],
|
|
9599
|
+
properties: {
|
|
9600
|
+
did: {
|
|
9601
|
+
type: 'string',
|
|
9602
|
+
format: 'did',
|
|
9603
|
+
},
|
|
9604
|
+
convoId: {
|
|
9605
|
+
type: 'string',
|
|
9606
|
+
},
|
|
9607
|
+
},
|
|
9608
|
+
},
|
|
9593
9609
|
messageRef: {
|
|
9594
9610
|
type: 'object',
|
|
9595
9611
|
required: ['did', 'messageId', 'convoId'],
|
|
@@ -9941,7 +9957,7 @@ exports.schemaDict = {
|
|
|
9941
9957
|
type: 'string',
|
|
9942
9958
|
},
|
|
9943
9959
|
members: {
|
|
9944
|
-
description: '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
|
|
9960
|
+
description: '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.',
|
|
9945
9961
|
type: 'array',
|
|
9946
9962
|
items: {
|
|
9947
9963
|
type: 'ref',
|
|
@@ -11514,7 +11530,7 @@ exports.schemaDict = {
|
|
|
11514
11530
|
name: 'BlockedActor',
|
|
11515
11531
|
},
|
|
11516
11532
|
{
|
|
11517
|
-
name: '
|
|
11533
|
+
name: 'UserForbidsGroups',
|
|
11518
11534
|
},
|
|
11519
11535
|
{
|
|
11520
11536
|
name: 'ConvoLocked',
|
|
@@ -11643,7 +11659,7 @@ exports.schemaDict = {
|
|
|
11643
11659
|
name: 'BlockedActor',
|
|
11644
11660
|
},
|
|
11645
11661
|
{
|
|
11646
|
-
name: '
|
|
11662
|
+
name: 'UserForbidsGroups',
|
|
11647
11663
|
},
|
|
11648
11664
|
{
|
|
11649
11665
|
name: 'NotFollowedBySender',
|
|
@@ -12359,10 +12375,19 @@ exports.schemaDict = {
|
|
|
12359
12375
|
before: {
|
|
12360
12376
|
type: 'integer',
|
|
12361
12377
|
default: 5,
|
|
12378
|
+
description: '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.',
|
|
12362
12379
|
},
|
|
12363
12380
|
after: {
|
|
12364
12381
|
type: 'integer',
|
|
12365
12382
|
default: 5,
|
|
12383
|
+
description: '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.',
|
|
12384
|
+
},
|
|
12385
|
+
maxInterleavedSystemMessages: {
|
|
12386
|
+
type: 'integer',
|
|
12387
|
+
default: 10,
|
|
12388
|
+
minimum: 0,
|
|
12389
|
+
maximum: 1000,
|
|
12390
|
+
description: '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.',
|
|
12366
12391
|
},
|
|
12367
12392
|
},
|
|
12368
12393
|
},
|
|
@@ -12378,7 +12403,6 @@ exports.schemaDict = {
|
|
|
12378
12403
|
type: 'union',
|
|
12379
12404
|
refs: [
|
|
12380
12405
|
'lex:chat.bsky.convo.defs#messageView',
|
|
12381
|
-
'lex:chat.bsky.convo.defs#deletedMessageView',
|
|
12382
12406
|
'lex:chat.bsky.convo.defs#systemMessageView',
|
|
12383
12407
|
],
|
|
12384
12408
|
},
|
|
@@ -12410,6 +12434,15 @@ exports.schemaDict = {
|
|
|
12410
12434
|
type: 'union',
|
|
12411
12435
|
refs: [
|
|
12412
12436
|
'lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage',
|
|
12437
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated',
|
|
12438
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded',
|
|
12439
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined',
|
|
12440
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest',
|
|
12441
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved',
|
|
12442
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected',
|
|
12443
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
|
|
12444
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
|
|
12445
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
|
|
12413
12446
|
],
|
|
12414
12447
|
},
|
|
12415
12448
|
},
|
|
@@ -12425,6 +12458,7 @@ exports.schemaDict = {
|
|
|
12425
12458
|
},
|
|
12426
12459
|
eventConvoFirstMessage: {
|
|
12427
12460
|
type: 'object',
|
|
12461
|
+
description: 'Fired when the first message was sent on a convo.',
|
|
12428
12462
|
required: ['createdAt', 'rev', 'convoId', 'user', 'recipients'],
|
|
12429
12463
|
properties: {
|
|
12430
12464
|
convoId: {
|
|
@@ -12455,6 +12489,559 @@ exports.schemaDict = {
|
|
|
12455
12489
|
},
|
|
12456
12490
|
},
|
|
12457
12491
|
},
|
|
12492
|
+
eventGroupChatCreated: {
|
|
12493
|
+
type: 'object',
|
|
12494
|
+
description: 'Fire when a group chat is created.',
|
|
12495
|
+
required: [
|
|
12496
|
+
'actorDid',
|
|
12497
|
+
'convoCreatedAt',
|
|
12498
|
+
'convoId',
|
|
12499
|
+
'createdAt',
|
|
12500
|
+
'groupMemberCount',
|
|
12501
|
+
'groupName',
|
|
12502
|
+
'initialMemberDids',
|
|
12503
|
+
'ownerDid',
|
|
12504
|
+
'rev',
|
|
12505
|
+
],
|
|
12506
|
+
properties: {
|
|
12507
|
+
actorDid: {
|
|
12508
|
+
description: 'The DID of the actor performing the action. For this event, same as ownerDid.',
|
|
12509
|
+
type: 'string',
|
|
12510
|
+
format: 'did',
|
|
12511
|
+
},
|
|
12512
|
+
convoCreatedAt: {
|
|
12513
|
+
description: 'When the group was originally created.',
|
|
12514
|
+
type: 'string',
|
|
12515
|
+
format: 'datetime',
|
|
12516
|
+
},
|
|
12517
|
+
convoId: {
|
|
12518
|
+
type: 'string',
|
|
12519
|
+
},
|
|
12520
|
+
createdAt: {
|
|
12521
|
+
type: 'string',
|
|
12522
|
+
format: 'datetime',
|
|
12523
|
+
},
|
|
12524
|
+
groupMemberCount: {
|
|
12525
|
+
description: 'Current member count at the time of the event.',
|
|
12526
|
+
type: 'integer',
|
|
12527
|
+
},
|
|
12528
|
+
groupName: {
|
|
12529
|
+
description: 'The name set at creation time.',
|
|
12530
|
+
type: 'string',
|
|
12531
|
+
},
|
|
12532
|
+
initialMemberDids: {
|
|
12533
|
+
description: 'DIDs of everyone added at creation time.',
|
|
12534
|
+
type: 'array',
|
|
12535
|
+
items: {
|
|
12536
|
+
type: 'string',
|
|
12537
|
+
format: 'did',
|
|
12538
|
+
},
|
|
12539
|
+
},
|
|
12540
|
+
ownerDid: {
|
|
12541
|
+
description: 'The DID of the group chat owner.',
|
|
12542
|
+
type: 'string',
|
|
12543
|
+
format: 'did',
|
|
12544
|
+
},
|
|
12545
|
+
rev: {
|
|
12546
|
+
type: 'string',
|
|
12547
|
+
},
|
|
12548
|
+
},
|
|
12549
|
+
},
|
|
12550
|
+
eventGroupChatMemberAdded: {
|
|
12551
|
+
type: 'object',
|
|
12552
|
+
description: "Fired when a member is added to a group chat. Note that members are added in the 'request' state.",
|
|
12553
|
+
required: [
|
|
12554
|
+
'actorDid',
|
|
12555
|
+
'convoCreatedAt',
|
|
12556
|
+
'convoId',
|
|
12557
|
+
'createdAt',
|
|
12558
|
+
'groupMemberCount',
|
|
12559
|
+
'groupName',
|
|
12560
|
+
'ownerDid',
|
|
12561
|
+
'requestMembersCount',
|
|
12562
|
+
'rev',
|
|
12563
|
+
'subjectDid',
|
|
12564
|
+
'subjectFollowsOwner',
|
|
12565
|
+
],
|
|
12566
|
+
properties: {
|
|
12567
|
+
actorDid: {
|
|
12568
|
+
description: 'The DID of the actor performing the action. For this event, same as ownerDid.',
|
|
12569
|
+
type: 'string',
|
|
12570
|
+
format: 'did',
|
|
12571
|
+
},
|
|
12572
|
+
convoCreatedAt: {
|
|
12573
|
+
description: 'When the group was originally created.',
|
|
12574
|
+
type: 'string',
|
|
12575
|
+
format: 'datetime',
|
|
12576
|
+
},
|
|
12577
|
+
convoId: {
|
|
12578
|
+
type: 'string',
|
|
12579
|
+
},
|
|
12580
|
+
createdAt: {
|
|
12581
|
+
type: 'string',
|
|
12582
|
+
format: 'datetime',
|
|
12583
|
+
},
|
|
12584
|
+
groupMemberCount: {
|
|
12585
|
+
description: 'Current member count at the time of the event.',
|
|
12586
|
+
type: 'integer',
|
|
12587
|
+
},
|
|
12588
|
+
groupName: {
|
|
12589
|
+
type: 'string',
|
|
12590
|
+
},
|
|
12591
|
+
ownerDid: {
|
|
12592
|
+
description: 'The DID of the group chat owner.',
|
|
12593
|
+
type: 'string',
|
|
12594
|
+
format: 'did',
|
|
12595
|
+
},
|
|
12596
|
+
requestMembersCount: {
|
|
12597
|
+
description: 'The number of members who have not yet accepted the convo.',
|
|
12598
|
+
type: 'integer',
|
|
12599
|
+
},
|
|
12600
|
+
rev: {
|
|
12601
|
+
type: 'string',
|
|
12602
|
+
},
|
|
12603
|
+
subjectDid: {
|
|
12604
|
+
description: 'The DID of the member who was added.',
|
|
12605
|
+
type: 'string',
|
|
12606
|
+
format: 'did',
|
|
12607
|
+
},
|
|
12608
|
+
subjectFollowsOwner: {
|
|
12609
|
+
description: 'Whether the added member follows the group owner.',
|
|
12610
|
+
type: 'boolean',
|
|
12611
|
+
},
|
|
12612
|
+
},
|
|
12613
|
+
},
|
|
12614
|
+
eventGroupChatMemberJoined: {
|
|
12615
|
+
type: 'object',
|
|
12616
|
+
description: 'Fired when a member joins a group chat via an join link that does not require approval.',
|
|
12617
|
+
required: [
|
|
12618
|
+
'actorDid',
|
|
12619
|
+
'convoCreatedAt',
|
|
12620
|
+
'convoId',
|
|
12621
|
+
'createdAt',
|
|
12622
|
+
'groupMemberCount',
|
|
12623
|
+
'groupName',
|
|
12624
|
+
'joinLinkCode',
|
|
12625
|
+
'ownerDid',
|
|
12626
|
+
'rev',
|
|
12627
|
+
'subjectFollowsOwner',
|
|
12628
|
+
],
|
|
12629
|
+
properties: {
|
|
12630
|
+
actorDid: {
|
|
12631
|
+
description: 'The DID of the person joining.',
|
|
12632
|
+
type: 'string',
|
|
12633
|
+
format: 'did',
|
|
12634
|
+
},
|
|
12635
|
+
convoCreatedAt: {
|
|
12636
|
+
description: 'When the group was originally created.',
|
|
12637
|
+
type: 'string',
|
|
12638
|
+
format: 'datetime',
|
|
12639
|
+
},
|
|
12640
|
+
convoId: {
|
|
12641
|
+
type: 'string',
|
|
12642
|
+
},
|
|
12643
|
+
createdAt: {
|
|
12644
|
+
type: 'string',
|
|
12645
|
+
format: 'datetime',
|
|
12646
|
+
},
|
|
12647
|
+
groupMemberCount: {
|
|
12648
|
+
description: 'Current member count at the time of the event.',
|
|
12649
|
+
type: 'integer',
|
|
12650
|
+
},
|
|
12651
|
+
groupName: {
|
|
12652
|
+
type: 'string',
|
|
12653
|
+
},
|
|
12654
|
+
joinLinkCode: {
|
|
12655
|
+
description: 'The code of the join link used to join.',
|
|
12656
|
+
type: 'string',
|
|
12657
|
+
},
|
|
12658
|
+
ownerDid: {
|
|
12659
|
+
description: 'The DID of the group chat owner.',
|
|
12660
|
+
type: 'string',
|
|
12661
|
+
format: 'did',
|
|
12662
|
+
},
|
|
12663
|
+
rev: {
|
|
12664
|
+
type: 'string',
|
|
12665
|
+
},
|
|
12666
|
+
subjectFollowsOwner: {
|
|
12667
|
+
description: 'Whether the joining member follows the group owner.',
|
|
12668
|
+
type: 'boolean',
|
|
12669
|
+
},
|
|
12670
|
+
},
|
|
12671
|
+
},
|
|
12672
|
+
eventGroupChatJoinRequest: {
|
|
12673
|
+
type: 'object',
|
|
12674
|
+
description: 'Fired when a user requests to join a group chat via an join link that requires approval.',
|
|
12675
|
+
required: [
|
|
12676
|
+
'actorDid',
|
|
12677
|
+
'convoCreatedAt',
|
|
12678
|
+
'convoId',
|
|
12679
|
+
'createdAt',
|
|
12680
|
+
'groupMemberCount',
|
|
12681
|
+
'groupName',
|
|
12682
|
+
'joinLinkCode',
|
|
12683
|
+
'ownerDid',
|
|
12684
|
+
'rev',
|
|
12685
|
+
'subjectFollowsOwner',
|
|
12686
|
+
],
|
|
12687
|
+
properties: {
|
|
12688
|
+
actorDid: {
|
|
12689
|
+
description: 'The DID of the person requesting to join.',
|
|
12690
|
+
type: 'string',
|
|
12691
|
+
format: 'did',
|
|
12692
|
+
},
|
|
12693
|
+
convoCreatedAt: {
|
|
12694
|
+
description: 'When the group was originally created.',
|
|
12695
|
+
type: 'string',
|
|
12696
|
+
format: 'datetime',
|
|
12697
|
+
},
|
|
12698
|
+
convoId: {
|
|
12699
|
+
type: 'string',
|
|
12700
|
+
},
|
|
12701
|
+
createdAt: {
|
|
12702
|
+
type: 'string',
|
|
12703
|
+
format: 'datetime',
|
|
12704
|
+
},
|
|
12705
|
+
groupMemberCount: {
|
|
12706
|
+
description: 'Current member count at the time of the event.',
|
|
12707
|
+
type: 'integer',
|
|
12708
|
+
},
|
|
12709
|
+
groupName: {
|
|
12710
|
+
type: 'string',
|
|
12711
|
+
},
|
|
12712
|
+
joinLinkCode: {
|
|
12713
|
+
description: 'The code of the join link used to request joining.',
|
|
12714
|
+
type: 'string',
|
|
12715
|
+
},
|
|
12716
|
+
ownerDid: {
|
|
12717
|
+
description: 'The DID of the group chat owner.',
|
|
12718
|
+
type: 'string',
|
|
12719
|
+
format: 'did',
|
|
12720
|
+
},
|
|
12721
|
+
rev: {
|
|
12722
|
+
type: 'string',
|
|
12723
|
+
},
|
|
12724
|
+
subjectFollowsOwner: {
|
|
12725
|
+
description: 'Whether the requesting member follows the group owner.',
|
|
12726
|
+
type: 'boolean',
|
|
12727
|
+
},
|
|
12728
|
+
},
|
|
12729
|
+
},
|
|
12730
|
+
eventGroupChatJoinRequestApproved: {
|
|
12731
|
+
type: 'object',
|
|
12732
|
+
description: 'Fired when a join request is approved by the group owner.',
|
|
12733
|
+
required: [
|
|
12734
|
+
'actorDid',
|
|
12735
|
+
'convoCreatedAt',
|
|
12736
|
+
'convoId',
|
|
12737
|
+
'createdAt',
|
|
12738
|
+
'groupMemberCount',
|
|
12739
|
+
'groupName',
|
|
12740
|
+
'ownerDid',
|
|
12741
|
+
'rev',
|
|
12742
|
+
'subjectDid',
|
|
12743
|
+
],
|
|
12744
|
+
properties: {
|
|
12745
|
+
actorDid: {
|
|
12746
|
+
description: 'The DID of the owner approving the request.',
|
|
12747
|
+
type: 'string',
|
|
12748
|
+
format: 'did',
|
|
12749
|
+
},
|
|
12750
|
+
convoCreatedAt: {
|
|
12751
|
+
description: 'When the group was originally created.',
|
|
12752
|
+
type: 'string',
|
|
12753
|
+
format: 'datetime',
|
|
12754
|
+
},
|
|
12755
|
+
convoId: {
|
|
12756
|
+
type: 'string',
|
|
12757
|
+
},
|
|
12758
|
+
createdAt: {
|
|
12759
|
+
type: 'string',
|
|
12760
|
+
format: 'datetime',
|
|
12761
|
+
},
|
|
12762
|
+
groupMemberCount: {
|
|
12763
|
+
description: 'Current member count at the time of the event.',
|
|
12764
|
+
type: 'integer',
|
|
12765
|
+
},
|
|
12766
|
+
groupName: {
|
|
12767
|
+
type: 'string',
|
|
12768
|
+
},
|
|
12769
|
+
ownerDid: {
|
|
12770
|
+
description: 'The DID of the group chat owner.',
|
|
12771
|
+
type: 'string',
|
|
12772
|
+
format: 'did',
|
|
12773
|
+
},
|
|
12774
|
+
rev: {
|
|
12775
|
+
type: 'string',
|
|
12776
|
+
},
|
|
12777
|
+
subjectDid: {
|
|
12778
|
+
description: 'The DID of the member whose request was approved.',
|
|
12779
|
+
type: 'string',
|
|
12780
|
+
format: 'did',
|
|
12781
|
+
},
|
|
12782
|
+
},
|
|
12783
|
+
},
|
|
12784
|
+
eventGroupChatJoinRequestRejected: {
|
|
12785
|
+
type: 'object',
|
|
12786
|
+
description: 'Fired when a join request is rejected by the group owner.',
|
|
12787
|
+
required: [
|
|
12788
|
+
'actorDid',
|
|
12789
|
+
'convoCreatedAt',
|
|
12790
|
+
'convoId',
|
|
12791
|
+
'createdAt',
|
|
12792
|
+
'groupMemberCount',
|
|
12793
|
+
'groupName',
|
|
12794
|
+
'ownerDid',
|
|
12795
|
+
'rev',
|
|
12796
|
+
'subjectDid',
|
|
12797
|
+
],
|
|
12798
|
+
properties: {
|
|
12799
|
+
actorDid: {
|
|
12800
|
+
description: 'The DID of the owner rejecting the request.',
|
|
12801
|
+
type: 'string',
|
|
12802
|
+
format: 'did',
|
|
12803
|
+
},
|
|
12804
|
+
convoCreatedAt: {
|
|
12805
|
+
description: 'When the group was originally created.',
|
|
12806
|
+
type: 'string',
|
|
12807
|
+
format: 'datetime',
|
|
12808
|
+
},
|
|
12809
|
+
convoId: {
|
|
12810
|
+
type: 'string',
|
|
12811
|
+
},
|
|
12812
|
+
createdAt: {
|
|
12813
|
+
type: 'string',
|
|
12814
|
+
format: 'datetime',
|
|
12815
|
+
},
|
|
12816
|
+
groupMemberCount: {
|
|
12817
|
+
description: 'Current member count at the time of the event.',
|
|
12818
|
+
type: 'integer',
|
|
12819
|
+
},
|
|
12820
|
+
groupName: {
|
|
12821
|
+
type: 'string',
|
|
12822
|
+
},
|
|
12823
|
+
ownerDid: {
|
|
12824
|
+
description: 'The DID of the group chat owner.',
|
|
12825
|
+
type: 'string',
|
|
12826
|
+
format: 'did',
|
|
12827
|
+
},
|
|
12828
|
+
rev: {
|
|
12829
|
+
type: 'string',
|
|
12830
|
+
},
|
|
12831
|
+
subjectDid: {
|
|
12832
|
+
description: 'The DID of the member whose request was rejected.',
|
|
12833
|
+
type: 'string',
|
|
12834
|
+
format: 'did',
|
|
12835
|
+
},
|
|
12836
|
+
},
|
|
12837
|
+
},
|
|
12838
|
+
eventChatAccepted: {
|
|
12839
|
+
type: 'object',
|
|
12840
|
+
description: 'Fired when a user accepts a chat convo, either explicitly or by sending a message.',
|
|
12841
|
+
required: [
|
|
12842
|
+
'actorDid',
|
|
12843
|
+
'convoCreatedAt',
|
|
12844
|
+
'convoId',
|
|
12845
|
+
'createdAt',
|
|
12846
|
+
'method',
|
|
12847
|
+
'rev',
|
|
12848
|
+
],
|
|
12849
|
+
properties: {
|
|
12850
|
+
actorDid: {
|
|
12851
|
+
description: 'The DID of the person accepting the convo.',
|
|
12852
|
+
type: 'string',
|
|
12853
|
+
format: 'did',
|
|
12854
|
+
},
|
|
12855
|
+
convoCreatedAt: {
|
|
12856
|
+
description: 'When the convo was originally created.',
|
|
12857
|
+
type: 'string',
|
|
12858
|
+
format: 'datetime',
|
|
12859
|
+
},
|
|
12860
|
+
convoId: {
|
|
12861
|
+
type: 'string',
|
|
12862
|
+
},
|
|
12863
|
+
createdAt: {
|
|
12864
|
+
type: 'string',
|
|
12865
|
+
format: 'datetime',
|
|
12866
|
+
},
|
|
12867
|
+
groupMemberCount: {
|
|
12868
|
+
description: 'Current member count at the time of the event. Only present for group convos.',
|
|
12869
|
+
type: 'integer',
|
|
12870
|
+
},
|
|
12871
|
+
groupName: {
|
|
12872
|
+
description: 'The name of the group chat. Only present for group convos.',
|
|
12873
|
+
type: 'string',
|
|
12874
|
+
},
|
|
12875
|
+
method: {
|
|
12876
|
+
description: 'How the convo was accepted.',
|
|
12877
|
+
type: 'string',
|
|
12878
|
+
knownValues: ['explicit', 'message'],
|
|
12879
|
+
},
|
|
12880
|
+
ownerDid: {
|
|
12881
|
+
description: 'The DID of the group chat owner. Only present for group convos.',
|
|
12882
|
+
type: 'string',
|
|
12883
|
+
format: 'did',
|
|
12884
|
+
},
|
|
12885
|
+
rev: {
|
|
12886
|
+
type: 'string',
|
|
12887
|
+
},
|
|
12888
|
+
},
|
|
12889
|
+
},
|
|
12890
|
+
eventGroupChatMemberLeft: {
|
|
12891
|
+
type: 'object',
|
|
12892
|
+
description: 'Fired when a member leaves or is removed from a group chat.',
|
|
12893
|
+
required: [
|
|
12894
|
+
'actorDid',
|
|
12895
|
+
'convoCreatedAt',
|
|
12896
|
+
'convoId',
|
|
12897
|
+
'createdAt',
|
|
12898
|
+
'groupMemberCount',
|
|
12899
|
+
'groupName',
|
|
12900
|
+
'leaveMethod',
|
|
12901
|
+
'ownerDid',
|
|
12902
|
+
'rev',
|
|
12903
|
+
'subjectDid',
|
|
12904
|
+
],
|
|
12905
|
+
properties: {
|
|
12906
|
+
actorDid: {
|
|
12907
|
+
description: 'The DID of the actor. For voluntary: the person leaving. For kicked: the owner.',
|
|
12908
|
+
type: 'string',
|
|
12909
|
+
format: 'did',
|
|
12910
|
+
},
|
|
12911
|
+
convoCreatedAt: {
|
|
12912
|
+
description: 'When the group was originally created.',
|
|
12913
|
+
type: 'string',
|
|
12914
|
+
format: 'datetime',
|
|
12915
|
+
},
|
|
12916
|
+
convoId: {
|
|
12917
|
+
type: 'string',
|
|
12918
|
+
},
|
|
12919
|
+
createdAt: {
|
|
12920
|
+
type: 'string',
|
|
12921
|
+
format: 'datetime',
|
|
12922
|
+
},
|
|
12923
|
+
groupMemberCount: {
|
|
12924
|
+
description: 'Current member count at the time of the event.',
|
|
12925
|
+
type: 'integer',
|
|
12926
|
+
},
|
|
12927
|
+
groupName: {
|
|
12928
|
+
type: 'string',
|
|
12929
|
+
},
|
|
12930
|
+
leaveMethod: {
|
|
12931
|
+
description: 'How the member left.',
|
|
12932
|
+
type: 'string',
|
|
12933
|
+
knownValues: ['voluntary', 'kicked'],
|
|
12934
|
+
},
|
|
12935
|
+
ownerDid: {
|
|
12936
|
+
description: 'The DID of the group chat owner.',
|
|
12937
|
+
type: 'string',
|
|
12938
|
+
format: 'did',
|
|
12939
|
+
},
|
|
12940
|
+
rev: {
|
|
12941
|
+
type: 'string',
|
|
12942
|
+
},
|
|
12943
|
+
subjectDid: {
|
|
12944
|
+
description: 'The DID of the member who left or was removed.',
|
|
12945
|
+
type: 'string',
|
|
12946
|
+
format: 'did',
|
|
12947
|
+
},
|
|
12948
|
+
},
|
|
12949
|
+
},
|
|
12950
|
+
eventGroupChatUpdated: {
|
|
12951
|
+
type: 'object',
|
|
12952
|
+
description: "Fired when a group chat's metadata or status changes.",
|
|
12953
|
+
required: [
|
|
12954
|
+
'actorDid',
|
|
12955
|
+
'convoCreatedAt',
|
|
12956
|
+
'convoId',
|
|
12957
|
+
'createdAt',
|
|
12958
|
+
'groupMemberCount',
|
|
12959
|
+
'groupName',
|
|
12960
|
+
'ownerDid',
|
|
12961
|
+
'rev',
|
|
12962
|
+
'updateType',
|
|
12963
|
+
],
|
|
12964
|
+
properties: {
|
|
12965
|
+
actorDid: {
|
|
12966
|
+
description: 'The DID of the actor performing the action (the owner).',
|
|
12967
|
+
type: 'string',
|
|
12968
|
+
format: 'did',
|
|
12969
|
+
},
|
|
12970
|
+
convoCreatedAt: {
|
|
12971
|
+
description: 'When the group was originally created.',
|
|
12972
|
+
type: 'string',
|
|
12973
|
+
format: 'datetime',
|
|
12974
|
+
},
|
|
12975
|
+
convoId: {
|
|
12976
|
+
type: 'string',
|
|
12977
|
+
},
|
|
12978
|
+
createdAt: {
|
|
12979
|
+
type: 'string',
|
|
12980
|
+
format: 'datetime',
|
|
12981
|
+
},
|
|
12982
|
+
groupMemberCount: {
|
|
12983
|
+
description: 'Current member count at the time of the event.',
|
|
12984
|
+
type: 'integer',
|
|
12985
|
+
},
|
|
12986
|
+
groupName: {
|
|
12987
|
+
description: 'Current group name.',
|
|
12988
|
+
type: 'string',
|
|
12989
|
+
},
|
|
12990
|
+
joinLinkCode: {
|
|
12991
|
+
description: 'The code of the join link. Only present when updateType is join-link-related.',
|
|
12992
|
+
type: 'string',
|
|
12993
|
+
},
|
|
12994
|
+
joinLinkFollowersOnly: {
|
|
12995
|
+
description: 'Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related.',
|
|
12996
|
+
type: 'boolean',
|
|
12997
|
+
},
|
|
12998
|
+
joinLinkRequiresApproval: {
|
|
12999
|
+
description: 'Whether the join link requires owner approval to join. Only present when updateType is join-link-related.',
|
|
13000
|
+
type: 'boolean',
|
|
13001
|
+
},
|
|
13002
|
+
lockReason: {
|
|
13003
|
+
description: "Why the group was locked. Only present when updateType is 'locked'.",
|
|
13004
|
+
type: 'string',
|
|
13005
|
+
knownValues: [
|
|
13006
|
+
'owner_action',
|
|
13007
|
+
'owner_left',
|
|
13008
|
+
'owner_deactivated',
|
|
13009
|
+
'owner_deleted',
|
|
13010
|
+
'owner_taken_down',
|
|
13011
|
+
'label_applied',
|
|
13012
|
+
],
|
|
13013
|
+
},
|
|
13014
|
+
newName: {
|
|
13015
|
+
description: "The new group name. Only present when updateType is 'name_changed'.",
|
|
13016
|
+
type: 'string',
|
|
13017
|
+
},
|
|
13018
|
+
oldName: {
|
|
13019
|
+
description: "The previous group name. Only present when updateType is 'name_changed'.",
|
|
13020
|
+
type: 'string',
|
|
13021
|
+
},
|
|
13022
|
+
ownerDid: {
|
|
13023
|
+
description: 'The DID of the group chat owner.',
|
|
13024
|
+
type: 'string',
|
|
13025
|
+
format: 'did',
|
|
13026
|
+
},
|
|
13027
|
+
rev: {
|
|
13028
|
+
type: 'string',
|
|
13029
|
+
},
|
|
13030
|
+
updateType: {
|
|
13031
|
+
description: 'What changed.',
|
|
13032
|
+
type: 'string',
|
|
13033
|
+
knownValues: [
|
|
13034
|
+
'name_changed',
|
|
13035
|
+
'locked',
|
|
13036
|
+
'locked_permanently',
|
|
13037
|
+
'unlocked',
|
|
13038
|
+
'join_link_created',
|
|
13039
|
+
'join_link_disabled',
|
|
13040
|
+
'join_link_settings_changed',
|
|
13041
|
+
],
|
|
13042
|
+
},
|
|
13043
|
+
},
|
|
13044
|
+
},
|
|
12458
13045
|
},
|
|
12459
13046
|
},
|
|
12460
13047
|
ChatBskyModerationUpdateActorAccess: {
|