import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The expiration policy for a vector store. */ export type ModifyVectorStoreRequestExpiresAfter = { /** * Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at. */ anchor: "last_active_at"; /** * The number of days after the anchor time that the vector store will expire. */ days: number; }; /** * Request body for modifying a vector store. */ export type ModifyVectorStoreRequest = { /** * The name of the vector store. */ name?: string | null | undefined; /** * The expiration policy for a vector store. */ expiresAfter?: ModifyVectorStoreRequestExpiresAfter | null | undefined; /** * Set of 16 key-value pairs that can be attached to an object. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters. */ metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const ModifyVectorStoreRequestExpiresAfter$inboundSchema: z.ZodType; /** @internal */ export type ModifyVectorStoreRequestExpiresAfter$Outbound = { anchor: "last_active_at"; days: number; }; /** @internal */ export declare const ModifyVectorStoreRequestExpiresAfter$outboundSchema: z.ZodType; export declare function modifyVectorStoreRequestExpiresAfterToJSON(modifyVectorStoreRequestExpiresAfter: ModifyVectorStoreRequestExpiresAfter): string; export declare function modifyVectorStoreRequestExpiresAfterFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ModifyVectorStoreRequest$inboundSchema: z.ZodType; /** @internal */ export type ModifyVectorStoreRequest$Outbound = { name?: string | null | undefined; expires_after?: ModifyVectorStoreRequestExpiresAfter$Outbound | null | undefined; metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const ModifyVectorStoreRequest$outboundSchema: z.ZodType; export declare function modifyVectorStoreRequestToJSON(modifyVectorStoreRequest: ModifyVectorStoreRequest): string; export declare function modifyVectorStoreRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=modifyvectorstorerequest.d.ts.map