import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Which report this entry refers to. */ export declare const BulkReportItemResultReportType: { readonly CustomReport: "custom_report"; readonly GeneralLedger: "general_ledger"; }; /** * Which report this entry refers to. */ export type BulkReportItemResultReportType = ClosedEnum; /** * The terminal state for this individual report. */ export declare const BulkReportItemResultStatus: { readonly Pending: "pending"; readonly Success: "success"; readonly Failed: "failed"; }; /** * The terminal state for this individual report. */ export type BulkReportItemResultStatus = ClosedEnum; /** * A single report's outcome. */ export type BulkReportItemResult = { /** * Which report this entry refers to. */ reportType: BulkReportItemResultReportType; /** * The report's output file type. */ fileType: string; /** * The terminal state for this individual report. */ status: BulkReportItemResultStatus; /** * A user-facing error message when status is `failed`. Null on success. */ error: string | null; }; /** @internal */ export declare const BulkReportItemResultReportType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const BulkReportItemResultStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const BulkReportItemResult$inboundSchema: z.ZodType; export declare function bulkReportItemResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bulkreportitemresult.d.ts.map