import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CurrentActiveUsers } from "./currentactiveusers.js"; import { InsightsChatSummary } from "./insightschatsummary.js"; import { InsightsSearchSummary } from "./insightssearchsummary.js"; import { LabeledCountInfo } from "./labeledcountinfo.js"; import { PerUserInsight } from "./peruserinsight.js"; export type InsightsOverviewResponse = { /** * Number of current Monthly Active Users, in the specified departments. */ monthlyActiveUsers?: number | undefined; /** * Number of current Weekly Active Users, in the specified departments. */ weeklyActiveUsers?: number | undefined; /** * Department name(s). */ departments?: Array | undefined; /** * Number of current employees in the specified departments, according to the Org Chart. */ employeeCount?: number | undefined; /** * Number of current signed up employees in the specified departments, according to the Org Chart. */ totalSignups?: number | undefined; searchSummary?: InsightsSearchSummary | undefined; chatSummary?: InsightsChatSummary | undefined; searchActiveUsers?: CurrentActiveUsers | undefined; assistantActiveUsers?: CurrentActiveUsers | undefined; agentsActiveUsers?: CurrentActiveUsers | undefined; extensionSummary?: CurrentActiveUsers | undefined; ugcSummary?: CurrentActiveUsers | undefined; /** * Unix timestamp of the last update for the insights data in the response. */ lastUpdatedTs?: number | undefined; /** * Search session satisfaction rate, over the specified time period in the specified departments. */ searchSessionSatisfaction?: number | undefined; monthlyActiveUserTimeseries?: LabeledCountInfo | undefined; weeklyActiveUserTimeseries?: LabeledCountInfo | undefined; dailyActiveUserTimeseries?: LabeledCountInfo | undefined; searchMonthlyActiveUserTimeseries?: LabeledCountInfo | undefined; searchWeeklyActiveUserTimeseries?: LabeledCountInfo | undefined; searchDailyActiveUserTimeseries?: LabeledCountInfo | undefined; assistantMonthlyActiveUserTimeseries?: LabeledCountInfo | undefined; assistantWeeklyActiveUserTimeseries?: LabeledCountInfo | undefined; assistantDailyActiveUserTimeseries?: LabeledCountInfo | undefined; agentsMonthlyActiveUserTimeseries?: LabeledCountInfo | undefined; agentsWeeklyActiveUserTimeseries?: LabeledCountInfo | undefined; agentsDailyActiveUserTimeseries?: LabeledCountInfo | undefined; searchesTimeseries?: LabeledCountInfo | undefined; assistantInteractionsTimeseries?: LabeledCountInfo | undefined; agentRunsTimeseries?: LabeledCountInfo | undefined; /** * Counts of search result clicks, by datasource, over the specified time period in the specified departments. */ searchDatasourceCounts?: { [k: string]: number; } | undefined; /** * Counts of cited documents in chat, by datasource, over the specified time period in the specified departments. */ chatDatasourceCounts?: { [k: string]: number; } | undefined; /** * Per-user insights, over the specified time period in the specified departments. All current users in the organization who have signed into Glean at least once are included. */ perUserInsights?: Array | undefined; }; /** @internal */ export declare const InsightsOverviewResponse$inboundSchema: z.ZodType; export declare function insightsOverviewResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=insightsoverviewresponse.d.ts.map