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