import { IMediaConfigParam } from '../type/meeting'; import { default as Action } from '.'; import { default as BaseAction } from './base'; import { XYDepAndTitleParams } from '../type/index'; import { XYSensitiveWords } from '../main/meeting/index.type'; declare class EnterpriseAction extends BaseAction { constructor(action: Action); /** * 根据外部企业ID获取内部企业ID * * @param { Object } params * @param { string } params.extId 企业ID * @param { string } params.clientId * @param { string } params.clientSecret * @param { string } params.httpServer 服务器地址 * @returns */ getEnterpriseId(extId: string): Promise; /** * 获取企业的相关配置(private),包含带宽配置、请流能力等 * * @param { number } userId 用户ID * @returns */ getEnterpriseMediaConfig(userId: number, config: IMediaConfigParam[]): Promise; /** * 获取企业相关配置(buffet), 包含头像配置、禁用语音转写英文翻译 * * 内部企业ID的话,uaa-api会在转发请求时,放在请求头带给后端服务。 * 服务端需要兼容下取参数的位置,如果他们之前的位置取不到内部企业ID,就从header头上的特定字段去取。 * * @param { number } userId - 用户ID * @param { string } enterpriseId - 企业ID * @returns */ getEnterpriseConfig(userId: number, enterpriseId: string): Promise; /** * 获取管理平台角色相关权限,包含录制权限 */ getUicustomization(userId: number, enterpriseId: string): Promise; /** * 获取参会者组织架构和职务信息 * * @param { XYDepAndTitleParams } params - 查询参数 * @property { string[] } params.endpointIds - 需要查询的endpointId列表数据 * @property { string } params.meetingId - 会议室ID * @property { string } params.callNumber - 云会议室号 */ getDepAndTitle(params: XYDepAndTitleParams): Promise; /** * 校验入会敏感词 * * @param { string } displayName - 入会名称 * @returns */ checkSensitiveWord(displayName: string, enterpriseId: string): Promise; /** * 获取企业信息,包含企业信息配置title/icon、企业名称 * * @param { number } userId - 用户ID * @param { string } enterpriseId - 企业ID */ fetchEnterpriseInfo(userId: number, enterpriseId: string): Promise; } export default EnterpriseAction;