@royalinvest/dto 0.11.22 → 0.11.24

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.
@@ -20,6 +20,7 @@ export declare enum SignatureType {
20
20
  signature = "signature"
21
21
  }
22
22
  export declare enum SignStatusEnum {
23
+ notSigned = "notSigned",
23
24
  sent = "sent",
24
25
  signed = "signed",
25
26
  cancelled = "cancelled",
@@ -29,3 +30,9 @@ export declare enum NotificationTypeEnum {
29
30
  documentReady = "document_ready",
30
31
  documentSigned = "document_signed"
31
32
  }
33
+ export declare enum SignActionEnum {
34
+ viewed = "viewed",
35
+ cancelled = "cancelled",
36
+ sentInvitation = "sentInvitation",
37
+ signed = "signed"
38
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
3
+ 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"] = "";
@@ -28,6 +28,7 @@ var SignatureType;
28
28
  })(SignatureType || (exports.SignatureType = SignatureType = {}));
29
29
  var SignStatusEnum;
30
30
  (function (SignStatusEnum) {
31
+ SignStatusEnum["notSigned"] = "notSigned";
31
32
  SignStatusEnum["sent"] = "sent";
32
33
  SignStatusEnum["signed"] = "signed";
33
34
  SignStatusEnum["cancelled"] = "cancelled";
@@ -38,3 +39,10 @@ var NotificationTypeEnum;
38
39
  NotificationTypeEnum["documentReady"] = "document_ready";
39
40
  NotificationTypeEnum["documentSigned"] = "document_signed";
40
41
  })(NotificationTypeEnum || (exports.NotificationTypeEnum = NotificationTypeEnum = {}));
42
+ var SignActionEnum;
43
+ (function (SignActionEnum) {
44
+ SignActionEnum["viewed"] = "viewed";
45
+ SignActionEnum["cancelled"] = "cancelled";
46
+ SignActionEnum["sentInvitation"] = "sentInvitation";
47
+ SignActionEnum["signed"] = "signed";
48
+ })(SignActionEnum || (exports.SignActionEnum = SignActionEnum = {}));
@@ -1,4 +1,5 @@
1
1
  import { SignStatusEnum } from "./enum";
2
+ import { ISignaturePartyDetails } from "./signaturePartyDetails";
2
3
  export interface IFileDetails {
3
4
  id: string;
4
5
  name: string;
@@ -6,4 +7,5 @@ export interface IFileDetails {
6
7
  modified_at: Date;
7
8
  type: string;
8
9
  status: SignStatusEnum;
10
+ signatureParties: ISignaturePartyDetails[];
9
11
  }
package/dist/index.d.ts CHANGED
@@ -35,3 +35,5 @@ export * from "./signatureInitials";
35
35
  export * from "./lease-details";
36
36
  export * from "./fileView";
37
37
  export * from "./fileDetails";
38
+ export * from "./signaturePartyDetails";
39
+ export * from "./signaturePartyAuditDetails";
package/dist/index.js CHANGED
@@ -51,3 +51,5 @@ __exportStar(require("./signatureInitials"), exports);
51
51
  __exportStar(require("./lease-details"), exports);
52
52
  __exportStar(require("./fileView"), exports);
53
53
  __exportStar(require("./fileDetails"), exports);
54
+ __exportStar(require("./signaturePartyDetails"), exports);
55
+ __exportStar(require("./signaturePartyAuditDetails"), exports);
@@ -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 });
@@ -0,0 +1,9 @@
1
+ import { SignActionEnum, SignStatusEnum } from "./enum";
2
+ export interface ISignaturePartyAuditDetails {
3
+ id: string;
4
+ language: string;
5
+ ip: string;
6
+ action: SignActionEnum;
7
+ created_at: Date;
8
+ status: SignStatusEnum;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { ISignaturePartyAuditDetails } from "./signaturePartyAuditDetails";
2
+ export interface ISignaturePartyDetails {
3
+ id: string;
4
+ name: string;
5
+ email: string;
6
+ type: string;
7
+ created_at: Date;
8
+ signaturePartyAudits: ISignaturePartyAuditDetails[];
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.11.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
- }
1
+ {
2
+ "name": "@royalinvest/dto",
3
+ "version": "0.11.24",
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
+ }