box-typescript-sdk-gen
Version:
Official Box TypeScript Generated SDK
43 lines • 2.37 kB
TypeScript
import { AiStudioAgentBasicGenToolResponse } from './aiStudioAgentBasicGenToolResponse.generated.js';
import { SerializedData } from '../serialization/json.js';
export type AiStudioAgentTextGenResponseTypeField = 'ai_agent_text_gen';
export declare class AiStudioAgentTextGenResponse {
/**
* The type of AI agent used for generating text. */
readonly type: AiStudioAgentTextGenResponseTypeField;
/**
* The state of the AI Agent capability. Possible values are: `enabled` and `disabled`. */
readonly accessState: string;
/**
* The description of the AI Agent. */
readonly description: string;
/**
* Custom instructions for the agent. */
readonly customInstructions?: string | null;
readonly basicGen?: AiStudioAgentBasicGenToolResponse;
readonly rawData?: SerializedData;
constructor(fields: Omit<AiStudioAgentTextGenResponse, 'type'> & Partial<Pick<AiStudioAgentTextGenResponse, 'type'>>);
}
export interface AiStudioAgentTextGenResponseInput {
/**
* The type of AI agent used for generating text. */
readonly type?: AiStudioAgentTextGenResponseTypeField;
/**
* The state of the AI Agent capability. Possible values are: `enabled` and `disabled`. */
readonly accessState: string;
/**
* The description of the AI Agent. */
readonly description: string;
/**
* Custom instructions for the agent. */
readonly customInstructions?: string | null;
readonly basicGen?: AiStudioAgentBasicGenToolResponse;
readonly rawData?: SerializedData;
}
export declare function serializeAiStudioAgentTextGenResponseTypeField(val: AiStudioAgentTextGenResponseTypeField): SerializedData;
export declare function deserializeAiStudioAgentTextGenResponseTypeField(val: SerializedData): AiStudioAgentTextGenResponseTypeField;
export declare function serializeAiStudioAgentTextGenResponse(val: AiStudioAgentTextGenResponse): SerializedData;
export declare function deserializeAiStudioAgentTextGenResponse(val: SerializedData): AiStudioAgentTextGenResponse;
export declare function serializeAiStudioAgentTextGenResponseInput(val: AiStudioAgentTextGenResponseInput): SerializedData;
export declare function deserializeAiStudioAgentTextGenResponseInput(val: SerializedData): AiStudioAgentTextGenResponseInput;
//# sourceMappingURL=aiStudioAgentTextGenResponse.generated.d.ts.map