@royalinvest/dto 0.51.2 → 0.52.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/ca/index.d.ts +1 -0
- package/dist/ca/index.js +1 -0
- package/dist/ca/sk/index.d.ts +19 -0
- package/dist/ca/sk/index.js +2 -0
- package/dist/ca/sk/landlordObligations.d.ts +3 -0
- package/dist/ca/sk/landlordObligations.js +2 -0
- package/dist/ca/sk/occupancyAndTerm.d.ts +7 -0
- package/dist/ca/sk/occupancyAndTerm.js +2 -0
- package/dist/ca/sk/rent.d.ts +8 -0
- package/dist/ca/sk/rent.js +2 -0
- package/dist/ca/sk/rentalUnit.d.ts +25 -0
- package/dist/ca/sk/rentalUnit.js +2 -0
- package/dist/ca/sk/sectionParty.d.ts +27 -0
- package/dist/ca/sk/sectionParty.js +2 -0
- package/dist/ca/sk/secutityDeposit.d.ts +4 -0
- package/dist/ca/sk/secutityDeposit.js +2 -0
- package/dist/ca/sk/services.d.ts +25 -0
- package/dist/ca/sk/services.js +2 -0
- package/dist/ca/sk/tenantObligations.d.ts +3 -0
- package/dist/ca/sk/tenantObligations.js +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/invoiceFormData.d.ts +51 -0
- package/dist/invoiceFormData.js +2 -0
- package/dist/payment.d.ts +1 -0
- package/dist/payment.js +2 -0
- package/dist/quebec-lease-land-mobile-home/index.d.ts +21 -0
- package/dist/quebec-lease-land-mobile-home/index.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionA.d.ts +6 -0
- package/dist/quebec-lease-land-mobile-home/sectionA.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionB.d.ts +19 -0
- package/dist/quebec-lease-land-mobile-home/sectionB.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionC.d.ts +16 -0
- package/dist/quebec-lease-land-mobile-home/sectionC.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionD.d.ts +26 -0
- package/dist/quebec-lease-land-mobile-home/sectionD.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionE.d.ts +26 -0
- package/dist/quebec-lease-land-mobile-home/sectionE.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionF.d.ts +12 -0
- package/dist/quebec-lease-land-mobile-home/sectionF.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionG.d.ts +12 -0
- package/dist/quebec-lease-land-mobile-home/sectionG.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionH.d.ts +6 -0
- package/dist/quebec-lease-land-mobile-home/sectionH.js +2 -0
- package/dist/quebec-lease-land-mobile-home/sectionI.d.ts +5 -0
- package/dist/quebec-lease-land-mobile-home/sectionI.js +2 -0
- package/package.json +1 -1
package/dist/ca/index.d.ts
CHANGED
package/dist/ca/index.js
CHANGED
|
@@ -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,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,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,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
|
+
}
|
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";
|
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);
|
|
@@ -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 @@
|
|
|
1
|
+
export type PaymentIntervalType = "month" | "year";
|
package/dist/payment.js
ADDED
|
@@ -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,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,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,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,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,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,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
|
+
}
|
package/package.json
CHANGED