import { FleioId, IBaseFleioObjectModel } from '@fleio-api/base-model/base-fleio-object.model';
import { IPermissionsModel } from '@fleio-api/base-model/IPermissionsModel';
import { IClientModel } from '@fleio-api/client-user/model/client.model';
import { ICartItemModel } from '@fleio-api/billing/cart/model/cart-items.model';

export interface ICartItemsModel extends IBaseFleioObjectModel {
  items: ICartItemModel[];
  total: string;
  subtotal: string;
  taxes: Array<{
    tax_name: string;
    amount: number;
  }>;
  setup_fees: number;
  user: FleioId;
  client: FleioId;
  client_data: IClientModel;
  currency: string;
  item_permissions: IPermissionsModel;
  cart_permissions: IPermissionsModel;
}
