@investtal/models 1.4.0 → 1.4.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.
package/dist/index.mjs CHANGED
@@ -8,99 +8,337 @@ let SortDirection = /* @__PURE__ */ function(SortDirection) {
8
8
  return SortDirection;
9
9
  }({});
10
10
  //#endregion
11
- //#region src/generated/administrator/exceptions.ts
12
- const DocumentExceptions = { DOCUMENT_NOT_FOUND: "Document not found" };
11
+ //#region src/generated/settings/exceptions.ts
12
+ const RoleExceptions = { ROLE_NOT_FOUND: "Role not found" };
13
+ const SettingExceptions = {
14
+ EMAIL_IS_THE_SAME_AS_CURRENT_EMAIL: "Email is the same as the current email",
15
+ INVALID_MAGIC_LINK: "Invalid magic link",
16
+ PHONE_NUMBER_IS_THE_SAME_AS_CURRENT: "Phone number is the same as the current phone number"
17
+ };
13
18
  //#endregion
14
- //#region src/generated/ticket/ticket.enum.ts
15
- let TicketType = /* @__PURE__ */ function(TicketType) {
16
- TicketType["APPROVE_USER_TO_BROKER"] = "APPROVE_USER_TO_BROKER";
17
- TicketType["APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"] = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE";
18
- return TicketType;
19
+ //#region src/generated/auth/auth.enum.ts
20
+ let RoleCodes = /* @__PURE__ */ function(RoleCodes) {
21
+ RoleCodes["SUPER_ADMIN"] = "SUPER_ADMIN";
22
+ RoleCodes["ADMIN"] = "ADMIN";
23
+ RoleCodes["BROKER"] = "BROKER";
24
+ RoleCodes["CLIENT"] = "CLIENT";
25
+ RoleCodes["BACK_OFFICE"] = "BACK_OFFICE";
26
+ RoleCodes["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
27
+ RoleCodes["OWNER_REPRESENTATIVE"] = "OWNER_REPRESENTATIVE";
28
+ return RoleCodes;
19
29
  }({});
20
- let TicketStatus = /* @__PURE__ */ function(TicketStatus) {
21
- TicketStatus["PENDING"] = "PENDING";
22
- TicketStatus["PROCESSING"] = "PROCESSING";
23
- TicketStatus["APPROVED"] = "APPROVED";
24
- TicketStatus["REJECTED"] = "REJECTED";
25
- return TicketStatus;
30
+ let UserLanguage = /* @__PURE__ */ function(UserLanguage) {
31
+ UserLanguage["AF"] = "AF";
32
+ UserLanguage["SQ"] = "SQ";
33
+ UserLanguage["AM"] = "AM";
34
+ UserLanguage["AR"] = "AR";
35
+ UserLanguage["HY"] = "HY";
36
+ UserLanguage["AZ"] = "AZ";
37
+ UserLanguage["EU"] = "EU";
38
+ UserLanguage["BE"] = "BE";
39
+ UserLanguage["BN"] = "BN";
40
+ UserLanguage["BS"] = "BS";
41
+ UserLanguage["BG"] = "BG";
42
+ UserLanguage["CA"] = "CA";
43
+ UserLanguage["CEB"] = "CEB";
44
+ UserLanguage["NY"] = "NY";
45
+ UserLanguage["ZH"] = "ZH";
46
+ UserLanguage["ZH_CN"] = "ZH_CN";
47
+ UserLanguage["ZH_TW"] = "ZH_TW";
48
+ UserLanguage["CO"] = "CO";
49
+ UserLanguage["HR"] = "HR";
50
+ UserLanguage["CS"] = "CS";
51
+ UserLanguage["DA"] = "DA";
52
+ UserLanguage["NL"] = "NL";
53
+ UserLanguage["EN"] = "EN";
54
+ UserLanguage["EO"] = "EO";
55
+ UserLanguage["ET"] = "ET";
56
+ UserLanguage["TL"] = "TL";
57
+ UserLanguage["FI"] = "FI";
58
+ UserLanguage["FR"] = "FR";
59
+ UserLanguage["FY"] = "FY";
60
+ UserLanguage["GL"] = "GL";
61
+ UserLanguage["KA"] = "KA";
62
+ UserLanguage["DE"] = "DE";
63
+ UserLanguage["EL"] = "EL";
64
+ UserLanguage["GU"] = "GU";
65
+ UserLanguage["HT"] = "HT";
66
+ UserLanguage["HA"] = "HA";
67
+ UserLanguage["HAW"] = "HAW";
68
+ UserLanguage["HE"] = "HE";
69
+ UserLanguage["HI"] = "HI";
70
+ UserLanguage["HMN"] = "HMN";
71
+ UserLanguage["HU"] = "HU";
72
+ UserLanguage["IS"] = "IS";
73
+ UserLanguage["IG"] = "IG";
74
+ UserLanguage["ID"] = "ID";
75
+ UserLanguage["GA"] = "GA";
76
+ UserLanguage["IT"] = "IT";
77
+ UserLanguage["JA"] = "JA";
78
+ UserLanguage["JV"] = "JV";
79
+ UserLanguage["KN"] = "KN";
80
+ UserLanguage["KK"] = "KK";
81
+ UserLanguage["KM"] = "KM";
82
+ UserLanguage["RW"] = "RW";
83
+ UserLanguage["KO"] = "KO";
84
+ UserLanguage["KU"] = "KU";
85
+ UserLanguage["KY"] = "KY";
86
+ UserLanguage["LO"] = "LO";
87
+ UserLanguage["LA"] = "LA";
88
+ UserLanguage["LV"] = "LV";
89
+ UserLanguage["LT"] = "LT";
90
+ UserLanguage["LB"] = "LB";
91
+ UserLanguage["MK"] = "MK";
92
+ UserLanguage["MG"] = "MG";
93
+ UserLanguage["MS"] = "MS";
94
+ UserLanguage["ML"] = "ML";
95
+ UserLanguage["MT"] = "MT";
96
+ UserLanguage["MI"] = "MI";
97
+ UserLanguage["MR"] = "MR";
98
+ UserLanguage["MN"] = "MN";
99
+ UserLanguage["MY"] = "MY";
100
+ UserLanguage["NE"] = "NE";
101
+ UserLanguage["NO"] = "NO";
102
+ UserLanguage["OR"] = "OR";
103
+ UserLanguage["PS"] = "PS";
104
+ UserLanguage["FA"] = "FA";
105
+ UserLanguage["PL"] = "PL";
106
+ UserLanguage["PT"] = "PT";
107
+ UserLanguage["PA"] = "PA";
108
+ UserLanguage["RO"] = "RO";
109
+ UserLanguage["RU"] = "RU";
110
+ UserLanguage["SM"] = "SM";
111
+ UserLanguage["GD"] = "GD";
112
+ UserLanguage["SR"] = "SR";
113
+ UserLanguage["ST"] = "ST";
114
+ UserLanguage["SN"] = "SN";
115
+ UserLanguage["SD"] = "SD";
116
+ UserLanguage["SI"] = "SI";
117
+ UserLanguage["SK"] = "SK";
118
+ UserLanguage["SL"] = "SL";
119
+ UserLanguage["SO"] = "SO";
120
+ UserLanguage["ES"] = "ES";
121
+ UserLanguage["SU"] = "SU";
122
+ UserLanguage["SW"] = "SW";
123
+ UserLanguage["SV"] = "SV";
124
+ UserLanguage["TG"] = "TG";
125
+ UserLanguage["TA"] = "TA";
126
+ UserLanguage["TT"] = "TT";
127
+ UserLanguage["TE"] = "TE";
128
+ UserLanguage["TH"] = "TH";
129
+ UserLanguage["TR"] = "TR";
130
+ UserLanguage["TK"] = "TK";
131
+ UserLanguage["UK"] = "UK";
132
+ UserLanguage["UR"] = "UR";
133
+ UserLanguage["UG"] = "UG";
134
+ UserLanguage["UZ"] = "UZ";
135
+ UserLanguage["VI"] = "VI";
136
+ UserLanguage["CY"] = "CY";
137
+ UserLanguage["XH"] = "XH";
138
+ UserLanguage["YI"] = "YI";
139
+ UserLanguage["YO"] = "YO";
140
+ UserLanguage["ZU"] = "ZU";
141
+ UserLanguage["VN"] = "VN";
142
+ return UserLanguage;
26
143
  }({});
27
- //#endregion
28
- //#region src/generated/blacklist/exceptions.ts
29
- const BlacklistExceptions = {
30
- FORBIDDEN: "You are not authorized to create a blacklist",
31
- NOT_FOUND: "Blacklist not found"
32
- };
33
- //#endregion
34
- //#region src/generated/blacklist/blacklist.enum.ts
35
- let BlackListEntityType = /* @__PURE__ */ function(BlackListEntityType) {
36
- BlackListEntityType["USER"] = "USER";
37
- BlackListEntityType["ORGANIZATION"] = "ORGANIZATION";
38
- return BlackListEntityType;
144
+ let UserGender = /* @__PURE__ */ function(UserGender) {
145
+ UserGender["MALE"] = "MALE";
146
+ UserGender["FEMALE"] = "FEMALE";
147
+ UserGender["OTHER"] = "OTHER";
148
+ return UserGender;
39
149
  }({});
40
- let BlackListStatus = /* @__PURE__ */ function(BlackListStatus) {
41
- BlackListStatus["ACTIVE"] = "ACTIVE";
42
- BlackListStatus["EXPIRED"] = "EXPIRED";
43
- BlackListStatus["REMOVED"] = "REMOVED";
44
- return BlackListStatus;
150
+ let UserStatus = /* @__PURE__ */ function(UserStatus) {
151
+ UserStatus["ACTIVE"] = "ACTIVE";
152
+ UserStatus["INACTIVE"] = "INACTIVE";
153
+ UserStatus["BLOCKED"] = "BLOCKED";
154
+ return UserStatus;
45
155
  }({});
46
- //#endregion
47
- //#region src/generated/conversation/exceptions.ts
48
- const ConversationExceptions = {
49
- CHAT_GROUP_NOT_FOUND: "Chat group not found",
50
- MEMBER_NOT_FOUND: "Member not found",
51
- NOT_CHAT_GROUP_MEMBER: "User is not a member of this chat group",
52
- ALREADY_MEMBER: "User is already a member of this chat group",
53
- INSUFFICIENT_PERMISSIONS: "Insufficient permissions to perform this action",
54
- MEMBER_ALREADY_EXISTS: "Member already exists in this chat group",
55
- MEMBER_HAS_LEFT: "Member has left this chat group",
56
- CANNOT_DELETE_DIRECT_MESSAGE: "Cannot delete direct message chat group",
57
- CANNOT_DELETE_DEAL_LINKED_CHAT: "Cannot delete chat group linked to a deal",
58
- CANNOT_DELETE_DEAL_STEP_LINKED_CHAT: "Cannot delete chat group linked to a deal step",
59
- MESSAGE_NOT_FOUND: "Message not found",
60
- MESSAGE_NOT_IN_CHAT_GROUP: "Message does not belong to this chat group"
61
- };
62
- //#endregion
63
- //#region src/generated/conversation/conversation.enum.ts
64
- let ChatGroupMemberRole = /* @__PURE__ */ function(ChatGroupMemberRole) {
65
- ChatGroupMemberRole["ADMIN"] = "ADMIN";
66
- ChatGroupMemberRole["MEMBER"] = "MEMBER";
67
- ChatGroupMemberRole["GUEST"] = "GUEST";
68
- return ChatGroupMemberRole;
156
+ let UserHistoryType = /* @__PURE__ */ function(UserHistoryType) {
157
+ UserHistoryType["LOGIN"] = "LOGIN";
158
+ UserHistoryType["LOGOUT"] = "LOGOUT";
159
+ return UserHistoryType;
69
160
  }({});
70
- let MessageType = /* @__PURE__ */ function(MessageType) {
71
- MessageType["TEXT"] = "TEXT";
72
- MessageType["IMAGE"] = "IMAGE";
73
- MessageType["VIDEO"] = "VIDEO";
74
- MessageType["AUDIO"] = "AUDIO";
75
- MessageType["DOCUMENT"] = "DOCUMENT";
76
- MessageType["LINK"] = "LINK";
77
- return MessageType;
161
+ let VerificationType = /* @__PURE__ */ function(VerificationType) {
162
+ VerificationType["OTP"] = "OTP";
163
+ return VerificationType;
164
+ }({});
165
+ let OtpType = /* @__PURE__ */ function(OtpType) {
166
+ OtpType["ACCOUNT_OTP"] = "ACCOUNT_OTP";
167
+ OtpType["TRANSACTION_OTP"] = "TRANSACTION_OTP";
168
+ return OtpType;
78
169
  }({});
79
170
  //#endregion
80
- //#region src/generated/investor/exceptions.ts
81
- const InvestorExceptions = {
82
- INVESTOR_NOT_FOUND: "Investor not found",
83
- MEMBER_NOT_FOUND: "Member not found",
84
- MEMBER_ALREADY_DELETED: "Member already deleted",
85
- MEMBER_ALREADY_REGISTERED: "Member already registered",
86
- ORGANIZATION_NOT_FOUND: "Organization not found",
87
- ROLE_NOT_FOUND: "Role not found"
171
+ //#region src/generated/deal/exceptions.ts
172
+ const DealExceptions = {
173
+ DEAL_NOT_FOUND: "Deal not found",
174
+ DEAL_STEP_NOT_FOUND: "Deal step not found"
175
+ };
176
+ const DealStepExceptions = {
177
+ DEAL_STEP_NOT_FOUND: "Deal step not found",
178
+ DEAL_STEP_PARTICIPANTS_NOT_FOUND: "Deal step participants not found"
88
179
  };
180
+ const PreDealExceptions = { PRE_DEAL_NOT_FOUND: "Pre-deal not found" };
89
181
  //#endregion
90
- //#region src/generated/notification/notification.enum.ts
91
- let NotificationEnv = /* @__PURE__ */ function(NotificationEnv) {
92
- NotificationEnv["PRODUCTION"] = "production";
93
- NotificationEnv["TESTING"] = "testing";
94
- NotificationEnv["STAGING"] = "staging";
95
- return NotificationEnv;
182
+ //#region src/generated/deal/deal.enum.ts
183
+ let DealStatus = /* @__PURE__ */ function(DealStatus) {
184
+ DealStatus["PENDING"] = "PENDING";
185
+ DealStatus["PROCESSING"] = "PROCESSING";
186
+ DealStatus["COMPLETED"] = "COMPLETED";
187
+ DealStatus["CANCELLED"] = "CANCELLED";
188
+ DealStatus["ON_HOLD"] = "ON_HOLD";
189
+ return DealStatus;
96
190
  }({});
97
- let NotificationType = /* @__PURE__ */ function(NotificationType) {
98
- NotificationType["EMAIL"] = "EMAIL";
99
- NotificationType["SMS"] = "SMS";
100
- NotificationType["PUSH"] = "PUSH";
101
- return NotificationType;
191
+ let DealFilterType = /* @__PURE__ */ function(DealFilterType) {
192
+ DealFilterType["ORDER_REQUEST_RENT"] = "ORDER_REQUEST_RENT";
193
+ DealFilterType["ORDER_REQUEST_SELL"] = "ORDER_REQUEST_SELL";
194
+ DealFilterType["CONSIGNMENT_REQUEST_RENT"] = "CONSIGNMENT_REQUEST_RENT";
195
+ DealFilterType["CONSIGNMENT_REQUEST_SELL"] = "CONSIGNMENT_REQUEST_SELL";
196
+ return DealFilterType;
102
197
  }({});
103
- let NotificationDetailStatus = /* @__PURE__ */ function(NotificationDetailStatus) {
198
+ let DealStepStatus = /* @__PURE__ */ function(DealStepStatus) {
199
+ DealStepStatus["PENDING"] = "PENDING";
200
+ DealStepStatus["PROCESSING"] = "PROCESSING";
201
+ DealStepStatus["COMPLETED"] = "COMPLETED";
202
+ DealStepStatus["CANCELLED"] = "CANCELLED";
203
+ DealStepStatus["ON_HOLD"] = "ON_HOLD";
204
+ return DealStepStatus;
205
+ }({});
206
+ let DealProgress = /* @__PURE__ */ function(DealProgress) {
207
+ DealProgress["INITIATED"] = "INITIATED";
208
+ DealProgress["CONSULTING"] = "CONSULTING";
209
+ DealProgress["SCHEDULE_SURVEY"] = "SCHEDULE_SURVEY";
210
+ DealProgress["NEGOTIATING"] = "NEGOTIATING";
211
+ DealProgress["DEPOSIT"] = "DEPOSIT";
212
+ DealProgress["PAYMENT"] = "PAYMENT";
213
+ DealProgress["HANDOVER"] = "HANDOVER";
214
+ DealProgress["COMPLETED"] = "COMPLETED";
215
+ DealProgress["CANCELLED"] = "CANCELLED";
216
+ return DealProgress;
217
+ }({});
218
+ let ParticipantRole = /* @__PURE__ */ function(ParticipantRole) {
219
+ ParticipantRole["CLIENT_BROKER"] = "CLIENT_BROKER";
220
+ ParticipantRole["INVESTOR_BROKER"] = "INVESTOR_BROKER";
221
+ ParticipantRole["OWNER"] = "OWNER";
222
+ ParticipantRole["INVESTOR"] = "INVESTOR";
223
+ ParticipantRole["CLIENT"] = "CLIENT";
224
+ ParticipantRole["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
225
+ return ParticipantRole;
226
+ }({});
227
+ let ParticipantStatus = /* @__PURE__ */ function(ParticipantStatus) {
228
+ ParticipantStatus["PENDING"] = "PENDING";
229
+ ParticipantStatus["APPROVED"] = "APPROVED";
230
+ ParticipantStatus["REJECTED"] = "REJECTED";
231
+ ParticipantStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
232
+ ParticipantStatus["NO_RESPONSE"] = "NO_RESPONSE";
233
+ return ParticipantStatus;
234
+ }({});
235
+ //#endregion
236
+ //#region src/generated/appointment/exceptions.ts
237
+ const AppointmentExceptions = {
238
+ APPOINTMENT_NOT_FOUND: "Appointment not found or access denied",
239
+ ACCESS_DENIED: "Access denied to this appointment",
240
+ PERMISSION_DENIED: "Permission denied",
241
+ CREATION_FAILED: "Failed to create appointment",
242
+ UPDATE_FAILED: "Failed to update appointment",
243
+ DELETE_FAILED: "Failed to delete appointment",
244
+ INVALID_STATUS: "Invalid appointment status",
245
+ INVALID_DATE: "Invalid appointment date",
246
+ PARTICIPANT_NOT_FOUND: "Participant not found",
247
+ REMINDER_FAILED: "Failed to set appointment reminder"
248
+ };
249
+ //#endregion
250
+ //#region src/generated/appointment/appointment.enum.ts
251
+ let AppointmentStatus = /* @__PURE__ */ function(AppointmentStatus) {
252
+ AppointmentStatus["PENDING_APPROVAL"] = "PENDING_APPROVAL";
253
+ AppointmentStatus["SCHEDULED"] = "SCHEDULED";
254
+ AppointmentStatus["COMPLETED"] = "COMPLETED";
255
+ AppointmentStatus["CANCELLED"] = "CANCELLED";
256
+ return AppointmentStatus;
257
+ }({});
258
+ let AppointmentType = /* @__PURE__ */ function(AppointmentType) {
259
+ AppointmentType["SURVEY_SCHEDULING"] = "SURVEY_SCHEDULING";
260
+ AppointmentType["NEGOTIATION"] = "NEGOTIATION";
261
+ AppointmentType["LEASE_DEPOSIT"] = "LEASE_DEPOSIT";
262
+ AppointmentType["LEGAL_LICENSING"] = "LEGAL_LICENSING";
263
+ AppointmentType["FINAL_CONTRACT_PAYMENT"] = "FINAL_CONTRACT_PAYMENT";
264
+ AppointmentType["PROPERTY_HANDOVER"] = "PROPERTY_HANDOVER";
265
+ AppointmentType["TRANSACTION_COMPLETED"] = "TRANSACTION_COMPLETED";
266
+ return AppointmentType;
267
+ }({});
268
+ let ScheduleType = /* @__PURE__ */ function(ScheduleType) {
269
+ ScheduleType["SCHEDULE_CREATED"] = "SCHEDULE_CREATED";
270
+ ScheduleType["DAILY_ACKNOWLEDGMENT"] = "DAILY_ACKNOWLEDGMENT";
271
+ ScheduleType["PRE_MEETING"] = "PRE_MEETING";
272
+ return ScheduleType;
273
+ }({});
274
+ let SchedulerStatus = /* @__PURE__ */ function(SchedulerStatus) {
275
+ SchedulerStatus["PENDING"] = "PENDING";
276
+ SchedulerStatus["SENT"] = "SENT";
277
+ SchedulerStatus["DELIVERED"] = "DELIVERED";
278
+ SchedulerStatus["FAILED"] = "FAILED";
279
+ SchedulerStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
280
+ SchedulerStatus["CANCELLED"] = "CANCELLED";
281
+ return SchedulerStatus;
282
+ }({});
283
+ //#endregion
284
+ //#region src/generated/broker/exceptions.ts
285
+ const BrokerExceptions = {
286
+ INVITED_USER_NOT_FOUND: "Invited user not found",
287
+ INPUT_DATA_IS_INVALID: "Input data is invalid"
288
+ };
289
+ //#endregion
290
+ //#region src/generated/broker/broker.enum.ts
291
+ let ConvertBrokerClientType = /* @__PURE__ */ function(ConvertBrokerClientType) {
292
+ ConvertBrokerClientType["VOICE"] = "VOICE";
293
+ ConvertBrokerClientType["CSV"] = "CSV";
294
+ ConvertBrokerClientType["EXCEL"] = "EXCEL";
295
+ return ConvertBrokerClientType;
296
+ }({});
297
+ //#endregion
298
+ //#region src/generated/identity/exceptions.ts
299
+ const IdentityExceptions = { IDENTITY_NOT_FOUND: "Identity not found" };
300
+ //#endregion
301
+ //#region src/generated/identity/identity.enum.ts
302
+ let IdentityType = /* @__PURE__ */ function(IdentityType) {
303
+ IdentityType["ID_CARD"] = "ID_CARD";
304
+ return IdentityType;
305
+ }({});
306
+ let IdentityVerificationStatus = /* @__PURE__ */ function(IdentityVerificationStatus) {
307
+ IdentityVerificationStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
308
+ IdentityVerificationStatus["APPROVED"] = "APPROVED";
309
+ return IdentityVerificationStatus;
310
+ }({});
311
+ let IdentityNationality = /* @__PURE__ */ function(IdentityNationality) {
312
+ IdentityNationality["VN"] = "VN";
313
+ return IdentityNationality;
314
+ }({});
315
+ //#endregion
316
+ //#region src/generated/auth/exceptions.ts
317
+ const UserExceptions = {
318
+ USER_NOT_FOUND: "User not found",
319
+ INVALID_CREDENTIALS: "Invalid credentials",
320
+ TOO_MANY_LOGIN_ATTEMPTS: "Too many login attempts",
321
+ USER_NOT_ACTIVE: "User is not active",
322
+ PASSWORD_INCORRECT: "Password is not correct",
323
+ USER_ALREADY_EXISTS: "User already exists",
324
+ OTP_EXPIRED: "OTP expired",
325
+ INVALID_OTP: "Invalid OTP"
326
+ };
327
+ //#endregion
328
+ //#region src/generated/notification/notification.enum.ts
329
+ let NotificationEnv = /* @__PURE__ */ function(NotificationEnv) {
330
+ NotificationEnv["PRODUCTION"] = "production";
331
+ NotificationEnv["TESTING"] = "testing";
332
+ NotificationEnv["STAGING"] = "staging";
333
+ return NotificationEnv;
334
+ }({});
335
+ let NotificationType = /* @__PURE__ */ function(NotificationType) {
336
+ NotificationType["EMAIL"] = "EMAIL";
337
+ NotificationType["SMS"] = "SMS";
338
+ NotificationType["PUSH"] = "PUSH";
339
+ return NotificationType;
340
+ }({});
341
+ let NotificationDetailStatus = /* @__PURE__ */ function(NotificationDetailStatus) {
104
342
  NotificationDetailStatus["CREATED"] = "CREATED";
105
343
  NotificationDetailStatus["SENT"] = "SENT";
106
344
  NotificationDetailStatus["FAILED"] = "FAILED";
@@ -132,6 +370,48 @@ let JobStatus = /* @__PURE__ */ function(JobStatus) {
132
370
  return JobStatus;
133
371
  }({});
134
372
  //#endregion
373
+ //#region src/generated/location/exceptions.ts
374
+ const ProvinceExceptions = { PROVINCE_NOT_FOUND: "Province not found" };
375
+ const DistrictExceptions = { DISTRICT_NOT_FOUND: "District not found" };
376
+ const WardExceptions = { WARD_NOT_FOUND: "Ward not found" };
377
+ //#endregion
378
+ //#region src/generated/agreement/exceptions.ts
379
+ const AgreementExceptions = {
380
+ AGREEMENT_NOT_FOUND: "Agreement not found",
381
+ AGREEMENT_IS_NOT_ALLOW: "Agreement is not allowed",
382
+ AGREEMENT_ALREADY_SIGNED: "Agreement already signed"
383
+ };
384
+ const AgreementTypeExceptions = {
385
+ AGREEMENT_TYPE_NOT_FOUND: "Agreement type not found",
386
+ AGREEMENT_TYPE_IS_NOT_ALLOW: "Agreement type is not allow"
387
+ };
388
+ //#endregion
389
+ //#region src/generated/payment-process/exceptions.ts
390
+ const PaymentProcessExceptions = {
391
+ PAYMENT_PROCESS_NOT_FOUND: "Payment process not found",
392
+ PAYMENT_PROCESS_NOT_IN_PROGRESS: "Payment process is not in progress",
393
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment process",
394
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment process",
395
+ PAYMENT_INSTALLMENT_NOT_FOUND: "Payment installment not found",
396
+ PAYMENT_INSTALLMENT_NOT_PENDING: "Payment installment is not pending",
397
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment installment",
398
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment installment"
399
+ };
400
+ //#endregion
401
+ //#region src/generated/payment-process/payment-process.enum.ts
402
+ let PaymentProcessStatus = /* @__PURE__ */ function(PaymentProcessStatus) {
403
+ PaymentProcessStatus["IN_PROGRESS"] = "IN_PROGRESS";
404
+ PaymentProcessStatus["COMPLETED"] = "COMPLETED";
405
+ PaymentProcessStatus["CANCELLED"] = "CANCELLED";
406
+ return PaymentProcessStatus;
407
+ }({});
408
+ let PaymentInstallmentStatus = /* @__PURE__ */ function(PaymentInstallmentStatus) {
409
+ PaymentInstallmentStatus["PENDING"] = "PENDING";
410
+ PaymentInstallmentStatus["PAID"] = "PAID";
411
+ PaymentInstallmentStatus["CANCELLED"] = "CANCELLED";
412
+ return PaymentInstallmentStatus;
413
+ }({});
414
+ //#endregion
135
415
  //#region src/generated/project/exceptions.ts
136
416
  const ProjectExceptions = {
137
417
  PROJECT_NOT_FOUND: "Project not found",
@@ -268,312 +548,148 @@ let PropertyIdentifierType = /* @__PURE__ */ function(PropertyIdentifierType) {
268
548
  PropertyIdentifierType["PARCEL_NUMBER"] = "PARCEL_NUMBER";
269
549
  PropertyIdentifierType["MAP_SHEET"] = "MAP_SHEET";
270
550
  PropertyIdentifierType["GOVERNMENT_CODE"] = "GOVERNMENT_CODE";
271
- PropertyIdentifierType["INTERNAL_CODE"] = "INTERNAL_CODE";
272
- return PropertyIdentifierType;
273
- }({});
274
- let DocumentCategory = /* @__PURE__ */ function(DocumentCategory) {
275
- DocumentCategory["PROJECT_LEGAL"] = "PROJECT_LEGAL";
276
- DocumentCategory["LAND_LEGAL"] = "LAND_LEGAL";
277
- DocumentCategory["CONSTRUCTION_LEGAL"] = "CONSTRUCTION_LEGAL";
278
- DocumentCategory["OTHER"] = "OTHER";
279
- return DocumentCategory;
280
- }({});
281
- let DocumentType = /* @__PURE__ */ function(DocumentType) {
282
- DocumentType["PROJECT_APPROVAL_DECISION"] = "PROJECT_APPROVAL_DECISION";
283
- DocumentType["INVESTMENT_CERTIFICATE"] = "INVESTMENT_CERTIFICATE";
284
- DocumentType["PLANNING_DECISION_1_500"] = "PLANNING_DECISION_1_500";
285
- DocumentType["PLANNING_DECISION_1_2000"] = "PLANNING_DECISION_1_2000";
286
- DocumentType["LAND_USE_RIGHT_CERTIFICATE_RED_BOOK"] = "LAND_USE_RIGHT_CERTIFICATE_RED_BOOK";
287
- DocumentType["LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND"] = "LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND";
288
- DocumentType["LAND_USE_RIGHT_CERTIFICATE_OTHER"] = "LAND_USE_RIGHT_CERTIFICATE_OTHER";
289
- DocumentType["BUILDING_PERMIT"] = "BUILDING_PERMIT";
290
- DocumentType["ENVIRONMENTAL_PERMIT"] = "ENVIRONMENTAL_PERMIT";
291
- DocumentType["FIRE_SAFETY_CERTIFICATE"] = "FIRE_SAFETY_CERTIFICATE";
292
- DocumentType["OTHER"] = "OTHER";
293
- return DocumentType;
294
- }({});
295
- let LandCurrentStatus = /* @__PURE__ */ function(LandCurrentStatus) {
296
- LandCurrentStatus["PLANNED"] = "PLANNED";
297
- LandCurrentStatus["DESIGNING"] = "DESIGNING";
298
- LandCurrentStatus["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
299
- LandCurrentStatus["TOPPING_OUT"] = "TOPPING_OUT";
300
- LandCurrentStatus["NEAR_COMPLETION"] = "NEAR_COMPLETION";
301
- LandCurrentStatus["COMPLETED"] = "COMPLETED";
302
- LandCurrentStatus["READY_FOR_HANDOVER"] = "READY_FOR_HANDOVER";
303
- LandCurrentStatus["HANDED_OVER"] = "HANDED_OVER";
304
- LandCurrentStatus["ON_HOLD"] = "ON_HOLD";
305
- LandCurrentStatus["CANCELLED"] = "CANCELLED";
306
- return LandCurrentStatus;
307
- }({});
308
- let LandType = /* @__PURE__ */ function(LandType) {
309
- LandType["LONG_TERM_OWNERSHIP"] = "LONG_TERM_OWNERSHIP";
310
- LandType["ANNUAL_RENT"] = "ANNUAL_RENT";
311
- LandType["ONE_TIME_RENTAL_PAYMENT"] = "ONE_TIME_RENTAL_PAYMENT";
312
- return LandType;
313
- }({});
314
- let Orientation = /* @__PURE__ */ function(Orientation) {
315
- Orientation["North"] = "NORTH";
316
- Orientation["South"] = "SOUTH";
317
- Orientation["East"] = "EAST";
318
- Orientation["West"] = "WEST";
319
- Orientation["Northeast"] = "NORTHEAST";
320
- Orientation["Northwest"] = "NORTHWEST";
321
- Orientation["Southeast"] = "SOUTHEAST";
322
- Orientation["Southwest"] = "SOUTHWEST";
323
- Orientation["Unknown"] = "UNKNOWN";
324
- return Orientation;
325
- }({});
326
- let VersionAction = /* @__PURE__ */ function(VersionAction) {
327
- VersionAction["CREATE"] = "CREATE";
328
- VersionAction["UPDATE"] = "UPDATE";
329
- return VersionAction;
330
- }({});
331
- //#endregion
332
- //#region src/generated/for-sale/exceptions.ts
333
- const ForSaleExceptions = { FOR_SALE_NOT_FOUND: "For sale not found" };
334
- //#endregion
335
- //#region src/generated/for-sale/for-sale.enum.ts
336
- let ForSaleRoadType = /* @__PURE__ */ function(ForSaleRoadType) {
337
- ForSaleRoadType["UNRECOGNIZED"] = "UNRECOGNIZED";
338
- ForSaleRoadType["ASPHALT"] = "ASPHALT";
339
- ForSaleRoadType["CONCRETE"] = "CONCRETE";
340
- ForSaleRoadType["DIRT"] = "DIRT";
341
- ForSaleRoadType["BRICK"] = "BRICK";
342
- ForSaleRoadType["CRUSHED_ROCK"] = "CRUSHED_ROCK";
343
- return ForSaleRoadType;
344
- }({});
345
- let ForSaleBuildingStandard = /* @__PURE__ */ function(ForSaleBuildingStandard) {
346
- ForSaleBuildingStandard["UNRECOGNIZED"] = "UNRECOGNIZED";
347
- ForSaleBuildingStandard["BASIC"] = "BASIC";
348
- ForSaleBuildingStandard["MEDIUM"] = "MEDIUM";
349
- ForSaleBuildingStandard["TEMPORARY"] = "TEMPORARY";
350
- ForSaleBuildingStandard["HIGH_END"] = "HIGH_END";
351
- ForSaleBuildingStandard["LUXURY"] = "LUXURY";
352
- return ForSaleBuildingStandard;
353
- }({});
354
- let ForSaleInfrastructureStatus = /* @__PURE__ */ function(ForSaleInfrastructureStatus) {
355
- ForSaleInfrastructureStatus["UNRECOGNIZED"] = "UNRECOGNIZED";
356
- ForSaleInfrastructureStatus["BASIC_INFRASTRUCTURE"] = "BASIC_INFRASTRUCTURE";
357
- ForSaleInfrastructureStatus["NO_INFRASTRUCTURE"] = "NO_INFRASTRUCTURE";
358
- ForSaleInfrastructureStatus["OPERATING"] = "OPERATING";
359
- ForSaleInfrastructureStatus["COMPLETED_INFRASTRUCTURE"] = "COMPLETED_INFRASTRUCTURE";
360
- ForSaleInfrastructureStatus["STEEL_FRAME"] = "STEEL_FRAME";
361
- ForSaleInfrastructureStatus["CONCRETE_FRAME"] = "CONCRETE_FRAME";
362
- ForSaleInfrastructureStatus["TEMPORARY_INFRASTRUCTURE"] = "TEMPORARY_INFRASTRUCTURE";
363
- ForSaleInfrastructureStatus["FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE"] = "FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE";
364
- ForSaleInfrastructureStatus["INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE"] = "INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE";
365
- ForSaleInfrastructureStatus["UNLEVELED"] = "UNLEVELED";
366
- return ForSaleInfrastructureStatus;
367
- }({});
368
- let ForSalePropertyType = /* @__PURE__ */ function(ForSalePropertyType) {
369
- ForSalePropertyType["UNRECOGNIZED"] = "UNRECOGNIZED";
370
- ForSalePropertyType["INDUSTRIAL_LAND_AND_FACTORIES"] = "INDUSTRIAL_LAND_AND_FACTORIES";
371
- ForSalePropertyType["FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND"] = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND";
372
- ForSalePropertyType["RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND"] = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND";
373
- ForSalePropertyType["AMUSEMENT_PARKS_AND_SPORTS_ZONES"] = "AMUSEMENT_PARKS_AND_SPORTS_ZONES";
374
- ForSalePropertyType["TOWNHOUSES_AND_APARTMENTS"] = "TOWNHOUSES_AND_APARTMENTS";
375
- ForSalePropertyType["HOSPITALS_AND_CLINICS"] = "HOSPITALS_AND_CLINICS";
376
- ForSalePropertyType["SCHOOLS_AND_TRAINING_CENTERS"] = "SCHOOLS_AND_TRAINING_CENTERS";
377
- ForSalePropertyType["ENERGY_PROJECT"] = "ENERGY_PROJECT";
378
- ForSalePropertyType["SHOPPING_CENTERS_AND_OFFICE"] = "SHOPPING_CENTERS_AND_OFFICE";
379
- ForSalePropertyType["INDUSTRIAL_PARKS"] = "INDUSTRIAL_PARKS";
380
- ForSalePropertyType["RESORT_AND_HOTEL"] = "RESORT_AND_HOTEL";
381
- ForSalePropertyType["MINES_AND_MINERALS"] = "MINES_AND_MINERALS";
382
- ForSalePropertyType["GAS_STATIONS_AND_EV_CHARGING_STATIONS"] = "GAS_STATIONS_AND_EV_CHARGING_STATIONS";
383
- ForSalePropertyType["DOCKS_AND_YARDS"] = "DOCKS_AND_YARDS";
384
- ForSalePropertyType["ECOLOGICAL_AREAS_AND_FARMS"] = "ECOLOGICAL_AREAS_AND_FARMS";
385
- return ForSalePropertyType;
386
- }({});
387
- let ForSalePostType = /* @__PURE__ */ function(ForSalePostType) {
388
- ForSalePostType["NORMAL"] = "NORMAL";
389
- ForSalePostType["URGENT_SALE"] = "URGENT_SALE";
390
- ForSalePostType["PROMOTED"] = "PROMOTED";
391
- ForSalePostType["UNDER_MARKET"] = "UNDER_MARKET";
392
- ForSalePostType["SPECIAL"] = "SPECIAL";
393
- ForSalePostType["PRE_SALE"] = "PRE_SALE";
394
- return ForSalePostType;
395
- }({});
396
- let ForSaleStatus = /* @__PURE__ */ function(ForSaleStatus) {
397
- ForSaleStatus["DRAFT"] = "DRAFT";
398
- ForSaleStatus["UNPUBLISHED"] = "UNPUBLISHED";
399
- ForSaleStatus["PUBLISHED"] = "PUBLISHED";
400
- return ForSaleStatus;
401
- }({});
402
- let ForSaleApproveStatus = /* @__PURE__ */ function(ForSaleApproveStatus) {
403
- ForSaleApproveStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
404
- ForSaleApproveStatus["APPROVED"] = "APPROVED";
405
- return ForSaleApproveStatus;
406
- }({});
407
- let ForSaleUtilities = /* @__PURE__ */ function(ForSaleUtilities) {
408
- ForSaleUtilities["FULLY_FINISHED_WITH_HIGH_END_ITEMS"] = "FULLY_FINISHED_WITH_HIGH_END_ITEMS";
409
- ForSaleUtilities["SEMI_FINISHED"] = "SEMI_FINISHED";
410
- ForSaleUtilities["FULLY_FINISHED"] = "FULLY_FINISHED";
411
- ForSaleUtilities["BASIC_CONSTRUCTION"] = "BASIC_CONSTRUCTION";
412
- return ForSaleUtilities;
413
- }({});
414
- //#endregion
415
- //#region src/generated/auth/exceptions.ts
416
- const UserExceptions = {
417
- USER_NOT_FOUND: "User not found",
418
- INVALID_CREDENTIALS: "Invalid credentials",
419
- TOO_MANY_LOGIN_ATTEMPTS: "Too many login attempts",
420
- USER_NOT_ACTIVE: "User is not active",
421
- PASSWORD_INCORRECT: "Password is not correct",
422
- USER_ALREADY_EXISTS: "User already exists",
423
- OTP_EXPIRED: "OTP expired",
424
- INVALID_OTP: "Invalid OTP"
425
- };
426
- //#endregion
427
- //#region src/generated/auth/auth.enum.ts
428
- let RoleCodes = /* @__PURE__ */ function(RoleCodes) {
429
- RoleCodes["SUPER_ADMIN"] = "SUPER_ADMIN";
430
- RoleCodes["ADMIN"] = "ADMIN";
431
- RoleCodes["BROKER"] = "BROKER";
432
- RoleCodes["CLIENT"] = "CLIENT";
433
- RoleCodes["BACK_OFFICE"] = "BACK_OFFICE";
434
- RoleCodes["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
435
- RoleCodes["OWNER_REPRESENTATIVE"] = "OWNER_REPRESENTATIVE";
436
- return RoleCodes;
437
- }({});
438
- let UserLanguage = /* @__PURE__ */ function(UserLanguage) {
439
- UserLanguage["AF"] = "AF";
440
- UserLanguage["SQ"] = "SQ";
441
- UserLanguage["AM"] = "AM";
442
- UserLanguage["AR"] = "AR";
443
- UserLanguage["HY"] = "HY";
444
- UserLanguage["AZ"] = "AZ";
445
- UserLanguage["EU"] = "EU";
446
- UserLanguage["BE"] = "BE";
447
- UserLanguage["BN"] = "BN";
448
- UserLanguage["BS"] = "BS";
449
- UserLanguage["BG"] = "BG";
450
- UserLanguage["CA"] = "CA";
451
- UserLanguage["CEB"] = "CEB";
452
- UserLanguage["NY"] = "NY";
453
- UserLanguage["ZH"] = "ZH";
454
- UserLanguage["ZH_CN"] = "ZH_CN";
455
- UserLanguage["ZH_TW"] = "ZH_TW";
456
- UserLanguage["CO"] = "CO";
457
- UserLanguage["HR"] = "HR";
458
- UserLanguage["CS"] = "CS";
459
- UserLanguage["DA"] = "DA";
460
- UserLanguage["NL"] = "NL";
461
- UserLanguage["EN"] = "EN";
462
- UserLanguage["EO"] = "EO";
463
- UserLanguage["ET"] = "ET";
464
- UserLanguage["TL"] = "TL";
465
- UserLanguage["FI"] = "FI";
466
- UserLanguage["FR"] = "FR";
467
- UserLanguage["FY"] = "FY";
468
- UserLanguage["GL"] = "GL";
469
- UserLanguage["KA"] = "KA";
470
- UserLanguage["DE"] = "DE";
471
- UserLanguage["EL"] = "EL";
472
- UserLanguage["GU"] = "GU";
473
- UserLanguage["HT"] = "HT";
474
- UserLanguage["HA"] = "HA";
475
- UserLanguage["HAW"] = "HAW";
476
- UserLanguage["HE"] = "HE";
477
- UserLanguage["HI"] = "HI";
478
- UserLanguage["HMN"] = "HMN";
479
- UserLanguage["HU"] = "HU";
480
- UserLanguage["IS"] = "IS";
481
- UserLanguage["IG"] = "IG";
482
- UserLanguage["ID"] = "ID";
483
- UserLanguage["GA"] = "GA";
484
- UserLanguage["IT"] = "IT";
485
- UserLanguage["JA"] = "JA";
486
- UserLanguage["JV"] = "JV";
487
- UserLanguage["KN"] = "KN";
488
- UserLanguage["KK"] = "KK";
489
- UserLanguage["KM"] = "KM";
490
- UserLanguage["RW"] = "RW";
491
- UserLanguage["KO"] = "KO";
492
- UserLanguage["KU"] = "KU";
493
- UserLanguage["KY"] = "KY";
494
- UserLanguage["LO"] = "LO";
495
- UserLanguage["LA"] = "LA";
496
- UserLanguage["LV"] = "LV";
497
- UserLanguage["LT"] = "LT";
498
- UserLanguage["LB"] = "LB";
499
- UserLanguage["MK"] = "MK";
500
- UserLanguage["MG"] = "MG";
501
- UserLanguage["MS"] = "MS";
502
- UserLanguage["ML"] = "ML";
503
- UserLanguage["MT"] = "MT";
504
- UserLanguage["MI"] = "MI";
505
- UserLanguage["MR"] = "MR";
506
- UserLanguage["MN"] = "MN";
507
- UserLanguage["MY"] = "MY";
508
- UserLanguage["NE"] = "NE";
509
- UserLanguage["NO"] = "NO";
510
- UserLanguage["OR"] = "OR";
511
- UserLanguage["PS"] = "PS";
512
- UserLanguage["FA"] = "FA";
513
- UserLanguage["PL"] = "PL";
514
- UserLanguage["PT"] = "PT";
515
- UserLanguage["PA"] = "PA";
516
- UserLanguage["RO"] = "RO";
517
- UserLanguage["RU"] = "RU";
518
- UserLanguage["SM"] = "SM";
519
- UserLanguage["GD"] = "GD";
520
- UserLanguage["SR"] = "SR";
521
- UserLanguage["ST"] = "ST";
522
- UserLanguage["SN"] = "SN";
523
- UserLanguage["SD"] = "SD";
524
- UserLanguage["SI"] = "SI";
525
- UserLanguage["SK"] = "SK";
526
- UserLanguage["SL"] = "SL";
527
- UserLanguage["SO"] = "SO";
528
- UserLanguage["ES"] = "ES";
529
- UserLanguage["SU"] = "SU";
530
- UserLanguage["SW"] = "SW";
531
- UserLanguage["SV"] = "SV";
532
- UserLanguage["TG"] = "TG";
533
- UserLanguage["TA"] = "TA";
534
- UserLanguage["TT"] = "TT";
535
- UserLanguage["TE"] = "TE";
536
- UserLanguage["TH"] = "TH";
537
- UserLanguage["TR"] = "TR";
538
- UserLanguage["TK"] = "TK";
539
- UserLanguage["UK"] = "UK";
540
- UserLanguage["UR"] = "UR";
541
- UserLanguage["UG"] = "UG";
542
- UserLanguage["UZ"] = "UZ";
543
- UserLanguage["VI"] = "VI";
544
- UserLanguage["CY"] = "CY";
545
- UserLanguage["XH"] = "XH";
546
- UserLanguage["YI"] = "YI";
547
- UserLanguage["YO"] = "YO";
548
- UserLanguage["ZU"] = "ZU";
549
- UserLanguage["VN"] = "VN";
550
- return UserLanguage;
551
+ PropertyIdentifierType["INTERNAL_CODE"] = "INTERNAL_CODE";
552
+ return PropertyIdentifierType;
551
553
  }({});
552
- let UserGender = /* @__PURE__ */ function(UserGender) {
553
- UserGender["MALE"] = "MALE";
554
- UserGender["FEMALE"] = "FEMALE";
555
- UserGender["OTHER"] = "OTHER";
556
- return UserGender;
554
+ let DocumentCategory = /* @__PURE__ */ function(DocumentCategory) {
555
+ DocumentCategory["PROJECT_LEGAL"] = "PROJECT_LEGAL";
556
+ DocumentCategory["LAND_LEGAL"] = "LAND_LEGAL";
557
+ DocumentCategory["CONSTRUCTION_LEGAL"] = "CONSTRUCTION_LEGAL";
558
+ DocumentCategory["OTHER"] = "OTHER";
559
+ return DocumentCategory;
557
560
  }({});
558
- let UserStatus = /* @__PURE__ */ function(UserStatus) {
559
- UserStatus["ACTIVE"] = "ACTIVE";
560
- UserStatus["INACTIVE"] = "INACTIVE";
561
- UserStatus["BLOCKED"] = "BLOCKED";
562
- return UserStatus;
561
+ let DocumentType = /* @__PURE__ */ function(DocumentType) {
562
+ DocumentType["PROJECT_APPROVAL_DECISION"] = "PROJECT_APPROVAL_DECISION";
563
+ DocumentType["INVESTMENT_CERTIFICATE"] = "INVESTMENT_CERTIFICATE";
564
+ DocumentType["PLANNING_DECISION_1_500"] = "PLANNING_DECISION_1_500";
565
+ DocumentType["PLANNING_DECISION_1_2000"] = "PLANNING_DECISION_1_2000";
566
+ DocumentType["LAND_USE_RIGHT_CERTIFICATE_RED_BOOK"] = "LAND_USE_RIGHT_CERTIFICATE_RED_BOOK";
567
+ DocumentType["LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND"] = "LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND";
568
+ DocumentType["LAND_USE_RIGHT_CERTIFICATE_OTHER"] = "LAND_USE_RIGHT_CERTIFICATE_OTHER";
569
+ DocumentType["BUILDING_PERMIT"] = "BUILDING_PERMIT";
570
+ DocumentType["ENVIRONMENTAL_PERMIT"] = "ENVIRONMENTAL_PERMIT";
571
+ DocumentType["FIRE_SAFETY_CERTIFICATE"] = "FIRE_SAFETY_CERTIFICATE";
572
+ DocumentType["OTHER"] = "OTHER";
573
+ return DocumentType;
563
574
  }({});
564
- let UserHistoryType = /* @__PURE__ */ function(UserHistoryType) {
565
- UserHistoryType["LOGIN"] = "LOGIN";
566
- UserHistoryType["LOGOUT"] = "LOGOUT";
567
- return UserHistoryType;
575
+ let LandCurrentStatus = /* @__PURE__ */ function(LandCurrentStatus) {
576
+ LandCurrentStatus["PLANNED"] = "PLANNED";
577
+ LandCurrentStatus["DESIGNING"] = "DESIGNING";
578
+ LandCurrentStatus["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
579
+ LandCurrentStatus["TOPPING_OUT"] = "TOPPING_OUT";
580
+ LandCurrentStatus["NEAR_COMPLETION"] = "NEAR_COMPLETION";
581
+ LandCurrentStatus["COMPLETED"] = "COMPLETED";
582
+ LandCurrentStatus["READY_FOR_HANDOVER"] = "READY_FOR_HANDOVER";
583
+ LandCurrentStatus["HANDED_OVER"] = "HANDED_OVER";
584
+ LandCurrentStatus["ON_HOLD"] = "ON_HOLD";
585
+ LandCurrentStatus["CANCELLED"] = "CANCELLED";
586
+ return LandCurrentStatus;
568
587
  }({});
569
- let VerificationType = /* @__PURE__ */ function(VerificationType) {
570
- VerificationType["OTP"] = "OTP";
571
- return VerificationType;
588
+ let LandType = /* @__PURE__ */ function(LandType) {
589
+ LandType["LONG_TERM_OWNERSHIP"] = "LONG_TERM_OWNERSHIP";
590
+ LandType["ANNUAL_RENT"] = "ANNUAL_RENT";
591
+ LandType["ONE_TIME_RENTAL_PAYMENT"] = "ONE_TIME_RENTAL_PAYMENT";
592
+ return LandType;
572
593
  }({});
573
- let OtpType = /* @__PURE__ */ function(OtpType) {
574
- OtpType["ACCOUNT_OTP"] = "ACCOUNT_OTP";
575
- OtpType["TRANSACTION_OTP"] = "TRANSACTION_OTP";
576
- return OtpType;
594
+ let Orientation = /* @__PURE__ */ function(Orientation) {
595
+ Orientation["North"] = "NORTH";
596
+ Orientation["South"] = "SOUTH";
597
+ Orientation["East"] = "EAST";
598
+ Orientation["West"] = "WEST";
599
+ Orientation["Northeast"] = "NORTHEAST";
600
+ Orientation["Northwest"] = "NORTHWEST";
601
+ Orientation["Southeast"] = "SOUTHEAST";
602
+ Orientation["Southwest"] = "SOUTHWEST";
603
+ Orientation["Unknown"] = "UNKNOWN";
604
+ return Orientation;
605
+ }({});
606
+ let VersionAction = /* @__PURE__ */ function(VersionAction) {
607
+ VersionAction["CREATE"] = "CREATE";
608
+ VersionAction["UPDATE"] = "UPDATE";
609
+ return VersionAction;
610
+ }({});
611
+ //#endregion
612
+ //#region src/generated/for-sale/exceptions.ts
613
+ const ForSaleExceptions = { FOR_SALE_NOT_FOUND: "For sale not found" };
614
+ //#endregion
615
+ //#region src/generated/for-sale/for-sale.enum.ts
616
+ let ForSaleRoadType = /* @__PURE__ */ function(ForSaleRoadType) {
617
+ ForSaleRoadType["UNRECOGNIZED"] = "UNRECOGNIZED";
618
+ ForSaleRoadType["ASPHALT"] = "ASPHALT";
619
+ ForSaleRoadType["CONCRETE"] = "CONCRETE";
620
+ ForSaleRoadType["DIRT"] = "DIRT";
621
+ ForSaleRoadType["BRICK"] = "BRICK";
622
+ ForSaleRoadType["CRUSHED_ROCK"] = "CRUSHED_ROCK";
623
+ return ForSaleRoadType;
624
+ }({});
625
+ let ForSaleBuildingStandard = /* @__PURE__ */ function(ForSaleBuildingStandard) {
626
+ ForSaleBuildingStandard["UNRECOGNIZED"] = "UNRECOGNIZED";
627
+ ForSaleBuildingStandard["BASIC"] = "BASIC";
628
+ ForSaleBuildingStandard["MEDIUM"] = "MEDIUM";
629
+ ForSaleBuildingStandard["TEMPORARY"] = "TEMPORARY";
630
+ ForSaleBuildingStandard["HIGH_END"] = "HIGH_END";
631
+ ForSaleBuildingStandard["LUXURY"] = "LUXURY";
632
+ return ForSaleBuildingStandard;
633
+ }({});
634
+ let ForSaleInfrastructureStatus = /* @__PURE__ */ function(ForSaleInfrastructureStatus) {
635
+ ForSaleInfrastructureStatus["UNRECOGNIZED"] = "UNRECOGNIZED";
636
+ ForSaleInfrastructureStatus["BASIC_INFRASTRUCTURE"] = "BASIC_INFRASTRUCTURE";
637
+ ForSaleInfrastructureStatus["NO_INFRASTRUCTURE"] = "NO_INFRASTRUCTURE";
638
+ ForSaleInfrastructureStatus["OPERATING"] = "OPERATING";
639
+ ForSaleInfrastructureStatus["COMPLETED_INFRASTRUCTURE"] = "COMPLETED_INFRASTRUCTURE";
640
+ ForSaleInfrastructureStatus["STEEL_FRAME"] = "STEEL_FRAME";
641
+ ForSaleInfrastructureStatus["CONCRETE_FRAME"] = "CONCRETE_FRAME";
642
+ ForSaleInfrastructureStatus["TEMPORARY_INFRASTRUCTURE"] = "TEMPORARY_INFRASTRUCTURE";
643
+ ForSaleInfrastructureStatus["FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE"] = "FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE";
644
+ ForSaleInfrastructureStatus["INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE"] = "INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE";
645
+ ForSaleInfrastructureStatus["UNLEVELED"] = "UNLEVELED";
646
+ return ForSaleInfrastructureStatus;
647
+ }({});
648
+ let ForSalePropertyType = /* @__PURE__ */ function(ForSalePropertyType) {
649
+ ForSalePropertyType["UNRECOGNIZED"] = "UNRECOGNIZED";
650
+ ForSalePropertyType["INDUSTRIAL_LAND_AND_FACTORIES"] = "INDUSTRIAL_LAND_AND_FACTORIES";
651
+ ForSalePropertyType["FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND"] = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND";
652
+ ForSalePropertyType["RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND"] = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND";
653
+ ForSalePropertyType["AMUSEMENT_PARKS_AND_SPORTS_ZONES"] = "AMUSEMENT_PARKS_AND_SPORTS_ZONES";
654
+ ForSalePropertyType["TOWNHOUSES_AND_APARTMENTS"] = "TOWNHOUSES_AND_APARTMENTS";
655
+ ForSalePropertyType["HOSPITALS_AND_CLINICS"] = "HOSPITALS_AND_CLINICS";
656
+ ForSalePropertyType["SCHOOLS_AND_TRAINING_CENTERS"] = "SCHOOLS_AND_TRAINING_CENTERS";
657
+ ForSalePropertyType["ENERGY_PROJECT"] = "ENERGY_PROJECT";
658
+ ForSalePropertyType["SHOPPING_CENTERS_AND_OFFICE"] = "SHOPPING_CENTERS_AND_OFFICE";
659
+ ForSalePropertyType["INDUSTRIAL_PARKS"] = "INDUSTRIAL_PARKS";
660
+ ForSalePropertyType["RESORT_AND_HOTEL"] = "RESORT_AND_HOTEL";
661
+ ForSalePropertyType["MINES_AND_MINERALS"] = "MINES_AND_MINERALS";
662
+ ForSalePropertyType["GAS_STATIONS_AND_EV_CHARGING_STATIONS"] = "GAS_STATIONS_AND_EV_CHARGING_STATIONS";
663
+ ForSalePropertyType["DOCKS_AND_YARDS"] = "DOCKS_AND_YARDS";
664
+ ForSalePropertyType["ECOLOGICAL_AREAS_AND_FARMS"] = "ECOLOGICAL_AREAS_AND_FARMS";
665
+ return ForSalePropertyType;
666
+ }({});
667
+ let ForSalePostType = /* @__PURE__ */ function(ForSalePostType) {
668
+ ForSalePostType["NORMAL"] = "NORMAL";
669
+ ForSalePostType["URGENT_SALE"] = "URGENT_SALE";
670
+ ForSalePostType["PROMOTED"] = "PROMOTED";
671
+ ForSalePostType["UNDER_MARKET"] = "UNDER_MARKET";
672
+ ForSalePostType["SPECIAL"] = "SPECIAL";
673
+ ForSalePostType["PRE_SALE"] = "PRE_SALE";
674
+ return ForSalePostType;
675
+ }({});
676
+ let ForSaleStatus = /* @__PURE__ */ function(ForSaleStatus) {
677
+ ForSaleStatus["DRAFT"] = "DRAFT";
678
+ ForSaleStatus["UNPUBLISHED"] = "UNPUBLISHED";
679
+ ForSaleStatus["PUBLISHED"] = "PUBLISHED";
680
+ return ForSaleStatus;
681
+ }({});
682
+ let ForSaleApproveStatus = /* @__PURE__ */ function(ForSaleApproveStatus) {
683
+ ForSaleApproveStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
684
+ ForSaleApproveStatus["APPROVED"] = "APPROVED";
685
+ return ForSaleApproveStatus;
686
+ }({});
687
+ let ForSaleUtilities = /* @__PURE__ */ function(ForSaleUtilities) {
688
+ ForSaleUtilities["FULLY_FINISHED_WITH_HIGH_END_ITEMS"] = "FULLY_FINISHED_WITH_HIGH_END_ITEMS";
689
+ ForSaleUtilities["SEMI_FINISHED"] = "SEMI_FINISHED";
690
+ ForSaleUtilities["FULLY_FINISHED"] = "FULLY_FINISHED";
691
+ ForSaleUtilities["BASIC_CONSTRUCTION"] = "BASIC_CONSTRUCTION";
692
+ return ForSaleUtilities;
577
693
  }({});
578
694
  //#endregion
579
695
  //#region src/generated/register/exceptions.ts
@@ -588,147 +704,78 @@ const RegisterExceptions = {
588
704
  REGISTER_ACCOUNT_VERIFICATION_NOT_FOUND: "Register account verification is not found"
589
705
  };
590
706
  //#endregion
591
- //#region src/generated/identity/identity.enum.ts
592
- let IdentityType = /* @__PURE__ */ function(IdentityType) {
593
- IdentityType["ID_CARD"] = "ID_CARD";
594
- return IdentityType;
595
- }({});
596
- let IdentityVerificationStatus = /* @__PURE__ */ function(IdentityVerificationStatus) {
597
- IdentityVerificationStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
598
- IdentityVerificationStatus["APPROVED"] = "APPROVED";
599
- return IdentityVerificationStatus;
600
- }({});
601
- let IdentityNationality = /* @__PURE__ */ function(IdentityNationality) {
602
- IdentityNationality["VN"] = "VN";
603
- return IdentityNationality;
604
- }({});
605
- //#endregion
606
- //#region src/generated/appointment/exceptions.ts
607
- const AppointmentExceptions = {
608
- APPOINTMENT_NOT_FOUND: "Appointment not found or access denied",
609
- ACCESS_DENIED: "Access denied to this appointment",
610
- PERMISSION_DENIED: "Permission denied",
611
- CREATION_FAILED: "Failed to create appointment",
612
- UPDATE_FAILED: "Failed to update appointment",
613
- DELETE_FAILED: "Failed to delete appointment",
614
- INVALID_STATUS: "Invalid appointment status",
615
- INVALID_DATE: "Invalid appointment date",
616
- PARTICIPANT_NOT_FOUND: "Participant not found",
617
- REMINDER_FAILED: "Failed to set appointment reminder"
707
+ //#region src/generated/industrial-property/exceptions.ts
708
+ const IndustrialParkExceptions = { INDUSTRIAL_PARK_NOT_FOUND: "Industrial Park not found" };
709
+ const PropertyExceptions = {
710
+ PROPERTY_NOT_FOUND: "Property not found",
711
+ PROPERTY_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this property",
712
+ PROPERTY_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this property",
713
+ PROPERTY_ALREADY_EXISTS: "Property already exists"
618
714
  };
619
715
  //#endregion
620
- //#region src/generated/appointment/appointment.enum.ts
621
- let AppointmentStatus = /* @__PURE__ */ function(AppointmentStatus) {
622
- AppointmentStatus["PENDING_APPROVAL"] = "PENDING_APPROVAL";
623
- AppointmentStatus["SCHEDULED"] = "SCHEDULED";
624
- AppointmentStatus["COMPLETED"] = "COMPLETED";
625
- AppointmentStatus["CANCELLED"] = "CANCELLED";
626
- return AppointmentStatus;
627
- }({});
628
- let AppointmentType = /* @__PURE__ */ function(AppointmentType) {
629
- AppointmentType["SURVEY_SCHEDULING"] = "SURVEY_SCHEDULING";
630
- AppointmentType["NEGOTIATION"] = "NEGOTIATION";
631
- AppointmentType["LEASE_DEPOSIT"] = "LEASE_DEPOSIT";
632
- AppointmentType["LEGAL_LICENSING"] = "LEGAL_LICENSING";
633
- AppointmentType["FINAL_CONTRACT_PAYMENT"] = "FINAL_CONTRACT_PAYMENT";
634
- AppointmentType["PROPERTY_HANDOVER"] = "PROPERTY_HANDOVER";
635
- AppointmentType["TRANSACTION_COMPLETED"] = "TRANSACTION_COMPLETED";
636
- return AppointmentType;
637
- }({});
638
- let ScheduleType = /* @__PURE__ */ function(ScheduleType) {
639
- ScheduleType["SCHEDULE_CREATED"] = "SCHEDULE_CREATED";
640
- ScheduleType["DAILY_ACKNOWLEDGMENT"] = "DAILY_ACKNOWLEDGMENT";
641
- ScheduleType["PRE_MEETING"] = "PRE_MEETING";
642
- return ScheduleType;
643
- }({});
644
- let SchedulerStatus = /* @__PURE__ */ function(SchedulerStatus) {
645
- SchedulerStatus["PENDING"] = "PENDING";
646
- SchedulerStatus["SENT"] = "SENT";
647
- SchedulerStatus["DELIVERED"] = "DELIVERED";
648
- SchedulerStatus["FAILED"] = "FAILED";
649
- SchedulerStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
650
- SchedulerStatus["CANCELLED"] = "CANCELLED";
651
- return SchedulerStatus;
652
- }({});
716
+ //#region src/generated/blacklist/exceptions.ts
717
+ const BlacklistExceptions = {
718
+ FORBIDDEN: "You are not authorized to create a blacklist",
719
+ NOT_FOUND: "Blacklist not found"
720
+ };
653
721
  //#endregion
654
- //#region src/generated/deal/deal.enum.ts
655
- let DealStatus = /* @__PURE__ */ function(DealStatus) {
656
- DealStatus["PENDING"] = "PENDING";
657
- DealStatus["PROCESSING"] = "PROCESSING";
658
- DealStatus["COMPLETED"] = "COMPLETED";
659
- DealStatus["CANCELLED"] = "CANCELLED";
660
- DealStatus["ON_HOLD"] = "ON_HOLD";
661
- return DealStatus;
662
- }({});
663
- let DealFilterType = /* @__PURE__ */ function(DealFilterType) {
664
- DealFilterType["ORDER_REQUEST_RENT"] = "ORDER_REQUEST_RENT";
665
- DealFilterType["ORDER_REQUEST_SELL"] = "ORDER_REQUEST_SELL";
666
- DealFilterType["CONSIGNMENT_REQUEST_RENT"] = "CONSIGNMENT_REQUEST_RENT";
667
- DealFilterType["CONSIGNMENT_REQUEST_SELL"] = "CONSIGNMENT_REQUEST_SELL";
668
- return DealFilterType;
669
- }({});
670
- let DealStepStatus = /* @__PURE__ */ function(DealStepStatus) {
671
- DealStepStatus["PENDING"] = "PENDING";
672
- DealStepStatus["PROCESSING"] = "PROCESSING";
673
- DealStepStatus["COMPLETED"] = "COMPLETED";
674
- DealStepStatus["CANCELLED"] = "CANCELLED";
675
- DealStepStatus["ON_HOLD"] = "ON_HOLD";
676
- return DealStepStatus;
722
+ //#region src/generated/blacklist/blacklist.enum.ts
723
+ let BlackListEntityType = /* @__PURE__ */ function(BlackListEntityType) {
724
+ BlackListEntityType["USER"] = "USER";
725
+ BlackListEntityType["ORGANIZATION"] = "ORGANIZATION";
726
+ return BlackListEntityType;
677
727
  }({});
678
- let DealProgress = /* @__PURE__ */ function(DealProgress) {
679
- DealProgress["INITIATED"] = "INITIATED";
680
- DealProgress["CONSULTING"] = "CONSULTING";
681
- DealProgress["SCHEDULE_SURVEY"] = "SCHEDULE_SURVEY";
682
- DealProgress["NEGOTIATING"] = "NEGOTIATING";
683
- DealProgress["DEPOSIT"] = "DEPOSIT";
684
- DealProgress["PAYMENT"] = "PAYMENT";
685
- DealProgress["HANDOVER"] = "HANDOVER";
686
- DealProgress["COMPLETED"] = "COMPLETED";
687
- DealProgress["CANCELLED"] = "CANCELLED";
688
- return DealProgress;
728
+ let BlackListStatus = /* @__PURE__ */ function(BlackListStatus) {
729
+ BlackListStatus["ACTIVE"] = "ACTIVE";
730
+ BlackListStatus["EXPIRED"] = "EXPIRED";
731
+ BlackListStatus["REMOVED"] = "REMOVED";
732
+ return BlackListStatus;
689
733
  }({});
690
- let ParticipantRole = /* @__PURE__ */ function(ParticipantRole) {
691
- ParticipantRole["CLIENT_BROKER"] = "CLIENT_BROKER";
692
- ParticipantRole["INVESTOR_BROKER"] = "INVESTOR_BROKER";
693
- ParticipantRole["OWNER"] = "OWNER";
694
- ParticipantRole["INVESTOR"] = "INVESTOR";
695
- ParticipantRole["CLIENT"] = "CLIENT";
696
- ParticipantRole["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
697
- return ParticipantRole;
734
+ //#endregion
735
+ //#region src/generated/administrator/exceptions.ts
736
+ const DocumentExceptions = { DOCUMENT_NOT_FOUND: "Document not found" };
737
+ //#endregion
738
+ //#region src/generated/ticket/ticket.enum.ts
739
+ let TicketType = /* @__PURE__ */ function(TicketType) {
740
+ TicketType["APPROVE_USER_TO_BROKER"] = "APPROVE_USER_TO_BROKER";
741
+ TicketType["APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"] = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE";
742
+ return TicketType;
698
743
  }({});
699
- let ParticipantStatus = /* @__PURE__ */ function(ParticipantStatus) {
700
- ParticipantStatus["PENDING"] = "PENDING";
701
- ParticipantStatus["APPROVED"] = "APPROVED";
702
- ParticipantStatus["REJECTED"] = "REJECTED";
703
- ParticipantStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
704
- ParticipantStatus["NO_RESPONSE"] = "NO_RESPONSE";
705
- return ParticipantStatus;
744
+ let TicketStatus = /* @__PURE__ */ function(TicketStatus) {
745
+ TicketStatus["PENDING"] = "PENDING";
746
+ TicketStatus["PROCESSING"] = "PROCESSING";
747
+ TicketStatus["APPROVED"] = "APPROVED";
748
+ TicketStatus["REJECTED"] = "REJECTED";
749
+ return TicketStatus;
706
750
  }({});
707
751
  //#endregion
708
- //#region src/generated/payment-process/exceptions.ts
709
- const PaymentProcessExceptions = {
710
- PAYMENT_PROCESS_NOT_FOUND: "Payment process not found",
711
- PAYMENT_PROCESS_NOT_IN_PROGRESS: "Payment process is not in progress",
712
- PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment process",
713
- PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment process",
714
- PAYMENT_INSTALLMENT_NOT_FOUND: "Payment installment not found",
715
- PAYMENT_INSTALLMENT_NOT_PENDING: "Payment installment is not pending",
716
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment installment",
717
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment installment"
752
+ //#region src/generated/ticket/exceptions.ts
753
+ const TicketExceptions = {
754
+ TICKETS_NOT_FOUND: "Tickets not found",
755
+ FORBIDEN_PERMISSION: "You do not have permission to approve tickets"
718
756
  };
719
757
  //#endregion
720
- //#region src/generated/payment-process/payment-process.enum.ts
721
- let PaymentProcessStatus = /* @__PURE__ */ function(PaymentProcessStatus) {
722
- PaymentProcessStatus["IN_PROGRESS"] = "IN_PROGRESS";
723
- PaymentProcessStatus["COMPLETED"] = "COMPLETED";
724
- PaymentProcessStatus["CANCELLED"] = "CANCELLED";
725
- return PaymentProcessStatus;
726
- }({});
727
- let PaymentInstallmentStatus = /* @__PURE__ */ function(PaymentInstallmentStatus) {
728
- PaymentInstallmentStatus["PENDING"] = "PENDING";
729
- PaymentInstallmentStatus["PAID"] = "PAID";
730
- PaymentInstallmentStatus["CANCELLED"] = "CANCELLED";
731
- return PaymentInstallmentStatus;
758
+ //#region src/generated/investor/exceptions.ts
759
+ const InvestorExceptions = {
760
+ INVESTOR_NOT_FOUND: "Investor not found",
761
+ MEMBER_NOT_FOUND: "Member not found",
762
+ MEMBER_ALREADY_DELETED: "Member already deleted",
763
+ MEMBER_ALREADY_REGISTERED: "Member already registered",
764
+ ORGANIZATION_NOT_FOUND: "Organization not found",
765
+ ROLE_NOT_FOUND: "Role not found"
766
+ };
767
+ //#endregion
768
+ //#region src/generated/consignment-request/exceptions.ts
769
+ const ConsignmentRequestExceptions = {
770
+ CONSIGNMENT_REQUEST_NOT_FOUND: "Consignment request not found",
771
+ CONSIGNMENT_REQUEST_NOT_ALLOWED: "Consignment request not allowed"
772
+ };
773
+ //#endregion
774
+ //#region src/generated/consignment-request/consignment-request.enum.ts
775
+ let ConsignmentRequestType = /* @__PURE__ */ function(ConsignmentRequestType) {
776
+ ConsignmentRequestType["SELL"] = "SELL";
777
+ ConsignmentRequestType["RENT"] = "RENT";
778
+ return ConsignmentRequestType;
732
779
  }({});
733
780
  //#endregion
734
781
  //#region src/generated/agreement-template/exceptions.ts
@@ -757,41 +804,6 @@ let AgreementTemplateType = /* @__PURE__ */ function(AgreementTemplateType) {
757
804
  return AgreementTemplateType;
758
805
  }({});
759
806
  //#endregion
760
- //#region src/generated/broker/exceptions.ts
761
- const BrokerExceptions = {
762
- INVITED_USER_NOT_FOUND: "Invited user not found",
763
- INPUT_DATA_IS_INVALID: "Input data is invalid"
764
- };
765
- //#endregion
766
- //#region src/generated/broker/broker.enum.ts
767
- let ConvertBrokerClientType = /* @__PURE__ */ function(ConvertBrokerClientType) {
768
- ConvertBrokerClientType["VOICE"] = "VOICE";
769
- ConvertBrokerClientType["CSV"] = "CSV";
770
- ConvertBrokerClientType["EXCEL"] = "EXCEL";
771
- return ConvertBrokerClientType;
772
- }({});
773
- //#endregion
774
- //#region src/generated/consignment-request/exceptions.ts
775
- const ConsignmentRequestExceptions = {
776
- CONSIGNMENT_REQUEST_NOT_FOUND: "Consignment request not found",
777
- CONSIGNMENT_REQUEST_NOT_ALLOWED: "Consignment request not allowed"
778
- };
779
- //#endregion
780
- //#region src/generated/consignment-request/consignment-request.enum.ts
781
- let ConsignmentRequestType = /* @__PURE__ */ function(ConsignmentRequestType) {
782
- ConsignmentRequestType["SELL"] = "SELL";
783
- ConsignmentRequestType["RENT"] = "RENT";
784
- return ConsignmentRequestType;
785
- }({});
786
- //#endregion
787
- //#region src/generated/location/exceptions.ts
788
- const ProvinceExceptions = { PROVINCE_NOT_FOUND: "Province not found" };
789
- const DistrictExceptions = { DISTRICT_NOT_FOUND: "District not found" };
790
- const WardExceptions = { WARD_NOT_FOUND: "Ward not found" };
791
- //#endregion
792
- //#region src/generated/identity/exceptions.ts
793
- const IdentityExceptions = { IDENTITY_NOT_FOUND: "Identity not found" };
794
- //#endregion
795
807
  //#region src/generated/order-request/exceptions.ts
796
808
  const OrderRequestExceptions = {
797
809
  ORDER_REQUEST_NOT_FOUND: "Order request not found",
@@ -805,67 +817,6 @@ let OrderRequestType = /* @__PURE__ */ function(OrderRequestType) {
805
817
  return OrderRequestType;
806
818
  }({});
807
819
  //#endregion
808
- //#region src/generated/agreement/exceptions.ts
809
- const AgreementExceptions = {
810
- AGREEMENT_NOT_FOUND: "Agreement not found",
811
- AGREEMENT_IS_NOT_ALLOW: "Agreement is not allowed",
812
- AGREEMENT_ALREADY_SIGNED: "Agreement already signed"
813
- };
814
- const AgreementTypeExceptions = {
815
- AGREEMENT_TYPE_NOT_FOUND: "Agreement type not found",
816
- AGREEMENT_TYPE_IS_NOT_ALLOW: "Agreement type is not allow"
817
- };
818
- //#endregion
819
- //#region src/generated/media/exceptions.ts
820
- const MediaExceptions = {
821
- MEDIA_NOT_FOUND: "Media not found",
822
- MEDIA_TOO_LARGE: "Media too large",
823
- MEDIA_NOT_ALLOWED: "Media not allowed",
824
- FILE_TYPE_NOT_ALLOWED: "File type not allowed",
825
- FILE_FORMAT_NOT_ALLOWED: "File format not allowed",
826
- MEDIA_SHOULD_BE_PUBLIC: "Media should be public"
827
- };
828
- //#endregion
829
- //#region src/generated/media/media.enum.ts
830
- let MediaType = /* @__PURE__ */ function(MediaType) {
831
- MediaType["IMAGE"] = "IMAGE";
832
- MediaType["VIDEO"] = "VIDEO";
833
- MediaType["AUDIO"] = "AUDIO";
834
- MediaType["DOCUMENT"] = "DOCUMENT";
835
- MediaType["OTHER"] = "OTHER";
836
- return MediaType;
837
- }({});
838
- let MediaSortField = /* @__PURE__ */ function(MediaSortField) {
839
- MediaSortField["CREATED_BY"] = "createdBy";
840
- MediaSortField["UPDATED_BY"] = "updatedBy";
841
- MediaSortField["NAME"] = "name";
842
- MediaSortField["FILE_SIZE"] = "fileSize";
843
- return MediaSortField;
844
- }({});
845
- //#endregion
846
- //#region src/generated/industrial-property/exceptions.ts
847
- const IndustrialParkExceptions = { INDUSTRIAL_PARK_NOT_FOUND: "Industrial Park not found" };
848
- const PropertyExceptions = {
849
- PROPERTY_NOT_FOUND: "Property not found",
850
- PROPERTY_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this property",
851
- PROPERTY_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this property",
852
- PROPERTY_ALREADY_EXISTS: "Property already exists"
853
- };
854
- //#endregion
855
- //#region src/generated/ticket/exceptions.ts
856
- const TicketExceptions = {
857
- TICKETS_NOT_FOUND: "Tickets not found",
858
- FORBIDEN_PERMISSION: "You do not have permission to approve tickets"
859
- };
860
- //#endregion
861
- //#region src/generated/settings/exceptions.ts
862
- const RoleExceptions = { ROLE_NOT_FOUND: "Role not found" };
863
- const SettingExceptions = {
864
- EMAIL_IS_THE_SAME_AS_CURRENT_EMAIL: "Email is the same as the current email",
865
- INVALID_MAGIC_LINK: "Invalid magic link",
866
- PHONE_NUMBER_IS_THE_SAME_AS_CURRENT: "Phone number is the same as the current phone number"
867
- };
868
- //#endregion
869
820
  //#region src/generated/client/exceptions.ts
870
821
  const ClientExceptions = {
871
822
  CLIENT_NOT_FOUND: "Client not found",
@@ -923,16 +874,65 @@ let ClientType = /* @__PURE__ */ function(ClientType) {
923
874
  return ClientType;
924
875
  }({});
925
876
  //#endregion
926
- //#region src/generated/deal/exceptions.ts
927
- const DealExceptions = {
928
- DEAL_NOT_FOUND: "Deal not found",
929
- DEAL_STEP_NOT_FOUND: "Deal step not found"
877
+ //#region src/generated/conversation/exceptions.ts
878
+ const ConversationExceptions = {
879
+ CHAT_GROUP_NOT_FOUND: "Chat group not found",
880
+ MEMBER_NOT_FOUND: "Member not found",
881
+ NOT_CHAT_GROUP_MEMBER: "User is not a member of this chat group",
882
+ ALREADY_MEMBER: "User is already a member of this chat group",
883
+ INSUFFICIENT_PERMISSIONS: "Insufficient permissions to perform this action",
884
+ MEMBER_ALREADY_EXISTS: "Member already exists in this chat group",
885
+ MEMBER_HAS_LEFT: "Member has left this chat group",
886
+ CANNOT_DELETE_DIRECT_MESSAGE: "Cannot delete direct message chat group",
887
+ CANNOT_DELETE_DEAL_LINKED_CHAT: "Cannot delete chat group linked to a deal",
888
+ CANNOT_DELETE_DEAL_STEP_LINKED_CHAT: "Cannot delete chat group linked to a deal step",
889
+ MESSAGE_NOT_FOUND: "Message not found",
890
+ MESSAGE_NOT_IN_CHAT_GROUP: "Message does not belong to this chat group"
930
891
  };
931
- const DealStepExceptions = {
932
- DEAL_STEP_NOT_FOUND: "Deal step not found",
933
- DEAL_STEP_PARTICIPANTS_NOT_FOUND: "Deal step participants not found"
892
+ //#endregion
893
+ //#region src/generated/conversation/conversation.enum.ts
894
+ let ChatGroupMemberRole = /* @__PURE__ */ function(ChatGroupMemberRole) {
895
+ ChatGroupMemberRole["ADMIN"] = "ADMIN";
896
+ ChatGroupMemberRole["MEMBER"] = "MEMBER";
897
+ ChatGroupMemberRole["GUEST"] = "GUEST";
898
+ return ChatGroupMemberRole;
899
+ }({});
900
+ let MessageType = /* @__PURE__ */ function(MessageType) {
901
+ MessageType["TEXT"] = "TEXT";
902
+ MessageType["IMAGE"] = "IMAGE";
903
+ MessageType["VIDEO"] = "VIDEO";
904
+ MessageType["AUDIO"] = "AUDIO";
905
+ MessageType["DOCUMENT"] = "DOCUMENT";
906
+ MessageType["LINK"] = "LINK";
907
+ return MessageType;
908
+ }({});
909
+ //#endregion
910
+ //#region src/generated/media/exceptions.ts
911
+ const MediaExceptions = {
912
+ MEDIA_NOT_FOUND: "Media not found",
913
+ MEDIA_TOO_LARGE: "Media too large",
914
+ MEDIA_NOT_ALLOWED: "Media not allowed",
915
+ FILE_TYPE_NOT_ALLOWED: "File type not allowed",
916
+ FILE_FORMAT_NOT_ALLOWED: "File format not allowed",
917
+ MEDIA_SHOULD_BE_PUBLIC: "Media should be public"
934
918
  };
935
- const PreDealExceptions = { PRE_DEAL_NOT_FOUND: "Pre-deal not found" };
919
+ //#endregion
920
+ //#region src/generated/media/media.enum.ts
921
+ let MediaType = /* @__PURE__ */ function(MediaType) {
922
+ MediaType["IMAGE"] = "IMAGE";
923
+ MediaType["VIDEO"] = "VIDEO";
924
+ MediaType["AUDIO"] = "AUDIO";
925
+ MediaType["DOCUMENT"] = "DOCUMENT";
926
+ MediaType["OTHER"] = "OTHER";
927
+ return MediaType;
928
+ }({});
929
+ let MediaSortField = /* @__PURE__ */ function(MediaSortField) {
930
+ MediaSortField["CREATED_BY"] = "createdBy";
931
+ MediaSortField["UPDATED_BY"] = "updatedBy";
932
+ MediaSortField["NAME"] = "name";
933
+ MediaSortField["FILE_SIZE"] = "fileSize";
934
+ return MediaSortField;
935
+ }({});
936
936
  //#endregion
937
937
  export { AgreementExceptions, AgreementTemplateExceptions, AgreementTemplateType, AgreementTypeExceptions, AppointmentExceptions, AppointmentStatus, AppointmentType, BA_DINH_WARD_NO, BlackListEntityType, BlackListStatus, BlacklistExceptions, BrokerExceptions, ChatGroupMemberRole, ClientCategoryExceptions, ClientExceptions, ClientNeed, ClientRoles, ClientSource, ClientStatus, ClientType, ConsignmentRequestExceptions, ConsignmentRequestType, ConversationExceptions, ConvertBrokerClientType, DealExceptions, DealFilterType, DealProgress, DealStatus, DealStepExceptions, DealStepStatus, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentType, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleExceptions, ForSaleInfrastructureStatus, ForSalePostType, ForSalePropertyType, ForSaleRoadType, ForSaleStatus, ForSaleUtilities, IdentityExceptions, IdentityNationality, IdentityType, IdentityVerificationStatus, IndustrialParkExceptions, InvestorExceptions, JobStatus, JobType, LandCurrentStatus, LandType, MediaExceptions, MediaSortField, MediaType, MessageType, NotificationDetailStatus, NotificationEnv, NotificationScheduleStatus, NotificationType, OrderRequestExceptions, OrderRequestType, Orientation, OtpType, ParticipantRole, ParticipantStatus, PaymentInstallmentStatus, PaymentProcessExceptions, PaymentProcessStatus, PreDealExceptions, ProjectApprovalStatus, ProjectClassification, ProjectCurrentStatus, ProjectExceptions, ProjectStage, ProjectStandard, ProjectType, PropertyApprovalStatus, PropertyAuthorizationType, PropertyExceptions, PropertyIdentifierType, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyOperationStatus, PropertyTransactionStatus, PropertyType, ProvinceExceptions, RegisterExceptions, RoleCodes, RoleExceptions, ScheduleType, SchedulerStatus, SettingExceptions, SortDirection, TicketExceptions, TicketStatus, TicketType, UserExceptions, UserGender, UserHistoryType, UserLanguage, UserStatus, VerificationType, VersionAction, WardExceptions };
938
938