import * as z from "zod/v4-mini"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Indicates the status of the Refund. */ export declare const RefundStatus: { readonly Queued: "QUEUED"; readonly Pending: "PENDING"; readonly Success: "SUCCESS"; readonly Error: "ERROR"; }; /** * Indicates the status of the Refund. */ export type RefundStatus = ClosedEnum; export type Refund = { /** * Date and time of object creation. */ objectCreated?: Date | undefined; /** * Unique identifier of the given object. */ objectId?: string | undefined; /** * Username of the user who created the object. */ objectOwner?: string | undefined; /** * Date and time of last object update. */ objectUpdated?: Date | undefined; /** * Indicates the status of the Refund. */ status?: RefundStatus | undefined; /** * Indicates whether the object has been created in test mode. */ test?: boolean | undefined; /** * Object ID of the Transaction to be refunded. */ transaction?: string | undefined; }; /** @internal */ export declare const RefundStatus$inboundSchema: z.ZodMiniEnum; /** @internal */ export declare const Refund$inboundSchema: z.ZodMiniType; export declare function refundFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=refund.d.ts.map