@atproto/api 0.20.33 → 0.20.35
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 +18 -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 +164 -6
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +89 -3
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -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/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 +4 -4
|
@@ -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
|
};
|
|
@@ -7439,6 +7440,11 @@ export declare const schemaDict: {
|
|
|
7439
7440
|
readonly record: {
|
|
7440
7441
|
readonly type: 'unknown';
|
|
7441
7442
|
};
|
|
7443
|
+
readonly starterPack: {
|
|
7444
|
+
readonly description: 'The starter pack associated with this notification. Present when the notification is for a follow originating from a starter pack.';
|
|
7445
|
+
readonly type: 'ref';
|
|
7446
|
+
readonly ref: 'lex:app.bsky.graph.defs#starterPackViewBasic';
|
|
7447
|
+
};
|
|
7442
7448
|
readonly isRead: {
|
|
7443
7449
|
readonly type: 'boolean';
|
|
7444
7450
|
};
|
|
@@ -9544,6 +9550,11 @@ export declare const schemaDict: {
|
|
|
9544
9550
|
readonly error: {
|
|
9545
9551
|
readonly type: 'string';
|
|
9546
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
|
+
};
|
|
9547
9558
|
readonly message: {
|
|
9548
9559
|
readonly type: 'string';
|
|
9549
9560
|
};
|
|
@@ -16472,6 +16483,10 @@ export declare const schemaDict: {
|
|
|
16472
16483
|
readonly type: 'boolean';
|
|
16473
16484
|
readonly description: 'If true, a phone verification token must be supplied to create an account on this instance.';
|
|
16474
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
|
+
};
|
|
16475
16490
|
readonly availableUserDomains: {
|
|
16476
16491
|
readonly type: 'array';
|
|
16477
16492
|
readonly description: 'List of domain suffixes that can be used in account handles.';
|
|
@@ -21578,6 +21593,66 @@ export declare const schemaDict: {
|
|
|
21578
21593
|
};
|
|
21579
21594
|
};
|
|
21580
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
|
+
};
|
|
21581
21656
|
readonly ToolsOzoneReportCreateActivity: {
|
|
21582
21657
|
readonly lexicon: 1;
|
|
21583
21658
|
readonly id: 'tools.ozone.report.createActivity';
|
|
@@ -21589,11 +21664,15 @@ export declare const schemaDict: {
|
|
|
21589
21664
|
readonly encoding: 'application/json';
|
|
21590
21665
|
readonly schema: {
|
|
21591
21666
|
readonly type: 'object';
|
|
21592
|
-
readonly required: ["
|
|
21667
|
+
readonly required: ["activity"];
|
|
21593
21668
|
readonly properties: {
|
|
21594
21669
|
readonly reportId: {
|
|
21595
21670
|
readonly type: 'integer';
|
|
21596
|
-
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.';
|
|
21597
21676
|
};
|
|
21598
21677
|
readonly activity: {
|
|
21599
21678
|
readonly type: 'union';
|
|
@@ -21631,7 +21710,7 @@ export declare const schemaDict: {
|
|
|
21631
21710
|
};
|
|
21632
21711
|
readonly errors: [{
|
|
21633
21712
|
readonly name: 'ReportNotFound';
|
|
21634
|
-
readonly description: 'No report exists with the given reportId';
|
|
21713
|
+
readonly description: 'No report exists with the given reportId or eventId';
|
|
21635
21714
|
}, {
|
|
21636
21715
|
readonly name: 'InvalidStateTransition';
|
|
21637
21716
|
readonly description: "The requested state transition is not permitted from the report's current status";
|
|
@@ -26565,6 +26644,7 @@ export declare const schemas: ({
|
|
|
26565
26644
|
readonly properties: {
|
|
26566
26645
|
readonly id: {
|
|
26567
26646
|
readonly type: 'string';
|
|
26647
|
+
readonly format: 'tid';
|
|
26568
26648
|
readonly description: 'The ID of the created draft.';
|
|
26569
26649
|
};
|
|
26570
26650
|
};
|
|
@@ -31777,6 +31857,11 @@ export declare const schemas: ({
|
|
|
31777
31857
|
readonly record: {
|
|
31778
31858
|
readonly type: 'unknown';
|
|
31779
31859
|
};
|
|
31860
|
+
readonly starterPack: {
|
|
31861
|
+
readonly description: 'The starter pack associated with this notification. Present when the notification is for a follow originating from a starter pack.';
|
|
31862
|
+
readonly type: 'ref';
|
|
31863
|
+
readonly ref: 'lex:app.bsky.graph.defs#starterPackViewBasic';
|
|
31864
|
+
};
|
|
31780
31865
|
readonly isRead: {
|
|
31781
31866
|
readonly type: 'boolean';
|
|
31782
31867
|
};
|
|
@@ -33843,6 +33928,11 @@ export declare const schemas: ({
|
|
|
33843
33928
|
readonly error: {
|
|
33844
33929
|
readonly type: 'string';
|
|
33845
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
|
+
};
|
|
33846
33936
|
readonly message: {
|
|
33847
33937
|
readonly type: 'string';
|
|
33848
33938
|
};
|
|
@@ -40653,6 +40743,10 @@ export declare const schemas: ({
|
|
|
40653
40743
|
readonly type: 'boolean';
|
|
40654
40744
|
readonly description: 'If true, a phone verification token must be supplied to create an account on this instance.';
|
|
40655
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
|
+
};
|
|
40656
40750
|
readonly availableUserDomains: {
|
|
40657
40751
|
readonly type: 'array';
|
|
40658
40752
|
readonly description: 'List of domain suffixes that can be used in account handles.';
|
|
@@ -45688,6 +45782,65 @@ export declare const schemas: ({
|
|
|
45688
45782
|
}];
|
|
45689
45783
|
};
|
|
45690
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
|
+
};
|
|
45691
45844
|
} | {
|
|
45692
45845
|
readonly lexicon: 1;
|
|
45693
45846
|
readonly id: 'tools.ozone.report.createActivity';
|
|
@@ -45699,11 +45852,15 @@ export declare const schemas: ({
|
|
|
45699
45852
|
readonly encoding: 'application/json';
|
|
45700
45853
|
readonly schema: {
|
|
45701
45854
|
readonly type: 'object';
|
|
45702
|
-
readonly required: ["
|
|
45855
|
+
readonly required: ["activity"];
|
|
45703
45856
|
readonly properties: {
|
|
45704
45857
|
readonly reportId: {
|
|
45705
45858
|
readonly type: 'integer';
|
|
45706
|
-
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.';
|
|
45707
45864
|
};
|
|
45708
45865
|
readonly activity: {
|
|
45709
45866
|
readonly type: 'union';
|
|
@@ -45741,7 +45898,7 @@ export declare const schemas: ({
|
|
|
45741
45898
|
};
|
|
45742
45899
|
readonly errors: [{
|
|
45743
45900
|
readonly name: 'ReportNotFound';
|
|
45744
|
-
readonly description: 'No report exists with the given reportId';
|
|
45901
|
+
readonly description: 'No report exists with the given reportId or eventId';
|
|
45745
45902
|
}, {
|
|
45746
45903
|
readonly name: 'InvalidStateTransition';
|
|
45747
45904
|
readonly description: "The requested state transition is not permitted from the report's current status";
|
|
@@ -48855,6 +49012,7 @@ export declare const ids: {
|
|
|
48855
49012
|
readonly ToolsOzoneQueueUnassignModerator: 'tools.ozone.queue.unassignModerator';
|
|
48856
49013
|
readonly ToolsOzoneQueueUpdateQueue: 'tools.ozone.queue.updateQueue';
|
|
48857
49014
|
readonly ToolsOzoneReportAssignModerator: 'tools.ozone.report.assignModerator';
|
|
49015
|
+
readonly ToolsOzoneReportCloseReports: 'tools.ozone.report.closeReports';
|
|
48858
49016
|
readonly ToolsOzoneReportCreateActivity: 'tools.ozone.report.createActivity';
|
|
48859
49017
|
readonly ToolsOzoneReportDefs: 'tools.ozone.report.defs';
|
|
48860
49018
|
readonly ToolsOzoneReportGetAssignments: 'tools.ozone.report.getAssignments';
|