import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; export type Collection = { /** * A unique identifier for an object. */ id: string; /** * The collections's parent ID */ parentId?: string | null | undefined; /** * The collections's type */ type?: string | null | undefined; /** * Name of the collection */ name?: string | null | undefined; /** * Description of the collection */ description?: string | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; }; /** @internal */ export declare const Collection$inboundSchema: z.ZodType; /** @internal */ export type Collection$Outbound = { id: string; parent_id?: string | null | undefined; type?: string | null | undefined; name?: string | null | undefined; description?: string | null | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; updated_at?: string | null | undefined; created_at?: string | null | undefined; }; /** @internal */ export declare const Collection$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 Collection$ { /** @deprecated use `Collection$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Collection$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Collection$Outbound` instead. */ type Outbound = Collection$Outbound; } export declare function collectionToJSON(collection: Collection): string; export declare function collectionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=collection.d.ts.map