import { ApiFilter } from './api';

export interface PackIndexFilter extends ApiFilter {
  group_id?: number,
  priceable_id?: number,
  priceable_type?: string,
  disabled?: boolean,
}

export interface PrepaidPack {
  id?: number,
  priceable_id?: number,
  priceable_type?: string,
  group_id: number,
  validity_interval?: 'day' | 'week' | 'month' | 'year',
  validity_count?: number,
  minutes: number,
  amount: number,
  disabled?: boolean,
}
