/* tslint:disable */

/**
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document:
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

export interface KamiApiCamelOilV1AccountHistoryItem {
  /**
   * 账号ID
   */
  accountId?: number;
  /**
   * 变更类型
   */
  changeType?: KamiApiCamelOilV1AccountHistoryItemChangeTypeEnum;
  /**
   * 变更类型文本
   */
  changeText?: string;
  /**
   * 变更前状态
   */
  statusBefore?: KamiApiCamelOilV1AccountHistoryItemStatusBeforeEnum;
  /**
   * 变更后状态
   */
  statusAfter?: KamiApiCamelOilV1AccountHistoryItemStatusAfterEnum;
  /**
   * 失败次数
   */
  failureCount?: number;
  /**
   * 备注
   */
  remark?: string;
  /**
   * 创建时间
   */
  createdAt?: string;
}

export enum KamiApiCamelOilV1AccountHistoryItemChangeTypeEnum {
  Create = 'create',
  Delete = 'delete',
  Invalidate = 'invalidate',
  Login = 'login',
  LoginFail = 'login_fail',
  Offline = 'offline',
  OrderBind = 'order_bind',
  OrderComplete = 'order_complete',
  Pause = 'pause',
  Resume = 'resume',
  Update = 'update'
}
export enum KamiApiCamelOilV1AccountHistoryItemStatusBeforeEnum {
  NUMBER_4 = 4,
  NUMBER_2 = 2,
  NUMBER_3 = 3,
  NUMBER_0 = 0,
  NUMBER_1 = 1
}
export enum KamiApiCamelOilV1AccountHistoryItemStatusAfterEnum {
  NUMBER_4 = 4,
  NUMBER_2 = 2,
  NUMBER_3 = 3,
  NUMBER_0 = 0,
  NUMBER_1 = 1
}
