@royalinvest/dto 0.59.3 → 0.60.2

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/auth.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { UserRoleType } from "./user";
1
2
  export type IToken = {
2
3
  accessToken: string;
3
4
  refreshToken: string;
@@ -14,6 +15,7 @@ export type IRegister = {
14
15
  password: string;
15
16
  language?: string;
16
17
  login_type?: string;
18
+ role?: UserRoleType;
17
19
  };
18
20
  export type IGoogleToken = {
19
21
  token: string;
@@ -5,7 +5,8 @@ export declare enum PartyTypeEnum {
5
5
  coSigner = "coSigner",
6
6
  spouse = "spouse",
7
7
  witness = "witness",
8
- surety = "surety"
8
+ surety = "surety",
9
+ agent = "agent"
9
10
  }
10
11
  export declare enum RentTypeEnum {
11
12
  default = "",
@@ -10,6 +10,7 @@ var PartyTypeEnum;
10
10
  PartyTypeEnum["spouse"] = "spouse";
11
11
  PartyTypeEnum["witness"] = "witness";
12
12
  PartyTypeEnum["surety"] = "surety";
13
+ PartyTypeEnum["agent"] = "agent";
13
14
  })(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
14
15
  var RentTypeEnum;
15
16
  (function (RentTypeEnum) {
package/dist/index.d.ts CHANGED
@@ -75,3 +75,4 @@ export * from "./template";
75
75
  export * from "./types";
76
76
  export * from "./user";
77
77
  export * from "./yes-no";
78
+ export * from "./usa";
package/dist/index.js CHANGED
@@ -91,3 +91,4 @@ __exportStar(require("./template"), exports);
91
91
  __exportStar(require("./types"), exports);
92
92
  __exportStar(require("./user"), exports);
93
93
  __exportStar(require("./yes-no"), exports);
94
+ __exportStar(require("./usa"), exports);
@@ -1,3 +1,4 @@
1
+ import { PartyTypeEnum } from "./enum";
1
2
  export interface ISignConfirmation {
2
3
  code: string;
3
4
  signatureId: string;
@@ -6,4 +7,8 @@ export interface ISignConfirmation {
6
7
  date: string;
7
8
  creatorName: string;
8
9
  creatorEmail: string;
10
+ party_name: string;
11
+ party_email: string;
12
+ party_role: PartyTypeEnum;
13
+ user_id?: string;
9
14
  }
@@ -0,0 +1,5 @@
1
+ export interface EarlyTermination {
2
+ accept_termination_fee: boolean;
3
+ termination_fee: string;
4
+ not_agreed_termination_fee: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ import { IBaseLeaseDetails } from "../../baseLeaseDetails";
2
+ import { EarlyTermination } from "./earlyTermination";
3
+ import { Section1 } from "./section1";
4
+ import { Section10 } from "./section10";
5
+ import { Section16 } from "./section16";
6
+ import { Section2 } from "./section2";
7
+ import { Section20 } from "./section20";
8
+ import { Section22 } from "./section22";
9
+ import { Section25 } from "./section25";
10
+ import { Section4 } from "./section4";
11
+ import { Section5 } from "./section5";
12
+ import { Section7 } from "./section7";
13
+ import { Section8 } from "./section8";
14
+ import { Section9 } from "./section9";
15
+ export interface IUSFLLease extends IBaseLeaseDetails {
16
+ section1: Section1;
17
+ section2: Section2;
18
+ section4: Section4;
19
+ section5: Section5;
20
+ section7: Section7;
21
+ section8: Section8;
22
+ section9: Section9;
23
+ section10: Section10;
24
+ section16: Section16;
25
+ section20: Section20;
26
+ section22: Section22;
27
+ section25: Section25;
28
+ earlyTermination: EarlyTermination;
29
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { field } from "../../field";
2
+ export interface Section1 {
3
+ number_of_months: string;
4
+ beginning_date: Date | null;
5
+ formated_beginning_date?: string;
6
+ ending_date: Date | null;
7
+ formated_ending_date?: string;
8
+ lessor: field[];
9
+ lessee: field[];
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface Section10 {
2
+ landlord_utilities: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface Section16 {
2
+ assign_approved: boolean;
3
+ }
@@ -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 Section2 extends IAddress {
3
+ furniture_and_appliances: string;
4
+ furniture_and_appliances_line_1?: string;
5
+ furniture_and_appliances_line_2?: string;
6
+ furniture_and_appliances_line_3?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface Section20 {
2
+ landlord_pays_application_fee: boolean;
3
+ tenant_pays_application_fee: boolean;
4
+ landlord_pays_deposit: boolean;
5
+ tenant_pays_deposit: boolean;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface Section22 {
2
+ lead_warning_applies: boolean;
3
+ lead_paint_checkbox: boolean;
4
+ lead_paint_checkbox_text: string;
5
+ lead_paint_checkbox_text_line_1?: string;
6
+ lead_paint_checkbox_text_line_2?: string;
7
+ no_lead_based_paint: boolean;
8
+ lessor_provided_records: boolean;
9
+ lessor_provided_records_text: string;
10
+ lessor_provided_records_text_line_1?: string;
11
+ lessor_provided_records_text_line_2?: string;
12
+ no_lead_paint_records: boolean;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface Section25 {
2
+ individual_name: string;
3
+ business_name: string;
4
+ address: string;
5
+ telephone_number: string;
6
+ agents_email: string;
7
+ agents_id?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ export interface Section4 {
2
+ rent_amount: string;
3
+ each_day: string;
4
+ month_week: string;
5
+ tax_amount: string;
6
+ lease_payment: string;
7
+ lease_payment_checkbox: boolean;
8
+ rent_due_date: Date | null;
9
+ formated_rent_due_date?: string;
10
+ advance_payment_date: Date | null;
11
+ formated_advance_payment_date?: string;
12
+ prorated_from: Date | null;
13
+ formated_prorated_from?: string;
14
+ prorated_amount: string;
15
+ prorated_due_date: Date | null;
16
+ formated_prorated_due_date?: string;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ export interface Section5 {
2
+ security_deposit_check: boolean;
3
+ security_deposit_amount: string;
4
+ is_advance_rent: boolean;
5
+ advance_rent_amount: string;
6
+ advance_rent_periods: string;
7
+ is_pet_deposit: boolean;
8
+ pet_deposit_amount: string;
9
+ is_late_charge: boolean;
10
+ late_charge_amount: string;
11
+ late_charge_days: string;
12
+ is_bad_check_fee: boolean;
13
+ bad_check_fee_amount: string;
14
+ is_other_clause: boolean;
15
+ other_clause_text: string;
16
+ is_other_clause_1: boolean;
17
+ other_clause_text_1: string;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface Section7 {
2
+ landlord_agent_name: string;
3
+ landlord_agent_address: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface Section8 {
2
+ rules_checkbox: boolean;
3
+ occasional_guests: string;
4
+ pets_allowed: boolean;
5
+ no_smoking_clause: boolean;
6
+ alterations_with_checkbox: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ export interface Section9 {
2
+ landlord_smoke_detectors: boolean;
3
+ tenant_smoke_detectors: boolean;
4
+ landlord_extermination: boolean;
5
+ tenant_extermination: boolean;
6
+ landlord_locks_keys: boolean;
7
+ tenant_locks_keys: boolean;
8
+ landlord_outside_condition: boolean;
9
+ tenant_outside_condition: boolean;
10
+ landlord_garbage: boolean;
11
+ tenant_garbage: boolean;
12
+ landlord_running_water: boolean;
13
+ tenant_running_water: boolean;
14
+ landlord_hot_water: boolean;
15
+ tenant_hot_water: boolean;
16
+ landlord_lawn: boolean;
17
+ tenant_lawn: boolean;
18
+ landlord_heat: boolean;
19
+ tenant_heat: boolean;
20
+ landlord_air_conditioning: boolean;
21
+ tenant_air_conditioning: boolean;
22
+ landlord_furniture: boolean;
23
+ tenant_furniture: boolean;
24
+ landlord_appliances: boolean;
25
+ tenant_appliances: boolean;
26
+ landlord_fixtures: boolean;
27
+ tenant_fixtures: boolean;
28
+ landlord_pool: boolean;
29
+ tenant_pool: boolean;
30
+ landlord_filters: boolean;
31
+ tenant_filters: boolean;
32
+ landlord_other: boolean;
33
+ tenant_other: boolean;
34
+ other_text: string;
35
+ major_repairs_threshold: string;
36
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./fl";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./fl"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.59.3",
3
+ "version": "0.60.2",
4
4
  "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",