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

export interface ILicenseRawResponse {
  id: string;
  starts_at: string;
  expires_at: string;
  consumer: Consumer;
  license: License;
}
export interface ILicenseResponse extends ILicenseRawResponse {}

export interface ILicenseRequest {
  name: string;
}

interface License {
  id: string;
  charged_license_transaction: {
    partner: ISummary;
  };
}
interface Consumer {
  first_name: string;
  last_name: string;
  mobile_number: string;
  status: string;
}
