import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type VaultConnectionsUpdateGlobals = { /** * 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 VaultConnectionsUpdateRequest = { /** * Service ID of the resource to return */ serviceId: string; /** * Unified API */ unifiedApi: string; /** * Fields that need to be updated on the resource */ connection: components.ConnectionInput; }; export type VaultConnectionsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Connection updated */ updateConnectionResponse?: components.UpdateConnectionResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const VaultConnectionsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type VaultConnectionsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const VaultConnectionsUpdateGlobals$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 VaultConnectionsUpdateGlobals$ { /** @deprecated use `VaultConnectionsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsUpdateGlobals$Outbound` instead. */ type Outbound = VaultConnectionsUpdateGlobals$Outbound; } export declare function vaultConnectionsUpdateGlobalsToJSON(vaultConnectionsUpdateGlobals: VaultConnectionsUpdateGlobals): string; export declare function vaultConnectionsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultConnectionsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type VaultConnectionsUpdateRequest$Outbound = { service_id: string; unified_api: string; Connection: components.ConnectionInput$Outbound; }; /** @internal */ export declare const VaultConnectionsUpdateRequest$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 VaultConnectionsUpdateRequest$ { /** @deprecated use `VaultConnectionsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsUpdateRequest$Outbound` instead. */ type Outbound = VaultConnectionsUpdateRequest$Outbound; } export declare function vaultConnectionsUpdateRequestToJSON(vaultConnectionsUpdateRequest: VaultConnectionsUpdateRequest): string; export declare function vaultConnectionsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultConnectionsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type VaultConnectionsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateConnectionResponse?: components.UpdateConnectionResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const VaultConnectionsUpdateResponse$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 VaultConnectionsUpdateResponse$ { /** @deprecated use `VaultConnectionsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsUpdateResponse$Outbound` instead. */ type Outbound = VaultConnectionsUpdateResponse$Outbound; } export declare function vaultConnectionsUpdateResponseToJSON(vaultConnectionsUpdateResponse: VaultConnectionsUpdateResponse): string; export declare function vaultConnectionsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vaultconnectionsupdate.d.ts.map