import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AccountCapability, AccountCapability$Outbound } from "./accountcapability.js"; import { AccountType } from "./accounttype.js"; import { CustomerSupport, CustomerSupport$Outbound } from "./customersupport.js"; import { Mode } from "./mode.js"; import { Profile, Profile$Outbound } from "./profile.js"; import { Settings, Settings$Outbound } from "./settings.js"; import { TermsOfService, TermsOfService$Outbound } from "./termsofservice.js"; import { Verification, Verification$Outbound } from "./verification.js"; export type Account = { /** * Unique identifier for this account. */ accountID: string; /** * The operating mode for an account. */ mode: Mode; /** * The type of entity represented by this account. */ accountType: AccountType; displayName: string; /** * Describes a Moov account profile. A profile will have a business, individual, or guest depending on the account's type. */ profile: Profile; /** * Free-form key-value pair list. Useful for storing information that is not captured elsewhere. */ metadata?: { [k: string]: string; } | undefined; /** * Describes the acceptance of the Terms of Service. */ termsOfService?: TermsOfService | undefined; capabilities?: Array | undefined; /** * Describes identity verification status and relevant identity verification documents. */ verification: Verification; /** * 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; createdOn: Date; updatedOn: Date; disconnectedOn?: Date | undefined; }; /** @internal */ export declare const Account$inboundSchema: z.ZodType; /** @internal */ export type Account$Outbound = { accountID: string; mode: string; accountType: string; displayName: string; profile: Profile$Outbound; metadata?: { [k: string]: string; } | undefined; termsOfService?: TermsOfService$Outbound | undefined; capabilities?: Array | undefined; verification: Verification$Outbound; foreignID?: string | undefined; customerSupport?: CustomerSupport$Outbound | undefined; settings?: Settings$Outbound | undefined; createdOn: string; updatedOn: string; disconnectedOn?: string | undefined; }; /** @internal */ export declare const Account$outboundSchema: z.ZodType; export declare function accountToJSON(account: Account): string; export declare function accountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=account.d.ts.map