@royalinvest/dto 0.14.5 → 0.14.7

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,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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -40,3 +40,4 @@ 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,3 +56,4 @@ __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);
@@ -0,0 +1,8 @@
1
+ export declare enum ContractStatusEnum {
2
+ draft = "draft",
3
+ published = "published",
4
+ pending = "pending",
5
+ expired = "expired",
6
+ signed = "signed",
7
+ pendingSignature = "pendingSignature"
8
+ }
@@ -0,0 +1,12 @@
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 = {}));
@@ -13,5 +13,5 @@ export interface IMessageGenerate {
13
13
  file_id?: string;
14
14
  }
15
15
  export interface IMessageGenerateSigned {
16
- parties: ISignaturePartySigned[];
16
+ party: ISignaturePartySigned;
17
17
  }
@@ -11,5 +11,5 @@ export interface IGeneratedNotification {
11
11
  }
12
12
  export interface ISignedNotification {
13
13
  file_id: string;
14
- parties: ISignaturePartyBasic[];
14
+ party: ISignaturePartyBasic;
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.14.5",
3
+ "version": "0.14.7",
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
+ }