@atproto/api 0.32.2 → 0.32.4

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.
@@ -22928,6 +22928,16 @@ export const schemaDict = {
22928
22928
  type: 'unknown',
22929
22929
  description: 'Raw record JSON for the subject, when the subject is a record and the record is available.',
22930
22930
  },
22931
+ accountStatus: {
22932
+ type: 'ref',
22933
+ ref: 'lex:tools.ozone.inbox.getReport#accountStatus',
22934
+ description: "Current status of the reported account or record owner, independent of the report's resolution.",
22935
+ },
22936
+ subjectStatus: {
22937
+ type: 'ref',
22938
+ ref: 'lex:tools.ozone.inbox.getReport#recordStatus',
22939
+ description: 'Current status of a reported record, when known.',
22940
+ },
22931
22941
  status: {
22932
22942
  type: 'string',
22933
22943
  knownValues: ['pending', 'resolved'],
@@ -22942,6 +22952,42 @@ export const schemaDict = {
22942
22952
  },
22943
22953
  },
22944
22954
  },
22955
+ accountStatus: {
22956
+ type: 'object',
22957
+ required: ['enforcement'],
22958
+ properties: {
22959
+ enforcement: {
22960
+ type: 'string',
22961
+ knownValues: ['none', 'suspended', 'takendown'],
22962
+ description: 'Current enforcement by this moderation service.',
22963
+ },
22964
+ hosting: {
22965
+ type: 'string',
22966
+ knownValues: [
22967
+ 'active',
22968
+ 'deleted',
22969
+ 'deactivated',
22970
+ 'suspended',
22971
+ 'takendown',
22972
+ ],
22973
+ description: 'Last known account hosting state, omitted when unknown.',
22974
+ },
22975
+ },
22976
+ },
22977
+ recordStatus: {
22978
+ type: 'object',
22979
+ required: ['takendown'],
22980
+ properties: {
22981
+ takendown: {
22982
+ type: 'boolean',
22983
+ description: 'Whether this moderation service has taken down the record.',
22984
+ },
22985
+ deleted: {
22986
+ type: 'boolean',
22987
+ description: 'Whether the record has been deleted by its repository, omitted when unknown.',
22988
+ },
22989
+ },
22990
+ },
22945
22991
  resolutionView: {
22946
22992
  type: 'object',
22947
22993
  required: ['outcome', 'resolvedAt'],
@@ -28196,6 +28242,123 @@ export const schemaDict = {
28196
28242
  },
28197
28243
  },
28198
28244
  },
28245
+ ToolsOzoneReportGetStatGroupDetails: {
28246
+ lexicon: 1,
28247
+ id: 'tools.ozone.report.getStatGroupDetails',
28248
+ defs: {
28249
+ main: {
28250
+ type: 'query',
28251
+ description: 'Get additional details for a stat group. Omit all group selectors for aggregate details.',
28252
+ parameters: {
28253
+ type: 'params',
28254
+ properties: {
28255
+ queueId: {
28256
+ type: 'integer',
28257
+ minimum: -1,
28258
+ description: 'Queue stat group. Use -1 for unqueued reports; otherwise use a positive queue ID. Requires queue access.',
28259
+ },
28260
+ moderatorDid: {
28261
+ type: 'string',
28262
+ format: 'did',
28263
+ description: 'Moderator stat group, based on current report assignment. Requires administrator access.',
28264
+ },
28265
+ reportTypes: {
28266
+ type: 'array',
28267
+ minLength: 1,
28268
+ maxLength: 100,
28269
+ items: {
28270
+ type: 'string',
28271
+ },
28272
+ description: 'Report-type stat group. Counts only the specified reasons.',
28273
+ },
28274
+ startDate: {
28275
+ type: 'string',
28276
+ format: 'datetime',
28277
+ description: 'First UTC calendar day to include, inclusive. Defaults to today. The range must not exceed 120 calendar days.',
28278
+ },
28279
+ endDate: {
28280
+ type: 'string',
28281
+ format: 'datetime',
28282
+ description: 'Last UTC calendar day to include, inclusive. Defaults to today.',
28283
+ },
28284
+ },
28285
+ },
28286
+ output: {
28287
+ encoding: 'application/json',
28288
+ schema: {
28289
+ type: 'object',
28290
+ required: [
28291
+ 'computedAt',
28292
+ 'startDate',
28293
+ 'endDate',
28294
+ 'reportTypeBreakdown',
28295
+ ],
28296
+ properties: {
28297
+ computedAt: {
28298
+ type: 'string',
28299
+ format: 'datetime',
28300
+ description: 'When the live query started.',
28301
+ },
28302
+ startDate: {
28303
+ type: 'string',
28304
+ format: 'datetime',
28305
+ description: 'First included UTC calendar day, at midnight.',
28306
+ },
28307
+ endDate: {
28308
+ type: 'string',
28309
+ format: 'datetime',
28310
+ description: 'Last included UTC calendar day, at midnight.',
28311
+ },
28312
+ reportTypeBreakdown: {
28313
+ type: 'ref',
28314
+ ref: 'lex:tools.ozone.report.getStatGroupDetails#reportTypeBreakdown',
28315
+ },
28316
+ },
28317
+ },
28318
+ },
28319
+ errors: [
28320
+ {
28321
+ name: 'QueueNotFound',
28322
+ description: 'Queue does not exist or is not accessible.',
28323
+ },
28324
+ ],
28325
+ },
28326
+ reportTypeStats: {
28327
+ type: 'object',
28328
+ required: ['reportType', 'inboundCount'],
28329
+ properties: {
28330
+ reportType: {
28331
+ type: 'string',
28332
+ description: 'Fully qualified report reason.',
28333
+ },
28334
+ inboundCount: {
28335
+ type: 'integer',
28336
+ minimum: 0,
28337
+ description: 'Unmuted reports received during the requested UTC calendar days.',
28338
+ },
28339
+ },
28340
+ },
28341
+ reportTypeBreakdown: {
28342
+ type: 'object',
28343
+ description: 'Unmuted inbound reports by actual reason, across all statuses, within the selected stat group and UTC date range.',
28344
+ required: ['totalCount', 'stats'],
28345
+ properties: {
28346
+ totalCount: {
28347
+ type: 'integer',
28348
+ minimum: 0,
28349
+ description: 'Total unmuted inbound reports in this breakdown.',
28350
+ },
28351
+ stats: {
28352
+ type: 'array',
28353
+ items: {
28354
+ type: 'ref',
28355
+ ref: 'lex:tools.ozone.report.getStatGroupDetails#reportTypeStats',
28356
+ },
28357
+ },
28358
+ },
28359
+ },
28360
+ },
28361
+ },
28199
28362
  ToolsOzoneReportListActivities: {
28200
28363
  lexicon: 1,
28201
28364
  id: 'tools.ozone.report.listActivities',
@@ -31028,6 +31191,7 @@ export const ids = {
31028
31191
  ToolsOzoneReportGetLatestReport: 'tools.ozone.report.getLatestReport',
31029
31192
  ToolsOzoneReportGetLiveStats: 'tools.ozone.report.getLiveStats',
31030
31193
  ToolsOzoneReportGetReport: 'tools.ozone.report.getReport',
31194
+ ToolsOzoneReportGetStatGroupDetails: 'tools.ozone.report.getStatGroupDetails',
31031
31195
  ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities',
31032
31196
  ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities',
31033
31197
  ToolsOzoneReportQueryModeratorActivity: 'tools.ozone.report.queryModeratorActivity',