declare namespace API.JobIndex {
  export interface JobIndexItem {
    indexId?: string;
    indexName?: string;
    indexDesc?: string;
    isActive?: string;
  }

  export interface AddParams {
    indexName?: string;
    indexDesc?: string;
    isActive?: string;
  }

  export interface UpdateParams {
    indexId?: string;
    indexName?: string;
    indexDesc?: string;
    isActive?: string;
  }

  export interface ListParams {
    indexName?: string;
    indexDesc?: string;
    isActive?: string;
    pageSize?: number;
    current?: number;
  }

  export interface DeleteParams {
    indexId?: string;
  }

  export interface JobIndexIdResult {
    code: number;
    msg: string;
    data: JobIndexItem;
  }

  export interface JobIndexPageResult {
    code: number;
    msg: string;
    total: number;
    rows: Array<JobIndexItem>;
  }
}
