@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.
@@ -1 +1,2 @@
1
1
  export * from "./bc/sections";
2
+ export * from "./on";
package/dist/ca/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./bc/sections"), exports);
18
+ __exportStar(require("./on"), exports);
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { field } from "../../field";
2
+ export interface Section1 {
3
+ lessor: field[];
4
+ lessee: (field & {
5
+ last_name: string;
6
+ })[];
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface Section10 {
2
+ none_smoke: boolean;
3
+ smoking_rules: boolean;
4
+ description_of_smoking_rules: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface Section11 {
2
+ no_tenant_insurance: boolean;
3
+ liability_insurance: boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface Section15 {
2
+ no_additional_terms: boolean;
3
+ tenancy_agreement_includes: boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface Section17 {
2
+ reply_lessor_name: string;
3
+ reply_lessee_1_name: string;
4
+ reply_lessee_2_name: string;
5
+ reply_lessee_3_name: string;
6
+ reply_lessee_4_name: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface Section7 {
2
+ no_rent_dicount: boolean;
3
+ will_be_discounted: boolean;
4
+ provide_description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface Section8 {
2
+ deposit_is_not_required: boolean;
3
+ deposit_tenant_will_pay: boolean;
4
+ deposit_tenant_will_pay_text: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface Section9 {
2
+ key_deposit: boolean;
3
+ refundable_key_deposit: boolean;
4
+ refundable_key_deposit_text: string;
5
+ refundable_key_deposit_description: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.44.0",
3
+ "version": "0.45.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",