/** Types generated for queries found in "src/modules/reports/providers/annual-revenue-report.provider.ts" */
export type currency = 'AUD' | 'CAD' | 'ETH' | 'EUR' | 'GBP' | 'GRT' | 'ILS' | 'JPY' | 'SEK' | 'USD' | 'USDC';

export type DateOrString = Date | string;

/** 'GetNormalizedRevenueRecords' parameters type */
export interface IGetNormalizedRevenueRecordsParams {
  fromDate?: DateOrString | null | void;
  incomeTaxCategoriesIDs: readonly (string | null | void)[];
  incomeToCollectId?: string | null | void;
  ownerId?: string | null | void;
  toDate?: DateOrString | null | void;
}

/** 'GetNormalizedRevenueRecords' return type */
export interface IGetNormalizedRevenueRecordsResult {
  amount_foreign: string | null;
  amount_local: string | null;
  amount_usd: string | null;
  business_id: string | null;
  charge_id: string | null;
  country: string | null;
  currency: currency | null;
  date: Date | null;
  description: string | null;
  id: string | null;
  owner_id: string | null;
  reference: string | null;
}

/** 'GetNormalizedRevenueRecords' query type */
export interface IGetNormalizedRevenueRecordsQuery {
  params: IGetNormalizedRevenueRecordsParams;
  result: IGetNormalizedRevenueRecordsResult;
}

