box-typescript-sdk-gen
Version:
Official Box TypeScript Generated SDK
50 lines • 2.51 kB
TypeScript
import { AiStudioAgentLongTextTool } from './aiStudioAgentLongTextTool.generated.js';
import { AiStudioAgentBasicTextTool } from './aiStudioAgentBasicTextTool.generated.js';
import { SerializedData } from '../serialization/json.js';
export type AiStudioAgentAskTypeField = 'ai_agent_ask';
export declare class AiStudioAgentAsk {
/**
* The type of AI agent used to handle queries. */
readonly type: AiStudioAgentAskTypeField;
/**
* 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 longText?: AiStudioAgentLongTextTool;
readonly basicText?: AiStudioAgentBasicTextTool;
readonly longTextMulti?: AiStudioAgentLongTextTool;
readonly basicTextMulti?: AiStudioAgentBasicTextTool;
readonly rawData?: SerializedData;
constructor(fields: Omit<AiStudioAgentAsk, 'type'> & Partial<Pick<AiStudioAgentAsk, 'type'>>);
}
export interface AiStudioAgentAskInput {
/**
* The type of AI agent used to handle queries. */
readonly type?: AiStudioAgentAskTypeField;
/**
* 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 longText?: AiStudioAgentLongTextTool;
readonly basicText?: AiStudioAgentBasicTextTool;
readonly longTextMulti?: AiStudioAgentLongTextTool;
readonly basicTextMulti?: AiStudioAgentBasicTextTool;
readonly rawData?: SerializedData;
}
export declare function serializeAiStudioAgentAskTypeField(val: AiStudioAgentAskTypeField): SerializedData;
export declare function deserializeAiStudioAgentAskTypeField(val: SerializedData): AiStudioAgentAskTypeField;
export declare function serializeAiStudioAgentAsk(val: AiStudioAgentAsk): SerializedData;
export declare function deserializeAiStudioAgentAsk(val: SerializedData): AiStudioAgentAsk;
export declare function serializeAiStudioAgentAskInput(val: AiStudioAgentAskInput): SerializedData;
export declare function deserializeAiStudioAgentAskInput(val: SerializedData): AiStudioAgentAskInput;
//# sourceMappingURL=aiStudioAgentAsk.generated.d.ts.map