@investtal/models 1.3.0 → 1.4.1

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