@investtal/models 1.5.6 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +97 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +675 -396
- package/dist/index.d.mts +675 -396
- package/dist/index.mjs +88 -82
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ListingType as ListingType$1 } from "@investtal/models";
|
|
1
2
|
import { Insertable, Selectable, Transaction } from "kysely";
|
|
2
|
-
import { BaseRes as BaseRes$1 } from "@investtal/models";
|
|
3
3
|
|
|
4
4
|
//#region src/common/constant.d.ts
|
|
5
5
|
declare const BA_DINH_WARD_NO = "00004";
|
|
@@ -390,49 +390,6 @@ interface DocumentsTable {
|
|
|
390
390
|
deletedById?: string;
|
|
391
391
|
}
|
|
392
392
|
//#endregion
|
|
393
|
-
//#region src/generated/tables/for-sales.table.d.ts
|
|
394
|
-
interface ForSalesTable {
|
|
395
|
-
id: string;
|
|
396
|
-
title: string;
|
|
397
|
-
content: string;
|
|
398
|
-
address: string;
|
|
399
|
-
latitude: number;
|
|
400
|
-
longitude: number;
|
|
401
|
-
landArea: number;
|
|
402
|
-
constructionArea: number;
|
|
403
|
-
roadWidth: number;
|
|
404
|
-
roadType: string;
|
|
405
|
-
floorCount: number;
|
|
406
|
-
buildingStandard: string;
|
|
407
|
-
depreciationPercent: number;
|
|
408
|
-
infrastructureStatus: string;
|
|
409
|
-
utilities?: string[];
|
|
410
|
-
totalPrice: number;
|
|
411
|
-
pricePerSqm: number;
|
|
412
|
-
negotiable?: boolean;
|
|
413
|
-
propertyType: string;
|
|
414
|
-
postType: string;
|
|
415
|
-
note?: Record<string, unknown>;
|
|
416
|
-
seoTitle?: string;
|
|
417
|
-
seoDescription?: string;
|
|
418
|
-
seoThumbnail?: string;
|
|
419
|
-
status: string;
|
|
420
|
-
approveStatus: string;
|
|
421
|
-
attachmentIds?: string[];
|
|
422
|
-
imageIds?: string[];
|
|
423
|
-
code: string;
|
|
424
|
-
slug: string;
|
|
425
|
-
propertyId?: string;
|
|
426
|
-
projectId?: string;
|
|
427
|
-
version?: number;
|
|
428
|
-
createdAt?: Date;
|
|
429
|
-
updatedAt?: Date;
|
|
430
|
-
deletedAt?: Date;
|
|
431
|
-
createdById: string;
|
|
432
|
-
updatedById?: string;
|
|
433
|
-
deletedById?: string;
|
|
434
|
-
}
|
|
435
|
-
//#endregion
|
|
436
393
|
//#region src/generated/tables/identities.table.d.ts
|
|
437
394
|
interface IdentitiesTable {
|
|
438
395
|
id: string;
|
|
@@ -508,6 +465,54 @@ interface JobsTable {
|
|
|
508
465
|
deletedById?: string;
|
|
509
466
|
}
|
|
510
467
|
//#endregion
|
|
468
|
+
//#region src/generated/tables/listings.table.d.ts
|
|
469
|
+
interface ListingsTable {
|
|
470
|
+
id: string;
|
|
471
|
+
title: string;
|
|
472
|
+
content: string;
|
|
473
|
+
address: string;
|
|
474
|
+
latitude: number;
|
|
475
|
+
longitude: number;
|
|
476
|
+
landArea?: number;
|
|
477
|
+
constructionArea?: number;
|
|
478
|
+
roadWidth?: number;
|
|
479
|
+
roadLength?: number;
|
|
480
|
+
roadType?: string;
|
|
481
|
+
floorCount?: number;
|
|
482
|
+
utilityIds?: string[];
|
|
483
|
+
totalPrice: number;
|
|
484
|
+
pricePerSqm?: number;
|
|
485
|
+
negotiable?: boolean;
|
|
486
|
+
partOfPropertyTitle?: string;
|
|
487
|
+
propertyType?: string;
|
|
488
|
+
propertyTitle?: string;
|
|
489
|
+
postType?: string;
|
|
490
|
+
note?: Record<string, unknown>;
|
|
491
|
+
seoTitle?: string;
|
|
492
|
+
seoDescription?: string;
|
|
493
|
+
seoThumbnail?: string;
|
|
494
|
+
status: string;
|
|
495
|
+
approveStatus?: string;
|
|
496
|
+
listingType: ListingType$1;
|
|
497
|
+
attachmentIds?: string[];
|
|
498
|
+
imageIds?: string[];
|
|
499
|
+
videoUrls?: string[];
|
|
500
|
+
code: string;
|
|
501
|
+
slug: string;
|
|
502
|
+
propertyId?: string;
|
|
503
|
+
propertyBranchId?: string;
|
|
504
|
+
projectId?: string;
|
|
505
|
+
version?: number;
|
|
506
|
+
services?: Record<string, unknown>[];
|
|
507
|
+
metadata?: Record<string, unknown>;
|
|
508
|
+
createdAt?: Date;
|
|
509
|
+
updatedAt?: Date;
|
|
510
|
+
deletedAt?: Date;
|
|
511
|
+
createdById: string;
|
|
512
|
+
updatedById?: string;
|
|
513
|
+
deletedById?: string;
|
|
514
|
+
}
|
|
515
|
+
//#endregion
|
|
511
516
|
//#region src/generated/tables/medias.table.d.ts
|
|
512
517
|
interface MediasTable {
|
|
513
518
|
id: string;
|
|
@@ -822,12 +827,6 @@ interface ProjectToBrokersTable {
|
|
|
822
827
|
userId: string;
|
|
823
828
|
}
|
|
824
829
|
//#endregion
|
|
825
|
-
//#region src/generated/tables/project-to-medias.table.d.ts
|
|
826
|
-
interface ProjectToMediasTable {
|
|
827
|
-
a: string;
|
|
828
|
-
b: string;
|
|
829
|
-
}
|
|
830
|
-
//#endregion
|
|
831
830
|
//#region src/generated/tables/project-utilities.table.d.ts
|
|
832
831
|
interface ProjectUtilitiesTable {
|
|
833
832
|
id: string;
|
|
@@ -1070,6 +1069,20 @@ interface PropertyDetailsTable {
|
|
|
1070
1069
|
deletedById?: string;
|
|
1071
1070
|
}
|
|
1072
1071
|
//#endregion
|
|
1072
|
+
//#region src/generated/tables/property-documents.table.d.ts
|
|
1073
|
+
interface PropertyDocumentsTable {
|
|
1074
|
+
id: string;
|
|
1075
|
+
documentId: string;
|
|
1076
|
+
propertyId?: string;
|
|
1077
|
+
propertyBranchId?: string;
|
|
1078
|
+
createdAt?: Date;
|
|
1079
|
+
updatedAt?: Date;
|
|
1080
|
+
deletedAt?: Date;
|
|
1081
|
+
createdById: string;
|
|
1082
|
+
updatedById?: string;
|
|
1083
|
+
deletedById?: string;
|
|
1084
|
+
}
|
|
1085
|
+
//#endregion
|
|
1073
1086
|
//#region src/generated/tables/property-identifiers.table.d.ts
|
|
1074
1087
|
interface PropertyIdentifiersTable {
|
|
1075
1088
|
id: string;
|
|
@@ -1103,6 +1116,38 @@ interface PropertyMapsTable {
|
|
|
1103
1116
|
deletedById?: string;
|
|
1104
1117
|
}
|
|
1105
1118
|
//#endregion
|
|
1119
|
+
//#region src/generated/tables/property-media-albums.table.d.ts
|
|
1120
|
+
interface PropertyMediaAlbumsTable {
|
|
1121
|
+
id: string;
|
|
1122
|
+
propertyId?: string;
|
|
1123
|
+
propertyBranchId?: string;
|
|
1124
|
+
name: string;
|
|
1125
|
+
description?: string;
|
|
1126
|
+
createdAt?: Date;
|
|
1127
|
+
updatedAt?: Date;
|
|
1128
|
+
deletedAt?: Date;
|
|
1129
|
+
createdById: string;
|
|
1130
|
+
updatedById?: string;
|
|
1131
|
+
deletedById?: string;
|
|
1132
|
+
}
|
|
1133
|
+
//#endregion
|
|
1134
|
+
//#region src/generated/tables/property-services.table.d.ts
|
|
1135
|
+
interface PropertyServicesTable {
|
|
1136
|
+
id: string;
|
|
1137
|
+
propertyId?: string;
|
|
1138
|
+
propertyBranchId?: string;
|
|
1139
|
+
name: string;
|
|
1140
|
+
price: number;
|
|
1141
|
+
priceUnit: string;
|
|
1142
|
+
metadata?: Record<string, unknown>;
|
|
1143
|
+
createdAt?: Date;
|
|
1144
|
+
updatedAt?: Date;
|
|
1145
|
+
deletedAt?: Date;
|
|
1146
|
+
createdById: string;
|
|
1147
|
+
updatedById?: string;
|
|
1148
|
+
deletedById?: string;
|
|
1149
|
+
}
|
|
1150
|
+
//#endregion
|
|
1106
1151
|
//#region src/generated/tables/property-utilities.table.d.ts
|
|
1107
1152
|
interface PropertyUtilitiesTable {
|
|
1108
1153
|
id: string;
|
|
@@ -1374,7 +1419,7 @@ interface Database {
|
|
|
1374
1419
|
client_categories: ClientCategoriesTable;
|
|
1375
1420
|
_client_category_clients: ClientCategoryClientsTable;
|
|
1376
1421
|
medias: MediasTable;
|
|
1377
|
-
|
|
1422
|
+
listings: ListingsTable;
|
|
1378
1423
|
user_histories: UserHistoriesTable;
|
|
1379
1424
|
sessions: SessionsTable;
|
|
1380
1425
|
black_lists: BlackListsTable;
|
|
@@ -1415,7 +1460,6 @@ interface Database {
|
|
|
1415
1460
|
pre_deals: PreDealsTable;
|
|
1416
1461
|
projects: ProjectsTable;
|
|
1417
1462
|
project_medias: ProjectMediasTable;
|
|
1418
|
-
_project_to_medias: ProjectToMediasTable;
|
|
1419
1463
|
_project_to_brokers: ProjectToBrokersTable;
|
|
1420
1464
|
utilities: UtilitiesTable;
|
|
1421
1465
|
project_utilities: ProjectUtilitiesTable;
|
|
@@ -1428,6 +1472,9 @@ interface Database {
|
|
|
1428
1472
|
properties: PropertiesTable;
|
|
1429
1473
|
property_branches: PropertyBranchesTable;
|
|
1430
1474
|
property_details: PropertyDetailsTable;
|
|
1475
|
+
property_documents: PropertyDocumentsTable;
|
|
1476
|
+
property_media_albums: PropertyMediaAlbumsTable;
|
|
1477
|
+
property_services: PropertyServicesTable;
|
|
1431
1478
|
property_visualizations: PropertyVisualizationsTable;
|
|
1432
1479
|
property_maps: PropertyMapsTable;
|
|
1433
1480
|
property_indentitifiers: PropertyIdentifiersTable;
|
|
@@ -1490,7 +1537,7 @@ interface DocumentUpdateData {
|
|
|
1490
1537
|
approverId?: string;
|
|
1491
1538
|
updatedById?: string;
|
|
1492
1539
|
}
|
|
1493
|
-
interface
|
|
1540
|
+
interface ListingApproveData {
|
|
1494
1541
|
approveStatus?: string;
|
|
1495
1542
|
updatedById?: string;
|
|
1496
1543
|
}
|
|
@@ -1512,12 +1559,12 @@ interface AdministratorDataPort {
|
|
|
1512
1559
|
insertMedia(data: MediaInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
1513
1560
|
insertDocument(data: DocumentInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
1514
1561
|
updateDocument(id: string, data: DocumentUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
1515
|
-
|
|
1562
|
+
updateListing(id: string, data: ListingApproveData, trx?: Transaction<Database>): Promise<void>;
|
|
1516
1563
|
findDocumentById(id: string, trx?: Transaction<Database>): Promise<{
|
|
1517
1564
|
id: string;
|
|
1518
1565
|
} | undefined>;
|
|
1519
1566
|
softDeleteDocument(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
1520
|
-
|
|
1567
|
+
findListingById(id: string, approveStatus?: string, trx?: Transaction<Database>): Promise<{
|
|
1521
1568
|
id: string;
|
|
1522
1569
|
} | undefined>;
|
|
1523
1570
|
findMediaById(id: string, trx?: Transaction<Database>): Promise<{
|
|
@@ -1547,13 +1594,13 @@ interface ApproveDocumentResponse extends BaseRes {
|
|
|
1547
1594
|
message: string;
|
|
1548
1595
|
}
|
|
1549
1596
|
//#endregion
|
|
1550
|
-
//#region src/generated/administrator/ports/approve-
|
|
1551
|
-
type
|
|
1597
|
+
//#region src/generated/administrator/ports/approve-listing.request.d.ts
|
|
1598
|
+
type ApproveListingAdminInput = {
|
|
1552
1599
|
id: string;
|
|
1553
1600
|
};
|
|
1554
1601
|
//#endregion
|
|
1555
|
-
//#region src/generated/administrator/ports/approve-
|
|
1556
|
-
interface
|
|
1602
|
+
//#region src/generated/administrator/ports/approve-listing.response.d.ts
|
|
1603
|
+
interface ApproveListingAdminResponse extends BaseRes {
|
|
1557
1604
|
message: string;
|
|
1558
1605
|
}
|
|
1559
1606
|
//#endregion
|
|
@@ -2086,19 +2133,48 @@ interface UpdateAgreementTemplateResponse extends BaseRes {
|
|
|
2086
2133
|
agreementTemplateId: string;
|
|
2087
2134
|
}
|
|
2088
2135
|
//#endregion
|
|
2136
|
+
//#region ../../apps/api/modules/agreement-template/domain/agreement-template.enum.d.ts
|
|
2137
|
+
declare enum AgreementTemplateType$1 {
|
|
2138
|
+
SYSTEM = "SYSTEM",
|
|
2139
|
+
BROKER = "BROKER",
|
|
2140
|
+
CLIENT = "CLIENT",
|
|
2141
|
+
INVESTOR = "INVESTOR",
|
|
2142
|
+
OWNER = "OWNER",
|
|
2143
|
+
MOU = "MOU",
|
|
2144
|
+
DEPOSIT = "DEPOSIT",
|
|
2145
|
+
DISCLOSURE = "DISCLOSURE",
|
|
2146
|
+
OTHER = "OTHER"
|
|
2147
|
+
}
|
|
2148
|
+
//#endregion
|
|
2149
|
+
//#region ../../apps/api/modules/auth/domain/auth.enum.d.ts
|
|
2150
|
+
declare enum RoleCodes$1 {
|
|
2151
|
+
SUPER_ADMIN = "SUPER_ADMIN",
|
|
2152
|
+
ADMIN = "ADMIN",
|
|
2153
|
+
BROKER = "BROKER",
|
|
2154
|
+
CLIENT = "CLIENT",
|
|
2155
|
+
BACK_OFFICE = "BACK_OFFICE",
|
|
2156
|
+
INVESTOR_REPRESENTATIVE = "INVESTOR_REPRESENTATIVE",
|
|
2157
|
+
OWNER_REPRESENTATIVE = "OWNER_REPRESENTATIVE"
|
|
2158
|
+
}
|
|
2159
|
+
declare enum UserGender$1 {
|
|
2160
|
+
MALE = "MALE",
|
|
2161
|
+
FEMALE = "FEMALE",
|
|
2162
|
+
OTHER = "OTHER"
|
|
2163
|
+
}
|
|
2164
|
+
//#endregion
|
|
2089
2165
|
//#region src/generated/agreement-template/ports/agreement-template.port.d.ts
|
|
2090
2166
|
type AgreementTemplateFiltersInput = {
|
|
2091
2167
|
page: number;
|
|
2092
2168
|
limit: number;
|
|
2093
|
-
types?: AgreementTemplateType[] | undefined;
|
|
2169
|
+
types?: AgreementTemplateType$1[] | undefined;
|
|
2094
2170
|
search?: string | undefined;
|
|
2095
|
-
creatorRole?: RoleCodes | undefined;
|
|
2171
|
+
creatorRole?: RoleCodes$1 | undefined;
|
|
2096
2172
|
};
|
|
2097
2173
|
type CreateAgreementTemplateInput$1 = {
|
|
2098
2174
|
name: string;
|
|
2099
|
-
type: AgreementTemplateType;
|
|
2175
|
+
type: AgreementTemplateType$1;
|
|
2100
2176
|
fileId: string;
|
|
2101
|
-
creatorRole: RoleCodes;
|
|
2177
|
+
creatorRole: RoleCodes$1;
|
|
2102
2178
|
description?: string | undefined;
|
|
2103
2179
|
metadata?: Record<string, any> | undefined;
|
|
2104
2180
|
};
|
|
@@ -2266,6 +2342,7 @@ interface AppointmentParticipantModel {
|
|
|
2266
2342
|
responseComment?: string;
|
|
2267
2343
|
acknowledgedAt?: Date;
|
|
2268
2344
|
userId: string;
|
|
2345
|
+
avatarImageId?: string;
|
|
2269
2346
|
}
|
|
2270
2347
|
interface AppointmentListFilter {
|
|
2271
2348
|
search?: string;
|
|
@@ -2344,6 +2421,7 @@ interface AppointmentParticipantWithUserModel {
|
|
|
2344
2421
|
responseComment?: string;
|
|
2345
2422
|
acknowledgedAt?: Date;
|
|
2346
2423
|
userId: string;
|
|
2424
|
+
avatarImageId?: string;
|
|
2347
2425
|
}
|
|
2348
2426
|
interface ConfidentialityAgreementModel {
|
|
2349
2427
|
id: string;
|
|
@@ -2438,6 +2516,7 @@ interface AppointmentParticipant {
|
|
|
2438
2516
|
respondedAt?: Date;
|
|
2439
2517
|
responseComment?: string;
|
|
2440
2518
|
acknowledgedAt?: Date;
|
|
2519
|
+
avatarImageId?: string;
|
|
2441
2520
|
dealStepParticipant: {
|
|
2442
2521
|
userId: string;
|
|
2443
2522
|
};
|
|
@@ -3123,22 +3202,77 @@ declare const ClientCategoryExceptions: {
|
|
|
3123
3202
|
FORBIDDEN: string;
|
|
3124
3203
|
};
|
|
3125
3204
|
//#endregion
|
|
3205
|
+
//#region ../../apps/api/modules/client/domain/client.enum.d.ts
|
|
3206
|
+
declare enum ClientNeed$1 {
|
|
3207
|
+
FOR_SALE = "FOR_SALE",
|
|
3208
|
+
FOR_LEASE = "FOR_LEASE"
|
|
3209
|
+
}
|
|
3210
|
+
declare enum ClientRoles$1 {
|
|
3211
|
+
BROKER = "BROKER",
|
|
3212
|
+
OWNER = "OWNER",
|
|
3213
|
+
INVESTOR = "INVESTOR"
|
|
3214
|
+
}
|
|
3215
|
+
declare enum ClientStatus$1 {
|
|
3216
|
+
POTENTIAL = "POTENTIAL",
|
|
3217
|
+
INTERESTED = "INTERESTED",
|
|
3218
|
+
NEGOTIATING = "NEGOTIATING",
|
|
3219
|
+
PURCHASED = "PURCHASED",
|
|
3220
|
+
LOST = "LOST",
|
|
3221
|
+
RESEARCHING = "RESEARCHING",
|
|
3222
|
+
FOLLOW_UP_NEEDED = "FOLLOW_UP_NEEDED"
|
|
3223
|
+
}
|
|
3224
|
+
declare enum ClientSource$1 {
|
|
3225
|
+
WEBSITE = "WEBSITE",
|
|
3226
|
+
FACEBOOK = "FACEBOOK",
|
|
3227
|
+
REFERRAL = "REFERRAL",
|
|
3228
|
+
PHONE_CALL = "PHONE_CALL",
|
|
3229
|
+
EMAIL = "EMAIL",
|
|
3230
|
+
WALK_IN = "WALK_IN",
|
|
3231
|
+
ADVERTISEMENT = "ADVERTISEMENT",
|
|
3232
|
+
EVENT = "EVENT",
|
|
3233
|
+
OTHER = "OTHER"
|
|
3234
|
+
}
|
|
3235
|
+
declare enum ClientType$1 {
|
|
3236
|
+
PERSONAL = "PERSONAL",
|
|
3237
|
+
ORGANIZATION = "ORGANIZATION"
|
|
3238
|
+
}
|
|
3239
|
+
//#endregion
|
|
3240
|
+
//#region ../../apps/api/modules/listing/domain/listing.enum.d.ts
|
|
3241
|
+
declare enum ListingPropertyType$1 {
|
|
3242
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3243
|
+
INDUSTRIAL_LAND_AND_FACTORIES = "INDUSTRIAL_LAND_AND_FACTORIES",
|
|
3244
|
+
FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND",
|
|
3245
|
+
RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND",
|
|
3246
|
+
AMUSEMENT_PARKS_AND_SPORTS_ZONES = "AMUSEMENT_PARKS_AND_SPORTS_ZONES",
|
|
3247
|
+
TOWNHOUSES_AND_APARTMENTS = "TOWNHOUSES_AND_APARTMENTS",
|
|
3248
|
+
HOSPITALS_AND_CLINICS = "HOSPITALS_AND_CLINICS",
|
|
3249
|
+
SCHOOLS_AND_TRAINING_CENTERS = "SCHOOLS_AND_TRAINING_CENTERS",
|
|
3250
|
+
ENERGY_PROJECT = "ENERGY_PROJECT",
|
|
3251
|
+
SHOPPING_CENTERS_AND_OFFICE = "SHOPPING_CENTERS_AND_OFFICE",
|
|
3252
|
+
INDUSTRIAL_PARKS = "INDUSTRIAL_PARKS",
|
|
3253
|
+
RESORT_AND_HOTEL = "RESORT_AND_HOTEL",
|
|
3254
|
+
MINES_AND_MINERALS = "MINES_AND_MINERALS",
|
|
3255
|
+
GAS_STATIONS_AND_EV_CHARGING_STATIONS = "GAS_STATIONS_AND_EV_CHARGING_STATIONS",
|
|
3256
|
+
DOCKS_AND_YARDS = "DOCKS_AND_YARDS",
|
|
3257
|
+
ECOLOGICAL_AREAS_AND_FARMS = "ECOLOGICAL_AREAS_AND_FARMS"
|
|
3258
|
+
}
|
|
3259
|
+
//#endregion
|
|
3126
3260
|
//#region src/generated/client/ports/client-command.port.d.ts
|
|
3127
3261
|
type ClientCommandCreateInput = {
|
|
3128
3262
|
fullname: string;
|
|
3129
|
-
status: ClientStatus;
|
|
3130
|
-
source: ClientSource;
|
|
3263
|
+
status: ClientStatus$1;
|
|
3264
|
+
source: ClientSource$1;
|
|
3131
3265
|
budgetMin: bigint | undefined;
|
|
3132
3266
|
budgetMax: bigint | undefined;
|
|
3133
3267
|
budgetCurrency: string;
|
|
3134
|
-
propertyTypes:
|
|
3135
|
-
clientType: ClientType;
|
|
3136
|
-
roles: ClientRoles[];
|
|
3137
|
-
needs: ClientNeed[];
|
|
3268
|
+
propertyTypes: ListingPropertyType$1[];
|
|
3269
|
+
clientType: ClientType$1;
|
|
3270
|
+
roles: ClientRoles$1[];
|
|
3271
|
+
needs: ClientNeed$1[];
|
|
3138
3272
|
phoneNumber?: string | undefined;
|
|
3139
3273
|
email?: string | undefined;
|
|
3140
3274
|
address?: string | undefined;
|
|
3141
|
-
gender?: UserGender | undefined;
|
|
3275
|
+
gender?: UserGender$1 | undefined;
|
|
3142
3276
|
birthday?: Date | undefined;
|
|
3143
3277
|
lastContactDate?: Date | undefined;
|
|
3144
3278
|
notes?: string | undefined;
|
|
@@ -3152,18 +3286,18 @@ type ClientCommandUpdateInput = {
|
|
|
3152
3286
|
phoneNumber?: string | undefined;
|
|
3153
3287
|
email?: string | undefined;
|
|
3154
3288
|
address?: string | undefined;
|
|
3155
|
-
gender?: UserGender | undefined;
|
|
3289
|
+
gender?: UserGender$1 | undefined;
|
|
3156
3290
|
birthday?: string | undefined;
|
|
3157
|
-
status?: ClientStatus | undefined;
|
|
3158
|
-
source?: ClientSource | undefined;
|
|
3291
|
+
status?: ClientStatus$1 | undefined;
|
|
3292
|
+
source?: ClientSource$1 | undefined;
|
|
3159
3293
|
budgetCurrency?: string | undefined;
|
|
3160
|
-
propertyTypes?:
|
|
3294
|
+
propertyTypes?: ListingPropertyType$1[] | undefined;
|
|
3161
3295
|
lastContactDate?: string | undefined;
|
|
3162
3296
|
notes?: string | undefined;
|
|
3163
3297
|
metadata?: any;
|
|
3164
|
-
clientType?: ClientType | undefined;
|
|
3165
|
-
roles?: ClientRoles[] | undefined;
|
|
3166
|
-
needs?: ClientNeed[] | undefined;
|
|
3298
|
+
clientType?: ClientType$1 | undefined;
|
|
3299
|
+
roles?: ClientRoles$1[] | undefined;
|
|
3300
|
+
needs?: ClientNeed$1[] | undefined;
|
|
3167
3301
|
};
|
|
3168
3302
|
type ClientCommandDeleteInput = {
|
|
3169
3303
|
id: string;
|
|
@@ -3218,8 +3352,13 @@ type ClientCategoryFilter = {
|
|
|
3218
3352
|
id: string;
|
|
3219
3353
|
};
|
|
3220
3354
|
//#endregion
|
|
3221
|
-
//#region src/generated/
|
|
3222
|
-
declare enum
|
|
3355
|
+
//#region src/generated/listing/listing.enum.d.ts
|
|
3356
|
+
declare enum ListingType {
|
|
3357
|
+
FOR_SALE = "FOR_SALE",
|
|
3358
|
+
FOR_LEASE = "FOR_LEASE",
|
|
3359
|
+
BOTH = "BOTH"
|
|
3360
|
+
}
|
|
3361
|
+
declare enum ListingRoadType {
|
|
3223
3362
|
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3224
3363
|
ASPHALT = "ASPHALT",
|
|
3225
3364
|
CONCRETE = "CONCRETE",
|
|
@@ -3227,7 +3366,7 @@ declare enum ForSaleRoadType {
|
|
|
3227
3366
|
BRICK = "BRICK",
|
|
3228
3367
|
CRUSHED_ROCK = "CRUSHED_ROCK"
|
|
3229
3368
|
}
|
|
3230
|
-
declare enum
|
|
3369
|
+
declare enum ListingBuildingStandard {
|
|
3231
3370
|
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3232
3371
|
BASIC = "BASIC",
|
|
3233
3372
|
MEDIUM = "MEDIUM",
|
|
@@ -3235,7 +3374,7 @@ declare enum ForSaleBuildingStandard {
|
|
|
3235
3374
|
HIGH_END = "HIGH_END",
|
|
3236
3375
|
LUXURY = "LUXURY"
|
|
3237
3376
|
}
|
|
3238
|
-
declare enum
|
|
3377
|
+
declare enum ListingInfrastructureStatus {
|
|
3239
3378
|
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3240
3379
|
BASIC_INFRASTRUCTURE = "BASIC_INFRASTRUCTURE",
|
|
3241
3380
|
NO_INFRASTRUCTURE = "NO_INFRASTRUCTURE",
|
|
@@ -3248,7 +3387,7 @@ declare enum ForSaleInfrastructureStatus {
|
|
|
3248
3387
|
INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE = "INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE",
|
|
3249
3388
|
UNLEVELED = "UNLEVELED"
|
|
3250
3389
|
}
|
|
3251
|
-
declare enum
|
|
3390
|
+
declare enum ListingPropertyType {
|
|
3252
3391
|
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3253
3392
|
INDUSTRIAL_LAND_AND_FACTORIES = "INDUSTRIAL_LAND_AND_FACTORIES",
|
|
3254
3393
|
FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND",
|
|
@@ -3266,7 +3405,7 @@ declare enum ForSalePropertyType {
|
|
|
3266
3405
|
DOCKS_AND_YARDS = "DOCKS_AND_YARDS",
|
|
3267
3406
|
ECOLOGICAL_AREAS_AND_FARMS = "ECOLOGICAL_AREAS_AND_FARMS"
|
|
3268
3407
|
}
|
|
3269
|
-
declare enum
|
|
3408
|
+
declare enum ListingPostType {
|
|
3270
3409
|
NORMAL = "NORMAL",
|
|
3271
3410
|
URGENT_SALE = "URGENT_SALE",
|
|
3272
3411
|
PROMOTED = "PROMOTED",
|
|
@@ -3274,16 +3413,16 @@ declare enum ForSalePostType {
|
|
|
3274
3413
|
SPECIAL = "SPECIAL",
|
|
3275
3414
|
PRE_SALE = "PRE_SALE"
|
|
3276
3415
|
}
|
|
3277
|
-
declare enum
|
|
3416
|
+
declare enum ListingStatus {
|
|
3278
3417
|
DRAFT = "DRAFT",
|
|
3279
3418
|
UNPUBLISHED = "UNPUBLISHED",
|
|
3280
3419
|
PUBLISHED = "PUBLISHED"
|
|
3281
3420
|
}
|
|
3282
|
-
declare enum
|
|
3421
|
+
declare enum ListingApproveStatus {
|
|
3283
3422
|
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
3284
3423
|
APPROVED = "APPROVED"
|
|
3285
3424
|
}
|
|
3286
|
-
declare enum
|
|
3425
|
+
declare enum ListingUtilities {
|
|
3287
3426
|
FULLY_FINISHED_WITH_HIGH_END_ITEMS = "FULLY_FINISHED_WITH_HIGH_END_ITEMS",
|
|
3288
3427
|
SEMI_FINISHED = "SEMI_FINISHED",
|
|
3289
3428
|
FULLY_FINISHED = "FULLY_FINISHED",
|
|
@@ -3301,7 +3440,7 @@ type ClientsFilter = {
|
|
|
3301
3440
|
clientIds?: string[] | undefined;
|
|
3302
3441
|
status?: ClientStatus | undefined;
|
|
3303
3442
|
source?: ClientSource | undefined;
|
|
3304
|
-
propertyTypes?:
|
|
3443
|
+
propertyTypes?: ListingPropertyType[] | undefined;
|
|
3305
3444
|
search?: string | undefined;
|
|
3306
3445
|
clientType?: ClientType | undefined;
|
|
3307
3446
|
roles?: ClientRoles[] | undefined;
|
|
@@ -3384,7 +3523,7 @@ type CreateClientInput = {
|
|
|
3384
3523
|
budgetMin: bigint | undefined;
|
|
3385
3524
|
budgetMax: bigint | undefined;
|
|
3386
3525
|
budgetCurrency: string;
|
|
3387
|
-
propertyTypes:
|
|
3526
|
+
propertyTypes: ListingPropertyType[];
|
|
3388
3527
|
clientType: ClientType;
|
|
3389
3528
|
roles: ClientRoles[];
|
|
3390
3529
|
needs: ClientNeed[];
|
|
@@ -3519,7 +3658,7 @@ type UpdateClientInput = {
|
|
|
3519
3658
|
status?: ClientStatus | undefined;
|
|
3520
3659
|
source?: ClientSource | undefined;
|
|
3521
3660
|
budgetCurrency?: string | undefined;
|
|
3522
|
-
propertyTypes?:
|
|
3661
|
+
propertyTypes?: ListingPropertyType[] | undefined;
|
|
3523
3662
|
lastContactDate?: string | undefined;
|
|
3524
3663
|
notes?: string | undefined;
|
|
3525
3664
|
metadata?: any;
|
|
@@ -4456,315 +4595,32 @@ interface UpdateDealStepStatusResponse extends BaseRes {
|
|
|
4456
4595
|
message: string;
|
|
4457
4596
|
}
|
|
4458
4597
|
//#endregion
|
|
4459
|
-
//#region src/generated/
|
|
4460
|
-
declare const
|
|
4461
|
-
|
|
4462
|
-
};
|
|
4463
|
-
//#endregion
|
|
4464
|
-
//#region src/generated/for-sale/ports/approve-for-sale.request.d.ts
|
|
4465
|
-
type ApproveForSaleInput = {
|
|
4466
|
-
id: string;
|
|
4598
|
+
//#region src/generated/identity/exceptions.d.ts
|
|
4599
|
+
declare const IdentityExceptions: {
|
|
4600
|
+
IDENTITY_NOT_FOUND: string;
|
|
4467
4601
|
};
|
|
4468
4602
|
//#endregion
|
|
4469
|
-
//#region src/generated/
|
|
4470
|
-
|
|
4471
|
-
|
|
4603
|
+
//#region src/generated/identity/identity.enum.d.ts
|
|
4604
|
+
declare enum IdentityType {
|
|
4605
|
+
ID_CARD = "ID_CARD"
|
|
4472
4606
|
}
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
title: string;
|
|
4477
|
-
content: string;
|
|
4478
|
-
address: string;
|
|
4479
|
-
latitude: number;
|
|
4480
|
-
longitude: number;
|
|
4481
|
-
landArea: number;
|
|
4482
|
-
constructionArea: number;
|
|
4483
|
-
roadWidth: number;
|
|
4484
|
-
roadType: ForSaleRoadType;
|
|
4485
|
-
floorCount: number;
|
|
4486
|
-
buildingStandard: ForSaleBuildingStandard;
|
|
4487
|
-
depreciationPercent: number;
|
|
4488
|
-
infrastructureStatus: ForSaleInfrastructureStatus;
|
|
4489
|
-
utilities: ForSaleUtilities[];
|
|
4490
|
-
totalPrice: number;
|
|
4491
|
-
pricePerSqm: number;
|
|
4492
|
-
negotiable: boolean;
|
|
4493
|
-
propertyType: ForSalePropertyType;
|
|
4494
|
-
postType: ForSalePostType;
|
|
4495
|
-
note: any;
|
|
4496
|
-
attachmentIds: string[];
|
|
4497
|
-
imageIds: string[];
|
|
4498
|
-
propertyId?: string | undefined;
|
|
4499
|
-
projectId?: string | undefined;
|
|
4500
|
-
seoTitle?: string | undefined;
|
|
4501
|
-
seoDescription?: string | undefined;
|
|
4502
|
-
seoThumbnail?: string | undefined;
|
|
4503
|
-
};
|
|
4504
|
-
//#endregion
|
|
4505
|
-
//#region src/generated/for-sale/ports/create-for-sale.response.d.ts
|
|
4506
|
-
interface CreateForSaleResponse extends BaseRes {
|
|
4507
|
-
message: string;
|
|
4607
|
+
declare enum IdentityVerificationStatus {
|
|
4608
|
+
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
4609
|
+
APPROVED = "APPROVED"
|
|
4508
4610
|
}
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
type DeleteForSaleInput = {
|
|
4512
|
-
code: string;
|
|
4513
|
-
};
|
|
4514
|
-
//#endregion
|
|
4515
|
-
//#region src/generated/for-sale/ports/delete-for-sale.response.d.ts
|
|
4516
|
-
interface DeleteForSaleResponse extends BaseRes {
|
|
4517
|
-
message: string;
|
|
4611
|
+
declare enum IdentityNationality {
|
|
4612
|
+
VN = "VN"
|
|
4518
4613
|
}
|
|
4519
4614
|
//#endregion
|
|
4520
|
-
//#region src/generated/
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
propertyId?: string | undefined;
|
|
4530
|
-
};
|
|
4531
|
-
//#endregion
|
|
4532
|
-
//#region src/generated/for-sale/ports/for-sale-data.port.d.ts
|
|
4533
|
-
type ForSaleDataFilter = Omit<ForSalesFilter, "page" | "limit">;
|
|
4534
|
-
interface ForSaleModel {
|
|
4535
|
-
id: string;
|
|
4536
|
-
title: string;
|
|
4537
|
-
content: string;
|
|
4538
|
-
address: string;
|
|
4539
|
-
latitude: number;
|
|
4540
|
-
longitude: number;
|
|
4541
|
-
landArea: number;
|
|
4542
|
-
constructionArea: number;
|
|
4543
|
-
roadWidth: number;
|
|
4544
|
-
roadType: string;
|
|
4545
|
-
floorCount: number;
|
|
4546
|
-
buildingStandard: string;
|
|
4547
|
-
depreciationPercent: number;
|
|
4548
|
-
infrastructureStatus: string;
|
|
4549
|
-
utilities?: string[];
|
|
4550
|
-
totalPrice: number;
|
|
4551
|
-
pricePerSqm: number;
|
|
4552
|
-
negotiable?: boolean;
|
|
4553
|
-
propertyType: string;
|
|
4554
|
-
postType: string;
|
|
4555
|
-
note?: Record<string, unknown>;
|
|
4556
|
-
seoTitle?: string;
|
|
4557
|
-
seoDescription?: string;
|
|
4558
|
-
seoThumbnail?: string;
|
|
4559
|
-
status: string;
|
|
4560
|
-
approveStatus: string;
|
|
4561
|
-
attachmentIds?: string[];
|
|
4562
|
-
imageIds?: string[];
|
|
4563
|
-
code: string;
|
|
4564
|
-
slug: string;
|
|
4565
|
-
version?: number;
|
|
4566
|
-
createdById: string;
|
|
4567
|
-
createdAt?: Date;
|
|
4568
|
-
updatedAt?: Date;
|
|
4569
|
-
}
|
|
4570
|
-
interface ForSaleInsertData {
|
|
4571
|
-
id: string;
|
|
4572
|
-
title: string;
|
|
4573
|
-
content: string;
|
|
4574
|
-
address: string;
|
|
4575
|
-
latitude: number;
|
|
4576
|
-
longitude: number;
|
|
4577
|
-
landArea: number;
|
|
4578
|
-
constructionArea: number;
|
|
4579
|
-
roadWidth: number;
|
|
4580
|
-
roadType: string;
|
|
4581
|
-
floorCount: number;
|
|
4582
|
-
buildingStandard: string;
|
|
4583
|
-
depreciationPercent: number;
|
|
4584
|
-
infrastructureStatus: string;
|
|
4585
|
-
utilities?: string[];
|
|
4586
|
-
totalPrice: number;
|
|
4587
|
-
pricePerSqm: number;
|
|
4588
|
-
negotiable?: boolean;
|
|
4589
|
-
propertyType: string;
|
|
4590
|
-
postType: string;
|
|
4591
|
-
note?: Record<string, unknown>;
|
|
4592
|
-
seoTitle?: string;
|
|
4593
|
-
seoDescription?: string;
|
|
4594
|
-
seoThumbnail?: string;
|
|
4595
|
-
status: string;
|
|
4596
|
-
approveStatus: string;
|
|
4597
|
-
attachmentIds?: string[];
|
|
4598
|
-
imageIds?: string[];
|
|
4599
|
-
code: string;
|
|
4600
|
-
slug: string;
|
|
4601
|
-
version?: number;
|
|
4602
|
-
createdById: string;
|
|
4603
|
-
}
|
|
4604
|
-
interface ForSaleUpdateData {
|
|
4605
|
-
title?: string;
|
|
4606
|
-
content?: string;
|
|
4607
|
-
address?: string;
|
|
4608
|
-
latitude?: number;
|
|
4609
|
-
longitude?: number;
|
|
4610
|
-
landArea?: number;
|
|
4611
|
-
constructionArea?: number;
|
|
4612
|
-
roadWidth?: number;
|
|
4613
|
-
roadType?: string;
|
|
4614
|
-
floorCount?: number;
|
|
4615
|
-
buildingStandard?: string;
|
|
4616
|
-
depreciationPercent?: number;
|
|
4617
|
-
infrastructureStatus?: string;
|
|
4618
|
-
utilities?: string[];
|
|
4619
|
-
totalPrice?: number;
|
|
4620
|
-
pricePerSqm?: number;
|
|
4621
|
-
negotiable?: boolean;
|
|
4622
|
-
propertyType?: string;
|
|
4623
|
-
postType?: string;
|
|
4624
|
-
note?: Record<string, unknown>;
|
|
4625
|
-
attachmentIds?: string[];
|
|
4626
|
-
imageIds?: string[];
|
|
4627
|
-
seoTitle?: string;
|
|
4628
|
-
seoDescription?: string;
|
|
4629
|
-
seoThumbnail?: string;
|
|
4630
|
-
status?: string;
|
|
4631
|
-
slug?: string;
|
|
4632
|
-
approveStatus?: string;
|
|
4633
|
-
deletedAt?: Date;
|
|
4634
|
-
deletedById?: string;
|
|
4635
|
-
updatedById?: string;
|
|
4636
|
-
}
|
|
4637
|
-
interface ForSaleDataPort {
|
|
4638
|
-
update(id: string, data: ForSaleUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
4639
|
-
softDeleteByCodes(codes: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
4640
|
-
insertForSale(data: ForSaleInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
4641
|
-
findById(id: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4642
|
-
findForSaleById(id: string, createdById: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4643
|
-
findPublishedByCode(code: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4644
|
-
findCodesByCodeAndCreatedBy(code: string, createdById: string, trx?: Transaction<Database>): Promise<string[]>;
|
|
4645
|
-
findAndCountPublished(filter: ForSaleDataFilter, page: number, limit: number, trx?: Transaction<Database>): Promise<{
|
|
4646
|
-
data: ForSaleModel[];
|
|
4647
|
-
total: number;
|
|
4648
|
-
page: number;
|
|
4649
|
-
limit: number;
|
|
4650
|
-
totalPages: number;
|
|
4651
|
-
}>;
|
|
4652
|
-
findApprovedForSync(sinceDate: Date, trx?: Transaction<Database>): Promise<ForSaleModel[]>;
|
|
4653
|
-
}
|
|
4654
|
-
//#endregion
|
|
4655
|
-
//#region src/generated/for-sale/ports/get-for-sale.request.d.ts
|
|
4656
|
-
type ForSaleFilter = {
|
|
4657
|
-
code: string;
|
|
4658
|
-
};
|
|
4659
|
-
//#endregion
|
|
4660
|
-
//#region src/generated/for-sale/ports/get-for-sale.response.d.ts
|
|
4661
|
-
interface ForSaleResponse extends BaseRes {
|
|
4662
|
-
id: string;
|
|
4663
|
-
title: string;
|
|
4664
|
-
content: string;
|
|
4665
|
-
address: string;
|
|
4666
|
-
latitude: number;
|
|
4667
|
-
longitude: number;
|
|
4668
|
-
landArea: number;
|
|
4669
|
-
constructionArea: number;
|
|
4670
|
-
roadWidth: number;
|
|
4671
|
-
roadType: string;
|
|
4672
|
-
floorCount: number;
|
|
4673
|
-
buildingStandard: string;
|
|
4674
|
-
depreciationPercent: number;
|
|
4675
|
-
infrastructureStatus: string;
|
|
4676
|
-
utilities?: string[];
|
|
4677
|
-
totalPrice: number;
|
|
4678
|
-
pricePerSqm: number;
|
|
4679
|
-
negotiable?: boolean;
|
|
4680
|
-
propertyType: string;
|
|
4681
|
-
postType: string;
|
|
4682
|
-
seoTitle?: string;
|
|
4683
|
-
seoDescription?: string;
|
|
4684
|
-
seoThumbnail?: string;
|
|
4685
|
-
status: string;
|
|
4686
|
-
approveStatus: string;
|
|
4687
|
-
attachmentIds?: string[];
|
|
4688
|
-
imageIds?: string[];
|
|
4689
|
-
code: string;
|
|
4690
|
-
slug: string;
|
|
4691
|
-
createdAt?: Date;
|
|
4692
|
-
updatedAt?: Date;
|
|
4693
|
-
}
|
|
4694
|
-
//#endregion
|
|
4695
|
-
//#region src/generated/for-sale/ports/get-for-sales.response.d.ts
|
|
4696
|
-
interface ForSalesResponse extends BaseRes {
|
|
4697
|
-
data: ForSaleModel[];
|
|
4698
|
-
total: number;
|
|
4699
|
-
page: number;
|
|
4700
|
-
limit: number;
|
|
4701
|
-
totalPages: number;
|
|
4702
|
-
}
|
|
4703
|
-
//#endregion
|
|
4704
|
-
//#region src/generated/for-sale/ports/update-for-sale.request.d.ts
|
|
4705
|
-
type UpdateForSaleInput = {
|
|
4706
|
-
id: string;
|
|
4707
|
-
content: any;
|
|
4708
|
-
note: any;
|
|
4709
|
-
attachmentIds: string[];
|
|
4710
|
-
imageIds: string[];
|
|
4711
|
-
title?: string | undefined;
|
|
4712
|
-
address?: string | undefined;
|
|
4713
|
-
latitude?: number | undefined;
|
|
4714
|
-
longitude?: number | undefined;
|
|
4715
|
-
landArea?: number | undefined;
|
|
4716
|
-
constructionArea?: number | undefined;
|
|
4717
|
-
roadWidth?: number | undefined;
|
|
4718
|
-
roadType?: ForSaleRoadType | undefined;
|
|
4719
|
-
floorCount?: number | undefined;
|
|
4720
|
-
buildingStandard?: ForSaleBuildingStandard | undefined;
|
|
4721
|
-
depreciationPercent?: number | undefined;
|
|
4722
|
-
infrastructureStatus?: ForSaleInfrastructureStatus | undefined;
|
|
4723
|
-
utilities?: ForSaleUtilities[] | undefined;
|
|
4724
|
-
totalPrice?: number | undefined;
|
|
4725
|
-
pricePerSqm?: number | undefined;
|
|
4726
|
-
negotiable?: boolean | undefined;
|
|
4727
|
-
propertyId?: string | undefined;
|
|
4728
|
-
projectId?: string | undefined;
|
|
4729
|
-
propertyType?: ForSalePropertyType | undefined;
|
|
4730
|
-
postType?: ForSalePostType | undefined;
|
|
4731
|
-
seoTitle?: string | undefined;
|
|
4732
|
-
seoDescription?: string | undefined;
|
|
4733
|
-
seoThumbnail?: string | undefined;
|
|
4734
|
-
status?: ForSaleStatus | undefined;
|
|
4735
|
-
};
|
|
4736
|
-
//#endregion
|
|
4737
|
-
//#region src/generated/for-sale/ports/update-for-sale.response.d.ts
|
|
4738
|
-
interface UpdateForSaleResponse extends BaseRes {
|
|
4739
|
-
message: string;
|
|
4740
|
-
}
|
|
4741
|
-
//#endregion
|
|
4742
|
-
//#region src/generated/identity/exceptions.d.ts
|
|
4743
|
-
declare const IdentityExceptions: {
|
|
4744
|
-
IDENTITY_NOT_FOUND: string;
|
|
4745
|
-
};
|
|
4746
|
-
//#endregion
|
|
4747
|
-
//#region src/generated/identity/identity.enum.d.ts
|
|
4748
|
-
declare enum IdentityType {
|
|
4749
|
-
ID_CARD = "ID_CARD"
|
|
4750
|
-
}
|
|
4751
|
-
declare enum IdentityVerificationStatus {
|
|
4752
|
-
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
4753
|
-
APPROVED = "APPROVED"
|
|
4754
|
-
}
|
|
4755
|
-
declare enum IdentityNationality {
|
|
4756
|
-
VN = "VN"
|
|
4757
|
-
}
|
|
4758
|
-
//#endregion
|
|
4759
|
-
//#region src/generated/industrial-property/exceptions.d.ts
|
|
4760
|
-
declare const IndustrialParkExceptions: {
|
|
4761
|
-
INDUSTRIAL_PARK_NOT_FOUND: string;
|
|
4762
|
-
};
|
|
4763
|
-
declare const PropertyExceptions: {
|
|
4764
|
-
readonly PROPERTY_NOT_FOUND: "Property not found";
|
|
4765
|
-
readonly PROPERTY_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this property";
|
|
4766
|
-
readonly PROPERTY_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this property";
|
|
4767
|
-
readonly PROPERTY_ALREADY_EXISTS: "Property already exists";
|
|
4615
|
+
//#region src/generated/industrial-property/exceptions.d.ts
|
|
4616
|
+
declare const IndustrialParkExceptions: {
|
|
4617
|
+
INDUSTRIAL_PARK_NOT_FOUND: string;
|
|
4618
|
+
};
|
|
4619
|
+
declare const PropertyExceptions: {
|
|
4620
|
+
readonly PROPERTY_NOT_FOUND: "Property not found";
|
|
4621
|
+
readonly PROPERTY_NOT_ALLOWED_TO_UPDATE: "Not allowed to update this property";
|
|
4622
|
+
readonly PROPERTY_NOT_ALLOWED_TO_DELETE: "Not allowed to delete this property";
|
|
4623
|
+
readonly PROPERTY_ALREADY_EXISTS: "Property already exists";
|
|
4768
4624
|
};
|
|
4769
4625
|
//#endregion
|
|
4770
4626
|
//#region src/generated/industrial-property/industrial-property.enum.d.ts
|
|
@@ -4952,6 +4808,7 @@ type UpdatePropertiesInput = {
|
|
|
4952
4808
|
metadata?: any;
|
|
4953
4809
|
numberOfFloor?: number | undefined;
|
|
4954
4810
|
floorNumber?: number | undefined;
|
|
4811
|
+
numberOfProperties?: number | undefined;
|
|
4955
4812
|
propertyDetail?: {
|
|
4956
4813
|
orientation?: string | undefined;
|
|
4957
4814
|
buildingDensityPercent?: number | undefined;
|
|
@@ -7168,6 +7025,7 @@ declare const createPropertyInputBaseSchema: ZodObject<{
|
|
|
7168
7025
|
type: ZodEnum<typeof PropertyType$1>;
|
|
7169
7026
|
numberOfFloor: ZodOptional<ZodNumber>;
|
|
7170
7027
|
floorNumber: ZodOptional<ZodNumber>;
|
|
7028
|
+
numberOfProperties: ZodOptional<ZodNumber>;
|
|
7171
7029
|
propertyDetail: ZodObject<{
|
|
7172
7030
|
orientation: ZodOptional<ZodString>;
|
|
7173
7031
|
buildingDensityPercent: ZodOptional<ZodNumber>;
|
|
@@ -7243,6 +7101,7 @@ type CreatePropertyInput = {
|
|
|
7243
7101
|
metadata?: any;
|
|
7244
7102
|
numberOfFloor?: number | undefined;
|
|
7245
7103
|
floorNumber?: number | undefined;
|
|
7104
|
+
numberOfProperties?: number | undefined;
|
|
7246
7105
|
} & {
|
|
7247
7106
|
children?: CreatePropertyInputSchema[];
|
|
7248
7107
|
};
|
|
@@ -7880,6 +7739,7 @@ type UpdatePropertyInput = {
|
|
|
7880
7739
|
metadata?: any;
|
|
7881
7740
|
numberOfFloor?: number | undefined;
|
|
7882
7741
|
floorNumber?: number | undefined;
|
|
7742
|
+
numberOfProperties?: number | undefined;
|
|
7883
7743
|
propertyDetail?: {
|
|
7884
7744
|
orientation?: string | undefined;
|
|
7885
7745
|
buildingDensityPercent?: number | undefined;
|
|
@@ -7952,6 +7812,424 @@ interface RegisterInvestorRepresentativeResponse extends BaseRes {
|
|
|
7952
7812
|
message: string;
|
|
7953
7813
|
}
|
|
7954
7814
|
//#endregion
|
|
7815
|
+
//#region src/generated/listing/exceptions.d.ts
|
|
7816
|
+
declare const ListingExceptions: {
|
|
7817
|
+
LISTING_NOT_FOUND: string;
|
|
7818
|
+
};
|
|
7819
|
+
//#endregion
|
|
7820
|
+
//#region src/generated/listing/ports/approve-listing.request.d.ts
|
|
7821
|
+
type ApproveListingInput = {
|
|
7822
|
+
id: string;
|
|
7823
|
+
};
|
|
7824
|
+
//#endregion
|
|
7825
|
+
//#region src/generated/listing/ports/approve-listing.response.d.ts
|
|
7826
|
+
interface ApproveListingResponse extends BaseRes {
|
|
7827
|
+
message: string;
|
|
7828
|
+
}
|
|
7829
|
+
//#endregion
|
|
7830
|
+
//#region src/generated/listing/ports/create-listing.request.d.ts
|
|
7831
|
+
type CreateListingInput = {
|
|
7832
|
+
title: string;
|
|
7833
|
+
content: string;
|
|
7834
|
+
address: string;
|
|
7835
|
+
latitude: number;
|
|
7836
|
+
longitude: number;
|
|
7837
|
+
utilityIds: string[];
|
|
7838
|
+
videoUrls: string[];
|
|
7839
|
+
documents: {
|
|
7840
|
+
name: string;
|
|
7841
|
+
category: string;
|
|
7842
|
+
type: string;
|
|
7843
|
+
mediaIds?: string[] | undefined;
|
|
7844
|
+
notes?: string | undefined;
|
|
7845
|
+
isApproved?: boolean | undefined;
|
|
7846
|
+
}[];
|
|
7847
|
+
services: {
|
|
7848
|
+
name: string;
|
|
7849
|
+
price: number;
|
|
7850
|
+
priceUnit: string;
|
|
7851
|
+
}[];
|
|
7852
|
+
totalPrice: number;
|
|
7853
|
+
listingType: ListingType;
|
|
7854
|
+
note: any;
|
|
7855
|
+
imageIds: string[];
|
|
7856
|
+
landArea?: number | undefined;
|
|
7857
|
+
constructionArea?: number | undefined;
|
|
7858
|
+
roadWidth?: number | undefined;
|
|
7859
|
+
roadLength?: number | undefined;
|
|
7860
|
+
roadType?: ListingRoadType | undefined;
|
|
7861
|
+
floorCount?: number | undefined;
|
|
7862
|
+
partOfPropertyTitle?: string | undefined;
|
|
7863
|
+
propertyTitle?: string | undefined;
|
|
7864
|
+
pricePerSqm?: number | undefined;
|
|
7865
|
+
negotiable?: boolean | undefined;
|
|
7866
|
+
propertyId?: string | undefined;
|
|
7867
|
+
projectId?: string | undefined;
|
|
7868
|
+
propertyType?: ListingPropertyType | undefined;
|
|
7869
|
+
postType?: ListingPostType | undefined;
|
|
7870
|
+
seoTitle?: string | undefined;
|
|
7871
|
+
seoDescription?: string | undefined;
|
|
7872
|
+
seoThumbnail?: string | undefined;
|
|
7873
|
+
};
|
|
7874
|
+
//#endregion
|
|
7875
|
+
//#region src/generated/listing/ports/create-listing.response.d.ts
|
|
7876
|
+
interface CreateListingResponse extends BaseRes {
|
|
7877
|
+
message: string;
|
|
7878
|
+
}
|
|
7879
|
+
//#endregion
|
|
7880
|
+
//#region src/generated/listing/ports/delete-listing.request.d.ts
|
|
7881
|
+
type DeleteListingInput = {
|
|
7882
|
+
code: string;
|
|
7883
|
+
};
|
|
7884
|
+
//#endregion
|
|
7885
|
+
//#region src/generated/listing/ports/delete-listing.response.d.ts
|
|
7886
|
+
interface DeleteListingResponse extends BaseRes {
|
|
7887
|
+
message: string;
|
|
7888
|
+
}
|
|
7889
|
+
//#endregion
|
|
7890
|
+
//#region src/generated/listing/ports/get-listing.request.d.ts
|
|
7891
|
+
type ListingFilter = {
|
|
7892
|
+
id: string;
|
|
7893
|
+
};
|
|
7894
|
+
//#endregion
|
|
7895
|
+
//#region src/generated/listing/ports/get-listing.response.d.ts
|
|
7896
|
+
type ListingUtilityItem = {
|
|
7897
|
+
id: string;
|
|
7898
|
+
name: string;
|
|
7899
|
+
icon: string;
|
|
7900
|
+
description?: string;
|
|
7901
|
+
};
|
|
7902
|
+
type DocumentItem = {
|
|
7903
|
+
name: string;
|
|
7904
|
+
category: string;
|
|
7905
|
+
type: string;
|
|
7906
|
+
isApproved?: boolean;
|
|
7907
|
+
notes?: string;
|
|
7908
|
+
};
|
|
7909
|
+
type ServiceFee = {
|
|
7910
|
+
name: string;
|
|
7911
|
+
price: number;
|
|
7912
|
+
priceUnit: string;
|
|
7913
|
+
};
|
|
7914
|
+
interface ListingItem {
|
|
7915
|
+
id: string;
|
|
7916
|
+
title: string;
|
|
7917
|
+
content: string;
|
|
7918
|
+
address: string;
|
|
7919
|
+
latitude: number;
|
|
7920
|
+
longitude: number;
|
|
7921
|
+
landArea?: number;
|
|
7922
|
+
constructionArea?: number;
|
|
7923
|
+
roadWidth?: number;
|
|
7924
|
+
roadLength?: number;
|
|
7925
|
+
roadType?: string;
|
|
7926
|
+
floorCount?: number;
|
|
7927
|
+
partOfPropertyTitle?: string;
|
|
7928
|
+
propertyTitle?: string;
|
|
7929
|
+
utilities?: ListingUtilityItem[];
|
|
7930
|
+
totalPrice: number;
|
|
7931
|
+
pricePerSqm?: number;
|
|
7932
|
+
negotiable?: boolean;
|
|
7933
|
+
propertyType?: string;
|
|
7934
|
+
postType?: string;
|
|
7935
|
+
listingType?: ListingType;
|
|
7936
|
+
note?: Record<string, unknown>;
|
|
7937
|
+
seoTitle?: string;
|
|
7938
|
+
seoDescription?: string;
|
|
7939
|
+
seoThumbnail?: string;
|
|
7940
|
+
status: string;
|
|
7941
|
+
approveStatus?: string;
|
|
7942
|
+
attachmentIds?: string[];
|
|
7943
|
+
documents?: DocumentItem[];
|
|
7944
|
+
images: MediaResponse[];
|
|
7945
|
+
videoUrls?: string[];
|
|
7946
|
+
code: string;
|
|
7947
|
+
slug: string;
|
|
7948
|
+
propertyId?: string;
|
|
7949
|
+
projectId?: string;
|
|
7950
|
+
version?: number;
|
|
7951
|
+
services?: ServiceFee[];
|
|
7952
|
+
metadata?: Record<string, unknown>;
|
|
7953
|
+
createdAt?: Date;
|
|
7954
|
+
updatedAt?: Date;
|
|
7955
|
+
deletedAt?: Date;
|
|
7956
|
+
createdById?: string;
|
|
7957
|
+
updatedById?: string;
|
|
7958
|
+
deletedById?: string;
|
|
7959
|
+
}
|
|
7960
|
+
interface ListingResponse extends BaseRes {
|
|
7961
|
+
listing: ListingItem;
|
|
7962
|
+
}
|
|
7963
|
+
//#endregion
|
|
7964
|
+
//#region src/generated/listing/ports/get-listings.request.d.ts
|
|
7965
|
+
type ListingsFilter = {
|
|
7966
|
+
page: number;
|
|
7967
|
+
limit: number;
|
|
7968
|
+
title?: string | undefined;
|
|
7969
|
+
address?: string | undefined;
|
|
7970
|
+
propertyType?: ListingPropertyType | undefined;
|
|
7971
|
+
postType?: ListingPostType | undefined;
|
|
7972
|
+
listingType?: ListingType | undefined;
|
|
7973
|
+
createdBy?: string | undefined;
|
|
7974
|
+
propertyId?: string | undefined;
|
|
7975
|
+
};
|
|
7976
|
+
//#endregion
|
|
7977
|
+
//#region src/generated/listing/ports/get-listings.response.d.ts
|
|
7978
|
+
interface ListingListItem {
|
|
7979
|
+
id: string;
|
|
7980
|
+
title: string;
|
|
7981
|
+
content: string;
|
|
7982
|
+
address: string;
|
|
7983
|
+
latitude: number;
|
|
7984
|
+
longitude: number;
|
|
7985
|
+
landArea?: number;
|
|
7986
|
+
constructionArea?: number;
|
|
7987
|
+
roadWidth?: number;
|
|
7988
|
+
roadLength?: number;
|
|
7989
|
+
roadType?: string;
|
|
7990
|
+
floorCount?: number;
|
|
7991
|
+
partOfPropertyTitle?: string;
|
|
7992
|
+
propertyTitle?: string;
|
|
7993
|
+
utilities?: ListingUtilityItem[];
|
|
7994
|
+
totalPrice: number;
|
|
7995
|
+
pricePerSqm?: number;
|
|
7996
|
+
negotiable?: boolean;
|
|
7997
|
+
propertyType?: string;
|
|
7998
|
+
postType?: string;
|
|
7999
|
+
listingType?: ListingType;
|
|
8000
|
+
note?: Record<string, unknown>;
|
|
8001
|
+
seoTitle?: string;
|
|
8002
|
+
seoDescription?: string;
|
|
8003
|
+
seoThumbnail?: string;
|
|
8004
|
+
status: string;
|
|
8005
|
+
approveStatus?: string;
|
|
8006
|
+
images: MediaResponse[];
|
|
8007
|
+
code: string;
|
|
8008
|
+
slug: string;
|
|
8009
|
+
propertyId?: string;
|
|
8010
|
+
projectId?: string;
|
|
8011
|
+
version?: number;
|
|
8012
|
+
metadata?: Record<string, unknown>;
|
|
8013
|
+
createdAt?: Date;
|
|
8014
|
+
updatedAt?: Date;
|
|
8015
|
+
deletedAt?: Date;
|
|
8016
|
+
createdById?: string;
|
|
8017
|
+
updatedById?: string;
|
|
8018
|
+
deletedById?: string;
|
|
8019
|
+
}
|
|
8020
|
+
interface ListingsResponse extends BaseRes {
|
|
8021
|
+
data: ListingListItem[];
|
|
8022
|
+
total: number;
|
|
8023
|
+
page: number;
|
|
8024
|
+
limit: number;
|
|
8025
|
+
totalPages: number;
|
|
8026
|
+
}
|
|
8027
|
+
//#endregion
|
|
8028
|
+
//#region src/generated/listing/ports/listing-data.port.d.ts
|
|
8029
|
+
type ListingDataFilter = Omit<ListingsFilter, "page" | "limit">;
|
|
8030
|
+
interface DocumentModel {
|
|
8031
|
+
id: string;
|
|
8032
|
+
name: string;
|
|
8033
|
+
category: string;
|
|
8034
|
+
type: string;
|
|
8035
|
+
isApproved?: boolean;
|
|
8036
|
+
notes?: string;
|
|
8037
|
+
}
|
|
8038
|
+
interface DocumentInsertPayload {
|
|
8039
|
+
name: string;
|
|
8040
|
+
category: string;
|
|
8041
|
+
type: string;
|
|
8042
|
+
mediaIds?: string[];
|
|
8043
|
+
notes?: string;
|
|
8044
|
+
isApproved?: boolean;
|
|
8045
|
+
createdById: string;
|
|
8046
|
+
}
|
|
8047
|
+
interface ListingModel {
|
|
8048
|
+
id: string;
|
|
8049
|
+
title: string;
|
|
8050
|
+
content: string;
|
|
8051
|
+
address: string;
|
|
8052
|
+
latitude: number;
|
|
8053
|
+
longitude: number;
|
|
8054
|
+
landArea?: number;
|
|
8055
|
+
constructionArea?: number;
|
|
8056
|
+
roadWidth?: number;
|
|
8057
|
+
roadLength?: number;
|
|
8058
|
+
roadType?: string;
|
|
8059
|
+
floorCount?: number;
|
|
8060
|
+
partOfPropertyTitle?: string;
|
|
8061
|
+
propertyTitle?: string;
|
|
8062
|
+
utilityIds?: string[];
|
|
8063
|
+
videoUrls?: string[];
|
|
8064
|
+
services?: Record<string, unknown>[];
|
|
8065
|
+
totalPrice: number;
|
|
8066
|
+
pricePerSqm?: number;
|
|
8067
|
+
negotiable?: boolean;
|
|
8068
|
+
propertyType?: string;
|
|
8069
|
+
postType?: string;
|
|
8070
|
+
listingType: ListingType;
|
|
8071
|
+
note?: Record<string, unknown>;
|
|
8072
|
+
seoTitle?: string;
|
|
8073
|
+
seoDescription?: string;
|
|
8074
|
+
seoThumbnail?: string;
|
|
8075
|
+
status: string;
|
|
8076
|
+
approveStatus?: string;
|
|
8077
|
+
attachmentIds?: string[];
|
|
8078
|
+
imageIds?: string[];
|
|
8079
|
+
code: string;
|
|
8080
|
+
slug: string;
|
|
8081
|
+
version?: number;
|
|
8082
|
+
createdById: string;
|
|
8083
|
+
createdAt?: Date;
|
|
8084
|
+
updatedAt?: Date;
|
|
8085
|
+
}
|
|
8086
|
+
interface ListingInsertData {
|
|
8087
|
+
id: string;
|
|
8088
|
+
title: string;
|
|
8089
|
+
content: string;
|
|
8090
|
+
address: string;
|
|
8091
|
+
latitude: number;
|
|
8092
|
+
longitude: number;
|
|
8093
|
+
landArea?: number;
|
|
8094
|
+
constructionArea?: number;
|
|
8095
|
+
roadWidth?: number;
|
|
8096
|
+
roadLength?: number;
|
|
8097
|
+
roadType?: string;
|
|
8098
|
+
floorCount?: number;
|
|
8099
|
+
partOfPropertyTitle?: string;
|
|
8100
|
+
propertyTitle?: string;
|
|
8101
|
+
utilityIds?: string[];
|
|
8102
|
+
videoUrls?: string[];
|
|
8103
|
+
services?: Record<string, unknown>[];
|
|
8104
|
+
totalPrice: number;
|
|
8105
|
+
pricePerSqm?: number;
|
|
8106
|
+
negotiable?: boolean;
|
|
8107
|
+
propertyType?: string;
|
|
8108
|
+
postType?: string;
|
|
8109
|
+
listingType: ListingType;
|
|
8110
|
+
note?: Record<string, unknown>;
|
|
8111
|
+
seoTitle?: string;
|
|
8112
|
+
seoDescription?: string;
|
|
8113
|
+
seoThumbnail?: string;
|
|
8114
|
+
status: string;
|
|
8115
|
+
approveStatus: string;
|
|
8116
|
+
attachmentIds?: string[];
|
|
8117
|
+
imageIds?: string[];
|
|
8118
|
+
code: string;
|
|
8119
|
+
slug: string;
|
|
8120
|
+
version?: number;
|
|
8121
|
+
createdById: string;
|
|
8122
|
+
}
|
|
8123
|
+
interface ListingUpdateData {
|
|
8124
|
+
title?: string;
|
|
8125
|
+
content?: string;
|
|
8126
|
+
address?: string;
|
|
8127
|
+
latitude?: number;
|
|
8128
|
+
longitude?: number;
|
|
8129
|
+
landArea?: number;
|
|
8130
|
+
constructionArea?: number;
|
|
8131
|
+
roadWidth?: number;
|
|
8132
|
+
roadLength?: number;
|
|
8133
|
+
roadType?: string;
|
|
8134
|
+
floorCount?: number;
|
|
8135
|
+
partOfPropertyTitle?: string;
|
|
8136
|
+
propertyTitle?: string;
|
|
8137
|
+
utilityIds?: string[];
|
|
8138
|
+
videoUrls?: string[];
|
|
8139
|
+
services?: Record<string, unknown>[];
|
|
8140
|
+
totalPrice?: number;
|
|
8141
|
+
pricePerSqm?: number;
|
|
8142
|
+
negotiable?: boolean;
|
|
8143
|
+
propertyType?: string;
|
|
8144
|
+
postType?: string;
|
|
8145
|
+
listingType?: ListingType;
|
|
8146
|
+
note?: Record<string, unknown>;
|
|
8147
|
+
attachmentIds?: string[];
|
|
8148
|
+
imageIds?: string[];
|
|
8149
|
+
seoTitle?: string;
|
|
8150
|
+
seoDescription?: string;
|
|
8151
|
+
seoThumbnail?: string;
|
|
8152
|
+
status?: string;
|
|
8153
|
+
slug?: string;
|
|
8154
|
+
approveStatus?: string;
|
|
8155
|
+
deletedAt?: Date;
|
|
8156
|
+
deletedById?: string;
|
|
8157
|
+
updatedById?: string;
|
|
8158
|
+
}
|
|
8159
|
+
interface ListingDataPort {
|
|
8160
|
+
update(id: string, data: ListingUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
8161
|
+
softDeleteByCodes(codes: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
8162
|
+
insertListing(data: ListingInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
8163
|
+
insertDocuments(documents: DocumentInsertPayload[], trx?: Transaction<Database>): Promise<string[]>;
|
|
8164
|
+
softDeleteDocumentsByIds(ids: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
8165
|
+
findDocumentsByIds(ids: string[], trx?: Transaction<Database>): Promise<DocumentModel[]>;
|
|
8166
|
+
findById(id: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
8167
|
+
findListingById(id: string, createdById: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
8168
|
+
findPublishedById(id: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
8169
|
+
findPublishedByCode(code: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
8170
|
+
findCodesByCodeAndCreatedBy(code: string, createdById: string, trx?: Transaction<Database>): Promise<string[]>;
|
|
8171
|
+
findAndCount(filter: ListingDataFilter, page: number, limit: number, trx?: Transaction<Database>): Promise<{
|
|
8172
|
+
data: ListingModel[];
|
|
8173
|
+
total: number;
|
|
8174
|
+
page: number;
|
|
8175
|
+
limit: number;
|
|
8176
|
+
totalPages: number;
|
|
8177
|
+
}>;
|
|
8178
|
+
findApprovedForSync(sinceDate: Date, trx?: Transaction<Database>): Promise<ListingModel[]>;
|
|
8179
|
+
}
|
|
8180
|
+
//#endregion
|
|
8181
|
+
//#region src/generated/listing/ports/update-listing.request.d.ts
|
|
8182
|
+
type UpdateListingInput = {
|
|
8183
|
+
id: string;
|
|
8184
|
+
content: any;
|
|
8185
|
+
note: any;
|
|
8186
|
+
title?: string | undefined;
|
|
8187
|
+
address?: string | undefined;
|
|
8188
|
+
latitude?: number | undefined;
|
|
8189
|
+
longitude?: number | undefined;
|
|
8190
|
+
landArea?: number | undefined;
|
|
8191
|
+
constructionArea?: number | undefined;
|
|
8192
|
+
roadWidth?: number | undefined;
|
|
8193
|
+
roadLength?: number | undefined;
|
|
8194
|
+
roadType?: ListingRoadType | undefined;
|
|
8195
|
+
floorCount?: number | undefined;
|
|
8196
|
+
partOfPropertyTitle?: string | undefined;
|
|
8197
|
+
propertyTitle?: string | undefined;
|
|
8198
|
+
utilityIds?: string[] | undefined;
|
|
8199
|
+
videoUrls?: string[] | undefined;
|
|
8200
|
+
documents?: {
|
|
8201
|
+
name: string;
|
|
8202
|
+
category: string;
|
|
8203
|
+
type: string;
|
|
8204
|
+
mediaIds?: string[] | undefined;
|
|
8205
|
+
notes?: string | undefined;
|
|
8206
|
+
isApproved?: boolean | undefined;
|
|
8207
|
+
}[] | undefined;
|
|
8208
|
+
services?: {
|
|
8209
|
+
name: string;
|
|
8210
|
+
price: number;
|
|
8211
|
+
priceUnit: string;
|
|
8212
|
+
}[] | undefined;
|
|
8213
|
+
totalPrice?: number | undefined;
|
|
8214
|
+
pricePerSqm?: number | undefined;
|
|
8215
|
+
negotiable?: boolean | undefined;
|
|
8216
|
+
propertyId?: string | undefined;
|
|
8217
|
+
projectId?: string | undefined;
|
|
8218
|
+
propertyType?: ListingPropertyType | undefined;
|
|
8219
|
+
postType?: ListingPostType | undefined;
|
|
8220
|
+
listingType?: ListingType | undefined;
|
|
8221
|
+
imageIds?: string[] | undefined;
|
|
8222
|
+
seoTitle?: string | undefined;
|
|
8223
|
+
seoDescription?: string | undefined;
|
|
8224
|
+
seoThumbnail?: string | undefined;
|
|
8225
|
+
status?: ListingStatus | undefined;
|
|
8226
|
+
};
|
|
8227
|
+
//#endregion
|
|
8228
|
+
//#region src/generated/listing/ports/update-listing.response.d.ts
|
|
8229
|
+
interface UpdateListingResponse extends BaseRes {
|
|
8230
|
+
message: string;
|
|
8231
|
+
}
|
|
8232
|
+
//#endregion
|
|
7955
8233
|
//#region src/generated/location/exceptions.d.ts
|
|
7956
8234
|
declare const ProvinceExceptions: {
|
|
7957
8235
|
PROVINCE_NOT_FOUND: string;
|
|
@@ -8844,7 +9122,7 @@ type AddDocumentToProjectInput = {
|
|
|
8844
9122
|
};
|
|
8845
9123
|
//#endregion
|
|
8846
9124
|
//#region src/generated/project/ports/add-document-to-project.response.d.ts
|
|
8847
|
-
interface AddDocumentToProjectResponse extends BaseRes
|
|
9125
|
+
interface AddDocumentToProjectResponse extends BaseRes {
|
|
8848
9126
|
documentId: string;
|
|
8849
9127
|
message: string;
|
|
8850
9128
|
}
|
|
@@ -9463,6 +9741,7 @@ interface ProjectUtilityModel {
|
|
|
9463
9741
|
name: string;
|
|
9464
9742
|
description?: string;
|
|
9465
9743
|
icon: string;
|
|
9744
|
+
ownerProjectId?: string | null;
|
|
9466
9745
|
}
|
|
9467
9746
|
interface ProjectDocumentModel {
|
|
9468
9747
|
id: string;
|
|
@@ -9559,7 +9838,7 @@ interface ProjectDataPort {
|
|
|
9559
9838
|
}
|
|
9560
9839
|
//#endregion
|
|
9561
9840
|
//#region src/generated/project/ports/remove-document-from-project.response.d.ts
|
|
9562
|
-
interface deleteDocumentFromProjectResponse extends BaseRes
|
|
9841
|
+
interface deleteDocumentFromProjectResponse extends BaseRes {
|
|
9563
9842
|
success: boolean;
|
|
9564
9843
|
}
|
|
9565
9844
|
//#endregion
|
|
@@ -9634,7 +9913,7 @@ type UpdateProjectDocumentInput = {
|
|
|
9634
9913
|
};
|
|
9635
9914
|
//#endregion
|
|
9636
9915
|
//#region src/generated/project/ports/update-project-document.response.d.ts
|
|
9637
|
-
interface UpdateProjectDocumentResponse extends BaseRes
|
|
9916
|
+
interface UpdateProjectDocumentResponse extends BaseRes {
|
|
9638
9917
|
message: string;
|
|
9639
9918
|
}
|
|
9640
9919
|
//#endregion
|
|
@@ -10463,5 +10742,5 @@ interface UtilityDataPort {
|
|
|
10463
10742
|
} | undefined>;
|
|
10464
10743
|
}
|
|
10465
10744
|
//#endregion
|
|
10466
|
-
export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsInput, AddDealStepParticipantsResponse, AddDocumentToProjectInput, AddDocumentToProjectResponse, AdministratorDataPort, type AgreementCommandPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, type AgreementTemplateFiltersInput, AgreementTemplateInsertData, type AgreementTemplateListResult, AgreementTemplateModel, type AgreementTemplatePort, AgreementTemplateResponse, AgreementTemplateType, AgreementTemplateUpdateData, AgreementTemplatesFilter, AgreementTemplatesResponse, type AgreementTemplatesTable, AgreementTypeDataPort, AgreementTypeExceptions, AgreementTypeModel, type AgreementTypesTable, AgreementUpdateData, type AgreementsTable, AppointmentConfidentialityAgreement, type AppointmentConfidentialityAgreementsTable, AppointmentDataPort, AppointmentExceptions, AppointmentInsertData, AppointmentItem, AppointmentListFilter, AppointmentMediaInsertData, AppointmentModel, AppointmentParticipant, AppointmentParticipantInsertData, AppointmentParticipantModel, AppointmentParticipantWithUserModel, type AppointmentParticipantsTable, AppointmentResponse, AppointmentStatus, AppointmentType, AppointmentUpdateData, AppointmentWithParticipantsModel, AppointmentsFilter, AppointmentsResponse, type AppointmentsTable, ApproveAccountResponse, ApproveConsignmentRequestInput, ApproveConsignmentRequestResponse, ApproveDocumentResponse, ApproveForSaleAdminInput, ApproveForSaleAdminResponse, ApproveForSaleInput, ApproveForSaleResponse, ApproveOrderRequestResponse, ApproveTicketsInput, ApproveTicketsResponse, AssignConsignmentRequestToBrokerInput, AssignConsignmentRequestToBrokerResponse, AssignOrderRequestToBrokerInput, AssignOrderRequestToBrokerResponse, type AssignPropertyToBrokerInput, type AssignPropertyToBrokerResponse, type AssignedBrokerItem, BA_DINH_WARD_NO, BaseErrorResponse, BaseRes, BaseResponse, BlackListEntityType, BlackListStatus, type BlackListsTable, BlacklistExceptions, BlacklistFilter, BlacklistInsertData, BlacklistListFilter, BlacklistModel, BlacklistPort, BlacklistResponse, BlacklistUpdateData, BlacklistsFilter, BlacklistsResponse, BrokerCommandPort, BrokerConvertClientToJsonResponse, BrokerExceptions, BrokerImportClientFailedItem, BrokerImportClientFileInput, BrokerImportClientFromJsonInput, BrokerImportClientResponse, BrokerImportClientSuccessItem, BrokerSummaryModel, CancelAppointmentInput, CancelAppointmentResponse, ChangeAvatarResponse, ChangeNicknameInput, ChangeNicknameResponse, ChangePasswordInput, ChangePasswordResponse, ChatGroupDataPort, ChatGroupFilter, ChatGroupInsertData, ChatGroupMemberFilter, ChatGroupMemberInsertData, ChatGroupMemberItem, ChatGroupMemberModel, ChatGroupMemberRole, ChatGroupMemberUpdateData, ChatGroupMembersFilter, ChatGroupMembersResponse, type ChatGroupMembersTable, ChatGroupModel, ChatGroupResponse, ChatGroupStatsModel, ChatGroupUpdateData, ChatGroupsFilter, ChatGroupsResponse, type ChatGroupsTable, ChatMessageFilter, ChatMessageInsertData, ChatMessageItem, ChatMessageModel, ChatMessagesFilter, ChatMessagesResponse, type ChatMessagesTable, CheckNicknameAvailabilityInput, CheckNicknameAvailabilityResponse, ClientCategoriesFilter, ClientCategoriesReadResult, ClientCategoriesResponse, type ClientCategoriesTable, type ClientCategoryClientsTable, ClientCategoryCommandCreateInput, ClientCategoryCommandCreateResult, ClientCategoryCommandDeleteInput, ClientCategoryCommandUpdateInput, ClientCategoryExceptions, ClientCategoryFilter, ClientCategoryItem, ClientCategoryModel, ClientCategoryResponse, ClientCommandCreateInput, ClientCommandCreateResult, ClientCommandDeleteInput, ClientCommandMutationResult, ClientCommandPort, ClientCommandUpdateInput, ClientExceptions, ClientFilter, ClientModel, ClientNeed, ClientReadPort, ClientResponse, ClientRoles, ClientSource, ClientStatus, ClientType, ClientsFilter, ClientsReadResult, ClientsResponse, type ClientsTable, CompleteAppointmentInput, CompleteAppointmentResponse, ConfidentialityAgreementInsertData, ConfidentialityAgreementModel, ConfirmCreateAccountClientInput, ConfirmCreateAccountClientResponse, ConfirmCreateAccountInput, ConfirmCreateAccountResponse, ConfirmPaymentInstallmentInput, ConfirmPaymentInstallmentResponse, ConfirmPaymentProcessInput, ConfirmPaymentProcessResponse, ConfirmUpdateEmailInput, ConfirmUpdateEmailResponse, ConfirmUpdatePhoneNumberInput, ConfirmUpdatePhoneNumberResponse, ConsignmentRequestDataPort, ConsignmentRequestExceptions, ConsignmentRequestFilter, ConsignmentRequestInsertData, ConsignmentRequestListFilter, ConsignmentRequestModel, ConsignmentRequestResponse, ConsignmentRequestType, ConsignmentRequestUpdateData, ConsignmentRequestsFilter, ConsignmentRequestsResponse, type ConsignmentRequestsTable, ConversationExceptions, ConversationPagination, ConvertBrokerClientToJsonInput, ConvertBrokerClientToJsonResponse, ConvertBrokerClientType, CreateAgreementTemplateInput, CreateAgreementTemplateResponse, CreateAppointmentInput, CreateAppointmentResponse, CreateBlacklistInput, CreateBlacklistResponse, CreateBrokerFromRegisterLinkInput, CreateBrokerFromRegisterLinkResponse, CreateBrokerInput, CreateBrokerResponse, CreateChatGroupInput, CreateChatGroupResponse, CreateChatMessageInput, CreateChatMessageResponse, CreateClientCategoryInput, CreateClientCategoryResponse, CreateClientInput, CreateClientResponse, CreateConsignmentRequestInput, CreateConsignmentRequestResponse, CreateDealInput, CreateDealResponse, CreateForSaleInput, CreateForSaleResponse, CreateOrderRequestInput, CreateOrderRequestResponse, CreatePaymentInstallmentInput, CreatePaymentInstallmentResponse, CreatePaymentProcessInput, CreatePaymentProcessResponse, CreatePreDealInput, CreatePreDealResponse, CreateProjectInput, CreateProjectResponse, CreatePropertyInput, CreatePropertyMapInput, type CreatePropertyMapResponse, type CreatePropertyResponse, CreateRepresentativeInvestorInput, CreateRepresentativeInvestorResponse, CreateUtilityInput, CreateUtilityResponse, Database, DealDataPort, DealExceptions, DealFilter, DealFilterType, DealInsertData, DealItem, DealModel, DealParticipantModel, DealParticipantProfile, DealPaymentInstallment, DealProgress, DealStatus, DealStepAttachment, DealStepCreator, DealStepExceptions, DealStepHistoryItem, DealStepInsertData, DealStepModel, DealStepParticipantInsertData, type DealStepParticipantsTable, DealStepStatus, DealStepUpdateData, DealStepWithCreatorModel, DealStepsResponse, type DealStepsTable, DealSummaryResponse, DealUpdateData, DealWithSummaryModel, DealsFilter, DealsForUserFilter, DealsResponse, type DealsTable, DeleteAgreementTemplateResponse, type DeleteAgreementTemplateResult, DeleteAppointmentInput, DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryInput, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteForSaleInput, DeleteForSaleResponse, DeleteInvestorRepresentativeResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, type DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, DocumentToProjectInsertData, type DocumentToProjectTable, DocumentType, DocumentUpdateData, type DocumentsTable, ForSaleApproveData, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleDataFilter, ForSaleDataPort, ForSaleExceptions, ForSaleFilter, ForSaleInfrastructureStatus, ForSaleInsertData, ForSaleModel, ForSalePostType, ForSalePropertyType, ForSaleResponse, ForSaleRoadType, ForSaleStatus, ForSaleUpdateData, ForSaleUtilities, ForSalesFilter, ForSalesResponse, type ForSalesTable, ForgotPasswordInput, ForgotPasswordResponse, GenerateInvestorRegisterLinkInput, GenerateInvestorRegisterLinkResponse, GetManagementBrokerForProjectResponse, type IdentitiesTable, IdentityCardDataPort, IdentityCardEncryptedModel, IdentityCardInsertData, IdentityCardModel, IdentityCardUpdateData, type IdentityCardsTable, IdentityExceptions, IdentityInsertData, IdentityModel, IdentityNationality, IdentityType, IdentityUpdateData, IdentityVerificationProcessInsertData, IdentityVerificationProcessModel, type IdentityVerificationProcessesTable, IdentityVerificationStatus, ImportBrokerClientFileInput, ImportBrokerClientFileResponse, ImportBrokerClientFromJsonInput, ImportBrokerClientFromJsonResponse, IndustrialParkExceptions, InvestorExceptions, InvestorRepresentativeItem, InvestorRepresentativeResponse, InvestorRepresentativesResponse, InviteInvestorRepresentativeResponse, InviteMemberChatGroupInput, InviteMemberChatGroupResponse, JobStatus, JobType, type JobsTable, LandCurrentStatus, LandType, LinkChatGroupToDealInput, LinkChatGroupToDealResponse, LinkChatGroupToDealStepInput, LinkChatGroupToDealStepResponse, LocationFilter, LocationReadPort, ManagementBrokerItem, ManagementBrokersResponse, MediaAttachmentModel, MediaDetailModel, MediaExceptions, MediaInsertData, MediaItem, MediaListFilter, MediaPort, MediaReadData, MediaResponse, MediaSortField, MediaType, MediasFilter, MediasResponse, type MediasTable, MessageType, NotesItem, NotificationChannelModel, NotificationChannelTranslationModel, type NotificationChannelTranslationsTable, type NotificationChannelsTable, NotificationCommandPort, NotificationDataPort, NotificationDetailStatus, NotificationEnv, type NotificationEventsTable, NotificationMessageInsertData, NotificationMessageModel, type NotificationMessagesTable, NotificationScheduleInsertData, NotificationScheduleListFilter, NotificationScheduleModel, NotificationScheduleResponse, NotificationScheduleStatus, NotificationScheduleUpdateData, type NotificationSchedulesTable, NotificationSettingFilter, NotificationType, NotificationsResponse, OrderRequestDataPort, OrderRequestExceptions, OrderRequestInsertData, OrderRequestListFilter, OrderRequestModel, OrderRequestResponse, OrderRequestType, OrderRequestUpdateData, OrderRequestsFilter, OrderRequestsResponse, type OrderRequestsTable, OrganizationInsertData, OrganizationListFilter, OrganizationModel, OrganizationPort, OrganizationUpdateData, type OrganizationsTable, Orientation, OtpDataPort, OtpInsertData, OtpModel, OtpType, OtpUpdateData, type OtpsTable, type OutboxConsumerCursorsTable, type OutboxEventsTable, OwnerAuthorizeForSystemInput, OwnerAuthorizeForSystemResponse, type OwnerItem, Paginated, ParticipantRole, ParticipantStatus, PaymentConfirmationInsertData, type PaymentConfirmationsTable, PaymentDataPort, PaymentInstallmentFilter, PaymentInstallmentInsertData, PaymentInstallmentModel, PaymentInstallmentQueryFilter, PaymentInstallmentResponse, PaymentInstallmentStatus, PaymentInstallmentSummaryModel, PaymentInstallmentUpdateData, PaymentInstallmentsFilter, PaymentInstallmentsResponse, type PaymentInstallmentsTable, PaymentPagination, PaymentProcessExceptions, PaymentProcessFilter, PaymentProcessInsertData, PaymentProcessModel, PaymentProcessQueryFilter, PaymentProcessResponse, PaymentProcessStatus, PaymentProcessUpdateData, PaymentProcessesFilter, PaymentProcessesResponse, type PaymentProcessesTable, type PermissionsTable, PolygonCoordinate, PreDealExceptions, PreDealInsertData, PreDealItem, PreDealModel, PreDealResponse, PreDealsFilter, PreDealsPagination, PreDealsResponse, type PreDealsTable, PreviewAgreementResponse, ProgressToNextStepInput, ProgressToNextStepResponse, ProjectApprovalStatus, ProjectBoApprover, ProjectClassification, ProjectCurrentStatus, ProjectDataPort, ProjectDetailModel, ProjectDocumentModel, ProjectExceptions, ProjectFilter, ProjectInsertData, ProjectItem, ProjectMedia, ProjectMediaInsertData, ProjectMediaReadModel, ProjectMediaUpdateData, type ProjectMediasTable, ProjectModel, ProjectOwner, ProjectPagination, ProjectProvince, ProjectResponse, ProjectSearchFilter, ProjectSearchModel, ProjectServiceFee, ProjectStage, ProjectStandard, type ProjectSummaryItem, ProjectSummaryModel, type ProjectToBrokersTable, type ProjectToMediasTable, ProjectType, ProjectUpdateData, type ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, type ProjectsTable, PropertiesFilter, PropertiesResponse, type PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchUserPermissionsTable, PropertyBranchUtilityInsertData, type PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, type PropertyDetailsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, type PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, type PropertyMapsTable, PropertyModel, PropertyOperationStatus, PropertyResponse, PropertyTransactionStatus, PropertyType, type PropertyUtilitiesTable, PropertyVersionModel, type PropertyVersionsTable, PropertyVisualizationInsertData, type PropertyVisualizationItem, PropertyVisualizationModel, PropertyVisualizationUpdateData, type PropertyVisualizationsFilter, PropertyVisualizationsResponse, type PropertyVisualizationsTable, ProvinceExceptions, ProvinceListFilter, ProvinceModel, type ProvincesTable, ReadNotificationInput, ReadNotificationResponse, RefreshTokenInput, RefreshTokenResponse, RegisterAccountRequestInsertData, RegisterAccountRequestModel, RegisterAccountRequestUpdateData, type RegisterAccountRequestsTable, RegisterAccountVerificationInsertData, RegisterAccountVerificationModel, RegisterAccountVerificationUpdateData, type RegisterAccountVerificationsTable, RegisterDataPort, RegisterExceptions, RegisterInvestorRepresentativeResponse, RegisterRequestFilter, RejectTicketsInput, RejectTicketsResponse, RemoveDealStepParticipantsInput, RemoveDealStepParticipantsResponse, RemoveMemberChatGroupInput, RemoveMemberChatGroupResponse, RequestCreateAccountClientInput, RequestCreateAccountClientResponse, RequestCreateAccountInput, RequestCreateAccountResponse, RequestUpdateEmailInput, RequestUpdateEmailResponse, RequestUpdatePhoneNumberInput, RequestUpdatePhoneNumberResponse, RestoreAgreementTemplateResponse, RestoredAgreementTemplate, RoleCodes, RoleExceptions, RoleModel, type RolePermissionsTable, type RolesTable, ScheduleNotificationInput, ScheduleNotificationResponse, ScheduleType, SchedulerStatus, SearchDealModel, type SessionsTable, SetNewPasswordWhenForgotInput, SetNewPasswordWhenForgotResponse, SetPinnedMessageInput, SetPinnedMessageResponse, SettingExceptions, SignAgreementResponse, SignInInput, SignInResponse, SignOutInput, SignOutResponse, SortDirection, TicketExceptions, TicketInsertData, TicketItem, TicketListFilter, TicketModel, TicketPort, TicketStatus, TicketType, TicketUpdateData, TicketsFilter, TicketsResponse, type TicketsTable, UnreadCountByChannel, UpdateAgreementTemplateInput, UpdateAgreementTemplateResponse, UpdateAppointmentInput, UpdateAppointmentResponse, UpdateBlacklistInput, UpdateBlacklistResponse, UpdateBrokerPropertyPermissionData, UpdateChatGroupInput, UpdateChatGroupMemberInput, UpdateChatGroupMemberResponse, UpdateChatGroupResponse, UpdateClientCategoryInput, UpdateClientCategoryResponse, UpdateClientInput, UpdateClientResponse, UpdateConsignmentRequestInput, UpdateConsignmentRequestResponse, UpdateDealStepStatusInput, UpdateDealStepStatusResponse, UpdateForSaleInput, UpdateForSaleResponse, UpdateNotificationSettingsInput, UpdateNotificationSettingsResponse, UpdateOrderRequestInput, UpdateOrderRequestResponse, UpdatePaymentInstallmentInput, UpdatePaymentInstallmentResponse, UpdatePaymentProcessInput, UpdatePaymentProcessResponse, UpdateProfileInput, UpdateProfileResponse, UpdateProjectDocumentInput, UpdateProjectDocumentResponse, UpdateProjectInput, UpdateProjectResponse, UpdatePropertiesFailedItem, UpdatePropertiesInput, UpdatePropertiesResponse, UpdatePropertyInput, type UpdatePropertyMapInput, type UpdatePropertyMapResponse, type UpdatePropertyResponse, type UpdatePropertyVisualizationResponse, UpdateUtilityInput, UpdateUtilityResponse, UpgradeToBrokerFromClientInput, UpgradeToBrokerFromClientResponse, UpgradeToInvestorRepresentativeFromClientInput, UpgradeToInvestorRepresentativeFromClientResponse, UploadAgreementInput, UploadAgreementResponse, UploadConfidentialityAgreementInput, UploadConfidentialityAgreementResponse, UploadDocumentByAdministratorInput, UploadDocumentByAdministratorResponse, UploadMediaInput, UploadMediaResponse, UserDataPort, UserExceptions, UserFilter, UserGender, type UserHistoriesTable, UserHistoryType, UserInsertData, UserLanguage, UserListFilter, UserModel, UserNotificationSettingInsertData, UserNotificationSettingModel, type UserNotificationSettingsTable, UserPermissionsResponse, UserProfileResponse, UserStatus, UserSummaryModel, UserToRoleInsertData, UserToRoleModel, type UserToRoleTable, UserUpdateData, UserWithAuthModel, UserWithAvatarModel, UserWithRoleModel, type UsersTable, UtilitiesFilter, UtilitiesResponse, type UtilitiesTable, UtilityCommandAddProjectInput, UtilityCommandAddPropertyBranchInput, UtilityCommandCreateProjectInput, UtilityCommandCreatePropertyBranchInput, UtilityCommandDeleteInput, UtilityCommandPort, UtilityCommandRemoveProjectInput, UtilityCommandRemovePropertyBranchInput, UtilityCommandUpdateInput, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, type WardsTable, deleteDocumentFromProjectResponse };
|
|
10745
|
+
export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsInput, AddDealStepParticipantsResponse, AddDocumentToProjectInput, AddDocumentToProjectResponse, AdministratorDataPort, type AgreementCommandPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, type AgreementTemplateFiltersInput, AgreementTemplateInsertData, type AgreementTemplateListResult, AgreementTemplateModel, type AgreementTemplatePort, AgreementTemplateResponse, AgreementTemplateType, AgreementTemplateUpdateData, AgreementTemplatesFilter, AgreementTemplatesResponse, type AgreementTemplatesTable, AgreementTypeDataPort, AgreementTypeExceptions, AgreementTypeModel, type AgreementTypesTable, AgreementUpdateData, type AgreementsTable, AppointmentConfidentialityAgreement, type AppointmentConfidentialityAgreementsTable, AppointmentDataPort, AppointmentExceptions, AppointmentInsertData, AppointmentItem, AppointmentListFilter, AppointmentMediaInsertData, AppointmentModel, AppointmentParticipant, AppointmentParticipantInsertData, AppointmentParticipantModel, AppointmentParticipantWithUserModel, type AppointmentParticipantsTable, AppointmentResponse, AppointmentStatus, AppointmentType, AppointmentUpdateData, AppointmentWithParticipantsModel, AppointmentsFilter, AppointmentsResponse, type AppointmentsTable, ApproveAccountResponse, ApproveConsignmentRequestInput, ApproveConsignmentRequestResponse, ApproveDocumentResponse, ApproveListingAdminInput, ApproveListingAdminResponse, ApproveListingInput, ApproveListingResponse, ApproveOrderRequestResponse, ApproveTicketsInput, ApproveTicketsResponse, AssignConsignmentRequestToBrokerInput, AssignConsignmentRequestToBrokerResponse, AssignOrderRequestToBrokerInput, AssignOrderRequestToBrokerResponse, type AssignPropertyToBrokerInput, type AssignPropertyToBrokerResponse, type AssignedBrokerItem, BA_DINH_WARD_NO, BaseErrorResponse, BaseRes, BaseResponse, BlackListEntityType, BlackListStatus, type BlackListsTable, BlacklistExceptions, BlacklistFilter, BlacklistInsertData, BlacklistListFilter, BlacklistModel, BlacklistPort, BlacklistResponse, BlacklistUpdateData, BlacklistsFilter, BlacklistsResponse, BrokerCommandPort, BrokerConvertClientToJsonResponse, BrokerExceptions, BrokerImportClientFailedItem, BrokerImportClientFileInput, BrokerImportClientFromJsonInput, BrokerImportClientResponse, BrokerImportClientSuccessItem, BrokerSummaryModel, CancelAppointmentInput, CancelAppointmentResponse, ChangeAvatarResponse, ChangeNicknameInput, ChangeNicknameResponse, ChangePasswordInput, ChangePasswordResponse, ChatGroupDataPort, ChatGroupFilter, ChatGroupInsertData, ChatGroupMemberFilter, ChatGroupMemberInsertData, ChatGroupMemberItem, ChatGroupMemberModel, ChatGroupMemberRole, ChatGroupMemberUpdateData, ChatGroupMembersFilter, ChatGroupMembersResponse, type ChatGroupMembersTable, ChatGroupModel, ChatGroupResponse, ChatGroupStatsModel, ChatGroupUpdateData, ChatGroupsFilter, ChatGroupsResponse, type ChatGroupsTable, ChatMessageFilter, ChatMessageInsertData, ChatMessageItem, ChatMessageModel, ChatMessagesFilter, ChatMessagesResponse, type ChatMessagesTable, CheckNicknameAvailabilityInput, CheckNicknameAvailabilityResponse, ClientCategoriesFilter, ClientCategoriesReadResult, ClientCategoriesResponse, type ClientCategoriesTable, type ClientCategoryClientsTable, ClientCategoryCommandCreateInput, ClientCategoryCommandCreateResult, ClientCategoryCommandDeleteInput, ClientCategoryCommandUpdateInput, ClientCategoryExceptions, ClientCategoryFilter, ClientCategoryItem, ClientCategoryModel, ClientCategoryResponse, ClientCommandCreateInput, ClientCommandCreateResult, ClientCommandDeleteInput, ClientCommandMutationResult, ClientCommandPort, ClientCommandUpdateInput, ClientExceptions, ClientFilter, ClientModel, ClientNeed, ClientReadPort, ClientResponse, ClientRoles, ClientSource, ClientStatus, ClientType, ClientsFilter, ClientsReadResult, ClientsResponse, type ClientsTable, CompleteAppointmentInput, CompleteAppointmentResponse, ConfidentialityAgreementInsertData, ConfidentialityAgreementModel, ConfirmCreateAccountClientInput, ConfirmCreateAccountClientResponse, ConfirmCreateAccountInput, ConfirmCreateAccountResponse, ConfirmPaymentInstallmentInput, ConfirmPaymentInstallmentResponse, ConfirmPaymentProcessInput, ConfirmPaymentProcessResponse, ConfirmUpdateEmailInput, ConfirmUpdateEmailResponse, ConfirmUpdatePhoneNumberInput, ConfirmUpdatePhoneNumberResponse, ConsignmentRequestDataPort, ConsignmentRequestExceptions, ConsignmentRequestFilter, ConsignmentRequestInsertData, ConsignmentRequestListFilter, ConsignmentRequestModel, ConsignmentRequestResponse, ConsignmentRequestType, ConsignmentRequestUpdateData, ConsignmentRequestsFilter, ConsignmentRequestsResponse, type ConsignmentRequestsTable, ConversationExceptions, ConversationPagination, ConvertBrokerClientToJsonInput, ConvertBrokerClientToJsonResponse, ConvertBrokerClientType, CreateAgreementTemplateInput, CreateAgreementTemplateResponse, CreateAppointmentInput, CreateAppointmentResponse, CreateBlacklistInput, CreateBlacklistResponse, CreateBrokerFromRegisterLinkInput, CreateBrokerFromRegisterLinkResponse, CreateBrokerInput, CreateBrokerResponse, CreateChatGroupInput, CreateChatGroupResponse, CreateChatMessageInput, CreateChatMessageResponse, CreateClientCategoryInput, CreateClientCategoryResponse, CreateClientInput, CreateClientResponse, CreateConsignmentRequestInput, CreateConsignmentRequestResponse, CreateDealInput, CreateDealResponse, CreateListingInput, CreateListingResponse, CreateOrderRequestInput, CreateOrderRequestResponse, CreatePaymentInstallmentInput, CreatePaymentInstallmentResponse, CreatePaymentProcessInput, CreatePaymentProcessResponse, CreatePreDealInput, CreatePreDealResponse, CreateProjectInput, CreateProjectResponse, CreatePropertyInput, CreatePropertyMapInput, type CreatePropertyMapResponse, type CreatePropertyResponse, CreateRepresentativeInvestorInput, CreateRepresentativeInvestorResponse, CreateUtilityInput, CreateUtilityResponse, Database, DealDataPort, DealExceptions, DealFilter, DealFilterType, DealInsertData, DealItem, DealModel, DealParticipantModel, DealParticipantProfile, DealPaymentInstallment, DealProgress, DealStatus, DealStepAttachment, DealStepCreator, DealStepExceptions, DealStepHistoryItem, DealStepInsertData, DealStepModel, DealStepParticipantInsertData, type DealStepParticipantsTable, DealStepStatus, DealStepUpdateData, DealStepWithCreatorModel, DealStepsResponse, type DealStepsTable, DealSummaryResponse, DealUpdateData, DealWithSummaryModel, DealsFilter, DealsForUserFilter, DealsResponse, type DealsTable, DeleteAgreementTemplateResponse, type DeleteAgreementTemplateResult, DeleteAppointmentInput, DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryInput, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteInvestorRepresentativeResponse, DeleteListingInput, DeleteListingResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, type DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, DocumentInsertPayload, DocumentItem, DocumentModel, DocumentToProjectInsertData, type DocumentToProjectTable, DocumentType, DocumentUpdateData, type DocumentsTable, ForgotPasswordInput, ForgotPasswordResponse, GenerateInvestorRegisterLinkInput, GenerateInvestorRegisterLinkResponse, GetManagementBrokerForProjectResponse, type IdentitiesTable, IdentityCardDataPort, IdentityCardEncryptedModel, IdentityCardInsertData, IdentityCardModel, IdentityCardUpdateData, type IdentityCardsTable, IdentityExceptions, IdentityInsertData, IdentityModel, IdentityNationality, IdentityType, IdentityUpdateData, IdentityVerificationProcessInsertData, IdentityVerificationProcessModel, type IdentityVerificationProcessesTable, IdentityVerificationStatus, ImportBrokerClientFileInput, ImportBrokerClientFileResponse, ImportBrokerClientFromJsonInput, ImportBrokerClientFromJsonResponse, IndustrialParkExceptions, InvestorExceptions, InvestorRepresentativeItem, InvestorRepresentativeResponse, InvestorRepresentativesResponse, InviteInvestorRepresentativeResponse, InviteMemberChatGroupInput, InviteMemberChatGroupResponse, JobStatus, JobType, type JobsTable, LandCurrentStatus, LandType, LinkChatGroupToDealInput, LinkChatGroupToDealResponse, LinkChatGroupToDealStepInput, LinkChatGroupToDealStepResponse, ListingApproveData, ListingApproveStatus, ListingBuildingStandard, ListingDataFilter, ListingDataPort, ListingExceptions, ListingFilter, ListingInfrastructureStatus, ListingInsertData, ListingItem, ListingListItem, ListingModel, ListingPostType, ListingPropertyType, ListingResponse, ListingRoadType, ListingStatus, ListingType, ListingUpdateData, ListingUtilities, ListingUtilityItem, ListingsFilter, ListingsResponse, type ListingsTable, LocationFilter, LocationReadPort, ManagementBrokerItem, ManagementBrokersResponse, MediaAttachmentModel, MediaDetailModel, MediaExceptions, MediaInsertData, MediaItem, MediaListFilter, MediaPort, MediaReadData, MediaResponse, MediaSortField, MediaType, MediasFilter, MediasResponse, type MediasTable, MessageType, NotesItem, NotificationChannelModel, NotificationChannelTranslationModel, type NotificationChannelTranslationsTable, type NotificationChannelsTable, NotificationCommandPort, NotificationDataPort, NotificationDetailStatus, NotificationEnv, type NotificationEventsTable, NotificationMessageInsertData, NotificationMessageModel, type NotificationMessagesTable, NotificationScheduleInsertData, NotificationScheduleListFilter, NotificationScheduleModel, NotificationScheduleResponse, NotificationScheduleStatus, NotificationScheduleUpdateData, type NotificationSchedulesTable, NotificationSettingFilter, NotificationType, NotificationsResponse, OrderRequestDataPort, OrderRequestExceptions, OrderRequestInsertData, OrderRequestListFilter, OrderRequestModel, OrderRequestResponse, OrderRequestType, OrderRequestUpdateData, OrderRequestsFilter, OrderRequestsResponse, type OrderRequestsTable, OrganizationInsertData, OrganizationListFilter, OrganizationModel, OrganizationPort, OrganizationUpdateData, type OrganizationsTable, Orientation, OtpDataPort, OtpInsertData, OtpModel, OtpType, OtpUpdateData, type OtpsTable, type OutboxConsumerCursorsTable, type OutboxEventsTable, OwnerAuthorizeForSystemInput, OwnerAuthorizeForSystemResponse, type OwnerItem, Paginated, ParticipantRole, ParticipantStatus, PaymentConfirmationInsertData, type PaymentConfirmationsTable, PaymentDataPort, PaymentInstallmentFilter, PaymentInstallmentInsertData, PaymentInstallmentModel, PaymentInstallmentQueryFilter, PaymentInstallmentResponse, PaymentInstallmentStatus, PaymentInstallmentSummaryModel, PaymentInstallmentUpdateData, PaymentInstallmentsFilter, PaymentInstallmentsResponse, type PaymentInstallmentsTable, PaymentPagination, PaymentProcessExceptions, PaymentProcessFilter, PaymentProcessInsertData, PaymentProcessModel, PaymentProcessQueryFilter, PaymentProcessResponse, PaymentProcessStatus, PaymentProcessUpdateData, PaymentProcessesFilter, PaymentProcessesResponse, type PaymentProcessesTable, type PermissionsTable, PolygonCoordinate, PreDealExceptions, PreDealInsertData, PreDealItem, PreDealModel, PreDealResponse, PreDealsFilter, PreDealsPagination, PreDealsResponse, type PreDealsTable, PreviewAgreementResponse, ProgressToNextStepInput, ProgressToNextStepResponse, ProjectApprovalStatus, ProjectBoApprover, ProjectClassification, ProjectCurrentStatus, ProjectDataPort, ProjectDetailModel, ProjectDocumentModel, ProjectExceptions, ProjectFilter, ProjectInsertData, ProjectItem, ProjectMedia, ProjectMediaInsertData, ProjectMediaReadModel, ProjectMediaUpdateData, type ProjectMediasTable, ProjectModel, ProjectOwner, ProjectPagination, ProjectProvince, ProjectResponse, ProjectSearchFilter, ProjectSearchModel, ProjectServiceFee, ProjectStage, ProjectStandard, type ProjectSummaryItem, ProjectSummaryModel, type ProjectToBrokersTable, ProjectType, ProjectUpdateData, type ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, type ProjectsTable, PropertiesFilter, PropertiesResponse, type PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchUserPermissionsTable, PropertyBranchUtilityInsertData, type PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, type PropertyDetailsTable, type PropertyDocumentsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, type PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, type PropertyMapsTable, type PropertyMediaAlbumsTable, PropertyModel, PropertyOperationStatus, PropertyResponse, type PropertyServicesTable, PropertyTransactionStatus, PropertyType, type PropertyUtilitiesTable, PropertyVersionModel, type PropertyVersionsTable, PropertyVisualizationInsertData, type PropertyVisualizationItem, PropertyVisualizationModel, PropertyVisualizationUpdateData, type PropertyVisualizationsFilter, PropertyVisualizationsResponse, type PropertyVisualizationsTable, ProvinceExceptions, ProvinceListFilter, ProvinceModel, type ProvincesTable, ReadNotificationInput, ReadNotificationResponse, RefreshTokenInput, RefreshTokenResponse, RegisterAccountRequestInsertData, RegisterAccountRequestModel, RegisterAccountRequestUpdateData, type RegisterAccountRequestsTable, RegisterAccountVerificationInsertData, RegisterAccountVerificationModel, RegisterAccountVerificationUpdateData, type RegisterAccountVerificationsTable, RegisterDataPort, RegisterExceptions, RegisterInvestorRepresentativeResponse, RegisterRequestFilter, RejectTicketsInput, RejectTicketsResponse, RemoveDealStepParticipantsInput, RemoveDealStepParticipantsResponse, RemoveMemberChatGroupInput, RemoveMemberChatGroupResponse, RequestCreateAccountClientInput, RequestCreateAccountClientResponse, RequestCreateAccountInput, RequestCreateAccountResponse, RequestUpdateEmailInput, RequestUpdateEmailResponse, RequestUpdatePhoneNumberInput, RequestUpdatePhoneNumberResponse, RestoreAgreementTemplateResponse, RestoredAgreementTemplate, RoleCodes, RoleExceptions, RoleModel, type RolePermissionsTable, type RolesTable, ScheduleNotificationInput, ScheduleNotificationResponse, ScheduleType, SchedulerStatus, SearchDealModel, ServiceFee, type SessionsTable, SetNewPasswordWhenForgotInput, SetNewPasswordWhenForgotResponse, SetPinnedMessageInput, SetPinnedMessageResponse, SettingExceptions, SignAgreementResponse, SignInInput, SignInResponse, SignOutInput, SignOutResponse, SortDirection, TicketExceptions, TicketInsertData, TicketItem, TicketListFilter, TicketModel, TicketPort, TicketStatus, TicketType, TicketUpdateData, TicketsFilter, TicketsResponse, type TicketsTable, UnreadCountByChannel, UpdateAgreementTemplateInput, UpdateAgreementTemplateResponse, UpdateAppointmentInput, UpdateAppointmentResponse, UpdateBlacklistInput, UpdateBlacklistResponse, UpdateBrokerPropertyPermissionData, UpdateChatGroupInput, UpdateChatGroupMemberInput, UpdateChatGroupMemberResponse, UpdateChatGroupResponse, UpdateClientCategoryInput, UpdateClientCategoryResponse, UpdateClientInput, UpdateClientResponse, UpdateConsignmentRequestInput, UpdateConsignmentRequestResponse, UpdateDealStepStatusInput, UpdateDealStepStatusResponse, UpdateListingInput, UpdateListingResponse, UpdateNotificationSettingsInput, UpdateNotificationSettingsResponse, UpdateOrderRequestInput, UpdateOrderRequestResponse, UpdatePaymentInstallmentInput, UpdatePaymentInstallmentResponse, UpdatePaymentProcessInput, UpdatePaymentProcessResponse, UpdateProfileInput, UpdateProfileResponse, UpdateProjectDocumentInput, UpdateProjectDocumentResponse, UpdateProjectInput, UpdateProjectResponse, UpdatePropertiesFailedItem, UpdatePropertiesInput, UpdatePropertiesResponse, UpdatePropertyInput, type UpdatePropertyMapInput, type UpdatePropertyMapResponse, type UpdatePropertyResponse, type UpdatePropertyVisualizationResponse, UpdateUtilityInput, UpdateUtilityResponse, UpgradeToBrokerFromClientInput, UpgradeToBrokerFromClientResponse, UpgradeToInvestorRepresentativeFromClientInput, UpgradeToInvestorRepresentativeFromClientResponse, UploadAgreementInput, UploadAgreementResponse, UploadConfidentialityAgreementInput, UploadConfidentialityAgreementResponse, UploadDocumentByAdministratorInput, UploadDocumentByAdministratorResponse, UploadMediaInput, UploadMediaResponse, UserDataPort, UserExceptions, UserFilter, UserGender, type UserHistoriesTable, UserHistoryType, UserInsertData, UserLanguage, UserListFilter, UserModel, UserNotificationSettingInsertData, UserNotificationSettingModel, type UserNotificationSettingsTable, UserPermissionsResponse, UserProfileResponse, UserStatus, UserSummaryModel, UserToRoleInsertData, UserToRoleModel, type UserToRoleTable, UserUpdateData, UserWithAuthModel, UserWithAvatarModel, UserWithRoleModel, type UsersTable, UtilitiesFilter, UtilitiesResponse, type UtilitiesTable, UtilityCommandAddProjectInput, UtilityCommandAddPropertyBranchInput, UtilityCommandCreateProjectInput, UtilityCommandCreatePropertyBranchInput, UtilityCommandDeleteInput, UtilityCommandPort, UtilityCommandRemoveProjectInput, UtilityCommandRemovePropertyBranchInput, UtilityCommandUpdateInput, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, type WardsTable, deleteDocumentFromProjectResponse };
|
|
10467
10746
|
//# sourceMappingURL=index.d.mts.map
|