@atproto/api 0.29.4 → 0.29.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.
@@ -46,9 +46,9 @@ export interface ReportAction {
46
46
  $type?: 'tools.ozone.moderation.emitEvent#reportAction';
47
47
  /** Target specific report IDs */
48
48
  ids?: number[];
49
- /** Target reports matching these report types on the subject (fully qualified NSIDs) */
49
+ /** Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports. */
50
50
  types?: string[];
51
- /** Target ALL reports on the subject */
51
+ /** Target ALL reports on the subject. Excludes assigned and escalated reports. */
52
52
  all?: boolean;
53
53
  /** Note to send to reporter(s) when actioning their report */
54
54
  note?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"emitEvent.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,wBAAwB,MAAM,WAAW,CAAA;AAC1D,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,KAAK,EACD,MAAM,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,GACjD,MAAM,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,GACpD,MAAM,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,GACjD,MAAM,CAAC,wBAAwB,CAAC,eAAe,CAAC,GAChD,MAAM,CAAC,wBAAwB,CAAC,aAAa,CAAC,GAC9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AED,qBAAa,wBAAyB,SAAQ,SAAS;IACrD,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAQhC;AAED,+DAA+D;AAC/D,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,+CAA+C,CAAA;IACvD,iCAAiC;IACjC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,kIAAkI;IAClI,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,kFAAkF;IAClF,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0GAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"emitEvent.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAK5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,kCAAkC,CAAA;AA2D7C,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD,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;AAED,MAAM,OAAO,wBAAyB,SAAQ,SAAS;IACrD,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;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,kBAAkB;YAAE,OAAO,IAAI,qBAAqB,CAAC,CAAC,CAAC,CAAA;QACvE,IAAI,CAAC,CAAC,KAAK,KAAK,qBAAqB;YACnC,OAAO,IAAI,wBAAwB,CAAC,CAAC,CAAC,CAAA;IAC1C,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC;AAiBD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ToolsOzoneModerationDefs from './defs.js'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.emitEvent'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n event:\n | $Typed<ToolsOzoneModerationDefs.ModEventTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventAcknowledge>\n | $Typed<ToolsOzoneModerationDefs.ModEventEscalate>\n | $Typed<ToolsOzoneModerationDefs.ModEventComment>\n | $Typed<ToolsOzoneModerationDefs.ModEventLabel>\n | $Typed<ToolsOzoneModerationDefs.ModEventReport>\n | $Typed<ToolsOzoneModerationDefs.ModEventMute>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmute>\n | $Typed<ToolsOzoneModerationDefs.ModEventMuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventReverseTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventResolveAppeal>\n | $Typed<ToolsOzoneModerationDefs.ModEventEmail>\n | $Typed<ToolsOzoneModerationDefs.ModEventDivert>\n | $Typed<ToolsOzoneModerationDefs.ModEventTag>\n | $Typed<ToolsOzoneModerationDefs.AccountEvent>\n | $Typed<ToolsOzoneModerationDefs.IdentityEvent>\n | $Typed<ToolsOzoneModerationDefs.RecordEvent>\n | $Typed<ToolsOzoneModerationDefs.ModEventPriorityScore>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceOverrideEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssurancePurgeEvent>\n | $Typed<ToolsOzoneModerationDefs.RevokeAccountCredentialsEvent>\n | $Typed<ToolsOzoneModerationDefs.ScheduleTakedownEvent>\n | $Typed<ToolsOzoneModerationDefs.CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n subjectBlobCids?: string[]\n createdBy: string\n modTool?: ToolsOzoneModerationDefs.ModTool\n /** An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject. */\n externalId?: string\n reportAction?: ReportAction\n}\n\nexport type OutputSchema = ToolsOzoneModerationDefs.ModEventView\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class SubjectHasActionError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class DuplicateExternalIdError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'SubjectHasAction') return new SubjectHasActionError(e)\n if (e.error === 'DuplicateExternalId')\n return new DuplicateExternalIdError(e)\n }\n\n return e\n}\n\n/** Target specific reports when emitting a moderation event */\nexport interface ReportAction {\n $type?: 'tools.ozone.moderation.emitEvent#reportAction'\n /** Target specific report IDs */\n ids?: number[]\n /** Target reports matching these report types on the subject (fully qualified NSIDs) */\n types?: string[]\n /** Target ALL reports on the subject */\n all?: boolean\n /** Note to send to reporter(s) when actioning their report */\n note?: string\n /** Set true when the report activities are created by an automated process. */\n isAutomated?: boolean\n}\n\nconst hashReportAction = 'reportAction'\n\nexport function isReportAction<V>(v: V) {\n return is$typed(v, id, hashReportAction)\n}\n\nexport function validateReportAction<V>(v: V) {\n return validate<ReportAction & V>(v, id, hashReportAction)\n}\n"]}
1
+ {"version":3,"file":"emitEvent.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,O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,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ToolsOzoneModerationDefs from './defs.js'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.emitEvent'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n event:\n | $Typed<ToolsOzoneModerationDefs.ModEventTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventAcknowledge>\n | $Typed<ToolsOzoneModerationDefs.ModEventEscalate>\n | $Typed<ToolsOzoneModerationDefs.ModEventComment>\n | $Typed<ToolsOzoneModerationDefs.ModEventLabel>\n | $Typed<ToolsOzoneModerationDefs.ModEventReport>\n | $Typed<ToolsOzoneModerationDefs.ModEventMute>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmute>\n | $Typed<ToolsOzoneModerationDefs.ModEventMuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventReverseTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventResolveAppeal>\n | $Typed<ToolsOzoneModerationDefs.ModEventEmail>\n | $Typed<ToolsOzoneModerationDefs.ModEventDivert>\n | $Typed<ToolsOzoneModerationDefs.ModEventTag>\n | $Typed<ToolsOzoneModerationDefs.AccountEvent>\n | $Typed<ToolsOzoneModerationDefs.IdentityEvent>\n | $Typed<ToolsOzoneModerationDefs.RecordEvent>\n | $Typed<ToolsOzoneModerationDefs.ModEventPriorityScore>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceOverrideEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssurancePurgeEvent>\n | $Typed<ToolsOzoneModerationDefs.RevokeAccountCredentialsEvent>\n | $Typed<ToolsOzoneModerationDefs.ScheduleTakedownEvent>\n | $Typed<ToolsOzoneModerationDefs.CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n subjectBlobCids?: string[]\n createdBy: string\n modTool?: ToolsOzoneModerationDefs.ModTool\n /** An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject. */\n externalId?: string\n reportAction?: ReportAction\n}\n\nexport type OutputSchema = ToolsOzoneModerationDefs.ModEventView\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class SubjectHasActionError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class DuplicateExternalIdError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'SubjectHasAction') return new SubjectHasActionError(e)\n if (e.error === 'DuplicateExternalId')\n return new DuplicateExternalIdError(e)\n }\n\n return e\n}\n\n/** Target specific reports when emitting a moderation event */\nexport interface ReportAction {\n $type?: 'tools.ozone.moderation.emitEvent#reportAction'\n /** Target specific report IDs */\n ids?: number[]\n /** Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports. */\n types?: string[]\n /** Target ALL reports on the subject. Excludes assigned and escalated reports. */\n all?: boolean\n /** Note to send to reporter(s) when actioning their report */\n note?: string\n /** Set true when the report activities are created by an automated process. */\n isAutomated?: boolean\n}\n\nconst hashReportAction = 'reportAction'\n\nexport function isReportAction<V>(v: V) {\n return is$typed(v, id, hashReportAction)\n}\n\nexport function validateReportAction<V>(v: V) {\n return validate<ReportAction & V>(v, id, hashReportAction)\n}\n"]}
@@ -8,7 +8,7 @@ export interface InputSchema {
8
8
  subject: string;
9
9
  /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */
10
10
  includeAllOwned?: boolean;
11
- /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all non-closed reports in the requested subject scope are targeted, except excludedReportTypes. */
11
+ /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned and escalated reports are always excluded. */
12
12
  reportTypes?: string[];
13
13
  /** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */
14
14
  excludedReportTypes?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,2GAA2G;IAC3G,OAAO,EAAE,MAAM,CAAA;IACf,mKAAmK;IACnK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,4NAA4N;IAC5N,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+JAA+J;IAC/J,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kHAAkH;IAClH,IAAI,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAA;IACnB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
1
+ {"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,2GAA2G;IAC3G,OAAO,EAAE,MAAM,CAAA;IACf,mKAAmK;IACnK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,8QAA8Q;IAC9Q,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+JAA+J;IAC/J,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kHAAkH;IAClH,IAAI,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAA;IACnB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"closeReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAyC5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.closeReports'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed. */\n subject: string\n /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */\n includeAllOwned?: boolean\n /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all non-closed reports in the requested subject scope are targeted, except excludedReportTypes. */\n reportTypes?: string[]\n /** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */\n excludedReportTypes?: string[]\n /** Optional moderator-only note recorded on each close activity. Not visible to reporters. */\n internalNote?: string\n /** Set true when this action is triggered by an automated process. Defaults to false. */\n isAutomated?: boolean\n /** Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service. */\n meta?: { [_ in string]: unknown }\n}\n\nexport interface OutputSchema {\n /** Number of reports that were transitioned to closed. */\n closedCount: number\n /** IDs of the reports that were closed. */\n reportIds: number[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
1
+ {"version":3,"file":"closeReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAyC5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.closeReports'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed. */\n subject: string\n /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */\n includeAllOwned?: boolean\n /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned and escalated reports are always excluded. */\n reportTypes?: string[]\n /** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */\n excludedReportTypes?: string[]\n /** Optional moderator-only note recorded on each close activity. Not visible to reporters. */\n internalNote?: string\n /** Set true when this action is triggered by an automated process. Defaults to false. */\n isAutomated?: boolean\n /** Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service. */\n meta?: { [_ in string]: unknown }\n}\n\nexport interface OutputSchema {\n /** Number of reports that were transitioned to closed. */\n closedCount: number\n /** IDs of the reports that were closed. */\n reportIds: number[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type HeadersMap } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ export type QueryParams = {
7
+ limit?: number;
8
+ };
9
+ export type InputSchema = undefined;
10
+ export interface OutputSchema {
11
+ members: OnlineMember[];
12
+ }
13
+ export interface CallOptions {
14
+ signal?: AbortSignal;
15
+ headers?: HeadersMap;
16
+ }
17
+ export interface Response {
18
+ success: boolean;
19
+ headers: HeadersMap;
20
+ data: OutputSchema;
21
+ }
22
+ export declare function toKnownErr(e: any): any;
23
+ export interface OnlineMember {
24
+ $type?: 'tools.ozone.team.listOnlineMembers#onlineMember';
25
+ did: string;
26
+ lastActive: string;
27
+ }
28
+ export declare function isOnlineMember<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.team.listOnlineMembers", "onlineMember">;
29
+ export declare function validateOnlineMember<V>(v: V): ValidationResult<OnlineMember & V>;
30
+ //# sourceMappingURL=listOnlineMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listOnlineMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/team/listOnlineMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB;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,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,iDAAiD,CAAA;IACzD,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;CACnB;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4GAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { XRPCError } from '@atproto/xrpc';
5
+ import { BlobRef } from '@atproto/lexicon';
6
+ import { CID } from 'multiformats/cid';
7
+ import { validate as _validate } from '../../../../lexicons.js';
8
+ import { is$typed as _is$typed, } from '../../../../util.js';
9
+ const is$typed = _is$typed, validate = _validate;
10
+ const id = 'tools.ozone.team.listOnlineMembers';
11
+ export function toKnownErr(e) {
12
+ return e;
13
+ }
14
+ const hashOnlineMember = 'onlineMember';
15
+ export function isOnlineMember(v) {
16
+ return is$typed(v, id, hashOnlineMember);
17
+ }
18
+ export function validateOnlineMember(v) {
19
+ return validate(v, id, hashOnlineMember);
20
+ }
21
+ //# sourceMappingURL=listOnlineMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listOnlineMembers.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/team/listOnlineMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,oCAAoC,CAAA;AAsB/C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAQD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.team.listOnlineMembers'\n\nexport type QueryParams = {\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n members: OnlineMember[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface OnlineMember {\n $type?: 'tools.ozone.team.listOnlineMembers#onlineMember'\n did: string\n lastActive: string\n}\n\nconst hashOnlineMember = 'onlineMember'\n\nexport function isOnlineMember<V>(v: V) {\n return is$typed(v, id, hashOnlineMember)\n}\n\nexport function validateOnlineMember<V>(v: V) {\n return validate<OnlineMember & V>(v, id, hashOnlineMember)\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.29.4",
3
+ "version": "0.29.6",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  "jest": "^30.5.2",
47
47
  "prettier": "^3.9.6",
48
48
  "@atproto/lex-cli": "^0.10.16",
49
- "@atproto/lex-installer": "^0.2.2"
49
+ "@atproto/lex-installer": "^0.2.4"
50
50
  },
51
51
  "scripts": {
52
52
  "lex:gen": "if [ ! -f ./src/client/index.ts ] || [ -n \"$(find -L ./lexicons -type f -newer ./src/client/index.ts -print -quit)\" ]; then lex gen-api --yes ./src/client ./lexicons/com/atproto/*/* ./lexicons/app/bsky/*/* ./lexicons/chat/bsky/*/* ./lexicons/tools/ozone/*/* ./lexicons/com/germnetwork/*; fi",