import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ResourceStatus } from "./resourcestatus.js"; export type LinkedResources = { /** * ID of the resource, typically a lowercased version of name. */ id?: string | undefined; /** * Name of the property in our Unified API. */ unifiedProperty?: string | undefined; }; /** * JSON Schema of the resource in our Unified API */ export type Schema = {}; export type ApiResource = { /** * ID of the resource, typically a lowercased version of name. */ id?: string | undefined; /** * Name of the resource (plural) */ name?: string | undefined; /** * Status of the resource. Resources with status live or beta are callable. */ status?: ResourceStatus | undefined; /** * List of linked resources. */ linkedResources?: Array | undefined; /** * JSON Schema of the resource in our Unified API */ schema?: Schema | undefined; }; /** @internal */ export declare const LinkedResources$inboundSchema: z.ZodType; export declare function linkedResourcesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Schema$inboundSchema: z.ZodType; export declare function schemaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ApiResource$inboundSchema: z.ZodType; export declare function apiResourceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=apiresource.d.ts.map