@royalinvest/dto 0.11.24 → 0.11.26
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.
- package/dist/checkout.d.ts +1 -0
- package/dist/enum/index.d.ts +3 -0
- package/dist/enum/index.js +5 -1
- package/dist/messageGenerate.d.ts +4 -0
- package/dist/placeholder.d.ts +12 -5
- package/dist/signaturePartySigned.d.ts +2 -1
- package/dist/signaturePartyViewer.d.ts +2 -1
- package/package.json +32 -32
- package/dist/quebec-lease-dwelling/expense.d.ts +0 -9
- package/dist/quebec-lease-dwelling/expense.js +0 -2
package/dist/checkout.d.ts
CHANGED
package/dist/enum/index.d.ts
CHANGED
package/dist/enum/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
|
|
3
|
+
exports.SignatureDateTypeEnum = 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"] = "";
|
|
@@ -46,3 +46,7 @@ var SignActionEnum;
|
|
|
46
46
|
SignActionEnum["sentInvitation"] = "sentInvitation";
|
|
47
47
|
SignActionEnum["signed"] = "signed";
|
|
48
48
|
})(SignActionEnum || (exports.SignActionEnum = SignActionEnum = {}));
|
|
49
|
+
var SignatureDateTypeEnum;
|
|
50
|
+
(function (SignatureDateTypeEnum) {
|
|
51
|
+
SignatureDateTypeEnum["equalDayMonthYearBoxes"] = "equalDayMonthYearBoxes";
|
|
52
|
+
})(SignatureDateTypeEnum || (exports.SignatureDateTypeEnum = SignatureDateTypeEnum = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Sections } from "./quebec-lease-dwelling";
|
|
2
|
+
import { ISignaturePartySigned } from "./signaturePartySigned";
|
|
2
3
|
export type ContractType = Sections;
|
|
3
4
|
export interface IMessageGenerate {
|
|
4
5
|
contract_id: string;
|
|
@@ -10,3 +11,6 @@ export interface IMessageGenerate {
|
|
|
10
11
|
type: string;
|
|
11
12
|
template_variant_id: string;
|
|
12
13
|
}
|
|
14
|
+
export interface IMessageGenerateSigned {
|
|
15
|
+
parties: ISignaturePartySigned[];
|
|
16
|
+
}
|
package/dist/placeholder.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PartyTypeEnum, SignatureType } from "./enum";
|
|
1
|
+
import { PartyTypeEnum, SignatureDateTypeEnum, SignatureType } from "./enum";
|
|
2
2
|
export interface IPlaceholder {
|
|
3
3
|
id: string;
|
|
4
4
|
party: PartyTypeEnum;
|
|
@@ -9,17 +9,24 @@ export interface IPlaceholder {
|
|
|
9
9
|
y: number;
|
|
10
10
|
width: number;
|
|
11
11
|
height: number;
|
|
12
|
-
date?: IPlaceholderDate;
|
|
13
12
|
}
|
|
14
|
-
export interface
|
|
13
|
+
export interface IDatePlaceholder {
|
|
14
|
+
signatureIds: string[];
|
|
15
|
+
page: number;
|
|
15
16
|
x: number;
|
|
16
17
|
y: number;
|
|
17
18
|
width: number;
|
|
18
19
|
height: number;
|
|
19
|
-
|
|
20
|
+
type: SignatureDateTypeEnum;
|
|
21
|
+
markers?: IDatePlaceholderMarkers;
|
|
22
|
+
style?: IDatePlaceholderStyle;
|
|
20
23
|
}
|
|
21
|
-
export interface
|
|
24
|
+
export interface IDatePlaceholderMarkers {
|
|
22
25
|
day: number;
|
|
23
26
|
month: number;
|
|
24
27
|
year: number;
|
|
25
28
|
}
|
|
29
|
+
export interface IDatePlaceholderStyle {
|
|
30
|
+
padding: number;
|
|
31
|
+
fontSize: number;
|
|
32
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { PartyTypeEnum, SignStatusEnum } from "./enum";
|
|
2
|
-
import { IPlaceholder } from "./placeholder";
|
|
2
|
+
import { IPlaceholder, IDatePlaceholder } from "./placeholder";
|
|
3
3
|
export interface ISignaturePartySigned {
|
|
4
4
|
name: string;
|
|
5
5
|
email: string;
|
|
6
6
|
placeholder: IPlaceholder[];
|
|
7
|
+
date_placeholders: IDatePlaceholder[];
|
|
7
8
|
type: PartyTypeEnum;
|
|
8
9
|
security_code: string;
|
|
9
10
|
file_id: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { IPlaceholder } from "./placeholder";
|
|
1
|
+
import { IPlaceholder, IDatePlaceholder } from "./placeholder";
|
|
2
2
|
export interface ISignaturePartyViewer {
|
|
3
3
|
name: string;
|
|
4
4
|
email: string;
|
|
5
5
|
file_name: string;
|
|
6
6
|
placeholders: IPlaceholder[];
|
|
7
|
+
date_placeholders: IDatePlaceholder[];
|
|
7
8
|
file: string;
|
|
8
9
|
isSigned: boolean;
|
|
9
10
|
}
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@royalinvest/dto",
|
|
3
|
-
"version": "0.11.
|
|
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.26",
|
|
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
|
+
}
|