@royalinvest/dto 0.12.0 → 0.12.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.
@@ -39,3 +39,8 @@ export declare enum SignActionEnum {
39
39
  export declare enum SignatureDateTypeEnum {
40
40
  equalDayMonthYearBoxes = "equalDayMonthYearBoxes"
41
41
  }
42
+ export declare enum LeaseNoticeTypeEnum {
43
+ Modification = "modification",
44
+ Repossessing = "repossessing",
45
+ Eviction = "eviction"
46
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
3
+ 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"] = "";
@@ -50,3 +50,9 @@ var SignatureDateTypeEnum;
50
50
  (function (SignatureDateTypeEnum) {
51
51
  SignatureDateTypeEnum["equalDayMonthYearBoxes"] = "equalDayMonthYearBoxes";
52
52
  })(SignatureDateTypeEnum || (exports.SignatureDateTypeEnum = SignatureDateTypeEnum = {}));
53
+ var LeaseNoticeTypeEnum;
54
+ (function (LeaseNoticeTypeEnum) {
55
+ LeaseNoticeTypeEnum["Modification"] = "modification";
56
+ LeaseNoticeTypeEnum["Repossessing"] = "repossessing";
57
+ LeaseNoticeTypeEnum["Eviction"] = "eviction";
58
+ })(LeaseNoticeTypeEnum || (exports.LeaseNoticeTypeEnum = LeaseNoticeTypeEnum = {}));
@@ -1,4 +1,4 @@
1
- import { SignStatusEnum } from "./enum";
1
+ import { LeaseNoticeTypeEnum, SignStatusEnum } from "./enum";
2
2
  import { ISignaturePartyDetails } from "./signaturePartyDetails";
3
3
  export interface IFileDetails {
4
4
  id: string;
@@ -8,4 +8,12 @@ export interface IFileDetails {
8
8
  type: string;
9
9
  status: SignStatusEnum;
10
10
  signatureParties: ISignaturePartyDetails[];
11
+ lessorNoticeRules: ISimplifiedLessorNoticeRule[];
12
+ }
13
+ export interface ISimplifiedLessorNoticeRule {
14
+ description: string;
15
+ noticeType: LeaseNoticeTypeEnum;
16
+ deadlineDaysBefore: number;
17
+ allowedFromDaysBefore?: number;
18
+ leaseEndDate?: string;
11
19
  }
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@royalinvest/dto",
3
- "version": "0.12.0",
4
- "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
- "main": "./src/index.ts",
6
- "types": "./dist/index.d.ts",
7
- "module": "./dist/index.js",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
12
- }
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git@ssh.dev.azure.com:v3/royalinvest/royalinvest/royalinvestserver"
17
- },
18
- "files": [
19
- "./dist"
20
- ],
21
- "publishConfig": {
22
- "access": "public"
23
- },
24
- "scripts": {
25
- "build": "npx tsc",
26
- "clean": "rm -rf ./dist",
27
- "test": "echo \"Error: no test specified\" && exit 1"
28
- },
29
- "author": "Samos Technologies Inc.",
30
- "license": "ISC",
31
- "dependencies": {}
32
- }
1
+ {
2
+ "name": "@royalinvest/dto",
3
+ "version": "0.12.2",
4
+ "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
+ "main": "./src/index.ts",
6
+ "types": "./dist/index.d.ts",
7
+ "module": "./dist/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git@ssh.dev.azure.com:v3/royalinvest/royalinvest/royalinvestserver"
17
+ },
18
+ "files": [
19
+ "./dist"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "scripts": {
25
+ "build": "npx tsc",
26
+ "clean": "rm -rf ./dist",
27
+ "test": "echo \"Error: no test specified\" && exit 1"
28
+ },
29
+ "author": "Samos Technologies Inc.",
30
+ "license": "ISC",
31
+ "dependencies": {}
32
+ }
@@ -1,9 +0,0 @@
1
- import { IProperty } from "../property";
2
- export interface IExpense {
3
- id?: string;
4
- name?: string;
5
- price?: number;
6
- date?: Date;
7
- property: IProperty;
8
- image_url?: string;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });