@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
@@ -4568,6 +4568,10 @@ export const schemaDict = {
4568
4568
  type: 'ref',
4569
4569
  ref: 'lex:app.bsky.actor.defs#verificationState',
4570
4570
  },
4571
+ status: {
4572
+ type: 'ref',
4573
+ ref: 'lex:app.bsky.actor.defs#statusView',
4574
+ },
4571
4575
  },
4572
4576
  },
4573
4577
  profileView: {
@@ -4623,6 +4627,10 @@ export const schemaDict = {
4623
4627
  type: 'ref',
4624
4628
  ref: 'lex:app.bsky.actor.defs#verificationState',
4625
4629
  },
4630
+ status: {
4631
+ type: 'ref',
4632
+ ref: 'lex:app.bsky.actor.defs#statusView',
4633
+ },
4626
4634
  },
4627
4635
  },
4628
4636
  profileViewDetailed: {
@@ -4699,6 +4707,10 @@ export const schemaDict = {
4699
4707
  type: 'ref',
4700
4708
  ref: 'lex:app.bsky.actor.defs#verificationState',
4701
4709
  },
4710
+ status: {
4711
+ type: 'ref',
4712
+ ref: 'lex:app.bsky.actor.defs#statusView',
4713
+ },
4702
4714
  },
4703
4715
  },
4704
4716
  profileAssociated: {
@@ -5240,6 +5252,36 @@ export const schemaDict = {
5240
5252
  },
5241
5253
  },
5242
5254
  },
5255
+ statusView: {
5256
+ type: 'object',
5257
+ required: ['status', 'record'],
5258
+ properties: {
5259
+ status: {
5260
+ type: 'string',
5261
+ description: 'The status for the account.',
5262
+ knownValues: ['app.bsky.actor.status#live'],
5263
+ },
5264
+ record: {
5265
+ type: 'unknown',
5266
+ },
5267
+ embed: {
5268
+ type: 'union',
5269
+ description: 'An optional embed associated with the status.',
5270
+ refs: ['lex:app.bsky.embed.external#view'],
5271
+ },
5272
+ expiresAt: {
5273
+ type: 'string',
5274
+ description:
5275
+ 'The date when this status will expire. The application might choose to no longer return the status after expiration.',
5276
+ format: 'datetime',
5277
+ },
5278
+ isActive: {
5279
+ type: 'boolean',
5280
+ description:
5281
+ 'True if the status is not expired, false if it is expired. Only present if expiration was set.',
5282
+ },
5283
+ },
5284
+ },
5243
5285
  },
5244
5286
  },
5245
5287
  AppBskyActorGetPreferences: {
@@ -5569,6 +5611,48 @@ export const schemaDict = {
5569
5611
  },
5570
5612
  },
5571
5613
  },
5614
+ AppBskyActorStatus: {
5615
+ lexicon: 1,
5616
+ id: 'app.bsky.actor.status',
5617
+ defs: {
5618
+ main: {
5619
+ type: 'record',
5620
+ description: 'A declaration of a Bluesky account status.',
5621
+ key: 'literal:self',
5622
+ record: {
5623
+ type: 'object',
5624
+ required: ['status', 'createdAt'],
5625
+ properties: {
5626
+ status: {
5627
+ type: 'string',
5628
+ description: 'The status for the account.',
5629
+ knownValues: ['app.bsky.actor.status#live'],
5630
+ },
5631
+ embed: {
5632
+ type: 'union',
5633
+ description: 'An optional embed associated with the status.',
5634
+ refs: ['lex:app.bsky.embed.external'],
5635
+ },
5636
+ durationMinutes: {
5637
+ type: 'integer',
5638
+ description:
5639
+ 'The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.',
5640
+ minimum: 1,
5641
+ },
5642
+ createdAt: {
5643
+ type: 'string',
5644
+ format: 'datetime',
5645
+ },
5646
+ },
5647
+ },
5648
+ },
5649
+ live: {
5650
+ type: 'token',
5651
+ description:
5652
+ 'Advertises an account as currently offering live content.',
5653
+ },
5654
+ },
5655
+ },
5572
5656
  AppBskyEmbedDefs: {
5573
5657
  lexicon: 1,
5574
5658
  id: 'app.bsky.embed.defs',
@@ -14652,6 +14736,11 @@ export const schemaDict = {
14652
14736
  type: 'ref',
14653
14737
  ref: 'lex:tools.ozone.server.getConfig#viewerConfig',
14654
14738
  },
14739
+ verifierDid: {
14740
+ type: 'string',
14741
+ format: 'did',
14742
+ description: 'The did of the verifier used for verification.',
14743
+ },
14655
14744
  },
14656
14745
  },
14657
14746
  },
@@ -14674,6 +14763,7 @@ export const schemaDict = {
14674
14763
  'tools.ozone.team.defs#roleAdmin',
14675
14764
  'tools.ozone.team.defs#roleModerator',
14676
14765
  'tools.ozone.team.defs#roleTriage',
14766
+ 'tools.ozone.team.defs#roleVerifier',
14677
14767
  ],
14678
14768
  },
14679
14769
  },
@@ -15019,6 +15109,7 @@ export const schemaDict = {
15019
15109
  'tools.ozone.team.defs#roleModerator',
15020
15110
  'tools.ozone.team.defs#roleTriage',
15021
15111
  'tools.ozone.team.defs#roleAdmin',
15112
+ 'tools.ozone.team.defs#roleVerifier',
15022
15113
  ],
15023
15114
  },
15024
15115
  scope: {
@@ -15171,6 +15262,7 @@ export const schemaDict = {
15171
15262
  knownValues: [
15172
15263
  'tools.ozone.team.defs#roleModerator',
15173
15264
  'tools.ozone.team.defs#roleTriage',
15265
+ 'tools.ozone.team.defs#roleVerifier',
15174
15266
  'tools.ozone.team.defs#roleAdmin',
15175
15267
  ],
15176
15268
  },
@@ -15390,6 +15482,7 @@ export const schemaDict = {
15390
15482
  knownValues: [
15391
15483
  'tools.ozone.team.defs#roleAdmin',
15392
15484
  'tools.ozone.team.defs#roleModerator',
15485
+ 'tools.ozone.team.defs#roleVerifier',
15393
15486
  'tools.ozone.team.defs#roleTriage',
15394
15487
  ],
15395
15488
  },
@@ -15448,6 +15541,7 @@ export const schemaDict = {
15448
15541
  'lex:tools.ozone.team.defs#roleAdmin',
15449
15542
  'lex:tools.ozone.team.defs#roleModerator',
15450
15543
  'lex:tools.ozone.team.defs#roleTriage',
15544
+ 'lex:tools.ozone.team.defs#roleVerifier',
15451
15545
  ],
15452
15546
  },
15453
15547
  },
@@ -15466,6 +15560,10 @@ export const schemaDict = {
15466
15560
  description:
15467
15561
  'Triage role. Mostly intended for monitoring and escalating issues.',
15468
15562
  },
15563
+ roleVerifier: {
15564
+ type: 'token',
15565
+ description: 'Verifier role. Only allowed to issue verifications.',
15566
+ },
15469
15567
  },
15470
15568
  },
15471
15569
  ToolsOzoneTeamDeleteMember: {
@@ -15582,6 +15680,7 @@ export const schemaDict = {
15582
15680
  knownValues: [
15583
15681
  'tools.ozone.team.defs#roleAdmin',
15584
15682
  'tools.ozone.team.defs#roleModerator',
15683
+ 'tools.ozone.team.defs#roleVerifier',
15585
15684
  'tools.ozone.team.defs#roleTriage',
15586
15685
  ],
15587
15686
  },
@@ -15604,6 +15703,356 @@ export const schemaDict = {
15604
15703
  },
15605
15704
  },
15606
15705
  },
15706
+ ToolsOzoneVerificationDefs: {
15707
+ lexicon: 1,
15708
+ id: 'tools.ozone.verification.defs',
15709
+ defs: {
15710
+ verificationView: {
15711
+ type: 'object',
15712
+ description: 'Verification data for the associated subject.',
15713
+ required: [
15714
+ 'issuer',
15715
+ 'uri',
15716
+ 'subject',
15717
+ 'handle',
15718
+ 'displayName',
15719
+ 'createdAt',
15720
+ ],
15721
+ properties: {
15722
+ issuer: {
15723
+ type: 'string',
15724
+ description: 'The user who issued this verification.',
15725
+ format: 'did',
15726
+ },
15727
+ uri: {
15728
+ type: 'string',
15729
+ description: 'The AT-URI of the verification record.',
15730
+ format: 'at-uri',
15731
+ },
15732
+ subject: {
15733
+ type: 'string',
15734
+ format: 'did',
15735
+ description: 'The subject of the verification.',
15736
+ },
15737
+ handle: {
15738
+ type: 'string',
15739
+ description:
15740
+ '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.',
15741
+ format: 'handle',
15742
+ },
15743
+ displayName: {
15744
+ type: 'string',
15745
+ description:
15746
+ '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.',
15747
+ },
15748
+ createdAt: {
15749
+ type: 'string',
15750
+ description: 'Timestamp when the verification was created.',
15751
+ format: 'datetime',
15752
+ },
15753
+ revokeReason: {
15754
+ type: 'string',
15755
+ description:
15756
+ 'Describes the reason for revocation, also indicating that the verification is no longer valid.',
15757
+ },
15758
+ revokedAt: {
15759
+ type: 'string',
15760
+ description: 'Timestamp when the verification was revoked.',
15761
+ format: 'datetime',
15762
+ },
15763
+ revokedBy: {
15764
+ type: 'string',
15765
+ description: 'The user who revoked this verification.',
15766
+ format: 'did',
15767
+ },
15768
+ subjectProfile: {
15769
+ type: 'union',
15770
+ refs: [],
15771
+ },
15772
+ issuerProfile: {
15773
+ type: 'union',
15774
+ refs: [],
15775
+ },
15776
+ subjectRepo: {
15777
+ type: 'union',
15778
+ refs: [
15779
+ 'lex:tools.ozone.moderation.defs#repoViewDetail',
15780
+ 'lex:tools.ozone.moderation.defs#repoViewNotFound',
15781
+ ],
15782
+ },
15783
+ issuerRepo: {
15784
+ type: 'union',
15785
+ refs: [
15786
+ 'lex:tools.ozone.moderation.defs#repoViewDetail',
15787
+ 'lex:tools.ozone.moderation.defs#repoViewNotFound',
15788
+ ],
15789
+ },
15790
+ },
15791
+ },
15792
+ },
15793
+ },
15794
+ ToolsOzoneVerificationGrantVerifications: {
15795
+ lexicon: 1,
15796
+ id: 'tools.ozone.verification.grantVerifications',
15797
+ defs: {
15798
+ main: {
15799
+ type: 'procedure',
15800
+ description:
15801
+ 'Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.',
15802
+ input: {
15803
+ encoding: 'application/json',
15804
+ schema: {
15805
+ type: 'object',
15806
+ required: ['verifications'],
15807
+ properties: {
15808
+ verifications: {
15809
+ type: 'array',
15810
+ description: 'Array of verification requests to process',
15811
+ maxLength: 100,
15812
+ items: {
15813
+ type: 'ref',
15814
+ ref: 'lex:tools.ozone.verification.grantVerifications#verificationInput',
15815
+ },
15816
+ },
15817
+ },
15818
+ },
15819
+ },
15820
+ output: {
15821
+ encoding: 'application/json',
15822
+ schema: {
15823
+ type: 'object',
15824
+ required: ['verifications', 'failedVerifications'],
15825
+ properties: {
15826
+ verifications: {
15827
+ type: 'array',
15828
+ items: {
15829
+ type: 'ref',
15830
+ ref: 'lex:tools.ozone.verification.defs#verificationView',
15831
+ },
15832
+ },
15833
+ failedVerifications: {
15834
+ type: 'array',
15835
+ items: {
15836
+ type: 'ref',
15837
+ ref: 'lex:tools.ozone.verification.grantVerifications#grantError',
15838
+ },
15839
+ },
15840
+ },
15841
+ },
15842
+ },
15843
+ },
15844
+ verificationInput: {
15845
+ type: 'object',
15846
+ required: ['subject', 'handle', 'displayName'],
15847
+ properties: {
15848
+ subject: {
15849
+ type: 'string',
15850
+ description: 'The did of the subject being verified',
15851
+ format: 'did',
15852
+ },
15853
+ handle: {
15854
+ type: 'string',
15855
+ description:
15856
+ 'Handle of the subject the verification applies to at the moment of verifying.',
15857
+ format: 'handle',
15858
+ },
15859
+ displayName: {
15860
+ type: 'string',
15861
+ description:
15862
+ 'Display name of the subject the verification applies to at the moment of verifying.',
15863
+ },
15864
+ createdAt: {
15865
+ type: 'string',
15866
+ description:
15867
+ 'Timestamp for verification record. Defaults to current time when not specified.',
15868
+ },
15869
+ },
15870
+ },
15871
+ grantError: {
15872
+ type: 'object',
15873
+ description: 'Error object for failed verifications.',
15874
+ required: ['error', 'subject'],
15875
+ properties: {
15876
+ error: {
15877
+ type: 'string',
15878
+ description: 'Error message describing the reason for failure.',
15879
+ },
15880
+ subject: {
15881
+ type: 'string',
15882
+ description: 'The did of the subject being verified',
15883
+ format: 'did',
15884
+ },
15885
+ },
15886
+ },
15887
+ },
15888
+ },
15889
+ ToolsOzoneVerificationListVerifications: {
15890
+ lexicon: 1,
15891
+ id: 'tools.ozone.verification.listVerifications',
15892
+ defs: {
15893
+ main: {
15894
+ type: 'query',
15895
+ description: 'List verifications',
15896
+ parameters: {
15897
+ type: 'params',
15898
+ properties: {
15899
+ cursor: {
15900
+ type: 'string',
15901
+ description: 'Pagination cursor',
15902
+ },
15903
+ limit: {
15904
+ type: 'integer',
15905
+ description: 'Maximum number of results to return',
15906
+ minimum: 1,
15907
+ maximum: 100,
15908
+ default: 50,
15909
+ },
15910
+ createdAfter: {
15911
+ type: 'string',
15912
+ format: 'datetime',
15913
+ description:
15914
+ 'Filter to verifications created after this timestamp',
15915
+ },
15916
+ createdBefore: {
15917
+ type: 'string',
15918
+ format: 'datetime',
15919
+ description:
15920
+ 'Filter to verifications created before this timestamp',
15921
+ },
15922
+ issuers: {
15923
+ type: 'array',
15924
+ maxLength: 100,
15925
+ description: 'Filter to verifications from specific issuers',
15926
+ items: {
15927
+ type: 'string',
15928
+ format: 'did',
15929
+ },
15930
+ },
15931
+ subjects: {
15932
+ type: 'array',
15933
+ description: 'Filter to specific verified DIDs',
15934
+ maxLength: 100,
15935
+ items: {
15936
+ type: 'string',
15937
+ format: 'did',
15938
+ },
15939
+ },
15940
+ sortDirection: {
15941
+ type: 'string',
15942
+ description: 'Sort direction for creation date',
15943
+ enum: ['asc', 'desc'],
15944
+ default: 'desc',
15945
+ },
15946
+ isRevoked: {
15947
+ type: 'boolean',
15948
+ description:
15949
+ 'Filter to verifications that are revoked or not. By default, includes both.',
15950
+ },
15951
+ },
15952
+ },
15953
+ output: {
15954
+ encoding: 'application/json',
15955
+ schema: {
15956
+ type: 'object',
15957
+ required: ['verifications'],
15958
+ properties: {
15959
+ cursor: {
15960
+ type: 'string',
15961
+ },
15962
+ verifications: {
15963
+ type: 'array',
15964
+ items: {
15965
+ type: 'ref',
15966
+ ref: 'lex:tools.ozone.verification.defs#verificationView',
15967
+ },
15968
+ },
15969
+ },
15970
+ },
15971
+ },
15972
+ },
15973
+ },
15974
+ },
15975
+ ToolsOzoneVerificationRevokeVerifications: {
15976
+ lexicon: 1,
15977
+ id: 'tools.ozone.verification.revokeVerifications',
15978
+ defs: {
15979
+ main: {
15980
+ type: 'procedure',
15981
+ description:
15982
+ 'Revoke previously granted verifications in batches of up to 100.',
15983
+ input: {
15984
+ encoding: 'application/json',
15985
+ schema: {
15986
+ type: 'object',
15987
+ required: ['uris'],
15988
+ properties: {
15989
+ uris: {
15990
+ type: 'array',
15991
+ description: 'Array of verification record uris to revoke',
15992
+ maxLength: 100,
15993
+ items: {
15994
+ type: 'string',
15995
+ description:
15996
+ 'The AT-URI of the verification record to revoke.',
15997
+ format: 'at-uri',
15998
+ },
15999
+ },
16000
+ revokeReason: {
16001
+ type: 'string',
16002
+ description:
16003
+ 'Reason for revoking the verification. This is optional and can be omitted if not needed.',
16004
+ maxLength: 1000,
16005
+ },
16006
+ },
16007
+ },
16008
+ },
16009
+ output: {
16010
+ encoding: 'application/json',
16011
+ schema: {
16012
+ type: 'object',
16013
+ required: ['revokedVerifications', 'failedRevocations'],
16014
+ properties: {
16015
+ revokedVerifications: {
16016
+ type: 'array',
16017
+ description: 'List of verification uris successfully revoked',
16018
+ items: {
16019
+ type: 'string',
16020
+ format: 'at-uri',
16021
+ },
16022
+ },
16023
+ failedRevocations: {
16024
+ type: 'array',
16025
+ description:
16026
+ "List of verification uris that couldn't be revoked, including failure reasons",
16027
+ items: {
16028
+ type: 'ref',
16029
+ ref: 'lex:tools.ozone.verification.revokeVerifications#revokeError',
16030
+ },
16031
+ },
16032
+ },
16033
+ },
16034
+ },
16035
+ },
16036
+ revokeError: {
16037
+ type: 'object',
16038
+ description: 'Error object for failed revocations',
16039
+ required: ['uri', 'error'],
16040
+ properties: {
16041
+ uri: {
16042
+ type: 'string',
16043
+ description:
16044
+ 'The AT-URI of the verification record that failed to revoke.',
16045
+ format: 'at-uri',
16046
+ },
16047
+ error: {
16048
+ type: 'string',
16049
+ description:
16050
+ 'Description of the error that occurred during revocation.',
16051
+ },
16052
+ },
16053
+ },
16054
+ },
16055
+ },
15607
16056
  } as const satisfies Record<string, LexiconDoc>
15608
16057
  export const schemas = Object.values(schemaDict) satisfies LexiconDoc[]
15609
16058
  export const lexicons: Lexicons = new Lexicons(schemas)
@@ -15748,6 +16197,7 @@ export const ids = {
15748
16197
  AppBskyActorPutPreferences: 'app.bsky.actor.putPreferences',
15749
16198
  AppBskyActorSearchActors: 'app.bsky.actor.searchActors',
15750
16199
  AppBskyActorSearchActorsTypeahead: 'app.bsky.actor.searchActorsTypeahead',
16200
+ AppBskyActorStatus: 'app.bsky.actor.status',
15751
16201
  AppBskyEmbedDefs: 'app.bsky.embed.defs',
15752
16202
  AppBskyEmbedExternal: 'app.bsky.embed.external',
15753
16203
  AppBskyEmbedImages: 'app.bsky.embed.images',
@@ -15920,4 +16370,11 @@ export const ids = {
15920
16370
  ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',
15921
16371
  ToolsOzoneTeamListMembers: 'tools.ozone.team.listMembers',
15922
16372
  ToolsOzoneTeamUpdateMember: 'tools.ozone.team.updateMember',
16373
+ ToolsOzoneVerificationDefs: 'tools.ozone.verification.defs',
16374
+ ToolsOzoneVerificationGrantVerifications:
16375
+ 'tools.ozone.verification.grantVerifications',
16376
+ ToolsOzoneVerificationListVerifications:
16377
+ 'tools.ozone.verification.listVerifications',
16378
+ ToolsOzoneVerificationRevokeVerifications:
16379
+ 'tools.ozone.verification.revokeVerifications',
15923
16380
  } as const
@@ -14,6 +14,7 @@ import type * as AppBskyGraphDefs from '../graph/defs.js'
14
14
  import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
15
15
  import type * as AppBskyFeedThreadgate from '../feed/threadgate.js'
16
16
  import type * as AppBskyFeedPostgate from '../feed/postgate.js'
17
+ import type * as AppBskyEmbedExternal from '../embed/external.js'
17
18
 
18
19
  const is$typed = _is$typed,
19
20
  validate = _validate
@@ -30,6 +31,7 @@ export interface ProfileViewBasic {
30
31
  labels?: ComAtprotoLabelDefs.Label[]
31
32
  createdAt?: string
32
33
  verification?: VerificationState
34
+ status?: StatusView
33
35
  }
34
36
 
35
37
  const hashProfileViewBasic = 'profileViewBasic'
@@ -55,6 +57,7 @@ export interface ProfileView {
55
57
  viewer?: ViewerState
56
58
  labels?: ComAtprotoLabelDefs.Label[]
57
59
  verification?: VerificationState
60
+ status?: StatusView
58
61
  }
59
62
 
60
63
  const hashProfileView = 'profileView'
@@ -86,6 +89,7 @@ export interface ProfileViewDetailed {
86
89
  labels?: ComAtprotoLabelDefs.Label[]
87
90
  pinnedPost?: ComAtprotoRepoStrongRef.Main
88
91
  verification?: VerificationState
92
+ status?: StatusView
89
93
  }
90
94
 
91
95
  const hashProfileViewDetailed = 'profileViewDetailed'
@@ -592,3 +596,25 @@ export function validatePostInteractionSettingsPref<V>(v: V) {
592
596
  hashPostInteractionSettingsPref,
593
597
  )
594
598
  }
599
+
600
+ export interface StatusView {
601
+ $type?: 'app.bsky.actor.defs#statusView'
602
+ /** The status for the account. */
603
+ status: 'app.bsky.actor.status#live' | (string & {})
604
+ record: { [_ in string]: unknown }
605
+ embed?: $Typed<AppBskyEmbedExternal.View> | { $type: string }
606
+ /** The date when this status will expire. The application might choose to no longer return the status after expiration. */
607
+ expiresAt?: string
608
+ /** True if the status is not expired, false if it is expired. Only present if expiration was set. */
609
+ isActive?: boolean
610
+ }
611
+
612
+ const hashStatusView = 'statusView'
613
+
614
+ export function isStatusView<V>(v: V) {
615
+ return is$typed(v, id, hashStatusView)
616
+ }
617
+
618
+ export function validateStatusView<V>(v: V) {
619
+ return validate<StatusView & V>(v, id, hashStatusView)
620
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon'
5
+ import { CID } from 'multiformats/cid'
6
+ import { validate as _validate } from '../../../../lexicons'
7
+ import {
8
+ type $Typed,
9
+ is$typed as _is$typed,
10
+ type OmitKey,
11
+ } from '../../../../util'
12
+ import type * as AppBskyEmbedExternal from '../embed/external.js'
13
+
14
+ const is$typed = _is$typed,
15
+ validate = _validate
16
+ const id = 'app.bsky.actor.status'
17
+
18
+ export interface Record {
19
+ $type: 'app.bsky.actor.status'
20
+ /** The status for the account. */
21
+ status: 'app.bsky.actor.status#live' | (string & {})
22
+ embed?: $Typed<AppBskyEmbedExternal.Main> | { $type: string }
23
+ /** The duration of the status in minutes. Applications can choose to impose minimum and maximum limits. */
24
+ durationMinutes?: number
25
+ createdAt: string
26
+ [k: string]: unknown
27
+ }
28
+
29
+ const hashRecord = 'main'
30
+
31
+ export function isRecord<V>(v: V) {
32
+ return is$typed(v, id, hashRecord)
33
+ }
34
+
35
+ export function validateRecord<V>(v: V) {
36
+ return validate<Record & V>(v, id, hashRecord, true)
37
+ }
38
+
39
+ /** Advertises an account as currently offering live content. */
40
+ export const LIVE = `${id}#live`
@@ -26,6 +26,8 @@ export interface OutputSchema {
26
26
  blobDivert?: ServiceConfig
27
27
  chat?: ServiceConfig
28
28
  viewer?: ViewerConfig
29
+ /** The did of the verifier used for verification. */
30
+ verifierDid?: string
29
31
  }
30
32
 
31
33
  export type HandlerInput = undefined
@@ -75,6 +77,7 @@ export interface ViewerConfig {
75
77
  | 'tools.ozone.team.defs#roleAdmin'
76
78
  | 'tools.ozone.team.defs#roleModerator'
77
79
  | 'tools.ozone.team.defs#roleTriage'
80
+ | 'tools.ozone.team.defs#roleVerifier'
78
81
  | (string & {})
79
82
  }
80
83
 
@@ -26,6 +26,7 @@ export interface Option {
26
26
  | 'tools.ozone.team.defs#roleModerator'
27
27
  | 'tools.ozone.team.defs#roleTriage'
28
28
  | 'tools.ozone.team.defs#roleAdmin'
29
+ | 'tools.ozone.team.defs#roleVerifier'
29
30
  | (string & {})
30
31
  scope: 'instance' | 'personal' | (string & {})
31
32
  createdBy: string
@@ -27,6 +27,7 @@ export interface InputSchema {
27
27
  managerRole?:
28
28
  | 'tools.ozone.team.defs#roleModerator'
29
29
  | 'tools.ozone.team.defs#roleTriage'
30
+ | 'tools.ozone.team.defs#roleVerifier'
30
31
  | 'tools.ozone.team.defs#roleAdmin'
31
32
  | (string & {})
32
33
  }
@@ -24,6 +24,7 @@ export interface InputSchema {
24
24
  role:
25
25
  | 'tools.ozone.team.defs#roleAdmin'
26
26
  | 'tools.ozone.team.defs#roleModerator'
27
+ | 'tools.ozone.team.defs#roleVerifier'
27
28
  | 'tools.ozone.team.defs#roleTriage'
28
29
  | (string & {})
29
30
  }