import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AddressUpdate, AddressUpdate$Outbound } from "./addressupdate.js"; import { CreateAccountSettings, CreateAccountSettings$Outbound } from "./createaccountsettings.js"; import { PatchProfile, PatchProfile$Outbound } from "./patchprofile.js"; import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js"; import { TermsOfServicePayloadUpdate, TermsOfServicePayloadUpdate$Outbound } from "./termsofservicepayloadupdate.js"; /** * 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. */ export type PatchAccountCustomerSupport = { phone?: PhoneNumber | undefined; email?: string | undefined; address?: AddressUpdate | undefined; website?: string | undefined; }; /** * Describes the fields available when patching a Moov account. */ export type PatchAccount = { /** * Describes the fields available when patching a profile. * * @remarks * Each object can be patched independent of patching the other fields. */ profile?: PatchProfile | undefined; metadata?: { [k: string]: string; } | null | undefined; termsOfService?: TermsOfServicePayloadUpdate | undefined; foreignID?: string | undefined; customerSupport?: PatchAccountCustomerSupport | null | undefined; settings?: CreateAccountSettings | undefined; }; /** @internal */ export declare const PatchAccountCustomerSupport$inboundSchema: z.ZodType; /** @internal */ export type PatchAccountCustomerSupport$Outbound = { phone?: PhoneNumber$Outbound | undefined; email?: string | undefined; address?: AddressUpdate$Outbound | undefined; website?: string | undefined; }; /** @internal */ export declare const PatchAccountCustomerSupport$outboundSchema: z.ZodType; export declare function patchAccountCustomerSupportToJSON(patchAccountCustomerSupport: PatchAccountCustomerSupport): string; export declare function patchAccountCustomerSupportFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PatchAccount$inboundSchema: z.ZodType; /** @internal */ export type PatchAccount$Outbound = { profile?: PatchProfile$Outbound | undefined; metadata?: { [k: string]: string; } | null | undefined; termsOfService?: TermsOfServicePayloadUpdate$Outbound | undefined; foreignID?: string | undefined; customerSupport?: PatchAccountCustomerSupport$Outbound | null | undefined; settings?: CreateAccountSettings$Outbound | undefined; }; /** @internal */ export declare const PatchAccount$outboundSchema: z.ZodType; export declare function patchAccountToJSON(patchAccount: PatchAccount): string; export declare function patchAccountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=patchaccount.d.ts.map