@royalinvest/dto 0.22.8 → 0.22.10

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/auth.d.ts CHANGED
@@ -14,3 +14,7 @@ export type IRegister = {
14
14
  password: string;
15
15
  language?: string;
16
16
  };
17
+ export type IGoogleToken = {
18
+ token: string;
19
+ token_type: string;
20
+ };
@@ -49,3 +49,7 @@ export declare enum LeaseNoticeTypeEnum {
49
49
  Repossessing = "repossessing",
50
50
  Eviction = "eviction"
51
51
  }
52
+ export declare enum TemplateNameEnum {
53
+ LeaseOfDwelling = "Lease of a Dwelling",
54
+ LeaseOfDwellingNotice = "Lease of a Dwelling Notice"
55
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LeaseNoticeTypeEnum = exports.SignatureDateTypeEnum = exports.SignActionEnum = exports.NotificationTypeEnum = exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
3
+ exports.TemplateNameEnum = exports.LeaseNoticeTypeEnum = 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"] = "";
@@ -61,3 +61,8 @@ var LeaseNoticeTypeEnum;
61
61
  LeaseNoticeTypeEnum["Repossessing"] = "repossessing";
62
62
  LeaseNoticeTypeEnum["Eviction"] = "eviction";
63
63
  })(LeaseNoticeTypeEnum = exports.LeaseNoticeTypeEnum || (exports.LeaseNoticeTypeEnum = {}));
64
+ var TemplateNameEnum;
65
+ (function (TemplateNameEnum) {
66
+ TemplateNameEnum["LeaseOfDwelling"] = "Lease of a Dwelling";
67
+ TemplateNameEnum["LeaseOfDwellingNotice"] = "Lease of a Dwelling Notice";
68
+ })(TemplateNameEnum = exports.TemplateNameEnum || (exports.TemplateNameEnum = {}));
@@ -0,0 +1,4 @@
1
+ export interface ILogin {
2
+ email: string;
3
+ password: string;
4
+ }
package/dist/login.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  import { ContractType } from "./contract-type";
2
+ import { TemplateNameEnum } from "./enum";
2
3
  import { ISignaturePartySigned } from "./signaturePartySigned";
3
4
  export interface IMessageGenerate {
4
5
  contract_id: string;
@@ -9,6 +10,7 @@ export interface IMessageGenerate {
9
10
  template_variant_language: string;
10
11
  template_variant_mime_type: string;
11
12
  template_variant_id: string;
13
+ template_name: TemplateNameEnum;
12
14
  file_id?: string;
13
15
  isEdit?: boolean;
14
16
  }
@@ -0,0 +1,9 @@
1
+ export type ISignUp = {
2
+ id?: string;
3
+ first_name?: string;
4
+ last_name?: string;
5
+ company_name?: string;
6
+ email: string;
7
+ password: string;
8
+ language: string;
9
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/user.d.ts CHANGED
@@ -8,6 +8,7 @@ export interface IUser {
8
8
  notification_seen_at: Date;
9
9
  language: string;
10
10
  is_active?: boolean;
11
+ login_type?: string;
11
12
  }
12
13
  export interface IAddEditUser {
13
14
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.22.8",
3
+ "version": "0.22.10",
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",