@royalinvest/dto 0.9.7 → 0.10.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/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IUser } from './user';
1
+ import { IUser } from "./user";
2
2
  export type IAuth = {
3
3
  accessToken: string;
4
4
  user: IUser;
@@ -5,6 +5,6 @@ export interface ICheckout {
5
5
  email: string;
6
6
  product_unit_price: number;
7
7
  quantity: number;
8
- language: 'en' | 'fr';
8
+ language: "en" | "fr";
9
9
  template_variants: string[];
10
10
  }
package/dist/country.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IState } from './state';
1
+ import { IState } from "./state";
2
2
  export interface ICountry {
3
3
  id?: string;
4
4
  name: string;
package/dist/expense.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { IProperty } from './property';
2
- import { ICategory } from './category';
1
+ import { IProperty } from "./property";
2
+ import { ICategory } from "./category";
3
3
  export interface IExpense {
4
4
  id?: string;
5
5
  name: string;
package/dist/index.d.ts CHANGED
@@ -1,24 +1,24 @@
1
- export * from './enum';
2
- export * from './quebec-lease-dwelling';
3
- export * from './address';
4
- export * from './country';
5
- export * from './lease-list-item';
6
- export * from './lease';
7
- export * from './property';
8
- export * from './state';
9
- export * from './template';
10
- export * from './yes-no';
11
- export * from './login';
12
- export * from './sign-up';
13
- export * from './user';
14
- export * from './auth';
15
- export * from './notification';
16
- export * from './expense';
17
- export * from './sort';
18
- export * from './key-value';
19
- export * from './category';
20
- export * from './template-variant';
21
- export * from './messageNotification';
22
- export * from './messageGenerate';
23
- export * from './file';
24
- export * from './checkout';
1
+ export * from "./enum";
2
+ export * from "./quebec-lease-dwelling";
3
+ export * from "./address";
4
+ export * from "./country";
5
+ export * from "./lease-list-item";
6
+ export * from "./lease";
7
+ export * from "./property";
8
+ export * from "./state";
9
+ export * from "./template";
10
+ export * from "./yes-no";
11
+ export * from "./login";
12
+ export * from "./sign-up";
13
+ export * from "./user";
14
+ export * from "./auth";
15
+ export * from "./notification";
16
+ export * from "./expense";
17
+ export * from "./sort";
18
+ export * from "./key-value";
19
+ export * from "./category";
20
+ export * from "./template-variant";
21
+ export * from "./messageNotification";
22
+ export * from "./messageGenerate";
23
+ export * from "./file";
24
+ export * from "./checkout";
package/dist/lease.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { LeaseStatusEnum } from './enum';
2
- import { Sections } from './quebec-lease-dwelling';
1
+ import { LeaseStatusEnum } from "./enum";
2
+ import { Sections } from "./quebec-lease-dwelling";
3
3
  export interface ILease {
4
4
  id: string;
5
5
  details: Sections;
@@ -1,4 +1,4 @@
1
- import { Sections } from './quebec-lease-dwelling';
1
+ import { Sections } from "./quebec-lease-dwelling";
2
2
  export type ContractType = Sections;
3
3
  export interface IMessageGenerate {
4
4
  contract_id: string;
@@ -0,0 +1,6 @@
1
+ export interface IProfile {
2
+ id?: string;
3
+ photo?: string;
4
+ notification_seen_at?: Date;
5
+ language?: "en" | "fr";
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,12 @@
1
- import { sectionA } from './sectionA';
2
- import { sectionB } from './sectionB';
3
- import { sectionC } from './sectionC';
4
- import { sectionD } from './sectionD';
5
- import { sectionE } from './sectionE';
6
- import { sectionF } from './sectionF';
7
- import { sectionG } from './sectionG';
8
- import { sectionH } from './sectionH';
9
- import { sectionI } from './sectionI';
1
+ import { sectionA } from "./sectionA";
2
+ import { sectionB } from "./sectionB";
3
+ import { sectionC } from "./sectionC";
4
+ import { sectionD } from "./sectionD";
5
+ import { sectionE } from "./sectionE";
6
+ import { sectionF } from "./sectionF";
7
+ import { sectionG } from "./sectionG";
8
+ import { sectionH } from "./sectionH";
9
+ import { sectionI } from "./sectionI";
10
10
  export interface Sections {
11
11
  sectionA: sectionA;
12
12
  sectionB: sectionB;
@@ -1,5 +1,5 @@
1
- import { PartyTypeEnum } from '../enum';
2
- import { IAddress } from '../address';
1
+ import { PartyTypeEnum } from "../enum";
2
+ import { IAddress } from "../address";
3
3
  export interface sectionA {
4
4
  lessor: fields[];
5
5
  lessee: fields[];
@@ -1,4 +1,4 @@
1
- import { IAddress } from '../address';
1
+ import { IAddress } from "../address";
2
2
  export interface sectionB extends IAddress {
3
3
  id?: string;
4
4
  number_of_rooms: string;
package/dist/sign-up.d.ts CHANGED
@@ -5,4 +5,5 @@ export type ISignUp = {
5
5
  company_name?: string;
6
6
  email: string;
7
7
  password: string;
8
+ language: string;
8
9
  };
package/dist/sort.d.ts CHANGED
@@ -1 +1 @@
1
- export type SortType = 'asc' | 'desc';
1
+ export type SortType = "asc" | "desc";
package/dist/state.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ICountry } from './country';
1
+ import { ICountry } from "./country";
2
2
  export interface IState {
3
3
  id?: string;
4
4
  name: string;
package/dist/user.d.ts CHANGED
@@ -6,4 +6,5 @@ export interface IUser {
6
6
  email: string;
7
7
  photo: string;
8
8
  notification_seen_at: Date;
9
+ language: string;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.9.7",
3
+ "version": "0.10.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",
@@ -29,4 +29,4 @@
29
29
  "author": "Samos Technologies Inc.",
30
30
  "license": "ISC",
31
31
  "dependencies": {}
32
- }
32
+ }