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