@royalinvest/dto 0.26.1 → 0.27.2

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.
@@ -0,0 +1,8 @@
1
+ import { PartyTypeEnum } from "./enum";
2
+ import { field } from "./field";
3
+ export interface IContractParty {
4
+ id?: string;
5
+ order: number;
6
+ type: PartyTypeEnum;
7
+ party: field;
8
+ }
package/dist/field.d.ts CHANGED
@@ -1,10 +1,8 @@
1
1
  import { IAddress } from "./address";
2
- import { PartyTypeEnum } from "./enum";
3
2
  export interface field extends IAddress {
4
3
  id?: string;
5
4
  name: string;
6
5
  email: string;
7
- type: PartyTypeEnum;
8
6
  telephone: string;
9
7
  other_telephone?: string;
10
8
  }
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from "./checkout";
5
5
  export * from "./co-singer";
6
6
  export * from "./contract-type";
7
7
  export * from "./contractAttachment";
8
+ export * from "./contractParty";
8
9
  export * from "./country";
9
10
  export * from "./emailMessage";
10
11
  export * from "./enum";
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./checkout"), exports);
21
21
  __exportStar(require("./co-singer"), exports);
22
22
  __exportStar(require("./contract-type"), exports);
23
23
  __exportStar(require("./contractAttachment"), exports);
24
+ __exportStar(require("./contractParty"), exports);
24
25
  __exportStar(require("./country"), exports);
25
26
  __exportStar(require("./emailMessage"), exports);
26
27
  __exportStar(require("./enum"), exports);
@@ -4,7 +4,7 @@ import { IParty } from "./party";
4
4
  import { ITemplate } from "./template";
5
5
  export interface ILeaseListItem {
6
6
  id: string;
7
- name: string;
7
+ title: string;
8
8
  status: LeaseStatusEnum;
9
9
  rent_start?: Date;
10
10
  rent_end?: Date;
package/dist/lease.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { ContractType } from "./contract-type";
2
1
  import { LeaseStatusEnum } from "./enum";
3
- import { IParty } from "./party";
2
+ import { ContractType } from "./contract-type";
3
+ import { IContractParty } from "./contractParty";
4
4
  import { IProperty } from "./property";
5
5
  export interface ILease {
6
6
  id?: string;
@@ -14,6 +14,6 @@ export interface ILease {
14
14
  created_at?: Date;
15
15
  modified_at?: Date;
16
16
  allowed_edit_before: Date | null;
17
- parties?: IParty[];
17
+ parties?: IContractParty[];
18
18
  property?: IProperty;
19
19
  }
@@ -1,6 +1,8 @@
1
- import { ContractType } from "./contract-type";
1
+ import { IContractParty } from "./contractParty";
2
+ import { IProperty } from "./property";
2
3
  export interface IProcessContractNotification {
3
4
  user_id: string;
4
5
  contract_id: string;
5
- details: ContractType;
6
+ parties?: IContractParty[];
7
+ property?: IProperty;
6
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.26.1",
3
+ "version": "0.27.2",
4
4
  "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./dist/index.d.ts",
@@ -57,4 +57,4 @@
57
57
  "prettier": "^3.3.3",
58
58
  "typescript-eslint": "^8.7.0"
59
59
  }
60
- }
60
+ }
@@ -1,5 +0,0 @@
1
- export interface ISignatureInitials {
2
- initials: string;
3
- signature: string;
4
- timestamp: string;
5
- }
File without changes