@royalinvest/dto 0.14.21 → 0.14.22

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 });
@@ -11,6 +11,7 @@ export interface IMessageGenerate {
11
11
  type: string;
12
12
  template_variant_id: string;
13
13
  file_id?: string;
14
+ isEdit?: boolean;
14
15
  }
15
16
  export interface IMessageGenerateSigned {
16
17
  party: ISignaturePartySigned;
@@ -8,6 +8,7 @@ export interface IGeneratedNotification {
8
8
  template_name: string;
9
9
  template_variant_id: string;
10
10
  file_id?: string;
11
+ isEdit?: boolean;
11
12
  }
12
13
  export interface ISignedNotification {
13
14
  file_id: string;
@@ -0,0 +1,9 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@royalinvest/dto",
3
- "version": "0.14.21",
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.14.22",
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
+ }