@royalinvest/dto 0.44.0 → 0.45.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/on/index.d.ts +29 -0
- package/dist/ca/on/index.js +2 -0
- package/dist/ca/on/section1.d.ts +7 -0
- package/dist/ca/on/section1.js +2 -0
- package/dist/ca/on/section10.d.ts +5 -0
- package/dist/ca/on/section10.js +2 -0
- package/dist/ca/on/section11.d.ts +4 -0
- package/dist/ca/on/section11.js +2 -0
- package/dist/ca/on/section15.d.ts +4 -0
- package/dist/ca/on/section15.js +2 -0
- package/dist/ca/on/section17.d.ts +7 -0
- package/dist/ca/on/section17.js +2 -0
- package/dist/ca/on/section2.d.ts +14 -0
- package/dist/ca/on/section2.js +2 -0
- package/dist/ca/on/section3.d.ts +15 -0
- package/dist/ca/on/section3.js +2 -0
- package/dist/ca/on/section4.d.ts +10 -0
- package/dist/ca/on/section4.js +2 -0
- package/dist/ca/on/section5.d.ts +25 -0
- package/dist/ca/on/section5.js +2 -0
- package/dist/ca/on/section6.d.ts +33 -0
- package/dist/ca/on/section6.js +2 -0
- package/dist/ca/on/section7.d.ts +5 -0
- package/dist/ca/on/section7.js +2 -0
- package/dist/ca/on/section8.d.ts +5 -0
- package/dist/ca/on/section8.js +2 -0
- package/dist/ca/on/section9.d.ts +6 -0
- package/dist/ca/on/section9.js +2 -0
- package/dist/invoiceFormData.d.ts +51 -0
- package/dist/invoiceFormData.js +2 -0
- package/package.json +1 -1
package/dist/ca/index.d.ts
CHANGED
package/dist/ca/index.js
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IBaseLeaseDetails } from "../../baseLeaseDetails";
|
|
2
|
+
import { Section1 } from "./section1";
|
|
3
|
+
import { Section10 } from "./section10";
|
|
4
|
+
import { Section11 } from "./section11";
|
|
5
|
+
import { Section15 } from "./section15";
|
|
6
|
+
import { Section17 } from "./section17";
|
|
7
|
+
import { Section2 } from "./section2";
|
|
8
|
+
import { Section3 } from "./section3";
|
|
9
|
+
import { Section4 } from "./section4";
|
|
10
|
+
import { Section5 } from "./section5";
|
|
11
|
+
import { Section6 } from "./section6";
|
|
12
|
+
import { Section7 } from "./section7";
|
|
13
|
+
import { Section8 } from "./section8";
|
|
14
|
+
import { Section9 } from "./section9";
|
|
15
|
+
export interface ICAONResidentialTenancyAgreement extends IBaseLeaseDetails {
|
|
16
|
+
section1: Section1;
|
|
17
|
+
section2: Section2;
|
|
18
|
+
section3: Section3;
|
|
19
|
+
section4: Section4;
|
|
20
|
+
section5: Section5;
|
|
21
|
+
section6: Section6;
|
|
22
|
+
section7: Section7;
|
|
23
|
+
section8: Section8;
|
|
24
|
+
section9: Section9;
|
|
25
|
+
section10: Section10;
|
|
26
|
+
section11: Section11;
|
|
27
|
+
section15: Section15;
|
|
28
|
+
section17: Section17;
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAddress } from "../../address";
|
|
2
|
+
export interface Section2 extends IAddress {
|
|
3
|
+
id: string;
|
|
4
|
+
apt: string;
|
|
5
|
+
no: string;
|
|
6
|
+
street: string;
|
|
7
|
+
city: string;
|
|
8
|
+
province: string;
|
|
9
|
+
postal: string;
|
|
10
|
+
number_of_rooms: string;
|
|
11
|
+
parking_spaces_and_description: string;
|
|
12
|
+
rental_unit_yes: boolean;
|
|
13
|
+
rental_unit_no: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Section3 {
|
|
2
|
+
notice_apt: string;
|
|
3
|
+
notice_no: string;
|
|
4
|
+
notice_street: string;
|
|
5
|
+
notice_po_box: string;
|
|
6
|
+
notice_city: string;
|
|
7
|
+
notice_province: string;
|
|
8
|
+
notice_postale: string;
|
|
9
|
+
both_the_landlord_yes: boolean;
|
|
10
|
+
both_the_landlord_no: boolean;
|
|
11
|
+
if_yes_provide_address: string;
|
|
12
|
+
landlord_providing_yes: boolean;
|
|
13
|
+
landlord_providing_no: boolean;
|
|
14
|
+
if_yes_provide: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface Section4 {
|
|
2
|
+
rent_start: Date | null;
|
|
3
|
+
formated_rent_start?: string;
|
|
4
|
+
rent_end_check: boolean;
|
|
5
|
+
rent_end: Date | null;
|
|
6
|
+
formated_rent_end?: string;
|
|
7
|
+
mountly_check: boolean;
|
|
8
|
+
other_day_week_check: boolean;
|
|
9
|
+
other_day_week_text: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface Section5 {
|
|
2
|
+
paid_on: string;
|
|
3
|
+
month: boolean;
|
|
4
|
+
other_weekly: boolean;
|
|
5
|
+
other_weekly_text: string;
|
|
6
|
+
base_rent: string;
|
|
7
|
+
parking: string;
|
|
8
|
+
other_services_1_name: string;
|
|
9
|
+
other_services_1_value: string;
|
|
10
|
+
other_services_2_name: string;
|
|
11
|
+
other_services_2_value: string;
|
|
12
|
+
other_services_3_name: string;
|
|
13
|
+
other_services_3_value: string;
|
|
14
|
+
total_rent: string;
|
|
15
|
+
rent_is_payable_to: string;
|
|
16
|
+
rent_will_be_paid: string;
|
|
17
|
+
first_rental_period: string;
|
|
18
|
+
first_rental_period_date: Date | null;
|
|
19
|
+
formated_first_rental_period_date?: string;
|
|
20
|
+
partial_rent_start: Date | null;
|
|
21
|
+
formated_partial_rent_start?: string;
|
|
22
|
+
partial_rent_end: Date | null;
|
|
23
|
+
formated_partial_rent_end?: string;
|
|
24
|
+
landlord_administration_charge: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface Section6 {
|
|
2
|
+
gas_yes: boolean;
|
|
3
|
+
gas_no: boolean;
|
|
4
|
+
air_conditioning_yes: boolean;
|
|
5
|
+
air_conditioning_no: boolean;
|
|
6
|
+
additional_storage_space_yes: boolean;
|
|
7
|
+
additional_storage_space_no: boolean;
|
|
8
|
+
on_site_laundry_yes: boolean;
|
|
9
|
+
on_site_laundry_no: boolean;
|
|
10
|
+
on_site_laundry_no_charge: boolean;
|
|
11
|
+
on_site_laundry_pay_per_use: boolean;
|
|
12
|
+
guest_parking_yes: boolean;
|
|
13
|
+
guest_parking_no: boolean;
|
|
14
|
+
guest_parking_no_charge: boolean;
|
|
15
|
+
guest_parking_pay_per_use: boolean;
|
|
16
|
+
other_1_yes: boolean;
|
|
17
|
+
other_1_no: boolean;
|
|
18
|
+
other_1: string;
|
|
19
|
+
other_2_yes: boolean;
|
|
20
|
+
other_2_no: boolean;
|
|
21
|
+
other_2: string;
|
|
22
|
+
other_3_yes: boolean;
|
|
23
|
+
other_3_no: boolean;
|
|
24
|
+
other_3: string;
|
|
25
|
+
details_about_services: string;
|
|
26
|
+
electricity_landlord: boolean;
|
|
27
|
+
electricity_tenant: boolean;
|
|
28
|
+
heat_landlord: boolean;
|
|
29
|
+
heat_tenant: boolean;
|
|
30
|
+
water_landlord: boolean;
|
|
31
|
+
water_tenant: boolean;
|
|
32
|
+
tenant_is_responsible: string;
|
|
33
|
+
}
|
|
@@ -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
|
+
}
|
package/package.json
CHANGED