import * as plugins from '../plugins.ts';
import * as data from '../data/index.ts';

export interface IReq_GetSystemStatus extends plugins.typedrequestInterfaces.implementsTR<
  plugins.typedrequestInterfaces.ITypedRequest,
  IReq_GetSystemStatus
> {
  method: 'getSystemStatus';
  request: {
    identity: data.IIdentity;
  };
  response: {
    status: data.ISystemStatus;
  };
}

export interface IReq_StartOneboxUpgrade extends plugins.typedrequestInterfaces.implementsTR<
  plugins.typedrequestInterfaces.ITypedRequest,
  IReq_StartOneboxUpgrade
> {
  method: 'startOneboxUpgrade';
  request: {
    identity: data.IIdentity;
  };
  response: {
    upgrade: data.IOneboxUpgradeStartResult;
  };
}
