import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Transaction } from "./transaction.js"; import { VoidStatus } from "./voidstatus.js"; export type TransactionVoid = { /** * Always `transaction-void`. */ type: "transaction-void"; status: VoidStatus; /** * The standardized error code set by Gr4vy. */ code: string | null; /** * This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services. */ rawResponseCode: string | null; /** * This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services. */ rawResponseDescription: string | null; /** * A full transaction resource. */ transaction: Transaction; }; /** @internal */ export declare const TransactionVoid$inboundSchema: z.ZodType; export declare function transactionVoidFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transactionvoid.d.ts.map