law-common 10.45.3-beta.13 → 10.45.3-beta.15

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.
@@ -1,5 +1,5 @@
1
1
  import { BillingImpactEnum, BillingReimbursementExpenseChangedStatusEnum, BillingStatusEnum, IBillingEntity, IBillingTimesheetEntity, IEntityCreateDto, IProjectEntity, ITimesheetEntity } from "../../entities";
2
- export type IBillingCreateExclude = "paymentStatus" | "status" | "writeoffAmount" | "tdsAmount" | "totalAmountPaid" | "creditNoteAmount" | "invoicePdfUrl" | "startDate" | "endDate";
2
+ export type IBillingCreateExclude = "paymentStatus" | "status" | "writeoffAmount" | "tdsAmount" | "totalAmountPaid" | "creditNoteAmount" | "refundAmount" | "invoicePdfUrl" | "startDate" | "endDate";
3
3
  export interface IBillingCreateDto extends Omit<IEntityCreateDto<IBillingEntity>, IBillingCreateExclude | "particulars"> {
4
4
  timesheets?: IBillingTimesheetsDto;
5
5
  status?: BillingStatusEnum;
@@ -9,6 +9,7 @@ export interface IBillingCreateDto extends Omit<IEntityCreateDto<IBillingEntity>
9
9
  endDate?: string;
10
10
  }
11
11
  export interface IBillingParticulars {
12
+ invoiceDescription?: string;
12
13
  invoiceText?: string;
13
14
  debitNoteText?: string;
14
15
  includeDebitNoteSummary: boolean;
@@ -1,6 +1,9 @@
1
- import { ExpenseTypeEnum } from "../../entities";
1
+ import { ExpenseTypeEnum, IExpenseTypeEntity } from "../../entities";
2
2
  export interface IExpenseTypeUpdateDto {
3
3
  name?: string;
4
4
  description?: string;
5
5
  type?: ExpenseTypeEnum;
6
6
  }
7
+ export interface IExpenseTypeUpdateDtoValidationData {
8
+ existingEntity: IExpenseTypeEntity;
9
+ }
@@ -20,6 +20,7 @@ export interface IBillingEntity extends IEntityAuditColumn {
20
20
  totalAmountPaid: number;
21
21
  tdsAmount: number;
22
22
  creditNoteAmount: number;
23
+ refundAmount?: number;
23
24
  invoiceEntityId: number;
24
25
  invoiceEntityType: BillingInvoiceTypeEnum;
25
26
  invoicePdfUrl?: string | null;
@@ -40,6 +40,7 @@ export declare class BillingEntityModel extends BaseEntityModel<EntityEnum.BILLI
40
40
  totalAmountPaid: number;
41
41
  tdsAmount: number;
42
42
  creditNoteAmount: number;
43
+ refundAmount?: number;
43
44
  invoiceEntityId: number;
44
45
  invoiceEntityType: BillingInvoiceTypeEnum;
45
46
  invoicePdfUrl?: string | null;
@@ -32,6 +32,7 @@ class BillingEntityModel extends base_entity_model_1.BaseEntityModel {
32
32
  this.totalAmountPaid = 0;
33
33
  this.tdsAmount = 0;
34
34
  this.creditNoteAmount = 0;
35
+ this.refundAmount = 0;
35
36
  this.invoiceEntityId = 0;
36
37
  this.invoiceEntityType = billing_invoice_type_enum_1.BillingInvoiceTypeEnum.CLIENT;
37
38
  this.invoiceContactName = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "10.45.3-beta.13",
3
+ "version": "10.45.3-beta.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [