@atproto/pds 0.4.133 → 0.4.135
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 +34 -0
- package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js +13 -11
- package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +1 -0
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/background.js +1 -1
- package/dist/background.js.map +1 -1
- package/dist/basic-routes.js +1 -1
- package/dist/basic-routes.js.map +1 -1
- package/dist/error.js +1 -1
- package/dist/error.js.map +1 -1
- package/dist/lexicon/index.d.ts +15 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +36 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +918 -98
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +434 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/status.d.ts +23 -0
- package/dist/lexicon/types/app/bsky/actor/status.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/actor/status.js +19 -0
- package/dist/lexicon/types/app/bsky/actor/status.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/dist/read-after-write/viewer.d.ts +3 -3
- package/dist/sequencer/events.d.ts +16 -16
- package/package.json +16 -16
- package/src/api/com/atproto/identity/resolveHandle.ts +17 -15
- package/src/api/com/atproto/repo/importRepo.ts +1 -0
- package/src/background.ts +1 -1
- package/src/basic-routes.ts +1 -1
- package/src/error.ts +1 -1
- package/src/lexicon/index.ts +50 -0
- package/src/lexicon/lexicons.ts +457 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +26 -0
- package/src/lexicon/types/app/bsky/actor/status.ts +40 -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/dist/lexicon/lexicons.js
CHANGED
@@ -4395,6 +4395,10 @@ exports.schemaDict = {
|
|
4395
4395
|
type: 'ref',
|
4396
4396
|
ref: 'lex:app.bsky.actor.defs#verificationState',
|
4397
4397
|
},
|
4398
|
+
status: {
|
4399
|
+
type: 'ref',
|
4400
|
+
ref: 'lex:app.bsky.actor.defs#statusView',
|
4401
|
+
},
|
4398
4402
|
},
|
4399
4403
|
},
|
4400
4404
|
profileView: {
|
@@ -4450,6 +4454,10 @@ exports.schemaDict = {
|
|
4450
4454
|
type: 'ref',
|
4451
4455
|
ref: 'lex:app.bsky.actor.defs#verificationState',
|
4452
4456
|
},
|
4457
|
+
status: {
|
4458
|
+
type: 'ref',
|
4459
|
+
ref: 'lex:app.bsky.actor.defs#statusView',
|
4460
|
+
},
|
4453
4461
|
},
|
4454
4462
|
},
|
4455
4463
|
profileViewDetailed: {
|
@@ -4526,6 +4534,10 @@ exports.schemaDict = {
|
|
4526
4534
|
type: 'ref',
|
4527
4535
|
ref: 'lex:app.bsky.actor.defs#verificationState',
|
4528
4536
|
},
|
4537
|
+
status: {
|
4538
|
+
type: 'ref',
|
4539
|
+
ref: 'lex:app.bsky.actor.defs#statusView',
|
4540
|
+
},
|
4529
4541
|
},
|
4530
4542
|
},
|
4531
4543
|
profileAssociated: {
|
@@ -5046,6 +5058,34 @@ exports.schemaDict = {
|
|
5046
5058
|
},
|
5047
5059
|
},
|
5048
5060
|
},
|
5061
|
+
statusView: {
|
5062
|
+
type: 'object',
|
5063
|
+
required: ['status', 'record'],
|
5064
|
+
properties: {
|
5065
|
+
status: {
|
5066
|
+
type: 'string',
|
5067
|
+
description: 'The status for the account.',
|
5068
|
+
knownValues: ['app.bsky.actor.status#live'],
|
5069
|
+
},
|
5070
|
+
record: {
|
5071
|
+
type: 'unknown',
|
5072
|
+
},
|
5073
|
+
embed: {
|
5074
|
+
type: 'union',
|
5075
|
+
description: 'An optional embed associated with the status.',
|
5076
|
+
refs: ['lex:app.bsky.embed.external#view'],
|
5077
|
+
},
|
5078
|
+
expiresAt: {
|
5079
|
+
type: 'string',
|
5080
|
+
description: 'The date when this status will expire. The application might choose to no longer return the status after expiration.',
|
5081
|
+
format: 'datetime',
|
5082
|
+
},
|
5083
|
+
isActive: {
|
5084
|
+
type: 'boolean',
|
5085
|
+
description: 'True if the status is not expired, false if it is expired. Only present if expiration was set.',
|
5086
|
+
},
|
5087
|
+
},
|
5088
|
+
},
|
5049
5089
|
},
|
5050
5090
|
},
|
5051
5091
|
AppBskyActorGetPreferences: {
|
@@ -5365,6 +5405,46 @@ exports.schemaDict = {
|
|
5365
5405
|
},
|
5366
5406
|
},
|
5367
5407
|
},
|
5408
|
+
AppBskyActorStatus: {
|
5409
|
+
lexicon: 1,
|
5410
|
+
id: 'app.bsky.actor.status',
|
5411
|
+
defs: {
|
5412
|
+
main: {
|
5413
|
+
type: 'record',
|
5414
|
+
description: 'A declaration of a Bluesky account status.',
|
5415
|
+
key: 'literal:self',
|
5416
|
+
record: {
|
5417
|
+
type: 'object',
|
5418
|
+
required: ['status', 'createdAt'],
|
5419
|
+
properties: {
|
5420
|
+
status: {
|
5421
|
+
type: 'string',
|
5422
|
+
description: 'The status for the account.',
|
5423
|
+
knownValues: ['app.bsky.actor.status#live'],
|
5424
|
+
},
|
5425
|
+
embed: {
|
5426
|
+
type: 'union',
|
5427
|
+
description: 'An optional embed associated with the status.',
|
5428
|
+
refs: ['lex:app.bsky.embed.external'],
|
5429
|
+
},
|
5430
|
+
durationMinutes: {
|
5431
|
+
type: 'integer',
|
5432
|
+
description: 'The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.',
|
5433
|
+
minimum: 1,
|
5434
|
+
},
|
5435
|
+
createdAt: {
|
5436
|
+
type: 'string',
|
5437
|
+
format: 'datetime',
|
5438
|
+
},
|
5439
|
+
},
|
5440
|
+
},
|
5441
|
+
},
|
5442
|
+
live: {
|
5443
|
+
type: 'token',
|
5444
|
+
description: 'Advertises an account as currently offering live content.',
|
5445
|
+
},
|
5446
|
+
},
|
5447
|
+
},
|
5368
5448
|
AppBskyEmbedDefs: {
|
5369
5449
|
lexicon: 1,
|
5370
5450
|
id: 'app.bsky.embed.defs',
|
@@ -14201,6 +14281,11 @@ exports.schemaDict = {
|
|
14201
14281
|
type: 'ref',
|
14202
14282
|
ref: 'lex:tools.ozone.server.getConfig#viewerConfig',
|
14203
14283
|
},
|
14284
|
+
verifierDid: {
|
14285
|
+
type: 'string',
|
14286
|
+
format: 'did',
|
14287
|
+
description: 'The did of the verifier used for verification.',
|
14288
|
+
},
|
14204
14289
|
},
|
14205
14290
|
},
|
14206
14291
|
},
|
@@ -14223,6 +14308,7 @@ exports.schemaDict = {
|
|
14223
14308
|
'tools.ozone.team.defs#roleAdmin',
|
14224
14309
|
'tools.ozone.team.defs#roleModerator',
|
14225
14310
|
'tools.ozone.team.defs#roleTriage',
|
14311
|
+
'tools.ozone.team.defs#roleVerifier',
|
14226
14312
|
],
|
14227
14313
|
},
|
14228
14314
|
},
|
@@ -14565,6 +14651,7 @@ exports.schemaDict = {
|
|
14565
14651
|
'tools.ozone.team.defs#roleModerator',
|
14566
14652
|
'tools.ozone.team.defs#roleTriage',
|
14567
14653
|
'tools.ozone.team.defs#roleAdmin',
|
14654
|
+
'tools.ozone.team.defs#roleVerifier',
|
14568
14655
|
],
|
14569
14656
|
},
|
14570
14657
|
scope: {
|
@@ -14716,6 +14803,7 @@ exports.schemaDict = {
|
|
14716
14803
|
knownValues: [
|
14717
14804
|
'tools.ozone.team.defs#roleModerator',
|
14718
14805
|
'tools.ozone.team.defs#roleTriage',
|
14806
|
+
'tools.ozone.team.defs#roleVerifier',
|
14719
14807
|
'tools.ozone.team.defs#roleAdmin',
|
14720
14808
|
],
|
14721
14809
|
},
|
@@ -14932,6 +15020,7 @@ exports.schemaDict = {
|
|
14932
15020
|
knownValues: [
|
14933
15021
|
'tools.ozone.team.defs#roleAdmin',
|
14934
15022
|
'tools.ozone.team.defs#roleModerator',
|
15023
|
+
'tools.ozone.team.defs#roleVerifier',
|
14935
15024
|
'tools.ozone.team.defs#roleTriage',
|
14936
15025
|
],
|
14937
15026
|
},
|
@@ -14990,6 +15079,7 @@ exports.schemaDict = {
|
|
14990
15079
|
'lex:tools.ozone.team.defs#roleAdmin',
|
14991
15080
|
'lex:tools.ozone.team.defs#roleModerator',
|
14992
15081
|
'lex:tools.ozone.team.defs#roleTriage',
|
15082
|
+
'lex:tools.ozone.team.defs#roleVerifier',
|
14993
15083
|
],
|
14994
15084
|
},
|
14995
15085
|
},
|
@@ -15006,6 +15096,10 @@ exports.schemaDict = {
|
|
15006
15096
|
type: 'token',
|
15007
15097
|
description: 'Triage role. Mostly intended for monitoring and escalating issues.',
|
15008
15098
|
},
|
15099
|
+
roleVerifier: {
|
15100
|
+
type: 'token',
|
15101
|
+
description: 'Verifier role. Only allowed to issue verifications.',
|
15102
|
+
},
|
15009
15103
|
},
|
15010
15104
|
},
|
15011
15105
|
ToolsOzoneTeamDeleteMember: {
|
@@ -15121,6 +15215,7 @@ exports.schemaDict = {
|
|
15121
15215
|
knownValues: [
|
15122
15216
|
'tools.ozone.team.defs#roleAdmin',
|
15123
15217
|
'tools.ozone.team.defs#roleModerator',
|
15218
|
+
'tools.ozone.team.defs#roleVerifier',
|
15124
15219
|
'tools.ozone.team.defs#roleTriage',
|
15125
15220
|
],
|
15126
15221
|
},
|
@@ -15143,6 +15238,340 @@ exports.schemaDict = {
|
|
15143
15238
|
},
|
15144
15239
|
},
|
15145
15240
|
},
|
15241
|
+
ToolsOzoneVerificationDefs: {
|
15242
|
+
lexicon: 1,
|
15243
|
+
id: 'tools.ozone.verification.defs',
|
15244
|
+
defs: {
|
15245
|
+
verificationView: {
|
15246
|
+
type: 'object',
|
15247
|
+
description: 'Verification data for the associated subject.',
|
15248
|
+
required: [
|
15249
|
+
'issuer',
|
15250
|
+
'uri',
|
15251
|
+
'subject',
|
15252
|
+
'handle',
|
15253
|
+
'displayName',
|
15254
|
+
'createdAt',
|
15255
|
+
],
|
15256
|
+
properties: {
|
15257
|
+
issuer: {
|
15258
|
+
type: 'string',
|
15259
|
+
description: 'The user who issued this verification.',
|
15260
|
+
format: 'did',
|
15261
|
+
},
|
15262
|
+
uri: {
|
15263
|
+
type: 'string',
|
15264
|
+
description: 'The AT-URI of the verification record.',
|
15265
|
+
format: 'at-uri',
|
15266
|
+
},
|
15267
|
+
subject: {
|
15268
|
+
type: 'string',
|
15269
|
+
format: 'did',
|
15270
|
+
description: 'The subject of the verification.',
|
15271
|
+
},
|
15272
|
+
handle: {
|
15273
|
+
type: 'string',
|
15274
|
+
description: '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.',
|
15275
|
+
format: 'handle',
|
15276
|
+
},
|
15277
|
+
displayName: {
|
15278
|
+
type: 'string',
|
15279
|
+
description: '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.',
|
15280
|
+
},
|
15281
|
+
createdAt: {
|
15282
|
+
type: 'string',
|
15283
|
+
description: 'Timestamp when the verification was created.',
|
15284
|
+
format: 'datetime',
|
15285
|
+
},
|
15286
|
+
revokeReason: {
|
15287
|
+
type: 'string',
|
15288
|
+
description: 'Describes the reason for revocation, also indicating that the verification is no longer valid.',
|
15289
|
+
},
|
15290
|
+
revokedAt: {
|
15291
|
+
type: 'string',
|
15292
|
+
description: 'Timestamp when the verification was revoked.',
|
15293
|
+
format: 'datetime',
|
15294
|
+
},
|
15295
|
+
revokedBy: {
|
15296
|
+
type: 'string',
|
15297
|
+
description: 'The user who revoked this verification.',
|
15298
|
+
format: 'did',
|
15299
|
+
},
|
15300
|
+
subjectProfile: {
|
15301
|
+
type: 'union',
|
15302
|
+
refs: [],
|
15303
|
+
},
|
15304
|
+
issuerProfile: {
|
15305
|
+
type: 'union',
|
15306
|
+
refs: [],
|
15307
|
+
},
|
15308
|
+
subjectRepo: {
|
15309
|
+
type: 'union',
|
15310
|
+
refs: [
|
15311
|
+
'lex:tools.ozone.moderation.defs#repoViewDetail',
|
15312
|
+
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
15313
|
+
],
|
15314
|
+
},
|
15315
|
+
issuerRepo: {
|
15316
|
+
type: 'union',
|
15317
|
+
refs: [
|
15318
|
+
'lex:tools.ozone.moderation.defs#repoViewDetail',
|
15319
|
+
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
15320
|
+
],
|
15321
|
+
},
|
15322
|
+
},
|
15323
|
+
},
|
15324
|
+
},
|
15325
|
+
},
|
15326
|
+
ToolsOzoneVerificationGrantVerifications: {
|
15327
|
+
lexicon: 1,
|
15328
|
+
id: 'tools.ozone.verification.grantVerifications',
|
15329
|
+
defs: {
|
15330
|
+
main: {
|
15331
|
+
type: 'procedure',
|
15332
|
+
description: 'Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.',
|
15333
|
+
input: {
|
15334
|
+
encoding: 'application/json',
|
15335
|
+
schema: {
|
15336
|
+
type: 'object',
|
15337
|
+
required: ['verifications'],
|
15338
|
+
properties: {
|
15339
|
+
verifications: {
|
15340
|
+
type: 'array',
|
15341
|
+
description: 'Array of verification requests to process',
|
15342
|
+
maxLength: 100,
|
15343
|
+
items: {
|
15344
|
+
type: 'ref',
|
15345
|
+
ref: 'lex:tools.ozone.verification.grantVerifications#verificationInput',
|
15346
|
+
},
|
15347
|
+
},
|
15348
|
+
},
|
15349
|
+
},
|
15350
|
+
},
|
15351
|
+
output: {
|
15352
|
+
encoding: 'application/json',
|
15353
|
+
schema: {
|
15354
|
+
type: 'object',
|
15355
|
+
required: ['verifications', 'failedVerifications'],
|
15356
|
+
properties: {
|
15357
|
+
verifications: {
|
15358
|
+
type: 'array',
|
15359
|
+
items: {
|
15360
|
+
type: 'ref',
|
15361
|
+
ref: 'lex:tools.ozone.verification.defs#verificationView',
|
15362
|
+
},
|
15363
|
+
},
|
15364
|
+
failedVerifications: {
|
15365
|
+
type: 'array',
|
15366
|
+
items: {
|
15367
|
+
type: 'ref',
|
15368
|
+
ref: 'lex:tools.ozone.verification.grantVerifications#grantError',
|
15369
|
+
},
|
15370
|
+
},
|
15371
|
+
},
|
15372
|
+
},
|
15373
|
+
},
|
15374
|
+
},
|
15375
|
+
verificationInput: {
|
15376
|
+
type: 'object',
|
15377
|
+
required: ['subject', 'handle', 'displayName'],
|
15378
|
+
properties: {
|
15379
|
+
subject: {
|
15380
|
+
type: 'string',
|
15381
|
+
description: 'The did of the subject being verified',
|
15382
|
+
format: 'did',
|
15383
|
+
},
|
15384
|
+
handle: {
|
15385
|
+
type: 'string',
|
15386
|
+
description: 'Handle of the subject the verification applies to at the moment of verifying.',
|
15387
|
+
format: 'handle',
|
15388
|
+
},
|
15389
|
+
displayName: {
|
15390
|
+
type: 'string',
|
15391
|
+
description: 'Display name of the subject the verification applies to at the moment of verifying.',
|
15392
|
+
},
|
15393
|
+
createdAt: {
|
15394
|
+
type: 'string',
|
15395
|
+
description: 'Timestamp for verification record. Defaults to current time when not specified.',
|
15396
|
+
},
|
15397
|
+
},
|
15398
|
+
},
|
15399
|
+
grantError: {
|
15400
|
+
type: 'object',
|
15401
|
+
description: 'Error object for failed verifications.',
|
15402
|
+
required: ['error', 'subject'],
|
15403
|
+
properties: {
|
15404
|
+
error: {
|
15405
|
+
type: 'string',
|
15406
|
+
description: 'Error message describing the reason for failure.',
|
15407
|
+
},
|
15408
|
+
subject: {
|
15409
|
+
type: 'string',
|
15410
|
+
description: 'The did of the subject being verified',
|
15411
|
+
format: 'did',
|
15412
|
+
},
|
15413
|
+
},
|
15414
|
+
},
|
15415
|
+
},
|
15416
|
+
},
|
15417
|
+
ToolsOzoneVerificationListVerifications: {
|
15418
|
+
lexicon: 1,
|
15419
|
+
id: 'tools.ozone.verification.listVerifications',
|
15420
|
+
defs: {
|
15421
|
+
main: {
|
15422
|
+
type: 'query',
|
15423
|
+
description: 'List verifications',
|
15424
|
+
parameters: {
|
15425
|
+
type: 'params',
|
15426
|
+
properties: {
|
15427
|
+
cursor: {
|
15428
|
+
type: 'string',
|
15429
|
+
description: 'Pagination cursor',
|
15430
|
+
},
|
15431
|
+
limit: {
|
15432
|
+
type: 'integer',
|
15433
|
+
description: 'Maximum number of results to return',
|
15434
|
+
minimum: 1,
|
15435
|
+
maximum: 100,
|
15436
|
+
default: 50,
|
15437
|
+
},
|
15438
|
+
createdAfter: {
|
15439
|
+
type: 'string',
|
15440
|
+
format: 'datetime',
|
15441
|
+
description: 'Filter to verifications created after this timestamp',
|
15442
|
+
},
|
15443
|
+
createdBefore: {
|
15444
|
+
type: 'string',
|
15445
|
+
format: 'datetime',
|
15446
|
+
description: 'Filter to verifications created before this timestamp',
|
15447
|
+
},
|
15448
|
+
issuers: {
|
15449
|
+
type: 'array',
|
15450
|
+
maxLength: 100,
|
15451
|
+
description: 'Filter to verifications from specific issuers',
|
15452
|
+
items: {
|
15453
|
+
type: 'string',
|
15454
|
+
format: 'did',
|
15455
|
+
},
|
15456
|
+
},
|
15457
|
+
subjects: {
|
15458
|
+
type: 'array',
|
15459
|
+
description: 'Filter to specific verified DIDs',
|
15460
|
+
maxLength: 100,
|
15461
|
+
items: {
|
15462
|
+
type: 'string',
|
15463
|
+
format: 'did',
|
15464
|
+
},
|
15465
|
+
},
|
15466
|
+
sortDirection: {
|
15467
|
+
type: 'string',
|
15468
|
+
description: 'Sort direction for creation date',
|
15469
|
+
enum: ['asc', 'desc'],
|
15470
|
+
default: 'desc',
|
15471
|
+
},
|
15472
|
+
isRevoked: {
|
15473
|
+
type: 'boolean',
|
15474
|
+
description: 'Filter to verifications that are revoked or not. By default, includes both.',
|
15475
|
+
},
|
15476
|
+
},
|
15477
|
+
},
|
15478
|
+
output: {
|
15479
|
+
encoding: 'application/json',
|
15480
|
+
schema: {
|
15481
|
+
type: 'object',
|
15482
|
+
required: ['verifications'],
|
15483
|
+
properties: {
|
15484
|
+
cursor: {
|
15485
|
+
type: 'string',
|
15486
|
+
},
|
15487
|
+
verifications: {
|
15488
|
+
type: 'array',
|
15489
|
+
items: {
|
15490
|
+
type: 'ref',
|
15491
|
+
ref: 'lex:tools.ozone.verification.defs#verificationView',
|
15492
|
+
},
|
15493
|
+
},
|
15494
|
+
},
|
15495
|
+
},
|
15496
|
+
},
|
15497
|
+
},
|
15498
|
+
},
|
15499
|
+
},
|
15500
|
+
ToolsOzoneVerificationRevokeVerifications: {
|
15501
|
+
lexicon: 1,
|
15502
|
+
id: 'tools.ozone.verification.revokeVerifications',
|
15503
|
+
defs: {
|
15504
|
+
main: {
|
15505
|
+
type: 'procedure',
|
15506
|
+
description: 'Revoke previously granted verifications in batches of up to 100.',
|
15507
|
+
input: {
|
15508
|
+
encoding: 'application/json',
|
15509
|
+
schema: {
|
15510
|
+
type: 'object',
|
15511
|
+
required: ['uris'],
|
15512
|
+
properties: {
|
15513
|
+
uris: {
|
15514
|
+
type: 'array',
|
15515
|
+
description: 'Array of verification record uris to revoke',
|
15516
|
+
maxLength: 100,
|
15517
|
+
items: {
|
15518
|
+
type: 'string',
|
15519
|
+
description: 'The AT-URI of the verification record to revoke.',
|
15520
|
+
format: 'at-uri',
|
15521
|
+
},
|
15522
|
+
},
|
15523
|
+
revokeReason: {
|
15524
|
+
type: 'string',
|
15525
|
+
description: 'Reason for revoking the verification. This is optional and can be omitted if not needed.',
|
15526
|
+
maxLength: 1000,
|
15527
|
+
},
|
15528
|
+
},
|
15529
|
+
},
|
15530
|
+
},
|
15531
|
+
output: {
|
15532
|
+
encoding: 'application/json',
|
15533
|
+
schema: {
|
15534
|
+
type: 'object',
|
15535
|
+
required: ['revokedVerifications', 'failedRevocations'],
|
15536
|
+
properties: {
|
15537
|
+
revokedVerifications: {
|
15538
|
+
type: 'array',
|
15539
|
+
description: 'List of verification uris successfully revoked',
|
15540
|
+
items: {
|
15541
|
+
type: 'string',
|
15542
|
+
format: 'at-uri',
|
15543
|
+
},
|
15544
|
+
},
|
15545
|
+
failedRevocations: {
|
15546
|
+
type: 'array',
|
15547
|
+
description: "List of verification uris that couldn't be revoked, including failure reasons",
|
15548
|
+
items: {
|
15549
|
+
type: 'ref',
|
15550
|
+
ref: 'lex:tools.ozone.verification.revokeVerifications#revokeError',
|
15551
|
+
},
|
15552
|
+
},
|
15553
|
+
},
|
15554
|
+
},
|
15555
|
+
},
|
15556
|
+
},
|
15557
|
+
revokeError: {
|
15558
|
+
type: 'object',
|
15559
|
+
description: 'Error object for failed revocations',
|
15560
|
+
required: ['uri', 'error'],
|
15561
|
+
properties: {
|
15562
|
+
uri: {
|
15563
|
+
type: 'string',
|
15564
|
+
description: 'The AT-URI of the verification record that failed to revoke.',
|
15565
|
+
format: 'at-uri',
|
15566
|
+
},
|
15567
|
+
error: {
|
15568
|
+
type: 'string',
|
15569
|
+
description: 'Description of the error that occurred during revocation.',
|
15570
|
+
},
|
15571
|
+
},
|
15572
|
+
},
|
15573
|
+
},
|
15574
|
+
},
|
15146
15575
|
};
|
15147
15576
|
exports.schemas = Object.values(exports.schemaDict);
|
15148
15577
|
exports.lexicons = new lexicon_1.Lexicons(exports.schemas);
|
@@ -15255,6 +15684,7 @@ exports.ids = {
|
|
15255
15684
|
AppBskyActorPutPreferences: 'app.bsky.actor.putPreferences',
|
15256
15685
|
AppBskyActorSearchActors: 'app.bsky.actor.searchActors',
|
15257
15686
|
AppBskyActorSearchActorsTypeahead: 'app.bsky.actor.searchActorsTypeahead',
|
15687
|
+
AppBskyActorStatus: 'app.bsky.actor.status',
|
15258
15688
|
AppBskyEmbedDefs: 'app.bsky.embed.defs',
|
15259
15689
|
AppBskyEmbedExternal: 'app.bsky.embed.external',
|
15260
15690
|
AppBskyEmbedImages: 'app.bsky.embed.images',
|
@@ -15410,5 +15840,9 @@ exports.ids = {
|
|
15410
15840
|
ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',
|
15411
15841
|
ToolsOzoneTeamListMembers: 'tools.ozone.team.listMembers',
|
15412
15842
|
ToolsOzoneTeamUpdateMember: 'tools.ozone.team.updateMember',
|
15843
|
+
ToolsOzoneVerificationDefs: 'tools.ozone.verification.defs',
|
15844
|
+
ToolsOzoneVerificationGrantVerifications: 'tools.ozone.verification.grantVerifications',
|
15845
|
+
ToolsOzoneVerificationListVerifications: 'tools.ozone.verification.listVerifications',
|
15846
|
+
ToolsOzoneVerificationRevokeVerifications: 'tools.ozone.verification.revokeVerifications',
|
15413
15847
|
};
|
15414
15848
|
//# sourceMappingURL=lexicons.js.map
|