@investtal/models 1.4.1 → 1.4.3

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
@@ -9,12 +9,58 @@ let SortDirection = /* @__PURE__ */ function(SortDirection) {
9
9
  return SortDirection;
10
10
  }({});
11
11
  //#endregion
12
- //#region src/generated/settings/exceptions.ts
13
- const RoleExceptions = { ROLE_NOT_FOUND: "Role not found" };
14
- const SettingExceptions = {
15
- EMAIL_IS_THE_SAME_AS_CURRENT_EMAIL: "Email is the same as the current email",
16
- INVALID_MAGIC_LINK: "Invalid magic link",
17
- PHONE_NUMBER_IS_THE_SAME_AS_CURRENT: "Phone number is the same as the current phone number"
12
+ //#region src/generated/administrator/exceptions.ts
13
+ const DocumentExceptions = { DOCUMENT_NOT_FOUND: "Document not found" };
14
+ //#endregion
15
+ //#region src/generated/ticket/ticket.enum.ts
16
+ let TicketType = /* @__PURE__ */ function(TicketType) {
17
+ TicketType["APPROVE_USER_TO_BROKER"] = "APPROVE_USER_TO_BROKER";
18
+ TicketType["APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"] = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE";
19
+ return TicketType;
20
+ }({});
21
+ let TicketStatus = /* @__PURE__ */ function(TicketStatus) {
22
+ TicketStatus["PENDING"] = "PENDING";
23
+ TicketStatus["PROCESSING"] = "PROCESSING";
24
+ TicketStatus["APPROVED"] = "APPROVED";
25
+ TicketStatus["REJECTED"] = "REJECTED";
26
+ return TicketStatus;
27
+ }({});
28
+ //#endregion
29
+ //#region src/generated/agreement/exceptions.ts
30
+ const AgreementExceptions = {
31
+ AGREEMENT_NOT_FOUND: "Agreement not found",
32
+ AGREEMENT_IS_NOT_ALLOW: "Agreement is not allowed",
33
+ AGREEMENT_ALREADY_SIGNED: "Agreement already signed"
34
+ };
35
+ const AgreementTypeExceptions = {
36
+ AGREEMENT_TYPE_NOT_FOUND: "Agreement type not found",
37
+ AGREEMENT_TYPE_IS_NOT_ALLOW: "Agreement type is not allow"
38
+ };
39
+ //#endregion
40
+ //#region src/generated/agreement-template/agreement-template.enum.ts
41
+ let AgreementTemplateType = /* @__PURE__ */ function(AgreementTemplateType) {
42
+ AgreementTemplateType["SYSTEM"] = "SYSTEM";
43
+ AgreementTemplateType["BROKER"] = "BROKER";
44
+ AgreementTemplateType["CLIENT"] = "CLIENT";
45
+ AgreementTemplateType["INVESTOR"] = "INVESTOR";
46
+ AgreementTemplateType["OWNER"] = "OWNER";
47
+ AgreementTemplateType["MOU"] = "MOU";
48
+ AgreementTemplateType["DEPOSIT"] = "DEPOSIT";
49
+ AgreementTemplateType["DISCLOSURE"] = "DISCLOSURE";
50
+ AgreementTemplateType["OTHER"] = "OTHER";
51
+ return AgreementTemplateType;
52
+ }({});
53
+ //#endregion
54
+ //#region src/generated/agreement-template/exceptions.ts
55
+ const AgreementTemplateExceptions = {
56
+ TEMPLATE_NOT_FOUND: "Agreement template not found",
57
+ FILE_NOT_FOUND: "Template file not found",
58
+ ACCESS_DENIED: "Access denied to this template",
59
+ PERMISSION_DENIED: "Permission denied",
60
+ TEMPLATE_IN_USE: "Template is in use and cannot be deleted",
61
+ CREATION_FAILED: "Failed to create agreement template",
62
+ INVALID_TEMPLATE_TYPE: "Invalid template type for user role",
63
+ TEMPLATE_ALREADY_EXISTS: "Agreement template already exists"
18
64
  };
19
65
  //#endregion
20
66
  //#region src/generated/auth/auth.enum.ts
@@ -169,16 +215,53 @@ let OtpType = /* @__PURE__ */ function(OtpType) {
169
215
  return OtpType;
170
216
  }({});
171
217
  //#endregion
172
- //#region src/generated/deal/exceptions.ts
173
- const DealExceptions = {
174
- DEAL_NOT_FOUND: "Deal not found",
175
- DEAL_STEP_NOT_FOUND: "Deal step not found"
176
- };
177
- const DealStepExceptions = {
178
- DEAL_STEP_NOT_FOUND: "Deal step not found",
179
- DEAL_STEP_PARTICIPANTS_NOT_FOUND: "Deal step participants not found"
218
+ //#region src/generated/appointment/appointment.enum.ts
219
+ let AppointmentStatus = /* @__PURE__ */ function(AppointmentStatus) {
220
+ AppointmentStatus["PENDING_APPROVAL"] = "PENDING_APPROVAL";
221
+ AppointmentStatus["SCHEDULED"] = "SCHEDULED";
222
+ AppointmentStatus["COMPLETED"] = "COMPLETED";
223
+ AppointmentStatus["CANCELLED"] = "CANCELLED";
224
+ return AppointmentStatus;
225
+ }({});
226
+ let AppointmentType = /* @__PURE__ */ function(AppointmentType) {
227
+ AppointmentType["SURVEY_SCHEDULING"] = "SURVEY_SCHEDULING";
228
+ AppointmentType["NEGOTIATION"] = "NEGOTIATION";
229
+ AppointmentType["LEASE_DEPOSIT"] = "LEASE_DEPOSIT";
230
+ AppointmentType["LEGAL_LICENSING"] = "LEGAL_LICENSING";
231
+ AppointmentType["FINAL_CONTRACT_PAYMENT"] = "FINAL_CONTRACT_PAYMENT";
232
+ AppointmentType["PROPERTY_HANDOVER"] = "PROPERTY_HANDOVER";
233
+ AppointmentType["TRANSACTION_COMPLETED"] = "TRANSACTION_COMPLETED";
234
+ return AppointmentType;
235
+ }({});
236
+ let ScheduleType = /* @__PURE__ */ function(ScheduleType) {
237
+ ScheduleType["SCHEDULE_CREATED"] = "SCHEDULE_CREATED";
238
+ ScheduleType["DAILY_ACKNOWLEDGMENT"] = "DAILY_ACKNOWLEDGMENT";
239
+ ScheduleType["PRE_MEETING"] = "PRE_MEETING";
240
+ return ScheduleType;
241
+ }({});
242
+ let SchedulerStatus = /* @__PURE__ */ function(SchedulerStatus) {
243
+ SchedulerStatus["PENDING"] = "PENDING";
244
+ SchedulerStatus["SENT"] = "SENT";
245
+ SchedulerStatus["DELIVERED"] = "DELIVERED";
246
+ SchedulerStatus["FAILED"] = "FAILED";
247
+ SchedulerStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
248
+ SchedulerStatus["CANCELLED"] = "CANCELLED";
249
+ return SchedulerStatus;
250
+ }({});
251
+ //#endregion
252
+ //#region src/generated/appointment/exceptions.ts
253
+ const AppointmentExceptions = {
254
+ APPOINTMENT_NOT_FOUND: "Appointment not found or access denied",
255
+ ACCESS_DENIED: "Access denied to this appointment",
256
+ PERMISSION_DENIED: "Permission denied",
257
+ CREATION_FAILED: "Failed to create appointment",
258
+ UPDATE_FAILED: "Failed to update appointment",
259
+ DELETE_FAILED: "Failed to delete appointment",
260
+ INVALID_STATUS: "Invalid appointment status",
261
+ INVALID_DATE: "Invalid appointment date",
262
+ PARTICIPANT_NOT_FOUND: "Participant not found",
263
+ REMINDER_FAILED: "Failed to set appointment reminder"
180
264
  };
181
- const PreDealExceptions = { PRE_DEAL_NOT_FOUND: "Pre-deal not found" };
182
265
  //#endregion
183
266
  //#region src/generated/deal/deal.enum.ts
184
267
  let DealStatus = /* @__PURE__ */ function(DealStatus) {
@@ -234,58 +317,35 @@ let ParticipantStatus = /* @__PURE__ */ function(ParticipantStatus) {
234
317
  return ParticipantStatus;
235
318
  }({});
236
319
  //#endregion
237
- //#region src/generated/appointment/exceptions.ts
238
- const AppointmentExceptions = {
239
- APPOINTMENT_NOT_FOUND: "Appointment not found or access denied",
240
- ACCESS_DENIED: "Access denied to this appointment",
241
- PERMISSION_DENIED: "Permission denied",
242
- CREATION_FAILED: "Failed to create appointment",
243
- UPDATE_FAILED: "Failed to update appointment",
244
- DELETE_FAILED: "Failed to delete appointment",
245
- INVALID_STATUS: "Invalid appointment status",
246
- INVALID_DATE: "Invalid appointment date",
247
- PARTICIPANT_NOT_FOUND: "Participant not found",
248
- REMINDER_FAILED: "Failed to set appointment reminder"
320
+ //#region src/generated/auth/exceptions.ts
321
+ const UserExceptions = {
322
+ USER_NOT_FOUND: "User not found",
323
+ INVALID_CREDENTIALS: "Invalid credentials",
324
+ TOO_MANY_LOGIN_ATTEMPTS: "Too many login attempts",
325
+ USER_NOT_ACTIVE: "User is not active",
326
+ PASSWORD_INCORRECT: "Password is not correct",
327
+ USER_ALREADY_EXISTS: "User already exists",
328
+ OTP_EXPIRED: "OTP expired",
329
+ INVALID_OTP: "Invalid OTP"
249
330
  };
250
331
  //#endregion
251
- //#region src/generated/appointment/appointment.enum.ts
252
- let AppointmentStatus = /* @__PURE__ */ function(AppointmentStatus) {
253
- AppointmentStatus["PENDING_APPROVAL"] = "PENDING_APPROVAL";
254
- AppointmentStatus["SCHEDULED"] = "SCHEDULED";
255
- AppointmentStatus["COMPLETED"] = "COMPLETED";
256
- AppointmentStatus["CANCELLED"] = "CANCELLED";
257
- return AppointmentStatus;
258
- }({});
259
- let AppointmentType = /* @__PURE__ */ function(AppointmentType) {
260
- AppointmentType["SURVEY_SCHEDULING"] = "SURVEY_SCHEDULING";
261
- AppointmentType["NEGOTIATION"] = "NEGOTIATION";
262
- AppointmentType["LEASE_DEPOSIT"] = "LEASE_DEPOSIT";
263
- AppointmentType["LEGAL_LICENSING"] = "LEGAL_LICENSING";
264
- AppointmentType["FINAL_CONTRACT_PAYMENT"] = "FINAL_CONTRACT_PAYMENT";
265
- AppointmentType["PROPERTY_HANDOVER"] = "PROPERTY_HANDOVER";
266
- AppointmentType["TRANSACTION_COMPLETED"] = "TRANSACTION_COMPLETED";
267
- return AppointmentType;
268
- }({});
269
- let ScheduleType = /* @__PURE__ */ function(ScheduleType) {
270
- ScheduleType["SCHEDULE_CREATED"] = "SCHEDULE_CREATED";
271
- ScheduleType["DAILY_ACKNOWLEDGMENT"] = "DAILY_ACKNOWLEDGMENT";
272
- ScheduleType["PRE_MEETING"] = "PRE_MEETING";
273
- return ScheduleType;
332
+ //#region src/generated/blacklist/blacklist.enum.ts
333
+ let BlackListEntityType = /* @__PURE__ */ function(BlackListEntityType) {
334
+ BlackListEntityType["USER"] = "USER";
335
+ BlackListEntityType["ORGANIZATION"] = "ORGANIZATION";
336
+ return BlackListEntityType;
274
337
  }({});
275
- let SchedulerStatus = /* @__PURE__ */ function(SchedulerStatus) {
276
- SchedulerStatus["PENDING"] = "PENDING";
277
- SchedulerStatus["SENT"] = "SENT";
278
- SchedulerStatus["DELIVERED"] = "DELIVERED";
279
- SchedulerStatus["FAILED"] = "FAILED";
280
- SchedulerStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
281
- SchedulerStatus["CANCELLED"] = "CANCELLED";
282
- return SchedulerStatus;
338
+ let BlackListStatus = /* @__PURE__ */ function(BlackListStatus) {
339
+ BlackListStatus["ACTIVE"] = "ACTIVE";
340
+ BlackListStatus["EXPIRED"] = "EXPIRED";
341
+ BlackListStatus["REMOVED"] = "REMOVED";
342
+ return BlackListStatus;
283
343
  }({});
284
344
  //#endregion
285
- //#region src/generated/broker/exceptions.ts
286
- const BrokerExceptions = {
287
- INVITED_USER_NOT_FOUND: "Invited user not found",
288
- INPUT_DATA_IS_INVALID: "Input data is invalid"
345
+ //#region src/generated/blacklist/exceptions.ts
346
+ const BlacklistExceptions = {
347
+ FORBIDDEN: "You are not authorized to create a blacklist",
348
+ NOT_FOUND: "Blacklist not found"
289
349
  };
290
350
  //#endregion
291
351
  //#region src/generated/broker/broker.enum.ts
@@ -296,323 +356,69 @@ let ConvertBrokerClientType = /* @__PURE__ */ function(ConvertBrokerClientType)
296
356
  return ConvertBrokerClientType;
297
357
  }({});
298
358
  //#endregion
299
- //#region src/generated/identity/exceptions.ts
300
- const IdentityExceptions = { IDENTITY_NOT_FOUND: "Identity not found" };
359
+ //#region src/generated/broker/exceptions.ts
360
+ const BrokerExceptions = {
361
+ INVITED_USER_NOT_FOUND: "Invited user not found",
362
+ INPUT_DATA_IS_INVALID: "Input data is invalid"
363
+ };
301
364
  //#endregion
302
- //#region src/generated/identity/identity.enum.ts
303
- let IdentityType = /* @__PURE__ */ function(IdentityType) {
304
- IdentityType["ID_CARD"] = "ID_CARD";
305
- return IdentityType;
365
+ //#region src/generated/client/client.enum.ts
366
+ let ClientNeed = /* @__PURE__ */ function(ClientNeed) {
367
+ ClientNeed["FOR_SALE"] = "FOR_SALE";
368
+ ClientNeed["FOR_LEASE"] = "FOR_LEASE";
369
+ return ClientNeed;
306
370
  }({});
307
- let IdentityVerificationStatus = /* @__PURE__ */ function(IdentityVerificationStatus) {
308
- IdentityVerificationStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
309
- IdentityVerificationStatus["APPROVED"] = "APPROVED";
310
- return IdentityVerificationStatus;
371
+ let ClientRoles = /* @__PURE__ */ function(ClientRoles) {
372
+ ClientRoles["BROKER"] = "BROKER";
373
+ ClientRoles["OWNER"] = "OWNER";
374
+ ClientRoles["INVESTOR"] = "INVESTOR";
375
+ return ClientRoles;
311
376
  }({});
312
- let IdentityNationality = /* @__PURE__ */ function(IdentityNationality) {
313
- IdentityNationality["VN"] = "VN";
314
- return IdentityNationality;
377
+ let ClientStatus = /* @__PURE__ */ function(ClientStatus) {
378
+ ClientStatus["POTENTIAL"] = "POTENTIAL";
379
+ ClientStatus["INTERESTED"] = "INTERESTED";
380
+ ClientStatus["NEGOTIATING"] = "NEGOTIATING";
381
+ ClientStatus["PURCHASED"] = "PURCHASED";
382
+ ClientStatus["LOST"] = "LOST";
383
+ ClientStatus["RESEARCHING"] = "RESEARCHING";
384
+ ClientStatus["FOLLOW_UP_NEEDED"] = "FOLLOW_UP_NEEDED";
385
+ return ClientStatus;
386
+ }({});
387
+ let ClientSource = /* @__PURE__ */ function(ClientSource) {
388
+ ClientSource["WEBSITE"] = "WEBSITE";
389
+ ClientSource["FACEBOOK"] = "FACEBOOK";
390
+ ClientSource["REFERRAL"] = "REFERRAL";
391
+ ClientSource["PHONE_CALL"] = "PHONE_CALL";
392
+ ClientSource["EMAIL"] = "EMAIL";
393
+ ClientSource["WALK_IN"] = "WALK_IN";
394
+ ClientSource["ADVERTISEMENT"] = "ADVERTISEMENT";
395
+ ClientSource["EVENT"] = "EVENT";
396
+ ClientSource["OTHER"] = "OTHER";
397
+ return ClientSource;
398
+ }({});
399
+ let ClientType = /* @__PURE__ */ function(ClientType) {
400
+ ClientType["PERSONAL"] = "PERSONAL";
401
+ ClientType["ORGANIZATION"] = "ORGANIZATION";
402
+ return ClientType;
315
403
  }({});
316
404
  //#endregion
317
- //#region src/generated/auth/exceptions.ts
318
- const UserExceptions = {
319
- USER_NOT_FOUND: "User not found",
320
- INVALID_CREDENTIALS: "Invalid credentials",
321
- TOO_MANY_LOGIN_ATTEMPTS: "Too many login attempts",
322
- USER_NOT_ACTIVE: "User is not active",
323
- PASSWORD_INCORRECT: "Password is not correct",
324
- USER_ALREADY_EXISTS: "User already exists",
325
- OTP_EXPIRED: "OTP expired",
326
- INVALID_OTP: "Invalid OTP"
405
+ //#region src/generated/client/exceptions.ts
406
+ const ClientExceptions = {
407
+ CLIENT_NOT_FOUND: "Client not found",
408
+ CLIENTS_NOT_FOUND: "One or more clients not found",
409
+ FORBIDDEN: "Forbidden",
410
+ CLIENTS_NOT_CREATED_BY_USER: "One or more clients are not created by the user"
327
411
  };
328
- //#endregion
329
- //#region src/generated/notification/notification.enum.ts
330
- let NotificationEnv = /* @__PURE__ */ function(NotificationEnv) {
331
- NotificationEnv["PRODUCTION"] = "production";
332
- NotificationEnv["TESTING"] = "testing";
333
- NotificationEnv["STAGING"] = "staging";
334
- return NotificationEnv;
335
- }({});
336
- let NotificationType = /* @__PURE__ */ function(NotificationType) {
337
- NotificationType["EMAIL"] = "EMAIL";
338
- NotificationType["SMS"] = "SMS";
339
- NotificationType["PUSH"] = "PUSH";
340
- return NotificationType;
341
- }({});
342
- let NotificationDetailStatus = /* @__PURE__ */ function(NotificationDetailStatus) {
343
- NotificationDetailStatus["CREATED"] = "CREATED";
344
- NotificationDetailStatus["SENT"] = "SENT";
345
- NotificationDetailStatus["FAILED"] = "FAILED";
346
- NotificationDetailStatus["READ"] = "READ";
347
- return NotificationDetailStatus;
348
- }({});
349
- let NotificationScheduleStatus = /* @__PURE__ */ function(NotificationScheduleStatus) {
350
- NotificationScheduleStatus["PENDING"] = "PENDING";
351
- NotificationScheduleStatus["PROCESSING"] = "PROCESSING";
352
- NotificationScheduleStatus["COMPLETED"] = "COMPLETED";
353
- NotificationScheduleStatus["FAILED"] = "FAILED";
354
- NotificationScheduleStatus["CANCELLED"] = "CANCELLED";
355
- return NotificationScheduleStatus;
356
- }({});
357
- let JobType = /* @__PURE__ */ function(JobType) {
358
- JobType["STANDARD"] = "STANDARD";
359
- JobType["REMINDER"] = "REMINDER";
360
- JobType["RECURRING_REMINDER"] = "RECURRING_REMINDER";
361
- return JobType;
362
- }({});
363
- let JobStatus = /* @__PURE__ */ function(JobStatus) {
364
- JobStatus["PENDING"] = "PENDING";
365
- JobStatus["SCHEDULED"] = "SCHEDULED";
366
- JobStatus["RUNNING"] = "RUNNING";
367
- JobStatus["COMPLETED"] = "COMPLETED";
368
- JobStatus["FAILED"] = "FAILED";
369
- JobStatus["CANCELLED"] = "CANCELLED";
370
- JobStatus["RETRYING"] = "RETRYING";
371
- return JobStatus;
372
- }({});
373
- //#endregion
374
- //#region src/generated/location/exceptions.ts
375
- const ProvinceExceptions = { PROVINCE_NOT_FOUND: "Province not found" };
376
- const DistrictExceptions = { DISTRICT_NOT_FOUND: "District not found" };
377
- const WardExceptions = { WARD_NOT_FOUND: "Ward not found" };
378
- //#endregion
379
- //#region src/generated/agreement/exceptions.ts
380
- const AgreementExceptions = {
381
- AGREEMENT_NOT_FOUND: "Agreement not found",
382
- AGREEMENT_IS_NOT_ALLOW: "Agreement is not allowed",
383
- AGREEMENT_ALREADY_SIGNED: "Agreement already signed"
384
- };
385
- const AgreementTypeExceptions = {
386
- AGREEMENT_TYPE_NOT_FOUND: "Agreement type not found",
387
- AGREEMENT_TYPE_IS_NOT_ALLOW: "Agreement type is not allow"
388
- };
389
- //#endregion
390
- //#region src/generated/payment-process/exceptions.ts
391
- const PaymentProcessExceptions = {
392
- PAYMENT_PROCESS_NOT_FOUND: "Payment process not found",
393
- PAYMENT_PROCESS_NOT_IN_PROGRESS: "Payment process is not in progress",
394
- PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment process",
395
- PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment process",
396
- PAYMENT_INSTALLMENT_NOT_FOUND: "Payment installment not found",
397
- PAYMENT_INSTALLMENT_NOT_PENDING: "Payment installment is not pending",
398
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment installment",
399
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment installment"
400
- };
401
- //#endregion
402
- //#region src/generated/payment-process/payment-process.enum.ts
403
- let PaymentProcessStatus = /* @__PURE__ */ function(PaymentProcessStatus) {
404
- PaymentProcessStatus["IN_PROGRESS"] = "IN_PROGRESS";
405
- PaymentProcessStatus["COMPLETED"] = "COMPLETED";
406
- PaymentProcessStatus["CANCELLED"] = "CANCELLED";
407
- return PaymentProcessStatus;
408
- }({});
409
- let PaymentInstallmentStatus = /* @__PURE__ */ function(PaymentInstallmentStatus) {
410
- PaymentInstallmentStatus["PENDING"] = "PENDING";
411
- PaymentInstallmentStatus["PAID"] = "PAID";
412
- PaymentInstallmentStatus["CANCELLED"] = "CANCELLED";
413
- return PaymentInstallmentStatus;
414
- }({});
415
- //#endregion
416
- //#region src/generated/project/exceptions.ts
417
- const ProjectExceptions = {
418
- PROJECT_NOT_FOUND: "Project not found",
419
- PROJECT_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this project",
420
- PROJECT_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this project",
421
- PROJECT_ALREADY_EXISTS: "Project already exists"
412
+ const ClientCategoryExceptions = {
413
+ CLIENT_CATEGORY_NOT_FOUND: "Client category not found",
414
+ CLIENT_CATEGORY_ACCESS_DENIED: "Access denied to this client category",
415
+ CLIENT_CATEGORY_PERMISSION_DENIED: "Permission denied to client category",
416
+ CLIENT_CATEGORY_CREATION_FAILED: "Failed to create client category",
417
+ CLIENT_CATEGORY_UPDATE_FAILED: "Failed to update client category",
418
+ CLIENT_CATEGORY_DELETION_FAILED: "Failed to delete client category",
419
+ FORBIDDEN: "Forbidden"
422
420
  };
423
421
  //#endregion
424
- //#region src/generated/project/project.enum.ts
425
- let ProjectType = /* @__PURE__ */ function(ProjectType) {
426
- ProjectType["GREEN_CLEAN"] = "GREEN_CLEAN";
427
- ProjectType["HIGH_TECH"] = "HIGH_TECH";
428
- ProjectType["HEAVY_INDUSTRY"] = "HEAVY_INDUSTRY";
429
- ProjectType["MIXED_USE"] = "MIXED_USE";
430
- ProjectType["SPECIALIZED"] = "SPECIALIZED";
431
- return ProjectType;
432
- }({});
433
- let ProjectClassification = /* @__PURE__ */ function(ProjectClassification) {
434
- ProjectClassification["INDUSTRIAL_PARK"] = "INDUSTRIAL_PARK";
435
- ProjectClassification["INDUSTRIAL_CLUSTER"] = "INDUSTRIAL_CLUSTER";
436
- ProjectClassification["OFFICE_ZONE"] = "OFFICE_ZONE";
437
- ProjectClassification["MIXED_COMPLEX"] = "MIXED_COMPLEX";
438
- ProjectClassification["SHOPPING_CENTER"] = "SHOPPING_CENTER";
439
- return ProjectClassification;
440
- }({});
441
- let ProjectApprovalStatus = /* @__PURE__ */ function(ProjectApprovalStatus) {
442
- ProjectApprovalStatus["PENDING"] = "PENDING";
443
- ProjectApprovalStatus["APPROVED"] = "APPROVED";
444
- ProjectApprovalStatus["REJECTED"] = "REJECTED";
445
- return ProjectApprovalStatus;
446
- }({});
447
- let ProjectStandard = /* @__PURE__ */ function(ProjectStandard) {
448
- ProjectStandard["PREMIUM"] = "PREMIUM";
449
- ProjectStandard["MEDIUM"] = "MEDIUM";
450
- ProjectStandard["BASIC"] = "BASIC";
451
- ProjectStandard["LUXURY"] = "LUXURY";
452
- return ProjectStandard;
453
- }({});
454
- let ProjectStage = /* @__PURE__ */ function(ProjectStage) {
455
- ProjectStage["OVERALL_PROJECT_DEVELOPMENT"] = "OVERALL_PROJECT_DEVELOPMENT";
456
- ProjectStage["STAGE_1"] = "STAGE_1";
457
- ProjectStage["STAGE_2"] = "STAGE_2";
458
- ProjectStage["STAGE_3"] = "STAGE_3";
459
- ProjectStage["STAGE_4"] = "STAGE_4";
460
- ProjectStage["STAGE_5"] = "STAGE_5";
461
- ProjectStage["EXPANSION"] = "EXPANSION";
462
- return ProjectStage;
463
- }({});
464
- let ProjectCurrentStatus = /* @__PURE__ */ function(ProjectCurrentStatus) {
465
- ProjectCurrentStatus["UPCOMING_FOR_SALE"] = "UPCOMING_FOR_SALE";
466
- ProjectCurrentStatus["FOR_SALE_OR_FOR_LEASE"] = "FOR_SALE_OR_FOR_LEASE";
467
- ProjectCurrentStatus["IN_OPERATION"] = "IN_OPERATION";
468
- ProjectCurrentStatus["INACTIVE"] = "INACTIVE";
469
- ProjectCurrentStatus["UNSPECIFIED"] = "UNSPECIFIED";
470
- return ProjectCurrentStatus;
471
- }({});
472
- //#endregion
473
- //#region src/generated/industrial-property/industrial-property.enum.ts
474
- let PropertyType = /* @__PURE__ */ function(PropertyType) {
475
- PropertyType["INDUSTRIAL_ZONE"] = "INDUSTRIAL_ZONE";
476
- PropertyType["BUILDING"] = "BUILDING";
477
- PropertyType["FLOOR"] = "FLOOR";
478
- PropertyType["ROOM"] = "ROOM";
479
- PropertyType["LAND_LOT"] = "LAND_LOT";
480
- PropertyType["FACTORY"] = "FACTORY";
481
- PropertyType["WAREHOUSE"] = "WAREHOUSE";
482
- PropertyType["OFFICE"] = "OFFICE";
483
- PropertyType["HOUSING"] = "HOUSING";
484
- PropertyType["APARTMENT"] = "APARTMENT";
485
- return PropertyType;
486
- }({});
487
- let PropertyLegalStatus = /* @__PURE__ */ function(PropertyLegalStatus) {
488
- PropertyLegalStatus["MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT"] = "MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT";
489
- PropertyLegalStatus["MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT"] = "MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT";
490
- PropertyLegalStatus["FIFTY_YEARS_ANNUAL_PAYMENT"] = "FIFTY_YEARS_ANNUAL_PAYMENT";
491
- PropertyLegalStatus["FIFTY_YEARS_ONE_TIME_PAYMENT"] = "FIFTY_YEARS_ONE_TIME_PAYMENT";
492
- PropertyLegalStatus["FORTY_YEARS_ANNUAL_PAYMENT"] = "FORTY_YEARS_ANNUAL_PAYMENT";
493
- PropertyLegalStatus["FORTY_YEARS_ONE_TIME_PAYMENT"] = "FORTY_YEARS_ONE_TIME_PAYMENT";
494
- PropertyLegalStatus["THIRTY_YEARS_ONE_TIME_PAYMENT"] = "THIRTY_YEARS_ONE_TIME_PAYMENT";
495
- PropertyLegalStatus["THIRTY_YEARS_ANNUAL_PAYMENT"] = "THIRTY_YEARS_ANNUAL_PAYMENT";
496
- PropertyLegalStatus["TWENTY_YEARS_ANNUAL_PAYMENT"] = "TWENTY_YEARS_ANNUAL_PAYMENT";
497
- PropertyLegalStatus["TWENTY_YEARS_ONE_TIME_PAYMENT"] = "TWENTY_YEARS_ONE_TIME_PAYMENT";
498
- PropertyLegalStatus["TEN_YEARS_ANNUAL_PAYMENT"] = "TEN_YEARS_ANNUAL_PAYMENT";
499
- PropertyLegalStatus["TEN_YEARS_ONE_TIME_PAYMENT"] = "TEN_YEARS_ONE_TIME_PAYMENT";
500
- PropertyLegalStatus["LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT"] = "LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT";
501
- PropertyLegalStatus["LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT"] = "LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT";
502
- return PropertyLegalStatus;
503
- }({});
504
- let PropertyApprovalStatus = /* @__PURE__ */ function(PropertyApprovalStatus) {
505
- PropertyApprovalStatus["PENDING"] = "PENDING";
506
- PropertyApprovalStatus["APPROVED"] = "APPROVED";
507
- PropertyApprovalStatus["REJECTED"] = "REJECTED";
508
- PropertyApprovalStatus["ARCHIVED"] = "ARCHIVED";
509
- return PropertyApprovalStatus;
510
- }({});
511
- let PropertyLandCurrentStatus = /* @__PURE__ */ function(PropertyLandCurrentStatus) {
512
- PropertyLandCurrentStatus["PLANNED"] = "PLANNED";
513
- PropertyLandCurrentStatus["DESIGNING"] = "DESIGNING";
514
- PropertyLandCurrentStatus["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
515
- PropertyLandCurrentStatus["TOPPING_OUT"] = "TOPPING_OUT";
516
- PropertyLandCurrentStatus["NEAR_COMPLETION"] = "NEAR_COMPLETION";
517
- PropertyLandCurrentStatus["COMPLETED"] = "COMPLETED";
518
- PropertyLandCurrentStatus["READY_FOR_HANDOVER"] = "READY_FOR_HANDOVER";
519
- PropertyLandCurrentStatus["HANDED_OVER"] = "HANDED_OVER";
520
- PropertyLandCurrentStatus["ON_HOLD"] = "ON_HOLD";
521
- PropertyLandCurrentStatus["CANCELLED"] = "CANCELLED";
522
- return PropertyLandCurrentStatus;
523
- }({});
524
- let PropertyTransactionStatus = /* @__PURE__ */ function(PropertyTransactionStatus) {
525
- PropertyTransactionStatus["AVAILABLE"] = "AVAILABLE";
526
- PropertyTransactionStatus["DEPOSITED"] = "DEPOSITED";
527
- PropertyTransactionStatus["LEASED"] = "LEASED";
528
- PropertyTransactionStatus["SOLD"] = "SOLD";
529
- PropertyTransactionStatus["UNDEFINED"] = "UNDEFINED";
530
- return PropertyTransactionStatus;
531
- }({});
532
- let PropertyOperationStatus = /* @__PURE__ */ function(PropertyOperationStatus) {
533
- PropertyOperationStatus["UNDETERMINED"] = "UNDETERMINED";
534
- PropertyOperationStatus["COMING_SOON"] = "COMING_SOON";
535
- PropertyOperationStatus["FOR_SALE_RENT"] = "FOR_SALE_RENT";
536
- PropertyOperationStatus["ACTIVE"] = "ACTIVE";
537
- PropertyOperationStatus["DEACTIVATED"] = "DEACTIVATED";
538
- return PropertyOperationStatus;
539
- }({});
540
- let PropertyAuthorizationType = /* @__PURE__ */ function(PropertyAuthorizationType) {
541
- PropertyAuthorizationType["FOR_RENT_A_PART"] = "FOR_RENT_A_PART";
542
- PropertyAuthorizationType["FOR_SALE_A_PART"] = "FOR_SALE_A_PART";
543
- PropertyAuthorizationType["FOR_RENT_ALL"] = "FOR_RENT_ALL";
544
- PropertyAuthorizationType["FOR_SALE_ALL"] = "FOR_SALE_ALL";
545
- return PropertyAuthorizationType;
546
- }({});
547
- let PropertyIdentifierType = /* @__PURE__ */ function(PropertyIdentifierType) {
548
- PropertyIdentifierType["LAND_CERTIFICATE"] = "LAND_CERTIFICATE";
549
- PropertyIdentifierType["PARCEL_NUMBER"] = "PARCEL_NUMBER";
550
- PropertyIdentifierType["MAP_SHEET"] = "MAP_SHEET";
551
- PropertyIdentifierType["GOVERNMENT_CODE"] = "GOVERNMENT_CODE";
552
- PropertyIdentifierType["INTERNAL_CODE"] = "INTERNAL_CODE";
553
- return PropertyIdentifierType;
554
- }({});
555
- let DocumentCategory = /* @__PURE__ */ function(DocumentCategory) {
556
- DocumentCategory["PROJECT_LEGAL"] = "PROJECT_LEGAL";
557
- DocumentCategory["LAND_LEGAL"] = "LAND_LEGAL";
558
- DocumentCategory["CONSTRUCTION_LEGAL"] = "CONSTRUCTION_LEGAL";
559
- DocumentCategory["OTHER"] = "OTHER";
560
- return DocumentCategory;
561
- }({});
562
- let DocumentType = /* @__PURE__ */ function(DocumentType) {
563
- DocumentType["PROJECT_APPROVAL_DECISION"] = "PROJECT_APPROVAL_DECISION";
564
- DocumentType["INVESTMENT_CERTIFICATE"] = "INVESTMENT_CERTIFICATE";
565
- DocumentType["PLANNING_DECISION_1_500"] = "PLANNING_DECISION_1_500";
566
- DocumentType["PLANNING_DECISION_1_2000"] = "PLANNING_DECISION_1_2000";
567
- DocumentType["LAND_USE_RIGHT_CERTIFICATE_RED_BOOK"] = "LAND_USE_RIGHT_CERTIFICATE_RED_BOOK";
568
- DocumentType["LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND"] = "LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND";
569
- DocumentType["LAND_USE_RIGHT_CERTIFICATE_OTHER"] = "LAND_USE_RIGHT_CERTIFICATE_OTHER";
570
- DocumentType["BUILDING_PERMIT"] = "BUILDING_PERMIT";
571
- DocumentType["ENVIRONMENTAL_PERMIT"] = "ENVIRONMENTAL_PERMIT";
572
- DocumentType["FIRE_SAFETY_CERTIFICATE"] = "FIRE_SAFETY_CERTIFICATE";
573
- DocumentType["OTHER"] = "OTHER";
574
- return DocumentType;
575
- }({});
576
- let LandCurrentStatus = /* @__PURE__ */ function(LandCurrentStatus) {
577
- LandCurrentStatus["PLANNED"] = "PLANNED";
578
- LandCurrentStatus["DESIGNING"] = "DESIGNING";
579
- LandCurrentStatus["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
580
- LandCurrentStatus["TOPPING_OUT"] = "TOPPING_OUT";
581
- LandCurrentStatus["NEAR_COMPLETION"] = "NEAR_COMPLETION";
582
- LandCurrentStatus["COMPLETED"] = "COMPLETED";
583
- LandCurrentStatus["READY_FOR_HANDOVER"] = "READY_FOR_HANDOVER";
584
- LandCurrentStatus["HANDED_OVER"] = "HANDED_OVER";
585
- LandCurrentStatus["ON_HOLD"] = "ON_HOLD";
586
- LandCurrentStatus["CANCELLED"] = "CANCELLED";
587
- return LandCurrentStatus;
588
- }({});
589
- let LandType = /* @__PURE__ */ function(LandType) {
590
- LandType["LONG_TERM_OWNERSHIP"] = "LONG_TERM_OWNERSHIP";
591
- LandType["ANNUAL_RENT"] = "ANNUAL_RENT";
592
- LandType["ONE_TIME_RENTAL_PAYMENT"] = "ONE_TIME_RENTAL_PAYMENT";
593
- return LandType;
594
- }({});
595
- let Orientation = /* @__PURE__ */ function(Orientation) {
596
- Orientation["North"] = "NORTH";
597
- Orientation["South"] = "SOUTH";
598
- Orientation["East"] = "EAST";
599
- Orientation["West"] = "WEST";
600
- Orientation["Northeast"] = "NORTHEAST";
601
- Orientation["Northwest"] = "NORTHWEST";
602
- Orientation["Southeast"] = "SOUTHEAST";
603
- Orientation["Southwest"] = "SOUTHWEST";
604
- Orientation["Unknown"] = "UNKNOWN";
605
- return Orientation;
606
- }({});
607
- let VersionAction = /* @__PURE__ */ function(VersionAction) {
608
- VersionAction["CREATE"] = "CREATE";
609
- VersionAction["UPDATE"] = "UPDATE";
610
- return VersionAction;
611
- }({});
612
- //#endregion
613
- //#region src/generated/for-sale/exceptions.ts
614
- const ForSaleExceptions = { FOR_SALE_NOT_FOUND: "For sale not found" };
615
- //#endregion
616
422
  //#region src/generated/for-sale/for-sale.enum.ts
617
423
  let ForSaleRoadType = /* @__PURE__ */ function(ForSaleRoadType) {
618
424
  ForSaleRoadType["UNRECOGNIZED"] = "UNRECOGNIZED";
@@ -680,31 +486,97 @@ let ForSaleStatus = /* @__PURE__ */ function(ForSaleStatus) {
680
486
  ForSaleStatus["PUBLISHED"] = "PUBLISHED";
681
487
  return ForSaleStatus;
682
488
  }({});
683
- let ForSaleApproveStatus = /* @__PURE__ */ function(ForSaleApproveStatus) {
684
- ForSaleApproveStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
685
- ForSaleApproveStatus["APPROVED"] = "APPROVED";
686
- return ForSaleApproveStatus;
489
+ let ForSaleApproveStatus = /* @__PURE__ */ function(ForSaleApproveStatus) {
490
+ ForSaleApproveStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
491
+ ForSaleApproveStatus["APPROVED"] = "APPROVED";
492
+ return ForSaleApproveStatus;
493
+ }({});
494
+ let ForSaleUtilities = /* @__PURE__ */ function(ForSaleUtilities) {
495
+ ForSaleUtilities["FULLY_FINISHED_WITH_HIGH_END_ITEMS"] = "FULLY_FINISHED_WITH_HIGH_END_ITEMS";
496
+ ForSaleUtilities["SEMI_FINISHED"] = "SEMI_FINISHED";
497
+ ForSaleUtilities["FULLY_FINISHED"] = "FULLY_FINISHED";
498
+ ForSaleUtilities["BASIC_CONSTRUCTION"] = "BASIC_CONSTRUCTION";
499
+ return ForSaleUtilities;
500
+ }({});
501
+ //#endregion
502
+ //#region src/generated/consignment-request/consignment-request.enum.ts
503
+ let ConsignmentRequestType = /* @__PURE__ */ function(ConsignmentRequestType) {
504
+ ConsignmentRequestType["SELL"] = "SELL";
505
+ ConsignmentRequestType["RENT"] = "RENT";
506
+ return ConsignmentRequestType;
507
+ }({});
508
+ //#endregion
509
+ //#region src/generated/consignment-request/exceptions.ts
510
+ const ConsignmentRequestExceptions = {
511
+ CONSIGNMENT_REQUEST_NOT_FOUND: "Consignment request not found",
512
+ CONSIGNMENT_REQUEST_NOT_ALLOWED: "Consignment request not allowed"
513
+ };
514
+ //#endregion
515
+ //#region src/generated/conversation/conversation.enum.ts
516
+ let ChatGroupMemberRole = /* @__PURE__ */ function(ChatGroupMemberRole) {
517
+ ChatGroupMemberRole["ADMIN"] = "ADMIN";
518
+ ChatGroupMemberRole["MEMBER"] = "MEMBER";
519
+ ChatGroupMemberRole["GUEST"] = "GUEST";
520
+ return ChatGroupMemberRole;
521
+ }({});
522
+ let MessageType = /* @__PURE__ */ function(MessageType) {
523
+ MessageType["TEXT"] = "TEXT";
524
+ MessageType["IMAGE"] = "IMAGE";
525
+ MessageType["VIDEO"] = "VIDEO";
526
+ MessageType["AUDIO"] = "AUDIO";
527
+ MessageType["DOCUMENT"] = "DOCUMENT";
528
+ MessageType["LINK"] = "LINK";
529
+ return MessageType;
530
+ }({});
531
+ //#endregion
532
+ //#region src/generated/conversation/exceptions.ts
533
+ const ConversationExceptions = {
534
+ CHAT_GROUP_NOT_FOUND: "Chat group not found",
535
+ MEMBER_NOT_FOUND: "Member not found",
536
+ NOT_CHAT_GROUP_MEMBER: "User is not a member of this chat group",
537
+ ALREADY_MEMBER: "User is already a member of this chat group",
538
+ INSUFFICIENT_PERMISSIONS: "Insufficient permissions to perform this action",
539
+ MEMBER_ALREADY_EXISTS: "Member already exists in this chat group",
540
+ MEMBER_HAS_LEFT: "Member has left this chat group",
541
+ CANNOT_DELETE_DIRECT_MESSAGE: "Cannot delete direct message chat group",
542
+ CANNOT_DELETE_DEAL_LINKED_CHAT: "Cannot delete chat group linked to a deal",
543
+ CANNOT_DELETE_DEAL_STEP_LINKED_CHAT: "Cannot delete chat group linked to a deal step",
544
+ MESSAGE_NOT_FOUND: "Message not found",
545
+ MESSAGE_NOT_IN_CHAT_GROUP: "Message does not belong to this chat group"
546
+ };
547
+ //#endregion
548
+ //#region src/generated/deal/exceptions.ts
549
+ const DealExceptions = {
550
+ DEAL_NOT_FOUND: "Deal not found",
551
+ DEAL_STEP_NOT_FOUND: "Deal step not found"
552
+ };
553
+ const DealStepExceptions = {
554
+ DEAL_STEP_NOT_FOUND: "Deal step not found",
555
+ DEAL_STEP_PARTICIPANTS_NOT_FOUND: "Deal step participants not found"
556
+ };
557
+ const PreDealExceptions = { PRE_DEAL_NOT_FOUND: "Pre-deal not found" };
558
+ //#endregion
559
+ //#region src/generated/for-sale/exceptions.ts
560
+ const ForSaleExceptions = { FOR_SALE_NOT_FOUND: "For sale not found" };
561
+ //#endregion
562
+ //#region src/generated/identity/exceptions.ts
563
+ const IdentityExceptions = { IDENTITY_NOT_FOUND: "Identity not found" };
564
+ //#endregion
565
+ //#region src/generated/identity/identity.enum.ts
566
+ let IdentityType = /* @__PURE__ */ function(IdentityType) {
567
+ IdentityType["ID_CARD"] = "ID_CARD";
568
+ return IdentityType;
569
+ }({});
570
+ let IdentityVerificationStatus = /* @__PURE__ */ function(IdentityVerificationStatus) {
571
+ IdentityVerificationStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
572
+ IdentityVerificationStatus["APPROVED"] = "APPROVED";
573
+ return IdentityVerificationStatus;
687
574
  }({});
688
- let ForSaleUtilities = /* @__PURE__ */ function(ForSaleUtilities) {
689
- ForSaleUtilities["FULLY_FINISHED_WITH_HIGH_END_ITEMS"] = "FULLY_FINISHED_WITH_HIGH_END_ITEMS";
690
- ForSaleUtilities["SEMI_FINISHED"] = "SEMI_FINISHED";
691
- ForSaleUtilities["FULLY_FINISHED"] = "FULLY_FINISHED";
692
- ForSaleUtilities["BASIC_CONSTRUCTION"] = "BASIC_CONSTRUCTION";
693
- return ForSaleUtilities;
575
+ let IdentityNationality = /* @__PURE__ */ function(IdentityNationality) {
576
+ IdentityNationality["VN"] = "VN";
577
+ return IdentityNationality;
694
578
  }({});
695
579
  //#endregion
696
- //#region src/generated/register/exceptions.ts
697
- const RegisterExceptions = {
698
- INVALID_VERIFICATION_TYPE: "Verification type is invalid",
699
- OTP_ALREADY_SENT: "OTP is already sent",
700
- RESEND_REACH_LIMIT: "Resend OTP too fast or reached limit",
701
- VERIFY_REACH_LIMIT: "Verify reached limit",
702
- REGISTER_ACCOUNT_REQUEST_NOT_FOUND: "Register account request not found",
703
- REGISTER_ACCOUNT_NOT_VERIFIED: "Register account request is not verified",
704
- INVALID_OTP_CODE: "Invalid Otp code",
705
- REGISTER_ACCOUNT_VERIFICATION_NOT_FOUND: "Register account verification is not found"
706
- };
707
- //#endregion
708
580
  //#region src/generated/industrial-property/exceptions.ts
709
581
  const IndustrialParkExceptions = { INDUSTRIAL_PARK_NOT_FOUND: "Industrial Park not found" };
710
582
  const PropertyExceptions = {
@@ -714,199 +586,160 @@ const PropertyExceptions = {
714
586
  PROPERTY_ALREADY_EXISTS: "Property already exists"
715
587
  };
716
588
  //#endregion
717
- //#region src/generated/blacklist/exceptions.ts
718
- const BlacklistExceptions = {
719
- FORBIDDEN: "You are not authorized to create a blacklist",
720
- NOT_FOUND: "Blacklist not found"
721
- };
722
- //#endregion
723
- //#region src/generated/blacklist/blacklist.enum.ts
724
- let BlackListEntityType = /* @__PURE__ */ function(BlackListEntityType) {
725
- BlackListEntityType["USER"] = "USER";
726
- BlackListEntityType["ORGANIZATION"] = "ORGANIZATION";
727
- return BlackListEntityType;
589
+ //#region src/generated/industrial-property/industrial-property.enum.ts
590
+ let PropertyType = /* @__PURE__ */ function(PropertyType) {
591
+ PropertyType["INDUSTRIAL_ZONE"] = "INDUSTRIAL_ZONE";
592
+ PropertyType["BUILDING"] = "BUILDING";
593
+ PropertyType["FLOOR"] = "FLOOR";
594
+ PropertyType["ROOM"] = "ROOM";
595
+ PropertyType["LAND_LOT"] = "LAND_LOT";
596
+ PropertyType["FACTORY"] = "FACTORY";
597
+ PropertyType["WAREHOUSE"] = "WAREHOUSE";
598
+ PropertyType["OFFICE"] = "OFFICE";
599
+ PropertyType["HOUSING"] = "HOUSING";
600
+ PropertyType["APARTMENT"] = "APARTMENT";
601
+ return PropertyType;
728
602
  }({});
729
- let BlackListStatus = /* @__PURE__ */ function(BlackListStatus) {
730
- BlackListStatus["ACTIVE"] = "ACTIVE";
731
- BlackListStatus["EXPIRED"] = "EXPIRED";
732
- BlackListStatus["REMOVED"] = "REMOVED";
733
- return BlackListStatus;
603
+ let PropertyLegalStatus = /* @__PURE__ */ function(PropertyLegalStatus) {
604
+ PropertyLegalStatus["MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT"] = "MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT";
605
+ PropertyLegalStatus["MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT"] = "MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT";
606
+ PropertyLegalStatus["FIFTY_YEARS_ANNUAL_PAYMENT"] = "FIFTY_YEARS_ANNUAL_PAYMENT";
607
+ PropertyLegalStatus["FIFTY_YEARS_ONE_TIME_PAYMENT"] = "FIFTY_YEARS_ONE_TIME_PAYMENT";
608
+ PropertyLegalStatus["FORTY_YEARS_ANNUAL_PAYMENT"] = "FORTY_YEARS_ANNUAL_PAYMENT";
609
+ PropertyLegalStatus["FORTY_YEARS_ONE_TIME_PAYMENT"] = "FORTY_YEARS_ONE_TIME_PAYMENT";
610
+ PropertyLegalStatus["THIRTY_YEARS_ONE_TIME_PAYMENT"] = "THIRTY_YEARS_ONE_TIME_PAYMENT";
611
+ PropertyLegalStatus["THIRTY_YEARS_ANNUAL_PAYMENT"] = "THIRTY_YEARS_ANNUAL_PAYMENT";
612
+ PropertyLegalStatus["TWENTY_YEARS_ANNUAL_PAYMENT"] = "TWENTY_YEARS_ANNUAL_PAYMENT";
613
+ PropertyLegalStatus["TWENTY_YEARS_ONE_TIME_PAYMENT"] = "TWENTY_YEARS_ONE_TIME_PAYMENT";
614
+ PropertyLegalStatus["TEN_YEARS_ANNUAL_PAYMENT"] = "TEN_YEARS_ANNUAL_PAYMENT";
615
+ PropertyLegalStatus["TEN_YEARS_ONE_TIME_PAYMENT"] = "TEN_YEARS_ONE_TIME_PAYMENT";
616
+ PropertyLegalStatus["LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT"] = "LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT";
617
+ PropertyLegalStatus["LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT"] = "LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT";
618
+ return PropertyLegalStatus;
734
619
  }({});
735
- //#endregion
736
- //#region src/generated/administrator/exceptions.ts
737
- const DocumentExceptions = { DOCUMENT_NOT_FOUND: "Document not found" };
738
- //#endregion
739
- //#region src/generated/ticket/ticket.enum.ts
740
- let TicketType = /* @__PURE__ */ function(TicketType) {
741
- TicketType["APPROVE_USER_TO_BROKER"] = "APPROVE_USER_TO_BROKER";
742
- TicketType["APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"] = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE";
743
- return TicketType;
620
+ let PropertyApprovalStatus = /* @__PURE__ */ function(PropertyApprovalStatus) {
621
+ PropertyApprovalStatus["PENDING"] = "PENDING";
622
+ PropertyApprovalStatus["APPROVED"] = "APPROVED";
623
+ PropertyApprovalStatus["REJECTED"] = "REJECTED";
624
+ PropertyApprovalStatus["ARCHIVED"] = "ARCHIVED";
625
+ return PropertyApprovalStatus;
744
626
  }({});
745
- let TicketStatus = /* @__PURE__ */ function(TicketStatus) {
746
- TicketStatus["PENDING"] = "PENDING";
747
- TicketStatus["PROCESSING"] = "PROCESSING";
748
- TicketStatus["APPROVED"] = "APPROVED";
749
- TicketStatus["REJECTED"] = "REJECTED";
750
- return TicketStatus;
627
+ let PropertyLandCurrentStatus = /* @__PURE__ */ function(PropertyLandCurrentStatus) {
628
+ PropertyLandCurrentStatus["PLANNED"] = "PLANNED";
629
+ PropertyLandCurrentStatus["DESIGNING"] = "DESIGNING";
630
+ PropertyLandCurrentStatus["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
631
+ PropertyLandCurrentStatus["TOPPING_OUT"] = "TOPPING_OUT";
632
+ PropertyLandCurrentStatus["NEAR_COMPLETION"] = "NEAR_COMPLETION";
633
+ PropertyLandCurrentStatus["COMPLETED"] = "COMPLETED";
634
+ PropertyLandCurrentStatus["READY_FOR_HANDOVER"] = "READY_FOR_HANDOVER";
635
+ PropertyLandCurrentStatus["HANDED_OVER"] = "HANDED_OVER";
636
+ PropertyLandCurrentStatus["ON_HOLD"] = "ON_HOLD";
637
+ PropertyLandCurrentStatus["CANCELLED"] = "CANCELLED";
638
+ return PropertyLandCurrentStatus;
751
639
  }({});
752
- //#endregion
753
- //#region src/generated/ticket/exceptions.ts
754
- const TicketExceptions = {
755
- TICKETS_NOT_FOUND: "Tickets not found",
756
- FORBIDEN_PERMISSION: "You do not have permission to approve tickets"
757
- };
758
- //#endregion
759
- //#region src/generated/investor/exceptions.ts
760
- const InvestorExceptions = {
761
- INVESTOR_NOT_FOUND: "Investor not found",
762
- MEMBER_NOT_FOUND: "Member not found",
763
- MEMBER_ALREADY_DELETED: "Member already deleted",
764
- MEMBER_ALREADY_REGISTERED: "Member already registered",
765
- ORGANIZATION_NOT_FOUND: "Organization not found",
766
- ROLE_NOT_FOUND: "Role not found"
767
- };
768
- //#endregion
769
- //#region src/generated/consignment-request/exceptions.ts
770
- const ConsignmentRequestExceptions = {
771
- CONSIGNMENT_REQUEST_NOT_FOUND: "Consignment request not found",
772
- CONSIGNMENT_REQUEST_NOT_ALLOWED: "Consignment request not allowed"
773
- };
774
- //#endregion
775
- //#region src/generated/consignment-request/consignment-request.enum.ts
776
- let ConsignmentRequestType = /* @__PURE__ */ function(ConsignmentRequestType) {
777
- ConsignmentRequestType["SELL"] = "SELL";
778
- ConsignmentRequestType["RENT"] = "RENT";
779
- return ConsignmentRequestType;
640
+ let PropertyTransactionStatus = /* @__PURE__ */ function(PropertyTransactionStatus) {
641
+ PropertyTransactionStatus["AVAILABLE"] = "AVAILABLE";
642
+ PropertyTransactionStatus["DEPOSITED"] = "DEPOSITED";
643
+ PropertyTransactionStatus["LEASED"] = "LEASED";
644
+ PropertyTransactionStatus["SOLD"] = "SOLD";
645
+ PropertyTransactionStatus["UNDEFINED"] = "UNDEFINED";
646
+ return PropertyTransactionStatus;
780
647
  }({});
781
- //#endregion
782
- //#region src/generated/agreement-template/exceptions.ts
783
- const AgreementTemplateExceptions = {
784
- TEMPLATE_NOT_FOUND: "Agreement template not found",
785
- FILE_NOT_FOUND: "Template file not found",
786
- ACCESS_DENIED: "Access denied to this template",
787
- PERMISSION_DENIED: "Permission denied",
788
- TEMPLATE_IN_USE: "Template is in use and cannot be deleted",
789
- CREATION_FAILED: "Failed to create agreement template",
790
- INVALID_TEMPLATE_TYPE: "Invalid template type for user role",
791
- TEMPLATE_ALREADY_EXISTS: "Agreement template already exists"
792
- };
793
- //#endregion
794
- //#region src/generated/agreement-template/agreement-template.enum.ts
795
- let AgreementTemplateType = /* @__PURE__ */ function(AgreementTemplateType) {
796
- AgreementTemplateType["SYSTEM"] = "SYSTEM";
797
- AgreementTemplateType["BROKER"] = "BROKER";
798
- AgreementTemplateType["CLIENT"] = "CLIENT";
799
- AgreementTemplateType["INVESTOR"] = "INVESTOR";
800
- AgreementTemplateType["OWNER"] = "OWNER";
801
- AgreementTemplateType["MOU"] = "MOU";
802
- AgreementTemplateType["DEPOSIT"] = "DEPOSIT";
803
- AgreementTemplateType["DISCLOSURE"] = "DISCLOSURE";
804
- AgreementTemplateType["OTHER"] = "OTHER";
805
- return AgreementTemplateType;
648
+ let PropertyOperationStatus = /* @__PURE__ */ function(PropertyOperationStatus) {
649
+ PropertyOperationStatus["UNDETERMINED"] = "UNDETERMINED";
650
+ PropertyOperationStatus["COMING_SOON"] = "COMING_SOON";
651
+ PropertyOperationStatus["FOR_SALE_RENT"] = "FOR_SALE_RENT";
652
+ PropertyOperationStatus["ACTIVE"] = "ACTIVE";
653
+ PropertyOperationStatus["DEACTIVATED"] = "DEACTIVATED";
654
+ return PropertyOperationStatus;
806
655
  }({});
807
- //#endregion
808
- //#region src/generated/order-request/exceptions.ts
809
- const OrderRequestExceptions = {
810
- ORDER_REQUEST_NOT_FOUND: "Order request not found",
811
- ORDER_REQUEST_NOT_ALLOWED: "Order request not allowed"
812
- };
813
- //#endregion
814
- //#region src/generated/order-request/order-request.enum.ts
815
- let OrderRequestType = /* @__PURE__ */ function(OrderRequestType) {
816
- OrderRequestType["SELL"] = "SELL";
817
- OrderRequestType["RENT"] = "RENT";
818
- return OrderRequestType;
656
+ let PropertyAuthorizationType = /* @__PURE__ */ function(PropertyAuthorizationType) {
657
+ PropertyAuthorizationType["FOR_RENT_A_PART"] = "FOR_RENT_A_PART";
658
+ PropertyAuthorizationType["FOR_SALE_A_PART"] = "FOR_SALE_A_PART";
659
+ PropertyAuthorizationType["FOR_RENT_ALL"] = "FOR_RENT_ALL";
660
+ PropertyAuthorizationType["FOR_SALE_ALL"] = "FOR_SALE_ALL";
661
+ return PropertyAuthorizationType;
819
662
  }({});
820
- //#endregion
821
- //#region src/generated/client/exceptions.ts
822
- const ClientExceptions = {
823
- CLIENT_NOT_FOUND: "Client not found",
824
- CLIENTS_NOT_FOUND: "One or more clients not found",
825
- FORBIDDEN: "Forbidden",
826
- CLIENTS_NOT_CREATED_BY_USER: "One or more clients are not created by the user"
827
- };
828
- const ClientCategoryExceptions = {
829
- CLIENT_CATEGORY_NOT_FOUND: "Client category not found",
830
- CLIENT_CATEGORY_ACCESS_DENIED: "Access denied to this client category",
831
- CLIENT_CATEGORY_PERMISSION_DENIED: "Permission denied to client category",
832
- CLIENT_CATEGORY_CREATION_FAILED: "Failed to create client category",
833
- CLIENT_CATEGORY_UPDATE_FAILED: "Failed to update client category",
834
- CLIENT_CATEGORY_DELETION_FAILED: "Failed to delete client category",
835
- FORBIDDEN: "Forbidden"
836
- };
837
- //#endregion
838
- //#region src/generated/client/client.enum.ts
839
- let ClientNeed = /* @__PURE__ */ function(ClientNeed) {
840
- ClientNeed["FOR_SALE"] = "FOR_SALE";
841
- ClientNeed["FOR_LEASE"] = "FOR_LEASE";
842
- return ClientNeed;
663
+ let PropertyIdentifierType = /* @__PURE__ */ function(PropertyIdentifierType) {
664
+ PropertyIdentifierType["LAND_CERTIFICATE"] = "LAND_CERTIFICATE";
665
+ PropertyIdentifierType["PARCEL_NUMBER"] = "PARCEL_NUMBER";
666
+ PropertyIdentifierType["MAP_SHEET"] = "MAP_SHEET";
667
+ PropertyIdentifierType["GOVERNMENT_CODE"] = "GOVERNMENT_CODE";
668
+ PropertyIdentifierType["INTERNAL_CODE"] = "INTERNAL_CODE";
669
+ return PropertyIdentifierType;
843
670
  }({});
844
- let ClientRoles = /* @__PURE__ */ function(ClientRoles) {
845
- ClientRoles["BROKER"] = "BROKER";
846
- ClientRoles["OWNER"] = "OWNER";
847
- ClientRoles["INVESTOR"] = "INVESTOR";
848
- return ClientRoles;
671
+ let DocumentCategory = /* @__PURE__ */ function(DocumentCategory) {
672
+ DocumentCategory["PROJECT_LEGAL"] = "PROJECT_LEGAL";
673
+ DocumentCategory["LAND_LEGAL"] = "LAND_LEGAL";
674
+ DocumentCategory["CONSTRUCTION_LEGAL"] = "CONSTRUCTION_LEGAL";
675
+ DocumentCategory["OTHER"] = "OTHER";
676
+ return DocumentCategory;
677
+ }({});
678
+ let DocumentType = /* @__PURE__ */ function(DocumentType) {
679
+ DocumentType["PROJECT_APPROVAL_DECISION"] = "PROJECT_APPROVAL_DECISION";
680
+ DocumentType["INVESTMENT_CERTIFICATE"] = "INVESTMENT_CERTIFICATE";
681
+ DocumentType["PLANNING_DECISION_1_500"] = "PLANNING_DECISION_1_500";
682
+ DocumentType["PLANNING_DECISION_1_2000"] = "PLANNING_DECISION_1_2000";
683
+ DocumentType["LAND_USE_RIGHT_CERTIFICATE_RED_BOOK"] = "LAND_USE_RIGHT_CERTIFICATE_RED_BOOK";
684
+ DocumentType["LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND"] = "LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND";
685
+ DocumentType["LAND_USE_RIGHT_CERTIFICATE_OTHER"] = "LAND_USE_RIGHT_CERTIFICATE_OTHER";
686
+ DocumentType["BUILDING_PERMIT"] = "BUILDING_PERMIT";
687
+ DocumentType["ENVIRONMENTAL_PERMIT"] = "ENVIRONMENTAL_PERMIT";
688
+ DocumentType["FIRE_SAFETY_CERTIFICATE"] = "FIRE_SAFETY_CERTIFICATE";
689
+ DocumentType["OTHER"] = "OTHER";
690
+ return DocumentType;
691
+ }({});
692
+ let LandCurrentStatus = /* @__PURE__ */ function(LandCurrentStatus) {
693
+ LandCurrentStatus["PLANNED"] = "PLANNED";
694
+ LandCurrentStatus["DESIGNING"] = "DESIGNING";
695
+ LandCurrentStatus["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
696
+ LandCurrentStatus["TOPPING_OUT"] = "TOPPING_OUT";
697
+ LandCurrentStatus["NEAR_COMPLETION"] = "NEAR_COMPLETION";
698
+ LandCurrentStatus["COMPLETED"] = "COMPLETED";
699
+ LandCurrentStatus["READY_FOR_HANDOVER"] = "READY_FOR_HANDOVER";
700
+ LandCurrentStatus["HANDED_OVER"] = "HANDED_OVER";
701
+ LandCurrentStatus["ON_HOLD"] = "ON_HOLD";
702
+ LandCurrentStatus["CANCELLED"] = "CANCELLED";
703
+ return LandCurrentStatus;
849
704
  }({});
850
- let ClientStatus = /* @__PURE__ */ function(ClientStatus) {
851
- ClientStatus["POTENTIAL"] = "POTENTIAL";
852
- ClientStatus["INTERESTED"] = "INTERESTED";
853
- ClientStatus["NEGOTIATING"] = "NEGOTIATING";
854
- ClientStatus["PURCHASED"] = "PURCHASED";
855
- ClientStatus["LOST"] = "LOST";
856
- ClientStatus["RESEARCHING"] = "RESEARCHING";
857
- ClientStatus["FOLLOW_UP_NEEDED"] = "FOLLOW_UP_NEEDED";
858
- return ClientStatus;
705
+ let LandType = /* @__PURE__ */ function(LandType) {
706
+ LandType["LONG_TERM_OWNERSHIP"] = "LONG_TERM_OWNERSHIP";
707
+ LandType["ANNUAL_RENT"] = "ANNUAL_RENT";
708
+ LandType["ONE_TIME_RENTAL_PAYMENT"] = "ONE_TIME_RENTAL_PAYMENT";
709
+ return LandType;
859
710
  }({});
860
- let ClientSource = /* @__PURE__ */ function(ClientSource) {
861
- ClientSource["WEBSITE"] = "WEBSITE";
862
- ClientSource["FACEBOOK"] = "FACEBOOK";
863
- ClientSource["REFERRAL"] = "REFERRAL";
864
- ClientSource["PHONE_CALL"] = "PHONE_CALL";
865
- ClientSource["EMAIL"] = "EMAIL";
866
- ClientSource["WALK_IN"] = "WALK_IN";
867
- ClientSource["ADVERTISEMENT"] = "ADVERTISEMENT";
868
- ClientSource["EVENT"] = "EVENT";
869
- ClientSource["OTHER"] = "OTHER";
870
- return ClientSource;
711
+ let Orientation = /* @__PURE__ */ function(Orientation) {
712
+ Orientation["North"] = "NORTH";
713
+ Orientation["South"] = "SOUTH";
714
+ Orientation["East"] = "EAST";
715
+ Orientation["West"] = "WEST";
716
+ Orientation["Northeast"] = "NORTHEAST";
717
+ Orientation["Northwest"] = "NORTHWEST";
718
+ Orientation["Southeast"] = "SOUTHEAST";
719
+ Orientation["Southwest"] = "SOUTHWEST";
720
+ Orientation["Unknown"] = "UNKNOWN";
721
+ return Orientation;
871
722
  }({});
872
- let ClientType = /* @__PURE__ */ function(ClientType) {
873
- ClientType["PERSONAL"] = "PERSONAL";
874
- ClientType["ORGANIZATION"] = "ORGANIZATION";
875
- return ClientType;
723
+ let VersionAction = /* @__PURE__ */ function(VersionAction) {
724
+ VersionAction["CREATE"] = "CREATE";
725
+ VersionAction["UPDATE"] = "UPDATE";
726
+ return VersionAction;
876
727
  }({});
877
728
  //#endregion
878
- //#region src/generated/conversation/exceptions.ts
879
- const ConversationExceptions = {
880
- CHAT_GROUP_NOT_FOUND: "Chat group not found",
729
+ //#region src/generated/investor/exceptions.ts
730
+ const InvestorExceptions = {
731
+ INVESTOR_NOT_FOUND: "Investor not found",
881
732
  MEMBER_NOT_FOUND: "Member not found",
882
- NOT_CHAT_GROUP_MEMBER: "User is not a member of this chat group",
883
- ALREADY_MEMBER: "User is already a member of this chat group",
884
- INSUFFICIENT_PERMISSIONS: "Insufficient permissions to perform this action",
885
- MEMBER_ALREADY_EXISTS: "Member already exists in this chat group",
886
- MEMBER_HAS_LEFT: "Member has left this chat group",
887
- CANNOT_DELETE_DIRECT_MESSAGE: "Cannot delete direct message chat group",
888
- CANNOT_DELETE_DEAL_LINKED_CHAT: "Cannot delete chat group linked to a deal",
889
- CANNOT_DELETE_DEAL_STEP_LINKED_CHAT: "Cannot delete chat group linked to a deal step",
890
- MESSAGE_NOT_FOUND: "Message not found",
891
- MESSAGE_NOT_IN_CHAT_GROUP: "Message does not belong to this chat group"
733
+ MEMBER_ALREADY_DELETED: "Member already deleted",
734
+ MEMBER_ALREADY_REGISTERED: "Member already registered",
735
+ ORGANIZATION_NOT_FOUND: "Organization not found",
736
+ ROLE_NOT_FOUND: "Role not found"
892
737
  };
893
738
  //#endregion
894
- //#region src/generated/conversation/conversation.enum.ts
895
- let ChatGroupMemberRole = /* @__PURE__ */ function(ChatGroupMemberRole) {
896
- ChatGroupMemberRole["ADMIN"] = "ADMIN";
897
- ChatGroupMemberRole["MEMBER"] = "MEMBER";
898
- ChatGroupMemberRole["GUEST"] = "GUEST";
899
- return ChatGroupMemberRole;
900
- }({});
901
- let MessageType = /* @__PURE__ */ function(MessageType) {
902
- MessageType["TEXT"] = "TEXT";
903
- MessageType["IMAGE"] = "IMAGE";
904
- MessageType["VIDEO"] = "VIDEO";
905
- MessageType["AUDIO"] = "AUDIO";
906
- MessageType["DOCUMENT"] = "DOCUMENT";
907
- MessageType["LINK"] = "LINK";
908
- return MessageType;
909
- }({});
739
+ //#region src/generated/location/exceptions.ts
740
+ const ProvinceExceptions = { PROVINCE_NOT_FOUND: "Province not found" };
741
+ const DistrictExceptions = { DISTRICT_NOT_FOUND: "District not found" };
742
+ const WardExceptions = { WARD_NOT_FOUND: "Ward not found" };
910
743
  //#endregion
911
744
  //#region src/generated/media/exceptions.ts
912
745
  const MediaExceptions = {
@@ -935,6 +768,173 @@ let MediaSortField = /* @__PURE__ */ function(MediaSortField) {
935
768
  return MediaSortField;
936
769
  }({});
937
770
  //#endregion
771
+ //#region src/generated/notification/notification.enum.ts
772
+ let NotificationEnv = /* @__PURE__ */ function(NotificationEnv) {
773
+ NotificationEnv["PRODUCTION"] = "production";
774
+ NotificationEnv["TESTING"] = "testing";
775
+ NotificationEnv["STAGING"] = "staging";
776
+ return NotificationEnv;
777
+ }({});
778
+ let NotificationType = /* @__PURE__ */ function(NotificationType) {
779
+ NotificationType["EMAIL"] = "EMAIL";
780
+ NotificationType["SMS"] = "SMS";
781
+ NotificationType["PUSH"] = "PUSH";
782
+ return NotificationType;
783
+ }({});
784
+ let NotificationDetailStatus = /* @__PURE__ */ function(NotificationDetailStatus) {
785
+ NotificationDetailStatus["CREATED"] = "CREATED";
786
+ NotificationDetailStatus["SENT"] = "SENT";
787
+ NotificationDetailStatus["FAILED"] = "FAILED";
788
+ NotificationDetailStatus["READ"] = "READ";
789
+ return NotificationDetailStatus;
790
+ }({});
791
+ let NotificationScheduleStatus = /* @__PURE__ */ function(NotificationScheduleStatus) {
792
+ NotificationScheduleStatus["PENDING"] = "PENDING";
793
+ NotificationScheduleStatus["PROCESSING"] = "PROCESSING";
794
+ NotificationScheduleStatus["COMPLETED"] = "COMPLETED";
795
+ NotificationScheduleStatus["FAILED"] = "FAILED";
796
+ NotificationScheduleStatus["CANCELLED"] = "CANCELLED";
797
+ return NotificationScheduleStatus;
798
+ }({});
799
+ let JobType = /* @__PURE__ */ function(JobType) {
800
+ JobType["STANDARD"] = "STANDARD";
801
+ JobType["REMINDER"] = "REMINDER";
802
+ JobType["RECURRING_REMINDER"] = "RECURRING_REMINDER";
803
+ return JobType;
804
+ }({});
805
+ let JobStatus = /* @__PURE__ */ function(JobStatus) {
806
+ JobStatus["PENDING"] = "PENDING";
807
+ JobStatus["SCHEDULED"] = "SCHEDULED";
808
+ JobStatus["RUNNING"] = "RUNNING";
809
+ JobStatus["COMPLETED"] = "COMPLETED";
810
+ JobStatus["FAILED"] = "FAILED";
811
+ JobStatus["CANCELLED"] = "CANCELLED";
812
+ JobStatus["RETRYING"] = "RETRYING";
813
+ return JobStatus;
814
+ }({});
815
+ //#endregion
816
+ //#region src/generated/order-request/exceptions.ts
817
+ const OrderRequestExceptions = {
818
+ ORDER_REQUEST_NOT_FOUND: "Order request not found",
819
+ ORDER_REQUEST_NOT_ALLOWED: "Order request not allowed"
820
+ };
821
+ //#endregion
822
+ //#region src/generated/order-request/order-request.enum.ts
823
+ let OrderRequestType = /* @__PURE__ */ function(OrderRequestType) {
824
+ OrderRequestType["SELL"] = "SELL";
825
+ OrderRequestType["RENT"] = "RENT";
826
+ return OrderRequestType;
827
+ }({});
828
+ //#endregion
829
+ //#region src/generated/payment-process/exceptions.ts
830
+ const PaymentProcessExceptions = {
831
+ PAYMENT_PROCESS_NOT_FOUND: "Payment process not found",
832
+ PAYMENT_PROCESS_NOT_IN_PROGRESS: "Payment process is not in progress",
833
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment process",
834
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment process",
835
+ PAYMENT_INSTALLMENT_NOT_FOUND: "Payment installment not found",
836
+ PAYMENT_INSTALLMENT_NOT_PENDING: "Payment installment is not pending",
837
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment installment",
838
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment installment"
839
+ };
840
+ //#endregion
841
+ //#region src/generated/payment-process/payment-process.enum.ts
842
+ let PaymentProcessStatus = /* @__PURE__ */ function(PaymentProcessStatus) {
843
+ PaymentProcessStatus["IN_PROGRESS"] = "IN_PROGRESS";
844
+ PaymentProcessStatus["COMPLETED"] = "COMPLETED";
845
+ PaymentProcessStatus["CANCELLED"] = "CANCELLED";
846
+ return PaymentProcessStatus;
847
+ }({});
848
+ let PaymentInstallmentStatus = /* @__PURE__ */ function(PaymentInstallmentStatus) {
849
+ PaymentInstallmentStatus["PENDING"] = "PENDING";
850
+ PaymentInstallmentStatus["PAID"] = "PAID";
851
+ PaymentInstallmentStatus["CANCELLED"] = "CANCELLED";
852
+ return PaymentInstallmentStatus;
853
+ }({});
854
+ //#endregion
855
+ //#region src/generated/project/exceptions.ts
856
+ const ProjectExceptions = {
857
+ PROJECT_NOT_FOUND: "Project not found",
858
+ PROJECT_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this project",
859
+ PROJECT_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this project",
860
+ PROJECT_ALREADY_EXISTS: "Project already exists"
861
+ };
862
+ //#endregion
863
+ //#region src/generated/project/project.enum.ts
864
+ let ProjectType = /* @__PURE__ */ function(ProjectType) {
865
+ ProjectType["GREEN_CLEAN"] = "GREEN_CLEAN";
866
+ ProjectType["HIGH_TECH"] = "HIGH_TECH";
867
+ ProjectType["HEAVY_INDUSTRY"] = "HEAVY_INDUSTRY";
868
+ ProjectType["MIXED_USE"] = "MIXED_USE";
869
+ ProjectType["SPECIALIZED"] = "SPECIALIZED";
870
+ return ProjectType;
871
+ }({});
872
+ let ProjectClassification = /* @__PURE__ */ function(ProjectClassification) {
873
+ ProjectClassification["INDUSTRIAL_PARK"] = "INDUSTRIAL_PARK";
874
+ ProjectClassification["INDUSTRIAL_CLUSTER"] = "INDUSTRIAL_CLUSTER";
875
+ ProjectClassification["OFFICE_ZONE"] = "OFFICE_ZONE";
876
+ ProjectClassification["MIXED_COMPLEX"] = "MIXED_COMPLEX";
877
+ ProjectClassification["SHOPPING_CENTER"] = "SHOPPING_CENTER";
878
+ return ProjectClassification;
879
+ }({});
880
+ let ProjectApprovalStatus = /* @__PURE__ */ function(ProjectApprovalStatus) {
881
+ ProjectApprovalStatus["PENDING"] = "PENDING";
882
+ ProjectApprovalStatus["APPROVED"] = "APPROVED";
883
+ ProjectApprovalStatus["REJECTED"] = "REJECTED";
884
+ return ProjectApprovalStatus;
885
+ }({});
886
+ let ProjectStandard = /* @__PURE__ */ function(ProjectStandard) {
887
+ ProjectStandard["PREMIUM"] = "PREMIUM";
888
+ ProjectStandard["MEDIUM"] = "MEDIUM";
889
+ ProjectStandard["BASIC"] = "BASIC";
890
+ ProjectStandard["LUXURY"] = "LUXURY";
891
+ return ProjectStandard;
892
+ }({});
893
+ let ProjectStage = /* @__PURE__ */ function(ProjectStage) {
894
+ ProjectStage["OVERALL_PROJECT_DEVELOPMENT"] = "OVERALL_PROJECT_DEVELOPMENT";
895
+ ProjectStage["STAGE_1"] = "STAGE_1";
896
+ ProjectStage["STAGE_2"] = "STAGE_2";
897
+ ProjectStage["STAGE_3"] = "STAGE_3";
898
+ ProjectStage["STAGE_4"] = "STAGE_4";
899
+ ProjectStage["STAGE_5"] = "STAGE_5";
900
+ ProjectStage["EXPANSION"] = "EXPANSION";
901
+ return ProjectStage;
902
+ }({});
903
+ let ProjectCurrentStatus = /* @__PURE__ */ function(ProjectCurrentStatus) {
904
+ ProjectCurrentStatus["UPCOMING_FOR_SALE"] = "UPCOMING_FOR_SALE";
905
+ ProjectCurrentStatus["FOR_SALE_OR_FOR_LEASE"] = "FOR_SALE_OR_FOR_LEASE";
906
+ ProjectCurrentStatus["IN_OPERATION"] = "IN_OPERATION";
907
+ ProjectCurrentStatus["INACTIVE"] = "INACTIVE";
908
+ ProjectCurrentStatus["UNSPECIFIED"] = "UNSPECIFIED";
909
+ return ProjectCurrentStatus;
910
+ }({});
911
+ //#endregion
912
+ //#region src/generated/register/exceptions.ts
913
+ const RegisterExceptions = {
914
+ INVALID_VERIFICATION_TYPE: "Verification type is invalid",
915
+ OTP_ALREADY_SENT: "OTP is already sent",
916
+ RESEND_REACH_LIMIT: "Resend OTP too fast or reached limit",
917
+ VERIFY_REACH_LIMIT: "Verify reached limit",
918
+ REGISTER_ACCOUNT_REQUEST_NOT_FOUND: "Register account request not found",
919
+ REGISTER_ACCOUNT_NOT_VERIFIED: "Register account request is not verified",
920
+ INVALID_OTP_CODE: "Invalid Otp code",
921
+ REGISTER_ACCOUNT_VERIFICATION_NOT_FOUND: "Register account verification is not found"
922
+ };
923
+ //#endregion
924
+ //#region src/generated/settings/exceptions.ts
925
+ const RoleExceptions = { ROLE_NOT_FOUND: "Role not found" };
926
+ const SettingExceptions = {
927
+ EMAIL_IS_THE_SAME_AS_CURRENT_EMAIL: "Email is the same as the current email",
928
+ INVALID_MAGIC_LINK: "Invalid magic link",
929
+ PHONE_NUMBER_IS_THE_SAME_AS_CURRENT: "Phone number is the same as the current phone number"
930
+ };
931
+ //#endregion
932
+ //#region src/generated/ticket/exceptions.ts
933
+ const TicketExceptions = {
934
+ TICKETS_NOT_FOUND: "Tickets not found",
935
+ FORBIDEN_PERMISSION: "You do not have permission to approve tickets"
936
+ };
937
+ //#endregion
938
938
  exports.AgreementExceptions = AgreementExceptions;
939
939
  exports.AgreementTemplateExceptions = AgreementTemplateExceptions;
940
940
  exports.AgreementTemplateType = AgreementTemplateType;