@investtal/models 1.2.56 → 1.2.61

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