@atproto/api 0.20.44 → 0.22.0
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 +34 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +17 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +738 -22
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +399 -11
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +4 -0
- 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/feed/getQuotes.d.ts +2 -0
- package/dist/client/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.js.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +3 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.d.ts +65 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.js +65 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +68 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.js +38 -0
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -0
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts +2 -0
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- 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 +5 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.js +7 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts +49 -9
- 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/package.json +7 -7
package/dist/client/lexicons.js
CHANGED
|
@@ -3475,6 +3475,14 @@ export const schemaDict = {
|
|
|
3475
3475
|
type: 'ref',
|
|
3476
3476
|
ref: 'lex:app.bsky.feed.defs#replyRef',
|
|
3477
3477
|
},
|
|
3478
|
+
opThreadPostIndex: {
|
|
3479
|
+
type: 'integer',
|
|
3480
|
+
description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread.',
|
|
3481
|
+
},
|
|
3482
|
+
opThreadPostCount: {
|
|
3483
|
+
type: 'integer',
|
|
3484
|
+
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.',
|
|
3485
|
+
},
|
|
3478
3486
|
reason: {
|
|
3479
3487
|
type: 'union',
|
|
3480
3488
|
refs: [
|
|
@@ -4611,6 +4619,11 @@ export const schemaDict = {
|
|
|
4611
4619
|
cursor: {
|
|
4612
4620
|
type: 'string',
|
|
4613
4621
|
},
|
|
4622
|
+
sort: {
|
|
4623
|
+
type: 'string',
|
|
4624
|
+
knownValues: ['latest', 'top'],
|
|
4625
|
+
description: "Ordering of results. 'latest' (default when unset) is newest first; 'top' orders quotes by their like count.",
|
|
4626
|
+
},
|
|
4614
4627
|
},
|
|
4615
4628
|
},
|
|
4616
4629
|
output: {
|
|
@@ -7611,6 +7624,7 @@ export const schemaDict = {
|
|
|
7611
7624
|
properties: {
|
|
7612
7625
|
priority: {
|
|
7613
7626
|
type: 'boolean',
|
|
7627
|
+
description: 'Deprecated: this parameter is ignored.',
|
|
7614
7628
|
},
|
|
7615
7629
|
seenAt: {
|
|
7616
7630
|
type: 'string',
|
|
@@ -7702,6 +7716,7 @@ export const schemaDict = {
|
|
|
7702
7716
|
},
|
|
7703
7717
|
priority: {
|
|
7704
7718
|
type: 'boolean',
|
|
7719
|
+
description: 'Deprecated: this parameter is ignored.',
|
|
7705
7720
|
},
|
|
7706
7721
|
cursor: {
|
|
7707
7722
|
type: 'string',
|
|
@@ -7709,6 +7724,7 @@ export const schemaDict = {
|
|
|
7709
7724
|
seenAt: {
|
|
7710
7725
|
type: 'string',
|
|
7711
7726
|
format: 'datetime',
|
|
7727
|
+
description: 'Deprecated: this parameter is unsupported and will cause an error.',
|
|
7712
7728
|
},
|
|
7713
7729
|
},
|
|
7714
7730
|
},
|
|
@@ -7730,6 +7746,7 @@ export const schemaDict = {
|
|
|
7730
7746
|
},
|
|
7731
7747
|
priority: {
|
|
7732
7748
|
type: 'boolean',
|
|
7749
|
+
description: 'Deprecated: this field is no longer populated.',
|
|
7733
7750
|
},
|
|
7734
7751
|
seenAt: {
|
|
7735
7752
|
type: 'string',
|
|
@@ -20036,6 +20053,270 @@ export const schemaDict = {
|
|
|
20036
20053
|
},
|
|
20037
20054
|
},
|
|
20038
20055
|
},
|
|
20056
|
+
ToolsOzoneInboxAppealActionedSubject: {
|
|
20057
|
+
lexicon: 1,
|
|
20058
|
+
id: 'tools.ozone.inbox.appealActionedSubject',
|
|
20059
|
+
defs: {
|
|
20060
|
+
main: {
|
|
20061
|
+
type: 'procedure',
|
|
20062
|
+
description: "Appeal a moderation action affecting the user's account or content.",
|
|
20063
|
+
input: {
|
|
20064
|
+
encoding: 'application/json',
|
|
20065
|
+
schema: {
|
|
20066
|
+
type: 'object',
|
|
20067
|
+
required: ['subject'],
|
|
20068
|
+
properties: {
|
|
20069
|
+
action: {
|
|
20070
|
+
type: 'union',
|
|
20071
|
+
refs: [
|
|
20072
|
+
'lex:tools.ozone.inbox.appealActionedSubject#actionRef',
|
|
20073
|
+
'lex:tools.ozone.inbox.appealActionedSubject#labelRef',
|
|
20074
|
+
'lex:tools.ozone.inbox.appealActionedSubject#takedownRef',
|
|
20075
|
+
],
|
|
20076
|
+
closed: true,
|
|
20077
|
+
description: 'Moderation action being appealed.',
|
|
20078
|
+
},
|
|
20079
|
+
subject: {
|
|
20080
|
+
type: 'union',
|
|
20081
|
+
refs: [
|
|
20082
|
+
'lex:com.atproto.admin.defs#repoRef',
|
|
20083
|
+
'lex:com.atproto.repo.strongRef',
|
|
20084
|
+
],
|
|
20085
|
+
description: 'Subject being appealed.',
|
|
20086
|
+
},
|
|
20087
|
+
reason: {
|
|
20088
|
+
type: 'string',
|
|
20089
|
+
maxGraphemes: 2000,
|
|
20090
|
+
maxLength: 20000,
|
|
20091
|
+
description: 'Optional explanation supplied by the user.',
|
|
20092
|
+
},
|
|
20093
|
+
modTool: {
|
|
20094
|
+
type: 'ref',
|
|
20095
|
+
ref: 'lex:com.atproto.moderation.createReport#modTool',
|
|
20096
|
+
},
|
|
20097
|
+
},
|
|
20098
|
+
},
|
|
20099
|
+
},
|
|
20100
|
+
output: {
|
|
20101
|
+
encoding: 'application/json',
|
|
20102
|
+
schema: {
|
|
20103
|
+
type: 'ref',
|
|
20104
|
+
ref: 'lex:tools.ozone.inbox.defs#subjectView',
|
|
20105
|
+
},
|
|
20106
|
+
},
|
|
20107
|
+
errors: [
|
|
20108
|
+
{
|
|
20109
|
+
name: 'InvalidAppealSubject',
|
|
20110
|
+
description: 'Invalid appeal subject input.',
|
|
20111
|
+
},
|
|
20112
|
+
{
|
|
20113
|
+
name: 'AlreadyAppealed',
|
|
20114
|
+
description: 'An active appeal already exists for this action.',
|
|
20115
|
+
},
|
|
20116
|
+
{
|
|
20117
|
+
name: 'NotAppealable',
|
|
20118
|
+
description: 'The subject cannot be appealed.',
|
|
20119
|
+
},
|
|
20120
|
+
{
|
|
20121
|
+
name: 'AppealWindowExpired',
|
|
20122
|
+
description: 'The appeal window for this action has closed.',
|
|
20123
|
+
},
|
|
20124
|
+
],
|
|
20125
|
+
},
|
|
20126
|
+
actionRef: {
|
|
20127
|
+
type: 'object',
|
|
20128
|
+
required: ['id'],
|
|
20129
|
+
properties: {
|
|
20130
|
+
id: {
|
|
20131
|
+
type: 'integer',
|
|
20132
|
+
minimum: 1,
|
|
20133
|
+
description: 'ID of the moderation action being appealed, available via actions in mod inbox.',
|
|
20134
|
+
},
|
|
20135
|
+
},
|
|
20136
|
+
},
|
|
20137
|
+
labelRef: {
|
|
20138
|
+
type: 'object',
|
|
20139
|
+
required: ['val'],
|
|
20140
|
+
properties: {
|
|
20141
|
+
val: {
|
|
20142
|
+
type: 'string',
|
|
20143
|
+
minLength: 1,
|
|
20144
|
+
description: 'Label being appealed.',
|
|
20145
|
+
},
|
|
20146
|
+
},
|
|
20147
|
+
},
|
|
20148
|
+
takedownRef: {
|
|
20149
|
+
type: 'object',
|
|
20150
|
+
properties: {},
|
|
20151
|
+
},
|
|
20152
|
+
},
|
|
20153
|
+
},
|
|
20154
|
+
ToolsOzoneInboxDefs: {
|
|
20155
|
+
lexicon: 1,
|
|
20156
|
+
id: 'tools.ozone.inbox.defs',
|
|
20157
|
+
defs: {
|
|
20158
|
+
subjectView: {
|
|
20159
|
+
type: 'object',
|
|
20160
|
+
description: 'A subject belonging to the viewer that has moderation actions against it.',
|
|
20161
|
+
required: ['src', 'subject', 'enforcement', 'createdAt', 'updatedAt'],
|
|
20162
|
+
properties: {
|
|
20163
|
+
src: {
|
|
20164
|
+
type: 'string',
|
|
20165
|
+
format: 'did',
|
|
20166
|
+
description: 'DID of the moderation service that took the actions.',
|
|
20167
|
+
},
|
|
20168
|
+
subject: {
|
|
20169
|
+
type: 'union',
|
|
20170
|
+
refs: [
|
|
20171
|
+
'lex:com.atproto.admin.defs#repoRef',
|
|
20172
|
+
'lex:com.atproto.repo.strongRef',
|
|
20173
|
+
],
|
|
20174
|
+
},
|
|
20175
|
+
enforcement: {
|
|
20176
|
+
type: 'ref',
|
|
20177
|
+
ref: 'lex:tools.ozone.inbox.defs#enforcementView',
|
|
20178
|
+
},
|
|
20179
|
+
appeal: {
|
|
20180
|
+
type: 'ref',
|
|
20181
|
+
ref: 'lex:tools.ozone.inbox.defs#appealView',
|
|
20182
|
+
},
|
|
20183
|
+
availableActions: {
|
|
20184
|
+
type: 'array',
|
|
20185
|
+
items: {
|
|
20186
|
+
type: 'string',
|
|
20187
|
+
knownValues: ['appeal'],
|
|
20188
|
+
},
|
|
20189
|
+
},
|
|
20190
|
+
latestAction: {
|
|
20191
|
+
type: 'ref',
|
|
20192
|
+
ref: 'lex:tools.ozone.inbox.defs#actionView',
|
|
20193
|
+
},
|
|
20194
|
+
actionCount: {
|
|
20195
|
+
type: 'integer',
|
|
20196
|
+
},
|
|
20197
|
+
createdAt: {
|
|
20198
|
+
type: 'string',
|
|
20199
|
+
format: 'datetime',
|
|
20200
|
+
},
|
|
20201
|
+
updatedAt: {
|
|
20202
|
+
type: 'string',
|
|
20203
|
+
format: 'datetime',
|
|
20204
|
+
},
|
|
20205
|
+
},
|
|
20206
|
+
},
|
|
20207
|
+
enforcementView: {
|
|
20208
|
+
type: 'object',
|
|
20209
|
+
description: 'The current enforcement state of a subject.',
|
|
20210
|
+
required: ['state'],
|
|
20211
|
+
properties: {
|
|
20212
|
+
state: {
|
|
20213
|
+
type: 'string',
|
|
20214
|
+
knownValues: [
|
|
20215
|
+
'none',
|
|
20216
|
+
'labeled',
|
|
20217
|
+
'removed',
|
|
20218
|
+
'suspended',
|
|
20219
|
+
'takendown',
|
|
20220
|
+
],
|
|
20221
|
+
},
|
|
20222
|
+
scope: {
|
|
20223
|
+
type: 'string',
|
|
20224
|
+
knownValues: ['network', 'app', 'labelOnly'],
|
|
20225
|
+
},
|
|
20226
|
+
expiresAt: {
|
|
20227
|
+
type: 'string',
|
|
20228
|
+
format: 'datetime',
|
|
20229
|
+
},
|
|
20230
|
+
labels: {
|
|
20231
|
+
type: 'array',
|
|
20232
|
+
items: {
|
|
20233
|
+
type: 'string',
|
|
20234
|
+
},
|
|
20235
|
+
description: 'Active label values on the subject, excluding negated and expired labels.',
|
|
20236
|
+
},
|
|
20237
|
+
},
|
|
20238
|
+
},
|
|
20239
|
+
appealView: {
|
|
20240
|
+
type: 'object',
|
|
20241
|
+
description: "The state of the viewer's appeal against the actions on a subject.",
|
|
20242
|
+
required: ['state'],
|
|
20243
|
+
properties: {
|
|
20244
|
+
state: {
|
|
20245
|
+
type: 'string',
|
|
20246
|
+
knownValues: [
|
|
20247
|
+
'none',
|
|
20248
|
+
'pending',
|
|
20249
|
+
'resolved',
|
|
20250
|
+
'superseded',
|
|
20251
|
+
'expired',
|
|
20252
|
+
],
|
|
20253
|
+
},
|
|
20254
|
+
appealedAt: {
|
|
20255
|
+
type: 'string',
|
|
20256
|
+
format: 'datetime',
|
|
20257
|
+
},
|
|
20258
|
+
resolvedAt: {
|
|
20259
|
+
type: 'string',
|
|
20260
|
+
format: 'datetime',
|
|
20261
|
+
description: "When the appeal's report was closed.",
|
|
20262
|
+
},
|
|
20263
|
+
note: {
|
|
20264
|
+
type: 'string',
|
|
20265
|
+
description: 'Moderator explanation, from the publicNote on the closing activity. Absent if none was written.',
|
|
20266
|
+
},
|
|
20267
|
+
appealableUntil: {
|
|
20268
|
+
type: 'string',
|
|
20269
|
+
format: 'datetime',
|
|
20270
|
+
},
|
|
20271
|
+
},
|
|
20272
|
+
},
|
|
20273
|
+
actionView: {
|
|
20274
|
+
type: 'object',
|
|
20275
|
+
description: 'A single moderation action taken against a subject.',
|
|
20276
|
+
required: ['id', 'type', 'createdAt'],
|
|
20277
|
+
properties: {
|
|
20278
|
+
id: {
|
|
20279
|
+
type: 'integer',
|
|
20280
|
+
description: 'Action ID (moderation event ID).',
|
|
20281
|
+
},
|
|
20282
|
+
type: {
|
|
20283
|
+
type: 'string',
|
|
20284
|
+
description: 'Public action type.',
|
|
20285
|
+
},
|
|
20286
|
+
scope: {
|
|
20287
|
+
type: 'string',
|
|
20288
|
+
knownValues: ['network', 'app', 'labelOnly'],
|
|
20289
|
+
},
|
|
20290
|
+
createdAt: {
|
|
20291
|
+
type: 'string',
|
|
20292
|
+
format: 'datetime',
|
|
20293
|
+
},
|
|
20294
|
+
reversedAt: {
|
|
20295
|
+
type: 'string',
|
|
20296
|
+
format: 'datetime',
|
|
20297
|
+
},
|
|
20298
|
+
expiresAt: {
|
|
20299
|
+
type: 'string',
|
|
20300
|
+
format: 'datetime',
|
|
20301
|
+
},
|
|
20302
|
+
labels: {
|
|
20303
|
+
type: 'array',
|
|
20304
|
+
items: {
|
|
20305
|
+
type: 'string',
|
|
20306
|
+
},
|
|
20307
|
+
description: 'Label values, for labelApplied/labelRemoved.',
|
|
20308
|
+
},
|
|
20309
|
+
policies: {
|
|
20310
|
+
type: 'array',
|
|
20311
|
+
items: {
|
|
20312
|
+
type: 'string',
|
|
20313
|
+
},
|
|
20314
|
+
description: 'Policies that were applied in this action.',
|
|
20315
|
+
},
|
|
20316
|
+
},
|
|
20317
|
+
},
|
|
20318
|
+
},
|
|
20319
|
+
},
|
|
20039
20320
|
ToolsOzoneModerationCancelScheduledActions: {
|
|
20040
20321
|
lexicon: 1,
|
|
20041
20322
|
id: 'tools.ozone.moderation.cancelScheduledActions',
|
|
@@ -22891,6 +23172,13 @@ export const schemaDict = {
|
|
|
22891
23172
|
},
|
|
22892
23173
|
description: 'Policy keys to recommend when actioning reports in this queue',
|
|
22893
23174
|
},
|
|
23175
|
+
recommendedLabels: {
|
|
23176
|
+
type: 'array',
|
|
23177
|
+
items: {
|
|
23178
|
+
type: 'string',
|
|
23179
|
+
},
|
|
23180
|
+
description: 'Labels to recommend for this queue and use as fallback appeal routing mappings',
|
|
23181
|
+
},
|
|
22894
23182
|
},
|
|
22895
23183
|
},
|
|
22896
23184
|
},
|
|
@@ -22975,6 +23263,13 @@ export const schemaDict = {
|
|
|
22975
23263
|
},
|
|
22976
23264
|
description: 'Policy keys recommended when actioning reports in this queue',
|
|
22977
23265
|
},
|
|
23266
|
+
recommendedLabels: {
|
|
23267
|
+
type: 'array',
|
|
23268
|
+
items: {
|
|
23269
|
+
type: 'string',
|
|
23270
|
+
},
|
|
23271
|
+
description: 'Labels recommended for this queue and used as a fallback when routing label appeals',
|
|
23272
|
+
},
|
|
22978
23273
|
createdBy: {
|
|
22979
23274
|
type: 'string',
|
|
22980
23275
|
format: 'did',
|
|
@@ -23360,6 +23655,13 @@ export const schemaDict = {
|
|
|
23360
23655
|
},
|
|
23361
23656
|
description: 'Policy keys to recommend when actioning reports in this queue',
|
|
23362
23657
|
},
|
|
23658
|
+
recommendedLabels: {
|
|
23659
|
+
type: 'array',
|
|
23660
|
+
items: {
|
|
23661
|
+
type: 'string',
|
|
23662
|
+
},
|
|
23663
|
+
description: 'Labels to recommend for this queue and use as fallback appeal routing mappings',
|
|
23664
|
+
},
|
|
23363
23665
|
},
|
|
23364
23666
|
},
|
|
23365
23667
|
},
|
|
@@ -23381,6 +23683,10 @@ export const schemaDict = {
|
|
|
23381
23683
|
name: 'InvalidRecommendedPolicies',
|
|
23382
23684
|
description: 'One or more recommended policy keys do not exist in the configured policy list',
|
|
23383
23685
|
},
|
|
23686
|
+
{
|
|
23687
|
+
name: 'ConflictingQueue',
|
|
23688
|
+
description: 'The queue configuration conflicts with an existing queue',
|
|
23689
|
+
},
|
|
23384
23690
|
],
|
|
23385
23691
|
},
|
|
23386
23692
|
},
|
|
@@ -23878,7 +24184,7 @@ export const schemaDict = {
|
|
|
23878
24184
|
items: {
|
|
23879
24185
|
type: 'integer',
|
|
23880
24186
|
},
|
|
23881
|
-
description: 'Array of moderation event IDs representing actions taken on this report
|
|
24187
|
+
description: 'Array of moderation event IDs representing actions taken on this report, in append order (most recently linked event last)',
|
|
23882
24188
|
},
|
|
23883
24189
|
actions: {
|
|
23884
24190
|
type: 'array',
|
|
@@ -24060,25 +24366,65 @@ export const schemaDict = {
|
|
|
24060
24366
|
type: 'integer',
|
|
24061
24367
|
description: 'Number of reports currently not closed.',
|
|
24062
24368
|
},
|
|
24369
|
+
closedCount: {
|
|
24370
|
+
type: 'integer',
|
|
24371
|
+
description: 'Number of close transitions.',
|
|
24372
|
+
},
|
|
24063
24373
|
actionedCount: {
|
|
24064
24374
|
type: 'integer',
|
|
24065
|
-
description: 'Number of
|
|
24375
|
+
description: 'Number of closures whose last report action is label, tag, or takedown.',
|
|
24376
|
+
},
|
|
24377
|
+
acknowledgedCount: {
|
|
24378
|
+
type: 'integer',
|
|
24379
|
+
description: 'Number of closures whose last report action is not label, tag, or takedown.',
|
|
24066
24380
|
},
|
|
24067
24381
|
escalatedCount: {
|
|
24068
24382
|
type: 'integer',
|
|
24069
|
-
description: 'Number of reports escalated
|
|
24383
|
+
description: 'Number of reports escalated.',
|
|
24070
24384
|
},
|
|
24071
24385
|
inboundCount: {
|
|
24072
24386
|
type: 'integer',
|
|
24073
|
-
description: 'Reports received
|
|
24387
|
+
description: 'Reports received.',
|
|
24388
|
+
},
|
|
24389
|
+
labelActionCount: {
|
|
24390
|
+
type: 'integer',
|
|
24391
|
+
description: 'Closures whose last report action is a label event.',
|
|
24392
|
+
},
|
|
24393
|
+
tagActionCount: {
|
|
24394
|
+
type: 'integer',
|
|
24395
|
+
description: 'Closures whose last report action is a tag event.',
|
|
24396
|
+
},
|
|
24397
|
+
takedownActionCount: {
|
|
24398
|
+
type: 'integer',
|
|
24399
|
+
description: 'Closures whose last report action is a takedown event.',
|
|
24400
|
+
},
|
|
24401
|
+
ahtDurationSec: {
|
|
24402
|
+
type: 'integer',
|
|
24403
|
+
description: 'Sum of report assignment-to-close seconds.',
|
|
24404
|
+
},
|
|
24405
|
+
ahtSampleCount: {
|
|
24406
|
+
type: 'integer',
|
|
24407
|
+
description: 'Number of assigned closed-report samples in ahtDurationSec.',
|
|
24408
|
+
},
|
|
24409
|
+
resolutionDurationSec: {
|
|
24410
|
+
type: 'integer',
|
|
24411
|
+
description: 'Sum of report creation-to-close seconds.',
|
|
24412
|
+
},
|
|
24413
|
+
resolutionSampleCount: {
|
|
24414
|
+
type: 'integer',
|
|
24415
|
+
description: 'Number of closed-report samples in resolutionDurationSec.',
|
|
24074
24416
|
},
|
|
24075
24417
|
actionRate: {
|
|
24076
24418
|
type: 'integer',
|
|
24077
|
-
description: 'Percentage of
|
|
24419
|
+
description: 'Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.',
|
|
24078
24420
|
},
|
|
24079
24421
|
avgHandlingTimeSec: {
|
|
24080
24422
|
type: 'integer',
|
|
24081
|
-
description: 'Average time in seconds from report
|
|
24423
|
+
description: 'Average handling time in seconds from report assignment to close.',
|
|
24424
|
+
},
|
|
24425
|
+
avgResolutionTimeSec: {
|
|
24426
|
+
type: 'integer',
|
|
24427
|
+
description: 'Average resolution time in seconds from report creation to close.',
|
|
24082
24428
|
},
|
|
24083
24429
|
lastUpdated: {
|
|
24084
24430
|
type: 'string',
|
|
@@ -24105,9 +24451,17 @@ export const schemaDict = {
|
|
|
24105
24451
|
type: 'integer',
|
|
24106
24452
|
description: 'Number of reports not closed at time of computation.',
|
|
24107
24453
|
},
|
|
24454
|
+
closedCount: {
|
|
24455
|
+
type: 'integer',
|
|
24456
|
+
description: 'Number of close transitions during this day.',
|
|
24457
|
+
},
|
|
24108
24458
|
actionedCount: {
|
|
24109
24459
|
type: 'integer',
|
|
24110
|
-
description: 'Number of
|
|
24460
|
+
description: 'Number of closures whose last report action is label, tag, or takedown during this day.',
|
|
24461
|
+
},
|
|
24462
|
+
acknowledgedCount: {
|
|
24463
|
+
type: 'integer',
|
|
24464
|
+
description: 'Number of closures whose last report action is not label, tag, or takedown during this day.',
|
|
24111
24465
|
},
|
|
24112
24466
|
escalatedCount: {
|
|
24113
24467
|
type: 'integer',
|
|
@@ -24117,13 +24471,45 @@ export const schemaDict = {
|
|
|
24117
24471
|
type: 'integer',
|
|
24118
24472
|
description: 'Reports received during this day.',
|
|
24119
24473
|
},
|
|
24474
|
+
labelActionCount: {
|
|
24475
|
+
type: 'integer',
|
|
24476
|
+
description: 'Closures whose last report action is a label event during this day.',
|
|
24477
|
+
},
|
|
24478
|
+
tagActionCount: {
|
|
24479
|
+
type: 'integer',
|
|
24480
|
+
description: 'Closures whose last report action is a tag event during this day.',
|
|
24481
|
+
},
|
|
24482
|
+
takedownActionCount: {
|
|
24483
|
+
type: 'integer',
|
|
24484
|
+
description: 'Closures whose last report action is a takedown event during this day.',
|
|
24485
|
+
},
|
|
24486
|
+
ahtDurationSec: {
|
|
24487
|
+
type: 'integer',
|
|
24488
|
+
description: "Sum of report assignment-to-close seconds for this day's samples.",
|
|
24489
|
+
},
|
|
24490
|
+
ahtSampleCount: {
|
|
24491
|
+
type: 'integer',
|
|
24492
|
+
description: 'Number of assigned closed-report samples in ahtDurationSec.',
|
|
24493
|
+
},
|
|
24494
|
+
resolutionDurationSec: {
|
|
24495
|
+
type: 'integer',
|
|
24496
|
+
description: "Sum of report creation-to-close seconds for this day's samples.",
|
|
24497
|
+
},
|
|
24498
|
+
resolutionSampleCount: {
|
|
24499
|
+
type: 'integer',
|
|
24500
|
+
description: 'Number of closed-report samples in resolutionDurationSec.',
|
|
24501
|
+
},
|
|
24120
24502
|
actionRate: {
|
|
24121
24503
|
type: 'integer',
|
|
24122
|
-
description: 'Percentage of
|
|
24504
|
+
description: 'Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.',
|
|
24123
24505
|
},
|
|
24124
24506
|
avgHandlingTimeSec: {
|
|
24125
24507
|
type: 'integer',
|
|
24126
|
-
description: 'Average time in seconds from report
|
|
24508
|
+
description: 'Average handling time in seconds from report assignment to close.',
|
|
24509
|
+
},
|
|
24510
|
+
avgResolutionTimeSec: {
|
|
24511
|
+
type: 'integer',
|
|
24512
|
+
description: 'Average resolution time in seconds from report creation to close.',
|
|
24127
24513
|
},
|
|
24128
24514
|
},
|
|
24129
24515
|
},
|
|
@@ -24337,7 +24723,7 @@ export const schemaDict = {
|
|
|
24337
24723
|
defs: {
|
|
24338
24724
|
main: {
|
|
24339
24725
|
type: 'query',
|
|
24340
|
-
description: 'Get live report statistics
|
|
24726
|
+
description: 'Get live report statistics for the current UTC calendar day. Filter by queue, moderator, or report type. Omit all parameters for aggregate stats.',
|
|
24341
24727
|
parameters: {
|
|
24342
24728
|
type: 'params',
|
|
24343
24729
|
properties: {
|
|
@@ -24715,7 +25101,7 @@ export const schemaDict = {
|
|
|
24715
25101
|
defs: {
|
|
24716
25102
|
main: {
|
|
24717
25103
|
type: 'procedure',
|
|
24718
|
-
description: 'Recompute report statistics for a date range.
|
|
25104
|
+
description: 'Recompute report statistics for a date range.',
|
|
24719
25105
|
input: {
|
|
24720
25106
|
encoding: 'application/json',
|
|
24721
25107
|
schema: {
|
|
@@ -26877,6 +27263,8 @@ export const ids = {
|
|
|
26877
27263
|
ToolsOzoneCommunicationListTemplates: 'tools.ozone.communication.listTemplates',
|
|
26878
27264
|
ToolsOzoneCommunicationUpdateTemplate: 'tools.ozone.communication.updateTemplate',
|
|
26879
27265
|
ToolsOzoneHostingGetAccountHistory: 'tools.ozone.hosting.getAccountHistory',
|
|
27266
|
+
ToolsOzoneInboxAppealActionedSubject: 'tools.ozone.inbox.appealActionedSubject',
|
|
27267
|
+
ToolsOzoneInboxDefs: 'tools.ozone.inbox.defs',
|
|
26880
27268
|
ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions',
|
|
26881
27269
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
|
26882
27270
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|