@atproto/ozone 0.2.5 → 0.2.6
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/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/report/queryActivities.d.ts +4 -0
- package/dist/api/report/queryActivities.d.ts.map +1 -0
- package/dist/api/report/queryActivities.js +36 -0
- package/dist/api/report/queryActivities.js.map +1 -0
- package/dist/background.d.ts +5 -3
- package/dist/background.d.ts.map +1 -1
- package/dist/background.js +13 -4
- package/dist/background.js.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/daemon/context.js +1 -1
- package/dist/daemon/context.js.map +1 -1
- package/dist/daemon/verification-listener.d.ts +1 -1
- package/dist/daemon/verification-listener.d.ts.map +1 -1
- package/dist/daemon/verification-listener.js +10 -4
- package/dist/daemon/verification-listener.js.map +1 -1
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.d.ts +4 -0
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.d.ts.map +1 -0
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.js +15 -0
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.js.map +1 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/db/migrations/index.d.ts.map +1 -1
- package/dist/db/migrations/index.js +1 -0
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -13
- package/dist/index.js.map +1 -1
- package/dist/jetstream/service.d.ts +1 -1
- package/dist/jetstream/service.d.ts.map +1 -1
- package/dist/jetstream/service.js +3 -1
- package/dist/jetstream/service.js.map +1 -1
- package/dist/lexicon/index.d.ts +11 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +18 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +338 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +173 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/notification/defs.d.ts +19 -0
- package/dist/lexicon/types/chat/bsky/notification/defs.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/defs.js +19 -0
- package/dist/lexicon/types/chat/bsky/notification/defs.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.d.ts +20 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.js +5 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.d.ts +26 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.js +5 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/report/defs.d.ts +1 -0
- package/dist/lexicon/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/report/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/report/queryActivities.d.ts +32 -0
- package/dist/lexicon/types/tools/ozone/report/queryActivities.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/report/queryActivities.js +5 -0
- package/dist/lexicon/types/tools/ozone/report/queryActivities.js.map +1 -0
- package/dist/mod-service/report.d.ts +1 -0
- package/dist/mod-service/report.d.ts.map +1 -1
- package/dist/mod-service/report.js +16 -0
- package/dist/mod-service/report.js.map +1 -1
- package/dist/report/activity.d.ts +19 -1
- package/dist/report/activity.d.ts.map +1 -1
- package/dist/report/activity.js +27 -1
- package/dist/report/activity.js.map +1 -1
- package/package.json +9 -8
- package/src/api/index.ts +2 -0
- package/src/api/report/queryActivities.ts +64 -0
- package/src/background.ts +19 -4
- package/src/context.ts +1 -1
- package/src/daemon/context.ts +1 -1
- package/src/daemon/verification-listener.ts +9 -4
- package/src/db/migrations/20260602T120000000Z-add-report-activity-created-index.ts +17 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/index.ts +25 -15
- package/src/jetstream/service.ts +3 -1
- package/src/mod-service/report.ts +19 -0
- package/src/report/activity.ts +47 -0
- package/tests/3p-labeler.test.ts +2 -2
- package/tests/_util.ts +8 -25
- package/tests/account-strikes.test.ts +1 -1
- package/tests/ack-all-subjects-of-account.test.ts +1 -1
- package/tests/age-assurance.test.ts +1 -1
- package/tests/blob-divert.test.ts +1 -1
- package/tests/communication-templates.test.ts +1 -1
- package/tests/content-tagger.test.ts +1 -1
- package/tests/db.test.ts +1 -1
- package/tests/expiring-label.test.ts +1 -1
- package/tests/expiring-tags.test.ts +1 -1
- package/tests/get-account-timeline.test.ts +1 -1
- package/tests/get-config.test.ts +1 -1
- package/tests/get-lists.test.ts +2 -1
- package/tests/get-profiles.test.ts +1 -1
- package/tests/get-record.test.ts +1 -1
- package/tests/get-records.test.ts +1 -1
- package/tests/get-repo.test.ts +1 -1
- package/tests/get-report.test.ts +1 -1
- package/tests/get-reporter-stats.test.ts +1 -1
- package/tests/get-repos.test.ts +1 -1
- package/tests/get-starter-pack.test.ts +1 -1
- package/tests/get-subjects.test.ts +1 -1
- package/tests/mod-tool.test.ts +1 -1
- package/tests/moderation-appeals.test.ts +1 -1
- package/tests/moderation-events.test.ts +1 -1
- package/tests/moderation-status-tags.test.ts +1 -1
- package/tests/moderation-statuses.test.ts +1 -1
- package/tests/moderation.test.ts +1 -1
- package/tests/protected-tags.test.ts +1 -1
- package/tests/query-labels.test.ts +1 -1
- package/tests/query-reports.test.ts +1 -1
- package/tests/queue-assignment.test.ts +1 -1
- package/tests/queue-router.test.ts +1 -1
- package/tests/queues.test.ts +1 -1
- package/tests/record-and-account-events.test.ts +1 -1
- package/tests/repo-search.test.ts +2 -2
- package/tests/report-action.test.ts +1 -1
- package/tests/report-activity.test.ts +145 -1
- package/tests/report-assignment.test.ts +1 -1
- package/tests/report-muting.test.ts +1 -1
- package/tests/report-reason.test.ts +1 -1
- package/tests/report-reassign-queue.test.ts +1 -1
- package/tests/report-routing.test.ts +1 -1
- package/tests/report-stats.test.ts +1 -1
- package/tests/revoke-account-credentials.test.ts +1 -1
- package/tests/safelink.test.ts +1 -1
- package/tests/scheduled-action-processor.test.ts +1 -1
- package/tests/scheduled-action.test.ts +1 -1
- package/tests/sequencer.test.ts +1 -1
- package/tests/server.test.ts +9 -12
- package/tests/sets.test.ts +1 -1
- package/tests/settings.test.ts +1 -1
- package/tests/strike-expiry-processor.test.ts +1 -1
- package/tests/subject-priority-score.test.ts +1 -1
- package/tests/takedown.test.ts +1 -1
- package/tests/team.test.ts +1 -1
- package/tests/verification-listener.test.ts +40 -13
- package/tests/verification.test.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -6805,6 +6805,7 @@ export declare const schemaDict: {
|
|
|
6805
6805
|
};
|
|
6806
6806
|
readonly chatPreference: {
|
|
6807
6807
|
readonly type: 'object';
|
|
6808
|
+
readonly description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.';
|
|
6808
6809
|
readonly required: ["include", "push"];
|
|
6809
6810
|
readonly properties: {
|
|
6810
6811
|
readonly include: {
|
|
@@ -6851,6 +6852,7 @@ export declare const schemaDict: {
|
|
|
6851
6852
|
readonly chat: {
|
|
6852
6853
|
readonly type: 'ref';
|
|
6853
6854
|
readonly ref: 'lex:app.bsky.notification.defs#chatPreference';
|
|
6855
|
+
readonly description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.';
|
|
6854
6856
|
};
|
|
6855
6857
|
readonly follow: {
|
|
6856
6858
|
readonly type: 'ref';
|
|
@@ -7225,6 +7227,7 @@ export declare const schemaDict: {
|
|
|
7225
7227
|
readonly chat: {
|
|
7226
7228
|
readonly type: 'ref';
|
|
7227
7229
|
readonly ref: 'lex:app.bsky.notification.defs#chatPreference';
|
|
7230
|
+
readonly description: "Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned.";
|
|
7228
7231
|
};
|
|
7229
7232
|
readonly follow: {
|
|
7230
7233
|
readonly type: 'ref';
|
|
@@ -13344,6 +13347,101 @@ export declare const schemaDict: {
|
|
|
13344
13347
|
};
|
|
13345
13348
|
};
|
|
13346
13349
|
};
|
|
13350
|
+
readonly ChatBskyNotificationDefs: {
|
|
13351
|
+
readonly lexicon: 1;
|
|
13352
|
+
readonly id: 'chat.bsky.notification.defs';
|
|
13353
|
+
readonly defs: {
|
|
13354
|
+
readonly preferences: {
|
|
13355
|
+
readonly type: 'object';
|
|
13356
|
+
readonly required: ["chat", "chatRequest"];
|
|
13357
|
+
readonly properties: {
|
|
13358
|
+
readonly chat: {
|
|
13359
|
+
readonly type: 'ref';
|
|
13360
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
13361
|
+
};
|
|
13362
|
+
readonly chatRequest: {
|
|
13363
|
+
readonly type: 'ref';
|
|
13364
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
13365
|
+
};
|
|
13366
|
+
};
|
|
13367
|
+
};
|
|
13368
|
+
readonly chatPreference: {
|
|
13369
|
+
readonly type: 'object';
|
|
13370
|
+
readonly required: ["include", "push"];
|
|
13371
|
+
readonly properties: {
|
|
13372
|
+
readonly include: {
|
|
13373
|
+
readonly type: 'string';
|
|
13374
|
+
readonly knownValues: ["all", "follows"];
|
|
13375
|
+
};
|
|
13376
|
+
readonly push: {
|
|
13377
|
+
readonly type: 'boolean';
|
|
13378
|
+
};
|
|
13379
|
+
};
|
|
13380
|
+
};
|
|
13381
|
+
};
|
|
13382
|
+
};
|
|
13383
|
+
readonly ChatBskyNotificationGetPreferences: {
|
|
13384
|
+
readonly lexicon: 1;
|
|
13385
|
+
readonly id: 'chat.bsky.notification.getPreferences';
|
|
13386
|
+
readonly defs: {
|
|
13387
|
+
readonly main: {
|
|
13388
|
+
readonly type: 'query';
|
|
13389
|
+
readonly description: "Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.";
|
|
13390
|
+
readonly output: {
|
|
13391
|
+
readonly encoding: 'application/json';
|
|
13392
|
+
readonly schema: {
|
|
13393
|
+
readonly type: 'object';
|
|
13394
|
+
readonly required: ["preferences"];
|
|
13395
|
+
readonly properties: {
|
|
13396
|
+
readonly preferences: {
|
|
13397
|
+
readonly type: 'ref';
|
|
13398
|
+
readonly ref: 'lex:chat.bsky.notification.defs#preferences';
|
|
13399
|
+
};
|
|
13400
|
+
};
|
|
13401
|
+
};
|
|
13402
|
+
};
|
|
13403
|
+
};
|
|
13404
|
+
};
|
|
13405
|
+
};
|
|
13406
|
+
readonly ChatBskyNotificationPutPreferences: {
|
|
13407
|
+
readonly lexicon: 1;
|
|
13408
|
+
readonly id: 'chat.bsky.notification.putPreferences';
|
|
13409
|
+
readonly defs: {
|
|
13410
|
+
readonly main: {
|
|
13411
|
+
readonly type: 'procedure';
|
|
13412
|
+
readonly description: "Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.";
|
|
13413
|
+
readonly input: {
|
|
13414
|
+
readonly encoding: 'application/json';
|
|
13415
|
+
readonly schema: {
|
|
13416
|
+
readonly type: 'object';
|
|
13417
|
+
readonly properties: {
|
|
13418
|
+
readonly chat: {
|
|
13419
|
+
readonly type: 'ref';
|
|
13420
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
13421
|
+
};
|
|
13422
|
+
readonly chatRequest: {
|
|
13423
|
+
readonly type: 'ref';
|
|
13424
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
13425
|
+
};
|
|
13426
|
+
};
|
|
13427
|
+
};
|
|
13428
|
+
};
|
|
13429
|
+
readonly output: {
|
|
13430
|
+
readonly encoding: 'application/json';
|
|
13431
|
+
readonly schema: {
|
|
13432
|
+
readonly type: 'object';
|
|
13433
|
+
readonly required: ["preferences"];
|
|
13434
|
+
readonly properties: {
|
|
13435
|
+
readonly preferences: {
|
|
13436
|
+
readonly type: 'ref';
|
|
13437
|
+
readonly ref: 'lex:chat.bsky.notification.defs#preferences';
|
|
13438
|
+
};
|
|
13439
|
+
};
|
|
13440
|
+
};
|
|
13441
|
+
};
|
|
13442
|
+
};
|
|
13443
|
+
};
|
|
13444
|
+
};
|
|
13347
13445
|
readonly ComAtprotoAdminDefs: {
|
|
13348
13446
|
readonly lexicon: 1;
|
|
13349
13447
|
readonly id: 'com.atproto.admin.defs';
|
|
@@ -21553,6 +21651,11 @@ export declare const schemaDict: {
|
|
|
21553
21651
|
readonly ref: 'lex:tools.ozone.team.defs#member';
|
|
21554
21652
|
readonly description: 'Full member record of the moderator who created this activity';
|
|
21555
21653
|
};
|
|
21654
|
+
readonly report: {
|
|
21655
|
+
readonly type: 'ref';
|
|
21656
|
+
readonly ref: 'lex:tools.ozone.report.defs#reportView';
|
|
21657
|
+
readonly description: 'Full view of the report this activity belongs to.';
|
|
21658
|
+
};
|
|
21556
21659
|
readonly createdAt: {
|
|
21557
21660
|
readonly type: 'string';
|
|
21558
21661
|
readonly format: 'datetime';
|
|
@@ -21961,6 +22064,72 @@ export declare const schemaDict: {
|
|
|
21961
22064
|
};
|
|
21962
22065
|
};
|
|
21963
22066
|
};
|
|
22067
|
+
readonly ToolsOzoneReportQueryActivities: {
|
|
22068
|
+
readonly lexicon: 1;
|
|
22069
|
+
readonly id: 'tools.ozone.report.queryActivities';
|
|
22070
|
+
readonly defs: {
|
|
22071
|
+
readonly main: {
|
|
22072
|
+
readonly type: 'query';
|
|
22073
|
+
readonly description: 'Query report activities across all reports, ordered by createdAt. Used by downstream pollers; for per-report activity history use listActivities.';
|
|
22074
|
+
readonly parameters: {
|
|
22075
|
+
readonly type: 'params';
|
|
22076
|
+
readonly properties: {
|
|
22077
|
+
readonly activityTypes: {
|
|
22078
|
+
readonly type: 'array';
|
|
22079
|
+
readonly items: {
|
|
22080
|
+
readonly type: 'string';
|
|
22081
|
+
};
|
|
22082
|
+
readonly description: 'Filter to specific activity types (e.g. closeActivity, escalationActivity). If omitted, all types are returned.';
|
|
22083
|
+
};
|
|
22084
|
+
readonly createdAfter: {
|
|
22085
|
+
readonly type: 'string';
|
|
22086
|
+
readonly format: 'datetime';
|
|
22087
|
+
readonly description: 'Retrieve activities created at or after a given timestamp';
|
|
22088
|
+
};
|
|
22089
|
+
readonly createdBefore: {
|
|
22090
|
+
readonly type: 'string';
|
|
22091
|
+
readonly format: 'datetime';
|
|
22092
|
+
readonly description: 'Retrieve activities created at or before a given timestamp';
|
|
22093
|
+
};
|
|
22094
|
+
readonly sortDirection: {
|
|
22095
|
+
readonly type: 'string';
|
|
22096
|
+
readonly default: 'desc';
|
|
22097
|
+
readonly enum: ["asc", "desc"];
|
|
22098
|
+
};
|
|
22099
|
+
readonly limit: {
|
|
22100
|
+
readonly type: 'integer';
|
|
22101
|
+
readonly minimum: 1;
|
|
22102
|
+
readonly maximum: 100;
|
|
22103
|
+
readonly default: 50;
|
|
22104
|
+
};
|
|
22105
|
+
readonly cursor: {
|
|
22106
|
+
readonly type: 'string';
|
|
22107
|
+
readonly description: 'Cursor of the form `<createdAtMs>::<activityId>`.';
|
|
22108
|
+
};
|
|
22109
|
+
};
|
|
22110
|
+
};
|
|
22111
|
+
readonly output: {
|
|
22112
|
+
readonly encoding: 'application/json';
|
|
22113
|
+
readonly schema: {
|
|
22114
|
+
readonly type: 'object';
|
|
22115
|
+
readonly required: ["activities"];
|
|
22116
|
+
readonly properties: {
|
|
22117
|
+
readonly activities: {
|
|
22118
|
+
readonly type: 'array';
|
|
22119
|
+
readonly items: {
|
|
22120
|
+
readonly type: 'ref';
|
|
22121
|
+
readonly ref: 'lex:tools.ozone.report.defs#reportActivityView';
|
|
22122
|
+
};
|
|
22123
|
+
};
|
|
22124
|
+
readonly cursor: {
|
|
22125
|
+
readonly type: 'string';
|
|
22126
|
+
};
|
|
22127
|
+
};
|
|
22128
|
+
};
|
|
22129
|
+
};
|
|
22130
|
+
};
|
|
22131
|
+
};
|
|
22132
|
+
};
|
|
21964
22133
|
readonly ToolsOzoneReportQueryReports: {
|
|
21965
22134
|
readonly lexicon: 1;
|
|
21966
22135
|
readonly id: 'tools.ozone.report.queryReports';
|
|
@@ -30590,6 +30759,7 @@ export declare const schemas: ({
|
|
|
30590
30759
|
};
|
|
30591
30760
|
readonly chatPreference: {
|
|
30592
30761
|
readonly type: 'object';
|
|
30762
|
+
readonly description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.';
|
|
30593
30763
|
readonly required: ["include", "push"];
|
|
30594
30764
|
readonly properties: {
|
|
30595
30765
|
readonly include: {
|
|
@@ -30636,6 +30806,7 @@ export declare const schemas: ({
|
|
|
30636
30806
|
readonly chat: {
|
|
30637
30807
|
readonly type: 'ref';
|
|
30638
30808
|
readonly ref: 'lex:app.bsky.notification.defs#chatPreference';
|
|
30809
|
+
readonly description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.';
|
|
30639
30810
|
};
|
|
30640
30811
|
readonly follow: {
|
|
30641
30812
|
readonly type: 'ref';
|
|
@@ -31003,6 +31174,7 @@ export declare const schemas: ({
|
|
|
31003
31174
|
readonly chat: {
|
|
31004
31175
|
readonly type: 'ref';
|
|
31005
31176
|
readonly ref: 'lex:app.bsky.notification.defs#chatPreference';
|
|
31177
|
+
readonly description: "Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned.";
|
|
31006
31178
|
};
|
|
31007
31179
|
readonly follow: {
|
|
31008
31180
|
readonly type: 'ref';
|
|
@@ -37028,6 +37200,98 @@ export declare const schemas: ({
|
|
|
37028
37200
|
};
|
|
37029
37201
|
};
|
|
37030
37202
|
};
|
|
37203
|
+
} | {
|
|
37204
|
+
readonly lexicon: 1;
|
|
37205
|
+
readonly id: 'chat.bsky.notification.defs';
|
|
37206
|
+
readonly defs: {
|
|
37207
|
+
readonly preferences: {
|
|
37208
|
+
readonly type: 'object';
|
|
37209
|
+
readonly required: ["chat", "chatRequest"];
|
|
37210
|
+
readonly properties: {
|
|
37211
|
+
readonly chat: {
|
|
37212
|
+
readonly type: 'ref';
|
|
37213
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
37214
|
+
};
|
|
37215
|
+
readonly chatRequest: {
|
|
37216
|
+
readonly type: 'ref';
|
|
37217
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
37218
|
+
};
|
|
37219
|
+
};
|
|
37220
|
+
};
|
|
37221
|
+
readonly chatPreference: {
|
|
37222
|
+
readonly type: 'object';
|
|
37223
|
+
readonly required: ["include", "push"];
|
|
37224
|
+
readonly properties: {
|
|
37225
|
+
readonly include: {
|
|
37226
|
+
readonly type: 'string';
|
|
37227
|
+
readonly knownValues: ["all", "follows"];
|
|
37228
|
+
};
|
|
37229
|
+
readonly push: {
|
|
37230
|
+
readonly type: 'boolean';
|
|
37231
|
+
};
|
|
37232
|
+
};
|
|
37233
|
+
};
|
|
37234
|
+
};
|
|
37235
|
+
} | {
|
|
37236
|
+
readonly lexicon: 1;
|
|
37237
|
+
readonly id: 'chat.bsky.notification.getPreferences';
|
|
37238
|
+
readonly defs: {
|
|
37239
|
+
readonly main: {
|
|
37240
|
+
readonly type: 'query';
|
|
37241
|
+
readonly description: "Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.";
|
|
37242
|
+
readonly output: {
|
|
37243
|
+
readonly encoding: 'application/json';
|
|
37244
|
+
readonly schema: {
|
|
37245
|
+
readonly type: 'object';
|
|
37246
|
+
readonly required: ["preferences"];
|
|
37247
|
+
readonly properties: {
|
|
37248
|
+
readonly preferences: {
|
|
37249
|
+
readonly type: 'ref';
|
|
37250
|
+
readonly ref: 'lex:chat.bsky.notification.defs#preferences';
|
|
37251
|
+
};
|
|
37252
|
+
};
|
|
37253
|
+
};
|
|
37254
|
+
};
|
|
37255
|
+
};
|
|
37256
|
+
};
|
|
37257
|
+
} | {
|
|
37258
|
+
readonly lexicon: 1;
|
|
37259
|
+
readonly id: 'chat.bsky.notification.putPreferences';
|
|
37260
|
+
readonly defs: {
|
|
37261
|
+
readonly main: {
|
|
37262
|
+
readonly type: 'procedure';
|
|
37263
|
+
readonly description: "Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.";
|
|
37264
|
+
readonly input: {
|
|
37265
|
+
readonly encoding: 'application/json';
|
|
37266
|
+
readonly schema: {
|
|
37267
|
+
readonly type: 'object';
|
|
37268
|
+
readonly properties: {
|
|
37269
|
+
readonly chat: {
|
|
37270
|
+
readonly type: 'ref';
|
|
37271
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
37272
|
+
};
|
|
37273
|
+
readonly chatRequest: {
|
|
37274
|
+
readonly type: 'ref';
|
|
37275
|
+
readonly ref: 'lex:chat.bsky.notification.defs#chatPreference';
|
|
37276
|
+
};
|
|
37277
|
+
};
|
|
37278
|
+
};
|
|
37279
|
+
};
|
|
37280
|
+
readonly output: {
|
|
37281
|
+
readonly encoding: 'application/json';
|
|
37282
|
+
readonly schema: {
|
|
37283
|
+
readonly type: 'object';
|
|
37284
|
+
readonly required: ["preferences"];
|
|
37285
|
+
readonly properties: {
|
|
37286
|
+
readonly preferences: {
|
|
37287
|
+
readonly type: 'ref';
|
|
37288
|
+
readonly ref: 'lex:chat.bsky.notification.defs#preferences';
|
|
37289
|
+
};
|
|
37290
|
+
};
|
|
37291
|
+
};
|
|
37292
|
+
};
|
|
37293
|
+
};
|
|
37294
|
+
};
|
|
37031
37295
|
} | {
|
|
37032
37296
|
readonly lexicon: 1;
|
|
37033
37297
|
readonly id: 'com.atproto.admin.defs';
|
|
@@ -45109,6 +45373,11 @@ export declare const schemas: ({
|
|
|
45109
45373
|
readonly ref: 'lex:tools.ozone.team.defs#member';
|
|
45110
45374
|
readonly description: 'Full member record of the moderator who created this activity';
|
|
45111
45375
|
};
|
|
45376
|
+
readonly report: {
|
|
45377
|
+
readonly type: 'ref';
|
|
45378
|
+
readonly ref: 'lex:tools.ozone.report.defs#reportView';
|
|
45379
|
+
readonly description: 'Full view of the report this activity belongs to.';
|
|
45380
|
+
};
|
|
45112
45381
|
readonly createdAt: {
|
|
45113
45382
|
readonly type: 'string';
|
|
45114
45383
|
readonly format: 'datetime';
|
|
@@ -45510,6 +45779,71 @@ export declare const schemas: ({
|
|
|
45510
45779
|
};
|
|
45511
45780
|
};
|
|
45512
45781
|
};
|
|
45782
|
+
} | {
|
|
45783
|
+
readonly lexicon: 1;
|
|
45784
|
+
readonly id: 'tools.ozone.report.queryActivities';
|
|
45785
|
+
readonly defs: {
|
|
45786
|
+
readonly main: {
|
|
45787
|
+
readonly type: 'query';
|
|
45788
|
+
readonly description: 'Query report activities across all reports, ordered by createdAt. Used by downstream pollers; for per-report activity history use listActivities.';
|
|
45789
|
+
readonly parameters: {
|
|
45790
|
+
readonly type: 'params';
|
|
45791
|
+
readonly properties: {
|
|
45792
|
+
readonly activityTypes: {
|
|
45793
|
+
readonly type: 'array';
|
|
45794
|
+
readonly items: {
|
|
45795
|
+
readonly type: 'string';
|
|
45796
|
+
};
|
|
45797
|
+
readonly description: 'Filter to specific activity types (e.g. closeActivity, escalationActivity). If omitted, all types are returned.';
|
|
45798
|
+
};
|
|
45799
|
+
readonly createdAfter: {
|
|
45800
|
+
readonly type: 'string';
|
|
45801
|
+
readonly format: 'datetime';
|
|
45802
|
+
readonly description: 'Retrieve activities created at or after a given timestamp';
|
|
45803
|
+
};
|
|
45804
|
+
readonly createdBefore: {
|
|
45805
|
+
readonly type: 'string';
|
|
45806
|
+
readonly format: 'datetime';
|
|
45807
|
+
readonly description: 'Retrieve activities created at or before a given timestamp';
|
|
45808
|
+
};
|
|
45809
|
+
readonly sortDirection: {
|
|
45810
|
+
readonly type: 'string';
|
|
45811
|
+
readonly default: 'desc';
|
|
45812
|
+
readonly enum: ["asc", "desc"];
|
|
45813
|
+
};
|
|
45814
|
+
readonly limit: {
|
|
45815
|
+
readonly type: 'integer';
|
|
45816
|
+
readonly minimum: 1;
|
|
45817
|
+
readonly maximum: 100;
|
|
45818
|
+
readonly default: 50;
|
|
45819
|
+
};
|
|
45820
|
+
readonly cursor: {
|
|
45821
|
+
readonly type: 'string';
|
|
45822
|
+
readonly description: 'Cursor of the form `<createdAtMs>::<activityId>`.';
|
|
45823
|
+
};
|
|
45824
|
+
};
|
|
45825
|
+
};
|
|
45826
|
+
readonly output: {
|
|
45827
|
+
readonly encoding: 'application/json';
|
|
45828
|
+
readonly schema: {
|
|
45829
|
+
readonly type: 'object';
|
|
45830
|
+
readonly required: ["activities"];
|
|
45831
|
+
readonly properties: {
|
|
45832
|
+
readonly activities: {
|
|
45833
|
+
readonly type: 'array';
|
|
45834
|
+
readonly items: {
|
|
45835
|
+
readonly type: 'ref';
|
|
45836
|
+
readonly ref: 'lex:tools.ozone.report.defs#reportActivityView';
|
|
45837
|
+
};
|
|
45838
|
+
};
|
|
45839
|
+
readonly cursor: {
|
|
45840
|
+
readonly type: 'string';
|
|
45841
|
+
};
|
|
45842
|
+
};
|
|
45843
|
+
};
|
|
45844
|
+
};
|
|
45845
|
+
};
|
|
45846
|
+
};
|
|
45513
45847
|
} | {
|
|
45514
45848
|
readonly lexicon: 1;
|
|
45515
45849
|
readonly id: 'tools.ozone.report.queryReports';
|
|
@@ -47611,6 +47945,9 @@ export declare const ids: {
|
|
|
47611
47945
|
readonly ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext';
|
|
47612
47946
|
readonly ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents';
|
|
47613
47947
|
readonly ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess';
|
|
47948
|
+
readonly ChatBskyNotificationDefs: 'chat.bsky.notification.defs';
|
|
47949
|
+
readonly ChatBskyNotificationGetPreferences: 'chat.bsky.notification.getPreferences';
|
|
47950
|
+
readonly ChatBskyNotificationPutPreferences: 'chat.bsky.notification.putPreferences';
|
|
47614
47951
|
readonly ComAtprotoAdminDefs: 'com.atproto.admin.defs';
|
|
47615
47952
|
readonly ComAtprotoAdminDeleteAccount: 'com.atproto.admin.deleteAccount';
|
|
47616
47953
|
readonly ComAtprotoAdminDisableAccountInvites: 'com.atproto.admin.disableAccountInvites';
|
|
@@ -47746,6 +48083,7 @@ export declare const ids: {
|
|
|
47746
48083
|
readonly ToolsOzoneReportGetLiveStats: 'tools.ozone.report.getLiveStats';
|
|
47747
48084
|
readonly ToolsOzoneReportGetReport: 'tools.ozone.report.getReport';
|
|
47748
48085
|
readonly ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities';
|
|
48086
|
+
readonly ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities';
|
|
47749
48087
|
readonly ToolsOzoneReportQueryReports: 'tools.ozone.report.queryReports';
|
|
47750
48088
|
readonly ToolsOzoneReportReassignQueue: 'tools.ozone.report.reassignQueue';
|
|
47751
48089
|
readonly ToolsOzoneReportRefreshStats: 'tools.ozone.report.refreshStats';
|