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