import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest = { workspaceId: string; startTime?: string | undefined; endTime?: string | undefined; }; export type SuccessRates = { workflowId?: string | undefined; successRate?: number | undefined; totalRuns?: number | undefined; }; export type GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData = { totalLeads?: number | undefined; activeWorkflows?: number | undefined; jobsLast30Days?: number | undefined; successRates?: Array | undefined; }; /** * Retrieves analytics data for a specific workspace */ export type GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody = { data: GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$Outbound = { workspaceId: string; startTime?: string | undefined; endTime?: string | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequestToJSON(getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest: GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequest): string; export declare function getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SuccessRates$inboundSchema: z.ZodType; /** @internal */ export type SuccessRates$Outbound = { workflowId?: string | undefined; successRate?: number | undefined; totalRuns?: number | undefined; }; /** @internal */ export declare const SuccessRates$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SuccessRates$ { /** @deprecated use `SuccessRates$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SuccessRates$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SuccessRates$Outbound` instead. */ type Outbound = SuccessRates$Outbound; } export declare function successRatesToJSON(successRates: SuccessRates): string; export declare function successRatesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$Outbound = { totalLeads?: number | undefined; activeWorkflows?: number | undefined; jobsLast30Days?: number | undefined; successRates?: Array | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsDataToJSON(getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData: GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData): string; export declare function getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$Outbound = { data: GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsData$Outbound; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBodyToJSON(getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody: GetApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBody): string; export declare function getApiLeadScraperMicroserviceApiV1WorkspacesWorkspaceIdAnalyticsResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapileadscrapermicroserviceapiv1workspacesworkspaceidanalytics.d.ts.map