@royalinvest/dto 0.33.3 → 0.35.1

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.
Files changed (28) hide show
  1. package/dist/certificateFormData.d.ts +20 -0
  2. package/dist/certificateFormData.js +2 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +1 -0
  5. package/dist/messageGenerate.d.ts +7 -0
  6. package/dist/messageGenerate.js +1 -0
  7. package/dist/quebec-lease-dwelling/sectionD.d.ts +4 -0
  8. package/dist/quebec-lease-dwelling-cooperative/index.d.ts +21 -0
  9. package/dist/quebec-lease-dwelling-cooperative/index.js +2 -0
  10. package/dist/quebec-lease-dwelling-cooperative/sectionA.d.ts +6 -0
  11. package/dist/quebec-lease-dwelling-cooperative/sectionA.js +2 -0
  12. package/dist/quebec-lease-dwelling-cooperative/sectionB.d.ts +22 -0
  13. package/dist/quebec-lease-dwelling-cooperative/sectionB.js +2 -0
  14. package/dist/quebec-lease-dwelling-cooperative/sectionC.d.ts +16 -0
  15. package/dist/quebec-lease-dwelling-cooperative/sectionC.js +2 -0
  16. package/dist/quebec-lease-dwelling-cooperative/sectionD.d.ts +29 -0
  17. package/dist/quebec-lease-dwelling-cooperative/sectionD.js +2 -0
  18. package/dist/quebec-lease-dwelling-cooperative/sectionE.d.ts +53 -0
  19. package/dist/quebec-lease-dwelling-cooperative/sectionE.js +2 -0
  20. package/dist/quebec-lease-dwelling-cooperative/sectionF.d.ts +13 -0
  21. package/dist/quebec-lease-dwelling-cooperative/sectionF.js +2 -0
  22. package/dist/quebec-lease-dwelling-cooperative/sectionG.d.ts +16 -0
  23. package/dist/quebec-lease-dwelling-cooperative/sectionG.js +2 -0
  24. package/dist/quebec-lease-dwelling-cooperative/sectionH.d.ts +18 -0
  25. package/dist/quebec-lease-dwelling-cooperative/sectionH.js +2 -0
  26. package/dist/quebec-lease-dwelling-cooperative/sectionI.d.ts +9 -0
  27. package/dist/quebec-lease-dwelling-cooperative/sectionI.js +2 -0
  28. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ export interface ICertificateFormData {
2
+ document: {
3
+ id: string;
4
+ title: string;
5
+ status: string;
6
+ serial_number: string;
7
+ creation_date: string;
8
+ number_of_pages: number;
9
+ };
10
+ signature_parties: {
11
+ id: string;
12
+ role: string;
13
+ full_name: string;
14
+ email_address: string;
15
+ ip_address: string;
16
+ signature_date: string;
17
+ signature_file_blob?: string;
18
+ signature_base64_images?: string[];
19
+ }[];
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./address";
2
2
  export * from "./auth";
3
3
  export * from "./category";
4
+ export * from "./certificateFormData";
4
5
  export * from "./checkout";
5
6
  export * from "./co-singer";
6
7
  export * from "./contract-type";
package/dist/index.js CHANGED
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./address"), exports);
18
18
  __exportStar(require("./auth"), exports);
19
19
  __exportStar(require("./category"), exports);
20
+ __exportStar(require("./certificateFormData"), exports);
20
21
  __exportStar(require("./checkout"), exports);
21
22
  __exportStar(require("./co-singer"), exports);
22
23
  __exportStar(require("./contract-type"), exports);
@@ -1,6 +1,7 @@
1
1
  import { LeaseTypeEnum } from "./enum";
2
2
  import { ISignaturePartySigned } from "./signaturePartySigned";
3
3
  import { IContractParty } from "./contractParty";
4
+ import { ICertificateFormData } from "./certificateFormData";
4
5
  export interface IMessageGenerate {
5
6
  contract_id: string;
6
7
  details: JSON;
@@ -30,3 +31,9 @@ export interface IMessageGenerateDrawingInstructions {
30
31
  addendum: JSON;
31
32
  attachments: JSON;
32
33
  }
34
+ export interface IMessageGenerateCertificate {
35
+ language: string;
36
+ blob_name: string;
37
+ form_data: ICertificateFormData;
38
+ form_instructions: JSON;
39
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  ;
4
+ ;
@@ -3,7 +3,11 @@ export interface sectionD {
3
3
  service_amount: string;
4
4
  total_rent_amount: string;
5
5
  rent_frequency_month: boolean;
6
+ total_cost_frequency_month: boolean;
7
+ total_rent_frequency_month: boolean;
6
8
  rent_frequency_week: boolean;
9
+ total_cost_frequency_week: boolean;
10
+ total_rent_frequency_week: boolean;
7
11
  subsidy_program_yes: boolean;
8
12
  subsidy_program_no: boolean;
9
13
  subsidy_program_specify: string;
@@ -0,0 +1,21 @@
1
+ import { IBaseLeaseDetails } from "../baseLeaseDetails";
2
+ import { sectionA } from "./sectionA";
3
+ import { sectionB } from "./sectionB";
4
+ import { sectionC } from "./sectionC";
5
+ import { sectionD } from "./sectionD";
6
+ import { sectionE } from "./sectionE";
7
+ import { sectionF } from "./sectionF";
8
+ import { sectionG } from "./sectionG";
9
+ import { sectionH } from "./sectionH";
10
+ import { sectionI } from "./sectionI";
11
+ export interface ILeaseOfDwellinginaCooperative extends IBaseLeaseDetails {
12
+ sectionA: sectionA;
13
+ sectionB: sectionB;
14
+ sectionC: sectionC;
15
+ sectionD: sectionD;
16
+ sectionE: sectionE;
17
+ sectionF: sectionF;
18
+ sectionG: sectionG;
19
+ sectionH: sectionH;
20
+ sectionI: sectionI;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { field } from "../field";
2
+ export interface sectionA {
3
+ lessor: field[];
4
+ lessee: field[];
5
+ represented_by: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ import { IAddress } from "../address";
2
+ export interface sectionB extends IAddress {
3
+ id?: string;
4
+ number_of_rooms: string;
5
+ outdoor_parking: boolean;
6
+ outdoor_parking_number_of_places?: string;
7
+ outdoor_parking_spaces?: string;
8
+ indoor_parking: boolean;
9
+ indoor_parking_number_of_places?: string;
10
+ indoor_parking_spaces?: string;
11
+ locker_storage_space: boolean;
12
+ specify_locker_storage_space?: string;
13
+ other_accessories_dependencies: string;
14
+ lessor_comply_date: Date | null;
15
+ lessor_comply_day?: string;
16
+ lessor_comply_month?: string;
17
+ lessor_comply_year?: string;
18
+ lessee_comply_date: Date | null;
19
+ lessee_comply_day?: string;
20
+ lessee_comply_month?: string;
21
+ lessee_comply_year?: string;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export interface sectionC {
2
+ rent_type: string;
3
+ duration: string;
4
+ rent_start: Date | null;
5
+ rent_start_day?: string;
6
+ rent_start_month?: string;
7
+ rent_start_year?: string;
8
+ rent_end: Date | null;
9
+ rent_end_day?: string;
10
+ rent_end_month?: string;
11
+ rent_end_year?: string;
12
+ beginning_on: Date | null;
13
+ beginning_on_day?: string;
14
+ beginning_on_month?: string;
15
+ beginning_on_year?: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ export interface sectionD {
2
+ rent_amount: string;
3
+ service_amount: string;
4
+ total_rent_amount: string;
5
+ rent_frequency_month: boolean;
6
+ total_cost_frequency_month: boolean;
7
+ total_rent_frequency_month: boolean;
8
+ rent_frequency_week: boolean;
9
+ total_cost_frequency_week: boolean;
10
+ total_rent_frequency_week: boolean;
11
+ subsidy_program_yes: boolean;
12
+ subsidy_program_no: boolean;
13
+ subsidy_program_specify: string;
14
+ first_payment_date: Date | null;
15
+ first_payment_date_day?: string;
16
+ first_payment_date_month?: string;
17
+ first_payment_date_year?: string;
18
+ rent_paid_first_day_of_month: boolean;
19
+ rent_paid_first_day_of_week: boolean;
20
+ rent_paid_specify: string;
21
+ rent_payment_method_cash: boolean;
22
+ rent_payment_method_cheque: boolean;
23
+ rent_payment_method_bank_transfer: boolean;
24
+ rent_payment_method_other: boolean;
25
+ rent_payment_other_specify: string;
26
+ post_dated_cheques_yes: boolean;
27
+ post_dated_cheques_no: boolean;
28
+ place_of_payment: string;
29
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,53 @@
1
+ export interface sectionE {
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;
6
+ work_repaire_before?: string;
7
+ work_repaire_before_lease_line_1?: string;
8
+ work_repaire_before_lease_line_2?: string;
9
+ work_repaire_during?: string;
10
+ work_repaire_during_lease_line_1?: string;
11
+ work_repaire_during_lease_line_2?: string;
12
+ work_repaire_during_lease_line_3?: string;
13
+ janitorial_services: string;
14
+ janitor_name: string;
15
+ janitor_email: string;
16
+ janitor_telephone: string;
17
+ janitor_other_telephone: string;
18
+ heating_lessor: boolean;
19
+ heating_lessee: boolean;
20
+ heating_type_gas: boolean;
21
+ heating_type_electricity: boolean;
22
+ heating_type_fuel_oil: boolean;
23
+ other_than_for_heating_electricity_lessor: boolean;
24
+ other_than_for_heating_electricity_lessee: boolean;
25
+ other_than_for_heating_gas_lessor: boolean;
26
+ other_than_for_heating_gas_lessee: boolean;
27
+ hot_water_heater_rental_fee_lessor: boolean;
28
+ hot_water_heater_rental_fee_lessee: boolean;
29
+ hot_water_lessor: boolean;
30
+ hot_water_lessee: boolean;
31
+ water_consuption_tax_lessor: boolean;
32
+ water_consuption_tax_lessee: boolean;
33
+ snow_removal_parking_lessor: boolean;
34
+ snow_removal_parking_lessee: boolean;
35
+ snow_removal_balcony_lessor: boolean;
36
+ snow_removal_balcony_lessee: boolean;
37
+ snow_removal_entrance_driveway_lessor: boolean;
38
+ snow_removal_entrance_driveway_lessee: boolean;
39
+ snow_removal_stairs_lessor: boolean;
40
+ snow_removal_stairs_lessee: boolean;
41
+ right_access_land_yes: boolean;
42
+ right_access_land_no: boolean;
43
+ right_access_land_specify: string;
44
+ keep_animal_yes: boolean;
45
+ keep_animal_no: boolean;
46
+ keep_animal_specify: string;
47
+ other_services_conditions_and_restrictions: string;
48
+ other_services_conditions_and_restrictions_line_1?: string;
49
+ other_services_conditions_and_restrictions_line_2?: string;
50
+ other_services_conditions_and_restrictions_line_3?: string;
51
+ other_services_conditions_and_restrictions_line_4?: string;
52
+ other_services_conditions_and_restrictions_line_5?: string;
53
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface sectionF {
2
+ one_of_members_cooperative: boolean;
3
+ five_years_ago_or_less: boolean;
4
+ immovable_erected_ready_habitation_on: Date | null;
5
+ immovable_erected_ready_habitation_on_day?: string;
6
+ immovable_erected_ready_habitation_on_month?: string;
7
+ immovable_erected_ready_habitation_on_year?: string;
8
+ change_destination: boolean;
9
+ change_destination_ready_habitation_on: Date | null;
10
+ change_destination_ready_habitation_on_day?: string;
11
+ change_destination_ready_habitation_on_month?: string;
12
+ change_destination_ready_habitation_on_year?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export interface sectionG {
2
+ lowest_rent_paid: string;
3
+ lowest_rent_paid_frequency_month: boolean;
4
+ lowest_rent_paid_frequency_week: boolean;
5
+ lowest_rent_paid_frequency_other: boolean;
6
+ other_lowest_rent_paid_frequency: string;
7
+ conditions_same_yes: boolean;
8
+ conditions_same_no: boolean;
9
+ conditions_same_if_no_specify?: string;
10
+ conditions_same_if_no_specify_line_1?: string;
11
+ conditions_same_if_no_specify_line_2?: string;
12
+ lessor_signature_date: Date | null;
13
+ lessor_signature_day?: string;
14
+ lessor_signature_month?: string;
15
+ lessor_signature_year?: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import { ICosinger } from "../co-singer";
2
+ export interface sectionH {
3
+ solidarily_liable_for_lease_yes: boolean;
4
+ solidarily_liable_for_lease_no: boolean;
5
+ co_signer: ICosinger[];
6
+ lessor1_signature_date: Date | null;
7
+ lessor1_signature_day?: string;
8
+ lessor1_signature_month?: string;
9
+ lessor1_signature_year?: string;
10
+ lessee1_signature_date: Date | null;
11
+ lessee1_signature_day?: string;
12
+ lessee1_signature_month?: string;
13
+ lessee1_signature_year?: string;
14
+ lessee2_signature_date: Date | null;
15
+ lessee2_signature_day?: string;
16
+ lessee2_signature_month?: string;
17
+ lessee2_signature_year?: string;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface sectionI {
2
+ spouse_id?: string;
3
+ married_civil_union_name_spouse: string;
4
+ spouse_email: string;
5
+ spouse_signature_date: Date | null;
6
+ spouse_signature_day?: string;
7
+ spouse_signature_month?: string;
8
+ spouse_signature_year?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.33.3",
3
+ "version": "0.35.1",
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",