export interface IPartnerRawResponse {
  id: string;
  name: string;
  code: string;
  logo_url?: string;
  account: Account;
}
export interface IPartnerResponse extends IPartnerRawResponse {}

export interface IPartnerInfoRawResponse {
  licenses_status: LicensesStatus;
  license_renews_status: LicensesStatus;
  account_quotas_status: LicensesStatus;
  id: string;
  name: string;
  code: string;
  created_at: string;
}
export interface IPartnerInfoResponse extends IPartnerInfoRawResponse {}

interface LicensesStatus {
  total_purchased: number;
  total_activated: number;
  total_expired: number;
}

interface Account {
  role: string;
  id: string;
  username: string;
}
