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

export interface IBusinessActivityRawResponse {
  id: string;
  name: string;
  economic_code: string;
  fiscal_id: string;
  partner_token: string;
  guild: ISummary;
  created_at: string;
  license_info: LicenseInfo;
}
export interface IBusinessActivityResponse extends IBusinessActivityRawResponse {}

export interface IBusinessActivityRequest {
  name: string;
  economic_code: string;
  fiscal_id: string;
  partner_token: string;
  guild_id: string;
  license_starts_at?: string;
  expires_at?: string;
}

interface LicenseInfo {
  id: string;
  starts_at: string;
  expires_at: string;
  accounts_limit: number;
}
