@royalinvest/dto 0.51.2 → 0.53.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.
Files changed (49) hide show
  1. package/dist/ca/index.d.ts +1 -0
  2. package/dist/ca/index.js +1 -0
  3. package/dist/ca/sk/index.d.ts +19 -0
  4. package/dist/ca/sk/index.js +2 -0
  5. package/dist/ca/sk/landlordObligations.d.ts +3 -0
  6. package/dist/ca/sk/landlordObligations.js +2 -0
  7. package/dist/ca/sk/occupancyAndTerm.d.ts +7 -0
  8. package/dist/ca/sk/occupancyAndTerm.js +2 -0
  9. package/dist/ca/sk/rent.d.ts +8 -0
  10. package/dist/ca/sk/rent.js +2 -0
  11. package/dist/ca/sk/rentalUnit.d.ts +25 -0
  12. package/dist/ca/sk/rentalUnit.js +2 -0
  13. package/dist/ca/sk/sectionParty.d.ts +27 -0
  14. package/dist/ca/sk/sectionParty.js +2 -0
  15. package/dist/ca/sk/secutityDeposit.d.ts +4 -0
  16. package/dist/ca/sk/secutityDeposit.js +2 -0
  17. package/dist/ca/sk/services.d.ts +25 -0
  18. package/dist/ca/sk/services.js +2 -0
  19. package/dist/ca/sk/tenantObligations.d.ts +3 -0
  20. package/dist/ca/sk/tenantObligations.js +2 -0
  21. package/dist/index.d.ts +2 -0
  22. package/dist/index.js +2 -0
  23. package/dist/invoiceFormData.d.ts +51 -0
  24. package/dist/invoiceFormData.js +2 -0
  25. package/dist/lease-of-dwelling-notice-max-rent.d.ts +21 -0
  26. package/dist/lease-of-dwelling-notice-max-rent.js +2 -0
  27. package/dist/payment.d.ts +1 -0
  28. package/dist/payment.js +2 -0
  29. package/dist/quebec-lease-land-mobile-home/index.d.ts +21 -0
  30. package/dist/quebec-lease-land-mobile-home/index.js +2 -0
  31. package/dist/quebec-lease-land-mobile-home/sectionA.d.ts +6 -0
  32. package/dist/quebec-lease-land-mobile-home/sectionA.js +2 -0
  33. package/dist/quebec-lease-land-mobile-home/sectionB.d.ts +19 -0
  34. package/dist/quebec-lease-land-mobile-home/sectionB.js +2 -0
  35. package/dist/quebec-lease-land-mobile-home/sectionC.d.ts +16 -0
  36. package/dist/quebec-lease-land-mobile-home/sectionC.js +2 -0
  37. package/dist/quebec-lease-land-mobile-home/sectionD.d.ts +26 -0
  38. package/dist/quebec-lease-land-mobile-home/sectionD.js +2 -0
  39. package/dist/quebec-lease-land-mobile-home/sectionE.d.ts +26 -0
  40. package/dist/quebec-lease-land-mobile-home/sectionE.js +2 -0
  41. package/dist/quebec-lease-land-mobile-home/sectionF.d.ts +12 -0
  42. package/dist/quebec-lease-land-mobile-home/sectionF.js +2 -0
  43. package/dist/quebec-lease-land-mobile-home/sectionG.d.ts +12 -0
  44. package/dist/quebec-lease-land-mobile-home/sectionG.js +2 -0
  45. package/dist/quebec-lease-land-mobile-home/sectionH.d.ts +6 -0
  46. package/dist/quebec-lease-land-mobile-home/sectionH.js +2 -0
  47. package/dist/quebec-lease-land-mobile-home/sectionI.d.ts +5 -0
  48. package/dist/quebec-lease-land-mobile-home/sectionI.js +2 -0
  49. package/package.json +1 -1
@@ -2,3 +2,4 @@ export * from "./bc/sections";
2
2
  export * from "./on";
3
3
  export * from "./mb";
4
4
  export * from "./ab";
5
+ export * from "./sk";
package/dist/ca/index.js CHANGED
@@ -18,3 +18,4 @@ __exportStar(require("./bc/sections"), exports);
18
18
  __exportStar(require("./on"), exports);
19
19
  __exportStar(require("./mb"), exports);
20
20
  __exportStar(require("./ab"), exports);
21
+ __exportStar(require("./sk"), exports);
@@ -0,0 +1,19 @@
1
+ import { IBaseLeaseDetails } from "../../baseLeaseDetails";
2
+ import { ILandlordObligations } from "./landlordObligations";
3
+ import { IOccupancyAndTerm } from "./occupancyAndTerm";
4
+ import { IRent } from "./rent";
5
+ import { IRentalUnit } from "./rentalUnit";
6
+ import { ISectionParty } from "./sectionParty";
7
+ import { ISecutityDeposit } from "./secutityDeposit";
8
+ import { IServices } from "./services";
9
+ import { ITenantObligations } from "./tenantObligations";
10
+ export interface ICASKResidentialTenancyAgreement extends IBaseLeaseDetails {
11
+ sectionParty: ISectionParty;
12
+ rentalUnit: IRentalUnit;
13
+ occupancyAndTerm: IOccupancyAndTerm;
14
+ rent: IRent;
15
+ services: IServices;
16
+ deposit: ISecutityDeposit;
17
+ landlordObligations: ILandlordObligations;
18
+ tenantObligations: ITenantObligations;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface ILandlordObligations {
2
+ obligation: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface IOccupancyAndTerm {
2
+ rent_start: Date | null;
3
+ formated_rent_start?: string;
4
+ duration: string;
5
+ rent_end: Date | null;
6
+ formated_rent_end?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface IRent {
2
+ rent_amount: string;
3
+ on_the: string;
4
+ commencing_on: string;
5
+ tenant_will_deliver: string;
6
+ prorated_rent: string;
7
+ day_of_each_month: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ import { IAddress } from "../../address";
2
+ export interface IRentalUnit extends IAddress {
3
+ id?: string;
4
+ no: string;
5
+ street: string;
6
+ apt: string;
7
+ city: string;
8
+ postal: string;
9
+ number_of_rooms: string;
10
+ rural_property: string;
11
+ mobile_home_yes: boolean;
12
+ mobile_home_no: boolean;
13
+ agent_name: string;
14
+ agent_email_address: string;
15
+ agent_city: string;
16
+ agent_province: string;
17
+ agent_postal: string;
18
+ agent_telephone: string;
19
+ agent_fax: string;
20
+ agent_text: string;
21
+ agent_email: string;
22
+ agent_email_check: boolean;
23
+ agent_text_message_check: boolean;
24
+ agent_fax_check: boolean;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ import { field } from "../../field";
2
+ export interface ISectionParty {
3
+ lessor: (field & {
4
+ province: string;
5
+ fax: string;
6
+ text: string;
7
+ mail_address: string;
8
+ telephone_for_emergencies: string;
9
+ additional_numbers: string;
10
+ email_check: boolean;
11
+ text_message_check: boolean;
12
+ fax_check: boolean;
13
+ agent_electronic_service?: boolean;
14
+ })[];
15
+ lessee: (field & {
16
+ province: string;
17
+ fax: string;
18
+ text: string;
19
+ mail_address: string;
20
+ mobile_or_alternate: string;
21
+ additional_numbers: string;
22
+ email_check: boolean;
23
+ text_message_check: boolean;
24
+ fax_check: boolean;
25
+ agent_electronic_service?: boolean;
26
+ })[];
27
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface ISecutityDeposit {
2
+ deposit_yes: boolean;
3
+ deposit_no: boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ export interface IServices {
2
+ electricity_yes: boolean;
3
+ electricity_no: boolean;
4
+ heat_yes: boolean;
5
+ heat_no: boolean;
6
+ water_yes: boolean;
7
+ water_no: boolean;
8
+ hot_water_yes: boolean;
9
+ hot_water_no: boolean;
10
+ parking_yes: boolean;
11
+ parking_no: boolean;
12
+ range_yes: boolean;
13
+ range_no: boolean;
14
+ refrigerator_yes: boolean;
15
+ refrigerator_no: boolean;
16
+ washer_yes: boolean;
17
+ washer_no: boolean;
18
+ washer_coin_yes: boolean;
19
+ washer_coin_no: boolean;
20
+ cable_tv_hookup_yes: boolean;
21
+ cable_tv_hookup_no: boolean;
22
+ cable_tv_service_yes: boolean;
23
+ cable_tv_service_no: boolean;
24
+ other: string;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface ITenantObligations {
2
+ obligation: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -47,6 +47,7 @@ export * from "./quebec-lease-dwelling-annex6";
47
47
  export * from "./quebec-lease-dwelling-cooperative";
48
48
  export * from "./quebec-lease-dwelling";
49
49
  export * from "./quebec-lease-educational-institution";
50
+ export * from "./quebec-lease-land-mobile-home";
50
51
  export * from "./savedSignature";
51
52
  export * from "./signature-party";
52
53
  export * from "./signatureParty";
@@ -69,3 +70,4 @@ export * from "./billing";
69
70
  export * from "./plan";
70
71
  export * from "./feature";
71
72
  export * from "./capability";
73
+ export * from "./lease-of-dwelling-notice-max-rent";
package/dist/index.js CHANGED
@@ -63,6 +63,7 @@ __exportStar(require("./quebec-lease-dwelling-annex6"), exports);
63
63
  __exportStar(require("./quebec-lease-dwelling-cooperative"), exports);
64
64
  __exportStar(require("./quebec-lease-dwelling"), exports);
65
65
  __exportStar(require("./quebec-lease-educational-institution"), exports);
66
+ __exportStar(require("./quebec-lease-land-mobile-home"), exports);
66
67
  __exportStar(require("./savedSignature"), exports);
67
68
  __exportStar(require("./signature-party"), exports);
68
69
  __exportStar(require("./signatureParty"), exports);
@@ -85,3 +86,4 @@ __exportStar(require("./billing"), exports);
85
86
  __exportStar(require("./plan"), exports);
86
87
  __exportStar(require("./feature"), exports);
87
88
  __exportStar(require("./capability"), exports);
89
+ __exportStar(require("./lease-of-dwelling-notice-max-rent"), exports);
@@ -0,0 +1,51 @@
1
+ export interface IInvoiceContact {
2
+ name: string;
3
+ address: string;
4
+ city: string;
5
+ postal: string;
6
+ country: string;
7
+ phone?: string;
8
+ email: string;
9
+ website?: string;
10
+ }
11
+ export interface IInvoiceField {
12
+ label: string;
13
+ value: string | number | IInvoiceContact | null;
14
+ }
15
+ export interface IInvoiceTable<T> {
16
+ headers: string[];
17
+ items: T[];
18
+ }
19
+ export interface IInvoiceItem {
20
+ description: string;
21
+ quantity: number;
22
+ unit_price: string;
23
+ total_price: string;
24
+ }
25
+ export interface ITax {
26
+ description: string;
27
+ rate: string;
28
+ amount: string;
29
+ }
30
+ export interface IPaymentInfo {
31
+ message: IInvoiceField;
32
+ support: IInvoiceField;
33
+ }
34
+ export interface IInvoiceFormData {
35
+ invoice_number: IInvoiceField;
36
+ currency: string;
37
+ date: IInvoiceField;
38
+ status: IInvoiceField;
39
+ company_info: IInvoiceField;
40
+ customer_info: IInvoiceField;
41
+ tax_registration_numbers: IInvoiceField[];
42
+ items_table: IInvoiceTable<IInvoiceItem>;
43
+ taxes_table: IInvoiceTable<ITax>;
44
+ subtotal: IInvoiceField;
45
+ total: IInvoiceField;
46
+ payment_info: IPaymentInfo;
47
+ payment_method: IInvoiceField;
48
+ last4_digits: IInvoiceField;
49
+ stripe_transaction_id: string;
50
+ stripe_session_id: string;
51
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ import { IAddress } from "./address";
2
+ import { IBaseLeaseDetails } from "./baseLeaseDetails";
3
+ import { field } from "./field";
4
+ export interface ILeaseOfDwellingNoticeMaxRent extends IAddress, IBaseLeaseDetails {
5
+ lessor: field[];
6
+ lessee: field[];
7
+ id?: string;
8
+ no: string;
9
+ street: string;
10
+ apt: string;
11
+ city: string;
12
+ postal: string;
13
+ state?: string;
14
+ country?: string;
15
+ number_of_rooms: string;
16
+ max_price: string;
17
+ lessor_1_name: string;
18
+ lessor_2_name: string;
19
+ lessee_1_name: string;
20
+ lessee_2_name: string;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type PaymentIntervalType = "month" | "year";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 ILeaseOfLandForMobileHome 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,19 @@
1
+ import { IAddress } from "../address";
2
+ export interface sectionB extends IAddress {
3
+ id: string;
4
+ site_no: string;
5
+ size_of_the_land: string;
6
+ residential_purposes_yes: boolean;
7
+ residential_purposes_no: boolean;
8
+ specify_if_not_residential: string;
9
+ outdoor_parking: boolean;
10
+ outdoor_parking_number_of_places: string;
11
+ outdoor_parking_spaces: string;
12
+ accessories_and_dependencies: string;
13
+ accessories_and_dependencies_line_1?: string;
14
+ accessories_and_dependencies_line_2?: string;
15
+ accessories_and_dependencies_line_3?: string;
16
+ accessories_and_dependencies_line_4?: string;
17
+ accessories_and_dependencies_line_5?: string;
18
+ accessories_and_dependencies_line_6?: string;
19
+ }
@@ -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,26 @@
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
+ first_payment_date: Date | null;
12
+ first_payment_date_day?: string;
13
+ first_payment_date_month?: string;
14
+ first_payment_date_year?: string;
15
+ rent_paid_first_day_of_month: boolean;
16
+ rent_paid_first_day_of_week: boolean;
17
+ rent_paid_specify: string;
18
+ rent_payment_method_cash: boolean;
19
+ rent_payment_method_cheque: boolean;
20
+ rent_payment_method_bank_transfer: boolean;
21
+ rent_payment_method_other: boolean;
22
+ rent_payment_other_specify: string;
23
+ post_dated_cheques_yes: boolean;
24
+ post_dated_cheques_no: boolean;
25
+ place_of_payment: string;
26
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,26 @@
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_before_lease_line_3?: string;
10
+ work_repaire_during: string;
11
+ work_repaire_during_lease_line_1?: string;
12
+ work_repaire_during_lease_line_2?: string;
13
+ work_repaire_during_lease_line_3?: string;
14
+ keep_animal_yes: boolean;
15
+ keep_animal_no: boolean;
16
+ keep_animal_specify: string;
17
+ keep_animal_specify_line_1?: string;
18
+ keep_animal_specify_line_2?: string;
19
+ other_water_and_sewer_services: string;
20
+ other_water_and_sewer_services_line_1?: string;
21
+ other_water_and_sewer_services_line_2?: string;
22
+ janitor_name: string;
23
+ janitor_email: string;
24
+ janitor_telephone: string;
25
+ janitor_other_telephone: string;
26
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface sectionF {
2
+ five_years_ago_or_less: boolean;
3
+ five_years_ago_or_less_date: Date | null;
4
+ five_years_ago_or_less_date_day?: string;
5
+ five_years_ago_or_less_date_month?: string;
6
+ five_years_ago_or_less_date_year?: string;
7
+ change_destination: boolean;
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;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface sectionI {
2
+ spouse_id?: string;
3
+ married_civil_union_name_spouse: string;
4
+ spouse_email: string;
5
+ }
@@ -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.51.2",
3
+ "version": "0.53.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",