import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { PazeClient, PazeClient$Outbound } from "./pazeclient.js"; import { PazeCobrandItem, PazeCobrandItem$Outbound } from "./pazecobranditem.js"; import { PazeTransactionValue, PazeTransactionValue$Outbound } from "./pazetransactionvalue.js"; /** * Primary intent of the checkout session. */ export declare const Intent: { readonly ReviewAndPay: "REVIEW_AND_PAY"; readonly ExpressCheckout: "EXPRESS_CHECKOUT"; readonly AddCard: "ADD_CARD"; }; /** * Primary intent of the checkout session. */ export type Intent = OpenEnum; export declare const TransactionType: { readonly Purchase: "PURCHASE"; readonly CardOnFile: "CARD_ON_FILE"; readonly Both: "BOTH"; }; export type TransactionType = OpenEnum; export declare const ShippingPreference: { readonly All: "ALL"; readonly None: "NONE"; }; export type ShippingPreference = OpenEnum; export declare const BillingPreference: { readonly All: "ALL"; readonly ZipCountry: "ZIP_COUNTRY"; readonly None: "NONE"; }; export type BillingPreference = OpenEnum; export declare const AcceptedPaymentCardNetworks: { readonly Visa: "VISA"; readonly Mastercard: "MASTERCARD"; }; export type AcceptedPaymentCardNetworks = OpenEnum; export type PazeMobileSessionCreateRequest = { client: PazeClient; /** * Session reference identifier generated by the merchant. Must be reused across all Paze APIs in a checkout session. */ sessionId: string; /** * Access token obtained from the Paze session endpoint with source=mobile. */ accessToken: string; /** * Merchant app's ID (iOS bundle identifier or Android application ID) used as the callback URL scheme. */ callbackURLScheme: string; /** * Primary intent of the checkout session. */ intent: Intent; /** * Currency and amount of the transaction. Required when intent is EXPRESS_CHECKOUT. */ transactionValue?: PazeTransactionValue | null | undefined; /** * Type of transaction. */ transactionType?: TransactionType | null | undefined; /** * Whether to collect a shipping address from the consumer. */ shippingPreference?: ShippingPreference | null | undefined; /** * Verbosity of billing address required. */ billingPreference?: BillingPreference | null | undefined; /** * Consumer email address for checkout flow optimization. */ emailAddress?: string | null | undefined; /** * Consumer phone number for checkout flow optimization. */ phoneNumber?: string | null | undefined; /** * Details for cobranded cards offered by the merchant. */ cobrand?: Array | null | undefined; /** * ISO 3166-1 alpha-2 country codes restricting eligible shipping addresses. Empty list or absence means all countries accepted. */ acceptedShippingCountries?: Array | null | undefined; /** * Accepted payment card networks. Empty list or absence means all networks accepted. */ acceptedPaymentCardNetworks?: Array | null | undefined; /** * Set to true to enable Paze checkout even if the provided email address or phone number does not match a Paze wallet. */ alwaysEnableCheckout?: boolean | undefined; }; /** @internal */ export declare const Intent$outboundSchema: z.ZodType; /** @internal */ export declare const TransactionType$outboundSchema: z.ZodType; /** @internal */ export declare const ShippingPreference$outboundSchema: z.ZodType; /** @internal */ export declare const BillingPreference$outboundSchema: z.ZodType; /** @internal */ export declare const AcceptedPaymentCardNetworks$outboundSchema: z.ZodType; /** @internal */ export type PazeMobileSessionCreateRequest$Outbound = { client: PazeClient$Outbound; sessionId: string; accessToken: string; callbackURLScheme: string; intent: string; transactionValue?: PazeTransactionValue$Outbound | null | undefined; transactionType?: string | null | undefined; shippingPreference?: string | null | undefined; billingPreference?: string | null | undefined; emailAddress?: string | null | undefined; phoneNumber?: string | null | undefined; cobrand?: Array | null | undefined; acceptedShippingCountries?: Array | null | undefined; acceptedPaymentCardNetworks?: Array | null | undefined; alwaysEnableCheckout: boolean; }; /** @internal */ export declare const PazeMobileSessionCreateRequest$outboundSchema: z.ZodType; export declare function pazeMobileSessionCreateRequestToJSON(pazeMobileSessionCreateRequest: PazeMobileSessionCreateRequest): string; //# sourceMappingURL=pazemobilesessioncreaterequest.d.ts.map