@atproto/api 0.16.6 → 0.16.8
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 +17 -0
- package/dist/client/index.d.ts +66 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +107 -7
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +758 -16
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +485 -7
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/bookmark/createBookmark.d.ts +24 -0
- package/dist/client/types/app/bsky/bookmark/createBookmark.d.ts.map +1 -0
- package/dist/client/types/app/bsky/bookmark/createBookmark.js +26 -0
- package/dist/client/types/app/bsky/bookmark/createBookmark.js.map +1 -0
- package/dist/client/types/app/bsky/bookmark/defs.d.ts +25 -0
- package/dist/client/types/app/bsky/bookmark/defs.d.ts.map +1 -0
- package/dist/client/types/app/bsky/bookmark/defs.js +25 -0
- package/dist/client/types/app/bsky/bookmark/defs.js.map +1 -0
- package/dist/client/types/app/bsky/bookmark/deleteBookmark.d.ts +23 -0
- package/dist/client/types/app/bsky/bookmark/deleteBookmark.d.ts.map +1 -0
- package/dist/client/types/app/bsky/bookmark/deleteBookmark.js +26 -0
- package/dist/client/types/app/bsky/bookmark/deleteBookmark.js.map +1 -0
- package/dist/client/types/app/bsky/bookmark/getBookmarks.d.ts +25 -0
- package/dist/client/types/app/bsky/bookmark/getBookmarks.d.ts.map +1 -0
- package/dist/client/types/app/bsky/bookmark/getBookmarks.js +11 -0
- package/dist/client/types/app/bsky/bookmark/getBookmarks.js.map +1 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/com/atproto/moderation/defs.d.ts +8 -8
- package/dist/client/types/com/atproto/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/moderation/defs.js +7 -7
- package/dist/client/types/com/atproto/moderation/defs.js.map +1 -1
- package/dist/client/types/com/atproto/temp/dereferenceScope.d.ts +27 -0
- package/dist/client/types/com/atproto/temp/dereferenceScope.d.ts.map +1 -0
- package/dist/client/types/com/atproto/temp/dereferenceScope.js +26 -0
- package/dist/client/types/com/atproto/temp/dereferenceScope.js.map +1 -0
- package/dist/client/types/tools/ozone/report/defs.d.ts +92 -0
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/report/defs.js +98 -0
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -0
- package/package.json +5 -5
- package/src/client/index.ts +136 -0
- package/src/client/lexicons.ts +503 -7
- package/src/client/types/app/bsky/bookmark/createBookmark.ts +50 -0
- package/src/client/types/app/bsky/bookmark/defs.ts +54 -0
- package/src/client/types/app/bsky/bookmark/deleteBookmark.ts +49 -0
- package/src/client/types/app/bsky/bookmark/getBookmarks.ts +43 -0
- package/src/client/types/app/bsky/feed/defs.ts +2 -0
- package/src/client/types/com/atproto/moderation/defs.ts +52 -7
- package/src/client/types/com/atproto/temp/dereferenceScope.ts +53 -0
- package/src/client/types/tools/ozone/report/defs.ts +154 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.REASONCIVICIMPERSONATION = exports.REASONCIVICMISINFORMATION = exports.REASONCIVICINTERFERENCE = exports.REASONCIVICDISCLOSURE = exports.REASONCIVICELECTORALPROCESS = exports.REASONRULEOTHER = exports.REASONRULEBANEVASION = exports.REASONRULEPROHIBITEDSALES = exports.REASONRULESTOLENCONTENT = exports.REASONRULESITESECURITY = exports.REASONMISLEADINGOTHER = exports.REASONMISLEADINGMISINFORMATION = exports.REASONMISLEADINGSYNTHETICCONTENT = exports.REASONMISLEADINGSCAM = exports.REASONMISLEADINGSPAM = exports.REASONMISLEADINGIMPERSONATION = exports.REASONMISLEADINGBOT = exports.REASONHARASSMENTOTHER = exports.REASONHARASSMENTDOXXING = exports.REASONHARASSMENTHATESPEECH = exports.REASONHARASSMENTTARGETED = exports.REASONHARASSMENTTROLL = exports.REASONCHILDSAFETYOTHER = exports.REASONCHILDSAFETYPROMOTION = exports.REASONCHILDSAFETYHARASSMENT = exports.REASONCHILDSAFETYENDANGERMENT = exports.REASONCHILDSAFETYMINORPRIVACY = exports.REASONCHILDSAFETYGROOM = exports.REASONCHILDSAFETYCSAM = exports.REASONSEXUALOTHER = exports.REASONSEXUALUNLABELED = exports.REASONSEXUALANIMAL = exports.REASONSEXUALDEEPFAKE = exports.REASONSEXUALSEXTORTION = exports.REASONSEXUALNCII = exports.REASONSEXUALABUSECONTENT = exports.REASONVIOLENCEOTHER = exports.REASONVIOLENCETRAFFICKING = exports.REASONVIOLENCEEXTREMISTCONTENT = exports.REASONVIOLENCEGLORIFICATION = exports.REASONVIOLENCESELFHARM = exports.REASONVIOLENCEGRAPHICCONTENT = exports.REASONVIOLENCETHREATS = exports.REASONVIOLENCEANIMALWELFARE = exports.REASONAPPEAL = void 0;
|
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
5
|
+
const util_1 = require("../../../../util");
|
|
6
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
7
|
+
const id = 'tools.ozone.report.defs';
|
|
8
|
+
/** Appeal a previously taken moderation action */
|
|
9
|
+
exports.REASONAPPEAL = `${id}#reasonAppeal`;
|
|
10
|
+
/** Animal welfare violations */
|
|
11
|
+
exports.REASONVIOLENCEANIMALWELFARE = `${id}#reasonViolenceAnimalWelfare`;
|
|
12
|
+
/** Threats or incitement */
|
|
13
|
+
exports.REASONVIOLENCETHREATS = `${id}#reasonViolenceThreats`;
|
|
14
|
+
/** Graphic violent content */
|
|
15
|
+
exports.REASONVIOLENCEGRAPHICCONTENT = `${id}#reasonViolenceGraphicContent`;
|
|
16
|
+
/** Self harm */
|
|
17
|
+
exports.REASONVIOLENCESELFHARM = `${id}#reasonViolenceSelfHarm`;
|
|
18
|
+
/** Glorification of violence */
|
|
19
|
+
exports.REASONVIOLENCEGLORIFICATION = `${id}#reasonViolenceGlorification`;
|
|
20
|
+
/** Extremist content. These reports will be sent only be sent to the application's Moderation Authority. */
|
|
21
|
+
exports.REASONVIOLENCEEXTREMISTCONTENT = `${id}#reasonViolenceExtremistContent`;
|
|
22
|
+
/** Human trafficking */
|
|
23
|
+
exports.REASONVIOLENCETRAFFICKING = `${id}#reasonViolenceTrafficking`;
|
|
24
|
+
/** Other violent content */
|
|
25
|
+
exports.REASONVIOLENCEOTHER = `${id}#reasonViolenceOther`;
|
|
26
|
+
/** Adult sexual abuse content */
|
|
27
|
+
exports.REASONSEXUALABUSECONTENT = `${id}#reasonSexualAbuseContent`;
|
|
28
|
+
/** Non-consensual intimate imagery */
|
|
29
|
+
exports.REASONSEXUALNCII = `${id}#reasonSexualNCII`;
|
|
30
|
+
/** Sextortion */
|
|
31
|
+
exports.REASONSEXUALSEXTORTION = `${id}#reasonSexualSextortion`;
|
|
32
|
+
/** Deepfake adult content */
|
|
33
|
+
exports.REASONSEXUALDEEPFAKE = `${id}#reasonSexualDeepfake`;
|
|
34
|
+
/** Animal sexual abuse */
|
|
35
|
+
exports.REASONSEXUALANIMAL = `${id}#reasonSexualAnimal`;
|
|
36
|
+
/** Unlabelled adult content */
|
|
37
|
+
exports.REASONSEXUALUNLABELED = `${id}#reasonSexualUnlabeled`;
|
|
38
|
+
/** Other sexual violence content */
|
|
39
|
+
exports.REASONSEXUALOTHER = `${id}#reasonSexualOther`;
|
|
40
|
+
/** Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority. */
|
|
41
|
+
exports.REASONCHILDSAFETYCSAM = `${id}#reasonChildSafetyCSAM`;
|
|
42
|
+
/** Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority. */
|
|
43
|
+
exports.REASONCHILDSAFETYGROOM = `${id}#reasonChildSafetyGroom`;
|
|
44
|
+
/** Privacy violation involving a minor */
|
|
45
|
+
exports.REASONCHILDSAFETYMINORPRIVACY = `${id}#reasonChildSafetyMinorPrivacy`;
|
|
46
|
+
/** Child endangerment. These reports will be sent only be sent to the application's Moderation Authority. */
|
|
47
|
+
exports.REASONCHILDSAFETYENDANGERMENT = `${id}#reasonChildSafetyEndangerment`;
|
|
48
|
+
/** Harassment or bullying of minors */
|
|
49
|
+
exports.REASONCHILDSAFETYHARASSMENT = `${id}#reasonChildSafetyHarassment`;
|
|
50
|
+
/** Promotion of child exploitation. These reports will be sent only be sent to the application's Moderation Authority. */
|
|
51
|
+
exports.REASONCHILDSAFETYPROMOTION = `${id}#reasonChildSafetyPromotion`;
|
|
52
|
+
/** Other child safety. These reports will be sent only be sent to the application's Moderation Authority. */
|
|
53
|
+
exports.REASONCHILDSAFETYOTHER = `${id}#reasonChildSafetyOther`;
|
|
54
|
+
/** Trolling */
|
|
55
|
+
exports.REASONHARASSMENTTROLL = `${id}#reasonHarassmentTroll`;
|
|
56
|
+
/** Targeted harassment */
|
|
57
|
+
exports.REASONHARASSMENTTARGETED = `${id}#reasonHarassmentTargeted`;
|
|
58
|
+
/** Hate speech */
|
|
59
|
+
exports.REASONHARASSMENTHATESPEECH = `${id}#reasonHarassmentHateSpeech`;
|
|
60
|
+
/** Doxxing */
|
|
61
|
+
exports.REASONHARASSMENTDOXXING = `${id}#reasonHarassmentDoxxing`;
|
|
62
|
+
/** Other harassing or hateful content */
|
|
63
|
+
exports.REASONHARASSMENTOTHER = `${id}#reasonHarassmentOther`;
|
|
64
|
+
/** Fake account or bot */
|
|
65
|
+
exports.REASONMISLEADINGBOT = `${id}#reasonMisleadingBot`;
|
|
66
|
+
/** Impersonation */
|
|
67
|
+
exports.REASONMISLEADINGIMPERSONATION = `${id}#reasonMisleadingImpersonation`;
|
|
68
|
+
/** Spam */
|
|
69
|
+
exports.REASONMISLEADINGSPAM = `${id}#reasonMisleadingSpam`;
|
|
70
|
+
/** Scam */
|
|
71
|
+
exports.REASONMISLEADINGSCAM = `${id}#reasonMisleadingScam`;
|
|
72
|
+
/** Unlabelled gen-AI or synthetic content */
|
|
73
|
+
exports.REASONMISLEADINGSYNTHETICCONTENT = `${id}#reasonMisleadingSyntheticContent`;
|
|
74
|
+
/** Harmful false claims */
|
|
75
|
+
exports.REASONMISLEADINGMISINFORMATION = `${id}#reasonMisleadingMisinformation`;
|
|
76
|
+
/** Other misleading content */
|
|
77
|
+
exports.REASONMISLEADINGOTHER = `${id}#reasonMisleadingOther`;
|
|
78
|
+
/** Hacking or system attacks */
|
|
79
|
+
exports.REASONRULESITESECURITY = `${id}#reasonRuleSiteSecurity`;
|
|
80
|
+
/** Stolen content */
|
|
81
|
+
exports.REASONRULESTOLENCONTENT = `${id}#reasonRuleStolenContent`;
|
|
82
|
+
/** Promoting or selling prohibited items or services */
|
|
83
|
+
exports.REASONRULEPROHIBITEDSALES = `${id}#reasonRuleProhibitedSales`;
|
|
84
|
+
/** Banned user returning */
|
|
85
|
+
exports.REASONRULEBANEVASION = `${id}#reasonRuleBanEvasion`;
|
|
86
|
+
/** Other */
|
|
87
|
+
exports.REASONRULEOTHER = `${id}#reasonRuleOther`;
|
|
88
|
+
/** Electoral process violations */
|
|
89
|
+
exports.REASONCIVICELECTORALPROCESS = `${id}#reasonCivicElectoralProcess`;
|
|
90
|
+
/** Disclosure & transparency violations */
|
|
91
|
+
exports.REASONCIVICDISCLOSURE = `${id}#reasonCivicDisclosure`;
|
|
92
|
+
/** Voter intimidation or interference */
|
|
93
|
+
exports.REASONCIVICINTERFERENCE = `${id}#reasonCivicInterference`;
|
|
94
|
+
/** Election misinformation */
|
|
95
|
+
exports.REASONCIVICMISINFORMATION = `${id}#reasonCivicMisinformation`;
|
|
96
|
+
/** Impersonation of electoral officials/entities */
|
|
97
|
+
exports.REASONCIVICIMPERSONATION = `${id}#reasonCivicImpersonation`;
|
|
98
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/defs.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"multiformats": "^9.9.0",
|
|
22
22
|
"tlds": "^1.234.0",
|
|
23
23
|
"zod": "^3.23.8",
|
|
24
|
-
"@atproto/
|
|
25
|
-
"@atproto/
|
|
24
|
+
"@atproto/lexicon": "^0.5.1",
|
|
25
|
+
"@atproto/common-web": "^0.4.3",
|
|
26
26
|
"@atproto/syntax": "^0.4.1",
|
|
27
|
-
"@atproto/xrpc": "^0.7.
|
|
27
|
+
"@atproto/xrpc": "^0.7.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"jest": "^28.1.2",
|
|
31
31
|
"prettier": "^3.2.5",
|
|
32
32
|
"typescript": "^5.6.3",
|
|
33
|
-
"@atproto/lex-cli": "^0.9.
|
|
33
|
+
"@atproto/lex-cli": "^0.9.5"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"codegen": "node ./scripts/generate-code.mjs && lex gen-api --yes ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
|
package/src/client/index.ts
CHANGED
|
@@ -19,6 +19,10 @@ import * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferenc
|
|
|
19
19
|
import * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js'
|
|
20
20
|
import * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead.js'
|
|
21
21
|
import * as AppBskyActorStatus from './types/app/bsky/actor/status.js'
|
|
22
|
+
import * as AppBskyBookmarkCreateBookmark from './types/app/bsky/bookmark/createBookmark.js'
|
|
23
|
+
import * as AppBskyBookmarkDefs from './types/app/bsky/bookmark/defs.js'
|
|
24
|
+
import * as AppBskyBookmarkDeleteBookmark from './types/app/bsky/bookmark/deleteBookmark.js'
|
|
25
|
+
import * as AppBskyBookmarkGetBookmarks from './types/app/bsky/bookmark/getBookmarks.js'
|
|
22
26
|
import * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.js'
|
|
23
27
|
import * as AppBskyEmbedExternal from './types/app/bsky/embed/external.js'
|
|
24
28
|
import * as AppBskyEmbedImages from './types/app/bsky/embed/images.js'
|
|
@@ -237,6 +241,7 @@ import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscrib
|
|
|
237
241
|
import * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'
|
|
238
242
|
import * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'
|
|
239
243
|
import * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'
|
|
244
|
+
import * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js'
|
|
240
245
|
import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
|
|
241
246
|
import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
|
|
242
247
|
import * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'
|
|
@@ -259,6 +264,7 @@ import * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation
|
|
|
259
264
|
import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js'
|
|
260
265
|
import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js'
|
|
261
266
|
import * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js'
|
|
267
|
+
import * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js'
|
|
262
268
|
import * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js'
|
|
263
269
|
import * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js'
|
|
264
270
|
import * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js'
|
|
@@ -301,6 +307,10 @@ export * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferenc
|
|
|
301
307
|
export * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js'
|
|
302
308
|
export * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead.js'
|
|
303
309
|
export * as AppBskyActorStatus from './types/app/bsky/actor/status.js'
|
|
310
|
+
export * as AppBskyBookmarkCreateBookmark from './types/app/bsky/bookmark/createBookmark.js'
|
|
311
|
+
export * as AppBskyBookmarkDefs from './types/app/bsky/bookmark/defs.js'
|
|
312
|
+
export * as AppBskyBookmarkDeleteBookmark from './types/app/bsky/bookmark/deleteBookmark.js'
|
|
313
|
+
export * as AppBskyBookmarkGetBookmarks from './types/app/bsky/bookmark/getBookmarks.js'
|
|
304
314
|
export * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.js'
|
|
305
315
|
export * as AppBskyEmbedExternal from './types/app/bsky/embed/external.js'
|
|
306
316
|
export * as AppBskyEmbedImages from './types/app/bsky/embed/images.js'
|
|
@@ -519,6 +529,7 @@ export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscrib
|
|
|
519
529
|
export * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'
|
|
520
530
|
export * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'
|
|
521
531
|
export * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'
|
|
532
|
+
export * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js'
|
|
522
533
|
export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
|
|
523
534
|
export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
|
|
524
535
|
export * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'
|
|
@@ -541,6 +552,7 @@ export * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation
|
|
|
541
552
|
export * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js'
|
|
542
553
|
export * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js'
|
|
543
554
|
export * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js'
|
|
555
|
+
export * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js'
|
|
544
556
|
export * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js'
|
|
545
557
|
export * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js'
|
|
546
558
|
export * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js'
|
|
@@ -618,6 +630,75 @@ export const TOOLS_OZONE_MODERATION = {
|
|
|
618
630
|
DefsTimelineEventPlcTombstone:
|
|
619
631
|
'tools.ozone.moderation.defs#timelineEventPlcTombstone',
|
|
620
632
|
}
|
|
633
|
+
export const TOOLS_OZONE_REPORT = {
|
|
634
|
+
DefsReasonAppeal: 'tools.ozone.report.defs#reasonAppeal',
|
|
635
|
+
DefsReasonViolenceAnimalWelfare:
|
|
636
|
+
'tools.ozone.report.defs#reasonViolenceAnimalWelfare',
|
|
637
|
+
DefsReasonViolenceThreats: 'tools.ozone.report.defs#reasonViolenceThreats',
|
|
638
|
+
DefsReasonViolenceGraphicContent:
|
|
639
|
+
'tools.ozone.report.defs#reasonViolenceGraphicContent',
|
|
640
|
+
DefsReasonViolenceSelfHarm: 'tools.ozone.report.defs#reasonViolenceSelfHarm',
|
|
641
|
+
DefsReasonViolenceGlorification:
|
|
642
|
+
'tools.ozone.report.defs#reasonViolenceGlorification',
|
|
643
|
+
DefsReasonViolenceExtremistContent:
|
|
644
|
+
'tools.ozone.report.defs#reasonViolenceExtremistContent',
|
|
645
|
+
DefsReasonViolenceTrafficking:
|
|
646
|
+
'tools.ozone.report.defs#reasonViolenceTrafficking',
|
|
647
|
+
DefsReasonViolenceOther: 'tools.ozone.report.defs#reasonViolenceOther',
|
|
648
|
+
DefsReasonSexualAbuseContent:
|
|
649
|
+
'tools.ozone.report.defs#reasonSexualAbuseContent',
|
|
650
|
+
DefsReasonSexualNCII: 'tools.ozone.report.defs#reasonSexualNCII',
|
|
651
|
+
DefsReasonSexualSextortion: 'tools.ozone.report.defs#reasonSexualSextortion',
|
|
652
|
+
DefsReasonSexualDeepfake: 'tools.ozone.report.defs#reasonSexualDeepfake',
|
|
653
|
+
DefsReasonSexualAnimal: 'tools.ozone.report.defs#reasonSexualAnimal',
|
|
654
|
+
DefsReasonSexualUnlabeled: 'tools.ozone.report.defs#reasonSexualUnlabeled',
|
|
655
|
+
DefsReasonSexualOther: 'tools.ozone.report.defs#reasonSexualOther',
|
|
656
|
+
DefsReasonChildSafetyCSAM: 'tools.ozone.report.defs#reasonChildSafetyCSAM',
|
|
657
|
+
DefsReasonChildSafetyGroom: 'tools.ozone.report.defs#reasonChildSafetyGroom',
|
|
658
|
+
DefsReasonChildSafetyMinorPrivacy:
|
|
659
|
+
'tools.ozone.report.defs#reasonChildSafetyMinorPrivacy',
|
|
660
|
+
DefsReasonChildSafetyEndangerment:
|
|
661
|
+
'tools.ozone.report.defs#reasonChildSafetyEndangerment',
|
|
662
|
+
DefsReasonChildSafetyHarassment:
|
|
663
|
+
'tools.ozone.report.defs#reasonChildSafetyHarassment',
|
|
664
|
+
DefsReasonChildSafetyPromotion:
|
|
665
|
+
'tools.ozone.report.defs#reasonChildSafetyPromotion',
|
|
666
|
+
DefsReasonChildSafetyOther: 'tools.ozone.report.defs#reasonChildSafetyOther',
|
|
667
|
+
DefsReasonHarassmentTroll: 'tools.ozone.report.defs#reasonHarassmentTroll',
|
|
668
|
+
DefsReasonHarassmentTargeted:
|
|
669
|
+
'tools.ozone.report.defs#reasonHarassmentTargeted',
|
|
670
|
+
DefsReasonHarassmentHateSpeech:
|
|
671
|
+
'tools.ozone.report.defs#reasonHarassmentHateSpeech',
|
|
672
|
+
DefsReasonHarassmentDoxxing:
|
|
673
|
+
'tools.ozone.report.defs#reasonHarassmentDoxxing',
|
|
674
|
+
DefsReasonHarassmentOther: 'tools.ozone.report.defs#reasonHarassmentOther',
|
|
675
|
+
DefsReasonMisleadingBot: 'tools.ozone.report.defs#reasonMisleadingBot',
|
|
676
|
+
DefsReasonMisleadingImpersonation:
|
|
677
|
+
'tools.ozone.report.defs#reasonMisleadingImpersonation',
|
|
678
|
+
DefsReasonMisleadingSpam: 'tools.ozone.report.defs#reasonMisleadingSpam',
|
|
679
|
+
DefsReasonMisleadingScam: 'tools.ozone.report.defs#reasonMisleadingScam',
|
|
680
|
+
DefsReasonMisleadingSyntheticContent:
|
|
681
|
+
'tools.ozone.report.defs#reasonMisleadingSyntheticContent',
|
|
682
|
+
DefsReasonMisleadingMisinformation:
|
|
683
|
+
'tools.ozone.report.defs#reasonMisleadingMisinformation',
|
|
684
|
+
DefsReasonMisleadingOther: 'tools.ozone.report.defs#reasonMisleadingOther',
|
|
685
|
+
DefsReasonRuleSiteSecurity: 'tools.ozone.report.defs#reasonRuleSiteSecurity',
|
|
686
|
+
DefsReasonRuleStolenContent:
|
|
687
|
+
'tools.ozone.report.defs#reasonRuleStolenContent',
|
|
688
|
+
DefsReasonRuleProhibitedSales:
|
|
689
|
+
'tools.ozone.report.defs#reasonRuleProhibitedSales',
|
|
690
|
+
DefsReasonRuleBanEvasion: 'tools.ozone.report.defs#reasonRuleBanEvasion',
|
|
691
|
+
DefsReasonRuleOther: 'tools.ozone.report.defs#reasonRuleOther',
|
|
692
|
+
DefsReasonCivicElectoralProcess:
|
|
693
|
+
'tools.ozone.report.defs#reasonCivicElectoralProcess',
|
|
694
|
+
DefsReasonCivicDisclosure: 'tools.ozone.report.defs#reasonCivicDisclosure',
|
|
695
|
+
DefsReasonCivicInterference:
|
|
696
|
+
'tools.ozone.report.defs#reasonCivicInterference',
|
|
697
|
+
DefsReasonCivicMisinformation:
|
|
698
|
+
'tools.ozone.report.defs#reasonCivicMisinformation',
|
|
699
|
+
DefsReasonCivicImpersonation:
|
|
700
|
+
'tools.ozone.report.defs#reasonCivicImpersonation',
|
|
701
|
+
}
|
|
621
702
|
export const TOOLS_OZONE_TEAM = {
|
|
622
703
|
DefsRoleAdmin: 'tools.ozone.team.defs#roleAdmin',
|
|
623
704
|
DefsRoleModerator: 'tools.ozone.team.defs#roleModerator',
|
|
@@ -658,6 +739,7 @@ export class AppNS {
|
|
|
658
739
|
export class AppBskyNS {
|
|
659
740
|
_client: XrpcClient
|
|
660
741
|
actor: AppBskyActorNS
|
|
742
|
+
bookmark: AppBskyBookmarkNS
|
|
661
743
|
embed: AppBskyEmbedNS
|
|
662
744
|
feed: AppBskyFeedNS
|
|
663
745
|
graph: AppBskyGraphNS
|
|
@@ -670,6 +752,7 @@ export class AppBskyNS {
|
|
|
670
752
|
constructor(client: XrpcClient) {
|
|
671
753
|
this._client = client
|
|
672
754
|
this.actor = new AppBskyActorNS(client)
|
|
755
|
+
this.bookmark = new AppBskyBookmarkNS(client)
|
|
673
756
|
this.embed = new AppBskyEmbedNS(client)
|
|
674
757
|
this.feed = new AppBskyFeedNS(client)
|
|
675
758
|
this.graph = new AppBskyGraphNS(client)
|
|
@@ -945,6 +1028,48 @@ export class AppBskyActorStatusRecord {
|
|
|
945
1028
|
}
|
|
946
1029
|
}
|
|
947
1030
|
|
|
1031
|
+
export class AppBskyBookmarkNS {
|
|
1032
|
+
_client: XrpcClient
|
|
1033
|
+
|
|
1034
|
+
constructor(client: XrpcClient) {
|
|
1035
|
+
this._client = client
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
createBookmark(
|
|
1039
|
+
data?: AppBskyBookmarkCreateBookmark.InputSchema,
|
|
1040
|
+
opts?: AppBskyBookmarkCreateBookmark.CallOptions,
|
|
1041
|
+
): Promise<AppBskyBookmarkCreateBookmark.Response> {
|
|
1042
|
+
return this._client
|
|
1043
|
+
.call('app.bsky.bookmark.createBookmark', opts?.qp, data, opts)
|
|
1044
|
+
.catch((e) => {
|
|
1045
|
+
throw AppBskyBookmarkCreateBookmark.toKnownErr(e)
|
|
1046
|
+
})
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
deleteBookmark(
|
|
1050
|
+
data?: AppBskyBookmarkDeleteBookmark.InputSchema,
|
|
1051
|
+
opts?: AppBskyBookmarkDeleteBookmark.CallOptions,
|
|
1052
|
+
): Promise<AppBskyBookmarkDeleteBookmark.Response> {
|
|
1053
|
+
return this._client
|
|
1054
|
+
.call('app.bsky.bookmark.deleteBookmark', opts?.qp, data, opts)
|
|
1055
|
+
.catch((e) => {
|
|
1056
|
+
throw AppBskyBookmarkDeleteBookmark.toKnownErr(e)
|
|
1057
|
+
})
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
getBookmarks(
|
|
1061
|
+
params?: AppBskyBookmarkGetBookmarks.QueryParams,
|
|
1062
|
+
opts?: AppBskyBookmarkGetBookmarks.CallOptions,
|
|
1063
|
+
): Promise<AppBskyBookmarkGetBookmarks.Response> {
|
|
1064
|
+
return this._client.call(
|
|
1065
|
+
'app.bsky.bookmark.getBookmarks',
|
|
1066
|
+
params,
|
|
1067
|
+
undefined,
|
|
1068
|
+
opts,
|
|
1069
|
+
)
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
948
1073
|
export class AppBskyEmbedNS {
|
|
949
1074
|
_client: XrpcClient
|
|
950
1075
|
|
|
@@ -4590,6 +4715,17 @@ export class ComAtprotoTempNS {
|
|
|
4590
4715
|
)
|
|
4591
4716
|
}
|
|
4592
4717
|
|
|
4718
|
+
dereferenceScope(
|
|
4719
|
+
params?: ComAtprotoTempDereferenceScope.QueryParams,
|
|
4720
|
+
opts?: ComAtprotoTempDereferenceScope.CallOptions,
|
|
4721
|
+
): Promise<ComAtprotoTempDereferenceScope.Response> {
|
|
4722
|
+
return this._client
|
|
4723
|
+
.call('com.atproto.temp.dereferenceScope', params, undefined, opts)
|
|
4724
|
+
.catch((e) => {
|
|
4725
|
+
throw ComAtprotoTempDereferenceScope.toKnownErr(e)
|
|
4726
|
+
})
|
|
4727
|
+
}
|
|
4728
|
+
|
|
4593
4729
|
fetchLabels(
|
|
4594
4730
|
params?: ComAtprotoTempFetchLabels.QueryParams,
|
|
4595
4731
|
opts?: ComAtprotoTempFetchLabels.CallOptions,
|