invoice-system-common 1.0.12 → 1.0.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.
@@ -1,8 +1,12 @@
1
1
  import { IEntityCreateDto, IEntityFilterData, IEntityUpdateDto } from "../helpers/generics";
2
+ import { IBillingLineItemCreateDto } from "./billing-line-item.dto.interface";
2
3
  import { IBillingEntity } from "./billing.entity.interface";
3
- export type IBillingCreateDtoExclude = 'status' | 'netBillingAmount';
4
+ export type IBillingCreateDtoExclude = "status" | "netBillingAmount";
4
5
  export interface IBillingCreateDto extends Omit<IEntityCreateDto<IBillingEntity>, IBillingCreateDtoExclude> {
5
6
  }
7
+ export interface IBillingCreateDtoV2 extends IBillingCreateDto {
8
+ lineItems: IBillingLineItemCreateDto[];
9
+ }
6
10
  export interface IBillingUpdateDto extends IEntityUpdateDto<IBillingEntity> {
7
11
  }
8
12
  export interface IBillingEntityFilterDto extends IEntityFilterData<IBillingEntity> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "invoice-system-common",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/Kashyap2210/invoice-system-common#readme",
6
6
  "bugs": {
@@ -21,7 +21,8 @@
21
21
  "scripts": {
22
22
  "test": "echo \"Error: no test specified\" && exit 1",
23
23
  "build": "tsc",
24
- "full-publish": "npm run build && npm version patch && git push --follow-tags && npm publish"
24
+ "full-publish": "npm run build && npm version patch && git push --follow-tags && npm publish",
25
+ "link": "npm run build && npm link"
25
26
  },
26
27
  "devDependencies": {
27
28
  "typescript": "^5.8.3"