import { PaymentMethod } from './AccountService'; import { DeviceSessionType } from './DeviceSession'; import { OsType } from './Enum'; import { QueryParams } from './HTTP'; export declare enum BillingType { BUY = "BUY", CHARGE = "CHARGE", CANCEL = "CANCEL" } export type BillingPeriod = { accountId: number; accountName: string; accountServiceId: number; additionalHours: number; additionalHoursPrice: number; apiBillingPeriodType: BillingType; createTime: number; endBillingPeriod: number; id: number; lastPaymentDate: number; paid: boolean; paymentMethod: PaymentMethod; plan: string; servicePrice: number; startBillingPeriod: number; subscriptionEnd: number; subscriptionStart: number; totalPrice: number; usages: Array; }; export type BillingPeriodUsage = { duration: number; id: number; osType: OsType; type: DeviceSessionType; }; export interface BillingPeriodQueryParams extends QueryParams { onDate: number; }