@investtal/models 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -8,321 +8,83 @@ let SortDirection = /* @__PURE__ */ function(SortDirection) {
8
8
  return SortDirection;
9
9
  }({});
10
10
  //#endregion
11
- //#region src/generated/settings/exceptions.ts
12
- const RoleExceptions = { ROLE_NOT_FOUND: "Role not found" };
13
- const SettingExceptions = {
14
- EMAIL_IS_THE_SAME_AS_CURRENT_EMAIL: "Email is the same as the current email",
15
- INVALID_MAGIC_LINK: "Invalid magic link",
16
- PHONE_NUMBER_IS_THE_SAME_AS_CURRENT: "Phone number is the same as the current phone number"
17
- };
18
- //#endregion
19
- //#region src/generated/auth/auth.enum.ts
20
- let RoleCodes = /* @__PURE__ */ function(RoleCodes) {
21
- RoleCodes["SUPER_ADMIN"] = "SUPER_ADMIN";
22
- RoleCodes["ADMIN"] = "ADMIN";
23
- RoleCodes["BROKER"] = "BROKER";
24
- RoleCodes["CLIENT"] = "CLIENT";
25
- RoleCodes["BACK_OFFICE"] = "BACK_OFFICE";
26
- RoleCodes["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
27
- RoleCodes["OWNER_REPRESENTATIVE"] = "OWNER_REPRESENTATIVE";
28
- return RoleCodes;
29
- }({});
30
- let UserLanguage = /* @__PURE__ */ function(UserLanguage) {
31
- UserLanguage["AF"] = "AF";
32
- UserLanguage["SQ"] = "SQ";
33
- UserLanguage["AM"] = "AM";
34
- UserLanguage["AR"] = "AR";
35
- UserLanguage["HY"] = "HY";
36
- UserLanguage["AZ"] = "AZ";
37
- UserLanguage["EU"] = "EU";
38
- UserLanguage["BE"] = "BE";
39
- UserLanguage["BN"] = "BN";
40
- UserLanguage["BS"] = "BS";
41
- UserLanguage["BG"] = "BG";
42
- UserLanguage["CA"] = "CA";
43
- UserLanguage["CEB"] = "CEB";
44
- UserLanguage["NY"] = "NY";
45
- UserLanguage["ZH"] = "ZH";
46
- UserLanguage["ZH_CN"] = "ZH_CN";
47
- UserLanguage["ZH_TW"] = "ZH_TW";
48
- UserLanguage["CO"] = "CO";
49
- UserLanguage["HR"] = "HR";
50
- UserLanguage["CS"] = "CS";
51
- UserLanguage["DA"] = "DA";
52
- UserLanguage["NL"] = "NL";
53
- UserLanguage["EN"] = "EN";
54
- UserLanguage["EO"] = "EO";
55
- UserLanguage["ET"] = "ET";
56
- UserLanguage["TL"] = "TL";
57
- UserLanguage["FI"] = "FI";
58
- UserLanguage["FR"] = "FR";
59
- UserLanguage["FY"] = "FY";
60
- UserLanguage["GL"] = "GL";
61
- UserLanguage["KA"] = "KA";
62
- UserLanguage["DE"] = "DE";
63
- UserLanguage["EL"] = "EL";
64
- UserLanguage["GU"] = "GU";
65
- UserLanguage["HT"] = "HT";
66
- UserLanguage["HA"] = "HA";
67
- UserLanguage["HAW"] = "HAW";
68
- UserLanguage["HE"] = "HE";
69
- UserLanguage["HI"] = "HI";
70
- UserLanguage["HMN"] = "HMN";
71
- UserLanguage["HU"] = "HU";
72
- UserLanguage["IS"] = "IS";
73
- UserLanguage["IG"] = "IG";
74
- UserLanguage["ID"] = "ID";
75
- UserLanguage["GA"] = "GA";
76
- UserLanguage["IT"] = "IT";
77
- UserLanguage["JA"] = "JA";
78
- UserLanguage["JV"] = "JV";
79
- UserLanguage["KN"] = "KN";
80
- UserLanguage["KK"] = "KK";
81
- UserLanguage["KM"] = "KM";
82
- UserLanguage["RW"] = "RW";
83
- UserLanguage["KO"] = "KO";
84
- UserLanguage["KU"] = "KU";
85
- UserLanguage["KY"] = "KY";
86
- UserLanguage["LO"] = "LO";
87
- UserLanguage["LA"] = "LA";
88
- UserLanguage["LV"] = "LV";
89
- UserLanguage["LT"] = "LT";
90
- UserLanguage["LB"] = "LB";
91
- UserLanguage["MK"] = "MK";
92
- UserLanguage["MG"] = "MG";
93
- UserLanguage["MS"] = "MS";
94
- UserLanguage["ML"] = "ML";
95
- UserLanguage["MT"] = "MT";
96
- UserLanguage["MI"] = "MI";
97
- UserLanguage["MR"] = "MR";
98
- UserLanguage["MN"] = "MN";
99
- UserLanguage["MY"] = "MY";
100
- UserLanguage["NE"] = "NE";
101
- UserLanguage["NO"] = "NO";
102
- UserLanguage["OR"] = "OR";
103
- UserLanguage["PS"] = "PS";
104
- UserLanguage["FA"] = "FA";
105
- UserLanguage["PL"] = "PL";
106
- UserLanguage["PT"] = "PT";
107
- UserLanguage["PA"] = "PA";
108
- UserLanguage["RO"] = "RO";
109
- UserLanguage["RU"] = "RU";
110
- UserLanguage["SM"] = "SM";
111
- UserLanguage["GD"] = "GD";
112
- UserLanguage["SR"] = "SR";
113
- UserLanguage["ST"] = "ST";
114
- UserLanguage["SN"] = "SN";
115
- UserLanguage["SD"] = "SD";
116
- UserLanguage["SI"] = "SI";
117
- UserLanguage["SK"] = "SK";
118
- UserLanguage["SL"] = "SL";
119
- UserLanguage["SO"] = "SO";
120
- UserLanguage["ES"] = "ES";
121
- UserLanguage["SU"] = "SU";
122
- UserLanguage["SW"] = "SW";
123
- UserLanguage["SV"] = "SV";
124
- UserLanguage["TG"] = "TG";
125
- UserLanguage["TA"] = "TA";
126
- UserLanguage["TT"] = "TT";
127
- UserLanguage["TE"] = "TE";
128
- UserLanguage["TH"] = "TH";
129
- UserLanguage["TR"] = "TR";
130
- UserLanguage["TK"] = "TK";
131
- UserLanguage["UK"] = "UK";
132
- UserLanguage["UR"] = "UR";
133
- UserLanguage["UG"] = "UG";
134
- UserLanguage["UZ"] = "UZ";
135
- UserLanguage["VI"] = "VI";
136
- UserLanguage["CY"] = "CY";
137
- UserLanguage["XH"] = "XH";
138
- UserLanguage["YI"] = "YI";
139
- UserLanguage["YO"] = "YO";
140
- UserLanguage["ZU"] = "ZU";
141
- UserLanguage["VN"] = "VN";
142
- return UserLanguage;
143
- }({});
144
- let UserGender = /* @__PURE__ */ function(UserGender) {
145
- UserGender["MALE"] = "MALE";
146
- UserGender["FEMALE"] = "FEMALE";
147
- UserGender["OTHER"] = "OTHER";
148
- return UserGender;
149
- }({});
150
- let UserStatus = /* @__PURE__ */ function(UserStatus) {
151
- UserStatus["ACTIVE"] = "ACTIVE";
152
- UserStatus["INACTIVE"] = "INACTIVE";
153
- UserStatus["BLOCKED"] = "BLOCKED";
154
- return UserStatus;
155
- }({});
156
- let UserHistoryType = /* @__PURE__ */ function(UserHistoryType) {
157
- UserHistoryType["LOGIN"] = "LOGIN";
158
- UserHistoryType["LOGOUT"] = "LOGOUT";
159
- return UserHistoryType;
160
- }({});
161
- let VerificationType = /* @__PURE__ */ function(VerificationType) {
162
- VerificationType["OTP"] = "OTP";
163
- return VerificationType;
164
- }({});
165
- let OtpType = /* @__PURE__ */ function(OtpType) {
166
- OtpType["ACCOUNT_OTP"] = "ACCOUNT_OTP";
167
- OtpType["TRANSACTION_OTP"] = "TRANSACTION_OTP";
168
- return OtpType;
169
- }({});
170
- //#endregion
171
- //#region src/generated/deal/exceptions.ts
172
- const DealExceptions = {
173
- DEAL_NOT_FOUND: "Deal not found",
174
- DEAL_STEP_NOT_FOUND: "Deal step not found"
175
- };
176
- const DealStepExceptions = {
177
- DEAL_STEP_NOT_FOUND: "Deal step not found",
178
- DEAL_STEP_PARTICIPANTS_NOT_FOUND: "Deal step participants not found"
179
- };
180
- const PreDealExceptions = { PRE_DEAL_NOT_FOUND: "Pre-deal not found" };
11
+ //#region src/generated/administrator/exceptions.ts
12
+ const DocumentExceptions = { DOCUMENT_NOT_FOUND: "Document not found" };
181
13
  //#endregion
182
- //#region src/generated/deal/deal.enum.ts
183
- let DealStatus = /* @__PURE__ */ function(DealStatus) {
184
- DealStatus["PENDING"] = "PENDING";
185
- DealStatus["PROCESSING"] = "PROCESSING";
186
- DealStatus["COMPLETED"] = "COMPLETED";
187
- DealStatus["CANCELLED"] = "CANCELLED";
188
- DealStatus["ON_HOLD"] = "ON_HOLD";
189
- return DealStatus;
190
- }({});
191
- let DealFilterType = /* @__PURE__ */ function(DealFilterType) {
192
- DealFilterType["ORDER_REQUEST_RENT"] = "ORDER_REQUEST_RENT";
193
- DealFilterType["ORDER_REQUEST_SELL"] = "ORDER_REQUEST_SELL";
194
- DealFilterType["CONSIGNMENT_REQUEST_RENT"] = "CONSIGNMENT_REQUEST_RENT";
195
- DealFilterType["CONSIGNMENT_REQUEST_SELL"] = "CONSIGNMENT_REQUEST_SELL";
196
- return DealFilterType;
197
- }({});
198
- let DealStepStatus = /* @__PURE__ */ function(DealStepStatus) {
199
- DealStepStatus["PENDING"] = "PENDING";
200
- DealStepStatus["PROCESSING"] = "PROCESSING";
201
- DealStepStatus["COMPLETED"] = "COMPLETED";
202
- DealStepStatus["CANCELLED"] = "CANCELLED";
203
- DealStepStatus["ON_HOLD"] = "ON_HOLD";
204
- return DealStepStatus;
205
- }({});
206
- let DealProgress = /* @__PURE__ */ function(DealProgress) {
207
- DealProgress["INITIATED"] = "INITIATED";
208
- DealProgress["CONSULTING"] = "CONSULTING";
209
- DealProgress["SCHEDULE_SURVEY"] = "SCHEDULE_SURVEY";
210
- DealProgress["NEGOTIATING"] = "NEGOTIATING";
211
- DealProgress["DEPOSIT"] = "DEPOSIT";
212
- DealProgress["PAYMENT"] = "PAYMENT";
213
- DealProgress["HANDOVER"] = "HANDOVER";
214
- DealProgress["COMPLETED"] = "COMPLETED";
215
- DealProgress["CANCELLED"] = "CANCELLED";
216
- return DealProgress;
217
- }({});
218
- let ParticipantRole = /* @__PURE__ */ function(ParticipantRole) {
219
- ParticipantRole["CLIENT_BROKER"] = "CLIENT_BROKER";
220
- ParticipantRole["INVESTOR_BROKER"] = "INVESTOR_BROKER";
221
- ParticipantRole["OWNER"] = "OWNER";
222
- ParticipantRole["INVESTOR"] = "INVESTOR";
223
- ParticipantRole["CLIENT"] = "CLIENT";
224
- ParticipantRole["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
225
- return ParticipantRole;
14
+ //#region src/generated/ticket/ticket.enum.ts
15
+ let TicketType = /* @__PURE__ */ function(TicketType) {
16
+ TicketType["APPROVE_USER_TO_BROKER"] = "APPROVE_USER_TO_BROKER";
17
+ TicketType["APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"] = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE";
18
+ return TicketType;
226
19
  }({});
227
- let ParticipantStatus = /* @__PURE__ */ function(ParticipantStatus) {
228
- ParticipantStatus["PENDING"] = "PENDING";
229
- ParticipantStatus["APPROVED"] = "APPROVED";
230
- ParticipantStatus["REJECTED"] = "REJECTED";
231
- ParticipantStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
232
- ParticipantStatus["NO_RESPONSE"] = "NO_RESPONSE";
233
- return ParticipantStatus;
20
+ let TicketStatus = /* @__PURE__ */ function(TicketStatus) {
21
+ TicketStatus["PENDING"] = "PENDING";
22
+ TicketStatus["PROCESSING"] = "PROCESSING";
23
+ TicketStatus["APPROVED"] = "APPROVED";
24
+ TicketStatus["REJECTED"] = "REJECTED";
25
+ return TicketStatus;
234
26
  }({});
235
27
  //#endregion
236
- //#region src/generated/appointment/exceptions.ts
237
- const AppointmentExceptions = {
238
- APPOINTMENT_NOT_FOUND: "Appointment not found or access denied",
239
- ACCESS_DENIED: "Access denied to this appointment",
240
- PERMISSION_DENIED: "Permission denied",
241
- CREATION_FAILED: "Failed to create appointment",
242
- UPDATE_FAILED: "Failed to update appointment",
243
- DELETE_FAILED: "Failed to delete appointment",
244
- INVALID_STATUS: "Invalid appointment status",
245
- INVALID_DATE: "Invalid appointment date",
246
- PARTICIPANT_NOT_FOUND: "Participant not found",
247
- REMINDER_FAILED: "Failed to set appointment reminder"
28
+ //#region src/generated/blacklist/exceptions.ts
29
+ const BlacklistExceptions = {
30
+ FORBIDDEN: "You are not authorized to create a blacklist",
31
+ NOT_FOUND: "Blacklist not found"
248
32
  };
249
33
  //#endregion
250
- //#region src/generated/appointment/appointment.enum.ts
251
- let AppointmentStatus = /* @__PURE__ */ function(AppointmentStatus) {
252
- AppointmentStatus["PENDING_APPROVAL"] = "PENDING_APPROVAL";
253
- AppointmentStatus["SCHEDULED"] = "SCHEDULED";
254
- AppointmentStatus["COMPLETED"] = "COMPLETED";
255
- AppointmentStatus["CANCELLED"] = "CANCELLED";
256
- return AppointmentStatus;
257
- }({});
258
- let AppointmentType = /* @__PURE__ */ function(AppointmentType) {
259
- AppointmentType["SURVEY_SCHEDULING"] = "SURVEY_SCHEDULING";
260
- AppointmentType["NEGOTIATION"] = "NEGOTIATION";
261
- AppointmentType["LEASE_DEPOSIT"] = "LEASE_DEPOSIT";
262
- AppointmentType["LEGAL_LICENSING"] = "LEGAL_LICENSING";
263
- AppointmentType["FINAL_CONTRACT_PAYMENT"] = "FINAL_CONTRACT_PAYMENT";
264
- AppointmentType["PROPERTY_HANDOVER"] = "PROPERTY_HANDOVER";
265
- AppointmentType["TRANSACTION_COMPLETED"] = "TRANSACTION_COMPLETED";
266
- return AppointmentType;
267
- }({});
268
- let ScheduleType = /* @__PURE__ */ function(ScheduleType) {
269
- ScheduleType["SCHEDULE_CREATED"] = "SCHEDULE_CREATED";
270
- ScheduleType["DAILY_ACKNOWLEDGMENT"] = "DAILY_ACKNOWLEDGMENT";
271
- ScheduleType["PRE_MEETING"] = "PRE_MEETING";
272
- return ScheduleType;
34
+ //#region src/generated/blacklist/blacklist.enum.ts
35
+ let BlackListEntityType = /* @__PURE__ */ function(BlackListEntityType) {
36
+ BlackListEntityType["USER"] = "USER";
37
+ BlackListEntityType["ORGANIZATION"] = "ORGANIZATION";
38
+ return BlackListEntityType;
273
39
  }({});
274
- let SchedulerStatus = /* @__PURE__ */ function(SchedulerStatus) {
275
- SchedulerStatus["PENDING"] = "PENDING";
276
- SchedulerStatus["SENT"] = "SENT";
277
- SchedulerStatus["DELIVERED"] = "DELIVERED";
278
- SchedulerStatus["FAILED"] = "FAILED";
279
- SchedulerStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
280
- SchedulerStatus["CANCELLED"] = "CANCELLED";
281
- return SchedulerStatus;
40
+ let BlackListStatus = /* @__PURE__ */ function(BlackListStatus) {
41
+ BlackListStatus["ACTIVE"] = "ACTIVE";
42
+ BlackListStatus["EXPIRED"] = "EXPIRED";
43
+ BlackListStatus["REMOVED"] = "REMOVED";
44
+ return BlackListStatus;
282
45
  }({});
283
46
  //#endregion
284
- //#region src/generated/broker/exceptions.ts
285
- const BrokerExceptions = {
286
- INVITED_USER_NOT_FOUND: "Invited user not found",
287
- INPUT_DATA_IS_INVALID: "Input data is invalid"
47
+ //#region src/generated/conversation/exceptions.ts
48
+ const ConversationExceptions = {
49
+ CHAT_GROUP_NOT_FOUND: "Chat group not found",
50
+ MEMBER_NOT_FOUND: "Member not found",
51
+ NOT_CHAT_GROUP_MEMBER: "User is not a member of this chat group",
52
+ ALREADY_MEMBER: "User is already a member of this chat group",
53
+ INSUFFICIENT_PERMISSIONS: "Insufficient permissions to perform this action",
54
+ MEMBER_ALREADY_EXISTS: "Member already exists in this chat group",
55
+ MEMBER_HAS_LEFT: "Member has left this chat group",
56
+ CANNOT_DELETE_DIRECT_MESSAGE: "Cannot delete direct message chat group",
57
+ CANNOT_DELETE_DEAL_LINKED_CHAT: "Cannot delete chat group linked to a deal",
58
+ CANNOT_DELETE_DEAL_STEP_LINKED_CHAT: "Cannot delete chat group linked to a deal step",
59
+ MESSAGE_NOT_FOUND: "Message not found",
60
+ MESSAGE_NOT_IN_CHAT_GROUP: "Message does not belong to this chat group"
288
61
  };
289
62
  //#endregion
290
- //#region src/generated/broker/broker.enum.ts
291
- let ConvertBrokerClientType = /* @__PURE__ */ function(ConvertBrokerClientType) {
292
- ConvertBrokerClientType["VOICE"] = "VOICE";
293
- ConvertBrokerClientType["CSV"] = "CSV";
294
- ConvertBrokerClientType["EXCEL"] = "EXCEL";
295
- return ConvertBrokerClientType;
296
- }({});
297
- //#endregion
298
- //#region src/generated/identity/exceptions.ts
299
- const IdentityExceptions = { IDENTITY_NOT_FOUND: "Identity not found" };
300
- //#endregion
301
- //#region src/generated/identity/identity.enum.ts
302
- let IdentityType = /* @__PURE__ */ function(IdentityType) {
303
- IdentityType["ID_CARD"] = "ID_CARD";
304
- return IdentityType;
305
- }({});
306
- let IdentityVerificationStatus = /* @__PURE__ */ function(IdentityVerificationStatus) {
307
- IdentityVerificationStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
308
- IdentityVerificationStatus["APPROVED"] = "APPROVED";
309
- return IdentityVerificationStatus;
63
+ //#region src/generated/conversation/conversation.enum.ts
64
+ let ChatGroupMemberRole = /* @__PURE__ */ function(ChatGroupMemberRole) {
65
+ ChatGroupMemberRole["ADMIN"] = "ADMIN";
66
+ ChatGroupMemberRole["MEMBER"] = "MEMBER";
67
+ ChatGroupMemberRole["GUEST"] = "GUEST";
68
+ return ChatGroupMemberRole;
310
69
  }({});
311
- let IdentityNationality = /* @__PURE__ */ function(IdentityNationality) {
312
- IdentityNationality["VN"] = "VN";
313
- return IdentityNationality;
70
+ let MessageType = /* @__PURE__ */ function(MessageType) {
71
+ MessageType["TEXT"] = "TEXT";
72
+ MessageType["IMAGE"] = "IMAGE";
73
+ MessageType["VIDEO"] = "VIDEO";
74
+ MessageType["AUDIO"] = "AUDIO";
75
+ MessageType["DOCUMENT"] = "DOCUMENT";
76
+ MessageType["LINK"] = "LINK";
77
+ return MessageType;
314
78
  }({});
315
79
  //#endregion
316
- //#region src/generated/auth/exceptions.ts
317
- const UserExceptions = {
318
- USER_NOT_FOUND: "User not found",
319
- INVALID_CREDENTIALS: "Invalid credentials",
320
- TOO_MANY_LOGIN_ATTEMPTS: "Too many login attempts",
321
- USER_NOT_ACTIVE: "User is not active",
322
- PASSWORD_INCORRECT: "Password is not correct",
323
- USER_ALREADY_EXISTS: "User already exists",
324
- OTP_EXPIRED: "OTP expired",
325
- INVALID_OTP: "Invalid OTP"
80
+ //#region src/generated/investor/exceptions.ts
81
+ const InvestorExceptions = {
82
+ INVESTOR_NOT_FOUND: "Investor not found",
83
+ MEMBER_NOT_FOUND: "Member not found",
84
+ MEMBER_ALREADY_DELETED: "Member already deleted",
85
+ MEMBER_ALREADY_REGISTERED: "Member already registered",
86
+ ORGANIZATION_NOT_FOUND: "Organization not found",
87
+ ROLE_NOT_FOUND: "Role not found"
326
88
  };
327
89
  //#endregion
328
90
  //#region src/generated/notification/notification.enum.ts
@@ -370,48 +132,6 @@ let JobStatus = /* @__PURE__ */ function(JobStatus) {
370
132
  return JobStatus;
371
133
  }({});
372
134
  //#endregion
373
- //#region src/generated/location/exceptions.ts
374
- const ProvinceExceptions = { PROVINCE_NOT_FOUND: "Province not found" };
375
- const DistrictExceptions = { DISTRICT_NOT_FOUND: "District not found" };
376
- const WardExceptions = { WARD_NOT_FOUND: "Ward not found" };
377
- //#endregion
378
- //#region src/generated/agreement/exceptions.ts
379
- const AgreementExceptions = {
380
- AGREEMENT_NOT_FOUND: "Agreement not found",
381
- AGREEMENT_IS_NOT_ALLOW: "Agreement is not allowed",
382
- AGREEMENT_ALREADY_SIGNED: "Agreement already signed"
383
- };
384
- const AgreementTypeExceptions = {
385
- AGREEMENT_TYPE_NOT_FOUND: "Agreement type not found",
386
- AGREEMENT_TYPE_IS_NOT_ALLOW: "Agreement type is not allow"
387
- };
388
- //#endregion
389
- //#region src/generated/payment-process/exceptions.ts
390
- const PaymentProcessExceptions = {
391
- PAYMENT_PROCESS_NOT_FOUND: "Payment process not found",
392
- PAYMENT_PROCESS_NOT_IN_PROGRESS: "Payment process is not in progress",
393
- PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment process",
394
- PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment process",
395
- PAYMENT_INSTALLMENT_NOT_FOUND: "Payment installment not found",
396
- PAYMENT_INSTALLMENT_NOT_PENDING: "Payment installment is not pending",
397
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment installment",
398
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment installment"
399
- };
400
- //#endregion
401
- //#region src/generated/payment-process/payment-process.enum.ts
402
- let PaymentProcessStatus = /* @__PURE__ */ function(PaymentProcessStatus) {
403
- PaymentProcessStatus["IN_PROGRESS"] = "IN_PROGRESS";
404
- PaymentProcessStatus["COMPLETED"] = "COMPLETED";
405
- PaymentProcessStatus["CANCELLED"] = "CANCELLED";
406
- return PaymentProcessStatus;
407
- }({});
408
- let PaymentInstallmentStatus = /* @__PURE__ */ function(PaymentInstallmentStatus) {
409
- PaymentInstallmentStatus["PENDING"] = "PENDING";
410
- PaymentInstallmentStatus["PAID"] = "PAID";
411
- PaymentInstallmentStatus["CANCELLED"] = "CANCELLED";
412
- return PaymentInstallmentStatus;
413
- }({});
414
- //#endregion
415
135
  //#region src/generated/project/exceptions.ts
416
136
  const ProjectExceptions = {
417
137
  PROJECT_NOT_FOUND: "Project not found",
@@ -645,51 +365,215 @@ let ForSaleInfrastructureStatus = /* @__PURE__ */ function(ForSaleInfrastructure
645
365
  ForSaleInfrastructureStatus["UNLEVELED"] = "UNLEVELED";
646
366
  return ForSaleInfrastructureStatus;
647
367
  }({});
648
- let ForSalePropertyType = /* @__PURE__ */ function(ForSalePropertyType) {
649
- ForSalePropertyType["UNRECOGNIZED"] = "UNRECOGNIZED";
650
- ForSalePropertyType["INDUSTRIAL_LAND_AND_FACTORIES"] = "INDUSTRIAL_LAND_AND_FACTORIES";
651
- ForSalePropertyType["FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND"] = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND";
652
- ForSalePropertyType["RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND"] = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND";
653
- ForSalePropertyType["AMUSEMENT_PARKS_AND_SPORTS_ZONES"] = "AMUSEMENT_PARKS_AND_SPORTS_ZONES";
654
- ForSalePropertyType["TOWNHOUSES_AND_APARTMENTS"] = "TOWNHOUSES_AND_APARTMENTS";
655
- ForSalePropertyType["HOSPITALS_AND_CLINICS"] = "HOSPITALS_AND_CLINICS";
656
- ForSalePropertyType["SCHOOLS_AND_TRAINING_CENTERS"] = "SCHOOLS_AND_TRAINING_CENTERS";
657
- ForSalePropertyType["ENERGY_PROJECT"] = "ENERGY_PROJECT";
658
- ForSalePropertyType["SHOPPING_CENTERS_AND_OFFICE"] = "SHOPPING_CENTERS_AND_OFFICE";
659
- ForSalePropertyType["INDUSTRIAL_PARKS"] = "INDUSTRIAL_PARKS";
660
- ForSalePropertyType["RESORT_AND_HOTEL"] = "RESORT_AND_HOTEL";
661
- ForSalePropertyType["MINES_AND_MINERALS"] = "MINES_AND_MINERALS";
662
- ForSalePropertyType["GAS_STATIONS_AND_EV_CHARGING_STATIONS"] = "GAS_STATIONS_AND_EV_CHARGING_STATIONS";
663
- ForSalePropertyType["DOCKS_AND_YARDS"] = "DOCKS_AND_YARDS";
664
- ForSalePropertyType["ECOLOGICAL_AREAS_AND_FARMS"] = "ECOLOGICAL_AREAS_AND_FARMS";
665
- return ForSalePropertyType;
368
+ let ForSalePropertyType = /* @__PURE__ */ function(ForSalePropertyType) {
369
+ ForSalePropertyType["UNRECOGNIZED"] = "UNRECOGNIZED";
370
+ ForSalePropertyType["INDUSTRIAL_LAND_AND_FACTORIES"] = "INDUSTRIAL_LAND_AND_FACTORIES";
371
+ ForSalePropertyType["FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND"] = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND";
372
+ ForSalePropertyType["RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND"] = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND";
373
+ ForSalePropertyType["AMUSEMENT_PARKS_AND_SPORTS_ZONES"] = "AMUSEMENT_PARKS_AND_SPORTS_ZONES";
374
+ ForSalePropertyType["TOWNHOUSES_AND_APARTMENTS"] = "TOWNHOUSES_AND_APARTMENTS";
375
+ ForSalePropertyType["HOSPITALS_AND_CLINICS"] = "HOSPITALS_AND_CLINICS";
376
+ ForSalePropertyType["SCHOOLS_AND_TRAINING_CENTERS"] = "SCHOOLS_AND_TRAINING_CENTERS";
377
+ ForSalePropertyType["ENERGY_PROJECT"] = "ENERGY_PROJECT";
378
+ ForSalePropertyType["SHOPPING_CENTERS_AND_OFFICE"] = "SHOPPING_CENTERS_AND_OFFICE";
379
+ ForSalePropertyType["INDUSTRIAL_PARKS"] = "INDUSTRIAL_PARKS";
380
+ ForSalePropertyType["RESORT_AND_HOTEL"] = "RESORT_AND_HOTEL";
381
+ ForSalePropertyType["MINES_AND_MINERALS"] = "MINES_AND_MINERALS";
382
+ ForSalePropertyType["GAS_STATIONS_AND_EV_CHARGING_STATIONS"] = "GAS_STATIONS_AND_EV_CHARGING_STATIONS";
383
+ ForSalePropertyType["DOCKS_AND_YARDS"] = "DOCKS_AND_YARDS";
384
+ ForSalePropertyType["ECOLOGICAL_AREAS_AND_FARMS"] = "ECOLOGICAL_AREAS_AND_FARMS";
385
+ return ForSalePropertyType;
386
+ }({});
387
+ let ForSalePostType = /* @__PURE__ */ function(ForSalePostType) {
388
+ ForSalePostType["NORMAL"] = "NORMAL";
389
+ ForSalePostType["URGENT_SALE"] = "URGENT_SALE";
390
+ ForSalePostType["PROMOTED"] = "PROMOTED";
391
+ ForSalePostType["UNDER_MARKET"] = "UNDER_MARKET";
392
+ ForSalePostType["SPECIAL"] = "SPECIAL";
393
+ ForSalePostType["PRE_SALE"] = "PRE_SALE";
394
+ return ForSalePostType;
395
+ }({});
396
+ let ForSaleStatus = /* @__PURE__ */ function(ForSaleStatus) {
397
+ ForSaleStatus["DRAFT"] = "DRAFT";
398
+ ForSaleStatus["UNPUBLISHED"] = "UNPUBLISHED";
399
+ ForSaleStatus["PUBLISHED"] = "PUBLISHED";
400
+ return ForSaleStatus;
401
+ }({});
402
+ let ForSaleApproveStatus = /* @__PURE__ */ function(ForSaleApproveStatus) {
403
+ ForSaleApproveStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
404
+ ForSaleApproveStatus["APPROVED"] = "APPROVED";
405
+ return ForSaleApproveStatus;
406
+ }({});
407
+ let ForSaleUtilities = /* @__PURE__ */ function(ForSaleUtilities) {
408
+ ForSaleUtilities["FULLY_FINISHED_WITH_HIGH_END_ITEMS"] = "FULLY_FINISHED_WITH_HIGH_END_ITEMS";
409
+ ForSaleUtilities["SEMI_FINISHED"] = "SEMI_FINISHED";
410
+ ForSaleUtilities["FULLY_FINISHED"] = "FULLY_FINISHED";
411
+ ForSaleUtilities["BASIC_CONSTRUCTION"] = "BASIC_CONSTRUCTION";
412
+ return ForSaleUtilities;
413
+ }({});
414
+ //#endregion
415
+ //#region src/generated/auth/exceptions.ts
416
+ const UserExceptions = {
417
+ USER_NOT_FOUND: "User not found",
418
+ INVALID_CREDENTIALS: "Invalid credentials",
419
+ TOO_MANY_LOGIN_ATTEMPTS: "Too many login attempts",
420
+ USER_NOT_ACTIVE: "User is not active",
421
+ PASSWORD_INCORRECT: "Password is not correct",
422
+ USER_ALREADY_EXISTS: "User already exists",
423
+ OTP_EXPIRED: "OTP expired",
424
+ INVALID_OTP: "Invalid OTP"
425
+ };
426
+ //#endregion
427
+ //#region src/generated/auth/auth.enum.ts
428
+ let RoleCodes = /* @__PURE__ */ function(RoleCodes) {
429
+ RoleCodes["SUPER_ADMIN"] = "SUPER_ADMIN";
430
+ RoleCodes["ADMIN"] = "ADMIN";
431
+ RoleCodes["BROKER"] = "BROKER";
432
+ RoleCodes["CLIENT"] = "CLIENT";
433
+ RoleCodes["BACK_OFFICE"] = "BACK_OFFICE";
434
+ RoleCodes["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
435
+ RoleCodes["OWNER_REPRESENTATIVE"] = "OWNER_REPRESENTATIVE";
436
+ return RoleCodes;
437
+ }({});
438
+ let UserLanguage = /* @__PURE__ */ function(UserLanguage) {
439
+ UserLanguage["AF"] = "AF";
440
+ UserLanguage["SQ"] = "SQ";
441
+ UserLanguage["AM"] = "AM";
442
+ UserLanguage["AR"] = "AR";
443
+ UserLanguage["HY"] = "HY";
444
+ UserLanguage["AZ"] = "AZ";
445
+ UserLanguage["EU"] = "EU";
446
+ UserLanguage["BE"] = "BE";
447
+ UserLanguage["BN"] = "BN";
448
+ UserLanguage["BS"] = "BS";
449
+ UserLanguage["BG"] = "BG";
450
+ UserLanguage["CA"] = "CA";
451
+ UserLanguage["CEB"] = "CEB";
452
+ UserLanguage["NY"] = "NY";
453
+ UserLanguage["ZH"] = "ZH";
454
+ UserLanguage["ZH_CN"] = "ZH_CN";
455
+ UserLanguage["ZH_TW"] = "ZH_TW";
456
+ UserLanguage["CO"] = "CO";
457
+ UserLanguage["HR"] = "HR";
458
+ UserLanguage["CS"] = "CS";
459
+ UserLanguage["DA"] = "DA";
460
+ UserLanguage["NL"] = "NL";
461
+ UserLanguage["EN"] = "EN";
462
+ UserLanguage["EO"] = "EO";
463
+ UserLanguage["ET"] = "ET";
464
+ UserLanguage["TL"] = "TL";
465
+ UserLanguage["FI"] = "FI";
466
+ UserLanguage["FR"] = "FR";
467
+ UserLanguage["FY"] = "FY";
468
+ UserLanguage["GL"] = "GL";
469
+ UserLanguage["KA"] = "KA";
470
+ UserLanguage["DE"] = "DE";
471
+ UserLanguage["EL"] = "EL";
472
+ UserLanguage["GU"] = "GU";
473
+ UserLanguage["HT"] = "HT";
474
+ UserLanguage["HA"] = "HA";
475
+ UserLanguage["HAW"] = "HAW";
476
+ UserLanguage["HE"] = "HE";
477
+ UserLanguage["HI"] = "HI";
478
+ UserLanguage["HMN"] = "HMN";
479
+ UserLanguage["HU"] = "HU";
480
+ UserLanguage["IS"] = "IS";
481
+ UserLanguage["IG"] = "IG";
482
+ UserLanguage["ID"] = "ID";
483
+ UserLanguage["GA"] = "GA";
484
+ UserLanguage["IT"] = "IT";
485
+ UserLanguage["JA"] = "JA";
486
+ UserLanguage["JV"] = "JV";
487
+ UserLanguage["KN"] = "KN";
488
+ UserLanguage["KK"] = "KK";
489
+ UserLanguage["KM"] = "KM";
490
+ UserLanguage["RW"] = "RW";
491
+ UserLanguage["KO"] = "KO";
492
+ UserLanguage["KU"] = "KU";
493
+ UserLanguage["KY"] = "KY";
494
+ UserLanguage["LO"] = "LO";
495
+ UserLanguage["LA"] = "LA";
496
+ UserLanguage["LV"] = "LV";
497
+ UserLanguage["LT"] = "LT";
498
+ UserLanguage["LB"] = "LB";
499
+ UserLanguage["MK"] = "MK";
500
+ UserLanguage["MG"] = "MG";
501
+ UserLanguage["MS"] = "MS";
502
+ UserLanguage["ML"] = "ML";
503
+ UserLanguage["MT"] = "MT";
504
+ UserLanguage["MI"] = "MI";
505
+ UserLanguage["MR"] = "MR";
506
+ UserLanguage["MN"] = "MN";
507
+ UserLanguage["MY"] = "MY";
508
+ UserLanguage["NE"] = "NE";
509
+ UserLanguage["NO"] = "NO";
510
+ UserLanguage["OR"] = "OR";
511
+ UserLanguage["PS"] = "PS";
512
+ UserLanguage["FA"] = "FA";
513
+ UserLanguage["PL"] = "PL";
514
+ UserLanguage["PT"] = "PT";
515
+ UserLanguage["PA"] = "PA";
516
+ UserLanguage["RO"] = "RO";
517
+ UserLanguage["RU"] = "RU";
518
+ UserLanguage["SM"] = "SM";
519
+ UserLanguage["GD"] = "GD";
520
+ UserLanguage["SR"] = "SR";
521
+ UserLanguage["ST"] = "ST";
522
+ UserLanguage["SN"] = "SN";
523
+ UserLanguage["SD"] = "SD";
524
+ UserLanguage["SI"] = "SI";
525
+ UserLanguage["SK"] = "SK";
526
+ UserLanguage["SL"] = "SL";
527
+ UserLanguage["SO"] = "SO";
528
+ UserLanguage["ES"] = "ES";
529
+ UserLanguage["SU"] = "SU";
530
+ UserLanguage["SW"] = "SW";
531
+ UserLanguage["SV"] = "SV";
532
+ UserLanguage["TG"] = "TG";
533
+ UserLanguage["TA"] = "TA";
534
+ UserLanguage["TT"] = "TT";
535
+ UserLanguage["TE"] = "TE";
536
+ UserLanguage["TH"] = "TH";
537
+ UserLanguage["TR"] = "TR";
538
+ UserLanguage["TK"] = "TK";
539
+ UserLanguage["UK"] = "UK";
540
+ UserLanguage["UR"] = "UR";
541
+ UserLanguage["UG"] = "UG";
542
+ UserLanguage["UZ"] = "UZ";
543
+ UserLanguage["VI"] = "VI";
544
+ UserLanguage["CY"] = "CY";
545
+ UserLanguage["XH"] = "XH";
546
+ UserLanguage["YI"] = "YI";
547
+ UserLanguage["YO"] = "YO";
548
+ UserLanguage["ZU"] = "ZU";
549
+ UserLanguage["VN"] = "VN";
550
+ return UserLanguage;
551
+ }({});
552
+ let UserGender = /* @__PURE__ */ function(UserGender) {
553
+ UserGender["MALE"] = "MALE";
554
+ UserGender["FEMALE"] = "FEMALE";
555
+ UserGender["OTHER"] = "OTHER";
556
+ return UserGender;
666
557
  }({});
667
- let ForSalePostType = /* @__PURE__ */ function(ForSalePostType) {
668
- ForSalePostType["NORMAL"] = "NORMAL";
669
- ForSalePostType["URGENT_SALE"] = "URGENT_SALE";
670
- ForSalePostType["PROMOTED"] = "PROMOTED";
671
- ForSalePostType["UNDER_MARKET"] = "UNDER_MARKET";
672
- ForSalePostType["SPECIAL"] = "SPECIAL";
673
- ForSalePostType["PRE_SALE"] = "PRE_SALE";
674
- return ForSalePostType;
558
+ let UserStatus = /* @__PURE__ */ function(UserStatus) {
559
+ UserStatus["ACTIVE"] = "ACTIVE";
560
+ UserStatus["INACTIVE"] = "INACTIVE";
561
+ UserStatus["BLOCKED"] = "BLOCKED";
562
+ return UserStatus;
675
563
  }({});
676
- let ForSaleStatus = /* @__PURE__ */ function(ForSaleStatus) {
677
- ForSaleStatus["DRAFT"] = "DRAFT";
678
- ForSaleStatus["UNPUBLISHED"] = "UNPUBLISHED";
679
- ForSaleStatus["PUBLISHED"] = "PUBLISHED";
680
- return ForSaleStatus;
564
+ let UserHistoryType = /* @__PURE__ */ function(UserHistoryType) {
565
+ UserHistoryType["LOGIN"] = "LOGIN";
566
+ UserHistoryType["LOGOUT"] = "LOGOUT";
567
+ return UserHistoryType;
681
568
  }({});
682
- let ForSaleApproveStatus = /* @__PURE__ */ function(ForSaleApproveStatus) {
683
- ForSaleApproveStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
684
- ForSaleApproveStatus["APPROVED"] = "APPROVED";
685
- return ForSaleApproveStatus;
569
+ let VerificationType = /* @__PURE__ */ function(VerificationType) {
570
+ VerificationType["OTP"] = "OTP";
571
+ return VerificationType;
686
572
  }({});
687
- let ForSaleUtilities = /* @__PURE__ */ function(ForSaleUtilities) {
688
- ForSaleUtilities["FULLY_FINISHED_WITH_HIGH_END_ITEMS"] = "FULLY_FINISHED_WITH_HIGH_END_ITEMS";
689
- ForSaleUtilities["SEMI_FINISHED"] = "SEMI_FINISHED";
690
- ForSaleUtilities["FULLY_FINISHED"] = "FULLY_FINISHED";
691
- ForSaleUtilities["BASIC_CONSTRUCTION"] = "BASIC_CONSTRUCTION";
692
- return ForSaleUtilities;
573
+ let OtpType = /* @__PURE__ */ function(OtpType) {
574
+ OtpType["ACCOUNT_OTP"] = "ACCOUNT_OTP";
575
+ OtpType["TRANSACTION_OTP"] = "TRANSACTION_OTP";
576
+ return OtpType;
693
577
  }({});
694
578
  //#endregion
695
579
  //#region src/generated/register/exceptions.ts
@@ -704,78 +588,147 @@ const RegisterExceptions = {
704
588
  REGISTER_ACCOUNT_VERIFICATION_NOT_FOUND: "Register account verification is not found"
705
589
  };
706
590
  //#endregion
707
- //#region src/generated/industrial-property/exceptions.ts
708
- const IndustrialParkExceptions = { INDUSTRIAL_PARK_NOT_FOUND: "Industrial Park not found" };
709
- const PropertyExceptions = {
710
- PROPERTY_NOT_FOUND: "Property not found",
711
- PROPERTY_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this property",
712
- PROPERTY_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this property",
713
- PROPERTY_ALREADY_EXISTS: "Property already exists"
714
- };
591
+ //#region src/generated/identity/identity.enum.ts
592
+ let IdentityType = /* @__PURE__ */ function(IdentityType) {
593
+ IdentityType["ID_CARD"] = "ID_CARD";
594
+ return IdentityType;
595
+ }({});
596
+ let IdentityVerificationStatus = /* @__PURE__ */ function(IdentityVerificationStatus) {
597
+ IdentityVerificationStatus["WAITING_APPROVAL"] = "WAITING_APPROVAL";
598
+ IdentityVerificationStatus["APPROVED"] = "APPROVED";
599
+ return IdentityVerificationStatus;
600
+ }({});
601
+ let IdentityNationality = /* @__PURE__ */ function(IdentityNationality) {
602
+ IdentityNationality["VN"] = "VN";
603
+ return IdentityNationality;
604
+ }({});
715
605
  //#endregion
716
- //#region src/generated/blacklist/exceptions.ts
717
- const BlacklistExceptions = {
718
- FORBIDDEN: "You are not authorized to create a blacklist",
719
- NOT_FOUND: "Blacklist not found"
606
+ //#region src/generated/appointment/exceptions.ts
607
+ const AppointmentExceptions = {
608
+ APPOINTMENT_NOT_FOUND: "Appointment not found or access denied",
609
+ ACCESS_DENIED: "Access denied to this appointment",
610
+ PERMISSION_DENIED: "Permission denied",
611
+ CREATION_FAILED: "Failed to create appointment",
612
+ UPDATE_FAILED: "Failed to update appointment",
613
+ DELETE_FAILED: "Failed to delete appointment",
614
+ INVALID_STATUS: "Invalid appointment status",
615
+ INVALID_DATE: "Invalid appointment date",
616
+ PARTICIPANT_NOT_FOUND: "Participant not found",
617
+ REMINDER_FAILED: "Failed to set appointment reminder"
720
618
  };
721
619
  //#endregion
722
- //#region src/generated/blacklist/blacklist.enum.ts
723
- let BlackListEntityType = /* @__PURE__ */ function(BlackListEntityType) {
724
- BlackListEntityType["USER"] = "USER";
725
- BlackListEntityType["ORGANIZATION"] = "ORGANIZATION";
726
- return BlackListEntityType;
620
+ //#region src/generated/appointment/appointment.enum.ts
621
+ let AppointmentStatus = /* @__PURE__ */ function(AppointmentStatus) {
622
+ AppointmentStatus["PENDING_APPROVAL"] = "PENDING_APPROVAL";
623
+ AppointmentStatus["SCHEDULED"] = "SCHEDULED";
624
+ AppointmentStatus["COMPLETED"] = "COMPLETED";
625
+ AppointmentStatus["CANCELLED"] = "CANCELLED";
626
+ return AppointmentStatus;
627
+ }({});
628
+ let AppointmentType = /* @__PURE__ */ function(AppointmentType) {
629
+ AppointmentType["SURVEY_SCHEDULING"] = "SURVEY_SCHEDULING";
630
+ AppointmentType["NEGOTIATION"] = "NEGOTIATION";
631
+ AppointmentType["LEASE_DEPOSIT"] = "LEASE_DEPOSIT";
632
+ AppointmentType["LEGAL_LICENSING"] = "LEGAL_LICENSING";
633
+ AppointmentType["FINAL_CONTRACT_PAYMENT"] = "FINAL_CONTRACT_PAYMENT";
634
+ AppointmentType["PROPERTY_HANDOVER"] = "PROPERTY_HANDOVER";
635
+ AppointmentType["TRANSACTION_COMPLETED"] = "TRANSACTION_COMPLETED";
636
+ return AppointmentType;
637
+ }({});
638
+ let ScheduleType = /* @__PURE__ */ function(ScheduleType) {
639
+ ScheduleType["SCHEDULE_CREATED"] = "SCHEDULE_CREATED";
640
+ ScheduleType["DAILY_ACKNOWLEDGMENT"] = "DAILY_ACKNOWLEDGMENT";
641
+ ScheduleType["PRE_MEETING"] = "PRE_MEETING";
642
+ return ScheduleType;
643
+ }({});
644
+ let SchedulerStatus = /* @__PURE__ */ function(SchedulerStatus) {
645
+ SchedulerStatus["PENDING"] = "PENDING";
646
+ SchedulerStatus["SENT"] = "SENT";
647
+ SchedulerStatus["DELIVERED"] = "DELIVERED";
648
+ SchedulerStatus["FAILED"] = "FAILED";
649
+ SchedulerStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
650
+ SchedulerStatus["CANCELLED"] = "CANCELLED";
651
+ return SchedulerStatus;
652
+ }({});
653
+ //#endregion
654
+ //#region src/generated/deal/deal.enum.ts
655
+ let DealStatus = /* @__PURE__ */ function(DealStatus) {
656
+ DealStatus["PENDING"] = "PENDING";
657
+ DealStatus["PROCESSING"] = "PROCESSING";
658
+ DealStatus["COMPLETED"] = "COMPLETED";
659
+ DealStatus["CANCELLED"] = "CANCELLED";
660
+ DealStatus["ON_HOLD"] = "ON_HOLD";
661
+ return DealStatus;
662
+ }({});
663
+ let DealFilterType = /* @__PURE__ */ function(DealFilterType) {
664
+ DealFilterType["ORDER_REQUEST_RENT"] = "ORDER_REQUEST_RENT";
665
+ DealFilterType["ORDER_REQUEST_SELL"] = "ORDER_REQUEST_SELL";
666
+ DealFilterType["CONSIGNMENT_REQUEST_RENT"] = "CONSIGNMENT_REQUEST_RENT";
667
+ DealFilterType["CONSIGNMENT_REQUEST_SELL"] = "CONSIGNMENT_REQUEST_SELL";
668
+ return DealFilterType;
669
+ }({});
670
+ let DealStepStatus = /* @__PURE__ */ function(DealStepStatus) {
671
+ DealStepStatus["PENDING"] = "PENDING";
672
+ DealStepStatus["PROCESSING"] = "PROCESSING";
673
+ DealStepStatus["COMPLETED"] = "COMPLETED";
674
+ DealStepStatus["CANCELLED"] = "CANCELLED";
675
+ DealStepStatus["ON_HOLD"] = "ON_HOLD";
676
+ return DealStepStatus;
727
677
  }({});
728
- let BlackListStatus = /* @__PURE__ */ function(BlackListStatus) {
729
- BlackListStatus["ACTIVE"] = "ACTIVE";
730
- BlackListStatus["EXPIRED"] = "EXPIRED";
731
- BlackListStatus["REMOVED"] = "REMOVED";
732
- return BlackListStatus;
678
+ let DealProgress = /* @__PURE__ */ function(DealProgress) {
679
+ DealProgress["INITIATED"] = "INITIATED";
680
+ DealProgress["CONSULTING"] = "CONSULTING";
681
+ DealProgress["SCHEDULE_SURVEY"] = "SCHEDULE_SURVEY";
682
+ DealProgress["NEGOTIATING"] = "NEGOTIATING";
683
+ DealProgress["DEPOSIT"] = "DEPOSIT";
684
+ DealProgress["PAYMENT"] = "PAYMENT";
685
+ DealProgress["HANDOVER"] = "HANDOVER";
686
+ DealProgress["COMPLETED"] = "COMPLETED";
687
+ DealProgress["CANCELLED"] = "CANCELLED";
688
+ return DealProgress;
733
689
  }({});
734
- //#endregion
735
- //#region src/generated/administrator/exceptions.ts
736
- const DocumentExceptions = { DOCUMENT_NOT_FOUND: "Document not found" };
737
- //#endregion
738
- //#region src/generated/ticket/ticket.enum.ts
739
- let TicketType = /* @__PURE__ */ function(TicketType) {
740
- TicketType["APPROVE_USER_TO_BROKER"] = "APPROVE_USER_TO_BROKER";
741
- TicketType["APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"] = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE";
742
- return TicketType;
690
+ let ParticipantRole = /* @__PURE__ */ function(ParticipantRole) {
691
+ ParticipantRole["CLIENT_BROKER"] = "CLIENT_BROKER";
692
+ ParticipantRole["INVESTOR_BROKER"] = "INVESTOR_BROKER";
693
+ ParticipantRole["OWNER"] = "OWNER";
694
+ ParticipantRole["INVESTOR"] = "INVESTOR";
695
+ ParticipantRole["CLIENT"] = "CLIENT";
696
+ ParticipantRole["INVESTOR_REPRESENTATIVE"] = "INVESTOR_REPRESENTATIVE";
697
+ return ParticipantRole;
743
698
  }({});
744
- let TicketStatus = /* @__PURE__ */ function(TicketStatus) {
745
- TicketStatus["PENDING"] = "PENDING";
746
- TicketStatus["PROCESSING"] = "PROCESSING";
747
- TicketStatus["APPROVED"] = "APPROVED";
748
- TicketStatus["REJECTED"] = "REJECTED";
749
- return TicketStatus;
699
+ let ParticipantStatus = /* @__PURE__ */ function(ParticipantStatus) {
700
+ ParticipantStatus["PENDING"] = "PENDING";
701
+ ParticipantStatus["APPROVED"] = "APPROVED";
702
+ ParticipantStatus["REJECTED"] = "REJECTED";
703
+ ParticipantStatus["ACKNOWLEDGED"] = "ACKNOWLEDGED";
704
+ ParticipantStatus["NO_RESPONSE"] = "NO_RESPONSE";
705
+ return ParticipantStatus;
750
706
  }({});
751
707
  //#endregion
752
- //#region src/generated/ticket/exceptions.ts
753
- const TicketExceptions = {
754
- TICKETS_NOT_FOUND: "Tickets not found",
755
- FORBIDEN_PERMISSION: "You do not have permission to approve tickets"
756
- };
757
- //#endregion
758
- //#region src/generated/investor/exceptions.ts
759
- const InvestorExceptions = {
760
- INVESTOR_NOT_FOUND: "Investor not found",
761
- MEMBER_NOT_FOUND: "Member not found",
762
- MEMBER_ALREADY_DELETED: "Member already deleted",
763
- MEMBER_ALREADY_REGISTERED: "Member already registered",
764
- ORGANIZATION_NOT_FOUND: "Organization not found",
765
- ROLE_NOT_FOUND: "Role not found"
766
- };
767
- //#endregion
768
- //#region src/generated/consignment-request/exceptions.ts
769
- const ConsignmentRequestExceptions = {
770
- CONSIGNMENT_REQUEST_NOT_FOUND: "Consignment request not found",
771
- CONSIGNMENT_REQUEST_NOT_ALLOWED: "Consignment request not allowed"
708
+ //#region src/generated/payment-process/exceptions.ts
709
+ const PaymentProcessExceptions = {
710
+ PAYMENT_PROCESS_NOT_FOUND: "Payment process not found",
711
+ PAYMENT_PROCESS_NOT_IN_PROGRESS: "Payment process is not in progress",
712
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment process",
713
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment process",
714
+ PAYMENT_INSTALLMENT_NOT_FOUND: "Payment installment not found",
715
+ PAYMENT_INSTALLMENT_NOT_PENDING: "Payment installment is not pending",
716
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: "You are not allowed to confirm this payment installment",
717
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: "You are not allowed to update this payment installment"
772
718
  };
773
719
  //#endregion
774
- //#region src/generated/consignment-request/consignment-request.enum.ts
775
- let ConsignmentRequestType = /* @__PURE__ */ function(ConsignmentRequestType) {
776
- ConsignmentRequestType["SELL"] = "SELL";
777
- ConsignmentRequestType["RENT"] = "RENT";
778
- return ConsignmentRequestType;
720
+ //#region src/generated/payment-process/payment-process.enum.ts
721
+ let PaymentProcessStatus = /* @__PURE__ */ function(PaymentProcessStatus) {
722
+ PaymentProcessStatus["IN_PROGRESS"] = "IN_PROGRESS";
723
+ PaymentProcessStatus["COMPLETED"] = "COMPLETED";
724
+ PaymentProcessStatus["CANCELLED"] = "CANCELLED";
725
+ return PaymentProcessStatus;
726
+ }({});
727
+ let PaymentInstallmentStatus = /* @__PURE__ */ function(PaymentInstallmentStatus) {
728
+ PaymentInstallmentStatus["PENDING"] = "PENDING";
729
+ PaymentInstallmentStatus["PAID"] = "PAID";
730
+ PaymentInstallmentStatus["CANCELLED"] = "CANCELLED";
731
+ return PaymentInstallmentStatus;
779
732
  }({});
780
733
  //#endregion
781
734
  //#region src/generated/agreement-template/exceptions.ts
@@ -804,6 +757,41 @@ let AgreementTemplateType = /* @__PURE__ */ function(AgreementTemplateType) {
804
757
  return AgreementTemplateType;
805
758
  }({});
806
759
  //#endregion
760
+ //#region src/generated/broker/exceptions.ts
761
+ const BrokerExceptions = {
762
+ INVITED_USER_NOT_FOUND: "Invited user not found",
763
+ INPUT_DATA_IS_INVALID: "Input data is invalid"
764
+ };
765
+ //#endregion
766
+ //#region src/generated/broker/broker.enum.ts
767
+ let ConvertBrokerClientType = /* @__PURE__ */ function(ConvertBrokerClientType) {
768
+ ConvertBrokerClientType["VOICE"] = "VOICE";
769
+ ConvertBrokerClientType["CSV"] = "CSV";
770
+ ConvertBrokerClientType["EXCEL"] = "EXCEL";
771
+ return ConvertBrokerClientType;
772
+ }({});
773
+ //#endregion
774
+ //#region src/generated/consignment-request/exceptions.ts
775
+ const ConsignmentRequestExceptions = {
776
+ CONSIGNMENT_REQUEST_NOT_FOUND: "Consignment request not found",
777
+ CONSIGNMENT_REQUEST_NOT_ALLOWED: "Consignment request not allowed"
778
+ };
779
+ //#endregion
780
+ //#region src/generated/consignment-request/consignment-request.enum.ts
781
+ let ConsignmentRequestType = /* @__PURE__ */ function(ConsignmentRequestType) {
782
+ ConsignmentRequestType["SELL"] = "SELL";
783
+ ConsignmentRequestType["RENT"] = "RENT";
784
+ return ConsignmentRequestType;
785
+ }({});
786
+ //#endregion
787
+ //#region src/generated/location/exceptions.ts
788
+ const ProvinceExceptions = { PROVINCE_NOT_FOUND: "Province not found" };
789
+ const DistrictExceptions = { DISTRICT_NOT_FOUND: "District not found" };
790
+ const WardExceptions = { WARD_NOT_FOUND: "Ward not found" };
791
+ //#endregion
792
+ //#region src/generated/identity/exceptions.ts
793
+ const IdentityExceptions = { IDENTITY_NOT_FOUND: "Identity not found" };
794
+ //#endregion
807
795
  //#region src/generated/order-request/exceptions.ts
808
796
  const OrderRequestExceptions = {
809
797
  ORDER_REQUEST_NOT_FOUND: "Order request not found",
@@ -817,6 +805,67 @@ let OrderRequestType = /* @__PURE__ */ function(OrderRequestType) {
817
805
  return OrderRequestType;
818
806
  }({});
819
807
  //#endregion
808
+ //#region src/generated/agreement/exceptions.ts
809
+ const AgreementExceptions = {
810
+ AGREEMENT_NOT_FOUND: "Agreement not found",
811
+ AGREEMENT_IS_NOT_ALLOW: "Agreement is not allowed",
812
+ AGREEMENT_ALREADY_SIGNED: "Agreement already signed"
813
+ };
814
+ const AgreementTypeExceptions = {
815
+ AGREEMENT_TYPE_NOT_FOUND: "Agreement type not found",
816
+ AGREEMENT_TYPE_IS_NOT_ALLOW: "Agreement type is not allow"
817
+ };
818
+ //#endregion
819
+ //#region src/generated/media/exceptions.ts
820
+ const MediaExceptions = {
821
+ MEDIA_NOT_FOUND: "Media not found",
822
+ MEDIA_TOO_LARGE: "Media too large",
823
+ MEDIA_NOT_ALLOWED: "Media not allowed",
824
+ FILE_TYPE_NOT_ALLOWED: "File type not allowed",
825
+ FILE_FORMAT_NOT_ALLOWED: "File format not allowed",
826
+ MEDIA_SHOULD_BE_PUBLIC: "Media should be public"
827
+ };
828
+ //#endregion
829
+ //#region src/generated/media/media.enum.ts
830
+ let MediaType = /* @__PURE__ */ function(MediaType) {
831
+ MediaType["IMAGE"] = "IMAGE";
832
+ MediaType["VIDEO"] = "VIDEO";
833
+ MediaType["AUDIO"] = "AUDIO";
834
+ MediaType["DOCUMENT"] = "DOCUMENT";
835
+ MediaType["OTHER"] = "OTHER";
836
+ return MediaType;
837
+ }({});
838
+ let MediaSortField = /* @__PURE__ */ function(MediaSortField) {
839
+ MediaSortField["CREATED_BY"] = "createdBy";
840
+ MediaSortField["UPDATED_BY"] = "updatedBy";
841
+ MediaSortField["NAME"] = "name";
842
+ MediaSortField["FILE_SIZE"] = "fileSize";
843
+ return MediaSortField;
844
+ }({});
845
+ //#endregion
846
+ //#region src/generated/industrial-property/exceptions.ts
847
+ const IndustrialParkExceptions = { INDUSTRIAL_PARK_NOT_FOUND: "Industrial Park not found" };
848
+ const PropertyExceptions = {
849
+ PROPERTY_NOT_FOUND: "Property not found",
850
+ PROPERTY_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this property",
851
+ PROPERTY_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this property",
852
+ PROPERTY_ALREADY_EXISTS: "Property already exists"
853
+ };
854
+ //#endregion
855
+ //#region src/generated/ticket/exceptions.ts
856
+ const TicketExceptions = {
857
+ TICKETS_NOT_FOUND: "Tickets not found",
858
+ FORBIDEN_PERMISSION: "You do not have permission to approve tickets"
859
+ };
860
+ //#endregion
861
+ //#region src/generated/settings/exceptions.ts
862
+ const RoleExceptions = { ROLE_NOT_FOUND: "Role not found" };
863
+ const SettingExceptions = {
864
+ EMAIL_IS_THE_SAME_AS_CURRENT_EMAIL: "Email is the same as the current email",
865
+ INVALID_MAGIC_LINK: "Invalid magic link",
866
+ PHONE_NUMBER_IS_THE_SAME_AS_CURRENT: "Phone number is the same as the current phone number"
867
+ };
868
+ //#endregion
820
869
  //#region src/generated/client/exceptions.ts
821
870
  const ClientExceptions = {
822
871
  CLIENT_NOT_FOUND: "Client not found",
@@ -874,65 +923,16 @@ let ClientType = /* @__PURE__ */ function(ClientType) {
874
923
  return ClientType;
875
924
  }({});
876
925
  //#endregion
877
- //#region src/generated/conversation/exceptions.ts
878
- const ConversationExceptions = {
879
- CHAT_GROUP_NOT_FOUND: "Chat group not found",
880
- MEMBER_NOT_FOUND: "Member not found",
881
- NOT_CHAT_GROUP_MEMBER: "User is not a member of this chat group",
882
- ALREADY_MEMBER: "User is already a member of this chat group",
883
- INSUFFICIENT_PERMISSIONS: "Insufficient permissions to perform this action",
884
- MEMBER_ALREADY_EXISTS: "Member already exists in this chat group",
885
- MEMBER_HAS_LEFT: "Member has left this chat group",
886
- CANNOT_DELETE_DIRECT_MESSAGE: "Cannot delete direct message chat group",
887
- CANNOT_DELETE_DEAL_LINKED_CHAT: "Cannot delete chat group linked to a deal",
888
- CANNOT_DELETE_DEAL_STEP_LINKED_CHAT: "Cannot delete chat group linked to a deal step",
889
- MESSAGE_NOT_FOUND: "Message not found",
890
- MESSAGE_NOT_IN_CHAT_GROUP: "Message does not belong to this chat group"
926
+ //#region src/generated/deal/exceptions.ts
927
+ const DealExceptions = {
928
+ DEAL_NOT_FOUND: "Deal not found",
929
+ DEAL_STEP_NOT_FOUND: "Deal step not found"
891
930
  };
892
- //#endregion
893
- //#region src/generated/conversation/conversation.enum.ts
894
- let ChatGroupMemberRole = /* @__PURE__ */ function(ChatGroupMemberRole) {
895
- ChatGroupMemberRole["ADMIN"] = "ADMIN";
896
- ChatGroupMemberRole["MEMBER"] = "MEMBER";
897
- ChatGroupMemberRole["GUEST"] = "GUEST";
898
- return ChatGroupMemberRole;
899
- }({});
900
- let MessageType = /* @__PURE__ */ function(MessageType) {
901
- MessageType["TEXT"] = "TEXT";
902
- MessageType["IMAGE"] = "IMAGE";
903
- MessageType["VIDEO"] = "VIDEO";
904
- MessageType["AUDIO"] = "AUDIO";
905
- MessageType["DOCUMENT"] = "DOCUMENT";
906
- MessageType["LINK"] = "LINK";
907
- return MessageType;
908
- }({});
909
- //#endregion
910
- //#region src/generated/media/exceptions.ts
911
- const MediaExceptions = {
912
- MEDIA_NOT_FOUND: "Media not found",
913
- MEDIA_TOO_LARGE: "Media too large",
914
- MEDIA_NOT_ALLOWED: "Media not allowed",
915
- FILE_TYPE_NOT_ALLOWED: "File type not allowed",
916
- FILE_FORMAT_NOT_ALLOWED: "File format not allowed",
917
- MEDIA_SHOULD_BE_PUBLIC: "Media should be public"
931
+ const DealStepExceptions = {
932
+ DEAL_STEP_NOT_FOUND: "Deal step not found",
933
+ DEAL_STEP_PARTICIPANTS_NOT_FOUND: "Deal step participants not found"
918
934
  };
919
- //#endregion
920
- //#region src/generated/media/media.enum.ts
921
- let MediaType = /* @__PURE__ */ function(MediaType) {
922
- MediaType["IMAGE"] = "IMAGE";
923
- MediaType["VIDEO"] = "VIDEO";
924
- MediaType["AUDIO"] = "AUDIO";
925
- MediaType["DOCUMENT"] = "DOCUMENT";
926
- MediaType["OTHER"] = "OTHER";
927
- return MediaType;
928
- }({});
929
- let MediaSortField = /* @__PURE__ */ function(MediaSortField) {
930
- MediaSortField["CREATED_BY"] = "createdBy";
931
- MediaSortField["UPDATED_BY"] = "updatedBy";
932
- MediaSortField["NAME"] = "name";
933
- MediaSortField["FILE_SIZE"] = "fileSize";
934
- return MediaSortField;
935
- }({});
935
+ const PreDealExceptions = { PRE_DEAL_NOT_FOUND: "Pre-deal not found" };
936
936
  //#endregion
937
937
  export { AgreementExceptions, AgreementTemplateExceptions, AgreementTemplateType, AgreementTypeExceptions, AppointmentExceptions, AppointmentStatus, AppointmentType, BA_DINH_WARD_NO, BlackListEntityType, BlackListStatus, BlacklistExceptions, BrokerExceptions, ChatGroupMemberRole, ClientCategoryExceptions, ClientExceptions, ClientNeed, ClientRoles, ClientSource, ClientStatus, ClientType, ConsignmentRequestExceptions, ConsignmentRequestType, ConversationExceptions, ConvertBrokerClientType, DealExceptions, DealFilterType, DealProgress, DealStatus, DealStepExceptions, DealStepStatus, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentType, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleExceptions, ForSaleInfrastructureStatus, ForSalePostType, ForSalePropertyType, ForSaleRoadType, ForSaleStatus, ForSaleUtilities, IdentityExceptions, IdentityNationality, IdentityType, IdentityVerificationStatus, IndustrialParkExceptions, InvestorExceptions, JobStatus, JobType, LandCurrentStatus, LandType, MediaExceptions, MediaSortField, MediaType, MessageType, NotificationDetailStatus, NotificationEnv, NotificationScheduleStatus, NotificationType, OrderRequestExceptions, OrderRequestType, Orientation, OtpType, ParticipantRole, ParticipantStatus, PaymentInstallmentStatus, PaymentProcessExceptions, PaymentProcessStatus, PreDealExceptions, ProjectApprovalStatus, ProjectClassification, ProjectCurrentStatus, ProjectExceptions, ProjectStage, ProjectStandard, ProjectType, PropertyApprovalStatus, PropertyAuthorizationType, PropertyExceptions, PropertyIdentifierType, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyOperationStatus, PropertyTransactionStatus, PropertyType, ProvinceExceptions, RegisterExceptions, RoleCodes, RoleExceptions, ScheduleType, SchedulerStatus, SettingExceptions, SortDirection, TicketExceptions, TicketStatus, TicketType, UserExceptions, UserGender, UserHistoryType, UserLanguage, UserStatus, VerificationType, VersionAction, WardExceptions };
938
938