import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest = { workspaceId: string; }; export type StorageByType = { fileType?: string | undefined; size?: string | undefined; fileCount?: number | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData = { totalStorageUsed?: string | undefined; storageQuota?: string | undefined; usagePercentage?: number | undefined; storageByType?: Array | undefined; totalFiles?: number | undefined; totalFolders?: number | undefined; lastUpdated?: Date | undefined; }; export type GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody = { data: GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$Outbound = { workspaceId: string; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$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 GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequestToJSON(getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest: GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequest): string; export declare function getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const StorageByType$inboundSchema: z.ZodType; /** @internal */ export type StorageByType$Outbound = { fileType?: string | undefined; size?: string | undefined; fileCount?: number | undefined; }; /** @internal */ export declare const StorageByType$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 StorageByType$ { /** @deprecated use `StorageByType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `StorageByType$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `StorageByType$Outbound` instead. */ type Outbound = StorageByType$Outbound; } export declare function storageByTypeToJSON(storageByType: StorageByType): string; export declare function storageByTypeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$Outbound = { totalStorageUsed?: string | undefined; storageQuota?: string | undefined; usagePercentage?: number | undefined; storageByType?: Array | undefined; totalFiles?: number | undefined; totalFolders?: number | undefined; lastUpdated?: string | undefined; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$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 GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdDataToJSON(getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData: GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData): string; export declare function getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$Outbound = { data: GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdData$Outbound; }; /** @internal */ export declare const GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$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 GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$ { /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$Outbound` instead. */ type Outbound = GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody$Outbound; } export declare function getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBodyToJSON(getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody: GetApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBody): string; export declare function getApiWorkspaceServiceV1WorkspacesStorageStatsWorkspaceIdResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiworkspaceservicev1workspacesstoragestatsworkspaceid.d.ts.map