@atproto/pds 0.4.132 → 0.4.134
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 +20 -0
- package/dist/lexicon/index.d.ts +19 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +56 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +976 -80
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +485 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.d.ts +81 -0
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.js +61 -0
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts +3 -1
- package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts +3 -1
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/defs.js +3 -1
- package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/verification/defs.d.ts +43 -0
- package/dist/lexicon/types/tools/ozone/verification/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/defs.js +16 -0
- package/dist/lexicon/types/tools/ozone/verification/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.d.ts +66 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.js +25 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.d.ts +52 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.js +7 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.d.ts +56 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.js +16 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.js.map +1 -0
- package/dist/pipethrough.js +3 -0
- package/dist/pipethrough.js.map +1 -1
- package/package.json +7 -7
- package/src/lexicon/index.ts +69 -0
- package/src/lexicon/lexicons.ts +505 -1
- package/src/lexicon/types/chat/bsky/actor/defs.ts +1 -1
- package/src/lexicon/types/tools/ozone/hosting/getAccountHistory.ts +161 -0
- package/src/lexicon/types/tools/ozone/server/getConfig.ts +3 -0
- package/src/lexicon/types/tools/ozone/setting/defs.ts +1 -0
- package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +1 -0
- package/src/lexicon/types/tools/ozone/team/addMember.ts +1 -0
- package/src/lexicon/types/tools/ozone/team/defs.ts +3 -0
- package/src/lexicon/types/tools/ozone/team/updateMember.ts +1 -0
- package/src/lexicon/types/tools/ozone/verification/defs.ts +59 -0
- package/src/lexicon/types/tools/ozone/verification/grantVerifications.ts +100 -0
- package/src/lexicon/types/tools/ozone/verification/listVerifications.ts +70 -0
- package/src/lexicon/types/tools/ozone/verification/revokeVerifications.ts +81 -0
- package/src/pipethrough.ts +3 -0
- package/tests/proxied/views.test.ts +53 -53
- package/tsconfig.build.tsbuildinfo +1 -1
package/src/lexicon/lexicons.ts
CHANGED
@@ -11104,7 +11104,7 @@ export const schemaDict = {
|
|
11104
11104
|
chatDisabled: {
|
11105
11105
|
type: 'boolean',
|
11106
11106
|
description:
|
11107
|
-
'Set to true when the actor cannot actively participate in
|
11107
|
+
'Set to true when the actor cannot actively participate in conversations',
|
11108
11108
|
},
|
11109
11109
|
verification: {
|
11110
11110
|
type: 'ref',
|
@@ -12575,6 +12575,137 @@ export const schemaDict = {
|
|
12575
12575
|
},
|
12576
12576
|
},
|
12577
12577
|
},
|
12578
|
+
ToolsOzoneHostingGetAccountHistory: {
|
12579
|
+
lexicon: 1,
|
12580
|
+
id: 'tools.ozone.hosting.getAccountHistory',
|
12581
|
+
defs: {
|
12582
|
+
main: {
|
12583
|
+
type: 'query',
|
12584
|
+
description:
|
12585
|
+
'Get account history, e.g. log of updated email addresses or other identity information.',
|
12586
|
+
parameters: {
|
12587
|
+
type: 'params',
|
12588
|
+
required: ['did'],
|
12589
|
+
properties: {
|
12590
|
+
did: {
|
12591
|
+
type: 'string',
|
12592
|
+
format: 'did',
|
12593
|
+
},
|
12594
|
+
events: {
|
12595
|
+
type: 'array',
|
12596
|
+
items: {
|
12597
|
+
type: 'string',
|
12598
|
+
knownValues: [
|
12599
|
+
'accountCreated',
|
12600
|
+
'emailUpdated',
|
12601
|
+
'emailConfirmed',
|
12602
|
+
'passwordUpdated',
|
12603
|
+
'handleUpdated',
|
12604
|
+
],
|
12605
|
+
},
|
12606
|
+
},
|
12607
|
+
cursor: {
|
12608
|
+
type: 'string',
|
12609
|
+
},
|
12610
|
+
limit: {
|
12611
|
+
type: 'integer',
|
12612
|
+
minimum: 1,
|
12613
|
+
maximum: 100,
|
12614
|
+
default: 50,
|
12615
|
+
},
|
12616
|
+
},
|
12617
|
+
},
|
12618
|
+
output: {
|
12619
|
+
encoding: 'application/json',
|
12620
|
+
schema: {
|
12621
|
+
type: 'object',
|
12622
|
+
required: ['events'],
|
12623
|
+
properties: {
|
12624
|
+
cursor: {
|
12625
|
+
type: 'string',
|
12626
|
+
},
|
12627
|
+
events: {
|
12628
|
+
type: 'array',
|
12629
|
+
items: {
|
12630
|
+
type: 'ref',
|
12631
|
+
ref: 'lex:tools.ozone.hosting.getAccountHistory#event',
|
12632
|
+
},
|
12633
|
+
},
|
12634
|
+
},
|
12635
|
+
},
|
12636
|
+
},
|
12637
|
+
},
|
12638
|
+
event: {
|
12639
|
+
type: 'object',
|
12640
|
+
required: ['details', 'createdBy', 'createdAt'],
|
12641
|
+
properties: {
|
12642
|
+
details: {
|
12643
|
+
type: 'union',
|
12644
|
+
refs: [
|
12645
|
+
'lex:tools.ozone.hosting.getAccountHistory#accountCreated',
|
12646
|
+
'lex:tools.ozone.hosting.getAccountHistory#emailUpdated',
|
12647
|
+
'lex:tools.ozone.hosting.getAccountHistory#emailConfirmed',
|
12648
|
+
'lex:tools.ozone.hosting.getAccountHistory#passwordUpdated',
|
12649
|
+
'lex:tools.ozone.hosting.getAccountHistory#handleUpdated',
|
12650
|
+
],
|
12651
|
+
},
|
12652
|
+
createdBy: {
|
12653
|
+
type: 'string',
|
12654
|
+
},
|
12655
|
+
createdAt: {
|
12656
|
+
type: 'string',
|
12657
|
+
format: 'datetime',
|
12658
|
+
},
|
12659
|
+
},
|
12660
|
+
},
|
12661
|
+
accountCreated: {
|
12662
|
+
type: 'object',
|
12663
|
+
required: [],
|
12664
|
+
properties: {
|
12665
|
+
email: {
|
12666
|
+
type: 'string',
|
12667
|
+
},
|
12668
|
+
handle: {
|
12669
|
+
type: 'string',
|
12670
|
+
format: 'handle',
|
12671
|
+
},
|
12672
|
+
},
|
12673
|
+
},
|
12674
|
+
emailUpdated: {
|
12675
|
+
type: 'object',
|
12676
|
+
required: ['email'],
|
12677
|
+
properties: {
|
12678
|
+
email: {
|
12679
|
+
type: 'string',
|
12680
|
+
},
|
12681
|
+
},
|
12682
|
+
},
|
12683
|
+
emailConfirmed: {
|
12684
|
+
type: 'object',
|
12685
|
+
required: ['email'],
|
12686
|
+
properties: {
|
12687
|
+
email: {
|
12688
|
+
type: 'string',
|
12689
|
+
},
|
12690
|
+
},
|
12691
|
+
},
|
12692
|
+
passwordUpdated: {
|
12693
|
+
type: 'object',
|
12694
|
+
required: [],
|
12695
|
+
properties: {},
|
12696
|
+
},
|
12697
|
+
handleUpdated: {
|
12698
|
+
type: 'object',
|
12699
|
+
required: ['handle'],
|
12700
|
+
properties: {
|
12701
|
+
handle: {
|
12702
|
+
type: 'string',
|
12703
|
+
format: 'handle',
|
12704
|
+
},
|
12705
|
+
},
|
12706
|
+
},
|
12707
|
+
},
|
12708
|
+
},
|
12578
12709
|
ToolsOzoneModerationDefs: {
|
12579
12710
|
lexicon: 1,
|
12580
12711
|
id: 'tools.ozone.moderation.defs',
|
@@ -14521,6 +14652,11 @@ export const schemaDict = {
|
|
14521
14652
|
type: 'ref',
|
14522
14653
|
ref: 'lex:tools.ozone.server.getConfig#viewerConfig',
|
14523
14654
|
},
|
14655
|
+
verifierDid: {
|
14656
|
+
type: 'string',
|
14657
|
+
format: 'did',
|
14658
|
+
description: 'The did of the verifier used for verification.',
|
14659
|
+
},
|
14524
14660
|
},
|
14525
14661
|
},
|
14526
14662
|
},
|
@@ -14543,6 +14679,7 @@ export const schemaDict = {
|
|
14543
14679
|
'tools.ozone.team.defs#roleAdmin',
|
14544
14680
|
'tools.ozone.team.defs#roleModerator',
|
14545
14681
|
'tools.ozone.team.defs#roleTriage',
|
14682
|
+
'tools.ozone.team.defs#roleVerifier',
|
14546
14683
|
],
|
14547
14684
|
},
|
14548
14685
|
},
|
@@ -14888,6 +15025,7 @@ export const schemaDict = {
|
|
14888
15025
|
'tools.ozone.team.defs#roleModerator',
|
14889
15026
|
'tools.ozone.team.defs#roleTriage',
|
14890
15027
|
'tools.ozone.team.defs#roleAdmin',
|
15028
|
+
'tools.ozone.team.defs#roleVerifier',
|
14891
15029
|
],
|
14892
15030
|
},
|
14893
15031
|
scope: {
|
@@ -15040,6 +15178,7 @@ export const schemaDict = {
|
|
15040
15178
|
knownValues: [
|
15041
15179
|
'tools.ozone.team.defs#roleModerator',
|
15042
15180
|
'tools.ozone.team.defs#roleTriage',
|
15181
|
+
'tools.ozone.team.defs#roleVerifier',
|
15043
15182
|
'tools.ozone.team.defs#roleAdmin',
|
15044
15183
|
],
|
15045
15184
|
},
|
@@ -15259,6 +15398,7 @@ export const schemaDict = {
|
|
15259
15398
|
knownValues: [
|
15260
15399
|
'tools.ozone.team.defs#roleAdmin',
|
15261
15400
|
'tools.ozone.team.defs#roleModerator',
|
15401
|
+
'tools.ozone.team.defs#roleVerifier',
|
15262
15402
|
'tools.ozone.team.defs#roleTriage',
|
15263
15403
|
],
|
15264
15404
|
},
|
@@ -15317,6 +15457,7 @@ export const schemaDict = {
|
|
15317
15457
|
'lex:tools.ozone.team.defs#roleAdmin',
|
15318
15458
|
'lex:tools.ozone.team.defs#roleModerator',
|
15319
15459
|
'lex:tools.ozone.team.defs#roleTriage',
|
15460
|
+
'lex:tools.ozone.team.defs#roleVerifier',
|
15320
15461
|
],
|
15321
15462
|
},
|
15322
15463
|
},
|
@@ -15335,6 +15476,10 @@ export const schemaDict = {
|
|
15335
15476
|
description:
|
15336
15477
|
'Triage role. Mostly intended for monitoring and escalating issues.',
|
15337
15478
|
},
|
15479
|
+
roleVerifier: {
|
15480
|
+
type: 'token',
|
15481
|
+
description: 'Verifier role. Only allowed to issue verifications.',
|
15482
|
+
},
|
15338
15483
|
},
|
15339
15484
|
},
|
15340
15485
|
ToolsOzoneTeamDeleteMember: {
|
@@ -15451,6 +15596,7 @@ export const schemaDict = {
|
|
15451
15596
|
knownValues: [
|
15452
15597
|
'tools.ozone.team.defs#roleAdmin',
|
15453
15598
|
'tools.ozone.team.defs#roleModerator',
|
15599
|
+
'tools.ozone.team.defs#roleVerifier',
|
15454
15600
|
'tools.ozone.team.defs#roleTriage',
|
15455
15601
|
],
|
15456
15602
|
},
|
@@ -15473,6 +15619,356 @@ export const schemaDict = {
|
|
15473
15619
|
},
|
15474
15620
|
},
|
15475
15621
|
},
|
15622
|
+
ToolsOzoneVerificationDefs: {
|
15623
|
+
lexicon: 1,
|
15624
|
+
id: 'tools.ozone.verification.defs',
|
15625
|
+
defs: {
|
15626
|
+
verificationView: {
|
15627
|
+
type: 'object',
|
15628
|
+
description: 'Verification data for the associated subject.',
|
15629
|
+
required: [
|
15630
|
+
'issuer',
|
15631
|
+
'uri',
|
15632
|
+
'subject',
|
15633
|
+
'handle',
|
15634
|
+
'displayName',
|
15635
|
+
'createdAt',
|
15636
|
+
],
|
15637
|
+
properties: {
|
15638
|
+
issuer: {
|
15639
|
+
type: 'string',
|
15640
|
+
description: 'The user who issued this verification.',
|
15641
|
+
format: 'did',
|
15642
|
+
},
|
15643
|
+
uri: {
|
15644
|
+
type: 'string',
|
15645
|
+
description: 'The AT-URI of the verification record.',
|
15646
|
+
format: 'at-uri',
|
15647
|
+
},
|
15648
|
+
subject: {
|
15649
|
+
type: 'string',
|
15650
|
+
format: 'did',
|
15651
|
+
description: 'The subject of the verification.',
|
15652
|
+
},
|
15653
|
+
handle: {
|
15654
|
+
type: 'string',
|
15655
|
+
description:
|
15656
|
+
'Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying.',
|
15657
|
+
format: 'handle',
|
15658
|
+
},
|
15659
|
+
displayName: {
|
15660
|
+
type: 'string',
|
15661
|
+
description:
|
15662
|
+
'Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying.',
|
15663
|
+
},
|
15664
|
+
createdAt: {
|
15665
|
+
type: 'string',
|
15666
|
+
description: 'Timestamp when the verification was created.',
|
15667
|
+
format: 'datetime',
|
15668
|
+
},
|
15669
|
+
revokeReason: {
|
15670
|
+
type: 'string',
|
15671
|
+
description:
|
15672
|
+
'Describes the reason for revocation, also indicating that the verification is no longer valid.',
|
15673
|
+
},
|
15674
|
+
revokedAt: {
|
15675
|
+
type: 'string',
|
15676
|
+
description: 'Timestamp when the verification was revoked.',
|
15677
|
+
format: 'datetime',
|
15678
|
+
},
|
15679
|
+
revokedBy: {
|
15680
|
+
type: 'string',
|
15681
|
+
description: 'The user who revoked this verification.',
|
15682
|
+
format: 'did',
|
15683
|
+
},
|
15684
|
+
subjectProfile: {
|
15685
|
+
type: 'union',
|
15686
|
+
refs: [],
|
15687
|
+
},
|
15688
|
+
issuerProfile: {
|
15689
|
+
type: 'union',
|
15690
|
+
refs: [],
|
15691
|
+
},
|
15692
|
+
subjectRepo: {
|
15693
|
+
type: 'union',
|
15694
|
+
refs: [
|
15695
|
+
'lex:tools.ozone.moderation.defs#repoViewDetail',
|
15696
|
+
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
15697
|
+
],
|
15698
|
+
},
|
15699
|
+
issuerRepo: {
|
15700
|
+
type: 'union',
|
15701
|
+
refs: [
|
15702
|
+
'lex:tools.ozone.moderation.defs#repoViewDetail',
|
15703
|
+
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
15704
|
+
],
|
15705
|
+
},
|
15706
|
+
},
|
15707
|
+
},
|
15708
|
+
},
|
15709
|
+
},
|
15710
|
+
ToolsOzoneVerificationGrantVerifications: {
|
15711
|
+
lexicon: 1,
|
15712
|
+
id: 'tools.ozone.verification.grantVerifications',
|
15713
|
+
defs: {
|
15714
|
+
main: {
|
15715
|
+
type: 'procedure',
|
15716
|
+
description:
|
15717
|
+
'Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.',
|
15718
|
+
input: {
|
15719
|
+
encoding: 'application/json',
|
15720
|
+
schema: {
|
15721
|
+
type: 'object',
|
15722
|
+
required: ['verifications'],
|
15723
|
+
properties: {
|
15724
|
+
verifications: {
|
15725
|
+
type: 'array',
|
15726
|
+
description: 'Array of verification requests to process',
|
15727
|
+
maxLength: 100,
|
15728
|
+
items: {
|
15729
|
+
type: 'ref',
|
15730
|
+
ref: 'lex:tools.ozone.verification.grantVerifications#verificationInput',
|
15731
|
+
},
|
15732
|
+
},
|
15733
|
+
},
|
15734
|
+
},
|
15735
|
+
},
|
15736
|
+
output: {
|
15737
|
+
encoding: 'application/json',
|
15738
|
+
schema: {
|
15739
|
+
type: 'object',
|
15740
|
+
required: ['verifications', 'failedVerifications'],
|
15741
|
+
properties: {
|
15742
|
+
verifications: {
|
15743
|
+
type: 'array',
|
15744
|
+
items: {
|
15745
|
+
type: 'ref',
|
15746
|
+
ref: 'lex:tools.ozone.verification.defs#verificationView',
|
15747
|
+
},
|
15748
|
+
},
|
15749
|
+
failedVerifications: {
|
15750
|
+
type: 'array',
|
15751
|
+
items: {
|
15752
|
+
type: 'ref',
|
15753
|
+
ref: 'lex:tools.ozone.verification.grantVerifications#grantError',
|
15754
|
+
},
|
15755
|
+
},
|
15756
|
+
},
|
15757
|
+
},
|
15758
|
+
},
|
15759
|
+
},
|
15760
|
+
verificationInput: {
|
15761
|
+
type: 'object',
|
15762
|
+
required: ['subject', 'handle', 'displayName'],
|
15763
|
+
properties: {
|
15764
|
+
subject: {
|
15765
|
+
type: 'string',
|
15766
|
+
description: 'The did of the subject being verified',
|
15767
|
+
format: 'did',
|
15768
|
+
},
|
15769
|
+
handle: {
|
15770
|
+
type: 'string',
|
15771
|
+
description:
|
15772
|
+
'Handle of the subject the verification applies to at the moment of verifying.',
|
15773
|
+
format: 'handle',
|
15774
|
+
},
|
15775
|
+
displayName: {
|
15776
|
+
type: 'string',
|
15777
|
+
description:
|
15778
|
+
'Display name of the subject the verification applies to at the moment of verifying.',
|
15779
|
+
},
|
15780
|
+
createdAt: {
|
15781
|
+
type: 'string',
|
15782
|
+
description:
|
15783
|
+
'Timestamp for verification record. Defaults to current time when not specified.',
|
15784
|
+
},
|
15785
|
+
},
|
15786
|
+
},
|
15787
|
+
grantError: {
|
15788
|
+
type: 'object',
|
15789
|
+
description: 'Error object for failed verifications.',
|
15790
|
+
required: ['error', 'subject'],
|
15791
|
+
properties: {
|
15792
|
+
error: {
|
15793
|
+
type: 'string',
|
15794
|
+
description: 'Error message describing the reason for failure.',
|
15795
|
+
},
|
15796
|
+
subject: {
|
15797
|
+
type: 'string',
|
15798
|
+
description: 'The did of the subject being verified',
|
15799
|
+
format: 'did',
|
15800
|
+
},
|
15801
|
+
},
|
15802
|
+
},
|
15803
|
+
},
|
15804
|
+
},
|
15805
|
+
ToolsOzoneVerificationListVerifications: {
|
15806
|
+
lexicon: 1,
|
15807
|
+
id: 'tools.ozone.verification.listVerifications',
|
15808
|
+
defs: {
|
15809
|
+
main: {
|
15810
|
+
type: 'query',
|
15811
|
+
description: 'List verifications',
|
15812
|
+
parameters: {
|
15813
|
+
type: 'params',
|
15814
|
+
properties: {
|
15815
|
+
cursor: {
|
15816
|
+
type: 'string',
|
15817
|
+
description: 'Pagination cursor',
|
15818
|
+
},
|
15819
|
+
limit: {
|
15820
|
+
type: 'integer',
|
15821
|
+
description: 'Maximum number of results to return',
|
15822
|
+
minimum: 1,
|
15823
|
+
maximum: 100,
|
15824
|
+
default: 50,
|
15825
|
+
},
|
15826
|
+
createdAfter: {
|
15827
|
+
type: 'string',
|
15828
|
+
format: 'datetime',
|
15829
|
+
description:
|
15830
|
+
'Filter to verifications created after this timestamp',
|
15831
|
+
},
|
15832
|
+
createdBefore: {
|
15833
|
+
type: 'string',
|
15834
|
+
format: 'datetime',
|
15835
|
+
description:
|
15836
|
+
'Filter to verifications created before this timestamp',
|
15837
|
+
},
|
15838
|
+
issuers: {
|
15839
|
+
type: 'array',
|
15840
|
+
maxLength: 100,
|
15841
|
+
description: 'Filter to verifications from specific issuers',
|
15842
|
+
items: {
|
15843
|
+
type: 'string',
|
15844
|
+
format: 'did',
|
15845
|
+
},
|
15846
|
+
},
|
15847
|
+
subjects: {
|
15848
|
+
type: 'array',
|
15849
|
+
description: 'Filter to specific verified DIDs',
|
15850
|
+
maxLength: 100,
|
15851
|
+
items: {
|
15852
|
+
type: 'string',
|
15853
|
+
format: 'did',
|
15854
|
+
},
|
15855
|
+
},
|
15856
|
+
sortDirection: {
|
15857
|
+
type: 'string',
|
15858
|
+
description: 'Sort direction for creation date',
|
15859
|
+
enum: ['asc', 'desc'],
|
15860
|
+
default: 'desc',
|
15861
|
+
},
|
15862
|
+
isRevoked: {
|
15863
|
+
type: 'boolean',
|
15864
|
+
description:
|
15865
|
+
'Filter to verifications that are revoked or not. By default, includes both.',
|
15866
|
+
},
|
15867
|
+
},
|
15868
|
+
},
|
15869
|
+
output: {
|
15870
|
+
encoding: 'application/json',
|
15871
|
+
schema: {
|
15872
|
+
type: 'object',
|
15873
|
+
required: ['verifications'],
|
15874
|
+
properties: {
|
15875
|
+
cursor: {
|
15876
|
+
type: 'string',
|
15877
|
+
},
|
15878
|
+
verifications: {
|
15879
|
+
type: 'array',
|
15880
|
+
items: {
|
15881
|
+
type: 'ref',
|
15882
|
+
ref: 'lex:tools.ozone.verification.defs#verificationView',
|
15883
|
+
},
|
15884
|
+
},
|
15885
|
+
},
|
15886
|
+
},
|
15887
|
+
},
|
15888
|
+
},
|
15889
|
+
},
|
15890
|
+
},
|
15891
|
+
ToolsOzoneVerificationRevokeVerifications: {
|
15892
|
+
lexicon: 1,
|
15893
|
+
id: 'tools.ozone.verification.revokeVerifications',
|
15894
|
+
defs: {
|
15895
|
+
main: {
|
15896
|
+
type: 'procedure',
|
15897
|
+
description:
|
15898
|
+
'Revoke previously granted verifications in batches of up to 100.',
|
15899
|
+
input: {
|
15900
|
+
encoding: 'application/json',
|
15901
|
+
schema: {
|
15902
|
+
type: 'object',
|
15903
|
+
required: ['uris'],
|
15904
|
+
properties: {
|
15905
|
+
uris: {
|
15906
|
+
type: 'array',
|
15907
|
+
description: 'Array of verification record uris to revoke',
|
15908
|
+
maxLength: 100,
|
15909
|
+
items: {
|
15910
|
+
type: 'string',
|
15911
|
+
description:
|
15912
|
+
'The AT-URI of the verification record to revoke.',
|
15913
|
+
format: 'at-uri',
|
15914
|
+
},
|
15915
|
+
},
|
15916
|
+
revokeReason: {
|
15917
|
+
type: 'string',
|
15918
|
+
description:
|
15919
|
+
'Reason for revoking the verification. This is optional and can be omitted if not needed.',
|
15920
|
+
maxLength: 1000,
|
15921
|
+
},
|
15922
|
+
},
|
15923
|
+
},
|
15924
|
+
},
|
15925
|
+
output: {
|
15926
|
+
encoding: 'application/json',
|
15927
|
+
schema: {
|
15928
|
+
type: 'object',
|
15929
|
+
required: ['revokedVerifications', 'failedRevocations'],
|
15930
|
+
properties: {
|
15931
|
+
revokedVerifications: {
|
15932
|
+
type: 'array',
|
15933
|
+
description: 'List of verification uris successfully revoked',
|
15934
|
+
items: {
|
15935
|
+
type: 'string',
|
15936
|
+
format: 'at-uri',
|
15937
|
+
},
|
15938
|
+
},
|
15939
|
+
failedRevocations: {
|
15940
|
+
type: 'array',
|
15941
|
+
description:
|
15942
|
+
"List of verification uris that couldn't be revoked, including failure reasons",
|
15943
|
+
items: {
|
15944
|
+
type: 'ref',
|
15945
|
+
ref: 'lex:tools.ozone.verification.revokeVerifications#revokeError',
|
15946
|
+
},
|
15947
|
+
},
|
15948
|
+
},
|
15949
|
+
},
|
15950
|
+
},
|
15951
|
+
},
|
15952
|
+
revokeError: {
|
15953
|
+
type: 'object',
|
15954
|
+
description: 'Error object for failed revocations',
|
15955
|
+
required: ['uri', 'error'],
|
15956
|
+
properties: {
|
15957
|
+
uri: {
|
15958
|
+
type: 'string',
|
15959
|
+
description:
|
15960
|
+
'The AT-URI of the verification record that failed to revoke.',
|
15961
|
+
format: 'at-uri',
|
15962
|
+
},
|
15963
|
+
error: {
|
15964
|
+
type: 'string',
|
15965
|
+
description:
|
15966
|
+
'Description of the error that occurred during revocation.',
|
15967
|
+
},
|
15968
|
+
},
|
15969
|
+
},
|
15970
|
+
},
|
15971
|
+
},
|
15476
15972
|
} as const satisfies Record<string, LexiconDoc>
|
15477
15973
|
export const schemas = Object.values(schemaDict) satisfies LexiconDoc[]
|
15478
15974
|
export const lexicons: Lexicons = new Lexicons(schemas)
|
@@ -15753,6 +16249,7 @@ export const ids = {
|
|
15753
16249
|
'tools.ozone.communication.listTemplates',
|
15754
16250
|
ToolsOzoneCommunicationUpdateTemplate:
|
15755
16251
|
'tools.ozone.communication.updateTemplate',
|
16252
|
+
ToolsOzoneHostingGetAccountHistory: 'tools.ozone.hosting.getAccountHistory',
|
15756
16253
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
15757
16254
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|
15758
16255
|
ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent',
|
@@ -15788,4 +16285,11 @@ export const ids = {
|
|
15788
16285
|
ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',
|
15789
16286
|
ToolsOzoneTeamListMembers: 'tools.ozone.team.listMembers',
|
15790
16287
|
ToolsOzoneTeamUpdateMember: 'tools.ozone.team.updateMember',
|
16288
|
+
ToolsOzoneVerificationDefs: 'tools.ozone.verification.defs',
|
16289
|
+
ToolsOzoneVerificationGrantVerifications:
|
16290
|
+
'tools.ozone.verification.grantVerifications',
|
16291
|
+
ToolsOzoneVerificationListVerifications:
|
16292
|
+
'tools.ozone.verification.listVerifications',
|
16293
|
+
ToolsOzoneVerificationRevokeVerifications:
|
16294
|
+
'tools.ozone.verification.revokeVerifications',
|
15791
16295
|
} as const
|
@@ -25,7 +25,7 @@ export interface ProfileViewBasic {
|
|
25
25
|
associated?: AppBskyActorDefs.ProfileAssociated
|
26
26
|
viewer?: AppBskyActorDefs.ViewerState
|
27
27
|
labels?: ComAtprotoLabelDefs.Label[]
|
28
|
-
/** Set to true when the actor cannot actively participate in
|
28
|
+
/** Set to true when the actor cannot actively participate in conversations */
|
29
29
|
chatDisabled?: boolean
|
30
30
|
verification?: AppBskyActorDefs.VerificationState
|
31
31
|
}
|