import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CreatePartitionParamsMetadataSchema = string | number | boolean | Array | { [k: string]: any; }; export type CreatePartitionParams = { name: string; /** * Description of the partition. Automatic description generation can be enabled in the web dashboard. */ description?: string | null | undefined; /** * Monthly limit of hosted pages added in the current month in the partition. */ pagesHostedLimitMonthly?: number | null | undefined; /** * Monthly limit, in pages, for processed documents in the partition. */ pagesProcessedLimitMonthly?: number | null | undefined; /** * Maximum limit, in pages, for hosted documents in the partition. */ pagesHostedLimitMax?: number | null | undefined; /** * Maximum limit, in pages, for processed documents in the partition. */ pagesProcessedLimitMax?: number | null | undefined; /** * Monthly limit, in minutes, for audio processing in the partition. */ audioProcessedLimitMonthly?: number | null | undefined; /** * Maximum limit, in minutes, for audio processing in the partition. */ audioProcessedLimitMax?: number | null | undefined; /** * Monthly limit, in minutes, for video processing in the partition. */ videoProcessedLimitMonthly?: number | null | undefined; /** * Maximum limit, in minutes, for video processing in the partition. */ videoProcessedLimitMax?: number | null | undefined; /** * Monthly limit, in MBs, for media streamed from the partition. */ mediaStreamedLimitMonthly?: number | null | undefined; /** * Maximum limit, in MBs, for media streamed from the partition. */ mediaStreamedLimitMax?: number | null | undefined; /** * Monthly limit, in MBs, for media hosted in the partition. */ mediaHostedLimitMonthly?: number | null | undefined; /** * Maximum limit, in MBs, for media hosted in the partition. */ mediaHostedLimitMax?: number | null | undefined; /** * Metadata schema for the partition. This is an optional subset of the metadata of documents in the partition, defined as JSON Schema, that can be used in filter generatation. Providing detailed descriptions of the fields in the schema can be helpful for LLMs generating filters dynamically. */ metadataSchema?: { [k: string]: string | number | boolean | Array | { [k: string]: any; }; } | null | undefined; }; /** @internal */ export declare const CreatePartitionParamsMetadataSchema$inboundSchema: z.ZodType; /** @internal */ export type CreatePartitionParamsMetadataSchema$Outbound = string | number | boolean | Array | { [k: string]: any; }; /** @internal */ export declare const CreatePartitionParamsMetadataSchema$outboundSchema: z.ZodType; export declare function createPartitionParamsMetadataSchemaToJSON(createPartitionParamsMetadataSchema: CreatePartitionParamsMetadataSchema): string; export declare function createPartitionParamsMetadataSchemaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreatePartitionParams$inboundSchema: z.ZodType; /** @internal */ export type CreatePartitionParams$Outbound = { name: string; description?: string | null | undefined; pages_hosted_limit_monthly?: number | null | undefined; pages_processed_limit_monthly?: number | null | undefined; pages_hosted_limit_max?: number | null | undefined; pages_processed_limit_max?: number | null | undefined; audio_processed_limit_monthly?: number | null | undefined; audio_processed_limit_max?: number | null | undefined; video_processed_limit_monthly?: number | null | undefined; video_processed_limit_max?: number | null | undefined; media_streamed_limit_monthly?: number | null | undefined; media_streamed_limit_max?: number | null | undefined; media_hosted_limit_monthly?: number | null | undefined; media_hosted_limit_max?: number | null | undefined; metadata_schema?: { [k: string]: string | number | boolean | Array | { [k: string]: any; }; } | null | undefined; }; /** @internal */ export declare const CreatePartitionParams$outboundSchema: z.ZodType; export declare function createPartitionParamsToJSON(createPartitionParams: CreatePartitionParams): string; export declare function createPartitionParamsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createpartitionparams.d.ts.map