import * as S from 'ufc-schema'; /** * 消息推送管理 * 获取所有联系人 */ export declare function getNotificationContacts(): Promise; /** * 消息推送管理 * 获取所有联系人组 */ export declare function getNotificationContactGroups(): Promise; /** * 消息推送管理 * 获取联系人组详细信息 * @param groupId */ export declare function findNotificationGroupContact(groupId: S.Id): Promise; /** * 消息推送管理 * 创建、更新联系人 * @param contact */ export declare function createOrUpdateNotificationContact(contact: Partial): Promise; /** * 消息推送管理 * 创建、更新联系人组 * @param params * - id: 联系人ID,可选,存在时为更新联系人,否则为创建 * - name:联系人名称 * - desc:描述 */ export declare function createOrUpdateNotificationContactGoup(params: Partial<{ id: S.Id; name: string; desc: string; }>): Promise; /** * 消息推送管理 * 更新联系人组成员 * @param groupId * @param contactIds */ export declare function updateNotificationContactGoup(groupId: S.Id, contactIds: S.Id[]): Promise; /** * 消息推送管理 * 删除联系人 * @param contactId */ export declare function removeNotificationContact(contactId: S.Id): Promise; /** * 消息推送管理 * 删除联系人组 * @param groupId */ export declare function removeNotificationContactGroup(groupId: S.Id): Promise;