@royalinvest/dto 0.22.7 → 0.22.9

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,3 @@
1
+ export interface addendum {
2
+ content: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { addendum } from "./addendum";
2
+ export interface IBaseLeaseDetails {
3
+ addendum?: addendum;
4
+ contract_number?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -49,3 +49,7 @@ export declare enum LeaseNoticeTypeEnum {
49
49
  Repossessing = "repossessing",
50
50
  Eviction = "eviction"
51
51
  }
52
+ export declare enum TemplateNameEnum {
53
+ LeaseOfDwelling = "Lease of a Dwelling",
54
+ LeaseOfDwellingNotice = "Lease of a Dwelling Notice"
55
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LeaseNoticeTypeEnum = exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
3
+ exports.TemplateNameEnum = exports.LeaseNoticeTypeEnum = exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
4
4
  var PartyTypeEnum;
5
5
  (function (PartyTypeEnum) {
6
6
  PartyTypeEnum["default"] = "";
@@ -61,3 +61,8 @@ var LeaseNoticeTypeEnum;
61
61
  LeaseNoticeTypeEnum["Repossessing"] = "repossessing";
62
62
  LeaseNoticeTypeEnum["Eviction"] = "eviction";
63
63
  })(LeaseNoticeTypeEnum = exports.LeaseNoticeTypeEnum || (exports.LeaseNoticeTypeEnum = {}));
64
+ var TemplateNameEnum;
65
+ (function (TemplateNameEnum) {
66
+ TemplateNameEnum["LeaseOfDwelling"] = "Lease of a Dwelling";
67
+ TemplateNameEnum["LeaseOfDwellingNotice"] = "Lease of a Dwelling Notice";
68
+ })(TemplateNameEnum = exports.TemplateNameEnum || (exports.TemplateNameEnum = {}));
@@ -1,4 +1,5 @@
1
- export interface ILeaseOfDwellingNotice {
1
+ import { IBaseLeaseDetails } from "./baseLeaseDetails";
2
+ export interface ILeaseOfDwellingNotice extends IBaseLeaseDetails {
2
3
  lessee_name: string;
3
4
  lessee_address: string;
4
5
  amount_of_rent_checkbox_1: boolean;
@@ -34,5 +35,4 @@ export interface ILeaseOfDwellingNotice {
34
35
  response_accept: boolean;
35
36
  response_refuse: boolean;
36
37
  response_renewing: boolean;
37
- contract_number?: string;
38
38
  }
@@ -1,4 +1,5 @@
1
1
  import { ContractType } from "./contract-type";
2
+ import { TemplateNameEnum } from "./enum";
2
3
  import { ISignaturePartySigned } from "./signaturePartySigned";
3
4
  export interface IMessageGenerate {
4
5
  contract_id: string;
@@ -9,6 +10,7 @@ export interface IMessageGenerate {
9
10
  template_variant_language: string;
10
11
  template_variant_mime_type: string;
11
12
  template_variant_id: string;
13
+ template_name: TemplateNameEnum;
12
14
  file_id?: string;
13
15
  isEdit?: boolean;
14
16
  }
@@ -1,4 +1,4 @@
1
- import { addendum } from "./addendum";
1
+ import { IBaseLeaseDetails } from "../baseLeaseDetails";
2
2
  import { sectionA } from "./sectionA";
3
3
  import { sectionB } from "./sectionB";
4
4
  import { sectionC } from "./sectionC";
@@ -8,7 +8,7 @@ import { sectionF } from "./sectionF";
8
8
  import { sectionG } from "./sectionG";
9
9
  import { sectionH } from "./sectionH";
10
10
  import { sectionI } from "./sectionI";
11
- export interface ILeaseOfDwelling {
11
+ export interface ILeaseOfDwelling extends IBaseLeaseDetails {
12
12
  sectionA: sectionA;
13
13
  sectionB: sectionB;
14
14
  sectionC: sectionC;
@@ -18,6 +18,4 @@ export interface ILeaseOfDwelling {
18
18
  sectionG: sectionG;
19
19
  sectionH: sectionH;
20
20
  sectionI: sectionI;
21
- addendum?: addendum;
22
- contract_number: string;
23
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.22.7",
3
+ "version": "0.22.9",
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",