@atproto/pds 0.4.133 → 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 +11 -0
- package/dist/lexicon/index.d.ts +12 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +33 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +672 -12
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +353 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- 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 +47 -0
- package/src/lexicon/lexicons.ts +372 -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
@@ -13546,6 +13546,11 @@ export declare const schemaDict: {
|
|
13546
13546
|
readonly type: "ref";
|
13547
13547
|
readonly ref: "lex:tools.ozone.server.getConfig#viewerConfig";
|
13548
13548
|
};
|
13549
|
+
readonly verifierDid: {
|
13550
|
+
readonly type: "string";
|
13551
|
+
readonly format: "did";
|
13552
|
+
readonly description: "The did of the verifier used for verification.";
|
13553
|
+
};
|
13549
13554
|
};
|
13550
13555
|
};
|
13551
13556
|
};
|
@@ -13564,7 +13569,7 @@ export declare const schemaDict: {
|
|
13564
13569
|
readonly properties: {
|
13565
13570
|
readonly role: {
|
13566
13571
|
readonly type: "string";
|
13567
|
-
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
|
13572
|
+
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier"];
|
13568
13573
|
};
|
13569
13574
|
};
|
13570
13575
|
};
|
@@ -13889,7 +13894,7 @@ export declare const schemaDict: {
|
|
13889
13894
|
};
|
13890
13895
|
readonly managerRole: {
|
13891
13896
|
readonly type: "string";
|
13892
|
-
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
|
13897
|
+
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleVerifier"];
|
13893
13898
|
};
|
13894
13899
|
readonly scope: {
|
13895
13900
|
readonly type: "string";
|
@@ -14037,7 +14042,7 @@ export declare const schemaDict: {
|
|
14037
14042
|
};
|
14038
14043
|
readonly managerRole: {
|
14039
14044
|
readonly type: "string";
|
14040
|
-
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
|
14045
|
+
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleAdmin"];
|
14041
14046
|
};
|
14042
14047
|
};
|
14043
14048
|
};
|
@@ -14249,7 +14254,7 @@ export declare const schemaDict: {
|
|
14249
14254
|
};
|
14250
14255
|
readonly role: {
|
14251
14256
|
readonly type: "string";
|
14252
|
-
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
|
14257
|
+
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
|
14253
14258
|
};
|
14254
14259
|
};
|
14255
14260
|
};
|
@@ -14300,7 +14305,7 @@ export declare const schemaDict: {
|
|
14300
14305
|
};
|
14301
14306
|
readonly role: {
|
14302
14307
|
readonly type: "string";
|
14303
|
-
readonly knownValues: ["lex:tools.ozone.team.defs#roleAdmin", "lex:tools.ozone.team.defs#roleModerator", "lex:tools.ozone.team.defs#roleTriage"];
|
14308
|
+
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
14309
|
};
|
14305
14310
|
};
|
14306
14311
|
};
|
@@ -14316,6 +14321,10 @@ export declare const schemaDict: {
|
|
14316
14321
|
readonly type: "token";
|
14317
14322
|
readonly description: "Triage role. Mostly intended for monitoring and escalating issues.";
|
14318
14323
|
};
|
14324
|
+
readonly roleVerifier: {
|
14325
|
+
readonly type: "token";
|
14326
|
+
readonly description: "Verifier role. Only allowed to issue verifications.";
|
14327
|
+
};
|
14319
14328
|
};
|
14320
14329
|
};
|
14321
14330
|
readonly ToolsOzoneTeamDeleteMember: {
|
@@ -14425,7 +14434,7 @@ export declare const schemaDict: {
|
|
14425
14434
|
};
|
14426
14435
|
readonly role: {
|
14427
14436
|
readonly type: "string";
|
14428
|
-
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
|
14437
|
+
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
|
14429
14438
|
};
|
14430
14439
|
};
|
14431
14440
|
};
|
@@ -14444,6 +14453,327 @@ export declare const schemaDict: {
|
|
14444
14453
|
};
|
14445
14454
|
};
|
14446
14455
|
};
|
14456
|
+
readonly ToolsOzoneVerificationDefs: {
|
14457
|
+
readonly lexicon: 1;
|
14458
|
+
readonly id: "tools.ozone.verification.defs";
|
14459
|
+
readonly defs: {
|
14460
|
+
readonly verificationView: {
|
14461
|
+
readonly type: "object";
|
14462
|
+
readonly description: "Verification data for the associated subject.";
|
14463
|
+
readonly required: ["issuer", "uri", "subject", "handle", "displayName", "createdAt"];
|
14464
|
+
readonly properties: {
|
14465
|
+
readonly issuer: {
|
14466
|
+
readonly type: "string";
|
14467
|
+
readonly description: "The user who issued this verification.";
|
14468
|
+
readonly format: "did";
|
14469
|
+
};
|
14470
|
+
readonly uri: {
|
14471
|
+
readonly type: "string";
|
14472
|
+
readonly description: "The AT-URI of the verification record.";
|
14473
|
+
readonly format: "at-uri";
|
14474
|
+
};
|
14475
|
+
readonly subject: {
|
14476
|
+
readonly type: "string";
|
14477
|
+
readonly format: "did";
|
14478
|
+
readonly description: "The subject of the verification.";
|
14479
|
+
};
|
14480
|
+
readonly handle: {
|
14481
|
+
readonly type: "string";
|
14482
|
+
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.";
|
14483
|
+
readonly format: "handle";
|
14484
|
+
};
|
14485
|
+
readonly displayName: {
|
14486
|
+
readonly type: "string";
|
14487
|
+
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.";
|
14488
|
+
};
|
14489
|
+
readonly createdAt: {
|
14490
|
+
readonly type: "string";
|
14491
|
+
readonly description: "Timestamp when the verification was created.";
|
14492
|
+
readonly format: "datetime";
|
14493
|
+
};
|
14494
|
+
readonly revokeReason: {
|
14495
|
+
readonly type: "string";
|
14496
|
+
readonly description: "Describes the reason for revocation, also indicating that the verification is no longer valid.";
|
14497
|
+
};
|
14498
|
+
readonly revokedAt: {
|
14499
|
+
readonly type: "string";
|
14500
|
+
readonly description: "Timestamp when the verification was revoked.";
|
14501
|
+
readonly format: "datetime";
|
14502
|
+
};
|
14503
|
+
readonly revokedBy: {
|
14504
|
+
readonly type: "string";
|
14505
|
+
readonly description: "The user who revoked this verification.";
|
14506
|
+
readonly format: "did";
|
14507
|
+
};
|
14508
|
+
readonly subjectProfile: {
|
14509
|
+
readonly type: "union";
|
14510
|
+
readonly refs: [];
|
14511
|
+
};
|
14512
|
+
readonly issuerProfile: {
|
14513
|
+
readonly type: "union";
|
14514
|
+
readonly refs: [];
|
14515
|
+
};
|
14516
|
+
readonly subjectRepo: {
|
14517
|
+
readonly type: "union";
|
14518
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
|
14519
|
+
};
|
14520
|
+
readonly issuerRepo: {
|
14521
|
+
readonly type: "union";
|
14522
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
|
14523
|
+
};
|
14524
|
+
};
|
14525
|
+
};
|
14526
|
+
};
|
14527
|
+
};
|
14528
|
+
readonly ToolsOzoneVerificationGrantVerifications: {
|
14529
|
+
readonly lexicon: 1;
|
14530
|
+
readonly id: "tools.ozone.verification.grantVerifications";
|
14531
|
+
readonly defs: {
|
14532
|
+
readonly main: {
|
14533
|
+
readonly type: "procedure";
|
14534
|
+
readonly description: "Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.";
|
14535
|
+
readonly input: {
|
14536
|
+
readonly encoding: "application/json";
|
14537
|
+
readonly schema: {
|
14538
|
+
readonly type: "object";
|
14539
|
+
readonly required: ["verifications"];
|
14540
|
+
readonly properties: {
|
14541
|
+
readonly verifications: {
|
14542
|
+
readonly type: "array";
|
14543
|
+
readonly description: "Array of verification requests to process";
|
14544
|
+
readonly maxLength: 100;
|
14545
|
+
readonly items: {
|
14546
|
+
readonly type: "ref";
|
14547
|
+
readonly ref: "lex:tools.ozone.verification.grantVerifications#verificationInput";
|
14548
|
+
};
|
14549
|
+
};
|
14550
|
+
};
|
14551
|
+
};
|
14552
|
+
};
|
14553
|
+
readonly output: {
|
14554
|
+
readonly encoding: "application/json";
|
14555
|
+
readonly schema: {
|
14556
|
+
readonly type: "object";
|
14557
|
+
readonly required: ["verifications", "failedVerifications"];
|
14558
|
+
readonly properties: {
|
14559
|
+
readonly verifications: {
|
14560
|
+
readonly type: "array";
|
14561
|
+
readonly items: {
|
14562
|
+
readonly type: "ref";
|
14563
|
+
readonly ref: "lex:tools.ozone.verification.defs#verificationView";
|
14564
|
+
};
|
14565
|
+
};
|
14566
|
+
readonly failedVerifications: {
|
14567
|
+
readonly type: "array";
|
14568
|
+
readonly items: {
|
14569
|
+
readonly type: "ref";
|
14570
|
+
readonly ref: "lex:tools.ozone.verification.grantVerifications#grantError";
|
14571
|
+
};
|
14572
|
+
};
|
14573
|
+
};
|
14574
|
+
};
|
14575
|
+
};
|
14576
|
+
};
|
14577
|
+
readonly verificationInput: {
|
14578
|
+
readonly type: "object";
|
14579
|
+
readonly required: ["subject", "handle", "displayName"];
|
14580
|
+
readonly properties: {
|
14581
|
+
readonly subject: {
|
14582
|
+
readonly type: "string";
|
14583
|
+
readonly description: "The did of the subject being verified";
|
14584
|
+
readonly format: "did";
|
14585
|
+
};
|
14586
|
+
readonly handle: {
|
14587
|
+
readonly type: "string";
|
14588
|
+
readonly description: "Handle of the subject the verification applies to at the moment of verifying.";
|
14589
|
+
readonly format: "handle";
|
14590
|
+
};
|
14591
|
+
readonly displayName: {
|
14592
|
+
readonly type: "string";
|
14593
|
+
readonly description: "Display name of the subject the verification applies to at the moment of verifying.";
|
14594
|
+
};
|
14595
|
+
readonly createdAt: {
|
14596
|
+
readonly type: "string";
|
14597
|
+
readonly description: "Timestamp for verification record. Defaults to current time when not specified.";
|
14598
|
+
};
|
14599
|
+
};
|
14600
|
+
};
|
14601
|
+
readonly grantError: {
|
14602
|
+
readonly type: "object";
|
14603
|
+
readonly description: "Error object for failed verifications.";
|
14604
|
+
readonly required: ["error", "subject"];
|
14605
|
+
readonly properties: {
|
14606
|
+
readonly error: {
|
14607
|
+
readonly type: "string";
|
14608
|
+
readonly description: "Error message describing the reason for failure.";
|
14609
|
+
};
|
14610
|
+
readonly subject: {
|
14611
|
+
readonly type: "string";
|
14612
|
+
readonly description: "The did of the subject being verified";
|
14613
|
+
readonly format: "did";
|
14614
|
+
};
|
14615
|
+
};
|
14616
|
+
};
|
14617
|
+
};
|
14618
|
+
};
|
14619
|
+
readonly ToolsOzoneVerificationListVerifications: {
|
14620
|
+
readonly lexicon: 1;
|
14621
|
+
readonly id: "tools.ozone.verification.listVerifications";
|
14622
|
+
readonly defs: {
|
14623
|
+
readonly main: {
|
14624
|
+
readonly type: "query";
|
14625
|
+
readonly description: "List verifications";
|
14626
|
+
readonly parameters: {
|
14627
|
+
readonly type: "params";
|
14628
|
+
readonly properties: {
|
14629
|
+
readonly cursor: {
|
14630
|
+
readonly type: "string";
|
14631
|
+
readonly description: "Pagination cursor";
|
14632
|
+
};
|
14633
|
+
readonly limit: {
|
14634
|
+
readonly type: "integer";
|
14635
|
+
readonly description: "Maximum number of results to return";
|
14636
|
+
readonly minimum: 1;
|
14637
|
+
readonly maximum: 100;
|
14638
|
+
readonly default: 50;
|
14639
|
+
};
|
14640
|
+
readonly createdAfter: {
|
14641
|
+
readonly type: "string";
|
14642
|
+
readonly format: "datetime";
|
14643
|
+
readonly description: "Filter to verifications created after this timestamp";
|
14644
|
+
};
|
14645
|
+
readonly createdBefore: {
|
14646
|
+
readonly type: "string";
|
14647
|
+
readonly format: "datetime";
|
14648
|
+
readonly description: "Filter to verifications created before this timestamp";
|
14649
|
+
};
|
14650
|
+
readonly issuers: {
|
14651
|
+
readonly type: "array";
|
14652
|
+
readonly maxLength: 100;
|
14653
|
+
readonly description: "Filter to verifications from specific issuers";
|
14654
|
+
readonly items: {
|
14655
|
+
readonly type: "string";
|
14656
|
+
readonly format: "did";
|
14657
|
+
};
|
14658
|
+
};
|
14659
|
+
readonly subjects: {
|
14660
|
+
readonly type: "array";
|
14661
|
+
readonly description: "Filter to specific verified DIDs";
|
14662
|
+
readonly maxLength: 100;
|
14663
|
+
readonly items: {
|
14664
|
+
readonly type: "string";
|
14665
|
+
readonly format: "did";
|
14666
|
+
};
|
14667
|
+
};
|
14668
|
+
readonly sortDirection: {
|
14669
|
+
readonly type: "string";
|
14670
|
+
readonly description: "Sort direction for creation date";
|
14671
|
+
readonly enum: ["asc", "desc"];
|
14672
|
+
readonly default: "desc";
|
14673
|
+
};
|
14674
|
+
readonly isRevoked: {
|
14675
|
+
readonly type: "boolean";
|
14676
|
+
readonly description: "Filter to verifications that are revoked or not. By default, includes both.";
|
14677
|
+
};
|
14678
|
+
};
|
14679
|
+
};
|
14680
|
+
readonly output: {
|
14681
|
+
readonly encoding: "application/json";
|
14682
|
+
readonly schema: {
|
14683
|
+
readonly type: "object";
|
14684
|
+
readonly required: ["verifications"];
|
14685
|
+
readonly properties: {
|
14686
|
+
readonly cursor: {
|
14687
|
+
readonly type: "string";
|
14688
|
+
};
|
14689
|
+
readonly verifications: {
|
14690
|
+
readonly type: "array";
|
14691
|
+
readonly items: {
|
14692
|
+
readonly type: "ref";
|
14693
|
+
readonly ref: "lex:tools.ozone.verification.defs#verificationView";
|
14694
|
+
};
|
14695
|
+
};
|
14696
|
+
};
|
14697
|
+
};
|
14698
|
+
};
|
14699
|
+
};
|
14700
|
+
};
|
14701
|
+
};
|
14702
|
+
readonly ToolsOzoneVerificationRevokeVerifications: {
|
14703
|
+
readonly lexicon: 1;
|
14704
|
+
readonly id: "tools.ozone.verification.revokeVerifications";
|
14705
|
+
readonly defs: {
|
14706
|
+
readonly main: {
|
14707
|
+
readonly type: "procedure";
|
14708
|
+
readonly description: "Revoke previously granted verifications in batches of up to 100.";
|
14709
|
+
readonly input: {
|
14710
|
+
readonly encoding: "application/json";
|
14711
|
+
readonly schema: {
|
14712
|
+
readonly type: "object";
|
14713
|
+
readonly required: ["uris"];
|
14714
|
+
readonly properties: {
|
14715
|
+
readonly uris: {
|
14716
|
+
readonly type: "array";
|
14717
|
+
readonly description: "Array of verification record uris to revoke";
|
14718
|
+
readonly maxLength: 100;
|
14719
|
+
readonly items: {
|
14720
|
+
readonly type: "string";
|
14721
|
+
readonly description: "The AT-URI of the verification record to revoke.";
|
14722
|
+
readonly format: "at-uri";
|
14723
|
+
};
|
14724
|
+
};
|
14725
|
+
readonly revokeReason: {
|
14726
|
+
readonly type: "string";
|
14727
|
+
readonly description: "Reason for revoking the verification. This is optional and can be omitted if not needed.";
|
14728
|
+
readonly maxLength: 1000;
|
14729
|
+
};
|
14730
|
+
};
|
14731
|
+
};
|
14732
|
+
};
|
14733
|
+
readonly output: {
|
14734
|
+
readonly encoding: "application/json";
|
14735
|
+
readonly schema: {
|
14736
|
+
readonly type: "object";
|
14737
|
+
readonly required: ["revokedVerifications", "failedRevocations"];
|
14738
|
+
readonly properties: {
|
14739
|
+
readonly revokedVerifications: {
|
14740
|
+
readonly type: "array";
|
14741
|
+
readonly description: "List of verification uris successfully revoked";
|
14742
|
+
readonly items: {
|
14743
|
+
readonly type: "string";
|
14744
|
+
readonly format: "at-uri";
|
14745
|
+
};
|
14746
|
+
};
|
14747
|
+
readonly failedRevocations: {
|
14748
|
+
readonly type: "array";
|
14749
|
+
readonly description: "List of verification uris that couldn't be revoked, including failure reasons";
|
14750
|
+
readonly items: {
|
14751
|
+
readonly type: "ref";
|
14752
|
+
readonly ref: "lex:tools.ozone.verification.revokeVerifications#revokeError";
|
14753
|
+
};
|
14754
|
+
};
|
14755
|
+
};
|
14756
|
+
};
|
14757
|
+
};
|
14758
|
+
};
|
14759
|
+
readonly revokeError: {
|
14760
|
+
readonly type: "object";
|
14761
|
+
readonly description: "Error object for failed revocations";
|
14762
|
+
readonly required: ["uri", "error"];
|
14763
|
+
readonly properties: {
|
14764
|
+
readonly uri: {
|
14765
|
+
readonly type: "string";
|
14766
|
+
readonly description: "The AT-URI of the verification record that failed to revoke.";
|
14767
|
+
readonly format: "at-uri";
|
14768
|
+
};
|
14769
|
+
readonly error: {
|
14770
|
+
readonly type: "string";
|
14771
|
+
readonly description: "Description of the error that occurred during revocation.";
|
14772
|
+
};
|
14773
|
+
};
|
14774
|
+
};
|
14775
|
+
};
|
14776
|
+
};
|
14447
14777
|
};
|
14448
14778
|
export declare const schemas: ({
|
14449
14779
|
readonly lexicon: 1;
|
@@ -27754,6 +28084,11 @@ export declare const schemas: ({
|
|
27754
28084
|
readonly type: "ref";
|
27755
28085
|
readonly ref: "lex:tools.ozone.server.getConfig#viewerConfig";
|
27756
28086
|
};
|
28087
|
+
readonly verifierDid: {
|
28088
|
+
readonly type: "string";
|
28089
|
+
readonly format: "did";
|
28090
|
+
readonly description: "The did of the verifier used for verification.";
|
28091
|
+
};
|
27757
28092
|
};
|
27758
28093
|
};
|
27759
28094
|
};
|
@@ -27772,7 +28107,7 @@ export declare const schemas: ({
|
|
27772
28107
|
readonly properties: {
|
27773
28108
|
readonly role: {
|
27774
28109
|
readonly type: "string";
|
27775
|
-
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
|
28110
|
+
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier"];
|
27776
28111
|
};
|
27777
28112
|
};
|
27778
28113
|
};
|
@@ -28089,7 +28424,7 @@ export declare const schemas: ({
|
|
28089
28424
|
};
|
28090
28425
|
readonly managerRole: {
|
28091
28426
|
readonly type: "string";
|
28092
|
-
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
|
28427
|
+
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleVerifier"];
|
28093
28428
|
};
|
28094
28429
|
readonly scope: {
|
28095
28430
|
readonly type: "string";
|
@@ -28234,7 +28569,7 @@ export declare const schemas: ({
|
|
28234
28569
|
};
|
28235
28570
|
readonly managerRole: {
|
28236
28571
|
readonly type: "string";
|
28237
|
-
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleAdmin"];
|
28572
|
+
readonly knownValues: ["tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleAdmin"];
|
28238
28573
|
};
|
28239
28574
|
};
|
28240
28575
|
};
|
@@ -28441,7 +28776,7 @@ export declare const schemas: ({
|
|
28441
28776
|
};
|
28442
28777
|
readonly role: {
|
28443
28778
|
readonly type: "string";
|
28444
|
-
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
|
28779
|
+
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
|
28445
28780
|
};
|
28446
28781
|
};
|
28447
28782
|
};
|
@@ -28491,7 +28826,7 @@ export declare const schemas: ({
|
|
28491
28826
|
};
|
28492
28827
|
readonly role: {
|
28493
28828
|
readonly type: "string";
|
28494
|
-
readonly knownValues: ["lex:tools.ozone.team.defs#roleAdmin", "lex:tools.ozone.team.defs#roleModerator", "lex:tools.ozone.team.defs#roleTriage"];
|
28829
|
+
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
28830
|
};
|
28496
28831
|
};
|
28497
28832
|
};
|
@@ -28507,6 +28842,10 @@ export declare const schemas: ({
|
|
28507
28842
|
readonly type: "token";
|
28508
28843
|
readonly description: "Triage role. Mostly intended for monitoring and escalating issues.";
|
28509
28844
|
};
|
28845
|
+
readonly roleVerifier: {
|
28846
|
+
readonly type: "token";
|
28847
|
+
readonly description: "Verifier role. Only allowed to issue verifications.";
|
28848
|
+
};
|
28510
28849
|
};
|
28511
28850
|
} | {
|
28512
28851
|
readonly lexicon: 1;
|
@@ -28613,7 +28952,7 @@ export declare const schemas: ({
|
|
28613
28952
|
};
|
28614
28953
|
readonly role: {
|
28615
28954
|
readonly type: "string";
|
28616
|
-
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleTriage"];
|
28955
|
+
readonly knownValues: ["tools.ozone.team.defs#roleAdmin", "tools.ozone.team.defs#roleModerator", "tools.ozone.team.defs#roleVerifier", "tools.ozone.team.defs#roleTriage"];
|
28617
28956
|
};
|
28618
28957
|
};
|
28619
28958
|
};
|
@@ -28631,6 +28970,323 @@ export declare const schemas: ({
|
|
28631
28970
|
}];
|
28632
28971
|
};
|
28633
28972
|
};
|
28973
|
+
} | {
|
28974
|
+
readonly lexicon: 1;
|
28975
|
+
readonly id: "tools.ozone.verification.defs";
|
28976
|
+
readonly defs: {
|
28977
|
+
readonly verificationView: {
|
28978
|
+
readonly type: "object";
|
28979
|
+
readonly description: "Verification data for the associated subject.";
|
28980
|
+
readonly required: ["issuer", "uri", "subject", "handle", "displayName", "createdAt"];
|
28981
|
+
readonly properties: {
|
28982
|
+
readonly issuer: {
|
28983
|
+
readonly type: "string";
|
28984
|
+
readonly description: "The user who issued this verification.";
|
28985
|
+
readonly format: "did";
|
28986
|
+
};
|
28987
|
+
readonly uri: {
|
28988
|
+
readonly type: "string";
|
28989
|
+
readonly description: "The AT-URI of the verification record.";
|
28990
|
+
readonly format: "at-uri";
|
28991
|
+
};
|
28992
|
+
readonly subject: {
|
28993
|
+
readonly type: "string";
|
28994
|
+
readonly format: "did";
|
28995
|
+
readonly description: "The subject of the verification.";
|
28996
|
+
};
|
28997
|
+
readonly handle: {
|
28998
|
+
readonly type: "string";
|
28999
|
+
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.";
|
29000
|
+
readonly format: "handle";
|
29001
|
+
};
|
29002
|
+
readonly displayName: {
|
29003
|
+
readonly type: "string";
|
29004
|
+
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.";
|
29005
|
+
};
|
29006
|
+
readonly createdAt: {
|
29007
|
+
readonly type: "string";
|
29008
|
+
readonly description: "Timestamp when the verification was created.";
|
29009
|
+
readonly format: "datetime";
|
29010
|
+
};
|
29011
|
+
readonly revokeReason: {
|
29012
|
+
readonly type: "string";
|
29013
|
+
readonly description: "Describes the reason for revocation, also indicating that the verification is no longer valid.";
|
29014
|
+
};
|
29015
|
+
readonly revokedAt: {
|
29016
|
+
readonly type: "string";
|
29017
|
+
readonly description: "Timestamp when the verification was revoked.";
|
29018
|
+
readonly format: "datetime";
|
29019
|
+
};
|
29020
|
+
readonly revokedBy: {
|
29021
|
+
readonly type: "string";
|
29022
|
+
readonly description: "The user who revoked this verification.";
|
29023
|
+
readonly format: "did";
|
29024
|
+
};
|
29025
|
+
readonly subjectProfile: {
|
29026
|
+
readonly type: "union";
|
29027
|
+
readonly refs: [];
|
29028
|
+
};
|
29029
|
+
readonly issuerProfile: {
|
29030
|
+
readonly type: "union";
|
29031
|
+
readonly refs: [];
|
29032
|
+
};
|
29033
|
+
readonly subjectRepo: {
|
29034
|
+
readonly type: "union";
|
29035
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
|
29036
|
+
};
|
29037
|
+
readonly issuerRepo: {
|
29038
|
+
readonly type: "union";
|
29039
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#repoViewDetail", "lex:tools.ozone.moderation.defs#repoViewNotFound"];
|
29040
|
+
};
|
29041
|
+
};
|
29042
|
+
};
|
29043
|
+
};
|
29044
|
+
} | {
|
29045
|
+
readonly lexicon: 1;
|
29046
|
+
readonly id: "tools.ozone.verification.grantVerifications";
|
29047
|
+
readonly defs: {
|
29048
|
+
readonly main: {
|
29049
|
+
readonly type: "procedure";
|
29050
|
+
readonly description: "Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.";
|
29051
|
+
readonly input: {
|
29052
|
+
readonly encoding: "application/json";
|
29053
|
+
readonly schema: {
|
29054
|
+
readonly type: "object";
|
29055
|
+
readonly required: ["verifications"];
|
29056
|
+
readonly properties: {
|
29057
|
+
readonly verifications: {
|
29058
|
+
readonly type: "array";
|
29059
|
+
readonly description: "Array of verification requests to process";
|
29060
|
+
readonly maxLength: 100;
|
29061
|
+
readonly items: {
|
29062
|
+
readonly type: "ref";
|
29063
|
+
readonly ref: "lex:tools.ozone.verification.grantVerifications#verificationInput";
|
29064
|
+
};
|
29065
|
+
};
|
29066
|
+
};
|
29067
|
+
};
|
29068
|
+
};
|
29069
|
+
readonly output: {
|
29070
|
+
readonly encoding: "application/json";
|
29071
|
+
readonly schema: {
|
29072
|
+
readonly type: "object";
|
29073
|
+
readonly required: ["verifications", "failedVerifications"];
|
29074
|
+
readonly properties: {
|
29075
|
+
readonly verifications: {
|
29076
|
+
readonly type: "array";
|
29077
|
+
readonly items: {
|
29078
|
+
readonly type: "ref";
|
29079
|
+
readonly ref: "lex:tools.ozone.verification.defs#verificationView";
|
29080
|
+
};
|
29081
|
+
};
|
29082
|
+
readonly failedVerifications: {
|
29083
|
+
readonly type: "array";
|
29084
|
+
readonly items: {
|
29085
|
+
readonly type: "ref";
|
29086
|
+
readonly ref: "lex:tools.ozone.verification.grantVerifications#grantError";
|
29087
|
+
};
|
29088
|
+
};
|
29089
|
+
};
|
29090
|
+
};
|
29091
|
+
};
|
29092
|
+
};
|
29093
|
+
readonly verificationInput: {
|
29094
|
+
readonly type: "object";
|
29095
|
+
readonly required: ["subject", "handle", "displayName"];
|
29096
|
+
readonly properties: {
|
29097
|
+
readonly subject: {
|
29098
|
+
readonly type: "string";
|
29099
|
+
readonly description: "The did of the subject being verified";
|
29100
|
+
readonly format: "did";
|
29101
|
+
};
|
29102
|
+
readonly handle: {
|
29103
|
+
readonly type: "string";
|
29104
|
+
readonly description: "Handle of the subject the verification applies to at the moment of verifying.";
|
29105
|
+
readonly format: "handle";
|
29106
|
+
};
|
29107
|
+
readonly displayName: {
|
29108
|
+
readonly type: "string";
|
29109
|
+
readonly description: "Display name of the subject the verification applies to at the moment of verifying.";
|
29110
|
+
};
|
29111
|
+
readonly createdAt: {
|
29112
|
+
readonly type: "string";
|
29113
|
+
readonly description: "Timestamp for verification record. Defaults to current time when not specified.";
|
29114
|
+
};
|
29115
|
+
};
|
29116
|
+
};
|
29117
|
+
readonly grantError: {
|
29118
|
+
readonly type: "object";
|
29119
|
+
readonly description: "Error object for failed verifications.";
|
29120
|
+
readonly required: ["error", "subject"];
|
29121
|
+
readonly properties: {
|
29122
|
+
readonly error: {
|
29123
|
+
readonly type: "string";
|
29124
|
+
readonly description: "Error message describing the reason for failure.";
|
29125
|
+
};
|
29126
|
+
readonly subject: {
|
29127
|
+
readonly type: "string";
|
29128
|
+
readonly description: "The did of the subject being verified";
|
29129
|
+
readonly format: "did";
|
29130
|
+
};
|
29131
|
+
};
|
29132
|
+
};
|
29133
|
+
};
|
29134
|
+
} | {
|
29135
|
+
readonly lexicon: 1;
|
29136
|
+
readonly id: "tools.ozone.verification.listVerifications";
|
29137
|
+
readonly defs: {
|
29138
|
+
readonly main: {
|
29139
|
+
readonly type: "query";
|
29140
|
+
readonly description: "List verifications";
|
29141
|
+
readonly parameters: {
|
29142
|
+
readonly type: "params";
|
29143
|
+
readonly properties: {
|
29144
|
+
readonly cursor: {
|
29145
|
+
readonly type: "string";
|
29146
|
+
readonly description: "Pagination cursor";
|
29147
|
+
};
|
29148
|
+
readonly limit: {
|
29149
|
+
readonly type: "integer";
|
29150
|
+
readonly description: "Maximum number of results to return";
|
29151
|
+
readonly minimum: 1;
|
29152
|
+
readonly maximum: 100;
|
29153
|
+
readonly default: 50;
|
29154
|
+
};
|
29155
|
+
readonly createdAfter: {
|
29156
|
+
readonly type: "string";
|
29157
|
+
readonly format: "datetime";
|
29158
|
+
readonly description: "Filter to verifications created after this timestamp";
|
29159
|
+
};
|
29160
|
+
readonly createdBefore: {
|
29161
|
+
readonly type: "string";
|
29162
|
+
readonly format: "datetime";
|
29163
|
+
readonly description: "Filter to verifications created before this timestamp";
|
29164
|
+
};
|
29165
|
+
readonly issuers: {
|
29166
|
+
readonly type: "array";
|
29167
|
+
readonly maxLength: 100;
|
29168
|
+
readonly description: "Filter to verifications from specific issuers";
|
29169
|
+
readonly items: {
|
29170
|
+
readonly type: "string";
|
29171
|
+
readonly format: "did";
|
29172
|
+
};
|
29173
|
+
};
|
29174
|
+
readonly subjects: {
|
29175
|
+
readonly type: "array";
|
29176
|
+
readonly description: "Filter to specific verified DIDs";
|
29177
|
+
readonly maxLength: 100;
|
29178
|
+
readonly items: {
|
29179
|
+
readonly type: "string";
|
29180
|
+
readonly format: "did";
|
29181
|
+
};
|
29182
|
+
};
|
29183
|
+
readonly sortDirection: {
|
29184
|
+
readonly type: "string";
|
29185
|
+
readonly description: "Sort direction for creation date";
|
29186
|
+
readonly enum: ["asc", "desc"];
|
29187
|
+
readonly default: "desc";
|
29188
|
+
};
|
29189
|
+
readonly isRevoked: {
|
29190
|
+
readonly type: "boolean";
|
29191
|
+
readonly description: "Filter to verifications that are revoked or not. By default, includes both.";
|
29192
|
+
};
|
29193
|
+
};
|
29194
|
+
};
|
29195
|
+
readonly output: {
|
29196
|
+
readonly encoding: "application/json";
|
29197
|
+
readonly schema: {
|
29198
|
+
readonly type: "object";
|
29199
|
+
readonly required: ["verifications"];
|
29200
|
+
readonly properties: {
|
29201
|
+
readonly cursor: {
|
29202
|
+
readonly type: "string";
|
29203
|
+
};
|
29204
|
+
readonly verifications: {
|
29205
|
+
readonly type: "array";
|
29206
|
+
readonly items: {
|
29207
|
+
readonly type: "ref";
|
29208
|
+
readonly ref: "lex:tools.ozone.verification.defs#verificationView";
|
29209
|
+
};
|
29210
|
+
};
|
29211
|
+
};
|
29212
|
+
};
|
29213
|
+
};
|
29214
|
+
};
|
29215
|
+
};
|
29216
|
+
} | {
|
29217
|
+
readonly lexicon: 1;
|
29218
|
+
readonly id: "tools.ozone.verification.revokeVerifications";
|
29219
|
+
readonly defs: {
|
29220
|
+
readonly main: {
|
29221
|
+
readonly type: "procedure";
|
29222
|
+
readonly description: "Revoke previously granted verifications in batches of up to 100.";
|
29223
|
+
readonly input: {
|
29224
|
+
readonly encoding: "application/json";
|
29225
|
+
readonly schema: {
|
29226
|
+
readonly type: "object";
|
29227
|
+
readonly required: ["uris"];
|
29228
|
+
readonly properties: {
|
29229
|
+
readonly uris: {
|
29230
|
+
readonly type: "array";
|
29231
|
+
readonly description: "Array of verification record uris to revoke";
|
29232
|
+
readonly maxLength: 100;
|
29233
|
+
readonly items: {
|
29234
|
+
readonly type: "string";
|
29235
|
+
readonly description: "The AT-URI of the verification record to revoke.";
|
29236
|
+
readonly format: "at-uri";
|
29237
|
+
};
|
29238
|
+
};
|
29239
|
+
readonly revokeReason: {
|
29240
|
+
readonly type: "string";
|
29241
|
+
readonly description: "Reason for revoking the verification. This is optional and can be omitted if not needed.";
|
29242
|
+
readonly maxLength: 1000;
|
29243
|
+
};
|
29244
|
+
};
|
29245
|
+
};
|
29246
|
+
};
|
29247
|
+
readonly output: {
|
29248
|
+
readonly encoding: "application/json";
|
29249
|
+
readonly schema: {
|
29250
|
+
readonly type: "object";
|
29251
|
+
readonly required: ["revokedVerifications", "failedRevocations"];
|
29252
|
+
readonly properties: {
|
29253
|
+
readonly revokedVerifications: {
|
29254
|
+
readonly type: "array";
|
29255
|
+
readonly description: "List of verification uris successfully revoked";
|
29256
|
+
readonly items: {
|
29257
|
+
readonly type: "string";
|
29258
|
+
readonly format: "at-uri";
|
29259
|
+
};
|
29260
|
+
};
|
29261
|
+
readonly failedRevocations: {
|
29262
|
+
readonly type: "array";
|
29263
|
+
readonly description: "List of verification uris that couldn't be revoked, including failure reasons";
|
29264
|
+
readonly items: {
|
29265
|
+
readonly type: "ref";
|
29266
|
+
readonly ref: "lex:tools.ozone.verification.revokeVerifications#revokeError";
|
29267
|
+
};
|
29268
|
+
};
|
29269
|
+
};
|
29270
|
+
};
|
29271
|
+
};
|
29272
|
+
};
|
29273
|
+
readonly revokeError: {
|
29274
|
+
readonly type: "object";
|
29275
|
+
readonly description: "Error object for failed revocations";
|
29276
|
+
readonly required: ["uri", "error"];
|
29277
|
+
readonly properties: {
|
29278
|
+
readonly uri: {
|
29279
|
+
readonly type: "string";
|
29280
|
+
readonly description: "The AT-URI of the verification record that failed to revoke.";
|
29281
|
+
readonly format: "at-uri";
|
29282
|
+
};
|
29283
|
+
readonly error: {
|
29284
|
+
readonly type: "string";
|
29285
|
+
readonly description: "Description of the error that occurred during revocation.";
|
29286
|
+
};
|
29287
|
+
};
|
29288
|
+
};
|
29289
|
+
};
|
28634
29290
|
})[];
|
28635
29291
|
export declare const lexicons: Lexicons;
|
28636
29292
|
export declare function validate<T extends {
|
@@ -28895,5 +29551,9 @@ export declare const ids: {
|
|
28895
29551
|
readonly ToolsOzoneTeamDeleteMember: "tools.ozone.team.deleteMember";
|
28896
29552
|
readonly ToolsOzoneTeamListMembers: "tools.ozone.team.listMembers";
|
28897
29553
|
readonly ToolsOzoneTeamUpdateMember: "tools.ozone.team.updateMember";
|
29554
|
+
readonly ToolsOzoneVerificationDefs: "tools.ozone.verification.defs";
|
29555
|
+
readonly ToolsOzoneVerificationGrantVerifications: "tools.ozone.verification.grantVerifications";
|
29556
|
+
readonly ToolsOzoneVerificationListVerifications: "tools.ozone.verification.listVerifications";
|
29557
|
+
readonly ToolsOzoneVerificationRevokeVerifications: "tools.ozone.verification.revokeVerifications";
|
28898
29558
|
};
|
28899
29559
|
//# sourceMappingURL=lexicons.d.ts.map
|