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 CaptureTransactionGlobals = { merchantAccountId?: string | undefined; }; export type CaptureTransactionRequest = { /** * The ID of the transaction */ transactionId: string; /** * The preferred resource type in the response. */ prefer?: Array | null | undefined; /** * The ID of the merchant account to use for this request. */ merchantAccountId?: string | null | undefined; /** * A unique key that identifies this request. Providing this header will make this an idempotent request. We recommend using V4 UUIDs, or another random string with enough entropy to avoid collisions. */ idempotencyKey?: string | null | undefined; transactionCaptureCreate: components.TransactionCaptureCreate; }; /** * Successful Response */ export type CaptureTransactionResponse200CaptureTransaction = components.Transaction | components.TransactionCapture; /** @internal */ export type CaptureTransactionRequest$Outbound = { transaction_id: string; prefer?: Array | null | undefined; merchantAccountId?: string | null | undefined; "idempotency-key"?: string | null | undefined; TransactionCaptureCreate: components.TransactionCaptureCreate$Outbound; }; /** @internal */ export declare const CaptureTransactionRequest$outboundSchema: z.ZodType; export declare function captureTransactionRequestToJSON(captureTransactionRequest: CaptureTransactionRequest): string; /** @internal */ export declare const CaptureTransactionResponse200CaptureTransaction$inboundSchema: z.ZodType; export declare function captureTransactionResponse200CaptureTransactionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=capturetransaction.d.ts.map