@atproto/pds 0.4.132 → 0.4.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/lexicon/index.d.ts +19 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +56 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +976 -80
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +485 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.d.ts +81 -0
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.js +61 -0
- package/dist/lexicon/types/tools/ozone/hosting/getAccountHistory.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts +3 -1
- package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts +3 -1
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/defs.js +3 -1
- package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/verification/defs.d.ts +43 -0
- package/dist/lexicon/types/tools/ozone/verification/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/defs.js +16 -0
- package/dist/lexicon/types/tools/ozone/verification/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.d.ts +66 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.js +25 -0
- package/dist/lexicon/types/tools/ozone/verification/grantVerifications.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.d.ts +52 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.js +7 -0
- package/dist/lexicon/types/tools/ozone/verification/listVerifications.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.d.ts +56 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.js +16 -0
- package/dist/lexicon/types/tools/ozone/verification/revokeVerifications.js.map +1 -0
- package/dist/pipethrough.js +3 -0
- package/dist/pipethrough.js.map +1 -1
- package/package.json +7 -7
- package/src/lexicon/index.ts +69 -0
- package/src/lexicon/lexicons.ts +505 -1
- package/src/lexicon/types/chat/bsky/actor/defs.ts +1 -1
- package/src/lexicon/types/tools/ozone/hosting/getAccountHistory.ts +161 -0
- package/src/lexicon/types/tools/ozone/server/getConfig.ts +3 -0
- package/src/lexicon/types/tools/ozone/setting/defs.ts +1 -0
- package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +1 -0
- package/src/lexicon/types/tools/ozone/team/addMember.ts +1 -0
- package/src/lexicon/types/tools/ozone/team/defs.ts +3 -0
- package/src/lexicon/types/tools/ozone/team/updateMember.ts +1 -0
- package/src/lexicon/types/tools/ozone/verification/defs.ts +59 -0
- package/src/lexicon/types/tools/ozone/verification/grantVerifications.ts +100 -0
- package/src/lexicon/types/tools/ozone/verification/listVerifications.ts +70 -0
- package/src/lexicon/types/tools/ozone/verification/revokeVerifications.ts +81 -0
- package/src/pipethrough.ts +3 -0
- package/tests/proxied/views.test.ts +53 -53
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
@@ -10736,7 +10736,7 @@ exports.schemaDict = {
|
|
10736
10736
|
},
|
10737
10737
|
chatDisabled: {
|
10738
10738
|
type: 'boolean',
|
10739
|
-
description: 'Set to true when the actor cannot actively participate in
|
10739
|
+
description: 'Set to true when the actor cannot actively participate in conversations',
|
10740
10740
|
},
|
10741
10741
|
verification: {
|
10742
10742
|
type: 'ref',
|
@@ -12191,6 +12191,136 @@ exports.schemaDict = {
|
|
12191
12191
|
},
|
12192
12192
|
},
|
12193
12193
|
},
|
12194
|
+
ToolsOzoneHostingGetAccountHistory: {
|
12195
|
+
lexicon: 1,
|
12196
|
+
id: 'tools.ozone.hosting.getAccountHistory',
|
12197
|
+
defs: {
|
12198
|
+
main: {
|
12199
|
+
type: 'query',
|
12200
|
+
description: 'Get account history, e.g. log of updated email addresses or other identity information.',
|
12201
|
+
parameters: {
|
12202
|
+
type: 'params',
|
12203
|
+
required: ['did'],
|
12204
|
+
properties: {
|
12205
|
+
did: {
|
12206
|
+
type: 'string',
|
12207
|
+
format: 'did',
|
12208
|
+
},
|
12209
|
+
events: {
|
12210
|
+
type: 'array',
|
12211
|
+
items: {
|
12212
|
+
type: 'string',
|
12213
|
+
knownValues: [
|
12214
|
+
'accountCreated',
|
12215
|
+
'emailUpdated',
|
12216
|
+
'emailConfirmed',
|
12217
|
+
'passwordUpdated',
|
12218
|
+
'handleUpdated',
|
12219
|
+
],
|
12220
|
+
},
|
12221
|
+
},
|
12222
|
+
cursor: {
|
12223
|
+
type: 'string',
|
12224
|
+
},
|
12225
|
+
limit: {
|
12226
|
+
type: 'integer',
|
12227
|
+
minimum: 1,
|
12228
|
+
maximum: 100,
|
12229
|
+
default: 50,
|
12230
|
+
},
|
12231
|
+
},
|
12232
|
+
},
|
12233
|
+
output: {
|
12234
|
+
encoding: 'application/json',
|
12235
|
+
schema: {
|
12236
|
+
type: 'object',
|
12237
|
+
required: ['events'],
|
12238
|
+
properties: {
|
12239
|
+
cursor: {
|
12240
|
+
type: 'string',
|
12241
|
+
},
|
12242
|
+
events: {
|
12243
|
+
type: 'array',
|
12244
|
+
items: {
|
12245
|
+
type: 'ref',
|
12246
|
+
ref: 'lex:tools.ozone.hosting.getAccountHistory#event',
|
12247
|
+
},
|
12248
|
+
},
|
12249
|
+
},
|
12250
|
+
},
|
12251
|
+
},
|
12252
|
+
},
|
12253
|
+
event: {
|
12254
|
+
type: 'object',
|
12255
|
+
required: ['details', 'createdBy', 'createdAt'],
|
12256
|
+
properties: {
|
12257
|
+
details: {
|
12258
|
+
type: 'union',
|
12259
|
+
refs: [
|
12260
|
+
'lex:tools.ozone.hosting.getAccountHistory#accountCreated',
|
12261
|
+
'lex:tools.ozone.hosting.getAccountHistory#emailUpdated',
|
12262
|
+
'lex:tools.ozone.hosting.getAccountHistory#emailConfirmed',
|
12263
|
+
'lex:tools.ozone.hosting.getAccountHistory#passwordUpdated',
|
12264
|
+
'lex:tools.ozone.hosting.getAccountHistory#handleUpdated',
|
12265
|
+
],
|
12266
|
+
},
|
12267
|
+
createdBy: {
|
12268
|
+
type: 'string',
|
12269
|
+
},
|
12270
|
+
createdAt: {
|
12271
|
+
type: 'string',
|
12272
|
+
format: 'datetime',
|
12273
|
+
},
|
12274
|
+
},
|
12275
|
+
},
|
12276
|
+
accountCreated: {
|
12277
|
+
type: 'object',
|
12278
|
+
required: [],
|
12279
|
+
properties: {
|
12280
|
+
email: {
|
12281
|
+
type: 'string',
|
12282
|
+
},
|
12283
|
+
handle: {
|
12284
|
+
type: 'string',
|
12285
|
+
format: 'handle',
|
12286
|
+
},
|
12287
|
+
},
|
12288
|
+
},
|
12289
|
+
emailUpdated: {
|
12290
|
+
type: 'object',
|
12291
|
+
required: ['email'],
|
12292
|
+
properties: {
|
12293
|
+
email: {
|
12294
|
+
type: 'string',
|
12295
|
+
},
|
12296
|
+
},
|
12297
|
+
},
|
12298
|
+
emailConfirmed: {
|
12299
|
+
type: 'object',
|
12300
|
+
required: ['email'],
|
12301
|
+
properties: {
|
12302
|
+
email: {
|
12303
|
+
type: 'string',
|
12304
|
+
},
|
12305
|
+
},
|
12306
|
+
},
|
12307
|
+
passwordUpdated: {
|
12308
|
+
type: 'object',
|
12309
|
+
required: [],
|
12310
|
+
properties: {},
|
12311
|
+
},
|
12312
|
+
handleUpdated: {
|
12313
|
+
type: 'object',
|
12314
|
+
required: ['handle'],
|
12315
|
+
properties: {
|
12316
|
+
handle: {
|
12317
|
+
type: 'string',
|
12318
|
+
format: 'handle',
|
12319
|
+
},
|
12320
|
+
},
|
12321
|
+
},
|
12322
|
+
},
|
12323
|
+
},
|
12194
12324
|
ToolsOzoneModerationDefs: {
|
12195
12325
|
lexicon: 1,
|
12196
12326
|
id: 'tools.ozone.moderation.defs',
|
@@ -14071,6 +14201,11 @@ exports.schemaDict = {
|
|
14071
14201
|
type: 'ref',
|
14072
14202
|
ref: 'lex:tools.ozone.server.getConfig#viewerConfig',
|
14073
14203
|
},
|
14204
|
+
verifierDid: {
|
14205
|
+
type: 'string',
|
14206
|
+
format: 'did',
|
14207
|
+
description: 'The did of the verifier used for verification.',
|
14208
|
+
},
|
14074
14209
|
},
|
14075
14210
|
},
|
14076
14211
|
},
|
@@ -14093,6 +14228,7 @@ exports.schemaDict = {
|
|
14093
14228
|
'tools.ozone.team.defs#roleAdmin',
|
14094
14229
|
'tools.ozone.team.defs#roleModerator',
|
14095
14230
|
'tools.ozone.team.defs#roleTriage',
|
14231
|
+
'tools.ozone.team.defs#roleVerifier',
|
14096
14232
|
],
|
14097
14233
|
},
|
14098
14234
|
},
|
@@ -14435,6 +14571,7 @@ exports.schemaDict = {
|
|
14435
14571
|
'tools.ozone.team.defs#roleModerator',
|
14436
14572
|
'tools.ozone.team.defs#roleTriage',
|
14437
14573
|
'tools.ozone.team.defs#roleAdmin',
|
14574
|
+
'tools.ozone.team.defs#roleVerifier',
|
14438
14575
|
],
|
14439
14576
|
},
|
14440
14577
|
scope: {
|
@@ -14586,6 +14723,7 @@ exports.schemaDict = {
|
|
14586
14723
|
knownValues: [
|
14587
14724
|
'tools.ozone.team.defs#roleModerator',
|
14588
14725
|
'tools.ozone.team.defs#roleTriage',
|
14726
|
+
'tools.ozone.team.defs#roleVerifier',
|
14589
14727
|
'tools.ozone.team.defs#roleAdmin',
|
14590
14728
|
],
|
14591
14729
|
},
|
@@ -14802,6 +14940,7 @@ exports.schemaDict = {
|
|
14802
14940
|
knownValues: [
|
14803
14941
|
'tools.ozone.team.defs#roleAdmin',
|
14804
14942
|
'tools.ozone.team.defs#roleModerator',
|
14943
|
+
'tools.ozone.team.defs#roleVerifier',
|
14805
14944
|
'tools.ozone.team.defs#roleTriage',
|
14806
14945
|
],
|
14807
14946
|
},
|
@@ -14860,6 +14999,7 @@ exports.schemaDict = {
|
|
14860
14999
|
'lex:tools.ozone.team.defs#roleAdmin',
|
14861
15000
|
'lex:tools.ozone.team.defs#roleModerator',
|
14862
15001
|
'lex:tools.ozone.team.defs#roleTriage',
|
15002
|
+
'lex:tools.ozone.team.defs#roleVerifier',
|
14863
15003
|
],
|
14864
15004
|
},
|
14865
15005
|
},
|
@@ -14876,6 +15016,10 @@ exports.schemaDict = {
|
|
14876
15016
|
type: 'token',
|
14877
15017
|
description: 'Triage role. Mostly intended for monitoring and escalating issues.',
|
14878
15018
|
},
|
15019
|
+
roleVerifier: {
|
15020
|
+
type: 'token',
|
15021
|
+
description: 'Verifier role. Only allowed to issue verifications.',
|
15022
|
+
},
|
14879
15023
|
},
|
14880
15024
|
},
|
14881
15025
|
ToolsOzoneTeamDeleteMember: {
|
@@ -14991,6 +15135,7 @@ exports.schemaDict = {
|
|
14991
15135
|
knownValues: [
|
14992
15136
|
'tools.ozone.team.defs#roleAdmin',
|
14993
15137
|
'tools.ozone.team.defs#roleModerator',
|
15138
|
+
'tools.ozone.team.defs#roleVerifier',
|
14994
15139
|
'tools.ozone.team.defs#roleTriage',
|
14995
15140
|
],
|
14996
15141
|
},
|
@@ -15013,6 +15158,340 @@ exports.schemaDict = {
|
|
15013
15158
|
},
|
15014
15159
|
},
|
15015
15160
|
},
|
15161
|
+
ToolsOzoneVerificationDefs: {
|
15162
|
+
lexicon: 1,
|
15163
|
+
id: 'tools.ozone.verification.defs',
|
15164
|
+
defs: {
|
15165
|
+
verificationView: {
|
15166
|
+
type: 'object',
|
15167
|
+
description: 'Verification data for the associated subject.',
|
15168
|
+
required: [
|
15169
|
+
'issuer',
|
15170
|
+
'uri',
|
15171
|
+
'subject',
|
15172
|
+
'handle',
|
15173
|
+
'displayName',
|
15174
|
+
'createdAt',
|
15175
|
+
],
|
15176
|
+
properties: {
|
15177
|
+
issuer: {
|
15178
|
+
type: 'string',
|
15179
|
+
description: 'The user who issued this verification.',
|
15180
|
+
format: 'did',
|
15181
|
+
},
|
15182
|
+
uri: {
|
15183
|
+
type: 'string',
|
15184
|
+
description: 'The AT-URI of the verification record.',
|
15185
|
+
format: 'at-uri',
|
15186
|
+
},
|
15187
|
+
subject: {
|
15188
|
+
type: 'string',
|
15189
|
+
format: 'did',
|
15190
|
+
description: 'The subject of the verification.',
|
15191
|
+
},
|
15192
|
+
handle: {
|
15193
|
+
type: 'string',
|
15194
|
+
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.',
|
15195
|
+
format: 'handle',
|
15196
|
+
},
|
15197
|
+
displayName: {
|
15198
|
+
type: 'string',
|
15199
|
+
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.',
|
15200
|
+
},
|
15201
|
+
createdAt: {
|
15202
|
+
type: 'string',
|
15203
|
+
description: 'Timestamp when the verification was created.',
|
15204
|
+
format: 'datetime',
|
15205
|
+
},
|
15206
|
+
revokeReason: {
|
15207
|
+
type: 'string',
|
15208
|
+
description: 'Describes the reason for revocation, also indicating that the verification is no longer valid.',
|
15209
|
+
},
|
15210
|
+
revokedAt: {
|
15211
|
+
type: 'string',
|
15212
|
+
description: 'Timestamp when the verification was revoked.',
|
15213
|
+
format: 'datetime',
|
15214
|
+
},
|
15215
|
+
revokedBy: {
|
15216
|
+
type: 'string',
|
15217
|
+
description: 'The user who revoked this verification.',
|
15218
|
+
format: 'did',
|
15219
|
+
},
|
15220
|
+
subjectProfile: {
|
15221
|
+
type: 'union',
|
15222
|
+
refs: [],
|
15223
|
+
},
|
15224
|
+
issuerProfile: {
|
15225
|
+
type: 'union',
|
15226
|
+
refs: [],
|
15227
|
+
},
|
15228
|
+
subjectRepo: {
|
15229
|
+
type: 'union',
|
15230
|
+
refs: [
|
15231
|
+
'lex:tools.ozone.moderation.defs#repoViewDetail',
|
15232
|
+
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
15233
|
+
],
|
15234
|
+
},
|
15235
|
+
issuerRepo: {
|
15236
|
+
type: 'union',
|
15237
|
+
refs: [
|
15238
|
+
'lex:tools.ozone.moderation.defs#repoViewDetail',
|
15239
|
+
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
15240
|
+
],
|
15241
|
+
},
|
15242
|
+
},
|
15243
|
+
},
|
15244
|
+
},
|
15245
|
+
},
|
15246
|
+
ToolsOzoneVerificationGrantVerifications: {
|
15247
|
+
lexicon: 1,
|
15248
|
+
id: 'tools.ozone.verification.grantVerifications',
|
15249
|
+
defs: {
|
15250
|
+
main: {
|
15251
|
+
type: 'procedure',
|
15252
|
+
description: 'Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.',
|
15253
|
+
input: {
|
15254
|
+
encoding: 'application/json',
|
15255
|
+
schema: {
|
15256
|
+
type: 'object',
|
15257
|
+
required: ['verifications'],
|
15258
|
+
properties: {
|
15259
|
+
verifications: {
|
15260
|
+
type: 'array',
|
15261
|
+
description: 'Array of verification requests to process',
|
15262
|
+
maxLength: 100,
|
15263
|
+
items: {
|
15264
|
+
type: 'ref',
|
15265
|
+
ref: 'lex:tools.ozone.verification.grantVerifications#verificationInput',
|
15266
|
+
},
|
15267
|
+
},
|
15268
|
+
},
|
15269
|
+
},
|
15270
|
+
},
|
15271
|
+
output: {
|
15272
|
+
encoding: 'application/json',
|
15273
|
+
schema: {
|
15274
|
+
type: 'object',
|
15275
|
+
required: ['verifications', 'failedVerifications'],
|
15276
|
+
properties: {
|
15277
|
+
verifications: {
|
15278
|
+
type: 'array',
|
15279
|
+
items: {
|
15280
|
+
type: 'ref',
|
15281
|
+
ref: 'lex:tools.ozone.verification.defs#verificationView',
|
15282
|
+
},
|
15283
|
+
},
|
15284
|
+
failedVerifications: {
|
15285
|
+
type: 'array',
|
15286
|
+
items: {
|
15287
|
+
type: 'ref',
|
15288
|
+
ref: 'lex:tools.ozone.verification.grantVerifications#grantError',
|
15289
|
+
},
|
15290
|
+
},
|
15291
|
+
},
|
15292
|
+
},
|
15293
|
+
},
|
15294
|
+
},
|
15295
|
+
verificationInput: {
|
15296
|
+
type: 'object',
|
15297
|
+
required: ['subject', 'handle', 'displayName'],
|
15298
|
+
properties: {
|
15299
|
+
subject: {
|
15300
|
+
type: 'string',
|
15301
|
+
description: 'The did of the subject being verified',
|
15302
|
+
format: 'did',
|
15303
|
+
},
|
15304
|
+
handle: {
|
15305
|
+
type: 'string',
|
15306
|
+
description: 'Handle of the subject the verification applies to at the moment of verifying.',
|
15307
|
+
format: 'handle',
|
15308
|
+
},
|
15309
|
+
displayName: {
|
15310
|
+
type: 'string',
|
15311
|
+
description: 'Display name of the subject the verification applies to at the moment of verifying.',
|
15312
|
+
},
|
15313
|
+
createdAt: {
|
15314
|
+
type: 'string',
|
15315
|
+
description: 'Timestamp for verification record. Defaults to current time when not specified.',
|
15316
|
+
},
|
15317
|
+
},
|
15318
|
+
},
|
15319
|
+
grantError: {
|
15320
|
+
type: 'object',
|
15321
|
+
description: 'Error object for failed verifications.',
|
15322
|
+
required: ['error', 'subject'],
|
15323
|
+
properties: {
|
15324
|
+
error: {
|
15325
|
+
type: 'string',
|
15326
|
+
description: 'Error message describing the reason for failure.',
|
15327
|
+
},
|
15328
|
+
subject: {
|
15329
|
+
type: 'string',
|
15330
|
+
description: 'The did of the subject being verified',
|
15331
|
+
format: 'did',
|
15332
|
+
},
|
15333
|
+
},
|
15334
|
+
},
|
15335
|
+
},
|
15336
|
+
},
|
15337
|
+
ToolsOzoneVerificationListVerifications: {
|
15338
|
+
lexicon: 1,
|
15339
|
+
id: 'tools.ozone.verification.listVerifications',
|
15340
|
+
defs: {
|
15341
|
+
main: {
|
15342
|
+
type: 'query',
|
15343
|
+
description: 'List verifications',
|
15344
|
+
parameters: {
|
15345
|
+
type: 'params',
|
15346
|
+
properties: {
|
15347
|
+
cursor: {
|
15348
|
+
type: 'string',
|
15349
|
+
description: 'Pagination cursor',
|
15350
|
+
},
|
15351
|
+
limit: {
|
15352
|
+
type: 'integer',
|
15353
|
+
description: 'Maximum number of results to return',
|
15354
|
+
minimum: 1,
|
15355
|
+
maximum: 100,
|
15356
|
+
default: 50,
|
15357
|
+
},
|
15358
|
+
createdAfter: {
|
15359
|
+
type: 'string',
|
15360
|
+
format: 'datetime',
|
15361
|
+
description: 'Filter to verifications created after this timestamp',
|
15362
|
+
},
|
15363
|
+
createdBefore: {
|
15364
|
+
type: 'string',
|
15365
|
+
format: 'datetime',
|
15366
|
+
description: 'Filter to verifications created before this timestamp',
|
15367
|
+
},
|
15368
|
+
issuers: {
|
15369
|
+
type: 'array',
|
15370
|
+
maxLength: 100,
|
15371
|
+
description: 'Filter to verifications from specific issuers',
|
15372
|
+
items: {
|
15373
|
+
type: 'string',
|
15374
|
+
format: 'did',
|
15375
|
+
},
|
15376
|
+
},
|
15377
|
+
subjects: {
|
15378
|
+
type: 'array',
|
15379
|
+
description: 'Filter to specific verified DIDs',
|
15380
|
+
maxLength: 100,
|
15381
|
+
items: {
|
15382
|
+
type: 'string',
|
15383
|
+
format: 'did',
|
15384
|
+
},
|
15385
|
+
},
|
15386
|
+
sortDirection: {
|
15387
|
+
type: 'string',
|
15388
|
+
description: 'Sort direction for creation date',
|
15389
|
+
enum: ['asc', 'desc'],
|
15390
|
+
default: 'desc',
|
15391
|
+
},
|
15392
|
+
isRevoked: {
|
15393
|
+
type: 'boolean',
|
15394
|
+
description: 'Filter to verifications that are revoked or not. By default, includes both.',
|
15395
|
+
},
|
15396
|
+
},
|
15397
|
+
},
|
15398
|
+
output: {
|
15399
|
+
encoding: 'application/json',
|
15400
|
+
schema: {
|
15401
|
+
type: 'object',
|
15402
|
+
required: ['verifications'],
|
15403
|
+
properties: {
|
15404
|
+
cursor: {
|
15405
|
+
type: 'string',
|
15406
|
+
},
|
15407
|
+
verifications: {
|
15408
|
+
type: 'array',
|
15409
|
+
items: {
|
15410
|
+
type: 'ref',
|
15411
|
+
ref: 'lex:tools.ozone.verification.defs#verificationView',
|
15412
|
+
},
|
15413
|
+
},
|
15414
|
+
},
|
15415
|
+
},
|
15416
|
+
},
|
15417
|
+
},
|
15418
|
+
},
|
15419
|
+
},
|
15420
|
+
ToolsOzoneVerificationRevokeVerifications: {
|
15421
|
+
lexicon: 1,
|
15422
|
+
id: 'tools.ozone.verification.revokeVerifications',
|
15423
|
+
defs: {
|
15424
|
+
main: {
|
15425
|
+
type: 'procedure',
|
15426
|
+
description: 'Revoke previously granted verifications in batches of up to 100.',
|
15427
|
+
input: {
|
15428
|
+
encoding: 'application/json',
|
15429
|
+
schema: {
|
15430
|
+
type: 'object',
|
15431
|
+
required: ['uris'],
|
15432
|
+
properties: {
|
15433
|
+
uris: {
|
15434
|
+
type: 'array',
|
15435
|
+
description: 'Array of verification record uris to revoke',
|
15436
|
+
maxLength: 100,
|
15437
|
+
items: {
|
15438
|
+
type: 'string',
|
15439
|
+
description: 'The AT-URI of the verification record to revoke.',
|
15440
|
+
format: 'at-uri',
|
15441
|
+
},
|
15442
|
+
},
|
15443
|
+
revokeReason: {
|
15444
|
+
type: 'string',
|
15445
|
+
description: 'Reason for revoking the verification. This is optional and can be omitted if not needed.',
|
15446
|
+
maxLength: 1000,
|
15447
|
+
},
|
15448
|
+
},
|
15449
|
+
},
|
15450
|
+
},
|
15451
|
+
output: {
|
15452
|
+
encoding: 'application/json',
|
15453
|
+
schema: {
|
15454
|
+
type: 'object',
|
15455
|
+
required: ['revokedVerifications', 'failedRevocations'],
|
15456
|
+
properties: {
|
15457
|
+
revokedVerifications: {
|
15458
|
+
type: 'array',
|
15459
|
+
description: 'List of verification uris successfully revoked',
|
15460
|
+
items: {
|
15461
|
+
type: 'string',
|
15462
|
+
format: 'at-uri',
|
15463
|
+
},
|
15464
|
+
},
|
15465
|
+
failedRevocations: {
|
15466
|
+
type: 'array',
|
15467
|
+
description: "List of verification uris that couldn't be revoked, including failure reasons",
|
15468
|
+
items: {
|
15469
|
+
type: 'ref',
|
15470
|
+
ref: 'lex:tools.ozone.verification.revokeVerifications#revokeError',
|
15471
|
+
},
|
15472
|
+
},
|
15473
|
+
},
|
15474
|
+
},
|
15475
|
+
},
|
15476
|
+
},
|
15477
|
+
revokeError: {
|
15478
|
+
type: 'object',
|
15479
|
+
description: 'Error object for failed revocations',
|
15480
|
+
required: ['uri', 'error'],
|
15481
|
+
properties: {
|
15482
|
+
uri: {
|
15483
|
+
type: 'string',
|
15484
|
+
description: 'The AT-URI of the verification record that failed to revoke.',
|
15485
|
+
format: 'at-uri',
|
15486
|
+
},
|
15487
|
+
error: {
|
15488
|
+
type: 'string',
|
15489
|
+
description: 'Description of the error that occurred during revocation.',
|
15490
|
+
},
|
15491
|
+
},
|
15492
|
+
},
|
15493
|
+
},
|
15494
|
+
},
|
15016
15495
|
};
|
15017
15496
|
exports.schemas = Object.values(exports.schemaDict);
|
15018
15497
|
exports.lexicons = new lexicon_1.Lexicons(exports.schemas);
|
@@ -15246,6 +15725,7 @@ exports.ids = {
|
|
15246
15725
|
ToolsOzoneCommunicationDeleteTemplate: 'tools.ozone.communication.deleteTemplate',
|
15247
15726
|
ToolsOzoneCommunicationListTemplates: 'tools.ozone.communication.listTemplates',
|
15248
15727
|
ToolsOzoneCommunicationUpdateTemplate: 'tools.ozone.communication.updateTemplate',
|
15728
|
+
ToolsOzoneHostingGetAccountHistory: 'tools.ozone.hosting.getAccountHistory',
|
15249
15729
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
15250
15730
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|
15251
15731
|
ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent',
|
@@ -15279,5 +15759,9 @@ exports.ids = {
|
|
15279
15759
|
ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',
|
15280
15760
|
ToolsOzoneTeamListMembers: 'tools.ozone.team.listMembers',
|
15281
15761
|
ToolsOzoneTeamUpdateMember: 'tools.ozone.team.updateMember',
|
15762
|
+
ToolsOzoneVerificationDefs: 'tools.ozone.verification.defs',
|
15763
|
+
ToolsOzoneVerificationGrantVerifications: 'tools.ozone.verification.grantVerifications',
|
15764
|
+
ToolsOzoneVerificationListVerifications: 'tools.ozone.verification.listVerifications',
|
15765
|
+
ToolsOzoneVerificationRevokeVerifications: 'tools.ozone.verification.revokeVerifications',
|
15282
15766
|
};
|
15283
15767
|
//# sourceMappingURL=lexicons.js.map
|