import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ConnectionState } from "./connectionstate.js"; export type ValidateConnectionStateResponseData = { /** * The unique identifier of the connection. */ id?: string | undefined; /** * [Connection state flow](#section/Connection-state) */ state?: ConnectionState | undefined; }; /** * Connection access token refreshed */ export type ValidateConnectionStateResponse = { /** * HTTP Response Status Code */ statusCode: number; /** * HTTP Response Status */ status: string; data: ValidateConnectionStateResponseData; }; /** @internal */ export declare const ValidateConnectionStateResponseData$inboundSchema: z.ZodType; /** @internal */ export type ValidateConnectionStateResponseData$Outbound = { id?: string | undefined; state?: string | undefined; }; /** @internal */ export declare const ValidateConnectionStateResponseData$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 ValidateConnectionStateResponseData$ { /** @deprecated use `ValidateConnectionStateResponseData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ValidateConnectionStateResponseData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ValidateConnectionStateResponseData$Outbound` instead. */ type Outbound = ValidateConnectionStateResponseData$Outbound; } export declare function validateConnectionStateResponseDataToJSON(validateConnectionStateResponseData: ValidateConnectionStateResponseData): string; export declare function validateConnectionStateResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ValidateConnectionStateResponse$inboundSchema: z.ZodType; /** @internal */ export type ValidateConnectionStateResponse$Outbound = { status_code: number; status: string; data: ValidateConnectionStateResponseData$Outbound; }; /** @internal */ export declare const ValidateConnectionStateResponse$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 ValidateConnectionStateResponse$ { /** @deprecated use `ValidateConnectionStateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ValidateConnectionStateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ValidateConnectionStateResponse$Outbound` instead. */ type Outbound = ValidateConnectionStateResponse$Outbound; } export declare function validateConnectionStateResponseToJSON(validateConnectionStateResponse: ValidateConnectionStateResponse): string; export declare function validateConnectionStateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=validateconnectionstateresponse.d.ts.map