import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Some metadata of the object which can be displayed, while not having the actual object. */ export type RelatedObjectMetadata = { /** * Placeholder name of the object, not the relationship. */ name?: string | undefined; }; export type RelatedObject = { /** * The ID of the related object */ id: string; /** * Some metadata of the object which can be displayed, while not having the actual object. */ metadata?: RelatedObjectMetadata | undefined; }; /** @internal */ export declare const RelatedObjectMetadata$inboundSchema: z.ZodType; /** @internal */ export type RelatedObjectMetadata$Outbound = { name?: string | undefined; }; /** @internal */ export declare const RelatedObjectMetadata$outboundSchema: z.ZodType; export declare function relatedObjectMetadataToJSON(relatedObjectMetadata: RelatedObjectMetadata): string; export declare function relatedObjectMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RelatedObject$inboundSchema: z.ZodType; /** @internal */ export type RelatedObject$Outbound = { id: string; metadata?: RelatedObjectMetadata$Outbound | undefined; }; /** @internal */ export declare const RelatedObject$outboundSchema: z.ZodType; export declare function relatedObjectToJSON(relatedObject: RelatedObject): string; export declare function relatedObjectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=relatedobject.d.ts.map