import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ExtendPaths = { /** * JSONPath string specifying where to apply the value. */ path: string; /** * The value to set at the specified path, can be any type. */ value?: any | undefined; }; export type PassThroughBody = { /** * Identifier for the service to which this pass_through should be applied. */ serviceId: string; /** * Optional identifier for a workflow operation to which this pass_through should be applied. This is useful for Unify calls that are making more than one downstream request. */ operationId?: string | undefined; /** * Simple object allowing any properties for direct extension. */ extendObject?: { [k: string]: any; } | undefined; /** * Array of objects for structured data modifications via paths. */ extendPaths?: Array | undefined; }; /** @internal */ export declare const ExtendPaths$inboundSchema: z.ZodType; /** @internal */ export type ExtendPaths$Outbound = { path: string; value?: any | undefined; }; /** @internal */ export declare const ExtendPaths$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 ExtendPaths$ { /** @deprecated use `ExtendPaths$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExtendPaths$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExtendPaths$Outbound` instead. */ type Outbound = ExtendPaths$Outbound; } export declare function extendPathsToJSON(extendPaths: ExtendPaths): string; export declare function extendPathsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PassThroughBody$inboundSchema: z.ZodType; /** @internal */ export type PassThroughBody$Outbound = { service_id: string; operation_id?: string | undefined; extend_object?: { [k: string]: any; } | undefined; extend_paths?: Array | undefined; }; /** @internal */ export declare const PassThroughBody$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 PassThroughBody$ { /** @deprecated use `PassThroughBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PassThroughBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PassThroughBody$Outbound` instead. */ type Outbound = PassThroughBody$Outbound; } export declare function passThroughBodyToJSON(passThroughBody: PassThroughBody): string; export declare function passThroughBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=passthroughbody.d.ts.map