law-common 10.26.1-beta.3 → 10.26.1-beta.5
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 +1 -8
- package/dist/src/api/index.js +1 -11
- package/dist/src/api/interface/billing-reimbursement-expense.api.d.ts +3 -0
- package/dist/src/api/interface/billing.entity.response.d.ts +3 -2
- package/dist/src/entities/interface/billing-reimbursement-expense.entity.interface.d.ts +2 -2
- package/dist/src/entities/interface/entity.utils.interface.d.ts +2 -1
- package/dist/src/entities/model/billing-reimbursement-expense.entity.model.d.ts +5 -5
- package/dist/src/entities/model/billing-reimbursement-expense.entity.model.js +6 -6
- package/package.json +1 -1
- package/dist/src/api/interface/bank_history.api.d.ts +0 -3
- package/dist/src/api/interface/billing-reimbursement-expense-history.api.d.ts +0 -4
- package/dist/src/api/interface/billing-reimbursement-expense-history.api.js +0 -2
- package/dist/src/api/interface/billing.history.api.d.ts +0 -3
- package/dist/src/api/interface/billing.history.api.js +0 -2
- package/dist/src/api/interface/billing_timesheet_history.api.d.ts +0 -3
- package/dist/src/api/interface/billing_timesheet_history.api.js +0 -2
- package/dist/src/api/interface/leave_history.api.d.ts +0 -3
- package/dist/src/api/interface/leave_history.api.js +0 -2
- package/dist/src/api/interface/reimbursement_history.api.d.ts +0 -3
- package/dist/src/api/interface/reimbursement_history.api.js +0 -2
- package/dist/src/api/interface/timesheet.history.api.d.ts +0 -3
- package/dist/src/api/interface/timesheet.history.api.js +0 -2
- package/dist/src/api/interface/work_from_home_history.api.d.ts +0 -4
- package/dist/src/api/interface/work_from_home_history.api.js +0 -2
- /package/dist/src/api/interface/{bank_history.api.js → billing-reimbursement-expense.api.js} +0 -0
package/dist/src/api/index.d.ts
CHANGED
|
@@ -42,20 +42,13 @@ export * from "./interface/billing.transaction.create.dto.interface";
|
|
|
42
42
|
export * from "./interface/billing.transaction.update.dto.interface";
|
|
43
43
|
export * from "./interface/billing.transaction.entity.response";
|
|
44
44
|
export * from "./interface/billing.flow.update.dto";
|
|
45
|
-
export * from "./interface/timesheet.history.api";
|
|
46
|
-
export * from "./interface/billing.history.api";
|
|
47
|
-
export * from "./interface/billing_timesheet_history.api";
|
|
48
|
-
export * from "./interface/reimbursement_history.api";
|
|
49
45
|
export * from "./interface/reimbursement_expense.api";
|
|
50
|
-
export * from "./interface/bank_history.api";
|
|
51
46
|
export * from "./interface/leave.create.dto.interface";
|
|
52
47
|
export * from "./interface/leave.update.dto.interface";
|
|
53
48
|
export * from "./interface/leave.api";
|
|
54
|
-
export * from "./interface/leave_history.api";
|
|
55
49
|
export * from "./interface/work.from.home.api";
|
|
56
50
|
export * from "./interface/work.from.home.create.dto.interface";
|
|
57
51
|
export * from "./interface/work.from.home.update.interface";
|
|
58
|
-
export * from "./interface/work_from_home_history.api";
|
|
59
52
|
export * from "./interface/cron-job-manual-trigger.dto.interface";
|
|
60
53
|
export * from "./interface/cron-job.entity.response";
|
|
61
|
-
export * from "./interface/billing-reimbursement-expense
|
|
54
|
+
export * from "./interface/billing-reimbursement-expense.api";
|
package/dist/src/api/index.js
CHANGED
|
@@ -58,23 +58,13 @@ __exportStar(require("./interface/billing.transaction.create.dto.interface"), ex
|
|
|
58
58
|
__exportStar(require("./interface/billing.transaction.update.dto.interface"), exports);
|
|
59
59
|
__exportStar(require("./interface/billing.transaction.entity.response"), exports);
|
|
60
60
|
__exportStar(require("./interface/billing.flow.update.dto"), exports);
|
|
61
|
-
__exportStar(require("./interface/timesheet.history.api"), exports);
|
|
62
|
-
__exportStar(require("./interface/billing.history.api"), exports);
|
|
63
|
-
__exportStar(require("./interface/billing_timesheet_history.api"), exports);
|
|
64
|
-
__exportStar(require("./interface/reimbursement_history.api"), exports);
|
|
65
61
|
__exportStar(require("./interface/reimbursement_expense.api"), exports);
|
|
66
|
-
__exportStar(require("./interface/bank_history.api"), exports);
|
|
67
62
|
__exportStar(require("./interface/leave.create.dto.interface"), exports);
|
|
68
63
|
__exportStar(require("./interface/leave.update.dto.interface"), exports);
|
|
69
64
|
__exportStar(require("./interface/leave.api"), exports);
|
|
70
|
-
__exportStar(require("./interface/leave_history.api"), exports);
|
|
71
65
|
__exportStar(require("./interface/work.from.home.api"), exports);
|
|
72
66
|
__exportStar(require("./interface/work.from.home.create.dto.interface"), exports);
|
|
73
67
|
__exportStar(require("./interface/work.from.home.update.interface"), exports);
|
|
74
|
-
__exportStar(require("./interface/work_from_home_history.api"), exports);
|
|
75
68
|
__exportStar(require("./interface/cron-job-manual-trigger.dto.interface"), exports);
|
|
76
69
|
__exportStar(require("./interface/cron-job.entity.response"), exports);
|
|
77
|
-
|
|
78
|
-
// export * from "./interface/billing-reimbursement-expense.api";
|
|
79
|
-
__exportStar(require("./interface/billing-reimbursement-expense-history.api"), exports);
|
|
80
|
-
// export * from "./interface/project-user-mapping.entity.api";
|
|
70
|
+
__exportStar(require("./interface/billing-reimbursement-expense.api"), exports);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IApiEntity, IBillingReimbursementExpenseEntity } from "../../entities";
|
|
2
|
+
export type IBillingReimbursementExpenseApiEntity = IApiEntity<IBillingReimbursementExpenseEntity>;
|
|
3
|
+
export type IBillingReimbursementExpenseApiEntityArray = IBillingReimbursementExpenseApiEntity[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { BillingActionsEnum, BillingStatusEnum, IBillingEntity,
|
|
1
|
+
import { BillingActionsEnum, BillingStatusEnum, IBillingEntity, IBillingTimesheetEntity, IProjectEntity, IUserEntity } from "../../entities";
|
|
2
|
+
import { IBillingReimbursementExpenseApiEntity } from "./billing-reimbursement-expense.api";
|
|
2
3
|
import { IBillingApiEntity } from "./billing.entity.api";
|
|
3
4
|
import { IUpdateBillingDto } from "./billing.update.dto.interface";
|
|
4
5
|
export type IBillingEntityResponse = {
|
|
5
6
|
billing: IBillingApiEntity;
|
|
6
|
-
billingReimbursementExpenses?: IBillingReimbursementExpenseEntity[];
|
|
7
7
|
billingTimesheets?: IBillingTimesheetEntity[];
|
|
8
|
+
billingReimbursementExpenses?: IBillingReimbursementExpenseApiEntity[];
|
|
8
9
|
};
|
|
9
10
|
export interface IUserEntityRelation {
|
|
10
11
|
users?: IUserEntity[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BillingReimbursementExpenseImpactEnum } from "../enums/billing-reimburement-expense-impact.enum";
|
|
2
2
|
import { BillingReimbursementExpenseChangedStatusEnum } from "../enums/billing-reimbursement-expense-change-status.enum";
|
|
3
|
-
import {
|
|
3
|
+
import { IAuditColumnEntity } from "./audit-column.entity.interface";
|
|
4
4
|
import { IEntityCreateDto, IEntityFilterData, IEntityUpdateDto } from "./entity.utils.interface";
|
|
5
|
-
export interface IBillingReimbursementExpenseEntity extends
|
|
5
|
+
export interface IBillingReimbursementExpenseEntity extends IAuditColumnEntity {
|
|
6
6
|
id: number;
|
|
7
7
|
billingId: number;
|
|
8
8
|
userId: number;
|
|
@@ -31,6 +31,7 @@ import { IConfigurationEntity } from "./configuration.entity.interface";
|
|
|
31
31
|
import { ICountryEntity } from "./country.entity.interface";
|
|
32
32
|
import { ICronJobsEntity } from "./cron-job.entity.interface";
|
|
33
33
|
import { IDesignationEntity } from "./designation.entity.interface";
|
|
34
|
+
import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
34
35
|
import { IExpenseTypeEntity } from "./expense_type.entity.interface";
|
|
35
36
|
import { IHolidayListEntity } from "./holiday-list.entity.interface";
|
|
36
37
|
import { IHolidayEntity } from "./holiday.entity.interface";
|
|
@@ -251,7 +252,7 @@ export type IEntitySearchSinceConstraint = {
|
|
|
251
252
|
columnKey: string;
|
|
252
253
|
value: number;
|
|
253
254
|
};
|
|
254
|
-
export interface IBaseHistoryEntity extends
|
|
255
|
+
export interface IBaseHistoryEntity extends IEntityAuditColumn {
|
|
255
256
|
id: number;
|
|
256
257
|
entityId: number;
|
|
257
258
|
operation: HistoryOperationEnum;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { IBillingReimbursementExpenseApiEntity } from "../../api";
|
|
1
2
|
import { BillingReimbursementExpenseImpactEnum } from "../enums/billing-reimburement-expense-impact.enum";
|
|
2
3
|
import { BillingReimbursementExpenseChangedStatusEnum } from "../enums/billing-reimbursement-expense-change-status.enum";
|
|
3
|
-
import { IBillingReimbursementExpenseEntity } from "../interface/billing-reimbursement-expense.entity.interface";
|
|
4
4
|
import { EntityEnum } from "../interface/entity.utils.interface";
|
|
5
5
|
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class BillingReimbursementExpneseEntityModel extends BaseEntityModel<EntityEnum.BILLING_REIMBURSEMENT_EXPENSE> implements
|
|
6
|
+
export declare class BillingReimbursementExpneseEntityModel extends BaseEntityModel<EntityEnum.BILLING_REIMBURSEMENT_EXPENSE> implements IBillingReimbursementExpenseApiEntity {
|
|
7
7
|
id: number;
|
|
8
8
|
billingId: number;
|
|
9
9
|
userId: number;
|
|
@@ -17,9 +17,9 @@ export declare class BillingReimbursementExpneseEntityModel extends BaseEntityMo
|
|
|
17
17
|
impact?: BillingReimbursementExpenseImpactEnum;
|
|
18
18
|
updatedBy: number;
|
|
19
19
|
createdBy: number;
|
|
20
|
-
createdOn:
|
|
21
|
-
updatedOn:
|
|
20
|
+
createdOn: string;
|
|
21
|
+
updatedOn: string;
|
|
22
22
|
static relationConfigs: never[];
|
|
23
23
|
getRelationConfigs(): any[];
|
|
24
|
-
static fromApiEntity(
|
|
24
|
+
static fromApiEntity(apiEntity: IBillingReimbursementExpenseApiEntity): BillingReimbursementExpneseEntityModel;
|
|
25
25
|
}
|
|
@@ -19,16 +19,16 @@ class BillingReimbursementExpneseEntityModel extends base_entity_model_1.BaseEnt
|
|
|
19
19
|
this.amendmentPurpose = "";
|
|
20
20
|
this.updatedBy = 0;
|
|
21
21
|
this.createdBy = 0;
|
|
22
|
-
this.createdOn =
|
|
23
|
-
this.updatedOn =
|
|
22
|
+
this.createdOn = "";
|
|
23
|
+
this.updatedOn = "";
|
|
24
24
|
}
|
|
25
25
|
getRelationConfigs() {
|
|
26
26
|
return this.constructor.prototype.constructor.relationConfigs || [];
|
|
27
27
|
}
|
|
28
|
-
static fromApiEntity(
|
|
29
|
-
const
|
|
30
|
-
Object.assign(
|
|
31
|
-
return
|
|
28
|
+
static fromApiEntity(apiEntity) {
|
|
29
|
+
const entity = new BillingReimbursementExpneseEntityModel(entity_utils_interface_1.EntityEnum.BILLING_REIMBURSEMENT_EXPENSE);
|
|
30
|
+
Object.assign(entity, apiEntity);
|
|
31
|
+
return entity;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.BillingReimbursementExpneseEntityModel = BillingReimbursementExpneseEntityModel;
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IApiEntity } from "../../entities";
|
|
2
|
-
import { IBillingReimbursementExpenseHistoryEntity } from "../../entities/interface/billing-reimbursement-expense-history.entity.interface";
|
|
3
|
-
export type IBillingReimbursementExpenseHistoryApiEntity = IApiEntity<IBillingReimbursementExpenseHistoryEntity>;
|
|
4
|
-
export type IBillingReimbursementExpenseHistoryApiEntityArray = IBillingReimbursementExpenseHistoryApiEntity[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IApiEntity } from "../../entities";
|
|
2
|
-
import { IWorkFromHomeHistoryEntity } from "../../entities/interface/work_from_home_history.entity.interface";
|
|
3
|
-
export type IWorkFromHomeHistoryApiEntity = IApiEntity<IWorkFromHomeHistoryEntity>;
|
|
4
|
-
export type IWorkFromHomeHistoryApiEntityArray = IWorkFromHomeHistoryApiEntity[];
|
/package/dist/src/api/interface/{bank_history.api.js → billing-reimbursement-expense.api.js}
RENAMED
|
File without changes
|