@atproto/api 0.20.34 → 0.20.36
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 +21 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +154 -6
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +84 -3
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/video/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/video/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/video/defs.js.map +1 -1
- package/dist/client/types/com/atproto/server/describeServer.d.ts +2 -0
- package/dist/client/types/com/atproto/server/describeServer.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/describeServer.js.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts +34 -0
- package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/report/closeReports.js +14 -0
- package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -0
- package/dist/client/types/tools/ozone/report/createActivity.d.ts +4 -2
- package/dist/client/types/tools/ozone/report/createActivity.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/createActivity.js.map +1 -1
- package/package.json +5 -5
package/dist/client/lexicons.js
CHANGED
|
@@ -2229,6 +2229,7 @@ export const schemaDict = {
|
|
|
2229
2229
|
properties: {
|
|
2230
2230
|
id: {
|
|
2231
2231
|
type: 'string',
|
|
2232
|
+
format: 'tid',
|
|
2232
2233
|
description: 'The ID of the created draft.',
|
|
2233
2234
|
},
|
|
2234
2235
|
},
|
|
@@ -9839,6 +9840,17 @@ export const schemaDict = {
|
|
|
9839
9840
|
error: {
|
|
9840
9841
|
type: 'string',
|
|
9841
9842
|
},
|
|
9843
|
+
failureCode: {
|
|
9844
|
+
type: 'string',
|
|
9845
|
+
description: 'A machine-readable code for why the video processing job failed.',
|
|
9846
|
+
knownValues: [
|
|
9847
|
+
'validation_failure',
|
|
9848
|
+
'encoding_failure',
|
|
9849
|
+
'pds_upload_failure',
|
|
9850
|
+
'pds_upload_unsupported_blob_size',
|
|
9851
|
+
'generic_failure',
|
|
9852
|
+
],
|
|
9853
|
+
},
|
|
9842
9854
|
message: {
|
|
9843
9855
|
type: 'string',
|
|
9844
9856
|
},
|
|
@@ -17325,6 +17337,10 @@ export const schemaDict = {
|
|
|
17325
17337
|
type: 'boolean',
|
|
17326
17338
|
description: 'If true, a phone verification token must be supplied to create an account on this instance.',
|
|
17327
17339
|
},
|
|
17340
|
+
blobUploadLimit: {
|
|
17341
|
+
type: 'integer',
|
|
17342
|
+
description: 'Maximum size of a blob that can be uploaded via com.atproto.repo.uploadBlob, in bytes.',
|
|
17343
|
+
},
|
|
17328
17344
|
availableUserDomains: {
|
|
17329
17345
|
type: 'array',
|
|
17330
17346
|
description: 'List of domain suffixes that can be used in account handles.',
|
|
@@ -22824,6 +22840,66 @@ export const schemaDict = {
|
|
|
22824
22840
|
},
|
|
22825
22841
|
},
|
|
22826
22842
|
},
|
|
22843
|
+
ToolsOzoneReportCloseReports: {
|
|
22844
|
+
lexicon: 1,
|
|
22845
|
+
id: 'tools.ozone.report.closeReports',
|
|
22846
|
+
defs: {
|
|
22847
|
+
main: {
|
|
22848
|
+
type: 'procedure',
|
|
22849
|
+
description: 'Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject.',
|
|
22850
|
+
input: {
|
|
22851
|
+
encoding: 'application/json',
|
|
22852
|
+
schema: {
|
|
22853
|
+
type: 'object',
|
|
22854
|
+
required: ['subject'],
|
|
22855
|
+
properties: {
|
|
22856
|
+
subject: {
|
|
22857
|
+
type: 'string',
|
|
22858
|
+
format: 'uri',
|
|
22859
|
+
description: 'Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.',
|
|
22860
|
+
},
|
|
22861
|
+
reportTypes: {
|
|
22862
|
+
type: 'array',
|
|
22863
|
+
items: {
|
|
22864
|
+
type: 'string',
|
|
22865
|
+
},
|
|
22866
|
+
description: 'If specified, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted, all non-closed reports on the subject are targeted.',
|
|
22867
|
+
},
|
|
22868
|
+
internalNote: {
|
|
22869
|
+
type: 'string',
|
|
22870
|
+
description: 'Optional moderator-only note recorded on each close activity. Not visible to reporters.',
|
|
22871
|
+
},
|
|
22872
|
+
isAutomated: {
|
|
22873
|
+
type: 'boolean',
|
|
22874
|
+
description: 'Set true when this action is triggered by an automated process. Defaults to false.',
|
|
22875
|
+
default: false,
|
|
22876
|
+
},
|
|
22877
|
+
},
|
|
22878
|
+
},
|
|
22879
|
+
},
|
|
22880
|
+
output: {
|
|
22881
|
+
encoding: 'application/json',
|
|
22882
|
+
schema: {
|
|
22883
|
+
type: 'object',
|
|
22884
|
+
required: ['closedCount', 'reportIds'],
|
|
22885
|
+
properties: {
|
|
22886
|
+
closedCount: {
|
|
22887
|
+
type: 'integer',
|
|
22888
|
+
description: 'Number of reports that were transitioned to closed.',
|
|
22889
|
+
},
|
|
22890
|
+
reportIds: {
|
|
22891
|
+
type: 'array',
|
|
22892
|
+
items: {
|
|
22893
|
+
type: 'integer',
|
|
22894
|
+
},
|
|
22895
|
+
description: 'IDs of the reports that were closed.',
|
|
22896
|
+
},
|
|
22897
|
+
},
|
|
22898
|
+
},
|
|
22899
|
+
},
|
|
22900
|
+
},
|
|
22901
|
+
},
|
|
22902
|
+
},
|
|
22827
22903
|
ToolsOzoneReportCreateActivity: {
|
|
22828
22904
|
lexicon: 1,
|
|
22829
22905
|
id: 'tools.ozone.report.createActivity',
|
|
@@ -22835,11 +22911,15 @@ export const schemaDict = {
|
|
|
22835
22911
|
encoding: 'application/json',
|
|
22836
22912
|
schema: {
|
|
22837
22913
|
type: 'object',
|
|
22838
|
-
required: ['
|
|
22914
|
+
required: ['activity'],
|
|
22839
22915
|
properties: {
|
|
22840
22916
|
reportId: {
|
|
22841
22917
|
type: 'integer',
|
|
22842
|
-
description: 'ID of the report to record activity on',
|
|
22918
|
+
description: 'ID of the report to record activity on. Exactly one of reportId or eventId must be provided.',
|
|
22919
|
+
},
|
|
22920
|
+
eventId: {
|
|
22921
|
+
type: 'integer',
|
|
22922
|
+
description: 'ID of the report moderation event. Resolves to the report created from that event. Exactly one of reportId or eventId must be provided.',
|
|
22843
22923
|
},
|
|
22844
22924
|
activity: {
|
|
22845
22925
|
type: 'union',
|
|
@@ -22885,7 +22965,7 @@ export const schemaDict = {
|
|
|
22885
22965
|
errors: [
|
|
22886
22966
|
{
|
|
22887
22967
|
name: 'ReportNotFound',
|
|
22888
|
-
description: 'No report exists with the given reportId',
|
|
22968
|
+
description: 'No report exists with the given reportId or eventId',
|
|
22889
22969
|
},
|
|
22890
22970
|
{
|
|
22891
22971
|
name: 'InvalidStateTransition',
|
|
@@ -26218,6 +26298,7 @@ export const ids = {
|
|
|
26218
26298
|
ToolsOzoneQueueUnassignModerator: 'tools.ozone.queue.unassignModerator',
|
|
26219
26299
|
ToolsOzoneQueueUpdateQueue: 'tools.ozone.queue.updateQueue',
|
|
26220
26300
|
ToolsOzoneReportAssignModerator: 'tools.ozone.report.assignModerator',
|
|
26301
|
+
ToolsOzoneReportCloseReports: 'tools.ozone.report.closeReports',
|
|
26221
26302
|
ToolsOzoneReportCreateActivity: 'tools.ozone.report.createActivity',
|
|
26222
26303
|
ToolsOzoneReportDefs: 'tools.ozone.report.defs',
|
|
26223
26304
|
ToolsOzoneReportGetAssignments: 'tools.ozone.report.getAssignments',
|