import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { PazeEnhancedTransactionData, PazeEnhancedTransactionData$Outbound } from "./pazeenhancedtransactiondata.js"; import { PazeTransactionOptions, PazeTransactionOptions$Outbound } from "./pazetransactionoptions.js"; import { PazeTransactionValue, PazeTransactionValue$Outbound } from "./pazetransactionvalue.js"; /** * The type of transaction being completed. PURCHASE for a one-off checkout, CARD_ON_FILE to retain the card for future use, or BOTH. */ export declare const PazeSessionCompleteRequestTransactiontype: { readonly Purchase: "PURCHASE"; readonly CardOnFile: "CARD_ON_FILE"; readonly Both: "BOTH"; }; /** * The type of transaction being completed. PURCHASE for a one-off checkout, CARD_ON_FILE to retain the card for future use, or BOTH. */ export type PazeSessionCompleteRequestTransactiontype = OpenEnum; export declare const ProcessingNetwork: { readonly Visa: "VISA"; readonly Mastercard: "MASTERCARD"; readonly Discover: "DISCOVER"; }; export type ProcessingNetwork = OpenEnum; export type PazeSessionCompleteRequest = { /** * Session reference identifier generated by the merchant. Must match the value sent in the Paze session create call. */ sessionId: string; /** * Opaque token issued by the Paze service in the response from the most recent Paze UX interaction. */ code: string; /** * The Paze OAuth access token returned by the Paze mobile session create call. Used to authenticate the request to Paze. */ accessToken: string; /** * The type of transaction being completed. PURCHASE for a one-off checkout, CARD_ON_FILE to retain the card for future use, or BOTH. */ transactionType: PazeSessionCompleteRequestTransactiontype; /** * Client configuration data overriding values configured during merchant onboarding. */ transactionOptions?: PazeTransactionOptions | null | undefined; /** * Required when `transactionType` is PURCHASE or BOTH. Must be omitted when `transactionType` is CARD_ON_FILE. */ transactionValue?: PazeTransactionValue | null | undefined; /** * Card network to process the transaction on. If not provided, Paze defaults to the network on the front of the card. */ processingNetwork?: ProcessingNetwork | null | undefined; /** * Additional purchase context used by Paze for risk scoring. */ enhancedTransactionData?: PazeEnhancedTransactionData | null | undefined; }; /** @internal */ export declare const PazeSessionCompleteRequestTransactiontype$outboundSchema: z.ZodType; /** @internal */ export declare const ProcessingNetwork$outboundSchema: z.ZodType; /** @internal */ export type PazeSessionCompleteRequest$Outbound = { sessionId: string; code: string; accessToken: string; transactionType: string; transactionOptions?: PazeTransactionOptions$Outbound | null | undefined; transactionValue?: PazeTransactionValue$Outbound | null | undefined; processingNetwork?: string | null | undefined; enhancedTransactionData?: PazeEnhancedTransactionData$Outbound | null | undefined; }; /** @internal */ export declare const PazeSessionCompleteRequest$outboundSchema: z.ZodType; export declare function pazeSessionCompleteRequestToJSON(pazeSessionCompleteRequest: PazeSessionCompleteRequest): string; //# sourceMappingURL=pazesessioncompleterequest.d.ts.map