import { FleioId, IBaseFleioObjectModel } from '@fleio-api/base-model/base-fleio-object.model';
import { IConfigOptionModel } from '@fleio-api/billing/model/config-option.model';

export interface ICartItemModel extends IBaseFleioObjectModel {
  amount: string;
  fixed_price: string;
  setup_fee: string;
  setup_fees_total: string;
  has_plugin: boolean;
  plugin_label: string;
  plugin_data: Record<string, unknown>;
  configurable_options: IConfigOptionModel[];
  product: number;
  domain_name: string;
  domain_action: string;
  name: string;
  description: string;
  cycle_display: string;
  created_at: Date;
  updated_at: Date;
  cycle: FleioId;
  dynamic_usage_display: string | null;
  recurring_price: number;
  postpaid_product: boolean
}
