@mody-park-cha-raja/finance_common 4.33.0 → 4.34.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -283,6 +283,12 @@ interface IVendorEntity extends IAuditColumnEntity {
283
283
  id: number;
284
284
  name: string;
285
285
  type: string;
286
+ mobileNumber?: string;
287
+ bankName?: string;
288
+ bankAccountNumber?: string;
289
+ ifscCode?: string;
290
+ bankAddress?: string;
291
+ upiId?: string;
286
292
  }
287
293
 
288
294
  interface IVendorBillHistoryEntity extends IBaseHistoryEntity {
@@ -514,6 +520,12 @@ declare class VendorModel extends BaseEntityModel implements IVendorEntity {
514
520
  id: number;
515
521
  name: string;
516
522
  type: string;
523
+ mobileNumber?: string;
524
+ bankName?: string;
525
+ bankAccountNumber?: string;
526
+ ifscCode?: string;
527
+ bankAddress?: string;
528
+ upiId?: string;
517
529
  createdOn: number;
518
530
  updatedOn: number;
519
531
  createdBy: number;
@@ -551,6 +563,7 @@ declare class VendorBillModel extends BaseEntityModel implements IVendorBillEnti
551
563
  static populateFromEntity(entity: IVendorBillEntity): VendorBillModel;
552
564
  get totalAmountPaid(): number | undefined;
553
565
  get vendorName(): string;
566
+ get amount(): number;
554
567
  }
555
568
 
556
569
  declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
package/dist/index.d.ts CHANGED
@@ -283,6 +283,12 @@ interface IVendorEntity extends IAuditColumnEntity {
283
283
  id: number;
284
284
  name: string;
285
285
  type: string;
286
+ mobileNumber?: string;
287
+ bankName?: string;
288
+ bankAccountNumber?: string;
289
+ ifscCode?: string;
290
+ bankAddress?: string;
291
+ upiId?: string;
286
292
  }
287
293
 
288
294
  interface IVendorBillHistoryEntity extends IBaseHistoryEntity {
@@ -514,6 +520,12 @@ declare class VendorModel extends BaseEntityModel implements IVendorEntity {
514
520
  id: number;
515
521
  name: string;
516
522
  type: string;
523
+ mobileNumber?: string;
524
+ bankName?: string;
525
+ bankAccountNumber?: string;
526
+ ifscCode?: string;
527
+ bankAddress?: string;
528
+ upiId?: string;
517
529
  createdOn: number;
518
530
  updatedOn: number;
519
531
  createdBy: number;
@@ -551,6 +563,7 @@ declare class VendorBillModel extends BaseEntityModel implements IVendorBillEnti
551
563
  static populateFromEntity(entity: IVendorBillEntity): VendorBillModel;
552
564
  get totalAmountPaid(): number | undefined;
553
565
  get vendorName(): string;
566
+ get amount(): number;
554
567
  }
555
568
 
556
569
  declare class ExpenseModel extends BaseEntityModel implements IExpenseEntity {
package/dist/index.js CHANGED
@@ -1620,6 +1620,9 @@ var _VendorBillModel = class _VendorBillModel extends BaseEntityModel {
1620
1620
  get vendorName() {
1621
1621
  return this.vendor?.name ?? "";
1622
1622
  }
1623
+ get amount() {
1624
+ return this.totalAmount;
1625
+ }
1623
1626
  };
1624
1627
  _VendorBillModel.relations = {
1625
1628
  ["user" /* USER */]: {