@royalinvest/dto 0.14.9 → 0.14.10
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
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare enum PartyTypeEnum {
|
|
2
2
|
default = "",
|
|
3
3
|
lessor = "lessor",
|
|
4
4
|
lessee = "lessee",
|
|
5
5
|
coSigner = "coSigner",
|
|
6
6
|
spouse = "spouse"
|
|
7
7
|
}
|
|
8
|
-
export declare
|
|
8
|
+
export declare enum RentTypeEnum {
|
|
9
9
|
default = "",
|
|
10
10
|
fixed = "fixed",
|
|
11
11
|
indeterminate = "indeterminate"
|
|
12
12
|
}
|
|
13
|
-
export declare
|
|
13
|
+
export declare enum LeaseStatusEnum {
|
|
14
14
|
Default = "",
|
|
15
15
|
Draft = "draft",
|
|
16
16
|
Published = "published",
|
|
@@ -19,31 +19,31 @@ export declare const enum LeaseStatusEnum {
|
|
|
19
19
|
Signed = "signed",
|
|
20
20
|
PendingSignature = "pendingSignature"
|
|
21
21
|
}
|
|
22
|
-
export declare
|
|
22
|
+
export declare enum SignatureType {
|
|
23
23
|
initials = "initials",
|
|
24
24
|
signature = "signature"
|
|
25
25
|
}
|
|
26
|
-
export declare
|
|
26
|
+
export declare enum SignStatusEnum {
|
|
27
27
|
notSigned = "notSigned",
|
|
28
28
|
sent = "sent",
|
|
29
29
|
signed = "signed",
|
|
30
30
|
cancelled = "cancelled",
|
|
31
31
|
signaturePending = "signaturePending"
|
|
32
32
|
}
|
|
33
|
-
export declare
|
|
33
|
+
export declare enum NotificationTypeEnum {
|
|
34
34
|
documentReady = "document_ready",
|
|
35
35
|
documentSigned = "document_signed"
|
|
36
36
|
}
|
|
37
|
-
export declare
|
|
37
|
+
export declare enum SignActionEnum {
|
|
38
38
|
viewed = "viewed",
|
|
39
39
|
cancelled = "cancelled",
|
|
40
40
|
sentInvitation = "sentInvitation",
|
|
41
41
|
signed = "signed"
|
|
42
42
|
}
|
|
43
|
-
export declare
|
|
43
|
+
export declare enum SignatureDateTypeEnum {
|
|
44
44
|
equalDayMonthYearBoxes = "equalDayMonthYearBoxes"
|
|
45
45
|
}
|
|
46
|
-
export declare
|
|
46
|
+
export declare enum LeaseNoticeTypeEnum {
|
|
47
47
|
Modification = "modification",
|
|
48
48
|
Repossessing = "repossessing",
|
|
49
49
|
Eviction = "eviction"
|
package/dist/enum/index.js
CHANGED
|
@@ -1,2 +1,62 @@
|
|
|
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;
|
|
4
|
+
var PartyTypeEnum;
|
|
5
|
+
(function (PartyTypeEnum) {
|
|
6
|
+
PartyTypeEnum["default"] = "";
|
|
7
|
+
PartyTypeEnum["lessor"] = "lessor";
|
|
8
|
+
PartyTypeEnum["lessee"] = "lessee";
|
|
9
|
+
PartyTypeEnum["coSigner"] = "coSigner";
|
|
10
|
+
PartyTypeEnum["spouse"] = "spouse";
|
|
11
|
+
})(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
|
|
12
|
+
var RentTypeEnum;
|
|
13
|
+
(function (RentTypeEnum) {
|
|
14
|
+
RentTypeEnum["default"] = "";
|
|
15
|
+
RentTypeEnum["fixed"] = "fixed";
|
|
16
|
+
RentTypeEnum["indeterminate"] = "indeterminate";
|
|
17
|
+
})(RentTypeEnum || (exports.RentTypeEnum = RentTypeEnum = {}));
|
|
18
|
+
var LeaseStatusEnum;
|
|
19
|
+
(function (LeaseStatusEnum) {
|
|
20
|
+
LeaseStatusEnum["Default"] = "";
|
|
21
|
+
LeaseStatusEnum["Draft"] = "draft";
|
|
22
|
+
LeaseStatusEnum["Published"] = "published";
|
|
23
|
+
LeaseStatusEnum["Pending"] = "pending";
|
|
24
|
+
LeaseStatusEnum["Expired"] = "expired";
|
|
25
|
+
LeaseStatusEnum["Signed"] = "signed";
|
|
26
|
+
LeaseStatusEnum["PendingSignature"] = "pendingSignature";
|
|
27
|
+
})(LeaseStatusEnum || (exports.LeaseStatusEnum = LeaseStatusEnum = {}));
|
|
28
|
+
var SignatureType;
|
|
29
|
+
(function (SignatureType) {
|
|
30
|
+
SignatureType["initials"] = "initials";
|
|
31
|
+
SignatureType["signature"] = "signature";
|
|
32
|
+
})(SignatureType || (exports.SignatureType = SignatureType = {}));
|
|
33
|
+
var SignStatusEnum;
|
|
34
|
+
(function (SignStatusEnum) {
|
|
35
|
+
SignStatusEnum["notSigned"] = "notSigned";
|
|
36
|
+
SignStatusEnum["sent"] = "sent";
|
|
37
|
+
SignStatusEnum["signed"] = "signed";
|
|
38
|
+
SignStatusEnum["cancelled"] = "cancelled";
|
|
39
|
+
SignStatusEnum["signaturePending"] = "signaturePending";
|
|
40
|
+
})(SignStatusEnum || (exports.SignStatusEnum = SignStatusEnum = {}));
|
|
41
|
+
var NotificationTypeEnum;
|
|
42
|
+
(function (NotificationTypeEnum) {
|
|
43
|
+
NotificationTypeEnum["documentReady"] = "document_ready";
|
|
44
|
+
NotificationTypeEnum["documentSigned"] = "document_signed";
|
|
45
|
+
})(NotificationTypeEnum || (exports.NotificationTypeEnum = NotificationTypeEnum = {}));
|
|
46
|
+
var SignActionEnum;
|
|
47
|
+
(function (SignActionEnum) {
|
|
48
|
+
SignActionEnum["viewed"] = "viewed";
|
|
49
|
+
SignActionEnum["cancelled"] = "cancelled";
|
|
50
|
+
SignActionEnum["sentInvitation"] = "sentInvitation";
|
|
51
|
+
SignActionEnum["signed"] = "signed";
|
|
52
|
+
})(SignActionEnum || (exports.SignActionEnum = SignActionEnum = {}));
|
|
53
|
+
var SignatureDateTypeEnum;
|
|
54
|
+
(function (SignatureDateTypeEnum) {
|
|
55
|
+
SignatureDateTypeEnum["equalDayMonthYearBoxes"] = "equalDayMonthYearBoxes";
|
|
56
|
+
})(SignatureDateTypeEnum || (exports.SignatureDateTypeEnum = SignatureDateTypeEnum = {}));
|
|
57
|
+
var LeaseNoticeTypeEnum;
|
|
58
|
+
(function (LeaseNoticeTypeEnum) {
|
|
59
|
+
LeaseNoticeTypeEnum["Modification"] = "modification";
|
|
60
|
+
LeaseNoticeTypeEnum["Repossessing"] = "repossessing";
|
|
61
|
+
LeaseNoticeTypeEnum["Eviction"] = "eviction";
|
|
62
|
+
})(LeaseNoticeTypeEnum || (exports.LeaseNoticeTypeEnum = LeaseNoticeTypeEnum = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LeaseNoticeTypeEnum, SignStatusEnum } from "./enum";
|
|
2
|
+
import { ISignaturePartyDetails } from "./signaturePartyDetails";
|
|
3
|
+
export interface IFileDetails {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
created_at: Date;
|
|
7
|
+
modified_at: Date;
|
|
8
|
+
type: string;
|
|
9
|
+
status: SignStatusEnum;
|
|
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;
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royalinvest/dto",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.10",
|
|
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",
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
"author": "Samos Technologies Inc.",
|
|
30
30
|
"license": "ISC",
|
|
31
31
|
"dependencies": {}
|
|
32
|
-
}
|
|
32
|
+
}
|