@royalinvest/dto 0.14.7 → 0.14.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.
@@ -1,16 +1,16 @@
1
- export declare enum PartyTypeEnum {
1
+ export declare const 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 enum RentTypeEnum {
8
+ export declare const enum RentTypeEnum {
9
9
  default = "",
10
10
  fixed = "fixed",
11
11
  indeterminate = "indeterminate"
12
12
  }
13
- export declare enum LeaseStatusEnum {
13
+ export declare const enum LeaseStatusEnum {
14
14
  Default = "",
15
15
  Draft = "draft",
16
16
  Published = "published",
@@ -19,31 +19,31 @@ export declare enum LeaseStatusEnum {
19
19
  Signed = "signed",
20
20
  PendingSignature = "pendingSignature"
21
21
  }
22
- export declare enum SignatureType {
22
+ export declare const enum SignatureType {
23
23
  initials = "initials",
24
24
  signature = "signature"
25
25
  }
26
- export declare enum SignStatusEnum {
26
+ export declare const 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 enum NotificationTypeEnum {
33
+ export declare const enum NotificationTypeEnum {
34
34
  documentReady = "document_ready",
35
35
  documentSigned = "document_signed"
36
36
  }
37
- export declare enum SignActionEnum {
37
+ export declare const enum SignActionEnum {
38
38
  viewed = "viewed",
39
39
  cancelled = "cancelled",
40
40
  sentInvitation = "sentInvitation",
41
41
  signed = "signed"
42
42
  }
43
- export declare enum SignatureDateTypeEnum {
43
+ export declare const enum SignatureDateTypeEnum {
44
44
  equalDayMonthYearBoxes = "equalDayMonthYearBoxes"
45
45
  }
46
- export declare enum LeaseNoticeTypeEnum {
46
+ export declare const enum LeaseNoticeTypeEnum {
47
47
  Modification = "modification",
48
48
  Repossessing = "repossessing",
49
49
  Eviction = "eviction"
@@ -1,62 +1,2 @@
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 = {}));
package/dist/index.d.ts CHANGED
@@ -40,4 +40,3 @@ export * from "./signaturePartyDetails";
40
40
  export * from "./signaturePartyAuditDetails";
41
41
  export * from "./signaturePartyEdit";
42
42
  export * from "./noticeRule";
43
- export * from "./lease-status";
package/dist/index.js CHANGED
@@ -56,4 +56,3 @@ __exportStar(require("./signaturePartyDetails"), exports);
56
56
  __exportStar(require("./signaturePartyAuditDetails"), exports);
57
57
  __exportStar(require("./signaturePartyEdit"), exports);
58
58
  __exportStar(require("./noticeRule"), exports);
59
- __exportStar(require("./lease-status"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.14.7",
3
+ "version": "0.14.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",
@@ -1,19 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- export declare enum ContractStatusEnum {
2
- draft = "draft",
3
- published = "published",
4
- pending = "pending",
5
- expired = "expired",
6
- signed = "signed",
7
- pendingSignature = "pendingSignature"
8
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContractStatusEnum = void 0;
4
- var ContractStatusEnum;
5
- (function (ContractStatusEnum) {
6
- ContractStatusEnum["draft"] = "draft";
7
- ContractStatusEnum["published"] = "published";
8
- ContractStatusEnum["pending"] = "pending";
9
- ContractStatusEnum["expired"] = "expired";
10
- ContractStatusEnum["signed"] = "signed";
11
- ContractStatusEnum["pendingSignature"] = "pendingSignature";
12
- })(ContractStatusEnum || (exports.ContractStatusEnum = ContractStatusEnum = {}));