import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CardAddress, CardAddress$Outbound } from "./cardaddress.js"; import { CardExpiration, CardExpiration$Outbound } from "./cardexpiration.js"; import { E2EEToken, E2EEToken$Outbound } from "./e2eetoken.js"; export type LinkCard = { /** * Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. * * @remarks * This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our * [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go). */ e2ee?: E2EEToken | undefined; cardNumber: string; cardCvv: string; /** * The expiration date of the card or token. */ expiration: CardExpiration; holderName?: string | undefined; billingAddress: CardAddress; cardOnFile?: boolean | undefined; merchantAccountID?: string | undefined; verifyName?: boolean | undefined; }; /** @internal */ export declare const LinkCard$inboundSchema: z.ZodType; /** @internal */ export type LinkCard$Outbound = { e2ee?: E2EEToken$Outbound | undefined; cardNumber: string; cardCvv: string; expiration: CardExpiration$Outbound; holderName?: string | undefined; billingAddress: CardAddress$Outbound; cardOnFile?: boolean | undefined; merchantAccountID?: string | undefined; verifyName?: boolean | undefined; }; /** @internal */ export declare const LinkCard$outboundSchema: z.ZodType; export declare function linkCardToJSON(linkCard: LinkCard): string; export declare function linkCardFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=linkcard.d.ts.map