@atproto/bsky 0.0.119 → 0.0.120

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 (39) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE.txt +1 -1
  3. package/dist/lexicon/index.d.ts +4 -0
  4. package/dist/lexicon/index.d.ts.map +1 -1
  5. package/dist/lexicon/index.js +8 -0
  6. package/dist/lexicon/index.js.map +1 -1
  7. package/dist/lexicon/lexicons.d.ts +310 -6
  8. package/dist/lexicon/lexicons.d.ts.map +1 -1
  9. package/dist/lexicon/lexicons.js +160 -2
  10. package/dist/lexicon/lexicons.js.map +1 -1
  11. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts +40 -0
  12. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts.map +1 -0
  13. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js +7 -0
  14. package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js.map +1 -0
  15. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +32 -1
  16. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  17. package/dist/lexicon/types/chat/bsky/convo/defs.js +36 -0
  18. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  19. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts +37 -0
  20. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts.map +1 -0
  21. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js +7 -0
  22. package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js.map +1 -0
  23. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
  24. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  25. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +2 -0
  26. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
  27. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +1 -0
  28. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  29. package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
  30. package/package.json +4 -4
  31. package/src/lexicon/index.ts +24 -0
  32. package/src/lexicon/lexicons.ts +163 -2
  33. package/src/lexicon/types/chat/bsky/convo/acceptConvo.ts +53 -0
  34. package/src/lexicon/types/chat/bsky/convo/defs.ts +66 -1
  35. package/src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts +51 -0
  36. package/src/lexicon/types/chat/bsky/convo/getLog.ts +1 -0
  37. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +2 -0
  38. package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -0
  39. 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";
@@ -3538,10 +3553,12 @@ export declare const schemaDict: {
3538
3553
  };
3539
3554
  readonly rev: {
3540
3555
  readonly type: "string";
3556
+ readonly format: "tid";
3541
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.";
3542
3558
  };
3543
3559
  readonly since: {
3544
3560
  readonly type: "string";
3561
+ readonly format: "tid";
3545
3562
  readonly description: "The rev of the last emitted commit from this repo (if any).";
3546
3563
  };
3547
3564
  readonly blocks: {
@@ -9507,6 +9524,39 @@ export declare const schemaDict: {
9507
9524
  };
9508
9525
  };
9509
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
+ };
9510
9560
  readonly ChatBskyConvoDefs: {
9511
9561
  readonly lexicon: 1;
9512
9562
  readonly id: "chat.bsky.convo.defs";
@@ -9641,8 +9691,9 @@ export declare const schemaDict: {
9641
9691
  readonly muted: {
9642
9692
  readonly type: "boolean";
9643
9693
  };
9644
- readonly opened: {
9645
- readonly type: "boolean";
9694
+ readonly status: {
9695
+ readonly type: "string";
9696
+ readonly knownValues: ["request", "accepted"];
9646
9697
  };
9647
9698
  readonly unreadCount: {
9648
9699
  readonly type: "integer";
@@ -9661,6 +9712,18 @@ export declare const schemaDict: {
9661
9712
  };
9662
9713
  };
9663
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
+ };
9664
9727
  readonly logLeaveConvo: {
9665
9728
  readonly type: "object";
9666
9729
  readonly required: ["rev", "convoId"];
@@ -9673,6 +9736,30 @@ export declare const schemaDict: {
9673
9736
  };
9674
9737
  };
9675
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
+ };
9676
9763
  readonly logCreateMessage: {
9677
9764
  readonly type: "object";
9678
9765
  readonly required: ["rev", "convoId", "message"];
@@ -9705,6 +9792,22 @@ export declare const schemaDict: {
9705
9792
  };
9706
9793
  };
9707
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
+ };
9708
9811
  };
9709
9812
  };
9710
9813
  readonly ChatBskyConvoDeleteMessageForSelf: {
@@ -9769,6 +9872,47 @@ export declare const schemaDict: {
9769
9872
  };
9770
9873
  };
9771
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
+ };
9772
9916
  readonly ChatBskyConvoGetConvoForMembers: {
9773
9917
  readonly lexicon: 1;
9774
9918
  readonly id: "chat.bsky.convo.getConvoForMembers";
@@ -9834,7 +9978,7 @@ export declare const schemaDict: {
9834
9978
  readonly type: "array";
9835
9979
  readonly items: {
9836
9980
  readonly type: "union";
9837
- 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"];
9838
9982
  };
9839
9983
  };
9840
9984
  };
@@ -9943,6 +10087,14 @@ export declare const schemaDict: {
9943
10087
  readonly cursor: {
9944
10088
  readonly type: "string";
9945
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
+ };
9946
10098
  };
9947
10099
  };
9948
10100
  readonly output: {
@@ -11522,6 +11674,8 @@ export declare const schemas: ({
11522
11674
  readonly rkey: {
11523
11675
  readonly type: "string";
11524
11676
  readonly maxLength: 512;
11677
+ readonly format: "record-key";
11678
+ readonly description: "NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.";
11525
11679
  };
11526
11680
  readonly value: {
11527
11681
  readonly type: "unknown";
@@ -11539,6 +11693,7 @@ export declare const schemas: ({
11539
11693
  };
11540
11694
  readonly rkey: {
11541
11695
  readonly type: "string";
11696
+ readonly format: "record-key";
11542
11697
  };
11543
11698
  readonly value: {
11544
11699
  readonly type: "unknown";
@@ -11556,6 +11711,7 @@ export declare const schemas: ({
11556
11711
  };
11557
11712
  readonly rkey: {
11558
11713
  readonly type: "string";
11714
+ readonly format: "record-key";
11559
11715
  };
11560
11716
  };
11561
11717
  };
@@ -11626,6 +11782,7 @@ export declare const schemas: ({
11626
11782
  };
11627
11783
  readonly rkey: {
11628
11784
  readonly type: "string";
11785
+ readonly format: "record-key";
11629
11786
  readonly description: "The Record Key.";
11630
11787
  readonly maxLength: 512;
11631
11788
  };
@@ -11690,6 +11847,7 @@ export declare const schemas: ({
11690
11847
  };
11691
11848
  readonly rev: {
11692
11849
  readonly type: "string";
11850
+ readonly format: "tid";
11693
11851
  };
11694
11852
  };
11695
11853
  };
@@ -11719,6 +11877,7 @@ export declare const schemas: ({
11719
11877
  };
11720
11878
  readonly rkey: {
11721
11879
  readonly type: "string";
11880
+ readonly format: "record-key";
11722
11881
  readonly description: "The Record Key.";
11723
11882
  };
11724
11883
  readonly swapRecord: {
@@ -11828,6 +11987,7 @@ export declare const schemas: ({
11828
11987
  readonly rkey: {
11829
11988
  readonly type: "string";
11830
11989
  readonly description: "The Record Key.";
11990
+ readonly format: "record-key";
11831
11991
  };
11832
11992
  readonly cid: {
11833
11993
  readonly type: "string";
@@ -12038,6 +12198,7 @@ export declare const schemas: ({
12038
12198
  };
12039
12199
  readonly rkey: {
12040
12200
  readonly type: "string";
12201
+ readonly format: "record-key";
12041
12202
  readonly description: "The Record Key.";
12042
12203
  readonly maxLength: 512;
12043
12204
  };
@@ -13310,6 +13471,7 @@ export declare const schemas: ({
13310
13471
  };
13311
13472
  readonly rev: {
13312
13473
  readonly type: "string";
13474
+ readonly format: "tid";
13313
13475
  };
13314
13476
  };
13315
13477
  };
@@ -13348,6 +13510,7 @@ export declare const schemas: ({
13348
13510
  readonly rkey: {
13349
13511
  readonly type: "string";
13350
13512
  readonly description: "Record Key";
13513
+ readonly format: "record-key";
13351
13514
  };
13352
13515
  readonly commit: {
13353
13516
  readonly type: "string";
@@ -13390,6 +13553,7 @@ export declare const schemas: ({
13390
13553
  };
13391
13554
  readonly since: {
13392
13555
  readonly type: "string";
13556
+ readonly format: "tid";
13393
13557
  readonly description: "The revision ('rev') of the repo to create a diff from.";
13394
13558
  };
13395
13559
  };
@@ -13446,6 +13610,7 @@ export declare const schemas: ({
13446
13610
  };
13447
13611
  readonly rev: {
13448
13612
  readonly type: "string";
13613
+ readonly format: "tid";
13449
13614
  readonly description: "Optional field, the current rev of the repo, if active=true";
13450
13615
  };
13451
13616
  };
@@ -13474,6 +13639,7 @@ export declare const schemas: ({
13474
13639
  };
13475
13640
  readonly since: {
13476
13641
  readonly type: "string";
13642
+ readonly format: "tid";
13477
13643
  readonly description: "Optional revision of the repo to list blobs since.";
13478
13644
  };
13479
13645
  readonly limit: {
@@ -13573,6 +13739,7 @@ export declare const schemas: ({
13573
13739
  };
13574
13740
  readonly rev: {
13575
13741
  readonly type: "string";
13742
+ readonly format: "tid";
13576
13743
  };
13577
13744
  readonly active: {
13578
13745
  readonly type: "boolean";
@@ -13749,10 +13916,12 @@ export declare const schemas: ({
13749
13916
  };
13750
13917
  readonly rev: {
13751
13918
  readonly type: "string";
13919
+ readonly format: "tid";
13752
13920
  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.";
13753
13921
  };
13754
13922
  readonly since: {
13755
13923
  readonly type: "string";
13924
+ readonly format: "tid";
13756
13925
  readonly description: "The rev of the last emitted commit from this repo (if any).";
13757
13926
  };
13758
13927
  readonly blocks: {
@@ -19619,6 +19788,38 @@ export declare const schemas: ({
19619
19788
  };
19620
19789
  };
19621
19790
  };
19791
+ } | {
19792
+ readonly lexicon: 1;
19793
+ readonly id: "chat.bsky.convo.acceptConvo";
19794
+ readonly defs: {
19795
+ readonly main: {
19796
+ readonly type: "procedure";
19797
+ readonly input: {
19798
+ readonly encoding: "application/json";
19799
+ readonly schema: {
19800
+ readonly type: "object";
19801
+ readonly required: ["convoId"];
19802
+ readonly properties: {
19803
+ readonly convoId: {
19804
+ readonly type: "string";
19805
+ };
19806
+ };
19807
+ };
19808
+ };
19809
+ readonly output: {
19810
+ readonly encoding: "application/json";
19811
+ readonly schema: {
19812
+ readonly type: "object";
19813
+ readonly properties: {
19814
+ readonly rev: {
19815
+ readonly description: "Rev when the convo was accepted. If not present, the convo was already accepted.";
19816
+ readonly type: "string";
19817
+ };
19818
+ };
19819
+ };
19820
+ };
19821
+ };
19822
+ };
19622
19823
  } | {
19623
19824
  readonly lexicon: 1;
19624
19825
  readonly id: "chat.bsky.convo.defs";
@@ -19753,8 +19954,9 @@ export declare const schemas: ({
19753
19954
  readonly muted: {
19754
19955
  readonly type: "boolean";
19755
19956
  };
19756
- readonly opened: {
19757
- readonly type: "boolean";
19957
+ readonly status: {
19958
+ readonly type: "string";
19959
+ readonly knownValues: ["request", "accepted"];
19758
19960
  };
19759
19961
  readonly unreadCount: {
19760
19962
  readonly type: "integer";
@@ -19773,6 +19975,18 @@ export declare const schemas: ({
19773
19975
  };
19774
19976
  };
19775
19977
  };
19978
+ readonly logAcceptConvo: {
19979
+ readonly type: "object";
19980
+ readonly required: ["rev", "convoId"];
19981
+ readonly properties: {
19982
+ readonly rev: {
19983
+ readonly type: "string";
19984
+ };
19985
+ readonly convoId: {
19986
+ readonly type: "string";
19987
+ };
19988
+ };
19989
+ };
19776
19990
  readonly logLeaveConvo: {
19777
19991
  readonly type: "object";
19778
19992
  readonly required: ["rev", "convoId"];
@@ -19785,6 +19999,30 @@ export declare const schemas: ({
19785
19999
  };
19786
20000
  };
19787
20001
  };
20002
+ readonly logMuteConvo: {
20003
+ readonly type: "object";
20004
+ readonly required: ["rev", "convoId"];
20005
+ readonly properties: {
20006
+ readonly rev: {
20007
+ readonly type: "string";
20008
+ };
20009
+ readonly convoId: {
20010
+ readonly type: "string";
20011
+ };
20012
+ };
20013
+ };
20014
+ readonly logUnmuteConvo: {
20015
+ readonly type: "object";
20016
+ readonly required: ["rev", "convoId"];
20017
+ readonly properties: {
20018
+ readonly rev: {
20019
+ readonly type: "string";
20020
+ };
20021
+ readonly convoId: {
20022
+ readonly type: "string";
20023
+ };
20024
+ };
20025
+ };
19788
20026
  readonly logCreateMessage: {
19789
20027
  readonly type: "object";
19790
20028
  readonly required: ["rev", "convoId", "message"];
@@ -19817,6 +20055,22 @@ export declare const schemas: ({
19817
20055
  };
19818
20056
  };
19819
20057
  };
20058
+ readonly logReadMessage: {
20059
+ readonly type: "object";
20060
+ readonly required: ["rev", "convoId", "message"];
20061
+ readonly properties: {
20062
+ readonly rev: {
20063
+ readonly type: "string";
20064
+ };
20065
+ readonly convoId: {
20066
+ readonly type: "string";
20067
+ };
20068
+ readonly message: {
20069
+ readonly type: "union";
20070
+ readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
20071
+ };
20072
+ };
20073
+ };
19820
20074
  };
19821
20075
  } | {
19822
20076
  readonly lexicon: 1;
@@ -19878,6 +20132,46 @@ export declare const schemas: ({
19878
20132
  };
19879
20133
  };
19880
20134
  };
20135
+ } | {
20136
+ readonly lexicon: 1;
20137
+ readonly id: "chat.bsky.convo.getConvoAvailability";
20138
+ readonly defs: {
20139
+ readonly main: {
20140
+ readonly type: "query";
20141
+ readonly description: "Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.";
20142
+ readonly parameters: {
20143
+ readonly type: "params";
20144
+ readonly required: ["members"];
20145
+ readonly properties: {
20146
+ readonly members: {
20147
+ readonly type: "array";
20148
+ readonly minLength: 1;
20149
+ readonly maxLength: 10;
20150
+ readonly items: {
20151
+ readonly type: "string";
20152
+ readonly format: "did";
20153
+ };
20154
+ };
20155
+ };
20156
+ };
20157
+ readonly output: {
20158
+ readonly encoding: "application/json";
20159
+ readonly schema: {
20160
+ readonly type: "object";
20161
+ readonly required: ["canChat"];
20162
+ readonly properties: {
20163
+ readonly canChat: {
20164
+ readonly type: "boolean";
20165
+ };
20166
+ readonly convo: {
20167
+ readonly type: "ref";
20168
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
20169
+ };
20170
+ };
20171
+ };
20172
+ };
20173
+ };
20174
+ };
19881
20175
  } | {
19882
20176
  readonly lexicon: 1;
19883
20177
  readonly id: "chat.bsky.convo.getConvoForMembers";
@@ -19942,7 +20236,7 @@ export declare const schemas: ({
19942
20236
  readonly type: "array";
19943
20237
  readonly items: {
19944
20238
  readonly type: "union";
19945
- 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"];
20239
+ 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"];
19946
20240
  };
19947
20241
  };
19948
20242
  };
@@ -20048,6 +20342,14 @@ export declare const schemas: ({
20048
20342
  readonly cursor: {
20049
20343
  readonly type: "string";
20050
20344
  };
20345
+ readonly readState: {
20346
+ readonly type: "string";
20347
+ readonly knownValues: ["unread"];
20348
+ };
20349
+ readonly status: {
20350
+ readonly type: "string";
20351
+ readonly knownValues: ["request", "accepted"];
20352
+ };
20051
20353
  };
20052
20354
  };
20053
20355
  readonly output: {
@@ -20573,9 +20875,11 @@ export declare const ids: {
20573
20875
  readonly ChatBskyActorDefs: "chat.bsky.actor.defs";
20574
20876
  readonly ChatBskyActorDeleteAccount: "chat.bsky.actor.deleteAccount";
20575
20877
  readonly ChatBskyActorExportAccountData: "chat.bsky.actor.exportAccountData";
20878
+ readonly ChatBskyConvoAcceptConvo: "chat.bsky.convo.acceptConvo";
20576
20879
  readonly ChatBskyConvoDefs: "chat.bsky.convo.defs";
20577
20880
  readonly ChatBskyConvoDeleteMessageForSelf: "chat.bsky.convo.deleteMessageForSelf";
20578
20881
  readonly ChatBskyConvoGetConvo: "chat.bsky.convo.getConvo";
20882
+ readonly ChatBskyConvoGetConvoAvailability: "chat.bsky.convo.getConvoAvailability";
20579
20883
  readonly ChatBskyConvoGetConvoForMembers: "chat.bsky.convo.getConvoForMembers";
20580
20884
  readonly ChatBskyConvoGetLog: "chat.bsky.convo.getLog";
20581
20885
  readonly ChatBskyConvoGetMessages: "chat.bsky.convo.getMessages";