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 VaultConnectionsImportGlobals = { /** * 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 VaultConnectionsImportRequest = { /** * Service ID of the resource to return */ serviceId: string; /** * Unified API */ unifiedApi: string; /** * Fields that need to be persisted on the resource */ connectionImportData: components.ConnectionImportData; }; export type VaultConnectionsImportResponse = { httpMeta: components.HTTPMetadata; /** * Connection created */ createConnectionResponse?: components.CreateConnectionResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const VaultConnectionsImportGlobals$inboundSchema: z.ZodType; /** @internal */ export type VaultConnectionsImportGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const VaultConnectionsImportGlobals$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 VaultConnectionsImportGlobals$ { /** @deprecated use `VaultConnectionsImportGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsImportGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsImportGlobals$Outbound` instead. */ type Outbound = VaultConnectionsImportGlobals$Outbound; } export declare function vaultConnectionsImportGlobalsToJSON(vaultConnectionsImportGlobals: VaultConnectionsImportGlobals): string; export declare function vaultConnectionsImportGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultConnectionsImportRequest$inboundSchema: z.ZodType; /** @internal */ export type VaultConnectionsImportRequest$Outbound = { service_id: string; unified_api: string; ConnectionImportData: components.ConnectionImportData$Outbound; }; /** @internal */ export declare const VaultConnectionsImportRequest$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 VaultConnectionsImportRequest$ { /** @deprecated use `VaultConnectionsImportRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsImportRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsImportRequest$Outbound` instead. */ type Outbound = VaultConnectionsImportRequest$Outbound; } export declare function vaultConnectionsImportRequestToJSON(vaultConnectionsImportRequest: VaultConnectionsImportRequest): string; export declare function vaultConnectionsImportRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultConnectionsImportResponse$inboundSchema: z.ZodType; /** @internal */ export type VaultConnectionsImportResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateConnectionResponse?: components.CreateConnectionResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const VaultConnectionsImportResponse$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 VaultConnectionsImportResponse$ { /** @deprecated use `VaultConnectionsImportResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsImportResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultConnectionsImportResponse$Outbound` instead. */ type Outbound = VaultConnectionsImportResponse$Outbound; } export declare function vaultConnectionsImportResponseToJSON(vaultConnectionsImportResponse: VaultConnectionsImportResponse): string; export declare function vaultConnectionsImportResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vaultconnectionsimport.d.ts.map