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