import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest = { workspaceId: string; startTime?: string | undefined; endTime?: string | undefined; }; export type Activity = { totalFiles?: number | undefined; totalFolders?: number | undefined; activeUsers?: number | undefined; storageUsed?: string | undefined; storageUsagePercentage?: number | undefined; }; export type UserActivities = { userId?: string | undefined; email?: string | undefined; fileOperations?: number | undefined; commentsMade?: number | undefined; documentsProcessed?: number | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance = { gdprComplianceScore?: number | undefined; hipaaComplianceScore?: number | undefined; pendingApprovals?: number | undefined; complianceViolations?: number | undefined; }; export type RecentActivities = { id?: string | undefined; activityType?: string | undefined; userId?: string | undefined; description?: string | undefined; metadata?: { [k: string]: string; } | undefined; createdAt?: Date | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData = { activity?: Activity | undefined; userActivities?: Array | undefined; compliance?: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance | undefined; recentActivities?: Array | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody = { data: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$Outbound = { workspaceId: string; startTime?: string | undefined; endTime?: string | undefined; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$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 GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequestToJSON(getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequest): string; export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Activity$inboundSchema: z.ZodType; /** @internal */ export type Activity$Outbound = { totalFiles?: number | undefined; totalFolders?: number | undefined; activeUsers?: number | undefined; storageUsed?: string | undefined; storageUsagePercentage?: number | undefined; }; /** @internal */ export declare const Activity$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 Activity$ { /** @deprecated use `Activity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Activity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Activity$Outbound` instead. */ type Outbound = Activity$Outbound; } export declare function activityToJSON(activity: Activity): string; export declare function activityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UserActivities$inboundSchema: z.ZodType; /** @internal */ export type UserActivities$Outbound = { userId?: string | undefined; email?: string | undefined; fileOperations?: number | undefined; commentsMade?: number | undefined; documentsProcessed?: number | undefined; }; /** @internal */ export declare const UserActivities$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 UserActivities$ { /** @deprecated use `UserActivities$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UserActivities$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UserActivities$Outbound` instead. */ type Outbound = UserActivities$Outbound; } export declare function userActivitiesToJSON(userActivities: UserActivities): string; export declare function userActivitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$Outbound = { gdprComplianceScore?: number | undefined; hipaaComplianceScore?: number | undefined; pendingApprovals?: number | undefined; complianceViolations?: number | undefined; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$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 GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdComplianceToJSON(getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance): string; export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdComplianceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RecentActivities$inboundSchema: z.ZodType; /** @internal */ export type RecentActivities$Outbound = { id?: string | undefined; activityType?: string | undefined; userId?: string | undefined; description?: string | undefined; metadata?: { [k: string]: string; } | undefined; createdAt?: string | undefined; }; /** @internal */ export declare const RecentActivities$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 RecentActivities$ { /** @deprecated use `RecentActivities$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RecentActivities$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RecentActivities$Outbound` instead. */ type Outbound = RecentActivities$Outbound; } export declare function recentActivitiesToJSON(recentActivities: RecentActivities): string; export declare function recentActivitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$Outbound = { activity?: Activity$Outbound | undefined; userActivities?: Array | undefined; compliance?: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdCompliance$Outbound | undefined; recentActivities?: Array | undefined; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$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 GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdDataToJSON(getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData): string; export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$Outbound = { data: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdData$Outbound; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$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 GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBodyToJSON(getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody: GetApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBody): string; export declare function getApiWorkspaceServiceV1WorkspacesAnalyticsWorkspaceIdResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiworkspaceservicev1workspacesanalyticsworkspaceid.d.ts.map