/* tslint:disable */
/* eslint-disable */
/**
 * Fabro Run API
 * HTTP API for managing Fabro workflow run executions.
 *
 * The version of the OpenAPI document: 0.2.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { DeleteRunSandbox } from './delete-run-sandbox';
// May contain unused imports in some cases
// @ts-ignore
import type { ErrorResponseEntry } from './error-response-entry';

/**
 * Result for one run in a batch delete request.
 */
export interface BatchDeleteRunsResult {
    /**
     * Run ID from the request item.
     */
    'run_id': string;
    /**
     * Whether this item succeeded.
     */
    'ok': boolean;
    /**
     * Machine-readable item outcome.
     */
    'outcome': BatchDeleteRunsResultOutcomeEnum;
    /**
     * Sandbox handoff details when `outcome` is `sandbox_preserved`.
     */
    'sandbox'?: DeleteRunSandbox;
    /**
     * Structured item error for failed items.
     */
    'error'?: ErrorResponseEntry;
}

export const BatchDeleteRunsResultOutcomeEnum = {
    DELETED: 'deleted',
    ALREADY_ABSENT: 'already_absent',
    SANDBOX_PRESERVED: 'sandbox_preserved',
    CONFLICT: 'conflict',
    ERROR: 'error'
} as const;

export type BatchDeleteRunsResultOutcomeEnum = typeof BatchDeleteRunsResultOutcomeEnum[keyof typeof BatchDeleteRunsResultOutcomeEnum];
