@royalinvest/dto 0.36.2 → 0.38.1

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.
@@ -5,7 +5,8 @@ export interface ICertificateFormData {
5
5
  status: string;
6
6
  serial_number: string;
7
7
  creation_date: string;
8
- number_of_pages: number;
8
+ page_count: number;
9
+ hash: string;
9
10
  };
10
11
  signature_parties: {
11
12
  id: string;
@@ -14,7 +15,7 @@ export interface ICertificateFormData {
14
15
  email_address: string;
15
16
  ip_address: string;
16
17
  signature_date: string;
17
- signature_file_blob?: string;
18
+ signature_blob_path?: string;
18
19
  signature_base64_images?: string[];
19
20
  }[];
20
21
  }
@@ -3,7 +3,8 @@ export declare enum PartyTypeEnum {
3
3
  lessor = "lessor",
4
4
  lessee = "lessee",
5
5
  coSigner = "coSigner",
6
- spouse = "spouse"
6
+ spouse = "spouse",
7
+ witness = "witness"
7
8
  }
8
9
  export declare enum RentTypeEnum {
9
10
  default = "",
@@ -8,6 +8,7 @@ var PartyTypeEnum;
8
8
  PartyTypeEnum["lessee"] = "lessee";
9
9
  PartyTypeEnum["coSigner"] = "coSigner";
10
10
  PartyTypeEnum["spouse"] = "spouse";
11
+ PartyTypeEnum["witness"] = "witness";
11
12
  })(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
12
13
  var RentTypeEnum;
13
14
  (function (RentTypeEnum) {
@@ -0,0 +1,8 @@
1
+ export interface IFileCertificate {
2
+ file_base64: string;
3
+ file_type: string;
4
+ file_name: string;
5
+ }
6
+ export interface IFileCertificateStatus {
7
+ available: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from "./enum";
15
15
  export * from "./expense";
16
16
  export * from "./field";
17
17
  export * from "./file";
18
+ export * from "./fileCertificate";
18
19
  export * from "./fileMetadata";
19
20
  export * from "./fileView";
20
21
  export * from "./key-value";
@@ -39,8 +40,8 @@ export * from "./placeholderCollection";
39
40
  export * from "./profile";
40
41
  export * from "./property";
41
42
  export * from "./propertyUnit";
42
- export * from "./quebec-lease-dwelling";
43
43
  export * from "./quebec-lease-dwelling-cooperative";
44
+ export * from "./quebec-lease-dwelling";
44
45
  export * from "./savedSignature";
45
46
  export * from "./signature-party";
46
47
  export * from "./signatureParty";
@@ -56,3 +57,4 @@ export * from "./template-variant";
56
57
  export * from "./template";
57
58
  export * from "./user";
58
59
  export * from "./yes-no";
60
+ export * from "./quebec-lease-dwelling-annex6";
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ __exportStar(require("./enum"), exports);
31
31
  __exportStar(require("./expense"), exports);
32
32
  __exportStar(require("./field"), exports);
33
33
  __exportStar(require("./file"), exports);
34
+ __exportStar(require("./fileCertificate"), exports);
34
35
  __exportStar(require("./fileMetadata"), exports);
35
36
  __exportStar(require("./fileView"), exports);
36
37
  __exportStar(require("./key-value"), exports);
@@ -55,8 +56,8 @@ __exportStar(require("./placeholderCollection"), exports);
55
56
  __exportStar(require("./profile"), exports);
56
57
  __exportStar(require("./property"), exports);
57
58
  __exportStar(require("./propertyUnit"), exports);
58
- __exportStar(require("./quebec-lease-dwelling"), exports);
59
59
  __exportStar(require("./quebec-lease-dwelling-cooperative"), exports);
60
+ __exportStar(require("./quebec-lease-dwelling"), exports);
60
61
  __exportStar(require("./savedSignature"), exports);
61
62
  __exportStar(require("./signature-party"), exports);
62
63
  __exportStar(require("./signatureParty"), exports);
@@ -72,3 +73,4 @@ __exportStar(require("./template-variant"), exports);
72
73
  __exportStar(require("./template"), exports);
73
74
  __exportStar(require("./user"), exports);
74
75
  __exportStar(require("./yes-no"), exports);
76
+ __exportStar(require("./quebec-lease-dwelling-annex6"), exports);
@@ -33,8 +33,9 @@ export interface IMessageGenerateVoided {
33
33
  generate_hash?: boolean;
34
34
  }
35
35
  export interface IMessageGenerateCertificate {
36
- language: string;
37
- blob_name: string;
36
+ file_id: string;
37
+ blob_path: string;
38
38
  form_data: ICertificateFormData;
39
39
  form_instructions: JSON;
40
+ language: string;
40
41
  }
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- ;
@@ -26,3 +26,7 @@ export interface IVoidedNotification {
26
26
  notify_party_email: boolean;
27
27
  generated_file_details?: IPhysicalFileDetails;
28
28
  }
29
+ export interface IGeneratedCertificateNotification {
30
+ file_id: string;
31
+ blob_path: string;
32
+ }
@@ -0,0 +1,243 @@
1
+ import { field } from "../field";
2
+ export interface IReference {
3
+ contract_number: string;
4
+ [key: string]: string;
5
+ }
6
+ export interface IPartOne {
7
+ independent_persons: boolean;
8
+ semi_independent_persons: boolean;
9
+ other_loading_facility: boolean;
10
+ other_loading_facility_specify: string;
11
+ dwelling_with: string;
12
+ rooms: boolean;
13
+ room_private: boolean;
14
+ room_shared: boolean;
15
+ batheroom_private: boolean;
16
+ batheroom_shared: boolean;
17
+ grab_bars_batheroom: boolean;
18
+ grab_bars_carridors: boolean;
19
+ heating_central_system: boolean;
20
+ heating_individual_control: boolean;
21
+ air_conditianing_central_system: boolean;
22
+ air_conditianing_individual_control: boolean;
23
+ air_conditianing_authorized_personal: boolean;
24
+ air_conditianing_authorized_personal_type: string;
25
+ telephone: boolean;
26
+ cable_television: boolean;
27
+ wireless_internet: boolean;
28
+ wired_internet: boolean;
29
+ telecommunication_services_other: boolean;
30
+ telecommunication_services_other_line: string;
31
+ telecommunication_services_other_line_1?: string;
32
+ fixed_bad: boolean;
33
+ fixed_bathroom: boolean;
34
+ fixed_washroom: boolean;
35
+ fixed_other: boolean;
36
+ fixed_other_line: string;
37
+ fixed_other_line_1?: string;
38
+ mobile: boolean;
39
+ accessible_dwelling: boolean;
40
+ household_appliances: boolean;
41
+ household_appliances_specify: string;
42
+ television: boolean;
43
+ furniture: boolean;
44
+ furniture_specify: string;
45
+ furniture_specify_1?: string;
46
+ balcony_privat: boolean;
47
+ balcony_shared: boolean;
48
+ locked_storage_space: boolean;
49
+ locked_storage_space_location: string;
50
+ shared_laundry_room: boolean;
51
+ shared_laundry_room_services_yes: boolean;
52
+ shared_laundry_room_services_no: boolean;
53
+ elevator: boolean;
54
+ access_to_receational_activities: boolean;
55
+ access_to_receational_activities_specify: string;
56
+ social_director: boolean;
57
+ library: boolean;
58
+ shared_kitchen: boolean;
59
+ private_area_for_receiving_visitors: boolean;
60
+ indoor_common_areas_pool: boolean;
61
+ fitness_room: boolean;
62
+ billiard_room: boolean;
63
+ home_theatre_room: boolean;
64
+ multifunctional_recreation_room: boolean;
65
+ bowling_alley: boolean;
66
+ reception_room: boolean;
67
+ reception_room_may_be_rented: string;
68
+ internet_room: boolean;
69
+ indoor_common_areas_other: boolean;
70
+ indoor_common_areas_other_line: string;
71
+ indoor_common_areas_other_line_1?: string;
72
+ recreation_area: boolean;
73
+ rest_area: boolean;
74
+ garden: boolean;
75
+ outdoor_common_areas_pool: boolean;
76
+ outdoor_common_areas_other: boolean;
77
+ outdoor_common_areas_other_line: string;
78
+ outdoor_common_areas_other_line_1?: string;
79
+ religious_activities: boolean;
80
+ religious_activities_specify: string;
81
+ dining_room_open_to_visitors: boolean;
82
+ medical_services: boolean;
83
+ medical_services_specify: string;
84
+ medical_services_specify_1?: string;
85
+ nurse: boolean;
86
+ nurse_specify: string;
87
+ nurse_schedule: string;
88
+ nursing_assistant: boolean;
89
+ nursing_assistant_specify: string;
90
+ nursing_assistant_schedule: string;
91
+ care_attendant: boolean;
92
+ care_attendant_specify: string;
93
+ care_attendant_schedule: string;
94
+ security: boolean;
95
+ security_schedule: string;
96
+ staff_member_nurse: boolean;
97
+ staff_member_nursing_assistant: boolean;
98
+ staff_member_care_attendant: boolean;
99
+ staff_member_guard: boolean;
100
+ staff_member_receptionist: boolean;
101
+ staff_member_other: boolean;
102
+ staff_member_other_line: string;
103
+ staff_member_other_line_1?: string;
104
+ shuttle_service: boolean;
105
+ shuttle_service_other: boolean;
106
+ shuttle_service_other_line: string;
107
+ transportation_service_payable_on_a_per_use_basis_yes: boolean;
108
+ transportation_service_payable_on_a_per_use_basis_no: boolean;
109
+ transportation_other_line: string;
110
+ transportation_other_line_1?: string;
111
+ transportation_other_line_2?: string;
112
+ transportation_other_line_3?: string;
113
+ }
114
+ export interface IPartTwo {
115
+ number_of_meals: string;
116
+ breakfast: boolean;
117
+ breakfast_line: string;
118
+ lunch: boolean;
119
+ lunch_line: string;
120
+ supper: boolean;
121
+ supper_line: string;
122
+ daily_specials: boolean;
123
+ daily_specials_line: string;
124
+ la_carte_meals: boolean;
125
+ la_carte_meals_line: string;
126
+ special_diet_meals: boolean;
127
+ special_diet_meals_line: string;
128
+ meals_specify: string;
129
+ meals_specify_1?: string;
130
+ meal_hours_breakfast_from: string;
131
+ meal_hours_breakfast_to: string;
132
+ meal_hours_lunch_from: string;
133
+ meal_hours_lunch_to: string;
134
+ meal_hours_supper_from: string;
135
+ meal_hours_supper_to: string;
136
+ snacks: boolean;
137
+ snacks_line: string;
138
+ number_of_snacks: string;
139
+ snacks_schedule: string;
140
+ in_the_dining_room: boolean;
141
+ in_the_cafeteria: boolean;
142
+ in_the_dwelling_or_room: boolean;
143
+ in_the_dwelling_or_room_line: string;
144
+ food_services_total_monthly_cost: string;
145
+ eating_assistance: boolean;
146
+ eating_assistance_line: string;
147
+ eating_assistance_specify: string;
148
+ eating_assistance_specify_1?: string;
149
+ daily_hygiene: boolean;
150
+ daily_hygiene_line: string;
151
+ daily_hygiene_specify: string;
152
+ bathing: boolean;
153
+ bathing_line: string;
154
+ times_a_week: string;
155
+ dressing: boolean;
156
+ dressing_line: string;
157
+ dressing_specify: string;
158
+ personal_assistance_services_other: boolean;
159
+ personal_assistance_services_other_info: string;
160
+ personal_assistance_services_other_info_1?: string;
161
+ personal_assistance_services_other_info_2?: string;
162
+ personal_assistance_services_other_line: string;
163
+ distribution_of_medication: boolean;
164
+ distribution_of_medication_line: string;
165
+ administration_of_medication: boolean;
166
+ administration_of_medication_line: string;
167
+ administration_of_medication_specify: string;
168
+ administration_of_medication_specify_1?: string;
169
+ invested_care_services: boolean;
170
+ invested_care_services_line: string;
171
+ invested_care_services_specify: string;
172
+ invested_care_services_specify_1?: string;
173
+ invested_care_services_specify_2?: string;
174
+ invested_care_services_specify_3?: string;
175
+ invested_care_services_total_monthly_cost: string;
176
+ nurse: boolean;
177
+ nurse_line: string;
178
+ nurse_number_of_hours: string;
179
+ nurse_specify: string;
180
+ nurse_specify_1?: string;
181
+ nursing_assistant: boolean;
182
+ nursing_assistant_line: string;
183
+ nursing_assistant_specify: string;
184
+ nursing_assistant_specify_1?: string;
185
+ nursing_assistant_number_of_hours: string;
186
+ care_attendant: boolean;
187
+ care_attendant_line: string;
188
+ care_attendant_specify: string;
189
+ care_attendant_specify_1?: string;
190
+ care_attendant_number_of_hours: string;
191
+ nursing_care_services_total_monthly_cost: string;
192
+ household_linen: boolean;
193
+ household_linen_line: string;
194
+ household_linen_week: string;
195
+ household_linen_month: string;
196
+ clothing: boolean;
197
+ clothing_line: string;
198
+ clothing_week: string;
199
+ clothing_month: string;
200
+ cleaning_of_dwelling_or_room: boolean;
201
+ cleaning_of_dwelling_or_room_line: string;
202
+ cleaning_of_dwelling_or_room_week: string;
203
+ cleaning_of_dwelling_or_room_month: string;
204
+ cleaning_of_dwelling_or_room_specify: string;
205
+ cleaning_of_dwelling_or_room_specify_1?: string;
206
+ domestic_help_services_total_monthly_cost: string;
207
+ help_with_getting_around: boolean;
208
+ help_with_getting_around_line: string;
209
+ help_with_getting_around_specify: string;
210
+ help_with_getting_around_specify_1?: string;
211
+ medical_appointments: boolean;
212
+ medical_appointments_line: string;
213
+ errands: boolean;
214
+ errands_line: string;
215
+ security_device: boolean;
216
+ security_device_line: string;
217
+ security_device_specify: string;
218
+ security_device_specify_1?: string;
219
+ assistance_for_completing_forms: boolean;
220
+ assistance_for_completing_forms_line: string;
221
+ assistance_for_completing_forms_other: boolean;
222
+ assistance_for_completing_forms_other_line: string;
223
+ assistance_for_completing_forms_info: string;
224
+ assistance_for_completing_forms_info_1?: string;
225
+ other_services_offered_total_monthly_cost: string;
226
+ totol_monthly_cost_of_services: string;
227
+ basic_rent: string;
228
+ total_rent: string;
229
+ }
230
+ export interface ISignatures {
231
+ person_to_contact: string;
232
+ lessor: field[];
233
+ lessee: field[];
234
+ witness_id: string;
235
+ witness_name: string;
236
+ witness_email: string;
237
+ }
238
+ export interface ILeaseOfDwellingAnnex6 {
239
+ reference: IReference;
240
+ partOne: IPartOne;
241
+ partTwo: IPartTwo;
242
+ signatures: ISignatures;
243
+ }
@@ -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.36.2",
3
+ "version": "0.38.1",
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",