@royalinvest/dto 0.5.1 → 0.6.0

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/country.d.ts CHANGED
@@ -1,5 +1,7 @@
1
+ import { IState } from "./state";
1
2
  export interface ICountry {
2
3
  id?: string;
3
4
  name: string;
4
5
  abbrev: string;
6
+ states: IState[];
5
7
  }
package/dist/index.d.ts CHANGED
@@ -18,3 +18,5 @@ export * from "./sort";
18
18
  export * from "./key-value";
19
19
  export * from "./category";
20
20
  export * from "./template-variant";
21
+ export * from "./messageNotification";
22
+ export * from "./messageGenerate";
package/dist/index.js CHANGED
@@ -34,3 +34,5 @@ __exportStar(require("./sort"), exports);
34
34
  __exportStar(require("./key-value"), exports);
35
35
  __exportStar(require("./category"), exports);
36
36
  __exportStar(require("./template-variant"), exports);
37
+ __exportStar(require("./messageNotification"), exports);
38
+ __exportStar(require("./messageGenerate"), exports);
@@ -0,0 +1,11 @@
1
+ import { Sections } from "./quebec-lease-dwelling";
2
+ export type ContractType = Sections;
3
+ export interface IMessageGenerate {
4
+ contract_id: string;
5
+ details: ContractType;
6
+ user_id: string;
7
+ template_name: string;
8
+ template_title: string;
9
+ language: string;
10
+ type: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface IMessageNotification {
2
+ contract_id: string;
3
+ user_id: string;
4
+ file_name: string;
5
+ type: string;
6
+ title: string;
7
+ language: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,11 @@
1
1
  export interface INotification {
2
2
  id?: string;
3
- user_id?: string;
4
3
  payload: IPayload;
5
4
  }
6
5
  export interface IPayload {
7
6
  type: string;
8
- message: string;
9
- link?: string;
7
+ title: string;
8
+ file_name: string;
9
+ language: string;
10
+ message?: string;
10
11
  }
@@ -2,6 +2,4 @@ export interface ITemplate {
2
2
  id?: string;
3
3
  name: string;
4
4
  description: string;
5
- file_name: string;
6
- state_id: string;
7
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
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",