import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type MessageConfigParams = BasicPageParams & MessageParams;

export type MessageParams = {
  status?: number;
  messageType?: string;
};

export interface MessageConfig {
  id: string;
  configName: string;
  messageType: string;
  platformType: string;
  config: ConfigParams;
  createTime: string;
  updateTime: string;
  status: number;
}
export interface ConfigParams {
  host: string;
  port: number;
  username: string;
  password: string;
  accessKeyId: string;
  accessKeySecret: string;
}

/**
 * @description: Request list return value
 */
export type MessageConfigResultModel = BasicFetchResult<MessageConfig>;

export type MessageConfigResult = MessageConfig;
