closeReports method
Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded. Reports whose current status does not permit a transition to closed are skipped silently.
Implementation
Future<XRPCResponse<ReportCloseReportsOutput>> closeReports({
required String subject,
bool? includeAllOwned,
List<String>? reportTypes,
List<String>? excludedReportTypes,
int? actionEventId,
String? internalNote,
bool? isAutomated,
Map<String, dynamic>? meta,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await toolsOzoneReportCloseReports(
subject: subject,
includeAllOwned: includeAllOwned,
reportTypes: reportTypes,
excludedReportTypes: excludedReportTypes,
actionEventId: actionEventId,
internalNote: internalNote,
isAutomated: isAutomated,
meta: meta,
$ctx: ctx,
$service: $service,
$headers: $headers,
$unknown: $unknown,
);