@atproto/api 0.16.7 → 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.
Files changed (28) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/client/index.d.ts +51 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +61 -4
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +470 -16
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +329 -7
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/com/atproto/moderation/defs.d.ts +8 -8
  11. package/dist/client/types/com/atproto/moderation/defs.d.ts.map +1 -1
  12. package/dist/client/types/com/atproto/moderation/defs.js +7 -7
  13. package/dist/client/types/com/atproto/moderation/defs.js.map +1 -1
  14. package/dist/client/types/com/atproto/temp/dereferenceScope.d.ts +27 -0
  15. package/dist/client/types/com/atproto/temp/dereferenceScope.d.ts.map +1 -0
  16. package/dist/client/types/com/atproto/temp/dereferenceScope.js +26 -0
  17. package/dist/client/types/com/atproto/temp/dereferenceScope.js.map +1 -0
  18. package/dist/client/types/tools/ozone/report/defs.d.ts +92 -0
  19. package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -0
  20. package/dist/client/types/tools/ozone/report/defs.js +98 -0
  21. package/dist/client/types/tools/ozone/report/defs.js.map +1 -0
  22. package/package.json +5 -5
  23. package/src/client/index.ts +84 -0
  24. package/src/client/lexicons.ts +341 -7
  25. package/src/client/types/com/atproto/moderation/defs.ts +52 -7
  26. package/src/client/types/com/atproto/temp/dereferenceScope.ts +53 -0
  27. package/src/client/types/tools/ozone/report/defs.ts +154 -0
  28. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,17 +1,17 @@
1
- export type ReasonType = 'com.atproto.moderation.defs#reasonSpam' | 'com.atproto.moderation.defs#reasonViolation' | 'com.atproto.moderation.defs#reasonMisleading' | 'com.atproto.moderation.defs#reasonSexual' | 'com.atproto.moderation.defs#reasonRude' | 'com.atproto.moderation.defs#reasonOther' | 'com.atproto.moderation.defs#reasonAppeal' | (string & {});
2
- /** Spam: frequent unwanted promotion, replies, mentions */
1
+ export type ReasonType = 'com.atproto.moderation.defs#reasonSpam' | 'com.atproto.moderation.defs#reasonViolation' | 'com.atproto.moderation.defs#reasonMisleading' | 'com.atproto.moderation.defs#reasonSexual' | 'com.atproto.moderation.defs#reasonRude' | 'com.atproto.moderation.defs#reasonOther' | 'com.atproto.moderation.defs#reasonAppeal' | 'tools.ozone.report.defs#reasonAppeal' | 'tools.ozone.report.defs#reasonViolenceAnimalWelfare' | 'tools.ozone.report.defs#reasonViolenceThreats' | 'tools.ozone.report.defs#reasonViolenceGraphicContent' | 'tools.ozone.report.defs#reasonViolenceSelfHarm' | 'tools.ozone.report.defs#reasonViolenceGlorification' | 'tools.ozone.report.defs#reasonViolenceExtremistContent' | 'tools.ozone.report.defs#reasonViolenceTrafficking' | 'tools.ozone.report.defs#reasonViolenceOther' | 'tools.ozone.report.defs#reasonSexualAbuseContent' | 'tools.ozone.report.defs#reasonSexualNCII' | 'tools.ozone.report.defs#reasonSexualSextortion' | 'tools.ozone.report.defs#reasonSexualDeepfake' | 'tools.ozone.report.defs#reasonSexualAnimal' | 'tools.ozone.report.defs#reasonSexualUnlabeled' | 'tools.ozone.report.defs#reasonSexualOther' | 'tools.ozone.report.defs#reasonChildSafetyCSAM' | 'tools.ozone.report.defs#reasonChildSafetyGroom' | 'tools.ozone.report.defs#reasonChildSafetyMinorPrivacy' | 'tools.ozone.report.defs#reasonChildSafetyEndangerment' | 'tools.ozone.report.defs#reasonChildSafetyHarassment' | 'tools.ozone.report.defs#reasonChildSafetyPromotion' | 'tools.ozone.report.defs#reasonChildSafetyOther' | 'tools.ozone.report.defs#reasonHarassmentTroll' | 'tools.ozone.report.defs#reasonHarassmentTargeted' | 'tools.ozone.report.defs#reasonHarassmentHateSpeech' | 'tools.ozone.report.defs#reasonHarassmentDoxxing' | 'tools.ozone.report.defs#reasonHarassmentOther' | 'tools.ozone.report.defs#reasonMisleadingBot' | 'tools.ozone.report.defs#reasonMisleadingImpersonation' | 'tools.ozone.report.defs#reasonMisleadingSpam' | 'tools.ozone.report.defs#reasonMisleadingScam' | 'tools.ozone.report.defs#reasonMisleadingSyntheticContent' | 'tools.ozone.report.defs#reasonMisleadingMisinformation' | 'tools.ozone.report.defs#reasonMisleadingOther' | 'tools.ozone.report.defs#reasonRuleSiteSecurity' | 'tools.ozone.report.defs#reasonRuleStolenContent' | 'tools.ozone.report.defs#reasonRuleProhibitedSales' | 'tools.ozone.report.defs#reasonRuleBanEvasion' | 'tools.ozone.report.defs#reasonRuleOther' | 'tools.ozone.report.defs#reasonCivicElectoralProcess' | 'tools.ozone.report.defs#reasonCivicDisclosure' | 'tools.ozone.report.defs#reasonCivicInterference' | 'tools.ozone.report.defs#reasonCivicMisinformation' | 'tools.ozone.report.defs#reasonCivicImpersonation' | (string & {});
2
+ /** Spam: frequent unwanted promotion, replies, mentions. Prefer new lexicon definition `tools.ozone.report.defs#reasonMisleadingSpam`. */
3
3
  export declare const REASONSPAM = "com.atproto.moderation.defs#reasonSpam";
4
- /** Direct violation of server rules, laws, terms of service */
4
+ /** Direct violation of server rules, laws, terms of service. Prefer new lexicon definition `tools.ozone.report.defs#reasonRuleOther`. */
5
5
  export declare const REASONVIOLATION = "com.atproto.moderation.defs#reasonViolation";
6
- /** Misleading identity, affiliation, or content */
6
+ /** Misleading identity, affiliation, or content. Prefer new lexicon definition `tools.ozone.report.defs#reasonMisleadingOther`. */
7
7
  export declare const REASONMISLEADING = "com.atproto.moderation.defs#reasonMisleading";
8
- /** Unwanted or mislabeled sexual content */
8
+ /** Unwanted or mislabeled sexual content. Prefer new lexicon definition `tools.ozone.report.defs#reasonSexualUnlabeled`. */
9
9
  export declare const REASONSEXUAL = "com.atproto.moderation.defs#reasonSexual";
10
- /** Rude, harassing, explicit, or otherwise unwelcoming behavior */
10
+ /** Rude, harassing, explicit, or otherwise unwelcoming behavior. Prefer new lexicon definition `tools.ozone.report.defs#reasonHarassmentOther`. */
11
11
  export declare const REASONRUDE = "com.atproto.moderation.defs#reasonRude";
12
- /** Other: reports not falling under another report category */
12
+ /** Reports not falling under another report category. Prefer new lexicon definition `tools.ozone.report.defs#reasonRuleOther`. */
13
13
  export declare const REASONOTHER = "com.atproto.moderation.defs#reasonOther";
14
- /** Appeal: appeal a previously taken moderation action */
14
+ /** Appeal a previously taken moderation action */
15
15
  export declare const REASONAPPEAL = "com.atproto.moderation.defs#reasonAppeal";
16
16
  /** Tag describing a type of subject that might be reported. */
17
17
  export type SubjectType = 'account' | 'record' | 'chat' | (string & {});
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/moderation/defs.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,UAAU,GAClB,wCAAwC,GACxC,6CAA6C,GAC7C,8CAA8C,GAC9C,0CAA0C,GAC1C,wCAAwC,GACxC,yCAAyC,GACzC,0CAA0C,GAC1C,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAEjB,2DAA2D;AAC3D,eAAO,MAAM,UAAU,2CAAqB,CAAA;AAC5C,+DAA+D;AAC/D,eAAO,MAAM,eAAe,gDAA0B,CAAA;AACtD,mDAAmD;AACnD,eAAO,MAAM,gBAAgB,iDAA2B,CAAA;AACxD,4CAA4C;AAC5C,eAAO,MAAM,YAAY,6CAAuB,CAAA;AAChD,mEAAmE;AACnE,eAAO,MAAM,UAAU,2CAAqB,CAAA;AAC5C,+DAA+D;AAC/D,eAAO,MAAM,WAAW,4CAAsB,CAAA;AAC9C,0DAA0D;AAC1D,eAAO,MAAM,YAAY,6CAAuB,CAAA;AAEhD,+DAA+D;AAC/D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/moderation/defs.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,UAAU,GAClB,wCAAwC,GACxC,6CAA6C,GAC7C,8CAA8C,GAC9C,0CAA0C,GAC1C,wCAAwC,GACxC,yCAAyC,GACzC,0CAA0C,GAC1C,sCAAsC,GACtC,qDAAqD,GACrD,+CAA+C,GAC/C,sDAAsD,GACtD,gDAAgD,GAChD,qDAAqD,GACrD,wDAAwD,GACxD,mDAAmD,GACnD,6CAA6C,GAC7C,kDAAkD,GAClD,0CAA0C,GAC1C,gDAAgD,GAChD,8CAA8C,GAC9C,4CAA4C,GAC5C,+CAA+C,GAC/C,2CAA2C,GAC3C,+CAA+C,GAC/C,gDAAgD,GAChD,uDAAuD,GACvD,uDAAuD,GACvD,qDAAqD,GACrD,oDAAoD,GACpD,gDAAgD,GAChD,+CAA+C,GAC/C,kDAAkD,GAClD,oDAAoD,GACpD,iDAAiD,GACjD,+CAA+C,GAC/C,6CAA6C,GAC7C,uDAAuD,GACvD,8CAA8C,GAC9C,8CAA8C,GAC9C,0DAA0D,GAC1D,wDAAwD,GACxD,+CAA+C,GAC/C,gDAAgD,GAChD,iDAAiD,GACjD,mDAAmD,GACnD,8CAA8C,GAC9C,yCAAyC,GACzC,qDAAqD,GACrD,+CAA+C,GAC/C,iDAAiD,GACjD,mDAAmD,GACnD,kDAAkD,GAClD,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAEjB,0IAA0I;AAC1I,eAAO,MAAM,UAAU,2CAAqB,CAAA;AAC5C,yIAAyI;AACzI,eAAO,MAAM,eAAe,gDAA0B,CAAA;AACtD,mIAAmI;AACnI,eAAO,MAAM,gBAAgB,iDAA2B,CAAA;AACxD,4HAA4H;AAC5H,eAAO,MAAM,YAAY,6CAAuB,CAAA;AAChD,mJAAmJ;AACnJ,eAAO,MAAM,UAAU,2CAAqB,CAAA;AAC5C,kIAAkI;AAClI,eAAO,MAAM,WAAW,4CAAsB,CAAA;AAC9C,kDAAkD;AAClD,eAAO,MAAM,YAAY,6CAAuB,CAAA;AAEhD,+DAA+D;AAC/D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA"}
@@ -5,18 +5,18 @@ const lexicons_1 = require("../../../../lexicons");
5
5
  const util_1 = require("../../../../util");
6
6
  const is$typed = util_1.is$typed, validate = lexicons_1.validate;
7
7
  const id = 'com.atproto.moderation.defs';
8
- /** Spam: frequent unwanted promotion, replies, mentions */
8
+ /** Spam: frequent unwanted promotion, replies, mentions. Prefer new lexicon definition `tools.ozone.report.defs#reasonMisleadingSpam`. */
9
9
  exports.REASONSPAM = `${id}#reasonSpam`;
10
- /** Direct violation of server rules, laws, terms of service */
10
+ /** Direct violation of server rules, laws, terms of service. Prefer new lexicon definition `tools.ozone.report.defs#reasonRuleOther`. */
11
11
  exports.REASONVIOLATION = `${id}#reasonViolation`;
12
- /** Misleading identity, affiliation, or content */
12
+ /** Misleading identity, affiliation, or content. Prefer new lexicon definition `tools.ozone.report.defs#reasonMisleadingOther`. */
13
13
  exports.REASONMISLEADING = `${id}#reasonMisleading`;
14
- /** Unwanted or mislabeled sexual content */
14
+ /** Unwanted or mislabeled sexual content. Prefer new lexicon definition `tools.ozone.report.defs#reasonSexualUnlabeled`. */
15
15
  exports.REASONSEXUAL = `${id}#reasonSexual`;
16
- /** Rude, harassing, explicit, or otherwise unwelcoming behavior */
16
+ /** Rude, harassing, explicit, or otherwise unwelcoming behavior. Prefer new lexicon definition `tools.ozone.report.defs#reasonHarassmentOther`. */
17
17
  exports.REASONRUDE = `${id}#reasonRude`;
18
- /** Other: reports not falling under another report category */
18
+ /** Reports not falling under another report category. Prefer new lexicon definition `tools.ozone.report.defs#reasonRuleOther`. */
19
19
  exports.REASONOTHER = `${id}#reasonOther`;
20
- /** Appeal: appeal a previously taken moderation action */
20
+ /** Appeal a previously taken moderation action */
21
21
  exports.REASONAPPEAL = `${id}#reasonAppeal`;
22
22
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/moderation/defs.ts"],"names":[],"mappings":";;;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AAYxC,2DAA2D;AAC9C,QAAA,UAAU,GAAG,GAAG,EAAE,aAAa,CAAA;AAC5C,+DAA+D;AAClD,QAAA,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,mDAAmD;AACtC,QAAA,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,4CAA4C;AAC/B,QAAA,YAAY,GAAG,GAAG,EAAE,eAAe,CAAA;AAChD,mEAAmE;AACtD,QAAA,UAAU,GAAG,GAAG,EAAE,aAAa,CAAA;AAC5C,+DAA+D;AAClD,QAAA,WAAW,GAAG,GAAG,EAAE,cAAc,CAAA;AAC9C,0DAA0D;AAC7C,QAAA,YAAY,GAAG,GAAG,EAAE,eAAe,CAAA"}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/moderation/defs.ts"],"names":[],"mappings":";;;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AAyDxC,0IAA0I;AAC7H,QAAA,UAAU,GAAG,GAAG,EAAE,aAAa,CAAA;AAC5C,yIAAyI;AAC5H,QAAA,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,mIAAmI;AACtH,QAAA,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,4HAA4H;AAC/G,QAAA,YAAY,GAAG,GAAG,EAAE,eAAe,CAAA;AAChD,mJAAmJ;AACtI,QAAA,UAAU,GAAG,GAAG,EAAE,aAAa,CAAA;AAC5C,kIAAkI;AACrH,QAAA,WAAW,GAAG,GAAG,EAAE,cAAc,CAAA;AAC9C,kDAAkD;AACrC,QAAA,YAAY,GAAG,GAAG,EAAE,eAAe,CAAA"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ export type QueryParams = {
6
+ /** The scope reference (starts with 'ref:') */
7
+ scope: string;
8
+ };
9
+ export type InputSchema = undefined;
10
+ export interface OutputSchema {
11
+ /** The full oauth permission scope */
12
+ scope: string;
13
+ }
14
+ export interface CallOptions {
15
+ signal?: AbortSignal;
16
+ headers?: HeadersMap;
17
+ }
18
+ export interface Response {
19
+ success: boolean;
20
+ headers: HeadersMap;
21
+ data: OutputSchema;
22
+ }
23
+ export declare class InvalidScopeReferenceError extends XRPCError {
24
+ constructor(src: XRPCError);
25
+ }
26
+ export declare function toKnownErr(e: any): any;
27
+ //# sourceMappingURL=dereferenceScope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dereferenceScope.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/temp/dereferenceScope.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,0BAA2B,SAAQ,SAAS;gBAC3C,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAOhC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidScopeReferenceError = void 0;
4
+ exports.toKnownErr = toKnownErr;
5
+ /**
6
+ * GENERATED CODE - DO NOT MODIFY
7
+ */
8
+ const xrpc_1 = require("@atproto/xrpc");
9
+ const lexicons_1 = require("../../../../lexicons");
10
+ const util_1 = require("../../../../util");
11
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
12
+ const id = 'com.atproto.temp.dereferenceScope';
13
+ class InvalidScopeReferenceError extends xrpc_1.XRPCError {
14
+ constructor(src) {
15
+ super(src.status, src.error, src.message, src.headers, { cause: src });
16
+ }
17
+ }
18
+ exports.InvalidScopeReferenceError = InvalidScopeReferenceError;
19
+ function toKnownErr(e) {
20
+ if (e instanceof xrpc_1.XRPCError) {
21
+ if (e.error === 'InvalidScopeReference')
22
+ return new InvalidScopeReferenceError(e);
23
+ }
24
+ return e;
25
+ }
26
+ //# sourceMappingURL=dereferenceScope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dereferenceScope.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/temp/dereferenceScope.ts"],"names":[],"mappings":";;;AA6CA,gCAOC;AApDD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,mCAAmC,CAAA;AAwB9C,MAAa,0BAA2B,SAAQ,gBAAS;IACvD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAJD,gEAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,uBAAuB;YACrC,OAAO,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;IAC5C,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC"}
@@ -0,0 +1,92 @@
1
+ export type ReasonType = 'tools.ozone.report.defs#reasonAppeal' | 'tools.ozone.report.defs#reasonViolenceAnimalWelfare' | 'tools.ozone.report.defs#reasonViolenceThreats' | 'tools.ozone.report.defs#reasonViolenceGraphicContent' | 'tools.ozone.report.defs#reasonViolenceSelfHarm' | 'tools.ozone.report.defs#reasonViolenceGlorification' | 'tools.ozone.report.defs#reasonViolenceExtremistContent' | 'tools.ozone.report.defs#reasonViolenceTrafficking' | 'tools.ozone.report.defs#reasonViolenceOther' | 'tools.ozone.report.defs#reasonSexualAbuseContent' | 'tools.ozone.report.defs#reasonSexualNCII' | 'tools.ozone.report.defs#reasonSexualSextortion' | 'tools.ozone.report.defs#reasonSexualDeepfake' | 'tools.ozone.report.defs#reasonSexualAnimal' | 'tools.ozone.report.defs#reasonSexualUnlabeled' | 'tools.ozone.report.defs#reasonSexualOther' | 'tools.ozone.report.defs#reasonChildSafetyCSAM' | 'tools.ozone.report.defs#reasonChildSafetyGroom' | 'tools.ozone.report.defs#reasonChildSafetyMinorPrivacy' | 'tools.ozone.report.defs#reasonChildSafetyEndangerment' | 'tools.ozone.report.defs#reasonChildSafetyHarassment' | 'tools.ozone.report.defs#reasonChildSafetyPromotion' | 'tools.ozone.report.defs#reasonChildSafetyOther' | 'tools.ozone.report.defs#reasonHarassmentTroll' | 'tools.ozone.report.defs#reasonHarassmentTargeted' | 'tools.ozone.report.defs#reasonHarassmentHateSpeech' | 'tools.ozone.report.defs#reasonHarassmentDoxxing' | 'tools.ozone.report.defs#reasonHarassmentOther' | 'tools.ozone.report.defs#reasonMisleadingBot' | 'tools.ozone.report.defs#reasonMisleadingImpersonation' | 'tools.ozone.report.defs#reasonMisleadingSpam' | 'tools.ozone.report.defs#reasonMisleadingScam' | 'tools.ozone.report.defs#reasonMisleadingSyntheticContent' | 'tools.ozone.report.defs#reasonMisleadingMisinformation' | 'tools.ozone.report.defs#reasonMisleadingOther' | 'tools.ozone.report.defs#reasonRuleSiteSecurity' | 'tools.ozone.report.defs#reasonRuleStolenContent' | 'tools.ozone.report.defs#reasonRuleProhibitedSales' | 'tools.ozone.report.defs#reasonRuleBanEvasion' | 'tools.ozone.report.defs#reasonRuleOther' | 'tools.ozone.report.defs#reasonCivicElectoralProcess' | 'tools.ozone.report.defs#reasonCivicDisclosure' | 'tools.ozone.report.defs#reasonCivicInterference' | 'tools.ozone.report.defs#reasonCivicMisinformation' | 'tools.ozone.report.defs#reasonCivicImpersonation' | (string & {});
2
+ /** Appeal a previously taken moderation action */
3
+ export declare const REASONAPPEAL = "tools.ozone.report.defs#reasonAppeal";
4
+ /** Animal welfare violations */
5
+ export declare const REASONVIOLENCEANIMALWELFARE = "tools.ozone.report.defs#reasonViolenceAnimalWelfare";
6
+ /** Threats or incitement */
7
+ export declare const REASONVIOLENCETHREATS = "tools.ozone.report.defs#reasonViolenceThreats";
8
+ /** Graphic violent content */
9
+ export declare const REASONVIOLENCEGRAPHICCONTENT = "tools.ozone.report.defs#reasonViolenceGraphicContent";
10
+ /** Self harm */
11
+ export declare const REASONVIOLENCESELFHARM = "tools.ozone.report.defs#reasonViolenceSelfHarm";
12
+ /** Glorification of violence */
13
+ export declare const REASONVIOLENCEGLORIFICATION = "tools.ozone.report.defs#reasonViolenceGlorification";
14
+ /** Extremist content. These reports will be sent only be sent to the application's Moderation Authority. */
15
+ export declare const REASONVIOLENCEEXTREMISTCONTENT = "tools.ozone.report.defs#reasonViolenceExtremistContent";
16
+ /** Human trafficking */
17
+ export declare const REASONVIOLENCETRAFFICKING = "tools.ozone.report.defs#reasonViolenceTrafficking";
18
+ /** Other violent content */
19
+ export declare const REASONVIOLENCEOTHER = "tools.ozone.report.defs#reasonViolenceOther";
20
+ /** Adult sexual abuse content */
21
+ export declare const REASONSEXUALABUSECONTENT = "tools.ozone.report.defs#reasonSexualAbuseContent";
22
+ /** Non-consensual intimate imagery */
23
+ export declare const REASONSEXUALNCII = "tools.ozone.report.defs#reasonSexualNCII";
24
+ /** Sextortion */
25
+ export declare const REASONSEXUALSEXTORTION = "tools.ozone.report.defs#reasonSexualSextortion";
26
+ /** Deepfake adult content */
27
+ export declare const REASONSEXUALDEEPFAKE = "tools.ozone.report.defs#reasonSexualDeepfake";
28
+ /** Animal sexual abuse */
29
+ export declare const REASONSEXUALANIMAL = "tools.ozone.report.defs#reasonSexualAnimal";
30
+ /** Unlabelled adult content */
31
+ export declare const REASONSEXUALUNLABELED = "tools.ozone.report.defs#reasonSexualUnlabeled";
32
+ /** Other sexual violence content */
33
+ export declare const REASONSEXUALOTHER = "tools.ozone.report.defs#reasonSexualOther";
34
+ /** Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority. */
35
+ export declare const REASONCHILDSAFETYCSAM = "tools.ozone.report.defs#reasonChildSafetyCSAM";
36
+ /** Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority. */
37
+ export declare const REASONCHILDSAFETYGROOM = "tools.ozone.report.defs#reasonChildSafetyGroom";
38
+ /** Privacy violation involving a minor */
39
+ export declare const REASONCHILDSAFETYMINORPRIVACY = "tools.ozone.report.defs#reasonChildSafetyMinorPrivacy";
40
+ /** Child endangerment. These reports will be sent only be sent to the application's Moderation Authority. */
41
+ export declare const REASONCHILDSAFETYENDANGERMENT = "tools.ozone.report.defs#reasonChildSafetyEndangerment";
42
+ /** Harassment or bullying of minors */
43
+ export declare const REASONCHILDSAFETYHARASSMENT = "tools.ozone.report.defs#reasonChildSafetyHarassment";
44
+ /** Promotion of child exploitation. These reports will be sent only be sent to the application's Moderation Authority. */
45
+ export declare const REASONCHILDSAFETYPROMOTION = "tools.ozone.report.defs#reasonChildSafetyPromotion";
46
+ /** Other child safety. These reports will be sent only be sent to the application's Moderation Authority. */
47
+ export declare const REASONCHILDSAFETYOTHER = "tools.ozone.report.defs#reasonChildSafetyOther";
48
+ /** Trolling */
49
+ export declare const REASONHARASSMENTTROLL = "tools.ozone.report.defs#reasonHarassmentTroll";
50
+ /** Targeted harassment */
51
+ export declare const REASONHARASSMENTTARGETED = "tools.ozone.report.defs#reasonHarassmentTargeted";
52
+ /** Hate speech */
53
+ export declare const REASONHARASSMENTHATESPEECH = "tools.ozone.report.defs#reasonHarassmentHateSpeech";
54
+ /** Doxxing */
55
+ export declare const REASONHARASSMENTDOXXING = "tools.ozone.report.defs#reasonHarassmentDoxxing";
56
+ /** Other harassing or hateful content */
57
+ export declare const REASONHARASSMENTOTHER = "tools.ozone.report.defs#reasonHarassmentOther";
58
+ /** Fake account or bot */
59
+ export declare const REASONMISLEADINGBOT = "tools.ozone.report.defs#reasonMisleadingBot";
60
+ /** Impersonation */
61
+ export declare const REASONMISLEADINGIMPERSONATION = "tools.ozone.report.defs#reasonMisleadingImpersonation";
62
+ /** Spam */
63
+ export declare const REASONMISLEADINGSPAM = "tools.ozone.report.defs#reasonMisleadingSpam";
64
+ /** Scam */
65
+ export declare const REASONMISLEADINGSCAM = "tools.ozone.report.defs#reasonMisleadingScam";
66
+ /** Unlabelled gen-AI or synthetic content */
67
+ export declare const REASONMISLEADINGSYNTHETICCONTENT = "tools.ozone.report.defs#reasonMisleadingSyntheticContent";
68
+ /** Harmful false claims */
69
+ export declare const REASONMISLEADINGMISINFORMATION = "tools.ozone.report.defs#reasonMisleadingMisinformation";
70
+ /** Other misleading content */
71
+ export declare const REASONMISLEADINGOTHER = "tools.ozone.report.defs#reasonMisleadingOther";
72
+ /** Hacking or system attacks */
73
+ export declare const REASONRULESITESECURITY = "tools.ozone.report.defs#reasonRuleSiteSecurity";
74
+ /** Stolen content */
75
+ export declare const REASONRULESTOLENCONTENT = "tools.ozone.report.defs#reasonRuleStolenContent";
76
+ /** Promoting or selling prohibited items or services */
77
+ export declare const REASONRULEPROHIBITEDSALES = "tools.ozone.report.defs#reasonRuleProhibitedSales";
78
+ /** Banned user returning */
79
+ export declare const REASONRULEBANEVASION = "tools.ozone.report.defs#reasonRuleBanEvasion";
80
+ /** Other */
81
+ export declare const REASONRULEOTHER = "tools.ozone.report.defs#reasonRuleOther";
82
+ /** Electoral process violations */
83
+ export declare const REASONCIVICELECTORALPROCESS = "tools.ozone.report.defs#reasonCivicElectoralProcess";
84
+ /** Disclosure & transparency violations */
85
+ export declare const REASONCIVICDISCLOSURE = "tools.ozone.report.defs#reasonCivicDisclosure";
86
+ /** Voter intimidation or interference */
87
+ export declare const REASONCIVICINTERFERENCE = "tools.ozone.report.defs#reasonCivicInterference";
88
+ /** Election misinformation */
89
+ export declare const REASONCIVICMISINFORMATION = "tools.ozone.report.defs#reasonCivicMisinformation";
90
+ /** Impersonation of electoral officials/entities */
91
+ export declare const REASONCIVICIMPERSONATION = "tools.ozone.report.defs#reasonCivicImpersonation";
92
+ //# sourceMappingURL=defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/defs.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,UAAU,GAClB,sCAAsC,GACtC,qDAAqD,GACrD,+CAA+C,GAC/C,sDAAsD,GACtD,gDAAgD,GAChD,qDAAqD,GACrD,wDAAwD,GACxD,mDAAmD,GACnD,6CAA6C,GAC7C,kDAAkD,GAClD,0CAA0C,GAC1C,gDAAgD,GAChD,8CAA8C,GAC9C,4CAA4C,GAC5C,+CAA+C,GAC/C,2CAA2C,GAC3C,+CAA+C,GAC/C,gDAAgD,GAChD,uDAAuD,GACvD,u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BAAuB,oDAAkC,CAAA;AACtE,wDAAwD;AACxD,eAAO,MAAM,yBAAyB,sDAAoC,CAAA;AAC1E,4BAA4B;AAC5B,eAAO,MAAM,oBAAoB,iDAA+B,CAAA;AAChE,YAAY;AACZ,eAAO,MAAM,eAAe,4CAA0B,CAAA;AACtD,mCAAmC;AACnC,eAAO,MAAM,2BAA2B,wDAAsC,CAAA;AAC9E,2CAA2C;AAC3C,eAAO,MAAM,qBAAqB,kDAAgC,CAAA;AAClE,yCAAyC;AACzC,eAAO,MAAM,uBAAuB,oDAAkC,CAAA;AACtE,8BAA8B;AAC9B,eAAO,MAAM,yBAAyB,sDAAoC,CAAA;AAC1E,oDAAoD;AACpD,eAAO,MAAM,wBAAwB,qDAAmC,CAAA"}
@@ -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":";;;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AAkDpC,kDAAkD;AACrC,QAAA,YAAY,GAAG,GAAG,EAAE,eAAe,CAAA;AAChD,gCAAgC;AACnB,QAAA,2BAA2B,GAAG,GAAG,EAAE,8BAA8B,CAAA;AAC9E,4BAA4B;AACf,QAAA,qBAAqB,GAAG,GAAG,EAAE,wBAAwB,CAAA;AAClE,8BAA8B;AACjB,QAAA,4BAA4B,GAAG,GAAG,EAAE,+BAA+B,CAAA;AAChF,gBAAgB;AACH,QAAA,sBAAsB,GAAG,GAAG,EAAE,yBAAyB,CAAA;AACpE,gCAAgC;AACnB,QAAA,2BAA2B,GAAG,GAAG,EAAE,8BAA8B,CAAA;AAC9E,4GAA4G;AAC/F,QAAA,8BAA8B,GAAG,GAAG,EAAE,iCAAiC,CAAA;AACpF,wBAAwB;AACX,QAAA,yBAAyB,GAAG,GAAG,EAAE,4BAA4B,CAAA;AAC1E,4BAA4B;AACf,QAAA,mBAAmB,GAAG,GAAG,EAAE,sBAAsB,CAAA;AAC9D,iCAAiC;AACpB,QAAA,wBAAwB,GAAG,GAAG,EAAE,2BAA2B,CAAA;AACxE,sCAAsC;AACzB,QAAA,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,iBAAiB;AACJ,QAAA,sBAAsB,GAAG,GAAG,EAAE,yBA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AW;AACE,QAAA,oBAAoB,GAAG,GAAG,EAAE,uBAAuB,CAAA;AAChE,WAAW;AACE,QAAA,oBAAoB,GAAG,GAAG,EAAE,uBAAuB,CAAA;AAChE,6CAA6C;AAChC,QAAA,gCAAgC,GAAG,GAAG,EAAE,mCAAmC,CAAA;AACxF,2BAA2B;AACd,QAAA,8BAA8B,GAAG,GAAG,EAAE,iCAAiC,CAAA;AACpF,+BAA+B;AAClB,QAAA,qBAAqB,GAAG,GAAG,EAAE,wBAAwB,CAAA;AAClE,gCAAgC;AACnB,QAAA,sBAAsB,GAAG,GAAG,EAAE,yBAAyB,CAAA;AACpE,qBAAqB;AACR,QAAA,uBAAuB,GAAG,GAAG,EAAE,0BAA0B,CAAA;AACtE,wDAAwD;AAC3C,QAAA,yBAAyB,GAAG,GAAG,EAAE,4BAA4B,CAAA;AAC1E,4BAA4B;AACf,QAAA,oBAAoB,GAAG,GAAG,EAAE,uBAAuB,CAAA;AAChE,YAAY;AACC,QAAA,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,mCAAmC;AACtB,QAAA,2BAA2B,GAAG,GAAG,EAAE,8BAA8B,CAAA;AAC9E,2CAA2C;AAC9B,QAAA,qBAAqB,GAAG,GAAG,EAAE,wBAAwB,CAAA;AAClE,yCAAyC;AAC5B,QAAA,uBAAuB,GAAG,GAAG,EAAE,0BAA0B,CAAA;AACtE,8BAA8B;AACjB,QAAA,yBAAyB,GAAG,GAAG,EAAE,4BAA4B,CAAA;AAC1E,oDAAoD;AACvC,QAAA,wBAAwB,GAAG,GAAG,EAAE,2BAA2B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.16.7",
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/common-web": "^0.4.2",
25
- "@atproto/lexicon": "^0.5.0",
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.4"
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.4"
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/*/*",
@@ -241,6 +241,7 @@ import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscrib
241
241
  import * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'
242
242
  import * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'
243
243
  import * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'
244
+ import * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js'
244
245
  import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
245
246
  import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
246
247
  import * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'
@@ -263,6 +264,7 @@ import * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation
263
264
  import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js'
264
265
  import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js'
265
266
  import * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js'
267
+ import * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js'
266
268
  import * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js'
267
269
  import * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js'
268
270
  import * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js'
@@ -527,6 +529,7 @@ export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscrib
527
529
  export * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'
528
530
  export * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'
529
531
  export * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'
532
+ export * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js'
530
533
  export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
531
534
  export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
532
535
  export * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'
@@ -549,6 +552,7 @@ export * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation
549
552
  export * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js'
550
553
  export * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js'
551
554
  export * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js'
555
+ export * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js'
552
556
  export * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js'
553
557
  export * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js'
554
558
  export * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js'
@@ -626,6 +630,75 @@ export const TOOLS_OZONE_MODERATION = {
626
630
  DefsTimelineEventPlcTombstone:
627
631
  'tools.ozone.moderation.defs#timelineEventPlcTombstone',
628
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
+ }
629
702
  export const TOOLS_OZONE_TEAM = {
630
703
  DefsRoleAdmin: 'tools.ozone.team.defs#roleAdmin',
631
704
  DefsRoleModerator: 'tools.ozone.team.defs#roleModerator',
@@ -4642,6 +4715,17 @@ export class ComAtprotoTempNS {
4642
4715
  )
4643
4716
  }
4644
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
+
4645
4729
  fetchLabels(
4646
4730
  params?: ComAtprotoTempFetchLabels.QueryParams,
4647
4731
  opts?: ComAtprotoTempFetchLabels.CallOptions,