import { l } from "@atproto/lex-schema"; import * as AdminDefs from "../../../com/atproto/admin/defs.defs.js"; import * as RepoStrongRef from "../../../com/atproto/repo/strongRef.defs.js"; import * as ConvoDefs from "../../../chat/bsky/convo/defs.defs.js"; declare const $nsid = "tools.ozone.inbox.getReport"; type $nsid = typeof $nsid; export { $nsid }; export declare const $params: l.ParamsSchema<{ readonly did: l.OptionalSchema>; readonly id: l.IntegerSchema; }>; export type $Params = l.InferOutput; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ report: l.RefSchema>; resolution: l.OptionalSchema>>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Get a moderation report submitted by the authenticated account to this moderation service. */ declare const main: l.Query<"tools.ozone.inbox.getReport", l.ParamsSchema<{ readonly did: l.OptionalSchema>; readonly id: l.IntegerSchema; }>, l.Payload<"application/json", l.ObjectSchema<{ report: l.RefSchema>; resolution: l.OptionalSchema>>; }>>, readonly ["NotFound"]>; export { main }; declare const $lxm = "tools.ozone.inbox.getReport"; type $lxm = typeof $lxm; export { $lxm }; type ReportView = { $type?: "tools.ozone.inbox.getReport#reportView"; /** * DID of the moderation service that received the report. */ "src": l.DidString; /** * Report ID (report table ID), used by Ozone's report detail page. */ "id": number; /** * The exact fully-qualified reason NSID submitted with and stored on the report. */ "reasonType": string; "reason"?: string; "subject": l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; /** * Raw record JSON for the subject, when the subject is a record and the record is available. */ "record"?: l.LexMap; "status": "pending" | "resolved" | l.UnknownString; "createdAt": l.DatetimeString; "updatedAt": l.DatetimeString; }; export type { ReportView }; declare const reportView: l.TypedObjectSchema<"tools.ozone.inbox.getReport#reportView", l.Validator>; export { reportView }; type ResolutionView = { $type?: "tools.ozone.inbox.getReport#resolutionView"; "outcome": "actionTaken" | "noAction" | "other" | l.UnknownString; /** * Public action associated with this report's resolution. See the public action vocabulary table. */ "actionTaken"?: string; "scope"?: "network" | "app" | "labelOnly" | l.UnknownString; "resolvedAt": l.DatetimeString; }; export type { ResolutionView }; declare const resolutionView: l.TypedObjectSchema<"tools.ozone.inbox.getReport#resolutionView", l.Validator>; export { resolutionView }; //# sourceMappingURL=getReport.defs.d.ts.map