import { EntityEnum } from "../interface/entity.utils.interface"; import { RelationConfigs } from "../interface/relation-config.interface"; import { IUserEntity } from "../interface/user.entity.interface"; import { BaseEntityModel } from "./base.entity.model"; import { IRowActions } from "./interface/row-actions.interface"; import { UserEntityModel } from "./user.entity.model"; import { VendorAdvanceActionEnum } from "../enums/vendor_advance_action_enum"; import { VendorAdvancePaymentMode } from "../enums/vendor_advance_payment_mode_enum"; import { VendorAdvanceStatusEnum } from "../enums/vendor_advance_status_enum"; import { IVendorAdvanceFlowConfigContextData } from "../flow-configs/vendor_advance_flow.config"; import { IVendorAdvanceEntity } from "../interface/vendor_advance.entity.interface"; import { BankEntityModel } from "./bank.entity.model"; import { CountryEntityModel } from "./country.entity.model"; import { ExpenseHeadEntityModel } from "./expense_head.entity.model"; import { GstRateEntityModel } from "./gst_rate.entity.model"; import { OfficeLocationEntityModel } from "./office_location.entity.model"; import { OrganizationTypeEntityModel } from "./organization_type.entity.model"; import { StateEntityModel } from "./state.entity.model"; import { TdsRateEntityModel } from "./tds_rate.entity.model"; import { VendorEntityModel } from "./vendor.entity.model"; import { VendorInvoiceEntityModel } from "./vendor_invoice.entity.model"; import { VendorInvoiceItemEntityModel } from "./vendor_invoice_item.entity.model"; import { VendorInvoicePaymentEntityModel } from "./vendor_invoice_payment.entity.model"; import { VendorTdsChallanEntityModel } from "./vendor_tds_challan.entity.model"; import { VendorTdsLiabilityEntityModel } from "./vendor_tds_liability.entity.model"; import { VoucherTypeEntityModel } from "./voucher_type.entity.model"; export declare class VendorAdvanceEntityModel extends BaseEntityModel implements IVendorAdvanceEntity { id: number; vendorId: number; date: number; amount: number; paymentMode: VendorAdvancePaymentMode; reference: string; tdsPercent: number; purpose?: string; advanceDocument?: string; gstRateId: number; gstAmount: number; invoiceAmount: number; tdsRateId: number; tdsAmount: number; netAmount: number; amountPaid: number; status: VendorAdvanceStatusEnum; appliedAmount?: number; createdOn: number; updatedOn: number; createdBy: number; updatedBy: number; vendor?: VendorEntityModel; gstRate?: GstRateEntityModel; tdsRate?: TdsRateEntityModel; static relationConfigs: RelationConfigs<[EntityEnum.VENDOR, EntityEnum.GST_RATE, EntityEnum.TDS_RATE], EntityEnum.VENDOR_ADVANCE>; static fromEntity(entity: IVendorAdvanceEntity): VendorAdvanceEntityModel; getRelationConfigs(): any[]; get state(): StateEntityModel | undefined; get country(): CountryEntityModel | undefined; get vendorInvoices(): VendorInvoiceEntityModel[] | undefined; get officeLocations(): OfficeLocationEntityModel[] | undefined; get vendorInvoiceItems(): VendorInvoiceItemEntityModel[] | undefined; get voucherTypes(): VoucherTypeEntityModel[] | undefined; get organizationTypes(): OrganizationTypeEntityModel[] | undefined; get vendorTdsLiabilitys(): VendorTdsLiabilityEntityModel[] | undefined; get vendorTdsChallans(): VendorTdsChallanEntityModel[] | undefined; get banks(): BankEntityModel[] | undefined; get expenseHeads(): ExpenseHeadEntityModel[] | undefined; get vendorInvoicePayments(): VendorInvoicePaymentEntityModel[] | undefined; getNextStatus(currentUser: IUserEntity, action: VendorAdvanceActionEnum, vendorAdvanceFlowConfigContextData: IVendorAdvanceFlowConfigContextData): VendorAdvanceStatusEnum; getAvailableActions(currentUser: UserEntityModel, config?: { combinedActions?: Record; customLabels?: Partial>; }): IRowActions[]; getUpdateActionVisibility(currentUser: UserEntityModel): { [key: string]: () => boolean; }; getBalanceAmount(): number; }