law-common 1.2.53 → 1.2.55
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,3 +1,12 @@
|
|
|
1
1
|
import { IApiEntity, IReimbursementEntity } from "../../entities";
|
|
2
|
+
import { IProjectEntityGet } from "./project.entity.response";
|
|
3
|
+
import { IUserApiEntity } from "./user.entity.api";
|
|
2
4
|
export type IReimbursementApiEntity = IApiEntity<IReimbursementEntity>;
|
|
3
5
|
export type IReimbursementApiEntityArray = IReimbursementApiEntity[];
|
|
6
|
+
export type IReimbursementEntityGet = {
|
|
7
|
+
reimbursements: IReimbursementApiEntityArray;
|
|
8
|
+
users: {
|
|
9
|
+
[key: string]: IUserApiEntity;
|
|
10
|
+
};
|
|
11
|
+
projects: IProjectEntityGet;
|
|
12
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReimbursementBillingPresentEnum, ReimbursementBillingTypeEnum, ReimbursementIncurredByEnum, ReimbursementPaymentStatusEnum, ReimbursementStatusEnum } from "../enums/reimbursement.entity.enum";
|
|
2
2
|
import { IAuditColumnEntity } from "./audit-column.entity.interface";
|
|
3
|
-
import { IEntityCreateDto } from "./entity.utils.interface";
|
|
3
|
+
import { IEntityCreateDto, IEntityFilterData } from "./entity.utils.interface";
|
|
4
4
|
export interface IReimbursementEntity extends IAuditColumnEntity {
|
|
5
5
|
id: number;
|
|
6
6
|
billingType: ReimbursementBillingTypeEnum;
|
|
@@ -39,3 +39,5 @@ export interface IReimbursementCreateDtoExtra {
|
|
|
39
39
|
export type IReimbursementExclude = "expenseDetailsJson" | "projectIdsCsv" | "attachmentUrlsCsv" | "amountReimbursed" | "processedBy" | "processedDate" | "approvedBy" | "userIdsCsv";
|
|
40
40
|
export interface IReimbursementEntityCreateDto extends Omit<IEntityCreateDto<IReimbursementEntity>, IReimbursementExclude>, IReimbursementCreateDtoExtra {
|
|
41
41
|
}
|
|
42
|
+
export interface IReimbursementEntityFilterDto extends IEntityFilterData<IReimbursementEntity> {
|
|
43
|
+
}
|