@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.
Files changed (88) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  3. package/dist/api/com/atproto/identity/resolveHandle.js +13 -11
  4. package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
  5. package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
  6. package/dist/api/com/atproto/repo/importRepo.js +1 -0
  7. package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
  8. package/dist/background.js +1 -1
  9. package/dist/background.js.map +1 -1
  10. package/dist/basic-routes.js +1 -1
  11. package/dist/basic-routes.js.map +1 -1
  12. package/dist/error.js +1 -1
  13. package/dist/error.js.map +1 -1
  14. package/dist/lexicon/index.d.ts +15 -0
  15. package/dist/lexicon/index.d.ts.map +1 -1
  16. package/dist/lexicon/index.js +36 -1
  17. package/dist/lexicon/index.js.map +1 -1
  18. package/dist/lexicon/lexicons.d.ts +918 -98
  19. package/dist/lexicon/lexicons.d.ts.map +1 -1
  20. package/dist/lexicon/lexicons.js +434 -0
  21. package/dist/lexicon/lexicons.js.map +1 -1
  22. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -0
  23. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  24. package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
  25. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  26. package/dist/lexicon/types/app/bsky/actor/status.d.ts +23 -0
  27. package/dist/lexicon/types/app/bsky/actor/status.d.ts.map +1 -0
  28. package/dist/lexicon/types/app/bsky/actor/status.js +19 -0
  29. package/dist/lexicon/types/app/bsky/actor/status.js.map +1 -0
  30. package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts +3 -1
  31. package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts.map +1 -1
  32. package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
  33. package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +1 -1
  34. package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -1
  35. package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -1
  36. package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +1 -1
  37. package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
  38. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +1 -1
  39. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -1
  40. package/dist/lexicon/types/tools/ozone/team/defs.d.ts +3 -1
  41. package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -1
  42. package/dist/lexicon/types/tools/ozone/team/defs.js +3 -1
  43. package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
  44. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +1 -1
  45. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -1
  46. package/dist/lexicon/types/tools/ozone/verification/defs.d.ts +43 -0
  47. package/dist/lexicon/types/tools/ozone/verification/defs.d.ts.map +1 -0
  48. package/dist/lexicon/types/tools/ozone/verification/defs.js +16 -0
  49. package/dist/lexicon/types/tools/ozone/verification/defs.js.map +1 -0
  50. package/dist/lexicon/types/tools/ozone/verification/grantVerifications.d.ts +66 -0
  51. package/dist/lexicon/types/tools/ozone/verification/grantVerifications.d.ts.map +1 -0
  52. package/dist/lexicon/types/tools/ozone/verification/grantVerifications.js +25 -0
  53. package/dist/lexicon/types/tools/ozone/verification/grantVerifications.js.map +1 -0
  54. package/dist/lexicon/types/tools/ozone/verification/listVerifications.d.ts +52 -0
  55. package/dist/lexicon/types/tools/ozone/verification/listVerifications.d.ts.map +1 -0
  56. package/dist/lexicon/types/tools/ozone/verification/listVerifications.js +7 -0
  57. package/dist/lexicon/types/tools/ozone/verification/listVerifications.js.map +1 -0
  58. package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.d.ts +56 -0
  59. package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.d.ts.map +1 -0
  60. package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.js +16 -0
  61. package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.js.map +1 -0
  62. package/dist/pipethrough.js +3 -0
  63. package/dist/pipethrough.js.map +1 -1
  64. package/dist/read-after-write/viewer.d.ts +3 -3
  65. package/dist/sequencer/events.d.ts +16 -16
  66. package/package.json +16 -16
  67. package/src/api/com/atproto/identity/resolveHandle.ts +17 -15
  68. package/src/api/com/atproto/repo/importRepo.ts +1 -0
  69. package/src/background.ts +1 -1
  70. package/src/basic-routes.ts +1 -1
  71. package/src/error.ts +1 -1
  72. package/src/lexicon/index.ts +50 -0
  73. package/src/lexicon/lexicons.ts +457 -0
  74. package/src/lexicon/types/app/bsky/actor/defs.ts +26 -0
  75. package/src/lexicon/types/app/bsky/actor/status.ts +40 -0
  76. package/src/lexicon/types/tools/ozone/server/getConfig.ts +3 -0
  77. package/src/lexicon/types/tools/ozone/setting/defs.ts +1 -0
  78. package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +1 -0
  79. package/src/lexicon/types/tools/ozone/team/addMember.ts +1 -0
  80. package/src/lexicon/types/tools/ozone/team/defs.ts +3 -0
  81. package/src/lexicon/types/tools/ozone/team/updateMember.ts +1 -0
  82. package/src/lexicon/types/tools/ozone/verification/defs.ts +59 -0
  83. package/src/lexicon/types/tools/ozone/verification/grantVerifications.ts +100 -0
  84. package/src/lexicon/types/tools/ozone/verification/listVerifications.ts +70 -0
  85. package/src/lexicon/types/tools/ozone/verification/revokeVerifications.ts +81 -0
  86. package/src/pipethrough.ts +3 -0
  87. package/tests/proxied/views.test.ts +53 -53
  88. package/tsconfig.build.tsbuildinfo +1 -1
@@ -4167,6 +4167,10 @@ export declare const schemaDict: {
4167
4167
  readonly type: "ref";
4168
4168
  readonly ref: "lex:app.bsky.actor.defs#verificationState";
4169
4169
  };
4170
+ readonly status: {
4171
+ readonly type: "ref";
4172
+ readonly ref: "lex:app.bsky.actor.defs#statusView";
4173
+ };
4170
4174
  };
4171
4175
  };
4172
4176
  readonly profileView: {
@@ -4222,6 +4226,10 @@ export declare const schemaDict: {
4222
4226
  readonly type: "ref";
4223
4227
  readonly ref: "lex:app.bsky.actor.defs#verificationState";
4224
4228
  };
4229
+ readonly status: {
4230
+ readonly type: "ref";
4231
+ readonly ref: "lex:app.bsky.actor.defs#statusView";
4232
+ };
4225
4233
  };
4226
4234
  };
4227
4235
  readonly profileViewDetailed: {
@@ -4298,6 +4306,10 @@ export declare const schemaDict: {
4298
4306
  readonly type: "ref";
4299
4307
  readonly ref: "lex:app.bsky.actor.defs#verificationState";
4300
4308
  };
4309
+ readonly status: {
4310
+ readonly type: "ref";
4311
+ readonly ref: "lex:app.bsky.actor.defs#statusView";
4312
+ };
4301
4313
  };
4302
4314
  };
4303
4315
  readonly profileAssociated: {
@@ -4792,6 +4804,34 @@ export declare const schemaDict: {
4792
4804
  };
4793
4805
  };
4794
4806
  };
4807
+ readonly statusView: {
4808
+ readonly type: "object";
4809
+ readonly required: ["status", "record"];
4810
+ readonly properties: {
4811
+ readonly status: {
4812
+ readonly type: "string";
4813
+ readonly description: "The status for the account.";
4814
+ readonly knownValues: ["app.bsky.actor.status#live"];
4815
+ };
4816
+ readonly record: {
4817
+ readonly type: "unknown";
4818
+ };
4819
+ readonly embed: {
4820
+ readonly type: "union";
4821
+ readonly description: "An optional embed associated with the status.";
4822
+ readonly refs: ["lex:app.bsky.embed.external#view"];
4823
+ };
4824
+ readonly expiresAt: {
4825
+ readonly type: "string";
4826
+ readonly description: "The date when this status will expire. The application might choose to no longer return the status after expiration.";
4827
+ readonly format: "datetime";
4828
+ };
4829
+ readonly isActive: {
4830
+ readonly type: "boolean";
4831
+ readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
4832
+ };
4833
+ };
4834
+ };
4795
4835
  };
4796
4836
  };
4797
4837
  readonly AppBskyActorGetPreferences: {
@@ -5111,6 +5151,46 @@ export declare const schemaDict: {
5111
5151
  };
5112
5152
  };
5113
5153
  };
5154
+ readonly AppBskyActorStatus: {
5155
+ readonly lexicon: 1;
5156
+ readonly id: "app.bsky.actor.status";
5157
+ readonly defs: {
5158
+ readonly main: {
5159
+ readonly type: "record";
5160
+ readonly description: "A declaration of a Bluesky account status.";
5161
+ readonly key: "literal:self";
5162
+ readonly record: {
5163
+ readonly type: "object";
5164
+ readonly required: ["status", "createdAt"];
5165
+ readonly properties: {
5166
+ readonly status: {
5167
+ readonly type: "string";
5168
+ readonly description: "The status for the account.";
5169
+ readonly knownValues: ["app.bsky.actor.status#live"];
5170
+ };
5171
+ readonly embed: {
5172
+ readonly type: "union";
5173
+ readonly description: "An optional embed associated with the status.";
5174
+ readonly refs: ["lex:app.bsky.embed.external"];
5175
+ };
5176
+ readonly durationMinutes: {
5177
+ readonly type: "integer";
5178
+ readonly description: "The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.";
5179
+ readonly minimum: 1;
5180
+ };
5181
+ readonly createdAt: {
5182
+ readonly type: "string";
5183
+ readonly format: "datetime";
5184
+ };
5185
+ };
5186
+ };
5187
+ };
5188
+ readonly live: {
5189
+ readonly type: "token";
5190
+ readonly description: "Advertises an account as currently offering live content.";
5191
+ };
5192
+ };
5193
+ };
5114
5194
  readonly AppBskyEmbedDefs: {
5115
5195
  readonly lexicon: 1;
5116
5196
  readonly id: "app.bsky.embed.defs";
@@ -13546,6 +13626,11 @@ export declare const schemaDict: {
13546
13626
  readonly type: "ref";
13547
13627
  readonly ref: "lex:tools.ozone.server.getConfig#viewerConfig";
13548
13628
  };
13629
+ readonly verifierDid: {
13630
+ readonly type: "string";
13631
+ readonly format: "did";
13632
+ readonly description: "The did of the verifier used for verification.";
13633
+ };
13549
13634
  };
13550
13635
  };
13551
13636
  };
@@ -13564,7 +13649,7 @@ export declare const schemaDict: {
13564
13649
  readonly properties: {
13565
13650
  readonly role: {
13566
13651
  readonly type: "string";
13567
- readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
13652
+ readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier"];
13568
13653
  };
13569
13654
  };
13570
13655
  };
@@ -13889,7 +13974,7 @@ export declare const schemaDict: {
13889
13974
  };
13890
13975
  readonly managerRole: {
13891
13976
  readonly type: "string";
13892
- readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
13977
+ readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleVerifier"];
13893
13978
  };
13894
13979
  readonly scope: {
13895
13980
  readonly type: "string";
@@ -14037,7 +14122,7 @@ export declare const schemaDict: {
14037
14122
  };
14038
14123
  readonly managerRole: {
14039
14124
  readonly type: "string";
14040
- readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
14125
+ readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleAdmin"];
14041
14126
  };
14042
14127
  };
14043
14128
  };
@@ -14249,7 +14334,7 @@ export declare const schemaDict: {
14249
14334
  };
14250
14335
  readonly role: {
14251
14336
  readonly type: "string";
14252
- readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
14337
+ readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
14253
14338
  };
14254
14339
  };
14255
14340
  };
@@ -14300,7 +14385,7 @@ export declare const schemaDict: {
14300
14385
  };
14301
14386
  readonly role: {
14302
14387
  readonly type: "string";
14303
- readonly knownValues: ["lex:tools.ozone.team.defs#roleAdmin", "lex:tools.ozone.team.defs#roleModerator", "lex:tools.ozone.team.defs#roleTriage"];
14388
+ readonly knownValues: ["lex:tools.ozone.team.defs#roleAdmin", "lex:tools.ozone.team.defs#roleModerator", "lex:tools.ozone.team.defs#roleTriage", "lex:tools.ozone.team.defs#roleVerifier"];
14304
14389
  };
14305
14390
  };
14306
14391
  };
@@ -14316,6 +14401,10 @@ export declare const schemaDict: {
14316
14401
  readonly type: "token";
14317
14402
  readonly description: "Triage role. Mostly intended for monitoring and escalating issues.";
14318
14403
  };
14404
+ readonly roleVerifier: {
14405
+ readonly type: "token";
14406
+ readonly description: "Verifier role. Only allowed to issue verifications.";
14407
+ };
14319
14408
  };
14320
14409
  };
14321
14410
  readonly ToolsOzoneTeamDeleteMember: {
@@ -14425,7 +14514,7 @@ export declare const schemaDict: {
14425
14514
  };
14426
14515
  readonly role: {
14427
14516
  readonly type: "string";
14428
- readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
14517
+ readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
14429
14518
  };
14430
14519
  };
14431
14520
  };
@@ -14444,105 +14533,426 @@ export declare const schemaDict: {
14444
14533
  };
14445
14534
  };
14446
14535
  };
14447
- };
14448
- export declare const schemas: ({
14449
- readonly lexicon: 1;
14450
- readonly id: "com.atproto.admin.defs";
14451
- readonly defs: {
14452
- readonly statusAttr: {
14453
- readonly type: "object";
14454
- readonly required: ["applied"];
14455
- readonly properties: {
14456
- readonly applied: {
14457
- readonly type: "boolean";
14458
- };
14459
- readonly ref: {
14460
- readonly type: "string";
14536
+ readonly ToolsOzoneVerificationDefs: {
14537
+ readonly lexicon: 1;
14538
+ readonly id: "tools.ozone.verification.defs";
14539
+ readonly defs: {
14540
+ readonly verificationView: {
14541
+ readonly type: "object";
14542
+ readonly description: "Verification data for the associated subject.";
14543
+ readonly required: ["issuer", "uri", "subject", "handle", "displayName", "createdAt"];
14544
+ readonly properties: {
14545
+ readonly issuer: {
14546
+ readonly type: "string";
14547
+ readonly description: "The user who issued this verification.";
14548
+ readonly format: "did";
14549
+ };
14550
+ readonly uri: {
14551
+ readonly type: "string";
14552
+ readonly description: "The AT-URI of the verification record.";
14553
+ readonly format: "at-uri";
14554
+ };
14555
+ readonly subject: {
14556
+ readonly type: "string";
14557
+ readonly format: "did";
14558
+ readonly description: "The subject of the verification.";
14559
+ };
14560
+ readonly handle: {
14561
+ readonly type: "string";
14562
+ readonly 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.";
14563
+ readonly format: "handle";
14564
+ };
14565
+ readonly displayName: {
14566
+ readonly type: "string";
14567
+ readonly 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.";
14568
+ };
14569
+ readonly createdAt: {
14570
+ readonly type: "string";
14571
+ readonly description: "Timestamp when the verification was created.";
14572
+ readonly format: "datetime";
14573
+ };
14574
+ readonly revokeReason: {
14575
+ readonly type: "string";
14576
+ readonly description: "Describes the reason for revocation, also indicating that the verification is no longer valid.";
14577
+ };
14578
+ readonly revokedAt: {
14579
+ readonly type: "string";
14580
+ readonly description: "Timestamp when the verification was revoked.";
14581
+ readonly format: "datetime";
14582
+ };
14583
+ readonly revokedBy: {
14584
+ readonly type: "string";
14585
+ readonly description: "The user who revoked this verification.";
14586
+ readonly format: "did";
14587
+ };
14588
+ readonly subjectProfile: {
14589
+ readonly type: "union";
14590
+ readonly refs: [];
14591
+ };
14592
+ readonly issuerProfile: {
14593
+ readonly type: "union";
14594
+ readonly refs: [];
14595
+ };
14596
+ readonly subjectRepo: {
14597
+ readonly type: "union";
14598
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
14599
+ };
14600
+ readonly issuerRepo: {
14601
+ readonly type: "union";
14602
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
14603
+ };
14461
14604
  };
14462
14605
  };
14463
14606
  };
14464
- readonly accountView: {
14465
- readonly type: "object";
14466
- readonly required: ["did", "handle", "indexedAt"];
14467
- readonly properties: {
14468
- readonly did: {
14469
- readonly type: "string";
14470
- readonly format: "did";
14471
- };
14472
- readonly handle: {
14473
- readonly type: "string";
14474
- readonly format: "handle";
14475
- };
14476
- readonly email: {
14477
- readonly type: "string";
14478
- };
14479
- readonly relatedRecords: {
14480
- readonly type: "array";
14481
- readonly items: {
14482
- readonly type: "unknown";
14607
+ };
14608
+ readonly ToolsOzoneVerificationGrantVerifications: {
14609
+ readonly lexicon: 1;
14610
+ readonly id: "tools.ozone.verification.grantVerifications";
14611
+ readonly defs: {
14612
+ readonly main: {
14613
+ readonly type: "procedure";
14614
+ readonly description: "Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.";
14615
+ readonly input: {
14616
+ readonly encoding: "application/json";
14617
+ readonly schema: {
14618
+ readonly type: "object";
14619
+ readonly required: ["verifications"];
14620
+ readonly properties: {
14621
+ readonly verifications: {
14622
+ readonly type: "array";
14623
+ readonly description: "Array of verification requests to process";
14624
+ readonly maxLength: 100;
14625
+ readonly items: {
14626
+ readonly type: "ref";
14627
+ readonly ref: "lex:tools.ozone.verification.grantVerifications#verificationInput";
14628
+ };
14629
+ };
14630
+ };
14483
14631
  };
14484
14632
  };
14485
- readonly indexedAt: {
14486
- readonly type: "string";
14487
- readonly format: "datetime";
14488
- };
14489
- readonly invitedBy: {
14490
- readonly type: "ref";
14491
- readonly ref: "lex:com.atproto.server.defs#inviteCode";
14492
- };
14493
- readonly invites: {
14494
- readonly type: "array";
14495
- readonly items: {
14496
- readonly type: "ref";
14497
- readonly ref: "lex:com.atproto.server.defs#inviteCode";
14633
+ readonly output: {
14634
+ readonly encoding: "application/json";
14635
+ readonly schema: {
14636
+ readonly type: "object";
14637
+ readonly required: ["verifications", "failedVerifications"];
14638
+ readonly properties: {
14639
+ readonly verifications: {
14640
+ readonly type: "array";
14641
+ readonly items: {
14642
+ readonly type: "ref";
14643
+ readonly ref: "lex:tools.ozone.verification.defs#verificationView";
14644
+ };
14645
+ };
14646
+ readonly failedVerifications: {
14647
+ readonly type: "array";
14648
+ readonly items: {
14649
+ readonly type: "ref";
14650
+ readonly ref: "lex:tools.ozone.verification.grantVerifications#grantError";
14651
+ };
14652
+ };
14653
+ };
14498
14654
  };
14499
14655
  };
14500
- readonly invitesDisabled: {
14501
- readonly type: "boolean";
14502
- };
14503
- readonly emailConfirmedAt: {
14504
- readonly type: "string";
14505
- readonly format: "datetime";
14506
- };
14507
- readonly inviteNote: {
14508
- readonly type: "string";
14509
- };
14510
- readonly deactivatedAt: {
14511
- readonly type: "string";
14512
- readonly format: "datetime";
14513
- };
14514
- readonly threatSignatures: {
14515
- readonly type: "array";
14516
- readonly items: {
14517
- readonly type: "ref";
14518
- readonly ref: "lex:com.atproto.admin.defs#threatSignature";
14656
+ };
14657
+ readonly verificationInput: {
14658
+ readonly type: "object";
14659
+ readonly required: ["subject", "handle", "displayName"];
14660
+ readonly properties: {
14661
+ readonly subject: {
14662
+ readonly type: "string";
14663
+ readonly description: "The did of the subject being verified";
14664
+ readonly format: "did";
14665
+ };
14666
+ readonly handle: {
14667
+ readonly type: "string";
14668
+ readonly description: "Handle of the subject the verification applies to at the moment of verifying.";
14669
+ readonly format: "handle";
14670
+ };
14671
+ readonly displayName: {
14672
+ readonly type: "string";
14673
+ readonly description: "Display name of the subject the verification applies to at the moment of verifying.";
14674
+ };
14675
+ readonly createdAt: {
14676
+ readonly type: "string";
14677
+ readonly description: "Timestamp for verification record. Defaults to current time when not specified.";
14519
14678
  };
14520
14679
  };
14521
14680
  };
14522
- };
14523
- readonly repoRef: {
14524
- readonly type: "object";
14525
- readonly required: ["did"];
14526
- readonly properties: {
14527
- readonly did: {
14528
- readonly type: "string";
14529
- readonly format: "did";
14681
+ readonly grantError: {
14682
+ readonly type: "object";
14683
+ readonly description: "Error object for failed verifications.";
14684
+ readonly required: ["error", "subject"];
14685
+ readonly properties: {
14686
+ readonly error: {
14687
+ readonly type: "string";
14688
+ readonly description: "Error message describing the reason for failure.";
14689
+ };
14690
+ readonly subject: {
14691
+ readonly type: "string";
14692
+ readonly description: "The did of the subject being verified";
14693
+ readonly format: "did";
14694
+ };
14530
14695
  };
14531
14696
  };
14532
14697
  };
14533
- readonly repoBlobRef: {
14534
- readonly type: "object";
14535
- readonly required: ["did", "cid"];
14536
- readonly properties: {
14537
- readonly did: {
14538
- readonly type: "string";
14539
- readonly format: "did";
14540
- };
14541
- readonly cid: {
14542
- readonly type: "string";
14543
- readonly format: "cid";
14544
- };
14545
- readonly recordUri: {
14698
+ };
14699
+ readonly ToolsOzoneVerificationListVerifications: {
14700
+ readonly lexicon: 1;
14701
+ readonly id: "tools.ozone.verification.listVerifications";
14702
+ readonly defs: {
14703
+ readonly main: {
14704
+ readonly type: "query";
14705
+ readonly description: "List verifications";
14706
+ readonly parameters: {
14707
+ readonly type: "params";
14708
+ readonly properties: {
14709
+ readonly cursor: {
14710
+ readonly type: "string";
14711
+ readonly description: "Pagination cursor";
14712
+ };
14713
+ readonly limit: {
14714
+ readonly type: "integer";
14715
+ readonly description: "Maximum number of results to return";
14716
+ readonly minimum: 1;
14717
+ readonly maximum: 100;
14718
+ readonly default: 50;
14719
+ };
14720
+ readonly createdAfter: {
14721
+ readonly type: "string";
14722
+ readonly format: "datetime";
14723
+ readonly description: "Filter to verifications created after this timestamp";
14724
+ };
14725
+ readonly createdBefore: {
14726
+ readonly type: "string";
14727
+ readonly format: "datetime";
14728
+ readonly description: "Filter to verifications created before this timestamp";
14729
+ };
14730
+ readonly issuers: {
14731
+ readonly type: "array";
14732
+ readonly maxLength: 100;
14733
+ readonly description: "Filter to verifications from specific issuers";
14734
+ readonly items: {
14735
+ readonly type: "string";
14736
+ readonly format: "did";
14737
+ };
14738
+ };
14739
+ readonly subjects: {
14740
+ readonly type: "array";
14741
+ readonly description: "Filter to specific verified DIDs";
14742
+ readonly maxLength: 100;
14743
+ readonly items: {
14744
+ readonly type: "string";
14745
+ readonly format: "did";
14746
+ };
14747
+ };
14748
+ readonly sortDirection: {
14749
+ readonly type: "string";
14750
+ readonly description: "Sort direction for creation date";
14751
+ readonly enum: ["asc", "desc"];
14752
+ readonly default: "desc";
14753
+ };
14754
+ readonly isRevoked: {
14755
+ readonly type: "boolean";
14756
+ readonly description: "Filter to verifications that are revoked or not. By default, includes both.";
14757
+ };
14758
+ };
14759
+ };
14760
+ readonly output: {
14761
+ readonly encoding: "application/json";
14762
+ readonly schema: {
14763
+ readonly type: "object";
14764
+ readonly required: ["verifications"];
14765
+ readonly properties: {
14766
+ readonly cursor: {
14767
+ readonly type: "string";
14768
+ };
14769
+ readonly verifications: {
14770
+ readonly type: "array";
14771
+ readonly items: {
14772
+ readonly type: "ref";
14773
+ readonly ref: "lex:tools.ozone.verification.defs#verificationView";
14774
+ };
14775
+ };
14776
+ };
14777
+ };
14778
+ };
14779
+ };
14780
+ };
14781
+ };
14782
+ readonly ToolsOzoneVerificationRevokeVerifications: {
14783
+ readonly lexicon: 1;
14784
+ readonly id: "tools.ozone.verification.revokeVerifications";
14785
+ readonly defs: {
14786
+ readonly main: {
14787
+ readonly type: "procedure";
14788
+ readonly description: "Revoke previously granted verifications in batches of up to 100.";
14789
+ readonly input: {
14790
+ readonly encoding: "application/json";
14791
+ readonly schema: {
14792
+ readonly type: "object";
14793
+ readonly required: ["uris"];
14794
+ readonly properties: {
14795
+ readonly uris: {
14796
+ readonly type: "array";
14797
+ readonly description: "Array of verification record uris to revoke";
14798
+ readonly maxLength: 100;
14799
+ readonly items: {
14800
+ readonly type: "string";
14801
+ readonly description: "The AT-URI of the verification record to revoke.";
14802
+ readonly format: "at-uri";
14803
+ };
14804
+ };
14805
+ readonly revokeReason: {
14806
+ readonly type: "string";
14807
+ readonly description: "Reason for revoking the verification. This is optional and can be omitted if not needed.";
14808
+ readonly maxLength: 1000;
14809
+ };
14810
+ };
14811
+ };
14812
+ };
14813
+ readonly output: {
14814
+ readonly encoding: "application/json";
14815
+ readonly schema: {
14816
+ readonly type: "object";
14817
+ readonly required: ["revokedVerifications", "failedRevocations"];
14818
+ readonly properties: {
14819
+ readonly revokedVerifications: {
14820
+ readonly type: "array";
14821
+ readonly description: "List of verification uris successfully revoked";
14822
+ readonly items: {
14823
+ readonly type: "string";
14824
+ readonly format: "at-uri";
14825
+ };
14826
+ };
14827
+ readonly failedRevocations: {
14828
+ readonly type: "array";
14829
+ readonly description: "List of verification uris that couldn't be revoked, including failure reasons";
14830
+ readonly items: {
14831
+ readonly type: "ref";
14832
+ readonly ref: "lex:tools.ozone.verification.revokeVerifications#revokeError";
14833
+ };
14834
+ };
14835
+ };
14836
+ };
14837
+ };
14838
+ };
14839
+ readonly revokeError: {
14840
+ readonly type: "object";
14841
+ readonly description: "Error object for failed revocations";
14842
+ readonly required: ["uri", "error"];
14843
+ readonly properties: {
14844
+ readonly uri: {
14845
+ readonly type: "string";
14846
+ readonly description: "The AT-URI of the verification record that failed to revoke.";
14847
+ readonly format: "at-uri";
14848
+ };
14849
+ readonly error: {
14850
+ readonly type: "string";
14851
+ readonly description: "Description of the error that occurred during revocation.";
14852
+ };
14853
+ };
14854
+ };
14855
+ };
14856
+ };
14857
+ };
14858
+ export declare const schemas: ({
14859
+ readonly lexicon: 1;
14860
+ readonly id: "com.atproto.admin.defs";
14861
+ readonly defs: {
14862
+ readonly statusAttr: {
14863
+ readonly type: "object";
14864
+ readonly required: ["applied"];
14865
+ readonly properties: {
14866
+ readonly applied: {
14867
+ readonly type: "boolean";
14868
+ };
14869
+ readonly ref: {
14870
+ readonly type: "string";
14871
+ };
14872
+ };
14873
+ };
14874
+ readonly accountView: {
14875
+ readonly type: "object";
14876
+ readonly required: ["did", "handle", "indexedAt"];
14877
+ readonly properties: {
14878
+ readonly did: {
14879
+ readonly type: "string";
14880
+ readonly format: "did";
14881
+ };
14882
+ readonly handle: {
14883
+ readonly type: "string";
14884
+ readonly format: "handle";
14885
+ };
14886
+ readonly email: {
14887
+ readonly type: "string";
14888
+ };
14889
+ readonly relatedRecords: {
14890
+ readonly type: "array";
14891
+ readonly items: {
14892
+ readonly type: "unknown";
14893
+ };
14894
+ };
14895
+ readonly indexedAt: {
14896
+ readonly type: "string";
14897
+ readonly format: "datetime";
14898
+ };
14899
+ readonly invitedBy: {
14900
+ readonly type: "ref";
14901
+ readonly ref: "lex:com.atproto.server.defs#inviteCode";
14902
+ };
14903
+ readonly invites: {
14904
+ readonly type: "array";
14905
+ readonly items: {
14906
+ readonly type: "ref";
14907
+ readonly ref: "lex:com.atproto.server.defs#inviteCode";
14908
+ };
14909
+ };
14910
+ readonly invitesDisabled: {
14911
+ readonly type: "boolean";
14912
+ };
14913
+ readonly emailConfirmedAt: {
14914
+ readonly type: "string";
14915
+ readonly format: "datetime";
14916
+ };
14917
+ readonly inviteNote: {
14918
+ readonly type: "string";
14919
+ };
14920
+ readonly deactivatedAt: {
14921
+ readonly type: "string";
14922
+ readonly format: "datetime";
14923
+ };
14924
+ readonly threatSignatures: {
14925
+ readonly type: "array";
14926
+ readonly items: {
14927
+ readonly type: "ref";
14928
+ readonly ref: "lex:com.atproto.admin.defs#threatSignature";
14929
+ };
14930
+ };
14931
+ };
14932
+ };
14933
+ readonly repoRef: {
14934
+ readonly type: "object";
14935
+ readonly required: ["did"];
14936
+ readonly properties: {
14937
+ readonly did: {
14938
+ readonly type: "string";
14939
+ readonly format: "did";
14940
+ };
14941
+ };
14942
+ };
14943
+ readonly repoBlobRef: {
14944
+ readonly type: "object";
14945
+ readonly required: ["did", "cid"];
14946
+ readonly properties: {
14947
+ readonly did: {
14948
+ readonly type: "string";
14949
+ readonly format: "did";
14950
+ };
14951
+ readonly cid: {
14952
+ readonly type: "string";
14953
+ readonly format: "cid";
14954
+ };
14955
+ readonly recordUri: {
14546
14956
  readonly type: "string";
14547
14957
  readonly format: "at-uri";
14548
14958
  };
@@ -18518,6 +18928,10 @@ export declare const schemas: ({
18518
18928
  readonly type: "ref";
18519
18929
  readonly ref: "lex:app.bsky.actor.defs#verificationState";
18520
18930
  };
18931
+ readonly status: {
18932
+ readonly type: "ref";
18933
+ readonly ref: "lex:app.bsky.actor.defs#statusView";
18934
+ };
18521
18935
  };
18522
18936
  };
18523
18937
  readonly profileView: {
@@ -18573,6 +18987,10 @@ export declare const schemas: ({
18573
18987
  readonly type: "ref";
18574
18988
  readonly ref: "lex:app.bsky.actor.defs#verificationState";
18575
18989
  };
18990
+ readonly status: {
18991
+ readonly type: "ref";
18992
+ readonly ref: "lex:app.bsky.actor.defs#statusView";
18993
+ };
18576
18994
  };
18577
18995
  };
18578
18996
  readonly profileViewDetailed: {
@@ -18649,6 +19067,10 @@ export declare const schemas: ({
18649
19067
  readonly type: "ref";
18650
19068
  readonly ref: "lex:app.bsky.actor.defs#verificationState";
18651
19069
  };
19070
+ readonly status: {
19071
+ readonly type: "ref";
19072
+ readonly ref: "lex:app.bsky.actor.defs#statusView";
19073
+ };
18652
19074
  };
18653
19075
  };
18654
19076
  readonly profileAssociated: {
@@ -19143,6 +19565,34 @@ export declare const schemas: ({
19143
19565
  };
19144
19566
  };
19145
19567
  };
19568
+ readonly statusView: {
19569
+ readonly type: "object";
19570
+ readonly required: ["status", "record"];
19571
+ readonly properties: {
19572
+ readonly status: {
19573
+ readonly type: "string";
19574
+ readonly description: "The status for the account.";
19575
+ readonly knownValues: ["app.bsky.actor.status#live"];
19576
+ };
19577
+ readonly record: {
19578
+ readonly type: "unknown";
19579
+ };
19580
+ readonly embed: {
19581
+ readonly type: "union";
19582
+ readonly description: "An optional embed associated with the status.";
19583
+ readonly refs: ["lex:app.bsky.embed.external#view"];
19584
+ };
19585
+ readonly expiresAt: {
19586
+ readonly type: "string";
19587
+ readonly description: "The date when this status will expire. The application might choose to no longer return the status after expiration.";
19588
+ readonly format: "datetime";
19589
+ };
19590
+ readonly isActive: {
19591
+ readonly type: "boolean";
19592
+ readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
19593
+ };
19594
+ };
19595
+ };
19146
19596
  };
19147
19597
  } | {
19148
19598
  readonly lexicon: 1;
@@ -19453,6 +19903,45 @@ export declare const schemas: ({
19453
19903
  };
19454
19904
  };
19455
19905
  };
19906
+ } | {
19907
+ readonly lexicon: 1;
19908
+ readonly id: "app.bsky.actor.status";
19909
+ readonly defs: {
19910
+ readonly main: {
19911
+ readonly type: "record";
19912
+ readonly description: "A declaration of a Bluesky account status.";
19913
+ readonly key: "literal:self";
19914
+ readonly record: {
19915
+ readonly type: "object";
19916
+ readonly required: ["status", "createdAt"];
19917
+ readonly properties: {
19918
+ readonly status: {
19919
+ readonly type: "string";
19920
+ readonly description: "The status for the account.";
19921
+ readonly knownValues: ["app.bsky.actor.status#live"];
19922
+ };
19923
+ readonly embed: {
19924
+ readonly type: "union";
19925
+ readonly description: "An optional embed associated with the status.";
19926
+ readonly refs: ["lex:app.bsky.embed.external"];
19927
+ };
19928
+ readonly durationMinutes: {
19929
+ readonly type: "integer";
19930
+ readonly description: "The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.";
19931
+ readonly minimum: 1;
19932
+ };
19933
+ readonly createdAt: {
19934
+ readonly type: "string";
19935
+ readonly format: "datetime";
19936
+ };
19937
+ };
19938
+ };
19939
+ };
19940
+ readonly live: {
19941
+ readonly type: "token";
19942
+ readonly description: "Advertises an account as currently offering live content.";
19943
+ };
19944
+ };
19456
19945
  } | {
19457
19946
  readonly lexicon: 1;
19458
19947
  readonly id: "app.bsky.embed.defs";
@@ -27754,6 +28243,11 @@ export declare const schemas: ({
27754
28243
  readonly type: "ref";
27755
28244
  readonly ref: "lex:tools.ozone.server.getConfig#viewerConfig";
27756
28245
  };
28246
+ readonly verifierDid: {
28247
+ readonly type: "string";
28248
+ readonly format: "did";
28249
+ readonly description: "The did of the verifier used for verification.";
28250
+ };
27757
28251
  };
27758
28252
  };
27759
28253
  };
@@ -27772,7 +28266,7 @@ export declare const schemas: ({
27772
28266
  readonly properties: {
27773
28267
  readonly role: {
27774
28268
  readonly type: "string";
27775
- readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
28269
+ readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier"];
27776
28270
  };
27777
28271
  };
27778
28272
  };
@@ -28089,7 +28583,7 @@ export declare const schemas: ({
28089
28583
  };
28090
28584
  readonly managerRole: {
28091
28585
  readonly type: "string";
28092
- readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
28586
+ readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleVerifier"];
28093
28587
  };
28094
28588
  readonly scope: {
28095
28589
  readonly type: "string";
@@ -28234,7 +28728,7 @@ export declare const schemas: ({
28234
28728
  };
28235
28729
  readonly managerRole: {
28236
28730
  readonly type: "string";
28237
- readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
28731
+ readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleAdmin"];
28238
28732
  };
28239
28733
  };
28240
28734
  };
@@ -28441,7 +28935,7 @@ export declare const schemas: ({
28441
28935
  };
28442
28936
  readonly role: {
28443
28937
  readonly type: "string";
28444
- readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
28938
+ readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
28445
28939
  };
28446
28940
  };
28447
28941
  };
@@ -28491,7 +28985,7 @@ export declare const schemas: ({
28491
28985
  };
28492
28986
  readonly role: {
28493
28987
  readonly type: "string";
28494
- readonly knownValues: ["lex:tools.ozone.team.defs#roleAdmin", "lex:tools.ozone.team.defs#roleModerator", "lex:tools.ozone.team.defs#roleTriage"];
28988
+ readonly knownValues: ["lex:tools.ozone.team.defs#roleAdmin", "lex:tools.ozone.team.defs#roleModerator", "lex:tools.ozone.team.defs#roleTriage", "lex:tools.ozone.team.defs#roleVerifier"];
28495
28989
  };
28496
28990
  };
28497
28991
  };
@@ -28507,6 +29001,10 @@ export declare const schemas: ({
28507
29001
  readonly type: "token";
28508
29002
  readonly description: "Triage role. Mostly intended for monitoring and escalating issues.";
28509
29003
  };
29004
+ readonly roleVerifier: {
29005
+ readonly type: "token";
29006
+ readonly description: "Verifier role. Only allowed to issue verifications.";
29007
+ };
28510
29008
  };
28511
29009
  } | {
28512
29010
  readonly lexicon: 1;
@@ -28613,7 +29111,7 @@ export declare const schemas: ({
28613
29111
  };
28614
29112
  readonly role: {
28615
29113
  readonly type: "string";
28616
- readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
29114
+ readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
28617
29115
  };
28618
29116
  };
28619
29117
  };
@@ -28631,6 +29129,323 @@ export declare const schemas: ({
28631
29129
  }];
28632
29130
  };
28633
29131
  };
29132
+ } | {
29133
+ readonly lexicon: 1;
29134
+ readonly id: "tools.ozone.verification.defs";
29135
+ readonly defs: {
29136
+ readonly verificationView: {
29137
+ readonly type: "object";
29138
+ readonly description: "Verification data for the associated subject.";
29139
+ readonly required: ["issuer", "uri", "subject", "handle", "displayName", "createdAt"];
29140
+ readonly properties: {
29141
+ readonly issuer: {
29142
+ readonly type: "string";
29143
+ readonly description: "The user who issued this verification.";
29144
+ readonly format: "did";
29145
+ };
29146
+ readonly uri: {
29147
+ readonly type: "string";
29148
+ readonly description: "The AT-URI of the verification record.";
29149
+ readonly format: "at-uri";
29150
+ };
29151
+ readonly subject: {
29152
+ readonly type: "string";
29153
+ readonly format: "did";
29154
+ readonly description: "The subject of the verification.";
29155
+ };
29156
+ readonly handle: {
29157
+ readonly type: "string";
29158
+ readonly 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.";
29159
+ readonly format: "handle";
29160
+ };
29161
+ readonly displayName: {
29162
+ readonly type: "string";
29163
+ readonly 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.";
29164
+ };
29165
+ readonly createdAt: {
29166
+ readonly type: "string";
29167
+ readonly description: "Timestamp when the verification was created.";
29168
+ readonly format: "datetime";
29169
+ };
29170
+ readonly revokeReason: {
29171
+ readonly type: "string";
29172
+ readonly description: "Describes the reason for revocation, also indicating that the verification is no longer valid.";
29173
+ };
29174
+ readonly revokedAt: {
29175
+ readonly type: "string";
29176
+ readonly description: "Timestamp when the verification was revoked.";
29177
+ readonly format: "datetime";
29178
+ };
29179
+ readonly revokedBy: {
29180
+ readonly type: "string";
29181
+ readonly description: "The user who revoked this verification.";
29182
+ readonly format: "did";
29183
+ };
29184
+ readonly subjectProfile: {
29185
+ readonly type: "union";
29186
+ readonly refs: [];
29187
+ };
29188
+ readonly issuerProfile: {
29189
+ readonly type: "union";
29190
+ readonly refs: [];
29191
+ };
29192
+ readonly subjectRepo: {
29193
+ readonly type: "union";
29194
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
29195
+ };
29196
+ readonly issuerRepo: {
29197
+ readonly type: "union";
29198
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
29199
+ };
29200
+ };
29201
+ };
29202
+ };
29203
+ } | {
29204
+ readonly lexicon: 1;
29205
+ readonly id: "tools.ozone.verification.grantVerifications";
29206
+ readonly defs: {
29207
+ readonly main: {
29208
+ readonly type: "procedure";
29209
+ readonly description: "Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.";
29210
+ readonly input: {
29211
+ readonly encoding: "application/json";
29212
+ readonly schema: {
29213
+ readonly type: "object";
29214
+ readonly required: ["verifications"];
29215
+ readonly properties: {
29216
+ readonly verifications: {
29217
+ readonly type: "array";
29218
+ readonly description: "Array of verification requests to process";
29219
+ readonly maxLength: 100;
29220
+ readonly items: {
29221
+ readonly type: "ref";
29222
+ readonly ref: "lex:tools.ozone.verification.grantVerifications#verificationInput";
29223
+ };
29224
+ };
29225
+ };
29226
+ };
29227
+ };
29228
+ readonly output: {
29229
+ readonly encoding: "application/json";
29230
+ readonly schema: {
29231
+ readonly type: "object";
29232
+ readonly required: ["verifications", "failedVerifications"];
29233
+ readonly properties: {
29234
+ readonly verifications: {
29235
+ readonly type: "array";
29236
+ readonly items: {
29237
+ readonly type: "ref";
29238
+ readonly ref: "lex:tools.ozone.verification.defs#verificationView";
29239
+ };
29240
+ };
29241
+ readonly failedVerifications: {
29242
+ readonly type: "array";
29243
+ readonly items: {
29244
+ readonly type: "ref";
29245
+ readonly ref: "lex:tools.ozone.verification.grantVerifications#grantError";
29246
+ };
29247
+ };
29248
+ };
29249
+ };
29250
+ };
29251
+ };
29252
+ readonly verificationInput: {
29253
+ readonly type: "object";
29254
+ readonly required: ["subject", "handle", "displayName"];
29255
+ readonly properties: {
29256
+ readonly subject: {
29257
+ readonly type: "string";
29258
+ readonly description: "The did of the subject being verified";
29259
+ readonly format: "did";
29260
+ };
29261
+ readonly handle: {
29262
+ readonly type: "string";
29263
+ readonly description: "Handle of the subject the verification applies to at the moment of verifying.";
29264
+ readonly format: "handle";
29265
+ };
29266
+ readonly displayName: {
29267
+ readonly type: "string";
29268
+ readonly description: "Display name of the subject the verification applies to at the moment of verifying.";
29269
+ };
29270
+ readonly createdAt: {
29271
+ readonly type: "string";
29272
+ readonly description: "Timestamp for verification record. Defaults to current time when not specified.";
29273
+ };
29274
+ };
29275
+ };
29276
+ readonly grantError: {
29277
+ readonly type: "object";
29278
+ readonly description: "Error object for failed verifications.";
29279
+ readonly required: ["error", "subject"];
29280
+ readonly properties: {
29281
+ readonly error: {
29282
+ readonly type: "string";
29283
+ readonly description: "Error message describing the reason for failure.";
29284
+ };
29285
+ readonly subject: {
29286
+ readonly type: "string";
29287
+ readonly description: "The did of the subject being verified";
29288
+ readonly format: "did";
29289
+ };
29290
+ };
29291
+ };
29292
+ };
29293
+ } | {
29294
+ readonly lexicon: 1;
29295
+ readonly id: "tools.ozone.verification.listVerifications";
29296
+ readonly defs: {
29297
+ readonly main: {
29298
+ readonly type: "query";
29299
+ readonly description: "List verifications";
29300
+ readonly parameters: {
29301
+ readonly type: "params";
29302
+ readonly properties: {
29303
+ readonly cursor: {
29304
+ readonly type: "string";
29305
+ readonly description: "Pagination cursor";
29306
+ };
29307
+ readonly limit: {
29308
+ readonly type: "integer";
29309
+ readonly description: "Maximum number of results to return";
29310
+ readonly minimum: 1;
29311
+ readonly maximum: 100;
29312
+ readonly default: 50;
29313
+ };
29314
+ readonly createdAfter: {
29315
+ readonly type: "string";
29316
+ readonly format: "datetime";
29317
+ readonly description: "Filter to verifications created after this timestamp";
29318
+ };
29319
+ readonly createdBefore: {
29320
+ readonly type: "string";
29321
+ readonly format: "datetime";
29322
+ readonly description: "Filter to verifications created before this timestamp";
29323
+ };
29324
+ readonly issuers: {
29325
+ readonly type: "array";
29326
+ readonly maxLength: 100;
29327
+ readonly description: "Filter to verifications from specific issuers";
29328
+ readonly items: {
29329
+ readonly type: "string";
29330
+ readonly format: "did";
29331
+ };
29332
+ };
29333
+ readonly subjects: {
29334
+ readonly type: "array";
29335
+ readonly description: "Filter to specific verified DIDs";
29336
+ readonly maxLength: 100;
29337
+ readonly items: {
29338
+ readonly type: "string";
29339
+ readonly format: "did";
29340
+ };
29341
+ };
29342
+ readonly sortDirection: {
29343
+ readonly type: "string";
29344
+ readonly description: "Sort direction for creation date";
29345
+ readonly enum: ["asc", "desc"];
29346
+ readonly default: "desc";
29347
+ };
29348
+ readonly isRevoked: {
29349
+ readonly type: "boolean";
29350
+ readonly description: "Filter to verifications that are revoked or not. By default, includes both.";
29351
+ };
29352
+ };
29353
+ };
29354
+ readonly output: {
29355
+ readonly encoding: "application/json";
29356
+ readonly schema: {
29357
+ readonly type: "object";
29358
+ readonly required: ["verifications"];
29359
+ readonly properties: {
29360
+ readonly cursor: {
29361
+ readonly type: "string";
29362
+ };
29363
+ readonly verifications: {
29364
+ readonly type: "array";
29365
+ readonly items: {
29366
+ readonly type: "ref";
29367
+ readonly ref: "lex:tools.ozone.verification.defs#verificationView";
29368
+ };
29369
+ };
29370
+ };
29371
+ };
29372
+ };
29373
+ };
29374
+ };
29375
+ } | {
29376
+ readonly lexicon: 1;
29377
+ readonly id: "tools.ozone.verification.revokeVerifications";
29378
+ readonly defs: {
29379
+ readonly main: {
29380
+ readonly type: "procedure";
29381
+ readonly description: "Revoke previously granted verifications in batches of up to 100.";
29382
+ readonly input: {
29383
+ readonly encoding: "application/json";
29384
+ readonly schema: {
29385
+ readonly type: "object";
29386
+ readonly required: ["uris"];
29387
+ readonly properties: {
29388
+ readonly uris: {
29389
+ readonly type: "array";
29390
+ readonly description: "Array of verification record uris to revoke";
29391
+ readonly maxLength: 100;
29392
+ readonly items: {
29393
+ readonly type: "string";
29394
+ readonly description: "The AT-URI of the verification record to revoke.";
29395
+ readonly format: "at-uri";
29396
+ };
29397
+ };
29398
+ readonly revokeReason: {
29399
+ readonly type: "string";
29400
+ readonly description: "Reason for revoking the verification. This is optional and can be omitted if not needed.";
29401
+ readonly maxLength: 1000;
29402
+ };
29403
+ };
29404
+ };
29405
+ };
29406
+ readonly output: {
29407
+ readonly encoding: "application/json";
29408
+ readonly schema: {
29409
+ readonly type: "object";
29410
+ readonly required: ["revokedVerifications", "failedRevocations"];
29411
+ readonly properties: {
29412
+ readonly revokedVerifications: {
29413
+ readonly type: "array";
29414
+ readonly description: "List of verification uris successfully revoked";
29415
+ readonly items: {
29416
+ readonly type: "string";
29417
+ readonly format: "at-uri";
29418
+ };
29419
+ };
29420
+ readonly failedRevocations: {
29421
+ readonly type: "array";
29422
+ readonly description: "List of verification uris that couldn't be revoked, including failure reasons";
29423
+ readonly items: {
29424
+ readonly type: "ref";
29425
+ readonly ref: "lex:tools.ozone.verification.revokeVerifications#revokeError";
29426
+ };
29427
+ };
29428
+ };
29429
+ };
29430
+ };
29431
+ };
29432
+ readonly revokeError: {
29433
+ readonly type: "object";
29434
+ readonly description: "Error object for failed revocations";
29435
+ readonly required: ["uri", "error"];
29436
+ readonly properties: {
29437
+ readonly uri: {
29438
+ readonly type: "string";
29439
+ readonly description: "The AT-URI of the verification record that failed to revoke.";
29440
+ readonly format: "at-uri";
29441
+ };
29442
+ readonly error: {
29443
+ readonly type: "string";
29444
+ readonly description: "Description of the error that occurred during revocation.";
29445
+ };
29446
+ };
29447
+ };
29448
+ };
28634
29449
  })[];
28635
29450
  export declare const lexicons: Lexicons;
28636
29451
  export declare function validate<T extends {
@@ -28740,6 +29555,7 @@ export declare const ids: {
28740
29555
  readonly AppBskyActorPutPreferences: "app.bsky.actor.putPreferences";
28741
29556
  readonly AppBskyActorSearchActors: "app.bsky.actor.searchActors";
28742
29557
  readonly AppBskyActorSearchActorsTypeahead: "app.bsky.actor.searchActorsTypeahead";
29558
+ readonly AppBskyActorStatus: "app.bsky.actor.status";
28743
29559
  readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
28744
29560
  readonly AppBskyEmbedExternal: "app.bsky.embed.external";
28745
29561
  readonly AppBskyEmbedImages: "app.bsky.embed.images";
@@ -28895,5 +29711,9 @@ export declare const ids: {
28895
29711
  readonly ToolsOzoneTeamDeleteMember: "tools.ozone.team.deleteMember";
28896
29712
  readonly ToolsOzoneTeamListMembers: "tools.ozone.team.listMembers";
28897
29713
  readonly ToolsOzoneTeamUpdateMember: "tools.ozone.team.updateMember";
29714
+ readonly ToolsOzoneVerificationDefs: "tools.ozone.verification.defs";
29715
+ readonly ToolsOzoneVerificationGrantVerifications: "tools.ozone.verification.grantVerifications";
29716
+ readonly ToolsOzoneVerificationListVerifications: "tools.ozone.verification.listVerifications";
29717
+ readonly ToolsOzoneVerificationRevokeVerifications: "tools.ozone.verification.revokeVerifications";
28898
29718
  };
28899
29719
  //# sourceMappingURL=lexicons.d.ts.map