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 VoidTransactionGlobals = { merchantAccountId?: string | undefined; }; export type VoidTransactionRequest = { /** * 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; }; /** * Successful Response */ export type VoidTransactionResponse200VoidTransaction = components.Transaction | components.TransactionVoid; /** @internal */ export type VoidTransactionRequest$Outbound = { transaction_id: string; prefer?: Array | null | undefined; merchantAccountId?: string | null | undefined; "idempotency-key"?: string | null | undefined; }; /** @internal */ export declare const VoidTransactionRequest$outboundSchema: z.ZodType; export declare function voidTransactionRequestToJSON(voidTransactionRequest: VoidTransactionRequest): string; /** @internal */ export declare const VoidTransactionResponse200VoidTransaction$inboundSchema: z.ZodType; export declare function voidTransactionResponse200VoidTransactionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=voidtransaction.d.ts.map