/** * Boat Public API v1 * Public JSON API for creating, operating, prompting, observing, and exposing Boat sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { PromptRun } from './PromptRun'; /** * * @export * @interface PromptResponse */ export interface PromptResponse { /** * * @type {boolean} * @memberof PromptResponse */ ok: boolean; /** * * @type {PromptResponseTypeEnum} * @memberof PromptResponse */ type: PromptResponseTypeEnum; /** * Box id. * @type {string} * @memberof PromptResponse */ id: string; /** * * @type {string} * @memberof PromptResponse */ promptId: string; /** * The conversation this prompt was queued in. A new one when `new` was set, the one named by `conversationId`, or the Box's most-recently-active conversation. See [Integrated agents](/box/integrated-agents). * @type {string} * @memberof PromptResponse */ conversationId?: string | null; /** * * @type {PromptRun} * @memberof PromptResponse */ promptRun: PromptRun; /** * * @type {PromptResponseStatusEnum} * @memberof PromptResponse */ status: PromptResponseStatusEnum; /** * * @type {string} * @memberof PromptResponse */ provider: string; /** * * @type {string} * @memberof PromptResponse */ model?: string | null; /** * * @type {string} * @memberof PromptResponse */ reasoningEffort?: string | null; } /** * @export */ export declare const PromptResponseTypeEnum: { readonly PromptQueued: 'prompt.queued'; }; export type PromptResponseTypeEnum = typeof PromptResponseTypeEnum[keyof typeof PromptResponseTypeEnum]; /** * @export */ export declare const PromptResponseStatusEnum: { readonly Queued: 'queued'; }; export type PromptResponseStatusEnum = typeof PromptResponseStatusEnum[keyof typeof PromptResponseStatusEnum]; /** * Check if a given object implements the PromptResponse interface. */ export declare function instanceOfPromptResponse(value: object): value is PromptResponse; export declare function PromptResponseFromJSON(json: any): PromptResponse; export declare function PromptResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptResponse; export declare function PromptResponseToJSON(json: any): PromptResponse; export declare function PromptResponseToJSONTyped(value?: PromptResponse | null, ignoreDiscriminator?: boolean): any;