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"; /** * Current status of the export job */ export declare const StartExportFeedbackResponseStatus: { readonly NotFound: "NOT_FOUND"; readonly Running: "RUNNING"; readonly Completed: "COMPLETED"; readonly Failed: "FAILED"; readonly Cancelled: "CANCELLED"; readonly Terminated: "TERMINATED"; readonly ContinuedAsNew: "CONTINUED_AS_NEW"; readonly TimedOut: "TIMED_OUT"; }; /** * Current status of the export job */ export type StartExportFeedbackResponseStatus = ClosedEnum; /** * Current stage of the export process */ export declare const Stage: { readonly Starting: "starting"; readonly Fetching: "fetching"; readonly Converting: "converting"; readonly Uploading: "uploading"; readonly Completed: "completed"; readonly Failed: "failed"; }; /** * Current stage of the export process */ export type Stage = ClosedEnum; /** * Progress information (available when running) */ export type Progress = { /** * Current stage of the export process */ stage: Stage; /** * Number of records fetched (available after fetching stage) */ recordCount?: number | undefined; /** * Number of completion feedback records */ completionCount?: number | undefined; /** * Number of response feedback records */ responseCount?: number | undefined; /** * Size of parquet file in bytes (available after converting stage) */ parquetBytes?: number | undefined; /** * Human-readable progress message */ message: string; }; /** * Response when starting a feedback export job. */ export type StartExportFeedbackResponse = { /** * Whether a new export was started (false if already running) */ started: boolean; /** * Current status of the export job */ status: StartExportFeedbackResponseStatus; /** * Progress information (available when running) */ progress?: Progress | undefined; }; /** @internal */ export declare const StartExportFeedbackResponseStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const StartExportFeedbackResponseStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Stage$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Stage$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Progress$inboundSchema: z.ZodType; /** @internal */ export type Progress$Outbound = { stage: string; recordCount?: number | undefined; completionCount?: number | undefined; responseCount?: number | undefined; parquetBytes?: number | undefined; message: string; }; /** @internal */ export declare const Progress$outboundSchema: z.ZodType; export declare function progressToJSON(progress: Progress): string; export declare function progressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const StartExportFeedbackResponse$inboundSchema: z.ZodType; /** @internal */ export type StartExportFeedbackResponse$Outbound = { started: boolean; status: string; progress?: Progress$Outbound | undefined; }; /** @internal */ export declare const StartExportFeedbackResponse$outboundSchema: z.ZodType; export declare function startExportFeedbackResponseToJSON(startExportFeedbackResponse: StartExportFeedbackResponse): string; export declare function startExportFeedbackResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=startexportfeedbackresponse.d.ts.map