@royalinvest/dto 0.0.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/index.d.ts +1 -0
- package/dist/types/address.d.ts +9 -0
- package/dist/types/country.d.ts +4 -0
- package/dist/types/date.d.ts +6 -0
- package/dist/types/enums/index.d.ts +41 -0
- package/dist/types/lease.d.ts +10 -0
- package/dist/types/leaseListItem.d.ts +8 -0
- package/dist/types/property.d.ts +8 -0
- package/dist/types/quebec/sectionA.d.ts +16 -0
- package/dist/types/quebec/sectionB.d.ts +38 -0
- package/dist/types/quebec/sectionC.d.ts +7 -0
- package/dist/types/quebec/sectionD.d.ts +15 -0
- package/dist/types/quebec/sectionE.d.ts +26 -0
- package/dist/types/quebec/sectionF.d.ts +6 -0
- package/dist/types/quebec/sectionG.d.ts +7 -0
- package/dist/types/quebec/sectionH.d.ts +3 -0
- package/dist/types/quebec/sectionI.d.ts +3 -0
- package/dist/types/quebec/sections.d.ts +20 -0
- package/dist/types/response.d.ts +6 -0
- package/dist/types/state.d.ts +7 -0
- package/dist/types/template.d.ts +7 -0
- package/dist/types/yesNo.d.ts +4 -0
- package/package.json +36 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types/lease";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare enum PartyTypeEnum {
|
|
2
|
+
default = "",
|
|
3
|
+
lessor = "lessor",
|
|
4
|
+
lessee = "lessee"
|
|
5
|
+
}
|
|
6
|
+
export declare enum RentTypeEnum {
|
|
7
|
+
default = "",
|
|
8
|
+
fixed = "fixed",
|
|
9
|
+
indeterminate = "indeterminate"
|
|
10
|
+
}
|
|
11
|
+
export declare enum FrequencyEnum {
|
|
12
|
+
default = "",
|
|
13
|
+
week = "week",
|
|
14
|
+
month = "month",
|
|
15
|
+
other = "other"
|
|
16
|
+
}
|
|
17
|
+
export declare enum PaymentMethodEnum {
|
|
18
|
+
default = "",
|
|
19
|
+
cash = "cash",
|
|
20
|
+
cheque = "cheque",
|
|
21
|
+
electronic = "electronic",
|
|
22
|
+
bank_transfer = "bank transfer",
|
|
23
|
+
other = "other"
|
|
24
|
+
}
|
|
25
|
+
export declare enum HeatingTypeEnum {
|
|
26
|
+
default = "",
|
|
27
|
+
electricity = "electricity",
|
|
28
|
+
gas = "gas",
|
|
29
|
+
fuel_oil = "fuel oil"
|
|
30
|
+
}
|
|
31
|
+
export declare enum LeaseStatusEnum {
|
|
32
|
+
draft = "draft",
|
|
33
|
+
published = "published"
|
|
34
|
+
}
|
|
35
|
+
export declare enum Rent_period {
|
|
36
|
+
default = "",
|
|
37
|
+
year = "1 year",
|
|
38
|
+
months_6 = "6 months",
|
|
39
|
+
month = "1 month",
|
|
40
|
+
custom = "custom"
|
|
41
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PartyTypeEnum } from "../enums";
|
|
2
|
+
import { IAddress } from "../address";
|
|
3
|
+
export interface sectionA {
|
|
4
|
+
lessor: fields[];
|
|
5
|
+
lessee: fields[];
|
|
6
|
+
represented_by: string;
|
|
7
|
+
}
|
|
8
|
+
interface fields extends IAddress {
|
|
9
|
+
id?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
email: string;
|
|
12
|
+
type: PartyTypeEnum;
|
|
13
|
+
telephone: string;
|
|
14
|
+
other_telephone?: string;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IAddress } from "../address";
|
|
2
|
+
export interface sectionB extends IAddress {
|
|
3
|
+
id?: string;
|
|
4
|
+
number_of_rooms: string;
|
|
5
|
+
residential_purposes: string;
|
|
6
|
+
specify_if_not_residential?: string;
|
|
7
|
+
divided_co_ownership: string;
|
|
8
|
+
outdoor_parking: boolean;
|
|
9
|
+
outdoor_parking_number_of_places?: string;
|
|
10
|
+
outdoor_parking_spaces?: string;
|
|
11
|
+
indoor_parking: boolean;
|
|
12
|
+
indoor_parking_number_of_places?: string;
|
|
13
|
+
indoor_parking_spaces?: string;
|
|
14
|
+
locker_storage_space: boolean;
|
|
15
|
+
specify_locker_storage_space?: string;
|
|
16
|
+
other_accessories_dependencies: string;
|
|
17
|
+
furniture_included: string;
|
|
18
|
+
tables_included: boolean;
|
|
19
|
+
tables_amount?: string;
|
|
20
|
+
chairs_included: boolean;
|
|
21
|
+
chairs_amount?: string;
|
|
22
|
+
drawers_included: boolean;
|
|
23
|
+
drawers_amount?: string;
|
|
24
|
+
couches_included: boolean;
|
|
25
|
+
couches_amount?: string;
|
|
26
|
+
armchairs_included: boolean;
|
|
27
|
+
armchairs_amount?: string;
|
|
28
|
+
beds_included: boolean;
|
|
29
|
+
beds_amount?: string;
|
|
30
|
+
beds_size?: string;
|
|
31
|
+
other_furniture_info?: string;
|
|
32
|
+
stove_included: boolean;
|
|
33
|
+
microwave_included: boolean;
|
|
34
|
+
dishwasher_included: boolean;
|
|
35
|
+
fridge_included: boolean;
|
|
36
|
+
washer_included: boolean;
|
|
37
|
+
dryer_included: boolean;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface sectionD {
|
|
2
|
+
rent_amount: string;
|
|
3
|
+
service_amount: string;
|
|
4
|
+
total_rent_amount: string;
|
|
5
|
+
rent_frequency: string;
|
|
6
|
+
subsidy_program: string;
|
|
7
|
+
subsidy_program_specify: string;
|
|
8
|
+
first_payment_date: Date | null;
|
|
9
|
+
rent_paid_first_day_of: string;
|
|
10
|
+
rent_paid_specify: string;
|
|
11
|
+
rent_payment_method: string;
|
|
12
|
+
rent_payment_other_specify: string;
|
|
13
|
+
post_dated_cheques: string;
|
|
14
|
+
place_of_payment: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface sectionE {
|
|
2
|
+
by_laws_immovable_given: Date | null;
|
|
3
|
+
by_laws_immovable_divided_coownership_given: Date | null;
|
|
4
|
+
work_repaire_before_lease: string;
|
|
5
|
+
work_repaire_during_lease: string;
|
|
6
|
+
janitorial_services: string;
|
|
7
|
+
janitor_name: string;
|
|
8
|
+
janitor_email: string;
|
|
9
|
+
janitor_telephone: string;
|
|
10
|
+
janitor_other_telephone: string;
|
|
11
|
+
heating: string;
|
|
12
|
+
heating_type: string[];
|
|
13
|
+
other_than_for_heating_electracity: string;
|
|
14
|
+
other_than_for_heating_gas: string;
|
|
15
|
+
hot_water_heater_rental_fee: string;
|
|
16
|
+
hot_water: string;
|
|
17
|
+
water_consuption_tax: string;
|
|
18
|
+
snow_removal_parking: string;
|
|
19
|
+
snow_removal_balcony: string;
|
|
20
|
+
snow_removal_entrance_driveway: string;
|
|
21
|
+
snow_removal_stairs: string;
|
|
22
|
+
right_access_land: string;
|
|
23
|
+
right_access_land_specify: string;
|
|
24
|
+
keep_animal: string;
|
|
25
|
+
keep_animal_specify: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
export interface Sections {
|
|
11
|
+
sectionA: sectionA;
|
|
12
|
+
sectionB: sectionB;
|
|
13
|
+
sectionC: sectionC;
|
|
14
|
+
sectionD: sectionD;
|
|
15
|
+
sectionE: sectionE;
|
|
16
|
+
sectionF: sectionF;
|
|
17
|
+
sectionG: sectionG;
|
|
18
|
+
sectionH: sectionH;
|
|
19
|
+
sectionI: sectionI;
|
|
20
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@royalinvest/dto",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
|
|
5
|
+
"main": "./src/index.ts",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./*": {
|
|
15
|
+
"types": "./dist/types/*/*.d.ts",
|
|
16
|
+
"import": "./dist/types/*/*.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git@ssh.dev.azure.com:v3/royalinvest/royalinvest/royalinvestserver"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"./dist"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "npm run clean && npx tsc",
|
|
31
|
+
"clean": "rm -rf ./dist",
|
|
32
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
33
|
+
},
|
|
34
|
+
"author": "Samos Technologies Inc.",
|
|
35
|
+
"license": "ISC"
|
|
36
|
+
}
|