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 VaultValidateConnectionStateGlobals = { /** * 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 VaultValidateConnectionStateRequestBody = {}; export type VaultValidateConnectionStateRequest = { /** * Service ID of the resource to return */ serviceId: string; /** * Unified API */ unifiedApi: string; requestBody?: VaultValidateConnectionStateRequestBody | undefined; }; export type VaultValidateConnectionStateResponse = { httpMeta: components.HTTPMetadata; /** * Connection access token refreshed */ validateConnectionStateResponse?: components.ValidateConnectionStateResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const VaultValidateConnectionStateGlobals$inboundSchema: z.ZodType; /** @internal */ export type VaultValidateConnectionStateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const VaultValidateConnectionStateGlobals$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 VaultValidateConnectionStateGlobals$ { /** @deprecated use `VaultValidateConnectionStateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateGlobals$Outbound` instead. */ type Outbound = VaultValidateConnectionStateGlobals$Outbound; } export declare function vaultValidateConnectionStateGlobalsToJSON(vaultValidateConnectionStateGlobals: VaultValidateConnectionStateGlobals): string; export declare function vaultValidateConnectionStateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultValidateConnectionStateRequestBody$inboundSchema: z.ZodType; /** @internal */ export type VaultValidateConnectionStateRequestBody$Outbound = {}; /** @internal */ export declare const VaultValidateConnectionStateRequestBody$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 VaultValidateConnectionStateRequestBody$ { /** @deprecated use `VaultValidateConnectionStateRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateRequestBody$Outbound` instead. */ type Outbound = VaultValidateConnectionStateRequestBody$Outbound; } export declare function vaultValidateConnectionStateRequestBodyToJSON(vaultValidateConnectionStateRequestBody: VaultValidateConnectionStateRequestBody): string; export declare function vaultValidateConnectionStateRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultValidateConnectionStateRequest$inboundSchema: z.ZodType; /** @internal */ export type VaultValidateConnectionStateRequest$Outbound = { service_id: string; unified_api: string; RequestBody?: VaultValidateConnectionStateRequestBody$Outbound | undefined; }; /** @internal */ export declare const VaultValidateConnectionStateRequest$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 VaultValidateConnectionStateRequest$ { /** @deprecated use `VaultValidateConnectionStateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateRequest$Outbound` instead. */ type Outbound = VaultValidateConnectionStateRequest$Outbound; } export declare function vaultValidateConnectionStateRequestToJSON(vaultValidateConnectionStateRequest: VaultValidateConnectionStateRequest): string; export declare function vaultValidateConnectionStateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultValidateConnectionStateResponse$inboundSchema: z.ZodType; /** @internal */ export type VaultValidateConnectionStateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; ValidateConnectionStateResponse?: components.ValidateConnectionStateResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const VaultValidateConnectionStateResponse$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 VaultValidateConnectionStateResponse$ { /** @deprecated use `VaultValidateConnectionStateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultValidateConnectionStateResponse$Outbound` instead. */ type Outbound = VaultValidateConnectionStateResponse$Outbound; } export declare function vaultValidateConnectionStateResponseToJSON(vaultValidateConnectionStateResponse: VaultValidateConnectionStateResponse): string; export declare function vaultValidateConnectionStateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vaultvalidateconnectionstate.d.ts.map