import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ProxyGetProxyGlobals = {
    /**
     * ID of the consumer which you want to get or push data from
     */
    consumerId?: string | undefined;
    /**
     * The ID of your Unify application
     */
    appId?: string | undefined;
};
export type ProxyGetProxyRequest = {
    /**
     * ID of the consumer which you want to get or push data from
     */
    consumerId?: string | undefined;
    /**
     * The ID of your Unify application
     */
    appId?: string | undefined;
    /**
     * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
     */
    serviceId: string;
    /**
     * Specify which unified API to use for the connection lookup. Required for multi-API connectors (e.g., Workday) to ensure the correct credentials are used.
     */
    unifiedApi?: string | undefined;
    /**
     * Downstream URL
     */
    downstreamUrl: string;
    /**
     * Downstream authorization header. This will skip the Vault token injection.
     */
    downstreamAuthorization?: string | undefined;
};
export type ProxyGetProxyResponse = {
    httpMeta: components.HTTPMetadata;
    /**
     * Ok
     */
    responseJson?: {
        [k: string]: any;
    } | undefined;
    /**
     * Ok
     */
    responseBinary?: ReadableStream<Uint8Array> | undefined;
    /**
     * Ok
     */
    responsePdf?: ReadableStream<Uint8Array> | undefined;
    /**
     * Ok
     */
    responseXml?: string | undefined;
    /**
     * Ok
     */
    responseCsv?: string | undefined;
    /**
     * Ok
     */
    responseText?: string | undefined;
    /**
     * Proxy error
     */
    errorJson?: {
        [k: string]: any;
    } | undefined;
    /**
     * Proxy error
     */
    errorXml?: string | undefined;
    /**
     * Proxy error
     */
    errorHtml?: string | undefined;
    /**
     * Proxy error
     */
    errorText?: string | undefined;
};
/** @internal */
export type ProxyGetProxyRequest$Outbound = {
    consumerId?: string | undefined;
    appId?: string | undefined;
    serviceId: string;
    unifiedApi?: string | undefined;
    downstreamUrl: string;
    downstreamAuthorization?: string | undefined;
};
/** @internal */
export declare const ProxyGetProxyRequest$outboundSchema: z.ZodType<ProxyGetProxyRequest$Outbound, z.ZodTypeDef, ProxyGetProxyRequest>;
export declare function proxyGetProxyRequestToJSON(proxyGetProxyRequest: ProxyGetProxyRequest): string;
/** @internal */
export declare const ProxyGetProxyResponse$inboundSchema: z.ZodType<ProxyGetProxyResponse, z.ZodTypeDef, unknown>;
export declare function proxyGetProxyResponseFromJSON(jsonString: string): SafeParseResult<ProxyGetProxyResponse, SDKValidationError>;
//# sourceMappingURL=proxygetproxy.d.ts.map