@atproto/api 0.20.28 → 0.20.29

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.20.29
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5239](https://github.com/bluesky-social/atproto/pull/5239) [`33f4416`](https://github.com/bluesky-social/atproto/commit/33f441661ffb28bcceef161c9ce381320ff7bb6f) Thanks [@gcwill70](https://github.com/gcwill70)! - Update `tools.ozone.report` to include `isAutomated` field. Update `tools.ozone.queue` to mark `subjectTypes` and `reportTypes` as optional.
8
+
3
9
  ## 0.20.28
4
10
 
5
11
  ### Patch Changes
@@ -20954,12 +20954,12 @@ export declare const schemaDict: {
20954
20954
  readonly defs: {
20955
20955
  readonly main: {
20956
20956
  readonly type: 'procedure';
20957
- readonly description: 'Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.';
20957
+ 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
20958
  readonly input: {
20959
20959
  readonly encoding: 'application/json';
20960
20960
  readonly schema: {
20961
20961
  readonly type: 'object';
20962
- readonly required: ["name", "subjectTypes", "reportTypes"];
20962
+ readonly required: ["name"];
20963
20963
  readonly properties: {
20964
20964
  readonly name: {
20965
20965
  readonly type: 'string';
@@ -20967,10 +20967,9 @@ export declare const schemaDict: {
20967
20967
  };
20968
20968
  readonly subjectTypes: {
20969
20969
  readonly type: 'array';
20970
- readonly minLength: 1;
20971
20970
  readonly items: {
20972
20971
  readonly type: 'string';
20973
- readonly knownValues: ["account", "record", "message"];
20972
+ readonly knownValues: ["account", "record", "message", "conversation"];
20974
20973
  };
20975
20974
  readonly description: 'Subject types this queue accepts';
20976
20975
  };
@@ -20984,7 +20983,6 @@ export declare const schemaDict: {
20984
20983
  readonly items: {
20985
20984
  readonly type: 'string';
20986
20985
  };
20987
- readonly minLength: 1;
20988
20986
  readonly maxLength: 25;
20989
20987
  readonly description: 'Report reason types (fully qualified NSIDs)';
20990
20988
  };
@@ -21021,7 +21019,7 @@ export declare const schemaDict: {
21021
21019
  readonly defs: {
21022
21020
  readonly queueView: {
21023
21021
  readonly type: 'object';
21024
- readonly required: ["id", "name", "subjectTypes", "reportTypes", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
21022
+ readonly required: ["id", "name", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
21025
21023
  readonly properties: {
21026
21024
  readonly id: {
21027
21025
  readonly type: 'integer';
@@ -21033,10 +21031,9 @@ export declare const schemaDict: {
21033
21031
  };
21034
21032
  readonly subjectTypes: {
21035
21033
  readonly type: 'array';
21036
- readonly minLength: 1;
21037
21034
  readonly items: {
21038
21035
  readonly type: 'string';
21039
- readonly knownValues: ["account", "record", "message"];
21036
+ readonly knownValues: ["account", "record", "message", "conversation"];
21040
21037
  };
21041
21038
  readonly description: 'Subject types this queue accepts.';
21042
21039
  };
@@ -21050,7 +21047,6 @@ export declare const schemaDict: {
21050
21047
  readonly items: {
21051
21048
  readonly type: 'string';
21052
21049
  };
21053
- readonly minLength: 1;
21054
21050
  readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
21055
21051
  };
21056
21052
  readonly description: {
@@ -21275,7 +21271,7 @@ export declare const schemaDict: {
21275
21271
  };
21276
21272
  readonly subjectType: {
21277
21273
  readonly type: 'string';
21278
- readonly description: "Filter queues that handle this subject type ('account' or 'record').";
21274
+ readonly description: "Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation').";
21279
21275
  };
21280
21276
  readonly collection: {
21281
21277
  readonly type: 'string';
@@ -21852,6 +21848,11 @@ export declare const schemaDict: {
21852
21848
  readonly type: 'boolean';
21853
21849
  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
21850
  };
21851
+ readonly isAutomated: {
21852
+ readonly type: 'boolean';
21853
+ readonly default: false;
21854
+ readonly description: 'Whether this report was emitted by automated tooling.';
21855
+ };
21855
21856
  };
21856
21857
  };
21857
21858
  readonly queueActivity: {
@@ -22476,8 +22477,8 @@ export declare const schemaDict: {
22476
22477
  };
22477
22478
  readonly subjectType: {
22478
22479
  readonly type: 'string';
22479
- readonly description: 'If specified, reports of the given type (account or record) will be returned.';
22480
- readonly knownValues: ["account", "record"];
22480
+ readonly description: 'If specified, reports of the given subject type will be returned.';
22481
+ readonly knownValues: ["account", "record", "message", "conversation"];
22481
22482
  };
22482
22483
  readonly collections: {
22483
22484
  readonly type: 'array';
@@ -44991,12 +44992,12 @@ export declare const schemas: ({
44991
44992
  readonly defs: {
44992
44993
  readonly main: {
44993
44994
  readonly type: 'procedure';
44994
- readonly description: 'Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.';
44995
+ 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
44996
  readonly input: {
44996
44997
  readonly encoding: 'application/json';
44997
44998
  readonly schema: {
44998
44999
  readonly type: 'object';
44999
- readonly required: ["name", "subjectTypes", "reportTypes"];
45000
+ readonly required: ["name"];
45000
45001
  readonly properties: {
45001
45002
  readonly name: {
45002
45003
  readonly type: 'string';
@@ -45004,10 +45005,9 @@ export declare const schemas: ({
45004
45005
  };
45005
45006
  readonly subjectTypes: {
45006
45007
  readonly type: 'array';
45007
- readonly minLength: 1;
45008
45008
  readonly items: {
45009
45009
  readonly type: 'string';
45010
- readonly knownValues: ["account", "record", "message"];
45010
+ readonly knownValues: ["account", "record", "message", "conversation"];
45011
45011
  };
45012
45012
  readonly description: 'Subject types this queue accepts';
45013
45013
  };
@@ -45021,7 +45021,6 @@ export declare const schemas: ({
45021
45021
  readonly items: {
45022
45022
  readonly type: 'string';
45023
45023
  };
45024
- readonly minLength: 1;
45025
45024
  readonly maxLength: 25;
45026
45025
  readonly description: 'Report reason types (fully qualified NSIDs)';
45027
45026
  };
@@ -45057,7 +45056,7 @@ export declare const schemas: ({
45057
45056
  readonly defs: {
45058
45057
  readonly queueView: {
45059
45058
  readonly type: 'object';
45060
- readonly required: ["id", "name", "subjectTypes", "reportTypes", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
45059
+ readonly required: ["id", "name", "createdBy", "createdAt", "updatedAt", "enabled", "stats"];
45061
45060
  readonly properties: {
45062
45061
  readonly id: {
45063
45062
  readonly type: 'integer';
@@ -45069,10 +45068,9 @@ export declare const schemas: ({
45069
45068
  };
45070
45069
  readonly subjectTypes: {
45071
45070
  readonly type: 'array';
45072
- readonly minLength: 1;
45073
45071
  readonly items: {
45074
45072
  readonly type: 'string';
45075
- readonly knownValues: ["account", "record", "message"];
45073
+ readonly knownValues: ["account", "record", "message", "conversation"];
45076
45074
  };
45077
45075
  readonly description: 'Subject types this queue accepts.';
45078
45076
  };
@@ -45086,7 +45084,6 @@ export declare const schemas: ({
45086
45084
  readonly items: {
45087
45085
  readonly type: 'string';
45088
45086
  };
45089
- readonly minLength: 1;
45090
45087
  readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
45091
45088
  };
45092
45089
  readonly description: {
@@ -45308,7 +45305,7 @@ export declare const schemas: ({
45308
45305
  };
45309
45306
  readonly subjectType: {
45310
45307
  readonly type: 'string';
45311
- readonly description: "Filter queues that handle this subject type ('account' or 'record').";
45308
+ readonly description: "Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation').";
45312
45309
  };
45313
45310
  readonly collection: {
45314
45311
  readonly type: 'string';
@@ -45879,6 +45876,11 @@ export declare const schemas: ({
45879
45876
  readonly type: 'boolean';
45880
45877
  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
45878
  };
45879
+ readonly isAutomated: {
45880
+ readonly type: 'boolean';
45881
+ readonly default: false;
45882
+ readonly description: 'Whether this report was emitted by automated tooling.';
45883
+ };
45882
45884
  };
45883
45885
  };
45884
45886
  readonly queueActivity: {
@@ -46495,8 +46497,8 @@ export declare const schemas: ({
46495
46497
  };
46496
46498
  readonly subjectType: {
46497
46499
  readonly type: 'string';
46498
- readonly description: 'If specified, reports of the given type (account or record) will be returned.';
46499
- readonly knownValues: ["account", "record"];
46500
+ readonly description: 'If specified, reports of the given subject type will be returned.';
46501
+ readonly knownValues: ["account", "record", "message", "conversation"];
46500
46502
  };
46501
46503
  readonly collections: {
46502
46504
  readonly type: 'array';