import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; export type GetQueueStatsRequest = { /** * The queue ID */ id: string; withinDays?: number | undefined; /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; }; export type ReviewStats = { /** * Average time in milliseconds to review an item */ averageTimeToReview: number; /** * Total number of items reviewed */ totalReviewed: number; /** * Total number of items pending review */ totalPending: number; }; export type ActionStat = { /** * ID of the moderation action */ actionId: string; /** * Name of the moderation action */ actionName: string; /** * Number of times this action was taken */ count: number; /** * Percentage this action represents of all actions */ percentageOfTotal: number; }; export type TopAction = { /** * Most used action by this reviewer */ actionId: string; /** * Name of the most used action */ actionName: string; /** * Number of times this action was used */ count: number; }; export type TopReviewer = { /** * ID of the reviewer */ userId: string; /** * Name of the reviewer */ name: string; /** * Number of items reviewed */ reviewCount: number; /** * Average review time in milliseconds */ averageTimePerReview: number; /** * Optional accuracy score based on review quality metrics */ accuracyScore?: number | undefined; /** * Most common actions taken by this reviewer */ topActions: Array; }; export type DailyReviewCount = { /** * Date in YYYY-MM-DD format */ date: string; /** * Number of reviews on this date */ count: number; }; export type FlaggedContentTrend = { /** * Content flag/label */ label: string; /** * Trend indicator (-1 to 1) showing if this type of flagged content is increasing or decreasing */ trend: number; }; export type Trends = { dailyReviewCounts: Array; flaggedContentTrends: Array; }; /** * Successful response */ export type GetQueueStatsResponse = { reviewStats: ReviewStats; actionStats: Array; /** * List of top reviewers and their statistics */ topReviewers: Array; trends: Trends; }; /** @internal */ export type GetQueueStatsRequest$Outbound = { id: string; withinDays: number; projectId?: string | undefined; }; /** @internal */ export declare const GetQueueStatsRequest$outboundSchema: z.ZodMiniType; export declare function getQueueStatsRequestToJSON(getQueueStatsRequest: GetQueueStatsRequest): string; /** @internal */ export declare const ReviewStats$inboundSchema: z.ZodMiniType; export declare function reviewStatsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ActionStat$inboundSchema: z.ZodMiniType; export declare function actionStatFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TopAction$inboundSchema: z.ZodMiniType; export declare function topActionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TopReviewer$inboundSchema: z.ZodMiniType; export declare function topReviewerFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DailyReviewCount$inboundSchema: z.ZodMiniType; export declare function dailyReviewCountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FlaggedContentTrend$inboundSchema: z.ZodMiniType; export declare function flaggedContentTrendFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Trends$inboundSchema: z.ZodMiniType; export declare function trendsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetQueueStatsResponse$inboundSchema: z.ZodMiniType; export declare function getQueueStatsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=get-queue-stats.d.ts.map