invoice-system-common 1.0.19 → 1.0.20
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,10 +1,11 @@
|
|
|
1
1
|
import { BillingLineItemsActionEnum } from "../enums/billing-line-items-action.enum";
|
|
2
2
|
import { IEntityCreateDto, IEntityFilterData, IEntityUpdateDto } from "../helpers/generics";
|
|
3
3
|
import { IBillingLineItemEntity } from "./billing-line-item.entity.interface";
|
|
4
|
-
export type IBillingLineItemCreateDtoExclude =
|
|
4
|
+
export type IBillingLineItemCreateDtoExclude = "clientId" | "status";
|
|
5
5
|
export interface IBillingLineItemCreateDto extends Omit<IEntityCreateDto<IBillingLineItemEntity>, IBillingLineItemCreateDtoExclude> {
|
|
6
6
|
}
|
|
7
7
|
export interface IBillingLineItemUpdateDto extends IEntityUpdateDto<IBillingLineItemEntity> {
|
|
8
|
+
id?: number;
|
|
8
9
|
action: BillingLineItemsActionEnum;
|
|
9
10
|
}
|
|
10
11
|
export interface IBillingLineItemFilterDto extends IEntityFilterData<IBillingLineItemEntity> {
|