import { CompanyBillingConfigInvoiceTypes, CompanyBillingConfigTypes } from '../enums'; import { BaseModel } from './BaseModel'; import { Contract } from './Contract'; export interface CompanyBillingConfig extends BaseModel { billingCycle?: number; billingEmail?: string; companyId?: string; contract?: Contract; creditsPayment?: boolean; daysUntilDue?: number; externalAccountId?: string; freezeOnEmptyBalance?: boolean; invoiceEmail?: string; invoiceTypes?: CompanyBillingConfigInvoiceTypes; lastBilledActivities?: Date; lastBilledFee?: Date; monthlyBudget?: number; negativeBalanceLimit?: number; preferredBillingDay?: number; preferredPaymentDay?: number; shelfGainBudget?: number; shelfGainUsedBudget?: number; type?: CompanyBillingConfigTypes; }