@atproto/api 0.32.3 → 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.
@@ -28242,6 +28242,123 @@ export const schemaDict = {
28242
28242
  },
28243
28243
  },
28244
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
+ },
28245
28362
  ToolsOzoneReportListActivities: {
28246
28363
  lexicon: 1,
28247
28364
  id: 'tools.ozone.report.listActivities',
@@ -31074,6 +31191,7 @@ export const ids = {
31074
31191
  ToolsOzoneReportGetLatestReport: 'tools.ozone.report.getLatestReport',
31075
31192
  ToolsOzoneReportGetLiveStats: 'tools.ozone.report.getLiveStats',
31076
31193
  ToolsOzoneReportGetReport: 'tools.ozone.report.getReport',
31194
+ ToolsOzoneReportGetStatGroupDetails: 'tools.ozone.report.getStatGroupDetails',
31077
31195
  ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities',
31078
31196
  ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities',
31079
31197
  ToolsOzoneReportQueryModeratorActivity: 'tools.ozone.report.queryModeratorActivity',