import { Capi } from '@tencent-sdk/capi'; import { ActionType } from '../apis'; import { EventBusBaseInfo, EventBusCreateOrUpdateOutputs, EventBusDetail, EventBusUpdateInputs, } from '../interface'; export default class EventBusEntity { capi: Capi; constructor(capi: Capi); request({ Action, ...data }: { Action: ActionType; [key: string]: any }): Promise; removeRequest({ Action, ...data }: { Action: ActionType; [key: string]: any }): Promise; /** 查询事件集详情 */ getById(eventBusId: string): Promise; /** 查询事件集列表 */ list(): Promise; /** 创建事件集 */ create(eventConf: EventBusBaseInfo, accountLimit: number): Promise; /** 更新事件集 */ update( eventConf: EventBusUpdateInputs, accountLimit: number, ): Promise; /** 删除事件集 */ delete(eventBusId: string): Promise; }