@atproto/pds 0.4.97 → 0.4.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE.txt +1 -1
  3. package/dist/api/com/atproto/server/activateAccount.js +1 -1
  4. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  5. package/dist/lexicon/index.d.ts +8 -0
  6. package/dist/lexicon/index.d.ts.map +1 -1
  7. package/dist/lexicon/index.js +16 -0
  8. package/dist/lexicon/index.js.map +1 -1
  9. package/dist/lexicon/lexicons.d.ts +610 -6
  10. package/dist/lexicon/lexicons.d.ts.map +1 -1
  11. package/dist/lexicon/lexicons.js +322 -2
  12. package/dist/lexicon/lexicons.js.map +1 -1
  13. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts +40 -0
  14. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts.map +1 -0
  15. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js +7 -0
  16. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js.map +1 -0
  17. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +32 -1
  18. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  19. package/dist/lexicon/types/chat/bsky/convo/defs.js +36 -0
  20. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  21. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts +37 -0
  22. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts.map +1 -0
  23. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js +7 -0
  24. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js.map +1 -0
  25. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
  26. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  27. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +2 -0
  28. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
  29. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +1 -0
  30. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  31. package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
  32. package/dist/lexicon/types/com/atproto/sync/listReposByCollection.d.ts +46 -0
  33. package/dist/lexicon/types/com/atproto/sync/listReposByCollection.d.ts.map +1 -0
  34. package/dist/lexicon/types/com/atproto/sync/listReposByCollection.js +16 -0
  35. package/dist/lexicon/types/com/atproto/sync/listReposByCollection.js.map +1 -0
  36. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +22 -0
  37. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  38. package/dist/lexicon/types/tools/ozone/moderation/defs.js +9 -0
  39. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  40. package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.d.ts +36 -0
  41. package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.d.ts.map +1 -0
  42. package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.js +7 -0
  43. package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.js.map +1 -0
  44. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +2 -0
  45. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -1
  46. package/package.json +4 -4
  47. package/src/api/com/atproto/server/activateAccount.ts +1 -1
  48. package/src/lexicon/index.ts +48 -0
  49. package/src/lexicon/lexicons.ts +334 -2
  50. package/src/lexicon/types/chat/bsky/convo/acceptConvo.ts +53 -0
  51. package/src/lexicon/types/chat/bsky/convo/defs.ts +66 -1
  52. package/src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts +51 -0
  53. package/src/lexicon/types/chat/bsky/convo/getLog.ts +1 -0
  54. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +2 -0
  55. package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -0
  56. package/src/lexicon/types/com/atproto/sync/listReposByCollection.ts +68 -0
  57. package/src/lexicon/types/tools/ozone/moderation/defs.ts +31 -0
  58. package/src/lexicon/types/tools/ozone/moderation/getReporterStats.ts +50 -0
  59. package/src/lexicon/types/tools/ozone/team/listMembers.ts +2 -0
  60. package/tests/crud.test.ts +1 -1
  61. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1260,6 +1260,8 @@ export declare const schemaDict: {
1260
1260
  readonly rkey: {
1261
1261
  readonly type: "string";
1262
1262
  readonly maxLength: 512;
1263
+ readonly format: "record-key";
1264
+ readonly description: "NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.";
1263
1265
  };
1264
1266
  readonly value: {
1265
1267
  readonly type: "unknown";
@@ -1277,6 +1279,7 @@ export declare const schemaDict: {
1277
1279
  };
1278
1280
  readonly rkey: {
1279
1281
  readonly type: "string";
1282
+ readonly format: "record-key";
1280
1283
  };
1281
1284
  readonly value: {
1282
1285
  readonly type: "unknown";
@@ -1294,6 +1297,7 @@ export declare const schemaDict: {
1294
1297
  };
1295
1298
  readonly rkey: {
1296
1299
  readonly type: "string";
1300
+ readonly format: "record-key";
1297
1301
  };
1298
1302
  };
1299
1303
  };
@@ -1365,6 +1369,7 @@ export declare const schemaDict: {
1365
1369
  };
1366
1370
  readonly rkey: {
1367
1371
  readonly type: "string";
1372
+ readonly format: "record-key";
1368
1373
  readonly description: "The Record Key.";
1369
1374
  readonly maxLength: 512;
1370
1375
  };
@@ -1430,6 +1435,7 @@ export declare const schemaDict: {
1430
1435
  };
1431
1436
  readonly rev: {
1432
1437
  readonly type: "string";
1438
+ readonly format: "tid";
1433
1439
  };
1434
1440
  };
1435
1441
  };
@@ -1460,6 +1466,7 @@ export declare const schemaDict: {
1460
1466
  };
1461
1467
  readonly rkey: {
1462
1468
  readonly type: "string";
1469
+ readonly format: "record-key";
1463
1470
  readonly description: "The Record Key.";
1464
1471
  };
1465
1472
  readonly swapRecord: {
@@ -1571,6 +1578,7 @@ export declare const schemaDict: {
1571
1578
  readonly rkey: {
1572
1579
  readonly type: "string";
1573
1580
  readonly description: "The Record Key.";
1581
+ readonly format: "record-key";
1574
1582
  };
1575
1583
  readonly cid: {
1576
1584
  readonly type: "string";
@@ -1785,6 +1793,7 @@ export declare const schemaDict: {
1785
1793
  };
1786
1794
  readonly rkey: {
1787
1795
  readonly type: "string";
1796
+ readonly format: "record-key";
1788
1797
  readonly description: "The Record Key.";
1789
1798
  readonly maxLength: 512;
1790
1799
  };
@@ -3090,6 +3099,7 @@ export declare const schemaDict: {
3090
3099
  };
3091
3100
  readonly rev: {
3092
3101
  readonly type: "string";
3102
+ readonly format: "tid";
3093
3103
  };
3094
3104
  };
3095
3105
  };
@@ -3129,6 +3139,7 @@ export declare const schemaDict: {
3129
3139
  readonly rkey: {
3130
3140
  readonly type: "string";
3131
3141
  readonly description: "Record Key";
3142
+ readonly format: "record-key";
3132
3143
  };
3133
3144
  readonly commit: {
3134
3145
  readonly type: "string";
@@ -3172,6 +3183,7 @@ export declare const schemaDict: {
3172
3183
  };
3173
3184
  readonly since: {
3174
3185
  readonly type: "string";
3186
+ readonly format: "tid";
3175
3187
  readonly description: "The revision ('rev') of the repo to create a diff from.";
3176
3188
  };
3177
3189
  };
@@ -3229,6 +3241,7 @@ export declare const schemaDict: {
3229
3241
  };
3230
3242
  readonly rev: {
3231
3243
  readonly type: "string";
3244
+ readonly format: "tid";
3232
3245
  readonly description: "Optional field, the current rev of the repo, if active=true";
3233
3246
  };
3234
3247
  };
@@ -3258,6 +3271,7 @@ export declare const schemaDict: {
3258
3271
  };
3259
3272
  readonly since: {
3260
3273
  readonly type: "string";
3274
+ readonly format: "tid";
3261
3275
  readonly description: "Optional revision of the repo to list blobs since.";
3262
3276
  };
3263
3277
  readonly limit: {
@@ -3358,6 +3372,7 @@ export declare const schemaDict: {
3358
3372
  };
3359
3373
  readonly rev: {
3360
3374
  readonly type: "string";
3375
+ readonly format: "tid";
3361
3376
  };
3362
3377
  readonly active: {
3363
3378
  readonly type: "boolean";
@@ -3371,6 +3386,65 @@ export declare const schemaDict: {
3371
3386
  };
3372
3387
  };
3373
3388
  };
3389
+ readonly ComAtprotoSyncListReposByCollection: {
3390
+ readonly lexicon: 1;
3391
+ readonly id: "com.atproto.sync.listReposByCollection";
3392
+ readonly defs: {
3393
+ readonly main: {
3394
+ readonly type: "query";
3395
+ readonly description: "Enumerates all the DIDs which have records with the given collection NSID.";
3396
+ readonly parameters: {
3397
+ readonly type: "params";
3398
+ readonly required: ["collection"];
3399
+ readonly properties: {
3400
+ readonly collection: {
3401
+ readonly type: "string";
3402
+ readonly format: "nsid";
3403
+ };
3404
+ readonly limit: {
3405
+ readonly type: "integer";
3406
+ readonly description: "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.";
3407
+ readonly minimum: 1;
3408
+ readonly maximum: 2000;
3409
+ readonly default: 500;
3410
+ };
3411
+ readonly cursor: {
3412
+ readonly type: "string";
3413
+ };
3414
+ };
3415
+ };
3416
+ readonly output: {
3417
+ readonly encoding: "application/json";
3418
+ readonly schema: {
3419
+ readonly type: "object";
3420
+ readonly required: ["repos"];
3421
+ readonly properties: {
3422
+ readonly cursor: {
3423
+ readonly type: "string";
3424
+ };
3425
+ readonly repos: {
3426
+ readonly type: "array";
3427
+ readonly items: {
3428
+ readonly type: "ref";
3429
+ readonly ref: "lex:com.atproto.sync.listReposByCollection#repo";
3430
+ };
3431
+ };
3432
+ };
3433
+ };
3434
+ };
3435
+ };
3436
+ readonly repo: {
3437
+ readonly type: "object";
3438
+ readonly required: ["did"];
3439
+ readonly properties: {
3440
+ readonly did: {
3441
+ readonly type: "string";
3442
+ readonly format: "did";
3443
+ };
3444
+ };
3445
+ };
3446
+ };
3447
+ };
3374
3448
  readonly ComAtprotoSyncNotifyOfUpdate: {
3375
3449
  readonly lexicon: 1;
3376
3450
  readonly id: "com.atproto.sync.notifyOfUpdate";
@@ -3479,10 +3553,12 @@ export declare const schemaDict: {
3479
3553
  };
3480
3554
  readonly rev: {
3481
3555
  readonly type: "string";
3556
+ readonly format: "tid";
3482
3557
  readonly description: "The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.";
3483
3558
  };
3484
3559
  readonly since: {
3485
3560
  readonly type: "string";
3561
+ readonly format: "tid";
3486
3562
  readonly description: "The rev of the last emitted commit from this repo (if any).";
3487
3563
  };
3488
3564
  readonly blocks: {
@@ -9448,6 +9524,39 @@ export declare const schemaDict: {
9448
9524
  };
9449
9525
  };
9450
9526
  };
9527
+ readonly ChatBskyConvoAcceptConvo: {
9528
+ readonly lexicon: 1;
9529
+ readonly id: "chat.bsky.convo.acceptConvo";
9530
+ readonly defs: {
9531
+ readonly main: {
9532
+ readonly type: "procedure";
9533
+ readonly input: {
9534
+ readonly encoding: "application/json";
9535
+ readonly schema: {
9536
+ readonly type: "object";
9537
+ readonly required: ["convoId"];
9538
+ readonly properties: {
9539
+ readonly convoId: {
9540
+ readonly type: "string";
9541
+ };
9542
+ };
9543
+ };
9544
+ };
9545
+ readonly output: {
9546
+ readonly encoding: "application/json";
9547
+ readonly schema: {
9548
+ readonly type: "object";
9549
+ readonly properties: {
9550
+ readonly rev: {
9551
+ readonly description: "Rev when the convo was accepted. If not present, the convo was already accepted.";
9552
+ readonly type: "string";
9553
+ };
9554
+ };
9555
+ };
9556
+ };
9557
+ };
9558
+ };
9559
+ };
9451
9560
  readonly ChatBskyConvoDefs: {
9452
9561
  readonly lexicon: 1;
9453
9562
  readonly id: "chat.bsky.convo.defs";
@@ -9582,8 +9691,9 @@ export declare const schemaDict: {
9582
9691
  readonly muted: {
9583
9692
  readonly type: "boolean";
9584
9693
  };
9585
- readonly opened: {
9586
- readonly type: "boolean";
9694
+ readonly status: {
9695
+ readonly type: "string";
9696
+ readonly knownValues: ["request", "accepted"];
9587
9697
  };
9588
9698
  readonly unreadCount: {
9589
9699
  readonly type: "integer";
@@ -9602,6 +9712,18 @@ export declare const schemaDict: {
9602
9712
  };
9603
9713
  };
9604
9714
  };
9715
+ readonly logAcceptConvo: {
9716
+ readonly type: "object";
9717
+ readonly required: ["rev", "convoId"];
9718
+ readonly properties: {
9719
+ readonly rev: {
9720
+ readonly type: "string";
9721
+ };
9722
+ readonly convoId: {
9723
+ readonly type: "string";
9724
+ };
9725
+ };
9726
+ };
9605
9727
  readonly logLeaveConvo: {
9606
9728
  readonly type: "object";
9607
9729
  readonly required: ["rev", "convoId"];
@@ -9614,6 +9736,30 @@ export declare const schemaDict: {
9614
9736
  };
9615
9737
  };
9616
9738
  };
9739
+ readonly logMuteConvo: {
9740
+ readonly type: "object";
9741
+ readonly required: ["rev", "convoId"];
9742
+ readonly properties: {
9743
+ readonly rev: {
9744
+ readonly type: "string";
9745
+ };
9746
+ readonly convoId: {
9747
+ readonly type: "string";
9748
+ };
9749
+ };
9750
+ };
9751
+ readonly logUnmuteConvo: {
9752
+ readonly type: "object";
9753
+ readonly required: ["rev", "convoId"];
9754
+ readonly properties: {
9755
+ readonly rev: {
9756
+ readonly type: "string";
9757
+ };
9758
+ readonly convoId: {
9759
+ readonly type: "string";
9760
+ };
9761
+ };
9762
+ };
9617
9763
  readonly logCreateMessage: {
9618
9764
  readonly type: "object";
9619
9765
  readonly required: ["rev", "convoId", "message"];
@@ -9646,6 +9792,22 @@ export declare const schemaDict: {
9646
9792
  };
9647
9793
  };
9648
9794
  };
9795
+ readonly logReadMessage: {
9796
+ readonly type: "object";
9797
+ readonly required: ["rev", "convoId", "message"];
9798
+ readonly properties: {
9799
+ readonly rev: {
9800
+ readonly type: "string";
9801
+ };
9802
+ readonly convoId: {
9803
+ readonly type: "string";
9804
+ };
9805
+ readonly message: {
9806
+ readonly type: "union";
9807
+ readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
9808
+ };
9809
+ };
9810
+ };
9649
9811
  };
9650
9812
  };
9651
9813
  readonly ChatBskyConvoDeleteMessageForSelf: {
@@ -9710,6 +9872,47 @@ export declare const schemaDict: {
9710
9872
  };
9711
9873
  };
9712
9874
  };
9875
+ readonly ChatBskyConvoGetConvoAvailability: {
9876
+ readonly lexicon: 1;
9877
+ readonly id: "chat.bsky.convo.getConvoAvailability";
9878
+ readonly defs: {
9879
+ readonly main: {
9880
+ readonly type: "query";
9881
+ readonly description: "Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.";
9882
+ readonly parameters: {
9883
+ readonly type: "params";
9884
+ readonly required: ["members"];
9885
+ readonly properties: {
9886
+ readonly members: {
9887
+ readonly type: "array";
9888
+ readonly minLength: 1;
9889
+ readonly maxLength: 10;
9890
+ readonly items: {
9891
+ readonly type: "string";
9892
+ readonly format: "did";
9893
+ };
9894
+ };
9895
+ };
9896
+ };
9897
+ readonly output: {
9898
+ readonly encoding: "application/json";
9899
+ readonly schema: {
9900
+ readonly type: "object";
9901
+ readonly required: ["canChat"];
9902
+ readonly properties: {
9903
+ readonly canChat: {
9904
+ readonly type: "boolean";
9905
+ };
9906
+ readonly convo: {
9907
+ readonly type: "ref";
9908
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
9909
+ };
9910
+ };
9911
+ };
9912
+ };
9913
+ };
9914
+ };
9915
+ };
9713
9916
  readonly ChatBskyConvoGetConvoForMembers: {
9714
9917
  readonly lexicon: 1;
9715
9918
  readonly id: "chat.bsky.convo.getConvoForMembers";
@@ -9775,7 +9978,7 @@ export declare const schemaDict: {
9775
9978
  readonly type: "array";
9776
9979
  readonly items: {
9777
9980
  readonly type: "union";
9778
- readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage"];
9981
+ readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage"];
9779
9982
  };
9780
9983
  };
9781
9984
  };
@@ -9884,6 +10087,14 @@ export declare const schemaDict: {
9884
10087
  readonly cursor: {
9885
10088
  readonly type: "string";
9886
10089
  };
10090
+ readonly readState: {
10091
+ readonly type: "string";
10092
+ readonly knownValues: ["unread"];
10093
+ };
10094
+ readonly status: {
10095
+ readonly type: "string";
10096
+ readonly knownValues: ["request", "accepted"];
10097
+ };
9887
10098
  };
9888
10099
  };
9889
10100
  readonly output: {
@@ -11350,6 +11561,48 @@ export declare const schemaDict: {
11350
11561
  };
11351
11562
  };
11352
11563
  };
11564
+ readonly reporterStats: {
11565
+ readonly type: "object";
11566
+ readonly required: ["did", "accountReportCount", "recordReportCount", "reportedAccountCount", "reportedRecordCount", "takendownAccountCount", "takendownRecordCount", "labeledAccountCount", "labeledRecordCount"];
11567
+ readonly properties: {
11568
+ readonly did: {
11569
+ readonly type: "string";
11570
+ readonly format: "did";
11571
+ };
11572
+ readonly accountReportCount: {
11573
+ readonly type: "integer";
11574
+ readonly description: "The total number of reports made by the user on accounts.";
11575
+ };
11576
+ readonly recordReportCount: {
11577
+ readonly type: "integer";
11578
+ readonly description: "The total number of reports made by the user on records.";
11579
+ };
11580
+ readonly reportedAccountCount: {
11581
+ readonly type: "integer";
11582
+ readonly description: "The total number of accounts reported by the user.";
11583
+ };
11584
+ readonly reportedRecordCount: {
11585
+ readonly type: "integer";
11586
+ readonly description: "The total number of records reported by the user.";
11587
+ };
11588
+ readonly takendownAccountCount: {
11589
+ readonly type: "integer";
11590
+ readonly description: "The total number of accounts taken down as a result of the user's reports.";
11591
+ };
11592
+ readonly takendownRecordCount: {
11593
+ readonly type: "integer";
11594
+ readonly description: "The total number of records taken down as a result of the user's reports.";
11595
+ };
11596
+ readonly labeledAccountCount: {
11597
+ readonly type: "integer";
11598
+ readonly description: "The total number of accounts labeled as a result of the user's reports.";
11599
+ };
11600
+ readonly labeledRecordCount: {
11601
+ readonly type: "integer";
11602
+ readonly description: "The total number of records labeled as a result of the user's reports.";
11603
+ };
11604
+ };
11605
+ };
11353
11606
  };
11354
11607
  };
11355
11608
  readonly ToolsOzoneModerationEmitEvent: {
@@ -11530,6 +11783,46 @@ export declare const schemaDict: {
11530
11783
  };
11531
11784
  };
11532
11785
  };
11786
+ readonly ToolsOzoneModerationGetReporterStats: {
11787
+ readonly lexicon: 1;
11788
+ readonly id: "tools.ozone.moderation.getReporterStats";
11789
+ readonly defs: {
11790
+ readonly main: {
11791
+ readonly type: "query";
11792
+ readonly description: "Get reporter stats for a list of users.";
11793
+ readonly parameters: {
11794
+ readonly type: "params";
11795
+ readonly required: ["dids"];
11796
+ readonly properties: {
11797
+ readonly dids: {
11798
+ readonly type: "array";
11799
+ readonly maxLength: 100;
11800
+ readonly items: {
11801
+ readonly type: "string";
11802
+ readonly format: "did";
11803
+ };
11804
+ };
11805
+ };
11806
+ };
11807
+ readonly output: {
11808
+ readonly encoding: "application/json";
11809
+ readonly schema: {
11810
+ readonly type: "object";
11811
+ readonly required: ["stats"];
11812
+ readonly properties: {
11813
+ readonly stats: {
11814
+ readonly type: "array";
11815
+ readonly items: {
11816
+ readonly type: "ref";
11817
+ readonly ref: "lex:tools.ozone.moderation.defs#reporterStats";
11818
+ };
11819
+ };
11820
+ };
11821
+ };
11822
+ };
11823
+ };
11824
+ };
11825
+ };
11533
11826
  readonly ToolsOzoneModerationGetRepos: {
11534
11827
  readonly lexicon: 1;
11535
11828
  readonly id: "tools.ozone.moderation.getRepos";
@@ -12809,6 +13102,15 @@ export declare const schemaDict: {
12809
13102
  readonly parameters: {
12810
13103
  readonly type: "params";
12811
13104
  readonly properties: {
13105
+ readonly disabled: {
13106
+ readonly type: "boolean";
13107
+ };
13108
+ readonly roles: {
13109
+ readonly type: "array";
13110
+ readonly items: {
13111
+ readonly type: "string";
13112
+ };
13113
+ };
12812
13114
  readonly limit: {
12813
13115
  readonly type: "integer";
12814
13116
  readonly minimum: 1;
@@ -14114,6 +14416,8 @@ export declare const schemas: ({
14114
14416
  readonly rkey: {
14115
14417
  readonly type: "string";
14116
14418
  readonly maxLength: 512;
14419
+ readonly format: "record-key";
14420
+ readonly description: "NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.";
14117
14421
  };
14118
14422
  readonly value: {
14119
14423
  readonly type: "unknown";
@@ -14131,6 +14435,7 @@ export declare const schemas: ({
14131
14435
  };
14132
14436
  readonly rkey: {
14133
14437
  readonly type: "string";
14438
+ readonly format: "record-key";
14134
14439
  };
14135
14440
  readonly value: {
14136
14441
  readonly type: "unknown";
@@ -14148,6 +14453,7 @@ export declare const schemas: ({
14148
14453
  };
14149
14454
  readonly rkey: {
14150
14455
  readonly type: "string";
14456
+ readonly format: "record-key";
14151
14457
  };
14152
14458
  };
14153
14459
  };
@@ -14218,6 +14524,7 @@ export declare const schemas: ({
14218
14524
  };
14219
14525
  readonly rkey: {
14220
14526
  readonly type: "string";
14527
+ readonly format: "record-key";
14221
14528
  readonly description: "The Record Key.";
14222
14529
  readonly maxLength: 512;
14223
14530
  };
@@ -14282,6 +14589,7 @@ export declare const schemas: ({
14282
14589
  };
14283
14590
  readonly rev: {
14284
14591
  readonly type: "string";
14592
+ readonly format: "tid";
14285
14593
  };
14286
14594
  };
14287
14595
  };
@@ -14311,6 +14619,7 @@ export declare const schemas: ({
14311
14619
  };
14312
14620
  readonly rkey: {
14313
14621
  readonly type: "string";
14622
+ readonly format: "record-key";
14314
14623
  readonly description: "The Record Key.";
14315
14624
  };
14316
14625
  readonly swapRecord: {
@@ -14420,6 +14729,7 @@ export declare const schemas: ({
14420
14729
  readonly rkey: {
14421
14730
  readonly type: "string";
14422
14731
  readonly description: "The Record Key.";
14732
+ readonly format: "record-key";
14423
14733
  };
14424
14734
  readonly cid: {
14425
14735
  readonly type: "string";
@@ -14630,6 +14940,7 @@ export declare const schemas: ({
14630
14940
  };
14631
14941
  readonly rkey: {
14632
14942
  readonly type: "string";
14943
+ readonly format: "record-key";
14633
14944
  readonly description: "The Record Key.";
14634
14945
  readonly maxLength: 512;
14635
14946
  };
@@ -15902,6 +16213,7 @@ export declare const schemas: ({
15902
16213
  };
15903
16214
  readonly rev: {
15904
16215
  readonly type: "string";
16216
+ readonly format: "tid";
15905
16217
  };
15906
16218
  };
15907
16219
  };
@@ -15940,6 +16252,7 @@ export declare const schemas: ({
15940
16252
  readonly rkey: {
15941
16253
  readonly type: "string";
15942
16254
  readonly description: "Record Key";
16255
+ readonly format: "record-key";
15943
16256
  };
15944
16257
  readonly commit: {
15945
16258
  readonly type: "string";
@@ -15982,6 +16295,7 @@ export declare const schemas: ({
15982
16295
  };
15983
16296
  readonly since: {
15984
16297
  readonly type: "string";
16298
+ readonly format: "tid";
15985
16299
  readonly description: "The revision ('rev') of the repo to create a diff from.";
15986
16300
  };
15987
16301
  };
@@ -16038,6 +16352,7 @@ export declare const schemas: ({
16038
16352
  };
16039
16353
  readonly rev: {
16040
16354
  readonly type: "string";
16355
+ readonly format: "tid";
16041
16356
  readonly description: "Optional field, the current rev of the repo, if active=true";
16042
16357
  };
16043
16358
  };
@@ -16066,6 +16381,7 @@ export declare const schemas: ({
16066
16381
  };
16067
16382
  readonly since: {
16068
16383
  readonly type: "string";
16384
+ readonly format: "tid";
16069
16385
  readonly description: "Optional revision of the repo to list blobs since.";
16070
16386
  };
16071
16387
  readonly limit: {
@@ -16165,6 +16481,7 @@ export declare const schemas: ({
16165
16481
  };
16166
16482
  readonly rev: {
16167
16483
  readonly type: "string";
16484
+ readonly format: "tid";
16168
16485
  };
16169
16486
  readonly active: {
16170
16487
  readonly type: "boolean";
@@ -16177,6 +16494,64 @@ export declare const schemas: ({
16177
16494
  };
16178
16495
  };
16179
16496
  };
16497
+ } | {
16498
+ readonly lexicon: 1;
16499
+ readonly id: "com.atproto.sync.listReposByCollection";
16500
+ readonly defs: {
16501
+ readonly main: {
16502
+ readonly type: "query";
16503
+ readonly description: "Enumerates all the DIDs which have records with the given collection NSID.";
16504
+ readonly parameters: {
16505
+ readonly type: "params";
16506
+ readonly required: ["collection"];
16507
+ readonly properties: {
16508
+ readonly collection: {
16509
+ readonly type: "string";
16510
+ readonly format: "nsid";
16511
+ };
16512
+ readonly limit: {
16513
+ readonly type: "integer";
16514
+ readonly description: "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.";
16515
+ readonly minimum: 1;
16516
+ readonly maximum: 2000;
16517
+ readonly default: 500;
16518
+ };
16519
+ readonly cursor: {
16520
+ readonly type: "string";
16521
+ };
16522
+ };
16523
+ };
16524
+ readonly output: {
16525
+ readonly encoding: "application/json";
16526
+ readonly schema: {
16527
+ readonly type: "object";
16528
+ readonly required: ["repos"];
16529
+ readonly properties: {
16530
+ readonly cursor: {
16531
+ readonly type: "string";
16532
+ };
16533
+ readonly repos: {
16534
+ readonly type: "array";
16535
+ readonly items: {
16536
+ readonly type: "ref";
16537
+ readonly ref: "lex:com.atproto.sync.listReposByCollection#repo";
16538
+ };
16539
+ };
16540
+ };
16541
+ };
16542
+ };
16543
+ };
16544
+ readonly repo: {
16545
+ readonly type: "object";
16546
+ readonly required: ["did"];
16547
+ readonly properties: {
16548
+ readonly did: {
16549
+ readonly type: "string";
16550
+ readonly format: "did";
16551
+ };
16552
+ };
16553
+ };
16554
+ };
16180
16555
  } | {
16181
16556
  readonly lexicon: 1;
16182
16557
  readonly id: "com.atproto.sync.notifyOfUpdate";
@@ -16283,10 +16658,12 @@ export declare const schemas: ({
16283
16658
  };
16284
16659
  readonly rev: {
16285
16660
  readonly type: "string";
16661
+ readonly format: "tid";
16286
16662
  readonly description: "The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.";
16287
16663
  };
16288
16664
  readonly since: {
16289
16665
  readonly type: "string";
16666
+ readonly format: "tid";
16290
16667
  readonly description: "The rev of the last emitted commit from this repo (if any).";
16291
16668
  };
16292
16669
  readonly blocks: {
@@ -22153,6 +22530,38 @@ export declare const schemas: ({
22153
22530
  };
22154
22531
  };
22155
22532
  };
22533
+ } | {
22534
+ readonly lexicon: 1;
22535
+ readonly id: "chat.bsky.convo.acceptConvo";
22536
+ readonly defs: {
22537
+ readonly main: {
22538
+ readonly type: "procedure";
22539
+ readonly input: {
22540
+ readonly encoding: "application/json";
22541
+ readonly schema: {
22542
+ readonly type: "object";
22543
+ readonly required: ["convoId"];
22544
+ readonly properties: {
22545
+ readonly convoId: {
22546
+ readonly type: "string";
22547
+ };
22548
+ };
22549
+ };
22550
+ };
22551
+ readonly output: {
22552
+ readonly encoding: "application/json";
22553
+ readonly schema: {
22554
+ readonly type: "object";
22555
+ readonly properties: {
22556
+ readonly rev: {
22557
+ readonly description: "Rev when the convo was accepted. If not present, the convo was already accepted.";
22558
+ readonly type: "string";
22559
+ };
22560
+ };
22561
+ };
22562
+ };
22563
+ };
22564
+ };
22156
22565
  } | {
22157
22566
  readonly lexicon: 1;
22158
22567
  readonly id: "chat.bsky.convo.defs";
@@ -22287,8 +22696,9 @@ export declare const schemas: ({
22287
22696
  readonly muted: {
22288
22697
  readonly type: "boolean";
22289
22698
  };
22290
- readonly opened: {
22291
- readonly type: "boolean";
22699
+ readonly status: {
22700
+ readonly type: "string";
22701
+ readonly knownValues: ["request", "accepted"];
22292
22702
  };
22293
22703
  readonly unreadCount: {
22294
22704
  readonly type: "integer";
@@ -22307,6 +22717,18 @@ export declare const schemas: ({
22307
22717
  };
22308
22718
  };
22309
22719
  };
22720
+ readonly logAcceptConvo: {
22721
+ readonly type: "object";
22722
+ readonly required: ["rev", "convoId"];
22723
+ readonly properties: {
22724
+ readonly rev: {
22725
+ readonly type: "string";
22726
+ };
22727
+ readonly convoId: {
22728
+ readonly type: "string";
22729
+ };
22730
+ };
22731
+ };
22310
22732
  readonly logLeaveConvo: {
22311
22733
  readonly type: "object";
22312
22734
  readonly required: ["rev", "convoId"];
@@ -22319,6 +22741,30 @@ export declare const schemas: ({
22319
22741
  };
22320
22742
  };
22321
22743
  };
22744
+ readonly logMuteConvo: {
22745
+ readonly type: "object";
22746
+ readonly required: ["rev", "convoId"];
22747
+ readonly properties: {
22748
+ readonly rev: {
22749
+ readonly type: "string";
22750
+ };
22751
+ readonly convoId: {
22752
+ readonly type: "string";
22753
+ };
22754
+ };
22755
+ };
22756
+ readonly logUnmuteConvo: {
22757
+ readonly type: "object";
22758
+ readonly required: ["rev", "convoId"];
22759
+ readonly properties: {
22760
+ readonly rev: {
22761
+ readonly type: "string";
22762
+ };
22763
+ readonly convoId: {
22764
+ readonly type: "string";
22765
+ };
22766
+ };
22767
+ };
22322
22768
  readonly logCreateMessage: {
22323
22769
  readonly type: "object";
22324
22770
  readonly required: ["rev", "convoId", "message"];
@@ -22351,6 +22797,22 @@ export declare const schemas: ({
22351
22797
  };
22352
22798
  };
22353
22799
  };
22800
+ readonly logReadMessage: {
22801
+ readonly type: "object";
22802
+ readonly required: ["rev", "convoId", "message"];
22803
+ readonly properties: {
22804
+ readonly rev: {
22805
+ readonly type: "string";
22806
+ };
22807
+ readonly convoId: {
22808
+ readonly type: "string";
22809
+ };
22810
+ readonly message: {
22811
+ readonly type: "union";
22812
+ readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
22813
+ };
22814
+ };
22815
+ };
22354
22816
  };
22355
22817
  } | {
22356
22818
  readonly lexicon: 1;
@@ -22412,6 +22874,46 @@ export declare const schemas: ({
22412
22874
  };
22413
22875
  };
22414
22876
  };
22877
+ } | {
22878
+ readonly lexicon: 1;
22879
+ readonly id: "chat.bsky.convo.getConvoAvailability";
22880
+ readonly defs: {
22881
+ readonly main: {
22882
+ readonly type: "query";
22883
+ readonly description: "Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.";
22884
+ readonly parameters: {
22885
+ readonly type: "params";
22886
+ readonly required: ["members"];
22887
+ readonly properties: {
22888
+ readonly members: {
22889
+ readonly type: "array";
22890
+ readonly minLength: 1;
22891
+ readonly maxLength: 10;
22892
+ readonly items: {
22893
+ readonly type: "string";
22894
+ readonly format: "did";
22895
+ };
22896
+ };
22897
+ };
22898
+ };
22899
+ readonly output: {
22900
+ readonly encoding: "application/json";
22901
+ readonly schema: {
22902
+ readonly type: "object";
22903
+ readonly required: ["canChat"];
22904
+ readonly properties: {
22905
+ readonly canChat: {
22906
+ readonly type: "boolean";
22907
+ };
22908
+ readonly convo: {
22909
+ readonly type: "ref";
22910
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
22911
+ };
22912
+ };
22913
+ };
22914
+ };
22915
+ };
22916
+ };
22415
22917
  } | {
22416
22918
  readonly lexicon: 1;
22417
22919
  readonly id: "chat.bsky.convo.getConvoForMembers";
@@ -22476,7 +22978,7 @@ export declare const schemas: ({
22476
22978
  readonly type: "array";
22477
22979
  readonly items: {
22478
22980
  readonly type: "union";
22479
- readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage"];
22981
+ readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage"];
22480
22982
  };
22481
22983
  };
22482
22984
  };
@@ -22582,6 +23084,14 @@ export declare const schemas: ({
22582
23084
  readonly cursor: {
22583
23085
  readonly type: "string";
22584
23086
  };
23087
+ readonly readState: {
23088
+ readonly type: "string";
23089
+ readonly knownValues: ["unread"];
23090
+ };
23091
+ readonly status: {
23092
+ readonly type: "string";
23093
+ readonly knownValues: ["request", "accepted"];
23094
+ };
22585
23095
  };
22586
23096
  };
22587
23097
  readonly output: {
@@ -24034,6 +24544,48 @@ export declare const schemas: ({
24034
24544
  };
24035
24545
  };
24036
24546
  };
24547
+ readonly reporterStats: {
24548
+ readonly type: "object";
24549
+ readonly required: ["did", "accountReportCount", "recordReportCount", "reportedAccountCount", "reportedRecordCount", "takendownAccountCount", "takendownRecordCount", "labeledAccountCount", "labeledRecordCount"];
24550
+ readonly properties: {
24551
+ readonly did: {
24552
+ readonly type: "string";
24553
+ readonly format: "did";
24554
+ };
24555
+ readonly accountReportCount: {
24556
+ readonly type: "integer";
24557
+ readonly description: "The total number of reports made by the user on accounts.";
24558
+ };
24559
+ readonly recordReportCount: {
24560
+ readonly type: "integer";
24561
+ readonly description: "The total number of reports made by the user on records.";
24562
+ };
24563
+ readonly reportedAccountCount: {
24564
+ readonly type: "integer";
24565
+ readonly description: "The total number of accounts reported by the user.";
24566
+ };
24567
+ readonly reportedRecordCount: {
24568
+ readonly type: "integer";
24569
+ readonly description: "The total number of records reported by the user.";
24570
+ };
24571
+ readonly takendownAccountCount: {
24572
+ readonly type: "integer";
24573
+ readonly description: "The total number of accounts taken down as a result of the user's reports.";
24574
+ };
24575
+ readonly takendownRecordCount: {
24576
+ readonly type: "integer";
24577
+ readonly description: "The total number of records taken down as a result of the user's reports.";
24578
+ };
24579
+ readonly labeledAccountCount: {
24580
+ readonly type: "integer";
24581
+ readonly description: "The total number of accounts labeled as a result of the user's reports.";
24582
+ };
24583
+ readonly labeledRecordCount: {
24584
+ readonly type: "integer";
24585
+ readonly description: "The total number of records labeled as a result of the user's reports.";
24586
+ };
24587
+ };
24588
+ };
24037
24589
  };
24038
24590
  } | {
24039
24591
  readonly lexicon: 1;
@@ -24208,6 +24760,45 @@ export declare const schemas: ({
24208
24760
  }];
24209
24761
  };
24210
24762
  };
24763
+ } | {
24764
+ readonly lexicon: 1;
24765
+ readonly id: "tools.ozone.moderation.getReporterStats";
24766
+ readonly defs: {
24767
+ readonly main: {
24768
+ readonly type: "query";
24769
+ readonly description: "Get reporter stats for a list of users.";
24770
+ readonly parameters: {
24771
+ readonly type: "params";
24772
+ readonly required: ["dids"];
24773
+ readonly properties: {
24774
+ readonly dids: {
24775
+ readonly type: "array";
24776
+ readonly maxLength: 100;
24777
+ readonly items: {
24778
+ readonly type: "string";
24779
+ readonly format: "did";
24780
+ };
24781
+ };
24782
+ };
24783
+ };
24784
+ readonly output: {
24785
+ readonly encoding: "application/json";
24786
+ readonly schema: {
24787
+ readonly type: "object";
24788
+ readonly required: ["stats"];
24789
+ readonly properties: {
24790
+ readonly stats: {
24791
+ readonly type: "array";
24792
+ readonly items: {
24793
+ readonly type: "ref";
24794
+ readonly ref: "lex:tools.ozone.moderation.defs#reporterStats";
24795
+ };
24796
+ };
24797
+ };
24798
+ };
24799
+ };
24800
+ };
24801
+ };
24211
24802
  } | {
24212
24803
  readonly lexicon: 1;
24213
24804
  readonly id: "tools.ozone.moderation.getRepos";
@@ -25464,6 +26055,15 @@ export declare const schemas: ({
25464
26055
  readonly parameters: {
25465
26056
  readonly type: "params";
25466
26057
  readonly properties: {
26058
+ readonly disabled: {
26059
+ readonly type: "boolean";
26060
+ };
26061
+ readonly roles: {
26062
+ readonly type: "array";
26063
+ readonly items: {
26064
+ readonly type: "string";
26065
+ };
26066
+ };
25467
26067
  readonly limit: {
25468
26068
  readonly type: "integer";
25469
26069
  readonly minimum: 1;
@@ -25620,6 +26220,7 @@ export declare const ids: {
25620
26220
  readonly ComAtprotoSyncGetRepoStatus: "com.atproto.sync.getRepoStatus";
25621
26221
  readonly ComAtprotoSyncListBlobs: "com.atproto.sync.listBlobs";
25622
26222
  readonly ComAtprotoSyncListRepos: "com.atproto.sync.listRepos";
26223
+ readonly ComAtprotoSyncListReposByCollection: "com.atproto.sync.listReposByCollection";
25623
26224
  readonly ComAtprotoSyncNotifyOfUpdate: "com.atproto.sync.notifyOfUpdate";
25624
26225
  readonly ComAtprotoSyncRequestCrawl: "com.atproto.sync.requestCrawl";
25625
26226
  readonly ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos";
@@ -25721,9 +26322,11 @@ export declare const ids: {
25721
26322
  readonly ChatBskyActorDefs: "chat.bsky.actor.defs";
25722
26323
  readonly ChatBskyActorDeleteAccount: "chat.bsky.actor.deleteAccount";
25723
26324
  readonly ChatBskyActorExportAccountData: "chat.bsky.actor.exportAccountData";
26325
+ readonly ChatBskyConvoAcceptConvo: "chat.bsky.convo.acceptConvo";
25724
26326
  readonly ChatBskyConvoDefs: "chat.bsky.convo.defs";
25725
26327
  readonly ChatBskyConvoDeleteMessageForSelf: "chat.bsky.convo.deleteMessageForSelf";
25726
26328
  readonly ChatBskyConvoGetConvo: "chat.bsky.convo.getConvo";
26329
+ readonly ChatBskyConvoGetConvoAvailability: "chat.bsky.convo.getConvoAvailability";
25727
26330
  readonly ChatBskyConvoGetConvoForMembers: "chat.bsky.convo.getConvoForMembers";
25728
26331
  readonly ChatBskyConvoGetLog: "chat.bsky.convo.getLog";
25729
26332
  readonly ChatBskyConvoGetMessages: "chat.bsky.convo.getMessages";
@@ -25748,6 +26351,7 @@ export declare const ids: {
25748
26351
  readonly ToolsOzoneModerationGetRecord: "tools.ozone.moderation.getRecord";
25749
26352
  readonly ToolsOzoneModerationGetRecords: "tools.ozone.moderation.getRecords";
25750
26353
  readonly ToolsOzoneModerationGetRepo: "tools.ozone.moderation.getRepo";
26354
+ readonly ToolsOzoneModerationGetReporterStats: "tools.ozone.moderation.getReporterStats";
25751
26355
  readonly ToolsOzoneModerationGetRepos: "tools.ozone.moderation.getRepos";
25752
26356
  readonly ToolsOzoneModerationQueryEvents: "tools.ozone.moderation.queryEvents";
25753
26357
  readonly ToolsOzoneModerationQueryStatuses: "tools.ozone.moderation.queryStatuses";