law-common 1.2.58-beta.11 → 1.2.58-beta.13
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/src/api/index.d.ts +4 -0
- package/dist/src/api/index.js +4 -0
- package/dist/src/api/interface/billing.create.dto.interface.d.ts +1 -0
- package/dist/src/api/interface/billing.transaction.create.dto.interface.d.ts +3 -0
- package/dist/src/api/interface/billing.transaction.create.dto.interface.js +2 -0
- package/dist/src/api/interface/billing.transaction.entity.response.d.ts +3 -0
- package/dist/src/api/interface/billing.transaction.entity.response.js +2 -0
- package/dist/src/api/interface/billing.transaction.update.dto.interface.d.ts +3 -0
- package/dist/src/api/interface/billing.transaction.update.dto.interface.js +2 -0
- package/dist/src/api/interface/billing.update.dto.interface.d.ts +2 -11
- package/dist/src/api/interface/role.permission.mapping.delete.dto.interface.d.ts +3 -0
- package/dist/src/api/interface/role.permission.mapping.delete.dto.interface.js +2 -0
- package/dist/src/entities/enums/billing.status.enum.d.ts +11 -7
- package/dist/src/entities/enums/billing.status.enum.js +10 -6
- package/dist/src/entities/enums/billing.transaction.enum.d.ts +6 -0
- package/dist/src/entities/enums/billing.transaction.enum.js +10 -0
- package/dist/src/entities/index.d.ts +2 -0
- package/dist/src/entities/index.js +2 -0
- package/dist/src/entities/interface/billing_transaction.entity.interface.d.ts +11 -0
- package/dist/src/entities/interface/billing_transaction.entity.interface.js +2 -0
- package/package.json +1 -1
package/dist/src/api/index.d.ts
CHANGED
|
@@ -53,3 +53,7 @@ export * from "./interface/role.permission.mapping.create.dto.interface";
|
|
|
53
53
|
export * from "./interface/role.permission.mapping.entity.api";
|
|
54
54
|
export * from "./interface/role.permission.mapping.update.dto.interface";
|
|
55
55
|
export * from "./interface/role.permission.mapping.response";
|
|
56
|
+
export * from "./interface/role.permission.mapping.delete.dto.interface";
|
|
57
|
+
export * from "./interface/billing.transaction.create.dto.interface";
|
|
58
|
+
export * from "./interface/billing.transaction.update.dto.interface";
|
|
59
|
+
export * from "./interface/billing.transaction.entity.response";
|
package/dist/src/api/index.js
CHANGED
|
@@ -69,3 +69,7 @@ __exportStar(require("./interface/role.permission.mapping.create.dto.interface")
|
|
|
69
69
|
__exportStar(require("./interface/role.permission.mapping.entity.api"), exports);
|
|
70
70
|
__exportStar(require("./interface/role.permission.mapping.update.dto.interface"), exports);
|
|
71
71
|
__exportStar(require("./interface/role.permission.mapping.response"), exports);
|
|
72
|
+
__exportStar(require("./interface/role.permission.mapping.delete.dto.interface"), exports);
|
|
73
|
+
__exportStar(require("./interface/billing.transaction.create.dto.interface"), exports);
|
|
74
|
+
__exportStar(require("./interface/billing.transaction.update.dto.interface"), exports);
|
|
75
|
+
__exportStar(require("./interface/billing.transaction.entity.response"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BillingImpactEnum, BillingTimesheetStatusEnum, IBillingEntity, IBillingTimesheetEntity, IEntityUpdateDto
|
|
1
|
+
import { BillingImpactEnum, BillingTimesheetStatusEnum, IBillingEntity, IBillingTimesheetEntity, IEntityUpdateDto } from "../../entities";
|
|
2
2
|
export interface IBillingUpdateDto extends IEntityUpdateDto<IBillingEntity> {
|
|
3
3
|
}
|
|
4
4
|
export interface IBillingTimesheetUpdateDto extends IEntityUpdateDto<IBillingTimesheetEntity> {
|
|
@@ -15,15 +15,6 @@ export interface IBillingTimesheetDeleteDto extends Partial<IBillingTimesheetEnt
|
|
|
15
15
|
id: number;
|
|
16
16
|
changedStatus: BillingTimesheetStatusEnum;
|
|
17
17
|
}
|
|
18
|
-
export interface IUpdateBillingDto {
|
|
19
|
-
startDate?: string;
|
|
20
|
-
endDate?: string;
|
|
21
|
-
projectId?: number;
|
|
22
|
-
totalAmount?: number;
|
|
23
|
-
totalMinutes?: number;
|
|
24
|
-
paymentStatus?: PaymentStatusEnum;
|
|
25
|
-
status?: StatusEnum;
|
|
26
|
-
invoiceNumber?: number;
|
|
27
|
-
writeoffAmount?: number;
|
|
18
|
+
export interface IUpdateBillingDto extends IBillingUpdateDto {
|
|
28
19
|
timesheets?: IBillingTimesheetUpdateDto[];
|
|
29
20
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export declare enum StatusEnum {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
CANCELLED = "CANCELLED"
|
|
2
|
+
PENDING_APPROVAL = "PENDING_APPROVAL",
|
|
3
|
+
REQUEST_CHANGES = "REQUEST_CHANGES",
|
|
4
|
+
CHANGES_SAVED = "CHANGES_SAVED",
|
|
5
|
+
INTERNAL_APPROVED = "INTERNAL_APPROVED",
|
|
6
|
+
PENDING_CLIENT_REVIEW = "PENDING_CLIENT_REVIEW",
|
|
7
|
+
CLIENT_REVISION_APPROVAL = "CLIENT_REVISION_APPROVAL",
|
|
8
|
+
CANCELLED = "CANCELLED",
|
|
9
|
+
REJECT_CLIENT_REVISION = "REJECT_CLIENT_REVISION",
|
|
10
|
+
INVOICE_SENT = "INVOICE_SENT",
|
|
11
|
+
PENDING_PAYMENT = "PENDING_PAYMENT",
|
|
12
|
+
PAYMENT_DONE = "PAYMENT_DONE"
|
|
9
13
|
}
|
|
@@ -3,11 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StatusEnum = void 0;
|
|
4
4
|
var StatusEnum;
|
|
5
5
|
(function (StatusEnum) {
|
|
6
|
-
StatusEnum["
|
|
7
|
-
StatusEnum["
|
|
8
|
-
StatusEnum["
|
|
9
|
-
StatusEnum["
|
|
10
|
-
StatusEnum["
|
|
11
|
-
StatusEnum["
|
|
6
|
+
StatusEnum["PENDING_APPROVAL"] = "PENDING_APPROVAL";
|
|
7
|
+
StatusEnum["REQUEST_CHANGES"] = "REQUEST_CHANGES";
|
|
8
|
+
StatusEnum["CHANGES_SAVED"] = "CHANGES_SAVED";
|
|
9
|
+
StatusEnum["INTERNAL_APPROVED"] = "INTERNAL_APPROVED";
|
|
10
|
+
StatusEnum["PENDING_CLIENT_REVIEW"] = "PENDING_CLIENT_REVIEW";
|
|
11
|
+
StatusEnum["CLIENT_REVISION_APPROVAL"] = "CLIENT_REVISION_APPROVAL";
|
|
12
12
|
StatusEnum["CANCELLED"] = "CANCELLED";
|
|
13
|
+
StatusEnum["REJECT_CLIENT_REVISION"] = "REJECT_CLIENT_REVISION";
|
|
14
|
+
StatusEnum["INVOICE_SENT"] = "INVOICE_SENT";
|
|
15
|
+
StatusEnum["PENDING_PAYMENT"] = "PENDING_PAYMENT";
|
|
16
|
+
StatusEnum["PAYMENT_DONE"] = "PAYMENT_DONE";
|
|
13
17
|
})(StatusEnum || (exports.StatusEnum = StatusEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillingTransactionType = void 0;
|
|
4
|
+
var BillingTransactionType;
|
|
5
|
+
(function (BillingTransactionType) {
|
|
6
|
+
BillingTransactionType["TDS"] = "TDS";
|
|
7
|
+
BillingTransactionType["WRITE_OFF"] = "WRITE_OFF";
|
|
8
|
+
BillingTransactionType["CREDIT_NOTE"] = "CREDIT_NOTE";
|
|
9
|
+
BillingTransactionType["PAYMENT"] = "PAYMENT";
|
|
10
|
+
})(BillingTransactionType || (exports.BillingTransactionType = BillingTransactionType = {}));
|
|
@@ -32,3 +32,5 @@ export * from "./interface/client_affiliate_entity.interface";
|
|
|
32
32
|
export * from "./interface/role.entity.interface";
|
|
33
33
|
export * from "./interface/permission.entity.interface";
|
|
34
34
|
export * from "./interface/role.permission.mapping.entity.interface";
|
|
35
|
+
export * from "./interface/billing_transaction.entity.interface";
|
|
36
|
+
export * from "./enums/billing.transaction.enum";
|
|
@@ -48,3 +48,5 @@ __exportStar(require("./interface/client_affiliate_entity.interface"), exports);
|
|
|
48
48
|
__exportStar(require("./interface/role.entity.interface"), exports);
|
|
49
49
|
__exportStar(require("./interface/permission.entity.interface"), exports);
|
|
50
50
|
__exportStar(require("./interface/role.permission.mapping.entity.interface"), exports);
|
|
51
|
+
__exportStar(require("./interface/billing_transaction.entity.interface"), exports);
|
|
52
|
+
__exportStar(require("./enums/billing.transaction.enum"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BillingTransactionType } from "../enums/billing.transaction.enum";
|
|
2
|
+
import { IAuditColumnEntity } from "./audit-column.entity.interface";
|
|
3
|
+
import { IEntityFilterData } from "./entity.utils.interface";
|
|
4
|
+
export interface IBillingTransactionEntity extends IAuditColumnEntity {
|
|
5
|
+
id: number;
|
|
6
|
+
billingId: number;
|
|
7
|
+
type: BillingTransactionType;
|
|
8
|
+
amount: number;
|
|
9
|
+
details: string;
|
|
10
|
+
}
|
|
11
|
+
export type IBillingTransactionEntityFilterData = IEntityFilterData<IBillingTransactionEntity>;
|