import { MycureSDK } from './../service'; export declare class McBillingService { private sdk; constructor(sdk: MycureSDK); loadBillingItemById(id: string): Promise; private loadBillingItemCoverages(billingItem); private loadBillingItemServiceCoverages(billingItem); /** * loadInvoiceById * @param organization * @param invoiceId */ loadInvoiceById(invoiceId: string, organization: string): Promise; private loadBillingItemsCoverages(billingItems); private loadBillingItemsServiceCoverages(billingItems); private loadBillingItemsPaymentsPromise(billingItems); updateInvoiceById(organization: string, invoiceId: string, oldData: any, newData: any, billingItems: any[], isFinalized?: boolean): Promise; updateAllBillingItemsPromise(oldBillingItems: any[], billingItems: any[], isFinalized?: boolean): Promise; private removeBillingItemsPromise(removedBillingItems); private addBillingItemsPromise(addedBillingItems); private updateBillingItemsPromise(oldBillingItems, updatedBillingItems); private updateBillingItemCoverages(oldBillingItems, billingItem); private updateBillingItemDiscounts(oldBillingItems, billingItem); private updateBillingItemCommissions(oldBillingItems, billingItem); private updateAllBillingPayments(oldBillingItems, updatedBillingItems); private removePaymentItemsPromise(removePaymentItems); private addPaymentItemsPromise(addPaymentItems); private updatePaymentItemsPromise(updatePaymentItems); private billingItemPaymentMethod(invoice, billingItem); private billingItemPaymentMethodDesc(invoice, billingItem); /** * Load finished invoices transactions by date range */ loadDailyTransactionsByDateRange(facility: string, start: Date, end: Date): Promise; loadCompaniesTransactions(facility: string, start: Date, end: Date, compId: string): Promise; loadDoctorsTransactions(facility: string, start: Date, end: Date, doctorUid: string): Promise; loadGovsTransactions(facility: string, start: Date, end: Date, govId: string): Promise; loadHMOsTransactions(facility: string, start: Date, end: Date, hmoId: string): Promise; }