@royalinvest/dto 0.45.3 → 0.46.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/mb/index.d.ts +21 -0
- package/dist/ca/mb/index.js +2 -0
- package/dist/ca/mb/section1.d.ts +7 -0
- package/dist/ca/mb/section1.js +2 -0
- package/dist/ca/mb/section13.d.ts +5 -0
- package/dist/ca/mb/section13.js +2 -0
- package/dist/ca/mb/section2.d.ts +9 -0
- package/dist/ca/mb/section2.js +2 -0
- package/dist/ca/mb/section3.d.ts +10 -0
- package/dist/ca/mb/section3.js +2 -0
- package/dist/ca/mb/section4.d.ts +28 -0
- package/dist/ca/mb/section4.js +2 -0
- package/dist/ca/mb/section5.d.ts +4 -0
- package/dist/ca/mb/section5.js +2 -0
- package/dist/ca/mb/section6.d.ts +3 -0
- package/dist/ca/mb/section6.js +2 -0
- package/dist/ca/mb/section8.d.ts +4 -0
- package/dist/ca/mb/section8.js +2 -0
- package/dist/ca/mb/sectionParty.d.ts +5 -0
- package/dist/ca/mb/sectionParty.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
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./bc/sections"), exports);
|
|
18
18
|
__exportStar(require("./on"), exports);
|
|
19
|
+
__exportStar(require("./mb"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IBaseLeaseDetails } from "../../baseLeaseDetails";
|
|
2
|
+
import { section1 } from "./section1";
|
|
3
|
+
import { section13 } from "./section13";
|
|
4
|
+
import { section2 } from "./section2";
|
|
5
|
+
import { section3 } from "./section3";
|
|
6
|
+
import { section4 } from "./section4";
|
|
7
|
+
import { section5 } from "./section5";
|
|
8
|
+
import { section6 } from "./section6";
|
|
9
|
+
import { section8 } from "./section8";
|
|
10
|
+
import { sectionParty } from "./sectionParty";
|
|
11
|
+
export interface ICAMBResidentialTenancyAgreement extends IBaseLeaseDetails {
|
|
12
|
+
sectionParty: sectionParty;
|
|
13
|
+
section1: section1;
|
|
14
|
+
section2: section2;
|
|
15
|
+
section3: section3;
|
|
16
|
+
section4: section4;
|
|
17
|
+
section5: section5;
|
|
18
|
+
section6: section6;
|
|
19
|
+
section8: section8;
|
|
20
|
+
section13: section13;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface section3 {
|
|
2
|
+
security_deposit: boolean;
|
|
3
|
+
security_deposit_text: string;
|
|
4
|
+
security_deposit_date: Date | null;
|
|
5
|
+
formated_security_deposit_date?: string;
|
|
6
|
+
pet_deposit: boolean;
|
|
7
|
+
pet_deposit_text: string;
|
|
8
|
+
pet_deposit_date: Date | null;
|
|
9
|
+
formated_pet_deposit_date?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface section4 {
|
|
2
|
+
rent_payments: string;
|
|
3
|
+
day_of_each: string;
|
|
4
|
+
basic_rent: string;
|
|
5
|
+
parking_spaces_text: string;
|
|
6
|
+
parking_spaces: string;
|
|
7
|
+
other_text: string;
|
|
8
|
+
other: string;
|
|
9
|
+
rent_payable: string;
|
|
10
|
+
less_rent_discount: string;
|
|
11
|
+
total_rent: string;
|
|
12
|
+
rent_increase: boolean;
|
|
13
|
+
rent_increase_date: Date | null;
|
|
14
|
+
formated_rent_increase_date?: string;
|
|
15
|
+
guideline_increase: boolean;
|
|
16
|
+
guideline_increase_date: Date | null;
|
|
17
|
+
formated_guideline_increase_date?: string;
|
|
18
|
+
guideline_increase_price: string;
|
|
19
|
+
discount_offering: string;
|
|
20
|
+
discount_offering_subject: string;
|
|
21
|
+
last_year: boolean;
|
|
22
|
+
last_year_text: string;
|
|
23
|
+
discount_reduced: boolean;
|
|
24
|
+
discount_reduced_text: string;
|
|
25
|
+
discount_removed: boolean;
|
|
26
|
+
proposed_rent_payable: boolean;
|
|
27
|
+
proposed_rent_payable_text: string;
|
|
28
|
+
}
|
|
@@ -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