@royalinvest/dto 0.11.9 → 0.11.10

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.
Files changed (89) hide show
  1. package/dist/address.d.ts +9 -0
  2. package/dist/address.js +2 -0
  3. package/dist/auth.d.ts +5 -0
  4. package/dist/auth.js +2 -0
  5. package/dist/category.d.ts +4 -0
  6. package/dist/category.js +2 -0
  7. package/dist/checkout.d.ts +10 -0
  8. package/dist/checkout.js +2 -0
  9. package/dist/co-singer.d.ts +9 -0
  10. package/dist/co-singer.js +2 -0
  11. package/dist/country.d.ts +7 -0
  12. package/dist/country.js +2 -0
  13. package/dist/enum/index.d.ts +27 -0
  14. package/dist/enum/index.js +35 -0
  15. package/dist/expense.d.ts +11 -0
  16. package/dist/expense.js +2 -0
  17. package/dist/field.d.ts +10 -0
  18. package/dist/field.js +2 -0
  19. package/dist/file.d.ts +9 -0
  20. package/dist/file.js +2 -0
  21. package/dist/index.d.ts +34 -0
  22. package/dist/index.js +50 -0
  23. package/dist/key-value.d.ts +4 -0
  24. package/dist/key-value.js +2 -0
  25. package/dist/lease-details.d.ts +9 -0
  26. package/dist/lease-details.js +2 -0
  27. package/dist/lease-list-item.d.ts +8 -0
  28. package/dist/lease-list-item.js +2 -0
  29. package/dist/lease.d.ts +10 -0
  30. package/dist/lease.js +2 -0
  31. package/dist/login.d.ts +4 -0
  32. package/dist/login.js +2 -0
  33. package/dist/messageGenerate.d.ts +12 -0
  34. package/dist/messageGenerate.js +2 -0
  35. package/dist/messageNotification.d.ts +10 -0
  36. package/dist/messageNotification.js +2 -0
  37. package/dist/notification.d.ts +13 -0
  38. package/dist/notification.js +2 -0
  39. package/dist/party.d.ts +8 -0
  40. package/dist/party.js +2 -0
  41. package/dist/placeholder.d.ts +11 -0
  42. package/dist/placeholder.js +2 -0
  43. package/dist/profile.d.ts +6 -0
  44. package/dist/profile.js +2 -0
  45. package/dist/property.d.ts +9 -0
  46. package/dist/property.js +2 -0
  47. package/dist/quebec-lease-dwelling/index.d.ts +21 -0
  48. package/dist/quebec-lease-dwelling/index.js +2 -0
  49. package/dist/quebec-lease-dwelling/sectionA.d.ts +6 -0
  50. package/dist/quebec-lease-dwelling/sectionA.js +2 -0
  51. package/dist/quebec-lease-dwelling/sectionB.d.ts +46 -0
  52. package/dist/quebec-lease-dwelling/sectionB.js +2 -0
  53. package/dist/quebec-lease-dwelling/sectionC.d.ts +16 -0
  54. package/dist/quebec-lease-dwelling/sectionC.js +2 -0
  55. package/dist/quebec-lease-dwelling/sectionD.d.ts +25 -0
  56. package/dist/quebec-lease-dwelling/sectionD.js +2 -0
  57. package/dist/quebec-lease-dwelling/sectionE.d.ts +51 -0
  58. package/dist/quebec-lease-dwelling/sectionE.js +2 -0
  59. package/dist/quebec-lease-dwelling/sectionF.d.ts +12 -0
  60. package/dist/quebec-lease-dwelling/sectionF.js +2 -0
  61. package/dist/quebec-lease-dwelling/sectionG.d.ts +12 -0
  62. package/dist/quebec-lease-dwelling/sectionG.js +2 -0
  63. package/dist/quebec-lease-dwelling/sectionH.d.ts +6 -0
  64. package/dist/quebec-lease-dwelling/sectionH.js +2 -0
  65. package/dist/quebec-lease-dwelling/sectionI.d.ts +5 -0
  66. package/dist/quebec-lease-dwelling/sectionI.js +2 -0
  67. package/dist/sign-up.d.ts +9 -0
  68. package/dist/sign-up.js +2 -0
  69. package/dist/signatureInitials.d.ts +4 -0
  70. package/dist/signatureInitials.js +2 -0
  71. package/dist/signatureParty.d.ts +5 -0
  72. package/dist/signatureParty.js +2 -0
  73. package/dist/signaturePartySigned.d.ts +15 -0
  74. package/dist/signaturePartySigned.js +2 -0
  75. package/dist/signaturePartyViewer.d.ts +8 -0
  76. package/dist/signaturePartyViewer.js +2 -0
  77. package/dist/sort.d.ts +1 -0
  78. package/dist/sort.js +2 -0
  79. package/dist/state.d.ts +7 -0
  80. package/dist/state.js +2 -0
  81. package/dist/template-variant.d.ts +9 -0
  82. package/dist/template-variant.js +2 -0
  83. package/dist/template.d.ts +5 -0
  84. package/dist/template.js +2 -0
  85. package/dist/user.d.ts +11 -0
  86. package/dist/user.js +2 -0
  87. package/dist/yes-no.d.ts +4 -0
  88. package/dist/yes-no.js +2 -0
  89. package/package.json +2 -2
@@ -0,0 +1,9 @@
1
+ export interface IAddress {
2
+ no: string;
3
+ street: string;
4
+ apt?: string;
5
+ city: string;
6
+ postal: string;
7
+ state?: string;
8
+ country?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/auth.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { IUser } from "./user";
2
+ export type IAuth = {
3
+ accessToken: string;
4
+ user: IUser;
5
+ };
package/dist/auth.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface ICategory {
2
+ id: string;
3
+ name: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export interface ICheckout {
2
+ user_id: string;
3
+ contract_id: string;
4
+ platform_fee: number;
5
+ email: string;
6
+ product_unit_price: number;
7
+ quantity: number;
8
+ language: "en" | "fr";
9
+ template_variants: string[];
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface ICosinger {
2
+ name?: string;
3
+ capacity?: string;
4
+ address?: string;
5
+ date?: Date | null;
6
+ date_day?: string;
7
+ date_month?: string;
8
+ date_year?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { IState } from "./state";
2
+ export interface ICountry {
3
+ id?: string;
4
+ name: string;
5
+ abbrev: string;
6
+ states: IState[];
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ export declare enum PartyTypeEnum {
2
+ default = "",
3
+ lessor = "lessor",
4
+ lessee = "lessee",
5
+ coSigner = "coSigner",
6
+ spouse = "spouse"
7
+ }
8
+ export declare enum RentTypeEnum {
9
+ default = "",
10
+ fixed = "fixed",
11
+ indeterminate = "indeterminate"
12
+ }
13
+ export declare enum LeaseStatusEnum {
14
+ draft = "draft",
15
+ published = "published",
16
+ signed = "signed"
17
+ }
18
+ export declare enum SignatureType {
19
+ initials = "initials",
20
+ signature = "signature"
21
+ }
22
+ export declare enum SignStatusEnum {
23
+ sent = "sent",
24
+ signed = "signed",
25
+ cancelled = "cancelled",
26
+ signaturePending = "signaturePending"
27
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SignStatusEnum = exports.SignatureType = exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
4
+ var PartyTypeEnum;
5
+ (function (PartyTypeEnum) {
6
+ PartyTypeEnum["default"] = "";
7
+ PartyTypeEnum["lessor"] = "lessor";
8
+ PartyTypeEnum["lessee"] = "lessee";
9
+ PartyTypeEnum["coSigner"] = "coSigner";
10
+ PartyTypeEnum["spouse"] = "spouse";
11
+ })(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
12
+ var RentTypeEnum;
13
+ (function (RentTypeEnum) {
14
+ RentTypeEnum["default"] = "";
15
+ RentTypeEnum["fixed"] = "fixed";
16
+ RentTypeEnum["indeterminate"] = "indeterminate";
17
+ })(RentTypeEnum || (exports.RentTypeEnum = RentTypeEnum = {}));
18
+ var LeaseStatusEnum;
19
+ (function (LeaseStatusEnum) {
20
+ LeaseStatusEnum["draft"] = "draft";
21
+ LeaseStatusEnum["published"] = "published";
22
+ LeaseStatusEnum["signed"] = "signed";
23
+ })(LeaseStatusEnum || (exports.LeaseStatusEnum = LeaseStatusEnum = {}));
24
+ var SignatureType;
25
+ (function (SignatureType) {
26
+ SignatureType["initials"] = "initials";
27
+ SignatureType["signature"] = "signature";
28
+ })(SignatureType || (exports.SignatureType = SignatureType = {}));
29
+ var SignStatusEnum;
30
+ (function (SignStatusEnum) {
31
+ SignStatusEnum["sent"] = "sent";
32
+ SignStatusEnum["signed"] = "signed";
33
+ SignStatusEnum["cancelled"] = "cancelled";
34
+ SignStatusEnum["signaturePending"] = "signaturePending";
35
+ })(SignStatusEnum || (exports.SignStatusEnum = SignStatusEnum = {}));
@@ -0,0 +1,11 @@
1
+ import { IProperty } from "./property";
2
+ import { ICategory } from "./category";
3
+ export interface IExpense {
4
+ id?: string;
5
+ name: string;
6
+ amount: number;
7
+ date: Date;
8
+ property?: IProperty;
9
+ category?: ICategory;
10
+ file_name?: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { IAddress } from "./address";
2
+ import { PartyTypeEnum } from "./enum";
3
+ export interface field extends IAddress {
4
+ id?: string;
5
+ name: string;
6
+ email: string;
7
+ type: PartyTypeEnum;
8
+ telephone: string;
9
+ other_telephone?: string;
10
+ }
package/dist/field.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/file.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ import { SignStatusEnum } from "./enum";
2
+ export interface IFile {
3
+ id: string;
4
+ name: string;
5
+ created_at?: Date;
6
+ modified_at?: Date;
7
+ type: string;
8
+ status?: SignStatusEnum;
9
+ }
package/dist/file.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ export * from "./enum";
2
+ export * from "./quebec-lease-dwelling";
3
+ export * from "./address";
4
+ export * from "./country";
5
+ export * from "./lease-list-item";
6
+ export * from "./lease";
7
+ export * from "./property";
8
+ export * from "./state";
9
+ export * from "./template";
10
+ export * from "./yes-no";
11
+ export * from "./login";
12
+ export * from "./sign-up";
13
+ export * from "./user";
14
+ export * from "./auth";
15
+ export * from "./notification";
16
+ export * from "./expense";
17
+ export * from "./sort";
18
+ export * from "./key-value";
19
+ export * from "./category";
20
+ export * from "./template-variant";
21
+ export * from "./messageNotification";
22
+ export * from "./messageGenerate";
23
+ export * from "./file";
24
+ export * from "./checkout";
25
+ export * from "./profile";
26
+ export * from "./signatureParty";
27
+ export * from "./signaturePartySigned";
28
+ export * from "./party";
29
+ export * from "./placeholder";
30
+ export * from "./signaturePartyViewer";
31
+ export * from "./field";
32
+ export * from "./co-singer";
33
+ export * from "./signatureInitials";
34
+ export * from "./lease-details";
package/dist/index.js ADDED
@@ -0,0 +1,50 @@
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("./enum"), exports);
18
+ __exportStar(require("./quebec-lease-dwelling"), exports);
19
+ __exportStar(require("./address"), exports);
20
+ __exportStar(require("./country"), exports);
21
+ __exportStar(require("./lease-list-item"), exports);
22
+ __exportStar(require("./lease"), exports);
23
+ __exportStar(require("./property"), exports);
24
+ __exportStar(require("./state"), exports);
25
+ __exportStar(require("./template"), exports);
26
+ __exportStar(require("./yes-no"), exports);
27
+ __exportStar(require("./login"), exports);
28
+ __exportStar(require("./sign-up"), exports);
29
+ __exportStar(require("./user"), exports);
30
+ __exportStar(require("./auth"), exports);
31
+ __exportStar(require("./notification"), exports);
32
+ __exportStar(require("./expense"), exports);
33
+ __exportStar(require("./sort"), exports);
34
+ __exportStar(require("./key-value"), exports);
35
+ __exportStar(require("./category"), exports);
36
+ __exportStar(require("./template-variant"), exports);
37
+ __exportStar(require("./messageNotification"), exports);
38
+ __exportStar(require("./messageGenerate"), exports);
39
+ __exportStar(require("./file"), exports);
40
+ __exportStar(require("./checkout"), exports);
41
+ __exportStar(require("./profile"), exports);
42
+ __exportStar(require("./signatureParty"), exports);
43
+ __exportStar(require("./signaturePartySigned"), exports);
44
+ __exportStar(require("./party"), exports);
45
+ __exportStar(require("./placeholder"), exports);
46
+ __exportStar(require("./signaturePartyViewer"), exports);
47
+ __exportStar(require("./field"), exports);
48
+ __exportStar(require("./co-singer"), exports);
49
+ __exportStar(require("./signatureInitials"), exports);
50
+ __exportStar(require("./lease-details"), exports);
@@ -0,0 +1,4 @@
1
+ export interface IKeyValue {
2
+ key: string;
3
+ value: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { IFile } from "./file";
2
+ import { IParty } from "./party";
3
+ export interface ILeaseDetails {
4
+ address: string;
5
+ created_at: Date;
6
+ status: string;
7
+ files: IFile[];
8
+ parties: IParty[];
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface ILeaseListItem {
2
+ id: string;
3
+ address: string;
4
+ start: Date;
5
+ end: Date;
6
+ amount: string;
7
+ status: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { LeaseStatusEnum } from "./enum";
2
+ import { Sections } from "./quebec-lease-dwelling";
3
+ export interface ILease {
4
+ id: string;
5
+ details: Sections;
6
+ status: LeaseStatusEnum;
7
+ template_id: string;
8
+ created_at?: Date;
9
+ modified_at?: Date;
10
+ }
package/dist/lease.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface ILogin {
2
+ email: string;
3
+ password: string;
4
+ }
package/dist/login.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { Sections } from "./quebec-lease-dwelling";
2
+ export type ContractType = Sections;
3
+ export interface IMessageGenerate {
4
+ contract_id: string;
5
+ details: ContractType;
6
+ user_id: string;
7
+ template_name: string;
8
+ template_title: string;
9
+ language: string;
10
+ type: string;
11
+ template_variant_id: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export interface IMessageNotification {
2
+ contract_id: string;
3
+ user_id: string;
4
+ file_name: string;
5
+ type: string;
6
+ title: string;
7
+ language: string;
8
+ message: string;
9
+ template_variant_id: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface INotification {
2
+ id?: string;
3
+ payload: IPayload;
4
+ isRead: boolean;
5
+ created_at: Date;
6
+ }
7
+ export interface IPayload {
8
+ type: string;
9
+ title: string;
10
+ file_name: string;
11
+ language: string;
12
+ message?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { PartyTypeEnum } from "./enum";
2
+ export interface IParty {
3
+ name: string;
4
+ email: string;
5
+ order: number;
6
+ type: PartyTypeEnum;
7
+ telephone?: string;
8
+ }
package/dist/party.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { PartyTypeEnum, SignatureType } from "./enum";
2
+ export interface IPlaceholder {
3
+ party: PartyTypeEnum;
4
+ type: SignatureType;
5
+ order: number;
6
+ page: number;
7
+ x: number;
8
+ y: number;
9
+ width: number;
10
+ height: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface IProfile {
2
+ id?: string;
3
+ photo?: string;
4
+ notification_seen_at?: Date;
5
+ language?: "en" | "fr";
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface IProperty {
2
+ id: string;
3
+ address: string;
4
+ city: string;
5
+ state: string;
6
+ country: string;
7
+ postal: string;
8
+ number_of_units: number;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ import { sectionA } from "./sectionA";
2
+ import { sectionB } from "./sectionB";
3
+ import { sectionC } from "./sectionC";
4
+ import { sectionD } from "./sectionD";
5
+ import { sectionE } from "./sectionE";
6
+ import { sectionF } from "./sectionF";
7
+ import { sectionG } from "./sectionG";
8
+ import { sectionH } from "./sectionH";
9
+ import { sectionI } from "./sectionI";
10
+ export interface Sections {
11
+ sectionA: sectionA;
12
+ sectionB: sectionB;
13
+ sectionC: sectionC;
14
+ sectionD: sectionD;
15
+ sectionE: sectionE;
16
+ sectionF: sectionF;
17
+ sectionG: sectionG;
18
+ sectionH: sectionH;
19
+ sectionI: sectionI;
20
+ contract_number: string;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { field } from "../field";
2
+ export interface sectionA {
3
+ lessor: field[];
4
+ lessee: field[];
5
+ represented_by: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,46 @@
1
+ import { IAddress } from "../address";
2
+ export interface sectionB extends IAddress {
3
+ id?: string;
4
+ number_of_rooms: string;
5
+ residential_purposes_yes: boolean;
6
+ residential_purposes_no: boolean;
7
+ specify_if_not_residential?: string;
8
+ divided_co_ownership_yes: boolean;
9
+ divided_co_ownership_no: boolean;
10
+ outdoor_parking: boolean;
11
+ outdoor_parking_number_of_places?: string;
12
+ outdoor_parking_spaces?: string;
13
+ indoor_parking: boolean;
14
+ indoor_parking_number_of_places?: string;
15
+ indoor_parking_spaces?: string;
16
+ locker_storage_space: boolean;
17
+ specify_locker_storage_space?: string;
18
+ other_accessories_dependencies: string;
19
+ furniture_included_yes: boolean;
20
+ furniture_included_no: boolean;
21
+ tables_included: boolean;
22
+ tables_amount?: string;
23
+ chairs_included: boolean;
24
+ chairs_amount?: string;
25
+ drawers_included: boolean;
26
+ drawers_amount?: string;
27
+ couches_included: boolean;
28
+ couches_amount?: string;
29
+ armchairs_included: boolean;
30
+ armchairs_amount?: string;
31
+ beds_included: boolean;
32
+ beds_amount?: string;
33
+ beds_size?: string;
34
+ other_furniture_info_checked?: boolean;
35
+ other_furniture_info?: string;
36
+ other_furniture_info_1?: string;
37
+ other_furniture_info_2?: string;
38
+ other_furniture_info_3?: string;
39
+ other_furniture_info_4?: string;
40
+ stove_included: boolean;
41
+ microwave_included: boolean;
42
+ dishwasher_included: boolean;
43
+ fridge_included: boolean;
44
+ washer_included: boolean;
45
+ dryer_included: boolean;
46
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export interface sectionC {
2
+ rent_type: string;
3
+ duration: string;
4
+ rent_start: Date | null;
5
+ rent_start_day?: string;
6
+ rent_start_month?: string;
7
+ rent_start_year?: string;
8
+ rent_end: Date | null;
9
+ rent_end_day?: string;
10
+ rent_end_month?: string;
11
+ rent_end_year?: string;
12
+ beginning_on: Date | null;
13
+ beginning_on_day?: string;
14
+ beginning_on_month?: string;
15
+ beginning_on_year?: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ export interface sectionD {
2
+ rent_amount: string;
3
+ service_amount: string;
4
+ total_rent_amount: string;
5
+ rent_frequency_month: boolean;
6
+ rent_frequency_week: boolean;
7
+ subsidy_program_yes: boolean;
8
+ subsidy_program_no: boolean;
9
+ subsidy_program_specify: string;
10
+ first_payment_date: Date | null;
11
+ first_payment_date_day?: string;
12
+ first_payment_date_month?: string;
13
+ first_payment_date_year?: string;
14
+ rent_paid_first_day_of_month: boolean;
15
+ rent_paid_first_day_of_week: boolean;
16
+ rent_paid_specify: string;
17
+ rent_payment_method_cash: boolean;
18
+ rent_payment_method_cheque: boolean;
19
+ rent_payment_method_bank_transfer: boolean;
20
+ rent_payment_method_other: boolean;
21
+ rent_payment_other_specify: string;
22
+ post_dated_cheques_yes: boolean;
23
+ post_dated_cheques_no: boolean;
24
+ place_of_payment: string;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,51 @@
1
+ export interface sectionE {
2
+ by_laws_immovable_given: Date | null;
3
+ by_laws_immovable_given_day?: string;
4
+ by_laws_immovable_given_month?: string;
5
+ by_laws_immovable_given_year?: string;
6
+ by_laws_immovable_divided_coownership_given: Date | null;
7
+ by_laws_immovable_divided_coownership_given_day?: string;
8
+ by_laws_immovable_divided_coownership_given_month?: string;
9
+ by_laws_immovable_divided_coownership_given_year?: string;
10
+ work_repaire_before?: string;
11
+ work_repaire_before_lease_line_1?: string;
12
+ work_repaire_before_lease_line_2?: string;
13
+ work_repaire_during?: string;
14
+ work_repaire_during_lease_line_1?: string;
15
+ work_repaire_during_lease_line_2?: string;
16
+ janitorial_services: string;
17
+ janitor_name: string;
18
+ janitor_email: string;
19
+ janitor_telephone: string;
20
+ janitor_other_telephone: string;
21
+ heating_lessor: boolean;
22
+ heating_lessee: boolean;
23
+ heating_type_gas: boolean;
24
+ heating_type_electricity: boolean;
25
+ heating_type_fuel_oil: boolean;
26
+ other_than_for_heating_electricity_lessor: boolean;
27
+ other_than_for_heating_electricity_lessee: boolean;
28
+ other_than_for_heating_gas_lessor: boolean;
29
+ other_than_for_heating_gas_lessee: boolean;
30
+ hot_water_heater_rental_fee_lessor: boolean;
31
+ hot_water_heater_rental_fee_lessee: boolean;
32
+ hot_water_lessor: boolean;
33
+ hot_water_lessee: boolean;
34
+ water_consuption_tax_lessor: boolean;
35
+ water_consuption_tax_lessee: boolean;
36
+ snow_removal_parking_lessor: boolean;
37
+ snow_removal_parking_lessee: boolean;
38
+ snow_removal_balcony_lessor: boolean;
39
+ snow_removal_balcony_lessee: boolean;
40
+ snow_removal_entrance_driveway_lessor: boolean;
41
+ snow_removal_entrance_driveway_lessee: boolean;
42
+ snow_removal_stairs_lessor: boolean;
43
+ snow_removal_stairs_lessee: boolean;
44
+ right_access_land_yes: boolean;
45
+ right_access_land_no: boolean;
46
+ right_access_land_specify: string;
47
+ keep_animal_yes: boolean;
48
+ keep_animal_no: boolean;
49
+ keep_animal_specify: string;
50
+ other_services_conditions_and_restrictions: string;
51
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface sectionF {
2
+ immovable_erected: boolean;
3
+ immovable_erected_ready_habitation_on: Date | null;
4
+ immovable_erected_ready_habitation_on_day?: string;
5
+ immovable_erected_ready_habitation_on_month?: string;
6
+ immovable_erected_ready_habitation_on_year?: string;
7
+ change_destination: boolean;
8
+ change_destination_ready_habitation_on: Date | null;
9
+ change_destination_ready_habitation_on_day?: string;
10
+ change_destination_ready_habitation_on_month?: string;
11
+ change_destination_ready_habitation_on_year?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface sectionG {
2
+ lowest_rent_paid: string;
3
+ lowest_rent_paid_frequency_month: boolean;
4
+ lowest_rent_paid_frequency_week: boolean;
5
+ lowest_rent_paid_frequency_other: boolean;
6
+ other_lowest_rent_paid_frequency: string;
7
+ conditions_same_yes: boolean;
8
+ conditions_same_no: boolean;
9
+ conditions_same_if_no_specify?: string;
10
+ conditions_same_if_no_specify_line_1?: string;
11
+ conditions_same_if_no_specify_line_2?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { ICosinger } from "../co-singer";
2
+ export interface sectionH {
3
+ solidarily_liable_for_lease_yes: boolean;
4
+ solidarily_liable_for_lease_no: boolean;
5
+ co_signer: ICosinger[];
6
+ }
@@ -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 sectionI {
3
+ married_civil_union_name_spouse: string;
4
+ spouse: field[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export type ISignUp = {
2
+ id?: string;
3
+ first_name?: string;
4
+ last_name?: string;
5
+ company_name?: string;
6
+ email: string;
7
+ password: string;
8
+ language: string;
9
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface ISignatureInitials {
2
+ initials: string;
3
+ signature: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { IParty } from "./party";
2
+ export interface ISignatureParty {
3
+ file_id: string;
4
+ parties: IParty[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { PartyTypeEnum, SignStatusEnum } from "./enum";
2
+ import { IPlaceholder } from "./placeholder";
3
+ export interface ISignaturePartySigned {
4
+ name: string;
5
+ email: string;
6
+ placeholder: IPlaceholder[];
7
+ type: PartyTypeEnum;
8
+ security_code: string;
9
+ file_name: string;
10
+ signature_file_name: string;
11
+ status: SignStatusEnum;
12
+ expires_at: Date;
13
+ created_at: Date;
14
+ signed_at: Date;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { IPlaceholder } from "./placeholder";
2
+ export interface ISignaturePartyViewer {
3
+ name: string;
4
+ email: string;
5
+ file_name: string;
6
+ placeholders: IPlaceholder[];
7
+ file: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/sort.d.ts ADDED
@@ -0,0 +1 @@
1
+ export type SortType = "asc" | "desc";
package/dist/sort.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { ICountry } from "./country";
2
+ export interface IState {
3
+ id?: string;
4
+ name: string;
5
+ abbrev: string;
6
+ country: ICountry;
7
+ }
package/dist/state.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface ITemplateVariant {
2
+ id?: string;
3
+ name: string;
4
+ language: string;
5
+ file_name: string;
6
+ cover_url: string;
7
+ price: number;
8
+ platform_fee: number;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface ITemplate {
2
+ id?: string;
3
+ name: string;
4
+ description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/user.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ export interface IUser {
2
+ id: string;
3
+ first_name: string;
4
+ last_name: string;
5
+ company_name: string;
6
+ email: string;
7
+ photo: string;
8
+ notification_seen_at: Date;
9
+ language: string;
10
+ is_active?: boolean;
11
+ }
package/dist/user.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface IYesNo {
2
+ yes: boolean;
3
+ no: boolean;
4
+ }
package/dist/yes-no.js ADDED
@@ -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.11.9",
3
+ "version": "0.11.10",
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",
@@ -29,4 +29,4 @@
29
29
  "author": "Samos Technologies Inc.",
30
30
  "license": "ISC",
31
31
  "dependencies": {}
32
- }
32
+ }