@royalinvest/dto 0.27.2 → 0.28.0
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.
- package/dist/enum/index.d.ts +12 -0
- package/dist/enum/index.js +15 -1
- package/dist/file.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lease-list-item.d.ts +2 -2
- package/dist/leaseNoticeRule.d.ts +14 -0
- package/dist/leaseNoticeRule.js +2 -0
- package/package.json +1 -1
package/dist/enum/index.d.ts
CHANGED
|
@@ -69,3 +69,15 @@ export declare enum AnswerTypeEnum {
|
|
|
69
69
|
Fixed = "fixed",
|
|
70
70
|
Freeform = "freeform"
|
|
71
71
|
}
|
|
72
|
+
export declare enum LeaseTermTypeEnum {
|
|
73
|
+
FixedTermLease = "fixedTermLease",
|
|
74
|
+
IndeterminateTermLease = "indeterminateTermLease",
|
|
75
|
+
FixedTermRoomLease = "fixedTermRoomLease",
|
|
76
|
+
IndeterminateTermRoomLease = "indeterminateTermRoomLease"
|
|
77
|
+
}
|
|
78
|
+
export declare enum LeaseDurationEnum {
|
|
79
|
+
YearOrLonger = "yearOrLonger",
|
|
80
|
+
LessThanYear = "lessThanYear",
|
|
81
|
+
HalfYearOrLonger = "halfYearOrLonger",
|
|
82
|
+
LessThanHalfYear = "lessThanHalfYear"
|
|
83
|
+
}
|
package/dist/enum/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LeaseCategoryEnum = exports.LeaseTypeEnum = exports.LeaseNoticeTypeEnum = exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
|
|
3
|
+
exports.LeaseDurationEnum = exports.LeaseTermTypeEnum = exports.LeaseCategoryEnum = exports.LeaseTypeEnum = 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"] = "";
|
|
@@ -73,3 +73,17 @@ var LeaseCategoryEnum;
|
|
|
73
73
|
LeaseCategoryEnum["Other"] = "other";
|
|
74
74
|
LeaseCategoryEnum["Default"] = "default";
|
|
75
75
|
})(LeaseCategoryEnum || (exports.LeaseCategoryEnum = LeaseCategoryEnum = {}));
|
|
76
|
+
var LeaseTermTypeEnum;
|
|
77
|
+
(function (LeaseTermTypeEnum) {
|
|
78
|
+
LeaseTermTypeEnum["FixedTermLease"] = "fixedTermLease";
|
|
79
|
+
LeaseTermTypeEnum["IndeterminateTermLease"] = "indeterminateTermLease";
|
|
80
|
+
LeaseTermTypeEnum["FixedTermRoomLease"] = "fixedTermRoomLease";
|
|
81
|
+
LeaseTermTypeEnum["IndeterminateTermRoomLease"] = "indeterminateTermRoomLease";
|
|
82
|
+
})(LeaseTermTypeEnum || (exports.LeaseTermTypeEnum = LeaseTermTypeEnum = {}));
|
|
83
|
+
var LeaseDurationEnum;
|
|
84
|
+
(function (LeaseDurationEnum) {
|
|
85
|
+
LeaseDurationEnum["YearOrLonger"] = "yearOrLonger";
|
|
86
|
+
LeaseDurationEnum["LessThanYear"] = "lessThanYear";
|
|
87
|
+
LeaseDurationEnum["HalfYearOrLonger"] = "halfYearOrLonger";
|
|
88
|
+
LeaseDurationEnum["LessThanHalfYear"] = "lessThanHalfYear";
|
|
89
|
+
})(LeaseDurationEnum || (exports.LeaseDurationEnum = LeaseDurationEnum = {}));
|
package/dist/file.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SignStatusEnum } from "./enum";
|
|
2
|
-
import {
|
|
2
|
+
import { ILessorNoticeRules } from "./leaseNoticeRule";
|
|
3
3
|
export interface IFile {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -7,5 +7,5 @@ export interface IFile {
|
|
|
7
7
|
modified_at?: Date;
|
|
8
8
|
type: string;
|
|
9
9
|
status: SignStatusEnum;
|
|
10
|
-
lessor_notice_rules:
|
|
10
|
+
lessor_notice_rules: ILessorNoticeRules;
|
|
11
11
|
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { IContractParty } from "./contractParty";
|
|
1
2
|
import { LeaseCategoryEnum, LeaseStatusEnum } from "./enum";
|
|
2
3
|
import { IFile } from "./file";
|
|
3
|
-
import { IParty } from "./party";
|
|
4
4
|
import { ITemplate } from "./template";
|
|
5
5
|
export interface ILeaseListItem {
|
|
6
6
|
id: string;
|
|
@@ -12,7 +12,7 @@ export interface ILeaseListItem {
|
|
|
12
12
|
created_at?: Date;
|
|
13
13
|
modified_at?: Date;
|
|
14
14
|
template: ITemplate;
|
|
15
|
-
|
|
15
|
+
contract_parties?: IContractParty[];
|
|
16
16
|
file?: IFile;
|
|
17
17
|
category?: LeaseCategoryEnum;
|
|
18
18
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LeaseDurationEnum, LeaseNoticeTypeEnum, LeaseTermTypeEnum } from "./enum";
|
|
2
|
+
export interface ILessorNoticeRule {
|
|
3
|
+
section: string;
|
|
4
|
+
description: string;
|
|
5
|
+
noticeType: LeaseNoticeTypeEnum;
|
|
6
|
+
leaseType: LeaseTermTypeEnum;
|
|
7
|
+
leaseDuration?: LeaseDurationEnum;
|
|
8
|
+
deadlineDaysBefore: number;
|
|
9
|
+
allowedFromDaysBefore?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface ILessorNoticeRules {
|
|
12
|
+
leaseEndDate?: string;
|
|
13
|
+
rules: ILessorNoticeRule[];
|
|
14
|
+
}
|
package/package.json
CHANGED