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"; import { BulkReportCompany } from "./bulkreportcompany.js"; /** * Overall batch status. `pending`/`processing` while in progress; once finished, `success` (all reports succeeded), `partial_success` (some succeeded, some failed), or `failed` (none succeeded). */ export declare const BulkReportStatus: { readonly Pending: "pending"; readonly Processing: "processing"; readonly Success: "success"; readonly PartialSuccess: "partial_success"; readonly Failed: "failed"; }; /** * Overall batch status. `pending`/`processing` while in progress; once finished, `success` (all reports succeeded), `partial_success` (some succeeded, some failed), or `failed` (none succeeded). */ export type BulkReportStatus = ClosedEnum; export type BulkReport = { /** * Unique identifier of the bulk report batch. */ uuid: string; /** * Overall batch status. `pending`/`processing` while in progress; once finished, `success` (all reports succeeded), `partial_success` (some succeeded, some failed), or `failed` (none succeeded). */ status: BulkReportStatus; /** * When the batch was accepted. */ submittedAt: Date; /** * When the batch reached a terminal state. Null while non-terminal. */ completedAt: Date | null; /** * How many reports the partner asked for in this batch. */ submittedItems: number; /** * UUID of the partner that owns this batch. Returned only once the batch has finished; omitted while in progress. */ partnerUuid?: string | undefined; /** * How many reports succeeded. Returned only once the batch has finished; omitted while in progress. */ processedItems?: number | undefined; /** * Signed S3 URL to a zip containing every successfully-generated report, valid for 10 minutes. Returned only once the batch has finished; omitted while in progress. */ reportUrl?: string | null | undefined; /** * Per-company breakdown. Returned only once the batch has finished; omitted while in progress. */ companies?: Array | undefined; }; /** @internal */ export declare const BulkReportStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const BulkReport$inboundSchema: z.ZodType; export declare function bulkReportFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bulkreport.d.ts.map