import { IEnumTranslate } from '@/shared/models/enum_translate.type';

export interface IPartnerRawResponse {
  id: string;
  name: string;
  code: string;
  status: IEnumTranslate;
  created_at: string;
  logo_url: string;
  licenses_status: {
    total: number;
    used: number;
    expired: number;
  };
  account_quota_status: {
    total: number;
    used: number;
    expired: number;
  };
  license_renew_status: {
    total: number;
    used: number;
    expired: number;
  };
}
export interface IPartnerResponse extends IPartnerRawResponse {}

export interface IPartnerRequest {
  name: string;
  code: string;
  license_quota: number;
}
