@atproto/api 0.20.42 → 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 +27 -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 +148 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +76 -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/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;
|
|
@@ -5425,6 +5430,11 @@ export declare const schemaDict: {
|
|
|
5425
5430
|
readonly type: 'ref';
|
|
5426
5431
|
readonly ref: 'lex:app.bsky.actor.defs#profileView';
|
|
5427
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
|
+
};
|
|
5428
5438
|
};
|
|
5429
5439
|
};
|
|
5430
5440
|
readonly starterPackView: {
|
|
@@ -5557,6 +5567,11 @@ export declare const schemaDict: {
|
|
|
5557
5567
|
readonly type: 'string';
|
|
5558
5568
|
readonly format: 'at-uri';
|
|
5559
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
|
+
};
|
|
5560
5575
|
};
|
|
5561
5576
|
};
|
|
5562
5577
|
readonly notFoundActor: {
|
|
@@ -6640,6 +6655,32 @@ export declare const schemaDict: {
|
|
|
6640
6655
|
};
|
|
6641
6656
|
};
|
|
6642
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
|
+
};
|
|
6643
6684
|
readonly AppBskyGraphSearchStarterPacks: {
|
|
6644
6685
|
readonly lexicon: 1;
|
|
6645
6686
|
readonly id: 'app.bsky.graph.searchStarterPacks';
|
|
@@ -20462,6 +20503,39 @@ export declare const schemaDict: {
|
|
|
20462
20503
|
};
|
|
20463
20504
|
};
|
|
20464
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
|
+
};
|
|
20465
20539
|
readonly ToolsOzoneModerationGetAccountTimeline: {
|
|
20466
20540
|
readonly lexicon: 1;
|
|
20467
20541
|
readonly id: 'tools.ozone.moderation.getAccountTimeline';
|
|
@@ -25588,6 +25662,11 @@ export declare const schemas: ({
|
|
|
25588
25662
|
readonly type: 'object';
|
|
25589
25663
|
readonly required: ["tags"];
|
|
25590
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
|
+
};
|
|
25591
25670
|
readonly tags: {
|
|
25592
25671
|
readonly type: 'array';
|
|
25593
25672
|
readonly maxLength: 100;
|
|
@@ -30344,6 +30423,11 @@ export declare const schemas: ({
|
|
|
30344
30423
|
readonly type: 'ref';
|
|
30345
30424
|
readonly ref: 'lex:app.bsky.actor.defs#profileView';
|
|
30346
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
|
+
};
|
|
30347
30431
|
};
|
|
30348
30432
|
};
|
|
30349
30433
|
readonly starterPackView: {
|
|
@@ -30476,6 +30560,11 @@ export declare const schemas: ({
|
|
|
30476
30560
|
readonly type: 'string';
|
|
30477
30561
|
readonly format: 'at-uri';
|
|
30478
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
|
+
};
|
|
30479
30568
|
};
|
|
30480
30569
|
};
|
|
30481
30570
|
readonly notFoundActor: {
|
|
@@ -31535,6 +31624,31 @@ export declare const schemas: ({
|
|
|
31535
31624
|
};
|
|
31536
31625
|
};
|
|
31537
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
|
+
};
|
|
31538
31652
|
} | {
|
|
31539
31653
|
readonly lexicon: 1;
|
|
31540
31654
|
readonly id: 'app.bsky.graph.searchStarterPacks';
|
|
@@ -45132,6 +45246,38 @@ export declare const schemas: ({
|
|
|
45132
45246
|
};
|
|
45133
45247
|
};
|
|
45134
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
|
+
};
|
|
45135
45281
|
} | {
|
|
45136
45282
|
readonly lexicon: 1;
|
|
45137
45283
|
readonly id: 'tools.ozone.moderation.getAccountTimeline';
|
|
@@ -49692,6 +49838,7 @@ export declare const ids: {
|
|
|
49692
49838
|
readonly AppBskyGraphMuteActor: 'app.bsky.graph.muteActor';
|
|
49693
49839
|
readonly AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList';
|
|
49694
49840
|
readonly AppBskyGraphMuteThread: 'app.bsky.graph.muteThread';
|
|
49841
|
+
readonly AppBskyGraphReferencelistoptout: 'app.bsky.graph.referencelistoptout';
|
|
49695
49842
|
readonly AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks';
|
|
49696
49843
|
readonly AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2';
|
|
49697
49844
|
readonly AppBskyGraphStarterpack: 'app.bsky.graph.starterpack';
|
|
@@ -49917,6 +50064,7 @@ export declare const ids: {
|
|
|
49917
50064
|
readonly ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions';
|
|
49918
50065
|
readonly ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs';
|
|
49919
50066
|
readonly ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent';
|
|
50067
|
+
readonly ToolsOzoneModerationGetAccountPreferences: 'tools.ozone.moderation.getAccountPreferences';
|
|
49920
50068
|
readonly ToolsOzoneModerationGetAccountTimeline: 'tools.ozone.moderation.getAccountTimeline';
|
|
49921
50069
|
readonly ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent';
|
|
49922
50070
|
readonly ToolsOzoneModerationGetRecord: 'tools.ozone.moderation.getRecord';
|