@royalinvest/dto 0.11.23 → 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.
@@ -30,3 +30,9 @@ export declare enum NotificationTypeEnum {
30
30
  documentReady = "document_ready",
31
31
  documentSigned = "document_signed"
32
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"] = "";
@@ -39,3 +39,10 @@ var NotificationTypeEnum;
39
39
  NotificationTypeEnum["documentReady"] = "document_ready";
40
40
  NotificationTypeEnum["documentSigned"] = "document_signed";
41
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 { 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.11.23",
3
+ "version": "0.11.24",
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",