import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type LinkApplePayTokenGlobals = { /** * Specify an API version. * * @remarks * * API versioning follows the format `vYYYY.QQ.BB`, where * - `YYYY` is the year * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. * - For example, `v2024.01.00` is the initial release of the first quarter of 2024. * * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release. * When no version is specified, the API defaults to `v2024.01.00`. */ xMoovVersion?: string | undefined; }; export type LinkApplePayTokenRequest = { /** * ID of the Moov account representing the cardholder. */ accountID: string; linkApplePay: components.LinkApplePay; }; export type LinkApplePayTokenResponse = { headers: { [k: string]: Array; }; result: components.LinkedApplePayPaymentMethod; }; /** @internal */ export declare const LinkApplePayTokenGlobals$inboundSchema: z.ZodType; /** @internal */ export type LinkApplePayTokenGlobals$Outbound = { "X-Moov-Version"?: string | undefined; }; /** @internal */ export declare const LinkApplePayTokenGlobals$outboundSchema: z.ZodType; export declare function linkApplePayTokenGlobalsToJSON(linkApplePayTokenGlobals: LinkApplePayTokenGlobals): string; export declare function linkApplePayTokenGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const LinkApplePayTokenRequest$inboundSchema: z.ZodType; /** @internal */ export type LinkApplePayTokenRequest$Outbound = { accountID: string; LinkApplePay: components.LinkApplePay$Outbound; }; /** @internal */ export declare const LinkApplePayTokenRequest$outboundSchema: z.ZodType; export declare function linkApplePayTokenRequestToJSON(linkApplePayTokenRequest: LinkApplePayTokenRequest): string; export declare function linkApplePayTokenRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const LinkApplePayTokenResponse$inboundSchema: z.ZodType; /** @internal */ export type LinkApplePayTokenResponse$Outbound = { Headers: { [k: string]: Array; }; Result: components.LinkedApplePayPaymentMethod$Outbound; }; /** @internal */ export declare const LinkApplePayTokenResponse$outboundSchema: z.ZodType; export declare function linkApplePayTokenResponseToJSON(linkApplePayTokenResponse: LinkApplePayTokenResponse): string; export declare function linkApplePayTokenResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=linkapplepaytoken.d.ts.map