import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CapabilityID } from "./capabilityid.js"; import { CreateAccountType } from "./createaccounttype.js"; import { CreateProfile, CreateProfile$Outbound } from "./createprofile.js"; import { CustomerSupport, CustomerSupport$Outbound } from "./customersupport.js"; import { Mode } from "./mode.js"; import { Settings, Settings$Outbound } from "./settings.js"; import { TermsOfServicePayload, TermsOfServicePayload$Outbound } from "./termsofservicepayload.js"; export type CreateAccount = { accountType: CreateAccountType; profile: CreateProfile; /** * Free-form key-value pair list. Useful for storing information that is not captured elsewhere. */ metadata?: { [k: string]: string; } | undefined; termsOfService?: TermsOfServicePayload | undefined; /** * Optional alias from a foreign/external system which can be used to reference this resource. */ foreignID?: string | undefined; /** * User-provided information that can be displayed on credit card transactions for customers to use when * * @remarks * contacting a customer support team. This data is only allowed on a business account. */ customerSupport?: CustomerSupport | undefined; /** * User provided settings to manage an account. */ settings?: Settings | undefined; capabilities?: Array | undefined; /** * The operating mode for an account. */ mode?: Mode | undefined; }; /** @internal */ export declare const CreateAccount$inboundSchema: z.ZodType; /** @internal */ export type CreateAccount$Outbound = { accountType: string; profile: CreateProfile$Outbound; metadata?: { [k: string]: string; } | undefined; termsOfService?: TermsOfServicePayload$Outbound | undefined; foreignID?: string | undefined; customerSupport?: CustomerSupport$Outbound | undefined; settings?: Settings$Outbound | undefined; capabilities?: Array | undefined; mode?: string | undefined; }; /** @internal */ export declare const CreateAccount$outboundSchema: z.ZodType; export declare function createAccountToJSON(createAccount: CreateAccount): string; export declare function createAccountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createaccount.d.ts.map