@royalinvest/dto 0.6.2 → 0.6.4

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.
@@ -2,9 +2,11 @@ import { IAddress } from "../address";
2
2
  export interface sectionB extends IAddress {
3
3
  id?: string;
4
4
  number_of_rooms: string;
5
- residential_purposes: string;
5
+ residential_purposes_yes: boolean;
6
+ residential_purposes_no: boolean;
6
7
  specify_if_not_residential?: string;
7
- divided_co_ownership: string;
8
+ divided_co_ownership_yes: boolean;
9
+ divided_co_ownership_no: boolean;
8
10
  outdoor_parking: boolean;
9
11
  outdoor_parking_number_of_places?: string;
10
12
  outdoor_parking_spaces?: string;
@@ -14,7 +16,8 @@ export interface sectionB extends IAddress {
14
16
  locker_storage_space: boolean;
15
17
  specify_locker_storage_space?: string;
16
18
  other_accessories_dependencies: string;
17
- furniture_included: string;
19
+ furniture_included_yes: boolean;
20
+ furniture_included_no: boolean;
18
21
  tables_included: boolean;
19
22
  tables_amount?: string;
20
23
  chairs_included: boolean;
@@ -2,6 +2,15 @@ export interface sectionC {
2
2
  rent_type: string;
3
3
  duration: string;
4
4
  rent_start: Date | null;
5
+ rent_start_day?: string;
6
+ rent_start_month?: string;
7
+ rent_start_year?: string;
5
8
  rent_end: Date | null;
9
+ rent_end_day?: string;
10
+ rent_end_month?: string;
11
+ rent_end_year?: string;
6
12
  beginning_on: Date | null;
13
+ beginning_on_day?: string;
14
+ beginning_on_month?: string;
15
+ beginning_on_year?: string;
7
16
  }
@@ -2,14 +2,24 @@ export interface sectionD {
2
2
  rent_amount: string;
3
3
  service_amount: string;
4
4
  total_rent_amount: string;
5
- rent_frequency: string;
6
- subsidy_program: string;
5
+ rent_frequency_month: boolean;
6
+ rent_frequency_week: boolean;
7
+ subsidy_program_yes: boolean;
8
+ subsidy_program_no: boolean;
7
9
  subsidy_program_specify: string;
8
10
  first_payment_date: Date | null;
9
- rent_paid_first_day_of: string;
11
+ first_payment_date_day?: string;
12
+ first_payment_date_month?: string;
13
+ first_payment_date_year?: string;
14
+ rent_paid_first_day_of_month: boolean;
15
+ rent_paid_first_day_of_week: boolean;
10
16
  rent_paid_specify: string;
11
- rent_payment_method: string;
17
+ rent_payment_method_cash: boolean;
18
+ rent_payment_method_cheque: boolean;
19
+ rent_payment_method_bank_transfer: boolean;
20
+ rent_payment_method_other: boolean;
12
21
  rent_payment_other_specify: string;
13
- post_dated_cheques: string;
22
+ post_dated_cheques_yes: boolean;
23
+ post_dated_cheques_no: boolean;
14
24
  place_of_payment: string;
15
25
  }
@@ -1,26 +1,48 @@
1
1
  export interface sectionE {
2
2
  by_laws_immovable_given: Date | null;
3
+ by_laws_immovable_given_day?: string;
4
+ by_laws_immovable_given_month?: string;
5
+ by_laws_immovable_given_year?: string;
3
6
  by_laws_immovable_divided_coownership_given: Date | null;
4
- work_repaire_before_lease: string;
5
- work_repaire_during_lease: string;
7
+ by_laws_immovable_divided_coownership_given_day?: string;
8
+ by_laws_immovable_divided_coownership_given_month?: string;
9
+ by_laws_immovable_divided_coownership_given_year?: string;
10
+ work_repaire_before_lease_line_1?: string;
11
+ work_repaire_before_lease_line_2?: string;
12
+ work_repaire_during_lease_line_1?: string;
13
+ work_repaire_during_lease_line_2?: string;
6
14
  janitorial_services: string;
7
15
  janitor_name: string;
8
16
  janitor_email: string;
9
17
  janitor_telephone: string;
10
18
  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;
19
+ heating_lessor: boolean;
20
+ heating_lessee: boolean;
21
+ heating_type_gas: boolean;
22
+ heating_type_electricity: boolean;
23
+ heating_type_fuel_oil: boolean;
24
+ other_than_for_heating_electricity_lessor: boolean;
25
+ other_than_for_heating_electricity_lessee: boolean;
26
+ other_than_for_heating_gas_lessor: boolean;
27
+ other_than_for_heating_gas_lessee: boolean;
28
+ hot_water_heater_rental_fee_lessor: boolean;
29
+ hot_water_heater_rental_fee_lessee: boolean;
30
+ hot_water_lessor: boolean;
31
+ hot_water_lessee: boolean;
32
+ water_consuption_tax_lessor: boolean;
33
+ water_consuption_tax_lessee: boolean;
34
+ snow_removal_parking_lessor: boolean;
35
+ snow_removal_parking_lessee: boolean;
36
+ snow_removal_balcony_lessor: boolean;
37
+ snow_removal_balcony_lessee: boolean;
38
+ snow_removal_entrance_driveway_lessor: boolean;
39
+ snow_removal_entrance_driveway_lessee: boolean;
40
+ snow_removal_stairs_lessor: boolean;
41
+ right_access_land_lessee_yes: boolean;
42
+ right_access_land_lessee_no: boolean;
23
43
  right_access_land_specify: string;
24
- keep_animal: string;
44
+ keep_animal_yes: boolean;
45
+ keep_animal_no: boolean;
25
46
  keep_animal_specify: string;
47
+ other_services_conditions_and_restrictions: string;
26
48
  }
@@ -1,6 +1,12 @@
1
1
  export interface sectionF {
2
2
  immovable_erected: boolean;
3
3
  immovable_erected_ready_habitation_on: Date | null;
4
+ immovable_erected_ready_habitation_on_day?: string;
5
+ immovable_erected_ready_habitation_on_month?: string;
6
+ immovable_erected_ready_habitation_on_year?: string;
4
7
  change_destination: boolean;
5
8
  change_destination_ready_habitation_on: Date | null;
9
+ change_destination_ready_habitation_on_day?: string;
10
+ change_destination_ready_habitation_on_month?: string;
11
+ change_destination_ready_habitation_on_year?: string;
6
12
  }
@@ -1,7 +1,11 @@
1
1
  export interface sectionG {
2
2
  lowest_rent_paid: string;
3
- lowest_rent_paid_frequency: string;
3
+ lowest_rent_paid_frequency_month: boolean;
4
+ lowest_rent_paid_frequency_week: boolean;
5
+ lowest_rent_paid_frequency_other: boolean;
4
6
  other_lowest_rent_paid_frequency: string;
5
- conditions_same: string;
6
- conditions_same_if_no_specify: string;
7
+ conditions_same_yes: boolean;
8
+ conditions_same_no: boolean;
9
+ conditions_same_if_no_specify_line_1?: string;
10
+ conditions_same_if_no_specify_line_2?: string;
7
11
  }
@@ -1,3 +1,4 @@
1
1
  export interface sectionH {
2
- solidarily_liable_for_lease: string;
2
+ solidarily_liable_for_lease_yes: boolean;
3
+ solidarily_liable_for_lease_no: boolean;
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
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",