@atproto/api 0.20.36 → 0.20.38
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 +30 -2
- package/dist/agent.d.ts +4 -1
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +6 -2
- package/dist/agent.js.map +1 -1
- package/dist/atp-agent.d.ts.map +1 -1
- package/dist/atp-agent.js.map +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +118 -10
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +62 -5
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +5 -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/ageassurance/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/ageassurance/defs.js.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.d.ts +4 -0
- package/dist/client/types/app/bsky/graph/muteActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +5 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +1 -0
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/client/types/com/atproto/sync/defs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/defs.js.map +1 -1
- package/dist/client/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts +5 -0
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.js +7 -0
- package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +2 -0
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts +6 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.js +9 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/report/queryReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/queryReports.js.map +1 -1
- package/dist/moderation/types.d.ts.map +1 -1
- package/dist/moderation/types.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +8 -8
|
@@ -294,6 +294,15 @@ export declare const schemaDict: {
|
|
|
294
294
|
readonly properties: {
|
|
295
295
|
readonly muted: {
|
|
296
296
|
readonly type: 'boolean';
|
|
297
|
+
readonly description: 'Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.';
|
|
298
|
+
};
|
|
299
|
+
readonly mutedOnlyReposts: {
|
|
300
|
+
readonly type: 'boolean';
|
|
301
|
+
readonly description: "Whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.";
|
|
302
|
+
};
|
|
303
|
+
readonly mutedOnlyQuoteposts: {
|
|
304
|
+
readonly type: 'boolean';
|
|
305
|
+
readonly description: "Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.";
|
|
297
306
|
};
|
|
298
307
|
readonly mutedByList: {
|
|
299
308
|
readonly type: 'ref';
|
|
@@ -6125,7 +6134,7 @@ export declare const schemaDict: {
|
|
|
6125
6134
|
readonly defs: {
|
|
6126
6135
|
readonly main: {
|
|
6127
6136
|
readonly type: 'query';
|
|
6128
|
-
readonly description: 'Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.';
|
|
6137
|
+
readonly description: 'Enumerates accounts that the requesting account (actor) currently has fully muted. Mutes scoped to specific kinds of content (only reposts, only quote posts) are not included. Responses may contain more items than the requested limit. Requires auth.';
|
|
6129
6138
|
readonly parameters: {
|
|
6130
6139
|
readonly type: 'params';
|
|
6131
6140
|
readonly properties: {
|
|
@@ -6519,7 +6528,7 @@ export declare const schemaDict: {
|
|
|
6519
6528
|
readonly defs: {
|
|
6520
6529
|
readonly main: {
|
|
6521
6530
|
readonly type: 'procedure';
|
|
6522
|
-
readonly description: 'Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.';
|
|
6531
|
+
readonly description: 'Creates a mute relationship for the specified account. If a mute already exists for the account, it is updated in place: the stored scope is replaced with the scope in this request. Mutes are private in Bluesky. Requires auth.';
|
|
6523
6532
|
readonly input: {
|
|
6524
6533
|
readonly encoding: 'application/json';
|
|
6525
6534
|
readonly schema: {
|
|
@@ -6530,6 +6539,14 @@ export declare const schemaDict: {
|
|
|
6530
6539
|
readonly type: 'string';
|
|
6531
6540
|
readonly format: 'at-identifier';
|
|
6532
6541
|
};
|
|
6542
|
+
readonly onlyReposts: {
|
|
6543
|
+
readonly type: 'boolean';
|
|
6544
|
+
readonly description: "Restrict the mute to the account's reposts. When any 'only' scope is set, just the scoped content is muted; when none are set, the account is fully muted. Repeat calls replace the stored scope rather than adding to it.";
|
|
6545
|
+
};
|
|
6546
|
+
readonly onlyQuoteposts: {
|
|
6547
|
+
readonly type: 'boolean';
|
|
6548
|
+
readonly description: "Restrict the mute to the account's quote posts. See onlyReposts.";
|
|
6549
|
+
};
|
|
6533
6550
|
};
|
|
6534
6551
|
};
|
|
6535
6552
|
};
|
|
@@ -7927,7 +7944,15 @@ export declare const schemaDict: {
|
|
|
7927
7944
|
};
|
|
7928
7945
|
readonly opThread: {
|
|
7929
7946
|
readonly type: 'boolean';
|
|
7930
|
-
readonly description: 'This post is part of a contiguous thread by the OP from the thread root.
|
|
7947
|
+
readonly description: 'This post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.';
|
|
7948
|
+
};
|
|
7949
|
+
readonly opThreadPostIndex: {
|
|
7950
|
+
readonly type: 'integer';
|
|
7951
|
+
readonly description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see `opThread`).';
|
|
7952
|
+
};
|
|
7953
|
+
readonly opThreadPostCount: {
|
|
7954
|
+
readonly type: 'integer';
|
|
7955
|
+
readonly description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see `opThread`).';
|
|
7931
7956
|
};
|
|
7932
7957
|
readonly hiddenByThreadgate: {
|
|
7933
7958
|
readonly type: 'boolean';
|
|
@@ -12050,7 +12075,8 @@ export declare const schemaDict: {
|
|
|
12050
12075
|
readonly properties: {
|
|
12051
12076
|
readonly members: {
|
|
12052
12077
|
readonly type: 'array';
|
|
12053
|
-
readonly
|
|
12078
|
+
readonly description: "The members to add to the group. The owner is automatically added. Implementations may enforce a lower maximum than the 10,000-item schema limit; Bluesky currently supports up to 100 total members. If the owner is included in this list, the list may contain up to the implementation's total member limit. Otherwise, it may contain one fewer.";
|
|
12079
|
+
readonly maxLength: 10000;
|
|
12054
12080
|
readonly items: {
|
|
12055
12081
|
readonly type: 'string';
|
|
12056
12082
|
readonly format: 'did';
|
|
@@ -21087,6 +21113,13 @@ export declare const schemaDict: {
|
|
|
21087
21113
|
readonly type: 'string';
|
|
21088
21114
|
readonly description: 'Optional description of the queue';
|
|
21089
21115
|
};
|
|
21116
|
+
readonly recommendedPolicies: {
|
|
21117
|
+
readonly type: 'array';
|
|
21118
|
+
readonly items: {
|
|
21119
|
+
readonly type: 'string';
|
|
21120
|
+
};
|
|
21121
|
+
readonly description: 'Policy keys to recommend when actioning reports in this queue';
|
|
21122
|
+
};
|
|
21090
21123
|
};
|
|
21091
21124
|
};
|
|
21092
21125
|
};
|
|
@@ -21104,6 +21137,9 @@ export declare const schemaDict: {
|
|
|
21104
21137
|
};
|
|
21105
21138
|
};
|
|
21106
21139
|
readonly errors: [{
|
|
21140
|
+
readonly name: 'InvalidRecommendedPolicies';
|
|
21141
|
+
readonly description: 'One or more recommended policy keys do not exist in the configured policy list';
|
|
21142
|
+
}, {
|
|
21107
21143
|
readonly name: 'ConflictingQueue';
|
|
21108
21144
|
readonly description: 'The queue configuration conflicts with an existing queue';
|
|
21109
21145
|
}];
|
|
@@ -21150,6 +21186,13 @@ export declare const schemaDict: {
|
|
|
21150
21186
|
readonly type: 'string';
|
|
21151
21187
|
readonly description: 'Optional description of the queue';
|
|
21152
21188
|
};
|
|
21189
|
+
readonly recommendedPolicies: {
|
|
21190
|
+
readonly type: 'array';
|
|
21191
|
+
readonly items: {
|
|
21192
|
+
readonly type: 'string';
|
|
21193
|
+
};
|
|
21194
|
+
readonly description: 'Policy keys recommended when actioning reports in this queue';
|
|
21195
|
+
};
|
|
21153
21196
|
readonly createdBy: {
|
|
21154
21197
|
readonly type: 'string';
|
|
21155
21198
|
readonly format: 'did';
|
|
@@ -21501,7 +21544,7 @@ export declare const schemaDict: {
|
|
|
21501
21544
|
readonly defs: {
|
|
21502
21545
|
readonly main: {
|
|
21503
21546
|
readonly type: 'procedure';
|
|
21504
|
-
readonly description: 'Update queue properties.
|
|
21547
|
+
readonly description: 'Update queue properties.';
|
|
21505
21548
|
readonly input: {
|
|
21506
21549
|
readonly encoding: 'application/json';
|
|
21507
21550
|
readonly schema: {
|
|
@@ -21524,6 +21567,13 @@ export declare const schemaDict: {
|
|
|
21524
21567
|
readonly type: 'string';
|
|
21525
21568
|
readonly description: 'Optional description of the queue';
|
|
21526
21569
|
};
|
|
21570
|
+
readonly recommendedPolicies: {
|
|
21571
|
+
readonly type: 'array';
|
|
21572
|
+
readonly items: {
|
|
21573
|
+
readonly type: 'string';
|
|
21574
|
+
};
|
|
21575
|
+
readonly description: 'Policy keys to recommend when actioning reports in this queue';
|
|
21576
|
+
};
|
|
21527
21577
|
};
|
|
21528
21578
|
};
|
|
21529
21579
|
};
|
|
@@ -21540,6 +21590,10 @@ export declare const schemaDict: {
|
|
|
21540
21590
|
};
|
|
21541
21591
|
};
|
|
21542
21592
|
};
|
|
21593
|
+
readonly errors: [{
|
|
21594
|
+
readonly name: 'InvalidRecommendedPolicies';
|
|
21595
|
+
readonly description: 'One or more recommended policy keys do not exist in the configured policy list';
|
|
21596
|
+
}];
|
|
21543
21597
|
};
|
|
21544
21598
|
};
|
|
21545
21599
|
};
|
|
@@ -24817,6 +24871,15 @@ export declare const schemas: ({
|
|
|
24817
24871
|
readonly properties: {
|
|
24818
24872
|
readonly muted: {
|
|
24819
24873
|
readonly type: 'boolean';
|
|
24874
|
+
readonly description: 'Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.';
|
|
24875
|
+
};
|
|
24876
|
+
readonly mutedOnlyReposts: {
|
|
24877
|
+
readonly type: 'boolean';
|
|
24878
|
+
readonly description: "Whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.";
|
|
24879
|
+
};
|
|
24880
|
+
readonly mutedOnlyQuoteposts: {
|
|
24881
|
+
readonly type: 'boolean';
|
|
24882
|
+
readonly description: "Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.";
|
|
24820
24883
|
};
|
|
24821
24884
|
readonly mutedByList: {
|
|
24822
24885
|
readonly type: 'ref';
|
|
@@ -30569,7 +30632,7 @@ export declare const schemas: ({
|
|
|
30569
30632
|
readonly defs: {
|
|
30570
30633
|
readonly main: {
|
|
30571
30634
|
readonly type: 'query';
|
|
30572
|
-
readonly description: 'Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.';
|
|
30635
|
+
readonly description: 'Enumerates accounts that the requesting account (actor) currently has fully muted. Mutes scoped to specific kinds of content (only reposts, only quote posts) are not included. Responses may contain more items than the requested limit. Requires auth.';
|
|
30573
30636
|
readonly parameters: {
|
|
30574
30637
|
readonly type: 'params';
|
|
30575
30638
|
readonly properties: {
|
|
@@ -30954,7 +31017,7 @@ export declare const schemas: ({
|
|
|
30954
31017
|
readonly defs: {
|
|
30955
31018
|
readonly main: {
|
|
30956
31019
|
readonly type: 'procedure';
|
|
30957
|
-
readonly description: 'Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.';
|
|
31020
|
+
readonly description: 'Creates a mute relationship for the specified account. If a mute already exists for the account, it is updated in place: the stored scope is replaced with the scope in this request. Mutes are private in Bluesky. Requires auth.';
|
|
30958
31021
|
readonly input: {
|
|
30959
31022
|
readonly encoding: 'application/json';
|
|
30960
31023
|
readonly schema: {
|
|
@@ -30965,6 +31028,14 @@ export declare const schemas: ({
|
|
|
30965
31028
|
readonly type: 'string';
|
|
30966
31029
|
readonly format: 'at-identifier';
|
|
30967
31030
|
};
|
|
31031
|
+
readonly onlyReposts: {
|
|
31032
|
+
readonly type: 'boolean';
|
|
31033
|
+
readonly description: "Restrict the mute to the account's reposts. When any 'only' scope is set, just the scoped content is muted; when none are set, the account is fully muted. Repeat calls replace the stored scope rather than adding to it.";
|
|
31034
|
+
};
|
|
31035
|
+
readonly onlyQuoteposts: {
|
|
31036
|
+
readonly type: 'boolean';
|
|
31037
|
+
readonly description: "Restrict the mute to the account's quote posts. See onlyReposts.";
|
|
31038
|
+
};
|
|
30968
31039
|
};
|
|
30969
31040
|
};
|
|
30970
31041
|
};
|
|
@@ -32336,7 +32407,15 @@ export declare const schemas: ({
|
|
|
32336
32407
|
};
|
|
32337
32408
|
readonly opThread: {
|
|
32338
32409
|
readonly type: 'boolean';
|
|
32339
|
-
readonly description: 'This post is part of a contiguous thread by the OP from the thread root.
|
|
32410
|
+
readonly description: 'This post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.';
|
|
32411
|
+
};
|
|
32412
|
+
readonly opThreadPostIndex: {
|
|
32413
|
+
readonly type: 'integer';
|
|
32414
|
+
readonly description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see `opThread`).';
|
|
32415
|
+
};
|
|
32416
|
+
readonly opThreadPostCount: {
|
|
32417
|
+
readonly type: 'integer';
|
|
32418
|
+
readonly description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see `opThread`).';
|
|
32340
32419
|
};
|
|
32341
32420
|
readonly hiddenByThreadgate: {
|
|
32342
32421
|
readonly type: 'boolean';
|
|
@@ -36393,7 +36472,8 @@ export declare const schemas: ({
|
|
|
36393
36472
|
readonly properties: {
|
|
36394
36473
|
readonly members: {
|
|
36395
36474
|
readonly type: 'array';
|
|
36396
|
-
readonly
|
|
36475
|
+
readonly description: "The members to add to the group. The owner is automatically added. Implementations may enforce a lower maximum than the 10,000-item schema limit; Bluesky currently supports up to 100 total members. If the owner is included in this list, the list may contain up to the implementation's total member limit. Otherwise, it may contain one fewer.";
|
|
36476
|
+
readonly maxLength: 10000;
|
|
36397
36477
|
readonly items: {
|
|
36398
36478
|
readonly type: 'string';
|
|
36399
36479
|
readonly format: 'did';
|
|
@@ -45285,6 +45365,13 @@ export declare const schemas: ({
|
|
|
45285
45365
|
readonly type: 'string';
|
|
45286
45366
|
readonly description: 'Optional description of the queue';
|
|
45287
45367
|
};
|
|
45368
|
+
readonly recommendedPolicies: {
|
|
45369
|
+
readonly type: 'array';
|
|
45370
|
+
readonly items: {
|
|
45371
|
+
readonly type: 'string';
|
|
45372
|
+
};
|
|
45373
|
+
readonly description: 'Policy keys to recommend when actioning reports in this queue';
|
|
45374
|
+
};
|
|
45288
45375
|
};
|
|
45289
45376
|
};
|
|
45290
45377
|
};
|
|
@@ -45302,6 +45389,9 @@ export declare const schemas: ({
|
|
|
45302
45389
|
};
|
|
45303
45390
|
};
|
|
45304
45391
|
readonly errors: [{
|
|
45392
|
+
readonly name: 'InvalidRecommendedPolicies';
|
|
45393
|
+
readonly description: 'One or more recommended policy keys do not exist in the configured policy list';
|
|
45394
|
+
}, {
|
|
45305
45395
|
readonly name: 'ConflictingQueue';
|
|
45306
45396
|
readonly description: 'The queue configuration conflicts with an existing queue';
|
|
45307
45397
|
}];
|
|
@@ -45347,6 +45437,13 @@ export declare const schemas: ({
|
|
|
45347
45437
|
readonly type: 'string';
|
|
45348
45438
|
readonly description: 'Optional description of the queue';
|
|
45349
45439
|
};
|
|
45440
|
+
readonly recommendedPolicies: {
|
|
45441
|
+
readonly type: 'array';
|
|
45442
|
+
readonly items: {
|
|
45443
|
+
readonly type: 'string';
|
|
45444
|
+
};
|
|
45445
|
+
readonly description: 'Policy keys recommended when actioning reports in this queue';
|
|
45446
|
+
};
|
|
45350
45447
|
readonly createdBy: {
|
|
45351
45448
|
readonly type: 'string';
|
|
45352
45449
|
readonly format: 'did';
|
|
@@ -45692,7 +45789,7 @@ export declare const schemas: ({
|
|
|
45692
45789
|
readonly defs: {
|
|
45693
45790
|
readonly main: {
|
|
45694
45791
|
readonly type: 'procedure';
|
|
45695
|
-
readonly description: 'Update queue properties.
|
|
45792
|
+
readonly description: 'Update queue properties.';
|
|
45696
45793
|
readonly input: {
|
|
45697
45794
|
readonly encoding: 'application/json';
|
|
45698
45795
|
readonly schema: {
|
|
@@ -45715,6 +45812,13 @@ export declare const schemas: ({
|
|
|
45715
45812
|
readonly type: 'string';
|
|
45716
45813
|
readonly description: 'Optional description of the queue';
|
|
45717
45814
|
};
|
|
45815
|
+
readonly recommendedPolicies: {
|
|
45816
|
+
readonly type: 'array';
|
|
45817
|
+
readonly items: {
|
|
45818
|
+
readonly type: 'string';
|
|
45819
|
+
};
|
|
45820
|
+
readonly description: 'Policy keys to recommend when actioning reports in this queue';
|
|
45821
|
+
};
|
|
45718
45822
|
};
|
|
45719
45823
|
};
|
|
45720
45824
|
};
|
|
@@ -45731,6 +45835,10 @@ export declare const schemas: ({
|
|
|
45731
45835
|
};
|
|
45732
45836
|
};
|
|
45733
45837
|
};
|
|
45838
|
+
readonly errors: [{
|
|
45839
|
+
readonly name: 'InvalidRecommendedPolicies';
|
|
45840
|
+
readonly description: 'One or more recommended policy keys do not exist in the configured policy list';
|
|
45841
|
+
}];
|
|
45734
45842
|
};
|
|
45735
45843
|
};
|
|
45736
45844
|
} | {
|