package com.wecloud.imserver.client.api;

import com.wecloud.imserver.client.model.ao.ImApplicationProductsConfigAO;
import com.wecloud.imserver.client.model.dto.ImApplicationProductsConfigDTO;
import com.wecloud.imserver.client.model.dto.Result;

/**
 * @author nanqianhao
 * @date 2022/6/9
 * @apiNote
 */
public interface ImApplicationProductsConfig {

    /**
     * 创建即使通讯产品应用配置
     * @param imApplicationProductsConfigAO
     * @return
     */
    Result<Boolean> createOrUpdateImApplicationProductsConfig(ImApplicationProductsConfigAO imApplicationProductsConfigAO);


    /**
     * 查看即使通讯产品应用配置
     * @param id
     * @return
     */
    Result<ImApplicationProductsConfigDTO> getImApplicationProductsConfig(Long id);


}
