@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
|
@@ -2148,6 +2148,7 @@ export declare const schemaDict: {
|
|
|
2148
2148
|
readonly properties: {
|
|
2149
2149
|
readonly id: {
|
|
2150
2150
|
readonly type: 'string';
|
|
2151
|
+
readonly format: 'tid';
|
|
2151
2152
|
readonly description: 'The ID of the created draft.';
|
|
2152
2153
|
};
|
|
2153
2154
|
};
|
|
@@ -9549,6 +9550,11 @@ export declare const schemaDict: {
|
|
|
9549
9550
|
readonly error: {
|
|
9550
9551
|
readonly type: 'string';
|
|
9551
9552
|
};
|
|
9553
|
+
readonly failureCode: {
|
|
9554
|
+
readonly type: 'string';
|
|
9555
|
+
readonly description: 'A machine-readable code for why the video processing job failed.';
|
|
9556
|
+
readonly knownValues: ["validation_failure", "encoding_failure", "pds_upload_failure", "pds_upload_unsupported_blob_size", "generic_failure"];
|
|
9557
|
+
};
|
|
9552
9558
|
readonly message: {
|
|
9553
9559
|
readonly type: 'string';
|
|
9554
9560
|
};
|
|
@@ -16477,6 +16483,10 @@ export declare const schemaDict: {
|
|
|
16477
16483
|
readonly type: 'boolean';
|
|
16478
16484
|
readonly description: 'If true, a phone verification token must be supplied to create an account on this instance.';
|
|
16479
16485
|
};
|
|
16486
|
+
readonly blobUploadLimit: {
|
|
16487
|
+
readonly type: 'integer';
|
|
16488
|
+
readonly description: 'Maximum size of a blob that can be uploaded via com.atproto.repo.uploadBlob, in bytes.';
|
|
16489
|
+
};
|
|
16480
16490
|
readonly availableUserDomains: {
|
|
16481
16491
|
readonly type: 'array';
|
|
16482
16492
|
readonly description: 'List of domain suffixes that can be used in account handles.';
|
|
@@ -21583,6 +21593,66 @@ export declare const schemaDict: {
|
|
|
21583
21593
|
};
|
|
21584
21594
|
};
|
|
21585
21595
|
};
|
|
21596
|
+
readonly ToolsOzoneReportCloseReports: {
|
|
21597
|
+
readonly lexicon: 1;
|
|
21598
|
+
readonly id: 'tools.ozone.report.closeReports';
|
|
21599
|
+
readonly defs: {
|
|
21600
|
+
readonly main: {
|
|
21601
|
+
readonly type: 'procedure';
|
|
21602
|
+
readonly 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.';
|
|
21603
|
+
readonly input: {
|
|
21604
|
+
readonly encoding: 'application/json';
|
|
21605
|
+
readonly schema: {
|
|
21606
|
+
readonly type: 'object';
|
|
21607
|
+
readonly required: ["subject"];
|
|
21608
|
+
readonly properties: {
|
|
21609
|
+
readonly subject: {
|
|
21610
|
+
readonly type: 'string';
|
|
21611
|
+
readonly format: 'uri';
|
|
21612
|
+
readonly description: 'Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.';
|
|
21613
|
+
};
|
|
21614
|
+
readonly reportTypes: {
|
|
21615
|
+
readonly type: 'array';
|
|
21616
|
+
readonly items: {
|
|
21617
|
+
readonly type: 'string';
|
|
21618
|
+
};
|
|
21619
|
+
readonly 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.';
|
|
21620
|
+
};
|
|
21621
|
+
readonly internalNote: {
|
|
21622
|
+
readonly type: 'string';
|
|
21623
|
+
readonly description: 'Optional moderator-only note recorded on each close activity. Not visible to reporters.';
|
|
21624
|
+
};
|
|
21625
|
+
readonly isAutomated: {
|
|
21626
|
+
readonly type: 'boolean';
|
|
21627
|
+
readonly description: 'Set true when this action is triggered by an automated process. Defaults to false.';
|
|
21628
|
+
readonly default: false;
|
|
21629
|
+
};
|
|
21630
|
+
};
|
|
21631
|
+
};
|
|
21632
|
+
};
|
|
21633
|
+
readonly output: {
|
|
21634
|
+
readonly encoding: 'application/json';
|
|
21635
|
+
readonly schema: {
|
|
21636
|
+
readonly type: 'object';
|
|
21637
|
+
readonly required: ["closedCount", "reportIds"];
|
|
21638
|
+
readonly properties: {
|
|
21639
|
+
readonly closedCount: {
|
|
21640
|
+
readonly type: 'integer';
|
|
21641
|
+
readonly description: 'Number of reports that were transitioned to closed.';
|
|
21642
|
+
};
|
|
21643
|
+
readonly reportIds: {
|
|
21644
|
+
readonly type: 'array';
|
|
21645
|
+
readonly items: {
|
|
21646
|
+
readonly type: 'integer';
|
|
21647
|
+
};
|
|
21648
|
+
readonly description: 'IDs of the reports that were closed.';
|
|
21649
|
+
};
|
|
21650
|
+
};
|
|
21651
|
+
};
|
|
21652
|
+
};
|
|
21653
|
+
};
|
|
21654
|
+
};
|
|
21655
|
+
};
|
|
21586
21656
|
readonly ToolsOzoneReportCreateActivity: {
|
|
21587
21657
|
readonly lexicon: 1;
|
|
21588
21658
|
readonly id: 'tools.ozone.report.createActivity';
|
|
@@ -21594,11 +21664,15 @@ export declare const schemaDict: {
|
|
|
21594
21664
|
readonly encoding: 'application/json';
|
|
21595
21665
|
readonly schema: {
|
|
21596
21666
|
readonly type: 'object';
|
|
21597
|
-
readonly required: ["
|
|
21667
|
+
readonly required: ["activity"];
|
|
21598
21668
|
readonly properties: {
|
|
21599
21669
|
readonly reportId: {
|
|
21600
21670
|
readonly type: 'integer';
|
|
21601
|
-
readonly description: 'ID of the report to record activity on';
|
|
21671
|
+
readonly description: 'ID of the report to record activity on. Exactly one of reportId or eventId must be provided.';
|
|
21672
|
+
};
|
|
21673
|
+
readonly eventId: {
|
|
21674
|
+
readonly type: 'integer';
|
|
21675
|
+
readonly description: 'ID of the report moderation event. Resolves to the report created from that event. Exactly one of reportId or eventId must be provided.';
|
|
21602
21676
|
};
|
|
21603
21677
|
readonly activity: {
|
|
21604
21678
|
readonly type: 'union';
|
|
@@ -21636,7 +21710,7 @@ export declare const schemaDict: {
|
|
|
21636
21710
|
};
|
|
21637
21711
|
readonly errors: [{
|
|
21638
21712
|
readonly name: 'ReportNotFound';
|
|
21639
|
-
readonly description: 'No report exists with the given reportId';
|
|
21713
|
+
readonly description: 'No report exists with the given reportId or eventId';
|
|
21640
21714
|
}, {
|
|
21641
21715
|
readonly name: 'InvalidStateTransition';
|
|
21642
21716
|
readonly description: "The requested state transition is not permitted from the report's current status";
|
|
@@ -26570,6 +26644,7 @@ export declare const schemas: ({
|
|
|
26570
26644
|
readonly properties: {
|
|
26571
26645
|
readonly id: {
|
|
26572
26646
|
readonly type: 'string';
|
|
26647
|
+
readonly format: 'tid';
|
|
26573
26648
|
readonly description: 'The ID of the created draft.';
|
|
26574
26649
|
};
|
|
26575
26650
|
};
|
|
@@ -33853,6 +33928,11 @@ export declare const schemas: ({
|
|
|
33853
33928
|
readonly error: {
|
|
33854
33929
|
readonly type: 'string';
|
|
33855
33930
|
};
|
|
33931
|
+
readonly failureCode: {
|
|
33932
|
+
readonly type: 'string';
|
|
33933
|
+
readonly description: 'A machine-readable code for why the video processing job failed.';
|
|
33934
|
+
readonly knownValues: ["validation_failure", "encoding_failure", "pds_upload_failure", "pds_upload_unsupported_blob_size", "generic_failure"];
|
|
33935
|
+
};
|
|
33856
33936
|
readonly message: {
|
|
33857
33937
|
readonly type: 'string';
|
|
33858
33938
|
};
|
|
@@ -40663,6 +40743,10 @@ export declare const schemas: ({
|
|
|
40663
40743
|
readonly type: 'boolean';
|
|
40664
40744
|
readonly description: 'If true, a phone verification token must be supplied to create an account on this instance.';
|
|
40665
40745
|
};
|
|
40746
|
+
readonly blobUploadLimit: {
|
|
40747
|
+
readonly type: 'integer';
|
|
40748
|
+
readonly description: 'Maximum size of a blob that can be uploaded via com.atproto.repo.uploadBlob, in bytes.';
|
|
40749
|
+
};
|
|
40666
40750
|
readonly availableUserDomains: {
|
|
40667
40751
|
readonly type: 'array';
|
|
40668
40752
|
readonly description: 'List of domain suffixes that can be used in account handles.';
|
|
@@ -45698,6 +45782,65 @@ export declare const schemas: ({
|
|
|
45698
45782
|
}];
|
|
45699
45783
|
};
|
|
45700
45784
|
};
|
|
45785
|
+
} | {
|
|
45786
|
+
readonly lexicon: 1;
|
|
45787
|
+
readonly id: 'tools.ozone.report.closeReports';
|
|
45788
|
+
readonly defs: {
|
|
45789
|
+
readonly main: {
|
|
45790
|
+
readonly type: 'procedure';
|
|
45791
|
+
readonly 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.';
|
|
45792
|
+
readonly input: {
|
|
45793
|
+
readonly encoding: 'application/json';
|
|
45794
|
+
readonly schema: {
|
|
45795
|
+
readonly type: 'object';
|
|
45796
|
+
readonly required: ["subject"];
|
|
45797
|
+
readonly properties: {
|
|
45798
|
+
readonly subject: {
|
|
45799
|
+
readonly type: 'string';
|
|
45800
|
+
readonly format: 'uri';
|
|
45801
|
+
readonly description: 'Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.';
|
|
45802
|
+
};
|
|
45803
|
+
readonly reportTypes: {
|
|
45804
|
+
readonly type: 'array';
|
|
45805
|
+
readonly items: {
|
|
45806
|
+
readonly type: 'string';
|
|
45807
|
+
};
|
|
45808
|
+
readonly 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.';
|
|
45809
|
+
};
|
|
45810
|
+
readonly internalNote: {
|
|
45811
|
+
readonly type: 'string';
|
|
45812
|
+
readonly description: 'Optional moderator-only note recorded on each close activity. Not visible to reporters.';
|
|
45813
|
+
};
|
|
45814
|
+
readonly isAutomated: {
|
|
45815
|
+
readonly type: 'boolean';
|
|
45816
|
+
readonly description: 'Set true when this action is triggered by an automated process. Defaults to false.';
|
|
45817
|
+
readonly default: false;
|
|
45818
|
+
};
|
|
45819
|
+
};
|
|
45820
|
+
};
|
|
45821
|
+
};
|
|
45822
|
+
readonly output: {
|
|
45823
|
+
readonly encoding: 'application/json';
|
|
45824
|
+
readonly schema: {
|
|
45825
|
+
readonly type: 'object';
|
|
45826
|
+
readonly required: ["closedCount", "reportIds"];
|
|
45827
|
+
readonly properties: {
|
|
45828
|
+
readonly closedCount: {
|
|
45829
|
+
readonly type: 'integer';
|
|
45830
|
+
readonly description: 'Number of reports that were transitioned to closed.';
|
|
45831
|
+
};
|
|
45832
|
+
readonly reportIds: {
|
|
45833
|
+
readonly type: 'array';
|
|
45834
|
+
readonly items: {
|
|
45835
|
+
readonly type: 'integer';
|
|
45836
|
+
};
|
|
45837
|
+
readonly description: 'IDs of the reports that were closed.';
|
|
45838
|
+
};
|
|
45839
|
+
};
|
|
45840
|
+
};
|
|
45841
|
+
};
|
|
45842
|
+
};
|
|
45843
|
+
};
|
|
45701
45844
|
} | {
|
|
45702
45845
|
readonly lexicon: 1;
|
|
45703
45846
|
readonly id: 'tools.ozone.report.createActivity';
|
|
@@ -45709,11 +45852,15 @@ export declare const schemas: ({
|
|
|
45709
45852
|
readonly encoding: 'application/json';
|
|
45710
45853
|
readonly schema: {
|
|
45711
45854
|
readonly type: 'object';
|
|
45712
|
-
readonly required: ["
|
|
45855
|
+
readonly required: ["activity"];
|
|
45713
45856
|
readonly properties: {
|
|
45714
45857
|
readonly reportId: {
|
|
45715
45858
|
readonly type: 'integer';
|
|
45716
|
-
readonly description: 'ID of the report to record activity on';
|
|
45859
|
+
readonly description: 'ID of the report to record activity on. Exactly one of reportId or eventId must be provided.';
|
|
45860
|
+
};
|
|
45861
|
+
readonly eventId: {
|
|
45862
|
+
readonly type: 'integer';
|
|
45863
|
+
readonly description: 'ID of the report moderation event. Resolves to the report created from that event. Exactly one of reportId or eventId must be provided.';
|
|
45717
45864
|
};
|
|
45718
45865
|
readonly activity: {
|
|
45719
45866
|
readonly type: 'union';
|
|
@@ -45751,7 +45898,7 @@ export declare const schemas: ({
|
|
|
45751
45898
|
};
|
|
45752
45899
|
readonly errors: [{
|
|
45753
45900
|
readonly name: 'ReportNotFound';
|
|
45754
|
-
readonly description: 'No report exists with the given reportId';
|
|
45901
|
+
readonly description: 'No report exists with the given reportId or eventId';
|
|
45755
45902
|
}, {
|
|
45756
45903
|
readonly name: 'InvalidStateTransition';
|
|
45757
45904
|
readonly description: "The requested state transition is not permitted from the report's current status";
|
|
@@ -48865,6 +49012,7 @@ export declare const ids: {
|
|
|
48865
49012
|
readonly ToolsOzoneQueueUnassignModerator: 'tools.ozone.queue.unassignModerator';
|
|
48866
49013
|
readonly ToolsOzoneQueueUpdateQueue: 'tools.ozone.queue.updateQueue';
|
|
48867
49014
|
readonly ToolsOzoneReportAssignModerator: 'tools.ozone.report.assignModerator';
|
|
49015
|
+
readonly ToolsOzoneReportCloseReports: 'tools.ozone.report.closeReports';
|
|
48868
49016
|
readonly ToolsOzoneReportCreateActivity: 'tools.ozone.report.createActivity';
|
|
48869
49017
|
readonly ToolsOzoneReportDefs: 'tools.ozone.report.defs';
|
|
48870
49018
|
readonly ToolsOzoneReportGetAssignments: 'tools.ozone.report.getAssignments';
|