import ISummary from '@/core/models/summary';

export interface IPartnerRawResponse {
  id: string;
  role: string;
  partner: ISummary;
  account: {
    username: string;
  };
}
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;
}
