@investtal/models 1.2.56 → 1.3.0

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