import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as shared from "../shared/index.js"; export type CreateSourceAccountRequestBody = shared.SourceAccountV2Prototype | shared.SourceAccountPrototype; export type CreateSourceAccountRequest = { /** * Unique identifier for a company. */ companyId: string; /** * Unique identifier for a connection. */ connectionId: string; requestBody?: shared.SourceAccountV2Prototype | shared.SourceAccountPrototype | undefined; }; /** * Success */ export type CreateSourceAccountResponseBody = shared.SourceAccountV2 | shared.SourceAccount; /** @internal */ export type CreateSourceAccountRequestBody$Outbound = shared.SourceAccountV2Prototype$Outbound | shared.SourceAccountPrototype$Outbound; /** @internal */ export declare const CreateSourceAccountRequestBody$outboundSchema: z.ZodType; export declare function createSourceAccountRequestBodyToJSON(createSourceAccountRequestBody: CreateSourceAccountRequestBody): string; /** @internal */ export type CreateSourceAccountRequest$Outbound = { companyId: string; connectionId: string; RequestBody?: shared.SourceAccountV2Prototype$Outbound | shared.SourceAccountPrototype$Outbound | undefined; }; /** @internal */ export declare const CreateSourceAccountRequest$outboundSchema: z.ZodType; export declare function createSourceAccountRequestToJSON(createSourceAccountRequest: CreateSourceAccountRequest): string; /** @internal */ export declare const CreateSourceAccountResponseBody$inboundSchema: z.ZodType; export declare function createSourceAccountResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createsourceaccount.d.ts.map