@royalinvest/dto 0.10.2 → 0.10.4

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,7 +1,9 @@
1
1
  export declare enum PartyTypeEnum {
2
2
  default = "",
3
3
  lessor = "lessor",
4
- lessee = "lessee"
4
+ lessee = "lessee",
5
+ coSigner = "coSigner",
6
+ spouse = "spouse"
5
7
  }
6
8
  export declare enum RentTypeEnum {
7
9
  default = "",
@@ -10,5 +12,6 @@ export declare enum RentTypeEnum {
10
12
  }
11
13
  export declare enum LeaseStatusEnum {
12
14
  draft = "draft",
13
- published = "published"
15
+ published = "published",
16
+ signed = "signed"
14
17
  }
@@ -6,6 +6,8 @@ var PartyTypeEnum;
6
6
  PartyTypeEnum["default"] = "";
7
7
  PartyTypeEnum["lessor"] = "lessor";
8
8
  PartyTypeEnum["lessee"] = "lessee";
9
+ PartyTypeEnum["coSigner"] = "coSigner";
10
+ PartyTypeEnum["spouse"] = "spouse";
9
11
  })(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
10
12
  var RentTypeEnum;
11
13
  (function (RentTypeEnum) {
@@ -17,4 +19,5 @@ var LeaseStatusEnum;
17
19
  (function (LeaseStatusEnum) {
18
20
  LeaseStatusEnum["draft"] = "draft";
19
21
  LeaseStatusEnum["published"] = "published";
22
+ LeaseStatusEnum["signed"] = "signed";
20
23
  })(LeaseStatusEnum || (exports.LeaseStatusEnum = LeaseStatusEnum = {}));
package/dist/index.d.ts CHANGED
@@ -23,3 +23,4 @@ export * from "./messageGenerate";
23
23
  export * from "./file";
24
24
  export * from "./checkout";
25
25
  export * from "./profile";
26
+ export * from "./signatureParty";
package/dist/index.js CHANGED
@@ -39,3 +39,4 @@ __exportStar(require("./messageGenerate"), exports);
39
39
  __exportStar(require("./file"), exports);
40
40
  __exportStar(require("./checkout"), exports);
41
41
  __exportStar(require("./profile"), exports);
42
+ __exportStar(require("./signatureParty"), exports);
@@ -0,0 +1,5 @@
1
+ export interface IParty {
2
+ full_name?: string;
3
+ email?: string;
4
+ order?: number;
5
+ }
package/dist/party.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,11 @@
1
1
  import { PartyTypeEnum } from "../enum";
2
2
  import { IAddress } from "../address";
3
3
  export interface sectionA {
4
- lessor: fields[];
5
- lessee: fields[];
4
+ lessor: field[];
5
+ lessee: field[];
6
6
  represented_by: string;
7
7
  }
8
- interface fields extends IAddress {
8
+ export interface field extends IAddress {
9
9
  id?: string;
10
10
  name: string;
11
11
  email: string;
@@ -13,4 +13,3 @@ interface fields extends IAddress {
13
13
  telephone: string;
14
14
  other_telephone?: string;
15
15
  }
16
- export {};
@@ -1,4 +1,6 @@
1
+ import { field } from "./sectionA";
1
2
  export interface sectionH {
2
3
  solidarily_liable_for_lease_yes: boolean;
3
4
  solidarily_liable_for_lease_no: boolean;
5
+ co_signer: field[];
4
6
  }
@@ -1,3 +1,5 @@
1
+ import { field } from "./sectionA";
1
2
  export interface sectionI {
2
3
  married_civil_union_name_spouse: string;
4
+ spouse: field[];
3
5
  }
@@ -0,0 +1,8 @@
1
+ import { PartyTypeEnum } from "./enum";
2
+ export interface ISignatureParty {
3
+ id?: string;
4
+ name?: string;
5
+ email?: string;
6
+ order?: number;
7
+ type?: PartyTypeEnum;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
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",