import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { CreditCardError, CreditCardError$Outbound } from "./creditcarderror.js"; import { ErrorT, ErrorT$Outbound } from "./error.js"; import { FieldError, FieldError$Outbound } from "./fielderror.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * The payment method is invalid and cannot be added, or some other error has occurred */ export type AccountAddPaymentMethodResponseBody = ErrorT | FieldError | CreditCardError; /** @internal */ export declare const AccountAddPaymentMethodResponseBody$inboundSchema: z.ZodType; /** @internal */ export type AccountAddPaymentMethodResponseBody$Outbound = ErrorT$Outbound | FieldError$Outbound | CreditCardError$Outbound; /** @internal */ export declare const AccountAddPaymentMethodResponseBody$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 AccountAddPaymentMethodResponseBody$ { /** @deprecated use `AccountAddPaymentMethodResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountAddPaymentMethodResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountAddPaymentMethodResponseBody$Outbound` instead. */ type Outbound = AccountAddPaymentMethodResponseBody$Outbound; } export declare function accountAddPaymentMethodResponseBodyToJSON(accountAddPaymentMethodResponseBody: AccountAddPaymentMethodResponseBody): string; export declare function accountAddPaymentMethodResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountaddpaymentmethod.d.ts.map