@royalinvest/dto 0.45.2 → 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.
@@ -1,2 +1,3 @@
1
1
  export * from "./bc/sections";
2
2
  export * from "./on";
3
+ export * from "./mb";
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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { IAddress } from "../../address";
2
+ export interface section1 extends IAddress {
3
+ id: string;
4
+ number_of_rooms: string;
5
+ unit_is_registered_yes: boolean;
6
+ unit_is_registered_no: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface section13 {
2
+ replay_landlord_name: string;
3
+ replay_tenant_1_name: string;
4
+ replay_tenant_2_name: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface section2 {
2
+ rent_start: Date | null;
3
+ formated_rent_start?: string;
4
+ rent_end: Date | null;
5
+ formated_rent_end?: string;
6
+ beginning_on: Date | null;
7
+ formated_beginning_on?: string;
8
+ beginning_on_text: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface section5 {
2
+ tenant_agrees: string;
3
+ landlord_agrees: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface section6 {
2
+ occupy_the_rental_unit: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface section8 {
2
+ no_furniture: boolean;
3
+ furniture_provided: boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { field } from "../../field";
2
+ export interface sectionParty {
3
+ lessor: field[];
4
+ lessee: field[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -48,7 +48,7 @@ export declare enum SignActionEnum {
48
48
  }
49
49
  export declare enum SignatureDateTypeEnum {
50
50
  equalDayMonthYearBoxes = "equalDayMonthYearBoxes",
51
- dayMonthYearStringWithSlashes = "dayMonthYearStringWithSlashes"
51
+ lineWithFormattedString = "lineWithFormattedString"
52
52
  }
53
53
  export declare enum LeaseNoticeTypeEnum {
54
54
  Modification = "modification",
@@ -59,7 +59,7 @@ var SignActionEnum;
59
59
  var SignatureDateTypeEnum;
60
60
  (function (SignatureDateTypeEnum) {
61
61
  SignatureDateTypeEnum["equalDayMonthYearBoxes"] = "equalDayMonthYearBoxes";
62
- SignatureDateTypeEnum["dayMonthYearStringWithSlashes"] = "dayMonthYearStringWithSlashes";
62
+ SignatureDateTypeEnum["lineWithFormattedString"] = "lineWithFormattedString";
63
63
  })(SignatureDateTypeEnum || (exports.SignatureDateTypeEnum = SignatureDateTypeEnum = {}));
64
64
  var LeaseNoticeTypeEnum;
65
65
  (function (LeaseNoticeTypeEnum) {
@@ -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.45.2",
3
+ "version": "0.46.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",