/** */ import * as $Util from '@alicloud/tea-util'; import OpenApi, * as $OpenApi from '@alicloud/openapi-client'; import * as $tea from '@alicloud/tea-typescript'; export declare class RetrievalExtendParamsValue extends $tea.Model { startTime?: number; endTime?: number; keywords?: string[]; sourceUserParams?: RetrievalExtendParamsValueSourceUserParams[]; targetUserParams?: RetrievalExtendParamsValueTargetUserParams[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class FetchLoginStatusDevicesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class FetchLoginStatusDevicesRequest extends $tea.Model { /** * @remarks * This parameter is required. */ domain?: string; /** * @remarks * This parameter is required. */ userIdList?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class FetchLoginStatusDevicesResponseBody extends $tea.Model { errorCode?: string; errorMsg?: string; result?: FetchLoginStatusDevicesResponseBodyResult[]; success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class FetchLoginStatusDevicesResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: FetchLoginStatusDevicesResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetAiTaskResultHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetAiTaskResultRequest extends $tea.Model { taskId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetAiTaskResultResponseBody extends $tea.Model { content?: string; contentType?: string; errorCode?: string; errorMsg?: string; success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetAiTaskResultResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetAiTaskResultResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveRequest extends $tea.Model { /** * @remarks * This parameter is required. */ answerer?: string; dragRequestContext?: RetrieveRequestDragRequestContext; keywordList?: string[]; /** * @remarks * This parameter is required. */ limit?: number; /** * @remarks * This parameter is required. */ question?: string; /** * @remarks * This parameter is required. */ retrievalExtendParams?: { [key: string]: RetrievalExtendParamsValue; }; retrieveScoreThreshold?: number; /** * @remarks * This parameter is required. */ scene?: string; /** * @remarks * This parameter is required. */ tenant?: string; tokenLimit?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBody extends $tea.Model { errorCode?: string; errorMsg?: string; result?: RetrieveResponseBodyResult[]; success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: RetrieveResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskRequest extends $tea.Model { messages?: SubmitAiTaskRequestMessages[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskShrinkRequest extends $tea.Model { messagesShrink?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskResponseBody extends $tea.Model { errorCode?: string; errorMsg?: string; result?: SubmitAiTaskResponseBodyResult; success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: SubmitAiTaskResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrievalExtendParamsValueSourceUserParams extends $tea.Model { nick?: string; staffId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrievalExtendParamsValueTargetUserParams extends $tea.Model { nick?: string; staffId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class FetchLoginStatusDevicesResponseBodyResultDeviceList extends $tea.Model { actionTimestamp?: number; clientType?: string; isLoggedIn?: boolean; openDeviceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class FetchLoginStatusDevicesResponseBodyResult extends $tea.Model { deviceList?: FetchLoginStatusDevicesResponseBodyResultDeviceList[]; userId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveRequestDragRequestContextEvaluationContext extends $tea.Model { sourceDentryId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveRequestDragRequestContext extends $tea.Model { evaluationContext?: RetrieveRequestDragRequestContextEvaluationContext; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultCalendarsScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultCalendars extends $tea.Model { creatorStaffId?: number; endTime?: number; gmtCreate?: number; gmtModified?: number; icon?: string; matchIntimacy?: boolean; material?: string; meetingRoom?: string; participantStaffIds?: string[]; rawComment?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultCalendarsScoreItem; startTime?: number; timestamp?: number; title?: string; type?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultDingHelperDocsAbleDashboardModel extends $tea.Model { chartName?: string; chartType?: string; dashboardName?: string; data?: string; sheetName?: string; type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultDingHelperDocsScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultDingHelperDocs extends $tea.Model { ableDashboardModel?: RetrieveResponseBodyResultDingHelperDocsAbleDashboardModel; chunkId?: number; chunkIds?: number[]; chunkModel?: string; creator?: string; dentryUuid?: string; extension?: string; gmtCreate?: number; gmtModified?: number; hasExtendChunk?: boolean; icon?: string; matchIntimacy?: boolean; material?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultDingHelperDocsScoreItem; small2bigText?: string; text?: string; timestamp?: number; title?: string; type?: string; uploadSource?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultDocsAbleDashboardModel extends $tea.Model { chartName?: string; chartType?: string; dashboardName?: string; data?: string; sheetName?: string; type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultDocsScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultDocs extends $tea.Model { ableDashboardModel?: RetrieveResponseBodyResultDocsAbleDashboardModel; chunkId?: number; chunkIds?: number[]; chunkModel?: string; creator?: string; dentryUuid?: string; extension?: string; gmtCreate?: number; gmtModified?: number; hasExtendChunk?: boolean; icon?: string; matchIntimacy?: boolean; material?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultDocsScoreItem; small2bigText?: string; text?: string; timestamp?: number; title?: string; type?: string; uploadSource?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultFaqsScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultFaqs extends $tea.Model { icon?: string; matchIntimacy?: boolean; material?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultFaqsScoreItem; timestamp?: number; title?: string; type?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultFinalResultsScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultFinalResults extends $tea.Model { icon?: string; matchIntimacy?: boolean; material?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultFinalResultsScoreItem; timestamp?: number; title?: string; type?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultMinutesScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultMinutes extends $tea.Model { corpId?: number; creator?: string; extension?: string; fullTextSummary?: string; gmtModified?: number; icon?: string; matchIntimacy?: boolean; material?: string; originText?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultMinutesScoreItem; timestamp?: number; title?: string; type?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultReportsScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultReports extends $tea.Model { content?: string; corpId?: number; creator?: string; gmtCreate?: number; gmtModified?: number; icon?: string; matchIntimacy?: boolean; material?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultReportsScoreItem; timestamp?: number; title?: string; type?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultWikisScoreItem extends $tea.Model { finallyScore?: number; scoreMap?: { [key: string]: number; }; scoreThreshold?: number; selectedBranch?: string[]; selectedCategory?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResultWikis extends $tea.Model { corpId?: number; icon?: string; matchIntimacy?: boolean; material?: string; refType?: string; score?: number; scoreItem?: RetrieveResponseBodyResultWikisScoreItem; timestamp?: number; title?: string; type?: string; url?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class RetrieveResponseBodyResult extends $tea.Model { calendars?: RetrieveResponseBodyResultCalendars[]; dingHelperDocs?: RetrieveResponseBodyResultDingHelperDocs[]; docs?: RetrieveResponseBodyResultDocs[]; faqs?: RetrieveResponseBodyResultFaqs[]; finalResults?: RetrieveResponseBodyResultFinalResults[]; minutes?: RetrieveResponseBodyResultMinutes[]; reports?: RetrieveResponseBodyResultReports[]; wikis?: RetrieveResponseBodyResultWikis[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskRequestMessages extends $tea.Model { content?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SubmitAiTaskResponseBodyResult extends $tea.Model { taskId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export default class Client extends OpenApi { constructor(config: $OpenApi.Config); /** * 查询指定用户的全部已登录设备及其状态 * * @param request - FetchLoginStatusDevicesRequest * @param headers - FetchLoginStatusDevicesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns FetchLoginStatusDevicesResponse */ fetchLoginStatusDevicesWithOptions(request: FetchLoginStatusDevicesRequest, headers: FetchLoginStatusDevicesHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 查询指定用户的全部已登录设备及其状态 * * @param request - FetchLoginStatusDevicesRequest * @returns FetchLoginStatusDevicesResponse */ fetchLoginStatusDevices(request: FetchLoginStatusDevicesRequest): Promise; /** * 获得ai任务结果 * * @param request - GetAiTaskResultRequest * @param headers - GetAiTaskResultHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetAiTaskResultResponse */ getAiTaskResultWithOptions(request: GetAiTaskResultRequest, headers: GetAiTaskResultHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获得ai任务结果 * * @param request - GetAiTaskResultRequest * @returns GetAiTaskResultResponse */ getAiTaskResult(request: GetAiTaskResultRequest): Promise; /** * 多数据源召回接口 * * @param request - RetrieveRequest * @param headers - RetrieveHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns RetrieveResponse */ retrieveWithOptions(request: RetrieveRequest, headers: RetrieveHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 多数据源召回接口 * * @param request - RetrieveRequest * @returns RetrieveResponse */ retrieve(request: RetrieveRequest): Promise; /** * 提交ai任务 * * @param tmpReq - SubmitAiTaskRequest * @param headers - SubmitAiTaskHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitAiTaskResponse */ submitAiTaskWithOptions(tmpReq: SubmitAiTaskRequest, headers: SubmitAiTaskHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 提交ai任务 * * @param request - SubmitAiTaskRequest * @returns SubmitAiTaskResponse */ submitAiTask(request: SubmitAiTaskRequest): Promise; }