@atproto/api 0.20.41 → 0.20.44
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 +39 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +10 -3
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +31 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +40 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +196 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +100 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +9 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js +7 -0
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.d.ts +4 -0
- package/dist/client/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/referencelistoptout.d.ts +15 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.js +18 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.js.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.d.ts +23 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.js +14 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.js.map +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +7 -7
|
@@ -602,6 +602,11 @@ export declare const schemaDict: {
|
|
|
602
602
|
readonly type: 'object';
|
|
603
603
|
readonly required: ["tags"];
|
|
604
604
|
readonly properties: {
|
|
605
|
+
readonly updatedAt: {
|
|
606
|
+
readonly type: 'string';
|
|
607
|
+
readonly format: 'datetime';
|
|
608
|
+
readonly description: 'The timestamp when the account owner last updated their interests.';
|
|
609
|
+
};
|
|
605
610
|
readonly tags: {
|
|
606
611
|
readonly type: 'array';
|
|
607
612
|
readonly maxLength: 100;
|
|
@@ -3301,6 +3306,30 @@ export declare const schemaDict: {
|
|
|
3301
3306
|
readonly pinned: {
|
|
3302
3307
|
readonly type: 'boolean';
|
|
3303
3308
|
};
|
|
3309
|
+
readonly knownLikers: {
|
|
3310
|
+
readonly description: 'This property is present only in selected cases, as an optimization.';
|
|
3311
|
+
readonly type: 'ref';
|
|
3312
|
+
readonly ref: 'lex:app.bsky.feed.defs#knownLikers';
|
|
3313
|
+
};
|
|
3314
|
+
};
|
|
3315
|
+
};
|
|
3316
|
+
readonly knownLikers: {
|
|
3317
|
+
readonly type: 'object';
|
|
3318
|
+
readonly description: "The post's likers whom you also follow";
|
|
3319
|
+
readonly required: ["count", "actors"];
|
|
3320
|
+
readonly properties: {
|
|
3321
|
+
readonly count: {
|
|
3322
|
+
readonly type: 'integer';
|
|
3323
|
+
};
|
|
3324
|
+
readonly actors: {
|
|
3325
|
+
readonly type: 'array';
|
|
3326
|
+
readonly minLength: 0;
|
|
3327
|
+
readonly maxLength: 5;
|
|
3328
|
+
readonly items: {
|
|
3329
|
+
readonly type: 'ref';
|
|
3330
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
3331
|
+
};
|
|
3332
|
+
};
|
|
3304
3333
|
};
|
|
3305
3334
|
};
|
|
3306
3335
|
readonly threadContext: {
|
|
@@ -5401,6 +5430,11 @@ export declare const schemaDict: {
|
|
|
5401
5430
|
readonly type: 'ref';
|
|
5402
5431
|
readonly ref: 'lex:app.bsky.actor.defs#profileView';
|
|
5403
5432
|
};
|
|
5433
|
+
readonly subjectOptedOut: {
|
|
5434
|
+
readonly type: 'boolean';
|
|
5435
|
+
readonly const: true;
|
|
5436
|
+
readonly description: 'Set to true when the subject has opted out of appearing in the reference list. Only set when the viewer owns the list.';
|
|
5437
|
+
};
|
|
5404
5438
|
};
|
|
5405
5439
|
};
|
|
5406
5440
|
readonly starterPackView: {
|
|
@@ -5533,6 +5567,11 @@ export declare const schemaDict: {
|
|
|
5533
5567
|
readonly type: 'string';
|
|
5534
5568
|
readonly format: 'at-uri';
|
|
5535
5569
|
};
|
|
5570
|
+
readonly referenceListOptOut: {
|
|
5571
|
+
readonly type: 'string';
|
|
5572
|
+
readonly format: 'at-uri';
|
|
5573
|
+
readonly description: "The authenticated viewer's app.bsky.graph.referencelistoptout record URI for this reference list. Only set for reference lists. A client can delete this record to undo the opt-out.";
|
|
5574
|
+
};
|
|
5536
5575
|
};
|
|
5537
5576
|
};
|
|
5538
5577
|
readonly notFoundActor: {
|
|
@@ -6616,6 +6655,32 @@ export declare const schemaDict: {
|
|
|
6616
6655
|
};
|
|
6617
6656
|
};
|
|
6618
6657
|
};
|
|
6658
|
+
readonly AppBskyGraphReferencelistoptout: {
|
|
6659
|
+
readonly lexicon: 1;
|
|
6660
|
+
readonly id: 'app.bsky.graph.referencelistoptout';
|
|
6661
|
+
readonly defs: {
|
|
6662
|
+
readonly main: {
|
|
6663
|
+
readonly type: 'record';
|
|
6664
|
+
readonly description: "Record requesting that its author be omitted from the public presentation of a reference list. This record is only enforced when the subject list's current purpose is app.bsky.graph.defs#referencelist. AppView indexes at most one record per actor and list pair, and ignores duplicate records.";
|
|
6665
|
+
readonly key: 'tid';
|
|
6666
|
+
readonly record: {
|
|
6667
|
+
readonly type: 'object';
|
|
6668
|
+
readonly required: ["subject", "createdAt"];
|
|
6669
|
+
readonly properties: {
|
|
6670
|
+
readonly subject: {
|
|
6671
|
+
readonly type: 'string';
|
|
6672
|
+
readonly format: 'at-uri';
|
|
6673
|
+
readonly description: 'Canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.';
|
|
6674
|
+
};
|
|
6675
|
+
readonly createdAt: {
|
|
6676
|
+
readonly type: 'string';
|
|
6677
|
+
readonly format: 'datetime';
|
|
6678
|
+
};
|
|
6679
|
+
};
|
|
6680
|
+
};
|
|
6681
|
+
};
|
|
6682
|
+
};
|
|
6683
|
+
};
|
|
6619
6684
|
readonly AppBskyGraphSearchStarterPacks: {
|
|
6620
6685
|
readonly lexicon: 1;
|
|
6621
6686
|
readonly id: 'app.bsky.graph.searchStarterPacks';
|
|
@@ -20438,6 +20503,39 @@ export declare const schemaDict: {
|
|
|
20438
20503
|
};
|
|
20439
20504
|
};
|
|
20440
20505
|
};
|
|
20506
|
+
readonly ToolsOzoneModerationGetAccountPreferences: {
|
|
20507
|
+
readonly lexicon: 1;
|
|
20508
|
+
readonly id: 'tools.ozone.moderation.getAccountPreferences';
|
|
20509
|
+
readonly defs: {
|
|
20510
|
+
readonly main: {
|
|
20511
|
+
readonly type: 'query';
|
|
20512
|
+
readonly description: 'Get private preferences for an account. Requires moderator or admin auth.';
|
|
20513
|
+
readonly parameters: {
|
|
20514
|
+
readonly type: 'params';
|
|
20515
|
+
readonly required: ["did"];
|
|
20516
|
+
readonly properties: {
|
|
20517
|
+
readonly did: {
|
|
20518
|
+
readonly type: 'string';
|
|
20519
|
+
readonly format: 'did';
|
|
20520
|
+
};
|
|
20521
|
+
};
|
|
20522
|
+
};
|
|
20523
|
+
readonly output: {
|
|
20524
|
+
readonly encoding: 'application/json';
|
|
20525
|
+
readonly schema: {
|
|
20526
|
+
readonly type: 'object';
|
|
20527
|
+
readonly required: ["preferences"];
|
|
20528
|
+
readonly properties: {
|
|
20529
|
+
readonly preferences: {
|
|
20530
|
+
readonly type: 'ref';
|
|
20531
|
+
readonly ref: 'lex:app.bsky.actor.defs#preferences';
|
|
20532
|
+
};
|
|
20533
|
+
};
|
|
20534
|
+
};
|
|
20535
|
+
};
|
|
20536
|
+
};
|
|
20537
|
+
};
|
|
20538
|
+
};
|
|
20441
20539
|
readonly ToolsOzoneModerationGetAccountTimeline: {
|
|
20442
20540
|
readonly lexicon: 1;
|
|
20443
20541
|
readonly id: 'tools.ozone.moderation.getAccountTimeline';
|
|
@@ -25564,6 +25662,11 @@ export declare const schemas: ({
|
|
|
25564
25662
|
readonly type: 'object';
|
|
25565
25663
|
readonly required: ["tags"];
|
|
25566
25664
|
readonly properties: {
|
|
25665
|
+
readonly updatedAt: {
|
|
25666
|
+
readonly type: 'string';
|
|
25667
|
+
readonly format: 'datetime';
|
|
25668
|
+
readonly description: 'The timestamp when the account owner last updated their interests.';
|
|
25669
|
+
};
|
|
25567
25670
|
readonly tags: {
|
|
25568
25671
|
readonly type: 'array';
|
|
25569
25672
|
readonly maxLength: 100;
|
|
@@ -28223,6 +28326,30 @@ export declare const schemas: ({
|
|
|
28223
28326
|
readonly pinned: {
|
|
28224
28327
|
readonly type: 'boolean';
|
|
28225
28328
|
};
|
|
28329
|
+
readonly knownLikers: {
|
|
28330
|
+
readonly description: 'This property is present only in selected cases, as an optimization.';
|
|
28331
|
+
readonly type: 'ref';
|
|
28332
|
+
readonly ref: 'lex:app.bsky.feed.defs#knownLikers';
|
|
28333
|
+
};
|
|
28334
|
+
};
|
|
28335
|
+
};
|
|
28336
|
+
readonly knownLikers: {
|
|
28337
|
+
readonly type: 'object';
|
|
28338
|
+
readonly description: "The post's likers whom you also follow";
|
|
28339
|
+
readonly required: ["count", "actors"];
|
|
28340
|
+
readonly properties: {
|
|
28341
|
+
readonly count: {
|
|
28342
|
+
readonly type: 'integer';
|
|
28343
|
+
};
|
|
28344
|
+
readonly actors: {
|
|
28345
|
+
readonly type: 'array';
|
|
28346
|
+
readonly minLength: 0;
|
|
28347
|
+
readonly maxLength: 5;
|
|
28348
|
+
readonly items: {
|
|
28349
|
+
readonly type: 'ref';
|
|
28350
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
28351
|
+
};
|
|
28352
|
+
};
|
|
28226
28353
|
};
|
|
28227
28354
|
};
|
|
28228
28355
|
readonly threadContext: {
|
|
@@ -30296,6 +30423,11 @@ export declare const schemas: ({
|
|
|
30296
30423
|
readonly type: 'ref';
|
|
30297
30424
|
readonly ref: 'lex:app.bsky.actor.defs#profileView';
|
|
30298
30425
|
};
|
|
30426
|
+
readonly subjectOptedOut: {
|
|
30427
|
+
readonly type: 'boolean';
|
|
30428
|
+
readonly const: true;
|
|
30429
|
+
readonly description: 'Set to true when the subject has opted out of appearing in the reference list. Only set when the viewer owns the list.';
|
|
30430
|
+
};
|
|
30299
30431
|
};
|
|
30300
30432
|
};
|
|
30301
30433
|
readonly starterPackView: {
|
|
@@ -30428,6 +30560,11 @@ export declare const schemas: ({
|
|
|
30428
30560
|
readonly type: 'string';
|
|
30429
30561
|
readonly format: 'at-uri';
|
|
30430
30562
|
};
|
|
30563
|
+
readonly referenceListOptOut: {
|
|
30564
|
+
readonly type: 'string';
|
|
30565
|
+
readonly format: 'at-uri';
|
|
30566
|
+
readonly description: "The authenticated viewer's app.bsky.graph.referencelistoptout record URI for this reference list. Only set for reference lists. A client can delete this record to undo the opt-out.";
|
|
30567
|
+
};
|
|
30431
30568
|
};
|
|
30432
30569
|
};
|
|
30433
30570
|
readonly notFoundActor: {
|
|
@@ -31487,6 +31624,31 @@ export declare const schemas: ({
|
|
|
31487
31624
|
};
|
|
31488
31625
|
};
|
|
31489
31626
|
};
|
|
31627
|
+
} | {
|
|
31628
|
+
readonly lexicon: 1;
|
|
31629
|
+
readonly id: 'app.bsky.graph.referencelistoptout';
|
|
31630
|
+
readonly defs: {
|
|
31631
|
+
readonly main: {
|
|
31632
|
+
readonly type: 'record';
|
|
31633
|
+
readonly description: "Record requesting that its author be omitted from the public presentation of a reference list. This record is only enforced when the subject list's current purpose is app.bsky.graph.defs#referencelist. AppView indexes at most one record per actor and list pair, and ignores duplicate records.";
|
|
31634
|
+
readonly key: 'tid';
|
|
31635
|
+
readonly record: {
|
|
31636
|
+
readonly type: 'object';
|
|
31637
|
+
readonly required: ["subject", "createdAt"];
|
|
31638
|
+
readonly properties: {
|
|
31639
|
+
readonly subject: {
|
|
31640
|
+
readonly type: 'string';
|
|
31641
|
+
readonly format: 'at-uri';
|
|
31642
|
+
readonly description: 'Canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.';
|
|
31643
|
+
};
|
|
31644
|
+
readonly createdAt: {
|
|
31645
|
+
readonly type: 'string';
|
|
31646
|
+
readonly format: 'datetime';
|
|
31647
|
+
};
|
|
31648
|
+
};
|
|
31649
|
+
};
|
|
31650
|
+
};
|
|
31651
|
+
};
|
|
31490
31652
|
} | {
|
|
31491
31653
|
readonly lexicon: 1;
|
|
31492
31654
|
readonly id: 'app.bsky.graph.searchStarterPacks';
|
|
@@ -45084,6 +45246,38 @@ export declare const schemas: ({
|
|
|
45084
45246
|
};
|
|
45085
45247
|
};
|
|
45086
45248
|
};
|
|
45249
|
+
} | {
|
|
45250
|
+
readonly lexicon: 1;
|
|
45251
|
+
readonly id: 'tools.ozone.moderation.getAccountPreferences';
|
|
45252
|
+
readonly defs: {
|
|
45253
|
+
readonly main: {
|
|
45254
|
+
readonly type: 'query';
|
|
45255
|
+
readonly description: 'Get private preferences for an account. Requires moderator or admin auth.';
|
|
45256
|
+
readonly parameters: {
|
|
45257
|
+
readonly type: 'params';
|
|
45258
|
+
readonly required: ["did"];
|
|
45259
|
+
readonly properties: {
|
|
45260
|
+
readonly did: {
|
|
45261
|
+
readonly type: 'string';
|
|
45262
|
+
readonly format: 'did';
|
|
45263
|
+
};
|
|
45264
|
+
};
|
|
45265
|
+
};
|
|
45266
|
+
readonly output: {
|
|
45267
|
+
readonly encoding: 'application/json';
|
|
45268
|
+
readonly schema: {
|
|
45269
|
+
readonly type: 'object';
|
|
45270
|
+
readonly required: ["preferences"];
|
|
45271
|
+
readonly properties: {
|
|
45272
|
+
readonly preferences: {
|
|
45273
|
+
readonly type: 'ref';
|
|
45274
|
+
readonly ref: 'lex:app.bsky.actor.defs#preferences';
|
|
45275
|
+
};
|
|
45276
|
+
};
|
|
45277
|
+
};
|
|
45278
|
+
};
|
|
45279
|
+
};
|
|
45280
|
+
};
|
|
45087
45281
|
} | {
|
|
45088
45282
|
readonly lexicon: 1;
|
|
45089
45283
|
readonly id: 'tools.ozone.moderation.getAccountTimeline';
|
|
@@ -49644,6 +49838,7 @@ export declare const ids: {
|
|
|
49644
49838
|
readonly AppBskyGraphMuteActor: 'app.bsky.graph.muteActor';
|
|
49645
49839
|
readonly AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList';
|
|
49646
49840
|
readonly AppBskyGraphMuteThread: 'app.bsky.graph.muteThread';
|
|
49841
|
+
readonly AppBskyGraphReferencelistoptout: 'app.bsky.graph.referencelistoptout';
|
|
49647
49842
|
readonly AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks';
|
|
49648
49843
|
readonly AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2';
|
|
49649
49844
|
readonly AppBskyGraphStarterpack: 'app.bsky.graph.starterpack';
|
|
@@ -49869,6 +50064,7 @@ export declare const ids: {
|
|
|
49869
50064
|
readonly ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions';
|
|
49870
50065
|
readonly ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs';
|
|
49871
50066
|
readonly ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent';
|
|
50067
|
+
readonly ToolsOzoneModerationGetAccountPreferences: 'tools.ozone.moderation.getAccountPreferences';
|
|
49872
50068
|
readonly ToolsOzoneModerationGetAccountTimeline: 'tools.ozone.moderation.getAccountTimeline';
|
|
49873
50069
|
readonly ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent';
|
|
49874
50070
|
readonly ToolsOzoneModerationGetRecord: 'tools.ozone.moderation.getRecord';
|