/** */ 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 PediaWordsAddHeaders 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 PediaWordsAddRequest extends $tea.Model { contactList?: PediaWordsAddRequestContactList[]; highLightWordAlias?: string[]; picList?: PediaWordsAddRequestPicList[]; relatedDoc?: PediaWordsAddRequestRelatedDoc[]; relatedLink?: PediaWordsAddRequestRelatedLink[]; /** * @remarks * This parameter is required. * * @example * 23231231123 */ userId?: string; wordAlias?: string[]; /** * @remarks * This parameter is required. * * @example * 词条名称 */ wordName?: string; /** * @remarks * This parameter is required. * * @example * 释义 */ wordParaphrase?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsAddResponseBody extends $tea.Model { success?: boolean; /** * @example * 232432 */ uuid?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsAddResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: PediaWordsAddResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsApproveHeaders 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 PediaWordsApproveRequest extends $tea.Model { aliDocHighLight?: boolean; /** * @example * 拒绝 */ approveReason?: string; /** * @remarks * This parameter is required. * * @example * 1 */ approveStatus?: string; /** * @remarks * This parameter is required. */ imHighLight?: boolean; /** * @remarks * This parameter is required. */ simHighLight?: boolean; /** * @remarks * This parameter is required. * * @example * 232432 */ userId?: string; /** * @remarks * This parameter is required. * * @example * 1213132 */ uuid?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsApproveResponseBody extends $tea.Model { success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsApproveResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: PediaWordsApproveResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsDeleteHeaders 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 PediaWordsDeleteRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 2123132 */ userId?: string; /** * @remarks * This parameter is required. * * @example * 212112 */ uuid?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsDeleteResponseBody extends $tea.Model { success?: boolean; /** * @example * 123456789 */ uuid?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsDeleteResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: PediaWordsDeleteResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryHeaders 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 PediaWordsQueryRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 212121 */ userId?: string; /** * @remarks * This parameter is required. * * @example * 211121 */ uuid?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBody extends $tea.Model { data?: PediaWordsQueryResponseBodyData; success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: PediaWordsQueryResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchHeaders 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 PediaWordsSearchRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 1 */ pageSize?: number; /** * @remarks * This parameter is required. * * @example * 1 */ status?: string; /** * @remarks * This parameter is required. * * @example * 121213213 */ userId?: string; /** * @example * 企业百科 * * **if can be null:** * false */ wordName?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBody extends $tea.Model { data?: PediaWordsSearchResponseBodyData[]; success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: PediaWordsSearchResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateHeaders 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 PediaWordsUpdateRequest extends $tea.Model { appLink?: PediaWordsUpdateRequestAppLink[]; contactList?: PediaWordsUpdateRequestContactList[]; highLightWordAlias?: string[]; picList?: PediaWordsUpdateRequestPicList[]; relatedDoc?: PediaWordsUpdateRequestRelatedDoc[]; relatedLink?: PediaWordsUpdateRequestRelatedLink[]; /** * @example * 312123213 */ userId?: string; /** * @remarks * This parameter is required. * * @example * 2131321 */ uuid?: number; wordAlias?: string[]; /** * @remarks * This parameter is required. * * @example * 词条名称 */ wordName?: string; /** * @remarks * This parameter is required. * * @example * 释义 */ wordParaphrase?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateResponseBody extends $tea.Model { success?: boolean; /** * @example * 3213213213 */ uuid?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: PediaWordsUpdateResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsAddRequestContactList extends $tea.Model { /** * @example * @123243 */ avatarMediaId?: string; /** * @example * 名称 */ nickName?: string; /** * @example * 1231243213 */ userId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsAddRequestPicList extends $tea.Model { /** * @example * https://23987874.com */ mediaIdUrl?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsAddRequestRelatedDoc extends $tea.Model { /** * @example * https://123456.com */ link?: string; /** * @example * 相关文档 */ name?: string; /** * @example * adoc */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsAddRequestRelatedLink extends $tea.Model { /** * @example * http://1233435.com */ link?: string; /** * @example * 相关链接 */ name?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBodyDataAppLink extends $tea.Model { /** * @example * 相关应用 */ appName?: string; /** * @example * htttps://1234567 */ iconLink?: string; /** * @example * http://123344.com */ pcLink?: string; /** * @example * https://12334.com */ phoneLink?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBodyDataContactList extends $tea.Model { /** * @example * @dasdasd */ avatarMediaId?: string; /** * @example * 相关联系人 */ nickName?: string; /** * @example * 12321231 */ userId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBodyDataPicList extends $tea.Model { /** * @example * http://123455.com */ mediaIdUrl?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBodyDataRelatedDoc extends $tea.Model { /** * @example * http://123456.com */ link?: string; /** * @example * 相关文档 */ name?: string; /** * @example * adoc */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBodyDataRelatedLink extends $tea.Model { /** * @example * http://123343.com */ link?: string; /** * @example * 相关链接 */ name?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsQueryResponseBodyData extends $tea.Model { appLink?: PediaWordsQueryResponseBodyDataAppLink[]; /** * @example * 审核者 */ approveName?: string; contactList?: PediaWordsQueryResponseBodyDataContactList[]; contacts?: string[]; /** * @example * 创建者 */ creatorName?: string; /** * @example * 31312312 */ gmtCreate?: number; /** * @example * 321312312 */ gmtModify?: number; highLightWordAlias?: string[]; imHighLight?: boolean; /** * @example * 12345678 */ parentUuid?: number; picList?: PediaWordsQueryResponseBodyDataPicList[]; relatedDoc?: PediaWordsQueryResponseBodyDataRelatedDoc[]; relatedLink?: PediaWordsQueryResponseBodyDataRelatedLink[]; simHighLight?: boolean; /** * @example * 剔除富文本释义 */ simpleWordParaphrase?: string; tagsList?: string[]; /** * @example * 更新者 */ updaterName?: string; /** * @example * 213123123 */ userId?: string; /** * @example * 123123121 */ uuid?: number; wordAlias?: string[]; /** * @example * 词条名称 */ wordName?: string; /** * @example * 释义 */ wordParaphrase?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBodyDataAppLink extends $tea.Model { /** * @example * 应用名 */ appName?: string; /** * @example * https://123434.com */ iconLink?: string; /** * @example * http://123.com */ pcLink?: string; /** * @example * http://1244.com */ phoneLink?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBodyDataContactList extends $tea.Model { /** * @example * @12321312ds */ avatarMediaId?: string; /** * @example * 员工名称 */ nickName?: string; /** * @example * 1232343 */ userId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBodyDataPicList extends $tea.Model { /** * @example * https://1234.com */ mediaIdUrl?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBodyDataRelatedDoc extends $tea.Model { /** * @example * https://12324.com */ link?: string; /** * @example * 文档名 */ name?: string; /** * @example * adoc */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBodyDataRelatedLink extends $tea.Model { /** * @example * https://123112.com */ link?: string; /** * @example * 文档名字 */ name?: string; /** * @example * 空值 */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsSearchResponseBodyData extends $tea.Model { appLink?: PediaWordsSearchResponseBodyDataAppLink[]; /** * @example * 审核人钉钉名称 */ approveName?: string; contactList?: PediaWordsSearchResponseBodyDataContactList[]; contacts?: string[]; /** * @example * 创建者 */ creatorName?: string; gmtCreate?: number; gmtModify?: number; highLightWordAlias?: string[]; imHighLight?: boolean; parentUuid?: number; picList?: PediaWordsSearchResponseBodyDataPicList[]; relatedDoc?: PediaWordsSearchResponseBodyDataRelatedDoc[]; relatedLink?: PediaWordsSearchResponseBodyDataRelatedLink[]; simHighLight?: boolean; /** * @example * 剔除了富文本格式后的释义信息 */ simpleWordParaphrase?: string; tagsList?: string[]; /** * @example * 修改人钉钉名称 */ updaterName?: string; /** * @example * 312312312 */ userId?: string; uuid?: number; wordAlias?: string[]; /** * @example * 测试词条 */ wordName?: string; /** * @example * 释义信息 */ wordParaphrase?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateRequestAppLink extends $tea.Model { /** * @example * 应用名称 */ appName?: string; /** * @example * https://123243435.com */ iconLink?: string; /** * @example * http://213435.com */ pcLink?: string; /** * @example * htttps://12345.com */ phoneLink?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateRequestContactList extends $tea.Model { /** * @example * @12312312 */ avatarMediaId?: string; /** * @example * 名称 */ nickName?: string; /** * @example * 12131312 */ userId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateRequestPicList extends $tea.Model { /** * @example * https://1234554.com */ mediaIdUrl?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateRequestRelatedDoc extends $tea.Model { /** * @example * https://213567.com */ link?: string; /** * @example * 相关文档 */ name?: string; /** * @example * adoc */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class PediaWordsUpdateRequestRelatedLink extends $tea.Model { /** * @example * https://123466.com */ link?: string; /** * @example * 相关链接 */ name?: 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 - PediaWordsAddRequest * @param headers - PediaWordsAddHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PediaWordsAddResponse */ pediaWordsAddWithOptions(request: PediaWordsAddRequest, headers: PediaWordsAddHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 企业百科增加当前企业词条信息 * * @param request - PediaWordsAddRequest * @returns PediaWordsAddResponse */ pediaWordsAdd(request: PediaWordsAddRequest): Promise; /** * 企业百科针对待审核词条进行审核 * * @param request - PediaWordsApproveRequest * @param headers - PediaWordsApproveHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PediaWordsApproveResponse */ pediaWordsApproveWithOptions(request: PediaWordsApproveRequest, headers: PediaWordsApproveHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 企业百科针对待审核词条进行审核 * * @param request - PediaWordsApproveRequest * @returns PediaWordsApproveResponse */ pediaWordsApprove(request: PediaWordsApproveRequest): Promise; /** * 企业百科针对uuid删除当前词条 * * @param request - PediaWordsDeleteRequest * @param headers - PediaWordsDeleteHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PediaWordsDeleteResponse */ pediaWordsDeleteWithOptions(request: PediaWordsDeleteRequest, headers: PediaWordsDeleteHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 企业百科针对uuid删除当前词条 * * @param request - PediaWordsDeleteRequest * @returns PediaWordsDeleteResponse */ pediaWordsDelete(request: PediaWordsDeleteRequest): Promise; /** * 根据词条主键ID查询当前词条详情 * * @param request - PediaWordsQueryRequest * @param headers - PediaWordsQueryHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PediaWordsQueryResponse */ pediaWordsQueryWithOptions(request: PediaWordsQueryRequest, headers: PediaWordsQueryHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 根据词条主键ID查询当前词条详情 * * @param request - PediaWordsQueryRequest * @returns PediaWordsQueryResponse */ pediaWordsQuery(request: PediaWordsQueryRequest): Promise; /** * 分页获取企业词条信息 * * @param request - PediaWordsSearchRequest * @param headers - PediaWordsSearchHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PediaWordsSearchResponse */ pediaWordsSearchWithOptions(request: PediaWordsSearchRequest, headers: PediaWordsSearchHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 分页获取企业词条信息 * * @param request - PediaWordsSearchRequest * @returns PediaWordsSearchResponse */ pediaWordsSearch(request: PediaWordsSearchRequest): Promise; /** * 企业百科对当前已经生效词条进行编辑 * * @param request - PediaWordsUpdateRequest * @param headers - PediaWordsUpdateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PediaWordsUpdateResponse */ pediaWordsUpdateWithOptions(request: PediaWordsUpdateRequest, headers: PediaWordsUpdateHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 企业百科对当前已经生效词条进行编辑 * * @param request - PediaWordsUpdateRequest * @returns PediaWordsUpdateResponse */ pediaWordsUpdate(request: PediaWordsUpdateRequest): Promise; }