@atproto/api 0.31.2 → 0.32.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 +12 -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 +250 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +129 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +6 -0
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/report/queryModeratorActivity.d.ts +48 -0
- package/dist/client/types/tools/ozone/report/queryModeratorActivity.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/report/queryModeratorActivity.js +21 -0
- package/dist/client/types/tools/ozone/report/queryModeratorActivity.js.map +1 -0
- package/package.json +1 -1
|
@@ -23605,6 +23605,24 @@ export declare const schemaDict: {
|
|
|
23605
23605
|
readonly type: 'boolean';
|
|
23606
23606
|
readonly description: 'Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID.';
|
|
23607
23607
|
};
|
|
23608
|
+
readonly subjects: {
|
|
23609
|
+
readonly type: 'array';
|
|
23610
|
+
readonly maxLength: 100;
|
|
23611
|
+
readonly items: {
|
|
23612
|
+
readonly type: 'union';
|
|
23613
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
|
|
23614
|
+
};
|
|
23615
|
+
readonly description: 'Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with `subjectTypes`.';
|
|
23616
|
+
};
|
|
23617
|
+
readonly subjectTypes: {
|
|
23618
|
+
readonly type: 'array';
|
|
23619
|
+
readonly maxLength: 4;
|
|
23620
|
+
readonly items: {
|
|
23621
|
+
readonly type: 'string';
|
|
23622
|
+
readonly enum: ["account", "record", "message", "conversation"];
|
|
23623
|
+
};
|
|
23624
|
+
readonly description: 'Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with `subjects`.';
|
|
23625
|
+
};
|
|
23608
23626
|
readonly note: {
|
|
23609
23627
|
readonly type: 'string';
|
|
23610
23628
|
readonly description: 'Note to send to reporter(s) when actioning their report';
|
|
@@ -26560,6 +26578,113 @@ export declare const schemaDict: {
|
|
|
26560
26578
|
};
|
|
26561
26579
|
};
|
|
26562
26580
|
};
|
|
26581
|
+
readonly ToolsOzoneReportQueryModeratorActivity: {
|
|
26582
|
+
readonly lexicon: 1;
|
|
26583
|
+
readonly id: 'tools.ozone.report.queryModeratorActivity';
|
|
26584
|
+
readonly defs: {
|
|
26585
|
+
readonly main: {
|
|
26586
|
+
readonly type: 'query';
|
|
26587
|
+
readonly description: 'Read authorized moderator events and report activity in one chronological history.';
|
|
26588
|
+
readonly parameters: {
|
|
26589
|
+
readonly type: 'params';
|
|
26590
|
+
readonly required: ["moderator", "createdAfter", "createdBefore"];
|
|
26591
|
+
readonly properties: {
|
|
26592
|
+
readonly moderator: {
|
|
26593
|
+
readonly type: 'string';
|
|
26594
|
+
readonly format: 'did';
|
|
26595
|
+
};
|
|
26596
|
+
readonly createdAfter: {
|
|
26597
|
+
readonly type: 'string';
|
|
26598
|
+
readonly format: 'datetime';
|
|
26599
|
+
readonly description: 'Inclusive UTC lower bound.';
|
|
26600
|
+
};
|
|
26601
|
+
readonly createdBefore: {
|
|
26602
|
+
readonly type: 'string';
|
|
26603
|
+
readonly format: 'datetime';
|
|
26604
|
+
readonly description: 'Exclusive UTC upper bound.';
|
|
26605
|
+
};
|
|
26606
|
+
readonly types: {
|
|
26607
|
+
readonly type: 'array';
|
|
26608
|
+
readonly maxLength: 40;
|
|
26609
|
+
readonly items: {
|
|
26610
|
+
readonly type: 'string';
|
|
26611
|
+
};
|
|
26612
|
+
};
|
|
26613
|
+
readonly limit: {
|
|
26614
|
+
readonly type: 'integer';
|
|
26615
|
+
readonly minimum: 1;
|
|
26616
|
+
readonly maximum: 100;
|
|
26617
|
+
readonly default: 50;
|
|
26618
|
+
};
|
|
26619
|
+
readonly cursor: {
|
|
26620
|
+
readonly type: 'string';
|
|
26621
|
+
readonly maxLength: 512;
|
|
26622
|
+
};
|
|
26623
|
+
};
|
|
26624
|
+
};
|
|
26625
|
+
readonly output: {
|
|
26626
|
+
readonly encoding: 'application/json';
|
|
26627
|
+
readonly schema: {
|
|
26628
|
+
readonly type: 'object';
|
|
26629
|
+
readonly required: ["rows"];
|
|
26630
|
+
readonly properties: {
|
|
26631
|
+
readonly rows: {
|
|
26632
|
+
readonly type: 'array';
|
|
26633
|
+
readonly items: {
|
|
26634
|
+
readonly type: 'ref';
|
|
26635
|
+
readonly ref: 'lex:tools.ozone.report.queryModeratorActivity#activityRow';
|
|
26636
|
+
};
|
|
26637
|
+
};
|
|
26638
|
+
readonly cursor: {
|
|
26639
|
+
readonly type: 'string';
|
|
26640
|
+
};
|
|
26641
|
+
};
|
|
26642
|
+
};
|
|
26643
|
+
};
|
|
26644
|
+
};
|
|
26645
|
+
readonly activityRow: {
|
|
26646
|
+
readonly type: 'object';
|
|
26647
|
+
readonly required: ["source", "id", "createdAt", "createdBy", "type"];
|
|
26648
|
+
readonly properties: {
|
|
26649
|
+
readonly source: {
|
|
26650
|
+
readonly type: 'string';
|
|
26651
|
+
readonly enum: ["event", "activity"];
|
|
26652
|
+
};
|
|
26653
|
+
readonly id: {
|
|
26654
|
+
readonly type: 'integer';
|
|
26655
|
+
};
|
|
26656
|
+
readonly createdAt: {
|
|
26657
|
+
readonly type: 'string';
|
|
26658
|
+
readonly format: 'datetime';
|
|
26659
|
+
};
|
|
26660
|
+
readonly createdBy: {
|
|
26661
|
+
readonly type: 'string';
|
|
26662
|
+
readonly format: 'did';
|
|
26663
|
+
};
|
|
26664
|
+
readonly type: {
|
|
26665
|
+
readonly type: 'string';
|
|
26666
|
+
};
|
|
26667
|
+
readonly subject: {
|
|
26668
|
+
readonly type: 'string';
|
|
26669
|
+
};
|
|
26670
|
+
readonly reportId: {
|
|
26671
|
+
readonly type: 'integer';
|
|
26672
|
+
};
|
|
26673
|
+
readonly actionEventId: {
|
|
26674
|
+
readonly type: 'integer';
|
|
26675
|
+
};
|
|
26676
|
+
readonly event: {
|
|
26677
|
+
readonly type: 'ref';
|
|
26678
|
+
readonly ref: 'lex:tools.ozone.moderation.defs#modEventView';
|
|
26679
|
+
};
|
|
26680
|
+
readonly activity: {
|
|
26681
|
+
readonly type: 'ref';
|
|
26682
|
+
readonly ref: 'lex:tools.ozone.report.defs#reportActivityView';
|
|
26683
|
+
};
|
|
26684
|
+
};
|
|
26685
|
+
};
|
|
26686
|
+
};
|
|
26687
|
+
};
|
|
26563
26688
|
readonly ToolsOzoneReportQueryReports: {
|
|
26564
26689
|
readonly lexicon: 1;
|
|
26565
26690
|
readonly id: 'tools.ozone.report.queryReports';
|
|
@@ -51951,6 +52076,24 @@ export declare const schemas: ({
|
|
|
51951
52076
|
readonly type: 'boolean';
|
|
51952
52077
|
readonly description: 'Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID.';
|
|
51953
52078
|
};
|
|
52079
|
+
readonly subjects: {
|
|
52080
|
+
readonly type: 'array';
|
|
52081
|
+
readonly maxLength: 100;
|
|
52082
|
+
readonly items: {
|
|
52083
|
+
readonly type: 'union';
|
|
52084
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
|
|
52085
|
+
};
|
|
52086
|
+
readonly description: 'Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with `subjectTypes`.';
|
|
52087
|
+
};
|
|
52088
|
+
readonly subjectTypes: {
|
|
52089
|
+
readonly type: 'array';
|
|
52090
|
+
readonly maxLength: 4;
|
|
52091
|
+
readonly items: {
|
|
52092
|
+
readonly type: 'string';
|
|
52093
|
+
readonly enum: ["account", "record", "message", "conversation"];
|
|
52094
|
+
};
|
|
52095
|
+
readonly description: 'Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with `subjects`.';
|
|
52096
|
+
};
|
|
51954
52097
|
readonly note: {
|
|
51955
52098
|
readonly type: 'string';
|
|
51956
52099
|
readonly description: 'Note to send to reporter(s) when actioning their report';
|
|
@@ -54871,6 +55014,112 @@ export declare const schemas: ({
|
|
|
54871
55014
|
};
|
|
54872
55015
|
};
|
|
54873
55016
|
};
|
|
55017
|
+
} | {
|
|
55018
|
+
readonly lexicon: 1;
|
|
55019
|
+
readonly id: 'tools.ozone.report.queryModeratorActivity';
|
|
55020
|
+
readonly defs: {
|
|
55021
|
+
readonly main: {
|
|
55022
|
+
readonly type: 'query';
|
|
55023
|
+
readonly description: 'Read authorized moderator events and report activity in one chronological history.';
|
|
55024
|
+
readonly parameters: {
|
|
55025
|
+
readonly type: 'params';
|
|
55026
|
+
readonly required: ["moderator", "createdAfter", "createdBefore"];
|
|
55027
|
+
readonly properties: {
|
|
55028
|
+
readonly moderator: {
|
|
55029
|
+
readonly type: 'string';
|
|
55030
|
+
readonly format: 'did';
|
|
55031
|
+
};
|
|
55032
|
+
readonly createdAfter: {
|
|
55033
|
+
readonly type: 'string';
|
|
55034
|
+
readonly format: 'datetime';
|
|
55035
|
+
readonly description: 'Inclusive UTC lower bound.';
|
|
55036
|
+
};
|
|
55037
|
+
readonly createdBefore: {
|
|
55038
|
+
readonly type: 'string';
|
|
55039
|
+
readonly format: 'datetime';
|
|
55040
|
+
readonly description: 'Exclusive UTC upper bound.';
|
|
55041
|
+
};
|
|
55042
|
+
readonly types: {
|
|
55043
|
+
readonly type: 'array';
|
|
55044
|
+
readonly maxLength: 40;
|
|
55045
|
+
readonly items: {
|
|
55046
|
+
readonly type: 'string';
|
|
55047
|
+
};
|
|
55048
|
+
};
|
|
55049
|
+
readonly limit: {
|
|
55050
|
+
readonly type: 'integer';
|
|
55051
|
+
readonly minimum: 1;
|
|
55052
|
+
readonly maximum: 100;
|
|
55053
|
+
readonly default: 50;
|
|
55054
|
+
};
|
|
55055
|
+
readonly cursor: {
|
|
55056
|
+
readonly type: 'string';
|
|
55057
|
+
readonly maxLength: 512;
|
|
55058
|
+
};
|
|
55059
|
+
};
|
|
55060
|
+
};
|
|
55061
|
+
readonly output: {
|
|
55062
|
+
readonly encoding: 'application/json';
|
|
55063
|
+
readonly schema: {
|
|
55064
|
+
readonly type: 'object';
|
|
55065
|
+
readonly required: ["rows"];
|
|
55066
|
+
readonly properties: {
|
|
55067
|
+
readonly rows: {
|
|
55068
|
+
readonly type: 'array';
|
|
55069
|
+
readonly items: {
|
|
55070
|
+
readonly type: 'ref';
|
|
55071
|
+
readonly ref: 'lex:tools.ozone.report.queryModeratorActivity#activityRow';
|
|
55072
|
+
};
|
|
55073
|
+
};
|
|
55074
|
+
readonly cursor: {
|
|
55075
|
+
readonly type: 'string';
|
|
55076
|
+
};
|
|
55077
|
+
};
|
|
55078
|
+
};
|
|
55079
|
+
};
|
|
55080
|
+
};
|
|
55081
|
+
readonly activityRow: {
|
|
55082
|
+
readonly type: 'object';
|
|
55083
|
+
readonly required: ["source", "id", "createdAt", "createdBy", "type"];
|
|
55084
|
+
readonly properties: {
|
|
55085
|
+
readonly source: {
|
|
55086
|
+
readonly type: 'string';
|
|
55087
|
+
readonly enum: ["event", "activity"];
|
|
55088
|
+
};
|
|
55089
|
+
readonly id: {
|
|
55090
|
+
readonly type: 'integer';
|
|
55091
|
+
};
|
|
55092
|
+
readonly createdAt: {
|
|
55093
|
+
readonly type: 'string';
|
|
55094
|
+
readonly format: 'datetime';
|
|
55095
|
+
};
|
|
55096
|
+
readonly createdBy: {
|
|
55097
|
+
readonly type: 'string';
|
|
55098
|
+
readonly format: 'did';
|
|
55099
|
+
};
|
|
55100
|
+
readonly type: {
|
|
55101
|
+
readonly type: 'string';
|
|
55102
|
+
};
|
|
55103
|
+
readonly subject: {
|
|
55104
|
+
readonly type: 'string';
|
|
55105
|
+
};
|
|
55106
|
+
readonly reportId: {
|
|
55107
|
+
readonly type: 'integer';
|
|
55108
|
+
};
|
|
55109
|
+
readonly actionEventId: {
|
|
55110
|
+
readonly type: 'integer';
|
|
55111
|
+
};
|
|
55112
|
+
readonly event: {
|
|
55113
|
+
readonly type: 'ref';
|
|
55114
|
+
readonly ref: 'lex:tools.ozone.moderation.defs#modEventView';
|
|
55115
|
+
};
|
|
55116
|
+
readonly activity: {
|
|
55117
|
+
readonly type: 'ref';
|
|
55118
|
+
readonly ref: 'lex:tools.ozone.report.defs#reportActivityView';
|
|
55119
|
+
};
|
|
55120
|
+
};
|
|
55121
|
+
};
|
|
55122
|
+
};
|
|
54874
55123
|
} | {
|
|
54875
55124
|
readonly lexicon: 1;
|
|
54876
55125
|
readonly id: 'tools.ozone.report.queryReports';
|
|
@@ -57339,6 +57588,7 @@ export declare const ids: {
|
|
|
57339
57588
|
readonly ToolsOzoneReportGetReport: 'tools.ozone.report.getReport';
|
|
57340
57589
|
readonly ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities';
|
|
57341
57590
|
readonly ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities';
|
|
57591
|
+
readonly ToolsOzoneReportQueryModeratorActivity: 'tools.ozone.report.queryModeratorActivity';
|
|
57342
57592
|
readonly ToolsOzoneReportQueryReports: 'tools.ozone.report.queryReports';
|
|
57343
57593
|
readonly ToolsOzoneReportReassignQueue: 'tools.ozone.report.reassignQueue';
|
|
57344
57594
|
readonly ToolsOzoneReportRefreshStats: 'tools.ozone.report.refreshStats';
|