@atproto/api 0.20.28 → 0.20.30

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 (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +5 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +130 -24
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +65 -13
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.d.ts +29 -0
  11. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.d.ts.map +1 -0
  12. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.js +14 -0
  13. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.js.map +1 -0
  14. package/dist/client/types/tools/ozone/queue/createQueue.d.ts +2 -2
  15. package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
  16. package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
  17. package/dist/client/types/tools/ozone/queue/defs.d.ts +2 -2
  18. package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
  19. package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
  20. package/dist/client/types/tools/ozone/queue/listQueues.d.ts +1 -1
  21. package/dist/client/types/tools/ozone/queue/listQueues.d.ts.map +1 -1
  22. package/dist/client/types/tools/ozone/queue/listQueues.js.map +1 -1
  23. package/dist/client/types/tools/ozone/report/defs.d.ts +2 -0
  24. package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
  25. package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
  26. package/dist/client/types/tools/ozone/report/queryReports.d.ts +2 -2
  27. package/dist/client/types/tools/ozone/report/queryReports.d.ts.map +1 -1
  28. package/dist/client/types/tools/ozone/report/queryReports.js.map +1 -1
  29. package/package.json +3 -3
@@ -6613,6 +6613,58 @@ export declare const schemaDict: {
6613
6613
  };
6614
6614
  };
6615
6615
  };
6616
+ readonly AppBskyGraphSearchStarterPacksV2: {
6617
+ readonly lexicon: 1;
6618
+ readonly id: 'app.bsky.graph.searchStarterPacksV2';
6619
+ readonly defs: {
6620
+ readonly main: {
6621
+ readonly type: 'query';
6622
+ readonly description: 'Find starter packs matching search criteria. Does not require auth.';
6623
+ readonly parameters: {
6624
+ readonly type: 'params';
6625
+ readonly required: ["q"];
6626
+ readonly properties: {
6627
+ readonly q: {
6628
+ readonly type: 'string';
6629
+ readonly description: 'Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.';
6630
+ };
6631
+ readonly limit: {
6632
+ readonly type: 'integer';
6633
+ readonly minimum: 1;
6634
+ readonly maximum: 100;
6635
+ readonly default: 25;
6636
+ };
6637
+ readonly cursor: {
6638
+ readonly type: 'string';
6639
+ };
6640
+ };
6641
+ };
6642
+ readonly output: {
6643
+ readonly encoding: 'application/json';
6644
+ readonly schema: {
6645
+ readonly type: 'object';
6646
+ readonly required: ["starterPacks"];
6647
+ readonly properties: {
6648
+ readonly cursor: {
6649
+ readonly type: 'string';
6650
+ };
6651
+ readonly hitsTotal: {
6652
+ readonly type: 'integer';
6653
+ readonly description: 'Estimated total number of matching hits. May be rounded or truncated.';
6654
+ };
6655
+ readonly starterPacks: {
6656
+ readonly type: 'array';
6657
+ readonly items: {
6658
+ readonly type: 'ref';
6659
+ readonly ref: 'lex:app.bsky.graph.defs#starterPackView';
6660
+ };
6661
+ };
6662
+ };
6663
+ };
6664
+ };
6665
+ };
6666
+ };
6667
+ };
6616
6668
  readonly AppBskyGraphStarterpack: {
6617
6669
  readonly lexicon: 1;
6618
6670
  readonly id: 'app.bsky.graph.starterpack';
@@ -20954,12 +21006,12 @@ export declare const schemaDict: {
20954
21006
  readonly defs: {
20955
21007
  readonly main: {
20956
21008
  readonly type: 'procedure';
20957
- readonly description: 'Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.';
21009
+ readonly description: "Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.";
20958
21010
  readonly input: {
20959
21011
  readonly encoding: 'application/json';
20960
21012
  readonly schema: {
20961
21013
  readonly type: 'object';
20962
- readonly required: ["name", "subjectTypes", "reportTypes"];
21014
+ readonly required: ["name"];
20963
21015
  readonly properties: {
20964
21016
  readonly name: {
20965
21017
  readonly type: 'string';
@@ -20967,10 +21019,9 @@ export declare const schemaDict: {
20967
21019
  };
20968
21020
  readonly subjectTypes: {
20969
21021
  readonly type: 'array';
20970
- readonly minLength: 1;
20971
21022
  readonly items: {
20972
21023
  readonly type: 'string';
20973
- readonly knownValues: ["account", "record", "message"];
21024
+ readonly knownValues: ["account", "record", "message", "conversation"];
20974
21025
  };
20975
21026
  readonly description: 'Subject types this queue accepts';
20976
21027
  };
@@ -20984,7 +21035,6 @@ export declare const schemaDict: {
20984
21035
  readonly items: {
20985
21036
  readonly type: 'string';
20986
21037
  };
20987
- readonly minLength: 1;
20988
21038
  readonly maxLength: 25;
20989
21039
  readonly description: 'Report reason types (fully qualified NSIDs)';
20990
21040
  };
@@ -21021,7 +21071,7 @@ export declare const schemaDict: {
21021
21071
  readonly defs: {
21022
21072
  readonly queueView: {
21023
21073
  readonly type: 'object';
21024
- readonly required: ["id", "name", "subjectTypes", "reportTypes", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
21074
+ readonly required: ["id", "name", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
21025
21075
  readonly properties: {
21026
21076
  readonly id: {
21027
21077
  readonly type: 'integer';
@@ -21033,10 +21083,9 @@ export declare const schemaDict: {
21033
21083
  };
21034
21084
  readonly subjectTypes: {
21035
21085
  readonly type: 'array';
21036
- readonly minLength: 1;
21037
21086
  readonly items: {
21038
21087
  readonly type: 'string';
21039
- readonly knownValues: ["account", "record", "message"];
21088
+ readonly knownValues: ["account", "record", "message", "conversation"];
21040
21089
  };
21041
21090
  readonly description: 'Subject types this queue accepts.';
21042
21091
  };
@@ -21050,7 +21099,6 @@ export declare const schemaDict: {
21050
21099
  readonly items: {
21051
21100
  readonly type: 'string';
21052
21101
  };
21053
- readonly minLength: 1;
21054
21102
  readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
21055
21103
  };
21056
21104
  readonly description: {
@@ -21275,7 +21323,7 @@ export declare const schemaDict: {
21275
21323
  };
21276
21324
  readonly subjectType: {
21277
21325
  readonly type: 'string';
21278
- readonly description: "Filter queues that handle this subject type ('account' or 'record').";
21326
+ readonly description: "Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation').";
21279
21327
  };
21280
21328
  readonly collection: {
21281
21329
  readonly type: 'string';
@@ -21852,6 +21900,11 @@ export declare const schemaDict: {
21852
21900
  readonly type: 'boolean';
21853
21901
  readonly description: 'Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.';
21854
21902
  };
21903
+ readonly isAutomated: {
21904
+ readonly type: 'boolean';
21905
+ readonly default: false;
21906
+ readonly description: 'Whether this report was emitted by automated tooling.';
21907
+ };
21855
21908
  };
21856
21909
  };
21857
21910
  readonly queueActivity: {
@@ -22476,8 +22529,8 @@ export declare const schemaDict: {
22476
22529
  };
22477
22530
  readonly subjectType: {
22478
22531
  readonly type: 'string';
22479
- readonly description: 'If specified, reports of the given type (account or record) will be returned.';
22480
- readonly knownValues: ["account", "record"];
22532
+ readonly description: 'If specified, reports of the given subject type will be returned.';
22533
+ readonly knownValues: ["account", "record", "message", "conversation"];
22481
22534
  };
22482
22535
  readonly collections: {
22483
22536
  readonly type: 'array';
@@ -30882,6 +30935,57 @@ export declare const schemas: ({
30882
30935
  };
30883
30936
  };
30884
30937
  };
30938
+ } | {
30939
+ readonly lexicon: 1;
30940
+ readonly id: 'app.bsky.graph.searchStarterPacksV2';
30941
+ readonly defs: {
30942
+ readonly main: {
30943
+ readonly type: 'query';
30944
+ readonly description: 'Find starter packs matching search criteria. Does not require auth.';
30945
+ readonly parameters: {
30946
+ readonly type: 'params';
30947
+ readonly required: ["q"];
30948
+ readonly properties: {
30949
+ readonly q: {
30950
+ readonly type: 'string';
30951
+ readonly description: 'Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.';
30952
+ };
30953
+ readonly limit: {
30954
+ readonly type: 'integer';
30955
+ readonly minimum: 1;
30956
+ readonly maximum: 100;
30957
+ readonly default: 25;
30958
+ };
30959
+ readonly cursor: {
30960
+ readonly type: 'string';
30961
+ };
30962
+ };
30963
+ };
30964
+ readonly output: {
30965
+ readonly encoding: 'application/json';
30966
+ readonly schema: {
30967
+ readonly type: 'object';
30968
+ readonly required: ["starterPacks"];
30969
+ readonly properties: {
30970
+ readonly cursor: {
30971
+ readonly type: 'string';
30972
+ };
30973
+ readonly hitsTotal: {
30974
+ readonly type: 'integer';
30975
+ readonly description: 'Estimated total number of matching hits. May be rounded or truncated.';
30976
+ };
30977
+ readonly starterPacks: {
30978
+ readonly type: 'array';
30979
+ readonly items: {
30980
+ readonly type: 'ref';
30981
+ readonly ref: 'lex:app.bsky.graph.defs#starterPackView';
30982
+ };
30983
+ };
30984
+ };
30985
+ };
30986
+ };
30987
+ };
30988
+ };
30885
30989
  } | {
30886
30990
  readonly lexicon: 1;
30887
30991
  readonly id: 'app.bsky.graph.starterpack';
@@ -44991,12 +45095,12 @@ export declare const schemas: ({
44991
45095
  readonly defs: {
44992
45096
  readonly main: {
44993
45097
  readonly type: 'procedure';
44994
- readonly description: 'Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.';
45098
+ readonly description: "Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.";
44995
45099
  readonly input: {
44996
45100
  readonly encoding: 'application/json';
44997
45101
  readonly schema: {
44998
45102
  readonly type: 'object';
44999
- readonly required: ["name", "subjectTypes", "reportTypes"];
45103
+ readonly required: ["name"];
45000
45104
  readonly properties: {
45001
45105
  readonly name: {
45002
45106
  readonly type: 'string';
@@ -45004,10 +45108,9 @@ export declare const schemas: ({
45004
45108
  };
45005
45109
  readonly subjectTypes: {
45006
45110
  readonly type: 'array';
45007
- readonly minLength: 1;
45008
45111
  readonly items: {
45009
45112
  readonly type: 'string';
45010
- readonly knownValues: ["account", "record", "message"];
45113
+ readonly knownValues: ["account", "record", "message", "conversation"];
45011
45114
  };
45012
45115
  readonly description: 'Subject types this queue accepts';
45013
45116
  };
@@ -45021,7 +45124,6 @@ export declare const schemas: ({
45021
45124
  readonly items: {
45022
45125
  readonly type: 'string';
45023
45126
  };
45024
- readonly minLength: 1;
45025
45127
  readonly maxLength: 25;
45026
45128
  readonly description: 'Report reason types (fully qualified NSIDs)';
45027
45129
  };
@@ -45057,7 +45159,7 @@ export declare const schemas: ({
45057
45159
  readonly defs: {
45058
45160
  readonly queueView: {
45059
45161
  readonly type: 'object';
45060
- readonly required: ["id", "name", "subjectTypes", "reportTypes", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
45162
+ readonly required: ["id", "name", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
45061
45163
  readonly properties: {
45062
45164
  readonly id: {
45063
45165
  readonly type: 'integer';
@@ -45069,10 +45171,9 @@ export declare const schemas: ({
45069
45171
  };
45070
45172
  readonly subjectTypes: {
45071
45173
  readonly type: 'array';
45072
- readonly minLength: 1;
45073
45174
  readonly items: {
45074
45175
  readonly type: 'string';
45075
- readonly knownValues: ["account", "record", "message"];
45176
+ readonly knownValues: ["account", "record", "message", "conversation"];
45076
45177
  };
45077
45178
  readonly description: 'Subject types this queue accepts.';
45078
45179
  };
@@ -45086,7 +45187,6 @@ export declare const schemas: ({
45086
45187
  readonly items: {
45087
45188
  readonly type: 'string';
45088
45189
  };
45089
- readonly minLength: 1;
45090
45190
  readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
45091
45191
  };
45092
45192
  readonly description: {
@@ -45308,7 +45408,7 @@ export declare const schemas: ({
45308
45408
  };
45309
45409
  readonly subjectType: {
45310
45410
  readonly type: 'string';
45311
- readonly description: "Filter queues that handle this subject type ('account' or 'record').";
45411
+ readonly description: "Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation').";
45312
45412
  };
45313
45413
  readonly collection: {
45314
45414
  readonly type: 'string';
@@ -45879,6 +45979,11 @@ export declare const schemas: ({
45879
45979
  readonly type: 'boolean';
45880
45980
  readonly description: 'Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.';
45881
45981
  };
45982
+ readonly isAutomated: {
45983
+ readonly type: 'boolean';
45984
+ readonly default: false;
45985
+ readonly description: 'Whether this report was emitted by automated tooling.';
45986
+ };
45882
45987
  };
45883
45988
  };
45884
45989
  readonly queueActivity: {
@@ -46495,8 +46600,8 @@ export declare const schemas: ({
46495
46600
  };
46496
46601
  readonly subjectType: {
46497
46602
  readonly type: 'string';
46498
- readonly description: 'If specified, reports of the given type (account or record) will be returned.';
46499
- readonly knownValues: ["account", "record"];
46603
+ readonly description: 'If specified, reports of the given subject type will be returned.';
46604
+ readonly knownValues: ["account", "record", "message", "conversation"];
46500
46605
  };
46501
46606
  readonly collections: {
46502
46607
  readonly type: 'array';
@@ -48448,6 +48553,7 @@ export declare const ids: {
48448
48553
  readonly AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList';
48449
48554
  readonly AppBskyGraphMuteThread: 'app.bsky.graph.muteThread';
48450
48555
  readonly AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks';
48556
+ readonly AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2';
48451
48557
  readonly AppBskyGraphStarterpack: 'app.bsky.graph.starterpack';
48452
48558
  readonly AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor';
48453
48559
  readonly AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList';