import { l } from '@atproto/lex'; import * as TeamDefs from '../team/defs.defs.js'; import * as ModerationDefs from '../moderation/defs.defs.js'; import * as ModerationDefs$$0 from '../../../com/atproto/moderation/defs.defs.js'; import * as QueueDefs from '../queue/defs.defs.js'; declare const $nsid = "tools.ozone.report.defs"; export { $nsid }; type ReasonType = 'tools.ozone.report.defs#reasonAppeal' | 'tools.ozone.report.defs#reasonOther' | 'tools.ozone.report.defs#reasonViolenceAnimal' | 'tools.ozone.report.defs#reasonViolenceThreats' | 'tools.ozone.report.defs#reasonViolenceGraphicContent' | '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#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#reasonChildSafetyPrivacy' | 'tools.ozone.report.defs#reasonChildSafetyHarassment' | '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#reasonMisleadingElections' | 'tools.ozone.report.defs#reasonMisleadingOther' | 'tools.ozone.report.defs#reasonRuleSiteSecurity' | 'tools.ozone.report.defs#reasonRuleProhibitedSales' | 'tools.ozone.report.defs#reasonRuleBanEvasion' | 'tools.ozone.report.defs#reasonRuleOther' | 'tools.ozone.report.defs#reasonSelfHarmContent' | 'tools.ozone.report.defs#reasonSelfHarmED' | 'tools.ozone.report.defs#reasonSelfHarmStunts' | 'tools.ozone.report.defs#reasonSelfHarmSubstances' | 'tools.ozone.report.defs#reasonSelfHarmOther' | l.UnknownString; export type { ReasonType }; declare const reasonType: l.StringSchema<{ knownValues: ["tools.ozone.report.defs#reasonAppeal", "tools.ozone.report.defs#reasonOther", "tools.ozone.report.defs#reasonViolenceAnimal", "tools.ozone.report.defs#reasonViolenceThreats", "tools.ozone.report.defs#reasonViolenceGraphicContent", "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#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#reasonChildSafetyPrivacy", "tools.ozone.report.defs#reasonChildSafetyHarassment", "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#reasonMisleadingElections", "tools.ozone.report.defs#reasonMisleadingOther", "tools.ozone.report.defs#reasonRuleSiteSecurity", "tools.ozone.report.defs#reasonRuleProhibitedSales", "tools.ozone.report.defs#reasonRuleBanEvasion", "tools.ozone.report.defs#reasonRuleOther", "tools.ozone.report.defs#reasonSelfHarmContent", "tools.ozone.report.defs#reasonSelfHarmED", "tools.ozone.report.defs#reasonSelfHarmStunts", "tools.ozone.report.defs#reasonSelfHarmSubstances", "tools.ozone.report.defs#reasonSelfHarmOther"]; }>; export { reasonType }; /** Appeal a previously taken moderation action */ type ReasonAppeal = 'tools.ozone.report.defs#reasonAppeal'; export type { ReasonAppeal }; /** Appeal a previously taken moderation action */ declare const reasonAppeal: l.TokenSchema<"tools.ozone.report.defs#reasonAppeal">; export { reasonAppeal }; /** An issue not included in these options */ type ReasonOther = 'tools.ozone.report.defs#reasonOther'; export type { ReasonOther }; /** An issue not included in these options */ declare const reasonOther: l.TokenSchema<"tools.ozone.report.defs#reasonOther">; export { reasonOther }; /** Animal welfare violations */ type ReasonViolenceAnimal = 'tools.ozone.report.defs#reasonViolenceAnimal'; export type { ReasonViolenceAnimal }; /** Animal welfare violations */ declare const reasonViolenceAnimal: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceAnimal">; export { reasonViolenceAnimal }; /** Threats or incitement */ type ReasonViolenceThreats = 'tools.ozone.report.defs#reasonViolenceThreats'; export type { ReasonViolenceThreats }; /** Threats or incitement */ declare const reasonViolenceThreats: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceThreats">; export { reasonViolenceThreats }; /** Graphic violent content */ type ReasonViolenceGraphicContent = 'tools.ozone.report.defs#reasonViolenceGraphicContent'; export type { ReasonViolenceGraphicContent }; /** Graphic violent content */ declare const reasonViolenceGraphicContent: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceGraphicContent">; export { reasonViolenceGraphicContent }; /** Glorification of violence */ type ReasonViolenceGlorification = 'tools.ozone.report.defs#reasonViolenceGlorification'; export type { ReasonViolenceGlorification }; /** Glorification of violence */ declare const reasonViolenceGlorification: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceGlorification">; export { reasonViolenceGlorification }; /** Extremist content. These reports will be sent only be sent to the application's Moderation Authority. */ type ReasonViolenceExtremistContent = 'tools.ozone.report.defs#reasonViolenceExtremistContent'; export type { ReasonViolenceExtremistContent }; /** Extremist content. These reports will be sent only be sent to the application's Moderation Authority. */ declare const reasonViolenceExtremistContent: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceExtremistContent">; export { reasonViolenceExtremistContent }; /** Human trafficking */ type ReasonViolenceTrafficking = 'tools.ozone.report.defs#reasonViolenceTrafficking'; export type { ReasonViolenceTrafficking }; /** Human trafficking */ declare const reasonViolenceTrafficking: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceTrafficking">; export { reasonViolenceTrafficking }; /** Other violent content */ type ReasonViolenceOther = 'tools.ozone.report.defs#reasonViolenceOther'; export type { ReasonViolenceOther }; /** Other violent content */ declare const reasonViolenceOther: l.TokenSchema<"tools.ozone.report.defs#reasonViolenceOther">; export { reasonViolenceOther }; /** Adult sexual abuse content */ type ReasonSexualAbuseContent = 'tools.ozone.report.defs#reasonSexualAbuseContent'; export type { ReasonSexualAbuseContent }; /** Adult sexual abuse content */ declare const reasonSexualAbuseContent: l.TokenSchema<"tools.ozone.report.defs#reasonSexualAbuseContent">; export { reasonSexualAbuseContent }; /** Non-consensual intimate imagery */ type ReasonSexualNCII = 'tools.ozone.report.defs#reasonSexualNCII'; export type { ReasonSexualNCII as ReasonSexualNcii }; /** Non-consensual intimate imagery */ declare const reasonSexualNCII: l.TokenSchema<"tools.ozone.report.defs#reasonSexualNCII">; export { reasonSexualNCII }; /** Deepfake adult content */ type ReasonSexualDeepfake = 'tools.ozone.report.defs#reasonSexualDeepfake'; export type { ReasonSexualDeepfake }; /** Deepfake adult content */ declare const reasonSexualDeepfake: l.TokenSchema<"tools.ozone.report.defs#reasonSexualDeepfake">; export { reasonSexualDeepfake }; /** Animal sexual abuse */ type ReasonSexualAnimal = 'tools.ozone.report.defs#reasonSexualAnimal'; export type { ReasonSexualAnimal }; /** Animal sexual abuse */ declare const reasonSexualAnimal: l.TokenSchema<"tools.ozone.report.defs#reasonSexualAnimal">; export { reasonSexualAnimal }; /** Unlabelled adult content */ type ReasonSexualUnlabeled = 'tools.ozone.report.defs#reasonSexualUnlabeled'; export type { ReasonSexualUnlabeled }; /** Unlabelled adult content */ declare const reasonSexualUnlabeled: l.TokenSchema<"tools.ozone.report.defs#reasonSexualUnlabeled">; export { reasonSexualUnlabeled }; /** Other sexual violence content */ type ReasonSexualOther = 'tools.ozone.report.defs#reasonSexualOther'; export type { ReasonSexualOther }; /** Other sexual violence content */ declare const reasonSexualOther: l.TokenSchema<"tools.ozone.report.defs#reasonSexualOther">; export { reasonSexualOther }; /** Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority. */ type ReasonChildSafetyCSAM = 'tools.ozone.report.defs#reasonChildSafetyCSAM'; export type { ReasonChildSafetyCSAM as ReasonChildSafetyCsam }; /** Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority. */ declare const reasonChildSafetyCSAM: l.TokenSchema<"tools.ozone.report.defs#reasonChildSafetyCSAM">; export { reasonChildSafetyCSAM }; /** Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority. */ type ReasonChildSafetyGroom = 'tools.ozone.report.defs#reasonChildSafetyGroom'; export type { ReasonChildSafetyGroom }; /** Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority. */ declare const reasonChildSafetyGroom: l.TokenSchema<"tools.ozone.report.defs#reasonChildSafetyGroom">; export { reasonChildSafetyGroom }; /** Privacy violation involving a minor */ type ReasonChildSafetyPrivacy = 'tools.ozone.report.defs#reasonChildSafetyPrivacy'; export type { ReasonChildSafetyPrivacy }; /** Privacy violation involving a minor */ declare const reasonChildSafetyPrivacy: l.TokenSchema<"tools.ozone.report.defs#reasonChildSafetyPrivacy">; export { reasonChildSafetyPrivacy }; /** Harassment or bullying of minors */ type ReasonChildSafetyHarassment = 'tools.ozone.report.defs#reasonChildSafetyHarassment'; export type { ReasonChildSafetyHarassment }; /** Harassment or bullying of minors */ declare const reasonChildSafetyHarassment: l.TokenSchema<"tools.ozone.report.defs#reasonChildSafetyHarassment">; export { reasonChildSafetyHarassment }; /** Other child safety. These reports will be sent only be sent to the application's Moderation Authority. */ type ReasonChildSafetyOther = 'tools.ozone.report.defs#reasonChildSafetyOther'; export type { ReasonChildSafetyOther }; /** Other child safety. These reports will be sent only be sent to the application's Moderation Authority. */ declare const reasonChildSafetyOther: l.TokenSchema<"tools.ozone.report.defs#reasonChildSafetyOther">; export { reasonChildSafetyOther }; /** Trolling */ type ReasonHarassmentTroll = 'tools.ozone.report.defs#reasonHarassmentTroll'; export type { ReasonHarassmentTroll }; /** Trolling */ declare const reasonHarassmentTroll: l.TokenSchema<"tools.ozone.report.defs#reasonHarassmentTroll">; export { reasonHarassmentTroll }; /** Targeted harassment */ type ReasonHarassmentTargeted = 'tools.ozone.report.defs#reasonHarassmentTargeted'; export type { ReasonHarassmentTargeted }; /** Targeted harassment */ declare const reasonHarassmentTargeted: l.TokenSchema<"tools.ozone.report.defs#reasonHarassmentTargeted">; export { reasonHarassmentTargeted }; /** Hate speech */ type ReasonHarassmentHateSpeech = 'tools.ozone.report.defs#reasonHarassmentHateSpeech'; export type { ReasonHarassmentHateSpeech }; /** Hate speech */ declare const reasonHarassmentHateSpeech: l.TokenSchema<"tools.ozone.report.defs#reasonHarassmentHateSpeech">; export { reasonHarassmentHateSpeech }; /** Doxxing */ type ReasonHarassmentDoxxing = 'tools.ozone.report.defs#reasonHarassmentDoxxing'; export type { ReasonHarassmentDoxxing }; /** Doxxing */ declare const reasonHarassmentDoxxing: l.TokenSchema<"tools.ozone.report.defs#reasonHarassmentDoxxing">; export { reasonHarassmentDoxxing }; /** Other harassing or hateful content */ type ReasonHarassmentOther = 'tools.ozone.report.defs#reasonHarassmentOther'; export type { ReasonHarassmentOther }; /** Other harassing or hateful content */ declare const reasonHarassmentOther: l.TokenSchema<"tools.ozone.report.defs#reasonHarassmentOther">; export { reasonHarassmentOther }; /** Fake account or bot */ type ReasonMisleadingBot = 'tools.ozone.report.defs#reasonMisleadingBot'; export type { ReasonMisleadingBot }; /** Fake account or bot */ declare const reasonMisleadingBot: l.TokenSchema<"tools.ozone.report.defs#reasonMisleadingBot">; export { reasonMisleadingBot }; /** Impersonation */ type ReasonMisleadingImpersonation = 'tools.ozone.report.defs#reasonMisleadingImpersonation'; export type { ReasonMisleadingImpersonation }; /** Impersonation */ declare const reasonMisleadingImpersonation: l.TokenSchema<"tools.ozone.report.defs#reasonMisleadingImpersonation">; export { reasonMisleadingImpersonation }; /** Spam */ type ReasonMisleadingSpam = 'tools.ozone.report.defs#reasonMisleadingSpam'; export type { ReasonMisleadingSpam }; /** Spam */ declare const reasonMisleadingSpam: l.TokenSchema<"tools.ozone.report.defs#reasonMisleadingSpam">; export { reasonMisleadingSpam }; /** Scam */ type ReasonMisleadingScam = 'tools.ozone.report.defs#reasonMisleadingScam'; export type { ReasonMisleadingScam }; /** Scam */ declare const reasonMisleadingScam: l.TokenSchema<"tools.ozone.report.defs#reasonMisleadingScam">; export { reasonMisleadingScam }; /** False information about elections */ type ReasonMisleadingElections = 'tools.ozone.report.defs#reasonMisleadingElections'; export type { ReasonMisleadingElections }; /** False information about elections */ declare const reasonMisleadingElections: l.TokenSchema<"tools.ozone.report.defs#reasonMisleadingElections">; export { reasonMisleadingElections }; /** Other misleading content */ type ReasonMisleadingOther = 'tools.ozone.report.defs#reasonMisleadingOther'; export type { ReasonMisleadingOther }; /** Other misleading content */ declare const reasonMisleadingOther: l.TokenSchema<"tools.ozone.report.defs#reasonMisleadingOther">; export { reasonMisleadingOther }; /** Hacking or system attacks */ type ReasonRuleSiteSecurity = 'tools.ozone.report.defs#reasonRuleSiteSecurity'; export type { ReasonRuleSiteSecurity }; /** Hacking or system attacks */ declare const reasonRuleSiteSecurity: l.TokenSchema<"tools.ozone.report.defs#reasonRuleSiteSecurity">; export { reasonRuleSiteSecurity }; /** Promoting or selling prohibited items or services */ type ReasonRuleProhibitedSales = 'tools.ozone.report.defs#reasonRuleProhibitedSales'; export type { ReasonRuleProhibitedSales }; /** Promoting or selling prohibited items or services */ declare const reasonRuleProhibitedSales: l.TokenSchema<"tools.ozone.report.defs#reasonRuleProhibitedSales">; export { reasonRuleProhibitedSales }; /** Banned user returning */ type ReasonRuleBanEvasion = 'tools.ozone.report.defs#reasonRuleBanEvasion'; export type { ReasonRuleBanEvasion }; /** Banned user returning */ declare const reasonRuleBanEvasion: l.TokenSchema<"tools.ozone.report.defs#reasonRuleBanEvasion">; export { reasonRuleBanEvasion }; /** Other */ type ReasonRuleOther = 'tools.ozone.report.defs#reasonRuleOther'; export type { ReasonRuleOther }; /** Other */ declare const reasonRuleOther: l.TokenSchema<"tools.ozone.report.defs#reasonRuleOther">; export { reasonRuleOther }; /** Content promoting or depicting self-harm */ type ReasonSelfHarmContent = 'tools.ozone.report.defs#reasonSelfHarmContent'; export type { ReasonSelfHarmContent }; /** Content promoting or depicting self-harm */ declare const reasonSelfHarmContent: l.TokenSchema<"tools.ozone.report.defs#reasonSelfHarmContent">; export { reasonSelfHarmContent }; /** Eating disorders */ type ReasonSelfHarmED = 'tools.ozone.report.defs#reasonSelfHarmED'; export type { ReasonSelfHarmED as ReasonSelfHarmEd }; /** Eating disorders */ declare const reasonSelfHarmED: l.TokenSchema<"tools.ozone.report.defs#reasonSelfHarmED">; export { reasonSelfHarmED }; /** Dangerous challenges or activities */ type ReasonSelfHarmStunts = 'tools.ozone.report.defs#reasonSelfHarmStunts'; export type { ReasonSelfHarmStunts }; /** Dangerous challenges or activities */ declare const reasonSelfHarmStunts: l.TokenSchema<"tools.ozone.report.defs#reasonSelfHarmStunts">; export { reasonSelfHarmStunts }; /** Dangerous substances or drug abuse */ type ReasonSelfHarmSubstances = 'tools.ozone.report.defs#reasonSelfHarmSubstances'; export type { ReasonSelfHarmSubstances }; /** Dangerous substances or drug abuse */ declare const reasonSelfHarmSubstances: l.TokenSchema<"tools.ozone.report.defs#reasonSelfHarmSubstances">; export { reasonSelfHarmSubstances }; /** Other dangerous content */ type ReasonSelfHarmOther = 'tools.ozone.report.defs#reasonSelfHarmOther'; export type { ReasonSelfHarmOther }; /** Other dangerous content */ declare const reasonSelfHarmOther: l.TokenSchema<"tools.ozone.report.defs#reasonSelfHarmOther">; export { reasonSelfHarmOther }; /** Information about the moderator currently assigned to a report. */ type ReportAssignment = { $type?: 'tools.ozone.report.defs#reportAssignment'; /** * DID of the assigned moderator */ did: l.DidString; /** * Full member record of the assigned moderator */ moderator?: TeamDefs.Member; /** * When the report was assigned */ assignedAt: l.DatetimeString; }; export type { ReportAssignment }; /** Information about the moderator currently assigned to a report. */ declare const reportAssignment: l.TypedObjectSchema<"tools.ozone.report.defs#reportAssignment", l.Validator>; export { reportAssignment }; type ReportView = { $type?: 'tools.ozone.report.defs#reportView'; /** * Report ID */ id: number; /** * ID of the moderation event that created this report */ eventId: number; /** * Current status of the report */ status: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | l.UnknownString; /** * The subject that was reported with full details */ subject: ModerationDefs.SubjectView; /** * Type of report */ reportType: ModerationDefs$$0.ReasonType; /** * DID of the user who made the report */ reportedBy: l.DidString; /** * Full subject view of the reporter account */ reporter: ModerationDefs.SubjectView; /** * Comment provided by the reporter */ comment?: string; /** * When the report was created */ createdAt: l.DatetimeString; /** * When the report was last updated */ updatedAt?: l.DatetimeString; /** * When the report was assigned to its current queue */ queuedAt?: l.DatetimeString; /** * Array of moderation event IDs representing actions taken on this report (sorted DESC, most recent first) */ actionEventIds?: number[]; /** * Optional: expanded action events */ actions?: ModerationDefs.ModEventView[]; /** * Note sent to reporter when report was actioned */ actionNote?: string; /** * Current status of the reported subject */ subjectStatus?: ModerationDefs.SubjectStatusView; /** * Number of other pending reports on the same subject */ relatedReportCount?: number; /** * Information about moderator currently assigned to this report (if any) */ assignment?: ReportAssignment; /** * The queue this report is assigned to (if any) */ queue?: QueueDefs.QueueView; /** * Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created. */ isMuted?: boolean; /** * Whether this report was emitted by automated tooling. */ isAutomated?: boolean; }; export type { ReportView }; declare const reportView: l.TypedObjectSchema<"tools.ozone.report.defs#reportView", l.Validator>; export { reportView }; /** Activity recording a report being routed to a queue. */ type QueueActivity = { $type?: 'tools.ozone.report.defs#queueActivity'; /** * The report's status before this activity. Populated automatically from the report row; not required in input. */ previousStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | l.UnknownString; }; export type { QueueActivity }; /** Activity recording a report being routed to a queue. */ declare const queueActivity: l.TypedObjectSchema<"tools.ozone.report.defs#queueActivity", l.Validator>; export { queueActivity }; /** Activity recording a moderator being assigned to a report. */ type AssignmentActivity = { $type?: 'tools.ozone.report.defs#assignmentActivity'; /** * The report's status before this activity. Populated automatically from the report row; not required in input. */ previousStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | l.UnknownString; }; export type { AssignmentActivity }; /** Activity recording a moderator being assigned to a report. */ declare const assignmentActivity: l.TypedObjectSchema<"tools.ozone.report.defs#assignmentActivity", l.Validator>; export { assignmentActivity }; /** Activity recording a report being escalated. */ type EscalationActivity = { $type?: 'tools.ozone.report.defs#escalationActivity'; /** * The report's status before this activity. Populated automatically from the report row; not required in input. */ previousStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | l.UnknownString; }; export type { EscalationActivity }; /** Activity recording a report being escalated. */ declare const escalationActivity: l.TypedObjectSchema<"tools.ozone.report.defs#escalationActivity", l.Validator>; export { escalationActivity }; /** Activity recording a report being closed. */ type CloseActivity = { $type?: 'tools.ozone.report.defs#closeActivity'; /** * The report's status before this activity. Populated automatically from the report row; not required in input. */ previousStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | l.UnknownString; }; export type { CloseActivity }; /** Activity recording a report being closed. */ declare const closeActivity: l.TypedObjectSchema<"tools.ozone.report.defs#closeActivity", l.Validator>; export { closeActivity }; /** Activity recording a closed report being reopened. Only valid when the report is in 'closed' status. */ type ReopenActivity = { $type?: 'tools.ozone.report.defs#reopenActivity'; /** * The report's status before this activity. Populated automatically from the report row; not required in input. */ previousStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | l.UnknownString; }; export type { ReopenActivity }; /** Activity recording a closed report being reopened. Only valid when the report is in 'closed' status. */ declare const reopenActivity: l.TypedObjectSchema<"tools.ozone.report.defs#reopenActivity", l.Validator>; export { reopenActivity }; /** Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both). */ type NoteActivity = { $type?: 'tools.ozone.report.defs#noteActivity'; }; export type { NoteActivity }; /** Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both). */ declare const noteActivity: l.TypedObjectSchema<"tools.ozone.report.defs#noteActivity", l.Validator>; export { noteActivity }; /** A single activity entry on a report. */ type ReportActivityView = { $type?: 'tools.ozone.report.defs#reportActivityView'; /** * Activity ID */ id: number; /** * ID of the report this activity belongs to */ reportId: number; /** * The typed activity object describing what occurred. */ activity: l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; /** * Optional moderator-only note. Not visible to reporters. */ internalNote?: string; /** * Optional public note, potentially visible to the reporter. */ publicNote?: string; /** * Extensible JSON payload for loose activity-specific metadata (e.g. assignmentId). */ meta?: l.LexMap; /** * True if this activity was created by an automated process (e.g. queue router) rather than a direct human action. */ isAutomated: boolean; /** * DID of the actor who created this activity, or the service DID for automated activities. */ createdBy: l.DidString; /** * Full member record of the moderator who created this activity */ moderator?: TeamDefs.Member; /** * Full view of the report this activity belongs to. */ report?: ReportView; /** * When this activity was created */ createdAt: l.DatetimeString; }; export type { ReportActivityView }; /** A single activity entry on a report. */ declare const reportActivityView: l.TypedObjectSchema<"tools.ozone.report.defs#reportActivityView", l.Validator>; export { reportActivityView }; /** Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type. */ type LiveStats = { $type?: 'tools.ozone.report.defs#liveStats'; /** * Number of reports currently not closed. */ pendingCount?: number; /** * Number of reports closed today. */ actionedCount?: number; /** * Number of reports escalated today. */ escalatedCount?: number; /** * Reports received today. */ inboundCount?: number; /** * Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. */ actionRate?: number; /** * Average time in seconds from report creation (or moderator assignment) to close. */ avgHandlingTimeSec?: number; /** * When these statistics were last computed. */ lastUpdated?: l.DatetimeString; }; export type { LiveStats }; /** Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type. */ declare const liveStats: l.TypedObjectSchema<"tools.ozone.report.defs#liveStats", l.Validator>; export { liveStats }; /** A single daily snapshot of report statistics for a calendar date. */ type HistoricalStats = { $type?: 'tools.ozone.report.defs#historicalStats'; /** * The calendar date this snapshot covers (YYYY-MM-DD). */ date: string; /** * When this snapshot was last computed. */ computedAt?: l.DatetimeString; /** * Number of reports not closed at time of computation. */ pendingCount?: number; /** * Number of reports closed during this day. */ actionedCount?: number; /** * Number of reports escalated during this day. */ escalatedCount?: number; /** * Reports received during this day. */ inboundCount?: number; /** * Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. */ actionRate?: number; /** * Average time in seconds from report creation (or moderator assignment) to close. */ avgHandlingTimeSec?: number; }; export type { HistoricalStats }; /** A single daily snapshot of report statistics for a calendar date. */ declare const historicalStats: l.TypedObjectSchema<"tools.ozone.report.defs#historicalStats", l.Validator>; export { historicalStats }; type AssignmentView = { $type?: 'tools.ozone.report.defs#assignmentView'; id: number; did: l.DidString; /** * The moderator assigned to this report */ moderator?: TeamDefs.Member; queue?: QueueDefs.QueueView; reportId: number; startAt: l.DatetimeString; endAt?: l.DatetimeString; }; export type { AssignmentView }; declare const assignmentView: l.TypedObjectSchema<"tools.ozone.report.defs#assignmentView", l.Validator>; export { assignmentView }; //# sourceMappingURL=defs.defs.d.ts.map