@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
@@ -10321,7 +10321,7 @@ export declare const schemaDict: {
|
|
10321
10321
|
};
|
10322
10322
|
readonly chatDisabled: {
|
10323
10323
|
readonly type: "boolean";
|
10324
|
-
readonly description: "Set to true when the actor cannot actively participate in
|
10324
|
+
readonly description: "Set to true when the actor cannot actively participate in conversations";
|
10325
10325
|
};
|
10326
10326
|
readonly verification: {
|
10327
10327
|
readonly type: "ref";
|
@@ -11717,6 +11717,124 @@ export declare const schemaDict: {
|
|
11717
11717
|
};
|
11718
11718
|
};
|
11719
11719
|
};
|
11720
|
+
readonly ToolsOzoneHostingGetAccountHistory: {
|
11721
|
+
readonly lexicon: 1;
|
11722
|
+
readonly id: "tools.ozone.hosting.getAccountHistory";
|
11723
|
+
readonly defs: {
|
11724
|
+
readonly main: {
|
11725
|
+
readonly type: "query";
|
11726
|
+
readonly description: "Get account history, e.g. log of updated email addresses or other identity information.";
|
11727
|
+
readonly parameters: {
|
11728
|
+
readonly type: "params";
|
11729
|
+
readonly required: ["did"];
|
11730
|
+
readonly properties: {
|
11731
|
+
readonly did: {
|
11732
|
+
readonly type: "string";
|
11733
|
+
readonly format: "did";
|
11734
|
+
};
|
11735
|
+
readonly events: {
|
11736
|
+
readonly type: "array";
|
11737
|
+
readonly items: {
|
11738
|
+
readonly type: "string";
|
11739
|
+
readonly knownValues: ["accountCreated", "emailUpdated", "emailConfirmed", "passwordUpdated", "handleUpdated"];
|
11740
|
+
};
|
11741
|
+
};
|
11742
|
+
readonly cursor: {
|
11743
|
+
readonly type: "string";
|
11744
|
+
};
|
11745
|
+
readonly limit: {
|
11746
|
+
readonly type: "integer";
|
11747
|
+
readonly minimum: 1;
|
11748
|
+
readonly maximum: 100;
|
11749
|
+
readonly default: 50;
|
11750
|
+
};
|
11751
|
+
};
|
11752
|
+
};
|
11753
|
+
readonly output: {
|
11754
|
+
readonly encoding: "application/json";
|
11755
|
+
readonly schema: {
|
11756
|
+
readonly type: "object";
|
11757
|
+
readonly required: ["events"];
|
11758
|
+
readonly properties: {
|
11759
|
+
readonly cursor: {
|
11760
|
+
readonly type: "string";
|
11761
|
+
};
|
11762
|
+
readonly events: {
|
11763
|
+
readonly type: "array";
|
11764
|
+
readonly items: {
|
11765
|
+
readonly type: "ref";
|
11766
|
+
readonly ref: "lex:tools.ozone.hosting.getAccountHistory#event";
|
11767
|
+
};
|
11768
|
+
};
|
11769
|
+
};
|
11770
|
+
};
|
11771
|
+
};
|
11772
|
+
};
|
11773
|
+
readonly event: {
|
11774
|
+
readonly type: "object";
|
11775
|
+
readonly required: ["details", "createdBy", "createdAt"];
|
11776
|
+
readonly properties: {
|
11777
|
+
readonly details: {
|
11778
|
+
readonly type: "union";
|
11779
|
+
readonly refs: ["lex:tools.ozone.hosting.getAccountHistory#accountCreated", "lex:tools.ozone.hosting.getAccountHistory#emailUpdated", "lex:tools.ozone.hosting.getAccountHistory#emailConfirmed", "lex:tools.ozone.hosting.getAccountHistory#passwordUpdated", "lex:tools.ozone.hosting.getAccountHistory#handleUpdated"];
|
11780
|
+
};
|
11781
|
+
readonly createdBy: {
|
11782
|
+
readonly type: "string";
|
11783
|
+
};
|
11784
|
+
readonly createdAt: {
|
11785
|
+
readonly type: "string";
|
11786
|
+
readonly format: "datetime";
|
11787
|
+
};
|
11788
|
+
};
|
11789
|
+
};
|
11790
|
+
readonly accountCreated: {
|
11791
|
+
readonly type: "object";
|
11792
|
+
readonly required: [];
|
11793
|
+
readonly properties: {
|
11794
|
+
readonly email: {
|
11795
|
+
readonly type: "string";
|
11796
|
+
};
|
11797
|
+
readonly handle: {
|
11798
|
+
readonly type: "string";
|
11799
|
+
readonly format: "handle";
|
11800
|
+
};
|
11801
|
+
};
|
11802
|
+
};
|
11803
|
+
readonly emailUpdated: {
|
11804
|
+
readonly type: "object";
|
11805
|
+
readonly required: ["email"];
|
11806
|
+
readonly properties: {
|
11807
|
+
readonly email: {
|
11808
|
+
readonly type: "string";
|
11809
|
+
};
|
11810
|
+
};
|
11811
|
+
};
|
11812
|
+
readonly emailConfirmed: {
|
11813
|
+
readonly type: "object";
|
11814
|
+
readonly required: ["email"];
|
11815
|
+
readonly properties: {
|
11816
|
+
readonly email: {
|
11817
|
+
readonly type: "string";
|
11818
|
+
};
|
11819
|
+
};
|
11820
|
+
};
|
11821
|
+
readonly passwordUpdated: {
|
11822
|
+
readonly type: "object";
|
11823
|
+
readonly required: [];
|
11824
|
+
readonly properties: {};
|
11825
|
+
};
|
11826
|
+
readonly handleUpdated: {
|
11827
|
+
readonly type: "object";
|
11828
|
+
readonly required: ["handle"];
|
11829
|
+
readonly properties: {
|
11830
|
+
readonly handle: {
|
11831
|
+
readonly type: "string";
|
11832
|
+
readonly format: "handle";
|
11833
|
+
};
|
11834
|
+
};
|
11835
|
+
};
|
11836
|
+
};
|
11837
|
+
};
|
11720
11838
|
readonly ToolsOzoneModerationDefs: {
|
11721
11839
|
readonly lexicon: 1;
|
11722
11840
|
readonly id: "tools.ozone.moderation.defs";
|
@@ -13428,6 +13546,11 @@ export declare const schemaDict: {
|
|
13428
13546
|
readonly type: "ref";
|
13429
13547
|
readonly ref: "lex:tools.ozone.server.getConfig#viewerConfig";
|
13430
13548
|
};
|
13549
|
+
readonly verifierDid: {
|
13550
|
+
readonly type: "string";
|
13551
|
+
readonly format: "did";
|
13552
|
+
readonly description: "The did of the verifier used for verification.";
|
13553
|
+
};
|
13431
13554
|
};
|
13432
13555
|
};
|
13433
13556
|
};
|
@@ -13446,7 +13569,7 @@ export declare const schemaDict: {
|
|
13446
13569
|
readonly properties: {
|
13447
13570
|
readonly role: {
|
13448
13571
|
readonly type: "string";
|
13449
|
-
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"];
|
13450
13573
|
};
|
13451
13574
|
};
|
13452
13575
|
};
|
@@ -13771,7 +13894,7 @@ export declare const schemaDict: {
|
|
13771
13894
|
};
|
13772
13895
|
readonly managerRole: {
|
13773
13896
|
readonly type: "string";
|
13774
|
-
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"];
|
13775
13898
|
};
|
13776
13899
|
readonly scope: {
|
13777
13900
|
readonly type: "string";
|
@@ -13919,7 +14042,7 @@ export declare const schemaDict: {
|
|
13919
14042
|
};
|
13920
14043
|
readonly managerRole: {
|
13921
14044
|
readonly type: "string";
|
13922
|
-
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"];
|
13923
14046
|
};
|
13924
14047
|
};
|
13925
14048
|
};
|
@@ -14131,7 +14254,7 @@ export declare const schemaDict: {
|
|
14131
14254
|
};
|
14132
14255
|
readonly role: {
|
14133
14256
|
readonly type: "string";
|
14134
|
-
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"];
|
14135
14258
|
};
|
14136
14259
|
};
|
14137
14260
|
};
|
@@ -14182,7 +14305,7 @@ export declare const schemaDict: {
|
|
14182
14305
|
};
|
14183
14306
|
readonly role: {
|
14184
14307
|
readonly type: "string";
|
14185
|
-
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"];
|
14186
14309
|
};
|
14187
14310
|
};
|
14188
14311
|
};
|
@@ -14198,6 +14321,10 @@ export declare const schemaDict: {
|
|
14198
14321
|
readonly type: "token";
|
14199
14322
|
readonly description: "Triage role. Mostly intended for monitoring and escalating issues.";
|
14200
14323
|
};
|
14324
|
+
readonly roleVerifier: {
|
14325
|
+
readonly type: "token";
|
14326
|
+
readonly description: "Verifier role. Only allowed to issue verifications.";
|
14327
|
+
};
|
14201
14328
|
};
|
14202
14329
|
};
|
14203
14330
|
readonly ToolsOzoneTeamDeleteMember: {
|
@@ -14307,7 +14434,7 @@ export declare const schemaDict: {
|
|
14307
14434
|
};
|
14308
14435
|
readonly role: {
|
14309
14436
|
readonly type: "string";
|
14310
|
-
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"];
|
14311
14438
|
};
|
14312
14439
|
};
|
14313
14440
|
};
|
@@ -14326,61 +14453,382 @@ export declare const schemaDict: {
|
|
14326
14453
|
};
|
14327
14454
|
};
|
14328
14455
|
};
|
14329
|
-
|
14330
|
-
|
14331
|
-
|
14332
|
-
|
14333
|
-
|
14334
|
-
|
14335
|
-
|
14336
|
-
|
14337
|
-
|
14338
|
-
|
14339
|
-
|
14340
|
-
|
14341
|
-
|
14342
|
-
|
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
|
+
};
|
14343
14524
|
};
|
14344
14525
|
};
|
14345
14526
|
};
|
14346
|
-
|
14347
|
-
|
14348
|
-
|
14349
|
-
|
14350
|
-
|
14351
|
-
|
14352
|
-
|
14353
|
-
|
14354
|
-
readonly
|
14355
|
-
readonly
|
14356
|
-
readonly
|
14357
|
-
|
14358
|
-
|
14359
|
-
|
14360
|
-
|
14361
|
-
|
14362
|
-
|
14363
|
-
|
14364
|
-
|
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
|
+
};
|
14365
14551
|
};
|
14366
14552
|
};
|
14367
|
-
readonly
|
14368
|
-
readonly
|
14369
|
-
readonly
|
14370
|
-
|
14371
|
-
|
14372
|
-
|
14373
|
-
|
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
|
+
};
|
14374
14575
|
};
|
14375
|
-
|
14376
|
-
|
14377
|
-
|
14378
|
-
|
14379
|
-
|
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.";
|
14380
14598
|
};
|
14381
14599
|
};
|
14382
|
-
|
14383
|
-
|
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
|
+
};
|
14777
|
+
};
|
14778
|
+
export declare const schemas: ({
|
14779
|
+
readonly lexicon: 1;
|
14780
|
+
readonly id: "com.atproto.admin.defs";
|
14781
|
+
readonly defs: {
|
14782
|
+
readonly statusAttr: {
|
14783
|
+
readonly type: "object";
|
14784
|
+
readonly required: ["applied"];
|
14785
|
+
readonly properties: {
|
14786
|
+
readonly applied: {
|
14787
|
+
readonly type: "boolean";
|
14788
|
+
};
|
14789
|
+
readonly ref: {
|
14790
|
+
readonly type: "string";
|
14791
|
+
};
|
14792
|
+
};
|
14793
|
+
};
|
14794
|
+
readonly accountView: {
|
14795
|
+
readonly type: "object";
|
14796
|
+
readonly required: ["did", "handle", "indexedAt"];
|
14797
|
+
readonly properties: {
|
14798
|
+
readonly did: {
|
14799
|
+
readonly type: "string";
|
14800
|
+
readonly format: "did";
|
14801
|
+
};
|
14802
|
+
readonly handle: {
|
14803
|
+
readonly type: "string";
|
14804
|
+
readonly format: "handle";
|
14805
|
+
};
|
14806
|
+
readonly email: {
|
14807
|
+
readonly type: "string";
|
14808
|
+
};
|
14809
|
+
readonly relatedRecords: {
|
14810
|
+
readonly type: "array";
|
14811
|
+
readonly items: {
|
14812
|
+
readonly type: "unknown";
|
14813
|
+
};
|
14814
|
+
};
|
14815
|
+
readonly indexedAt: {
|
14816
|
+
readonly type: "string";
|
14817
|
+
readonly format: "datetime";
|
14818
|
+
};
|
14819
|
+
readonly invitedBy: {
|
14820
|
+
readonly type: "ref";
|
14821
|
+
readonly ref: "lex:com.atproto.server.defs#inviteCode";
|
14822
|
+
};
|
14823
|
+
readonly invites: {
|
14824
|
+
readonly type: "array";
|
14825
|
+
readonly items: {
|
14826
|
+
readonly type: "ref";
|
14827
|
+
readonly ref: "lex:com.atproto.server.defs#inviteCode";
|
14828
|
+
};
|
14829
|
+
};
|
14830
|
+
readonly invitesDisabled: {
|
14831
|
+
readonly type: "boolean";
|
14384
14832
|
};
|
14385
14833
|
readonly emailConfirmedAt: {
|
14386
14834
|
readonly type: "string";
|
@@ -24453,7 +24901,7 @@ export declare const schemas: ({
|
|
24453
24901
|
};
|
24454
24902
|
readonly chatDisabled: {
|
24455
24903
|
readonly type: "boolean";
|
24456
|
-
readonly description: "Set to true when the actor cannot actively participate in
|
24904
|
+
readonly description: "Set to true when the actor cannot actively participate in conversations";
|
24457
24905
|
};
|
24458
24906
|
readonly verification: {
|
24459
24907
|
readonly type: "ref";
|
@@ -25822,32 +26270,149 @@ export declare const schemas: ({
|
|
25822
26270
|
};
|
25823
26271
|
} | {
|
25824
26272
|
readonly lexicon: 1;
|
25825
|
-
readonly id: "tools.ozone.
|
26273
|
+
readonly id: "tools.ozone.hosting.getAccountHistory";
|
25826
26274
|
readonly defs: {
|
25827
|
-
readonly
|
25828
|
-
readonly type: "
|
25829
|
-
readonly
|
25830
|
-
readonly
|
25831
|
-
readonly
|
25832
|
-
|
26275
|
+
readonly main: {
|
26276
|
+
readonly type: "query";
|
26277
|
+
readonly description: "Get account history, e.g. log of updated email addresses or other identity information.";
|
26278
|
+
readonly parameters: {
|
26279
|
+
readonly type: "params";
|
26280
|
+
readonly required: ["did"];
|
26281
|
+
readonly properties: {
|
26282
|
+
readonly did: {
|
26283
|
+
readonly type: "string";
|
26284
|
+
readonly format: "did";
|
26285
|
+
};
|
26286
|
+
readonly events: {
|
26287
|
+
readonly type: "array";
|
26288
|
+
readonly items: {
|
26289
|
+
readonly type: "string";
|
26290
|
+
readonly knownValues: ["accountCreated", "emailUpdated", "emailConfirmed", "passwordUpdated", "handleUpdated"];
|
26291
|
+
};
|
26292
|
+
};
|
26293
|
+
readonly cursor: {
|
26294
|
+
readonly type: "string";
|
26295
|
+
};
|
26296
|
+
readonly limit: {
|
26297
|
+
readonly type: "integer";
|
26298
|
+
readonly minimum: 1;
|
26299
|
+
readonly maximum: 100;
|
26300
|
+
readonly default: 50;
|
26301
|
+
};
|
25833
26302
|
};
|
25834
|
-
|
25835
|
-
|
25836
|
-
|
26303
|
+
};
|
26304
|
+
readonly output: {
|
26305
|
+
readonly encoding: "application/json";
|
26306
|
+
readonly schema: {
|
26307
|
+
readonly type: "object";
|
26308
|
+
readonly required: ["events"];
|
26309
|
+
readonly properties: {
|
26310
|
+
readonly cursor: {
|
26311
|
+
readonly type: "string";
|
26312
|
+
};
|
26313
|
+
readonly events: {
|
26314
|
+
readonly type: "array";
|
26315
|
+
readonly items: {
|
26316
|
+
readonly type: "ref";
|
26317
|
+
readonly ref: "lex:tools.ozone.hosting.getAccountHistory#event";
|
26318
|
+
};
|
26319
|
+
};
|
26320
|
+
};
|
25837
26321
|
};
|
25838
|
-
|
26322
|
+
};
|
26323
|
+
};
|
26324
|
+
readonly event: {
|
26325
|
+
readonly type: "object";
|
26326
|
+
readonly required: ["details", "createdBy", "createdAt"];
|
26327
|
+
readonly properties: {
|
26328
|
+
readonly details: {
|
25839
26329
|
readonly type: "union";
|
25840
|
-
readonly refs: ["lex:
|
25841
|
-
};
|
25842
|
-
readonly subjectBlobCids: {
|
25843
|
-
readonly type: "array";
|
25844
|
-
readonly items: {
|
25845
|
-
readonly type: "string";
|
25846
|
-
};
|
26330
|
+
readonly refs: ["lex:tools.ozone.hosting.getAccountHistory#accountCreated", "lex:tools.ozone.hosting.getAccountHistory#emailUpdated", "lex:tools.ozone.hosting.getAccountHistory#emailConfirmed", "lex:tools.ozone.hosting.getAccountHistory#passwordUpdated", "lex:tools.ozone.hosting.getAccountHistory#handleUpdated"];
|
25847
26331
|
};
|
25848
26332
|
readonly createdBy: {
|
25849
26333
|
readonly type: "string";
|
25850
|
-
|
26334
|
+
};
|
26335
|
+
readonly createdAt: {
|
26336
|
+
readonly type: "string";
|
26337
|
+
readonly format: "datetime";
|
26338
|
+
};
|
26339
|
+
};
|
26340
|
+
};
|
26341
|
+
readonly accountCreated: {
|
26342
|
+
readonly type: "object";
|
26343
|
+
readonly required: [];
|
26344
|
+
readonly properties: {
|
26345
|
+
readonly email: {
|
26346
|
+
readonly type: "string";
|
26347
|
+
};
|
26348
|
+
readonly handle: {
|
26349
|
+
readonly type: "string";
|
26350
|
+
readonly format: "handle";
|
26351
|
+
};
|
26352
|
+
};
|
26353
|
+
};
|
26354
|
+
readonly emailUpdated: {
|
26355
|
+
readonly type: "object";
|
26356
|
+
readonly required: ["email"];
|
26357
|
+
readonly properties: {
|
26358
|
+
readonly email: {
|
26359
|
+
readonly type: "string";
|
26360
|
+
};
|
26361
|
+
};
|
26362
|
+
};
|
26363
|
+
readonly emailConfirmed: {
|
26364
|
+
readonly type: "object";
|
26365
|
+
readonly required: ["email"];
|
26366
|
+
readonly properties: {
|
26367
|
+
readonly email: {
|
26368
|
+
readonly type: "string";
|
26369
|
+
};
|
26370
|
+
};
|
26371
|
+
};
|
26372
|
+
readonly passwordUpdated: {
|
26373
|
+
readonly type: "object";
|
26374
|
+
readonly required: [];
|
26375
|
+
readonly properties: {};
|
26376
|
+
};
|
26377
|
+
readonly handleUpdated: {
|
26378
|
+
readonly type: "object";
|
26379
|
+
readonly required: ["handle"];
|
26380
|
+
readonly properties: {
|
26381
|
+
readonly handle: {
|
26382
|
+
readonly type: "string";
|
26383
|
+
readonly format: "handle";
|
26384
|
+
};
|
26385
|
+
};
|
26386
|
+
};
|
26387
|
+
};
|
26388
|
+
} | {
|
26389
|
+
readonly lexicon: 1;
|
26390
|
+
readonly id: "tools.ozone.moderation.defs";
|
26391
|
+
readonly defs: {
|
26392
|
+
readonly modEventView: {
|
26393
|
+
readonly type: "object";
|
26394
|
+
readonly required: ["id", "event", "subject", "subjectBlobCids", "createdBy", "createdAt"];
|
26395
|
+
readonly properties: {
|
26396
|
+
readonly id: {
|
26397
|
+
readonly type: "integer";
|
26398
|
+
};
|
26399
|
+
readonly event: {
|
26400
|
+
readonly type: "union";
|
26401
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#modEventTakedown", "lex:tools.ozone.moderation.defs#modEventReverseTakedown", "lex:tools.ozone.moderation.defs#modEventComment", "lex:tools.ozone.moderation.defs#modEventReport", "lex:tools.ozone.moderation.defs#modEventLabel", "lex:tools.ozone.moderation.defs#modEventAcknowledge", "lex:tools.ozone.moderation.defs#modEventEscalate", "lex:tools.ozone.moderation.defs#modEventMute", "lex:tools.ozone.moderation.defs#modEventUnmute", "lex:tools.ozone.moderation.defs#modEventMuteReporter", "lex:tools.ozone.moderation.defs#modEventUnmuteReporter", "lex:tools.ozone.moderation.defs#modEventEmail", "lex:tools.ozone.moderation.defs#modEventResolveAppeal", "lex:tools.ozone.moderation.defs#modEventDivert", "lex:tools.ozone.moderation.defs#modEventTag", "lex:tools.ozone.moderation.defs#accountEvent", "lex:tools.ozone.moderation.defs#identityEvent", "lex:tools.ozone.moderation.defs#recordEvent", "lex:tools.ozone.moderation.defs#modEventPriorityScore"];
|
26402
|
+
};
|
26403
|
+
readonly subject: {
|
26404
|
+
readonly type: "union";
|
26405
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
|
26406
|
+
};
|
26407
|
+
readonly subjectBlobCids: {
|
26408
|
+
readonly type: "array";
|
26409
|
+
readonly items: {
|
26410
|
+
readonly type: "string";
|
26411
|
+
};
|
26412
|
+
};
|
26413
|
+
readonly createdBy: {
|
26414
|
+
readonly type: "string";
|
26415
|
+
readonly format: "did";
|
25851
26416
|
};
|
25852
26417
|
readonly createdAt: {
|
25853
26418
|
readonly type: "string";
|
@@ -27519,6 +28084,11 @@ export declare const schemas: ({
|
|
27519
28084
|
readonly type: "ref";
|
27520
28085
|
readonly ref: "lex:tools.ozone.server.getConfig#viewerConfig";
|
27521
28086
|
};
|
28087
|
+
readonly verifierDid: {
|
28088
|
+
readonly type: "string";
|
28089
|
+
readonly format: "did";
|
28090
|
+
readonly description: "The did of the verifier used for verification.";
|
28091
|
+
};
|
27522
28092
|
};
|
27523
28093
|
};
|
27524
28094
|
};
|
@@ -27537,7 +28107,7 @@ export declare const schemas: ({
|
|
27537
28107
|
readonly properties: {
|
27538
28108
|
readonly role: {
|
27539
28109
|
readonly type: "string";
|
27540
|
-
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"];
|
27541
28111
|
};
|
27542
28112
|
};
|
27543
28113
|
};
|
@@ -27854,7 +28424,7 @@ export declare const schemas: ({
|
|
27854
28424
|
};
|
27855
28425
|
readonly managerRole: {
|
27856
28426
|
readonly type: "string";
|
27857
|
-
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"];
|
27858
28428
|
};
|
27859
28429
|
readonly scope: {
|
27860
28430
|
readonly type: "string";
|
@@ -27999,7 +28569,7 @@ export declare const schemas: ({
|
|
27999
28569
|
};
|
28000
28570
|
readonly managerRole: {
|
28001
28571
|
readonly type: "string";
|
28002
|
-
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"];
|
28003
28573
|
};
|
28004
28574
|
};
|
28005
28575
|
};
|
@@ -28206,7 +28776,7 @@ export declare const schemas: ({
|
|
28206
28776
|
};
|
28207
28777
|
readonly role: {
|
28208
28778
|
readonly type: "string";
|
28209
|
-
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"];
|
28210
28780
|
};
|
28211
28781
|
};
|
28212
28782
|
};
|
@@ -28256,7 +28826,7 @@ export declare const schemas: ({
|
|
28256
28826
|
};
|
28257
28827
|
readonly role: {
|
28258
28828
|
readonly type: "string";
|
28259
|
-
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"];
|
28260
28830
|
};
|
28261
28831
|
};
|
28262
28832
|
};
|
@@ -28272,6 +28842,10 @@ export declare const schemas: ({
|
|
28272
28842
|
readonly type: "token";
|
28273
28843
|
readonly description: "Triage role. Mostly intended for monitoring and escalating issues.";
|
28274
28844
|
};
|
28845
|
+
readonly roleVerifier: {
|
28846
|
+
readonly type: "token";
|
28847
|
+
readonly description: "Verifier role. Only allowed to issue verifications.";
|
28848
|
+
};
|
28275
28849
|
};
|
28276
28850
|
} | {
|
28277
28851
|
readonly lexicon: 1;
|
@@ -28378,7 +28952,7 @@ export declare const schemas: ({
|
|
28378
28952
|
};
|
28379
28953
|
readonly role: {
|
28380
28954
|
readonly type: "string";
|
28381
|
-
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"];
|
28382
28956
|
};
|
28383
28957
|
};
|
28384
28958
|
};
|
@@ -28396,6 +28970,323 @@ export declare const schemas: ({
|
|
28396
28970
|
}];
|
28397
28971
|
};
|
28398
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
|
+
};
|
28399
29290
|
})[];
|
28400
29291
|
export declare const lexicons: Lexicons;
|
28401
29292
|
export declare function validate<T extends {
|
@@ -28626,6 +29517,7 @@ export declare const ids: {
|
|
28626
29517
|
readonly ToolsOzoneCommunicationDeleteTemplate: "tools.ozone.communication.deleteTemplate";
|
28627
29518
|
readonly ToolsOzoneCommunicationListTemplates: "tools.ozone.communication.listTemplates";
|
28628
29519
|
readonly ToolsOzoneCommunicationUpdateTemplate: "tools.ozone.communication.updateTemplate";
|
29520
|
+
readonly ToolsOzoneHostingGetAccountHistory: "tools.ozone.hosting.getAccountHistory";
|
28629
29521
|
readonly ToolsOzoneModerationDefs: "tools.ozone.moderation.defs";
|
28630
29522
|
readonly ToolsOzoneModerationEmitEvent: "tools.ozone.moderation.emitEvent";
|
28631
29523
|
readonly ToolsOzoneModerationGetEvent: "tools.ozone.moderation.getEvent";
|
@@ -28659,5 +29551,9 @@ export declare const ids: {
|
|
28659
29551
|
readonly ToolsOzoneTeamDeleteMember: "tools.ozone.team.deleteMember";
|
28660
29552
|
readonly ToolsOzoneTeamListMembers: "tools.ozone.team.listMembers";
|
28661
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";
|
28662
29558
|
};
|
28663
29559
|
//# sourceMappingURL=lexicons.d.ts.map
|