@investtal/models 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -4,7 +4,7 @@ import { Insertable, Selectable, Transaction } from "kysely";
4
4
  declare const BA_DINH_WARD_NO = "00004";
5
5
  //#endregion
6
6
  //#region src/common/types.d.ts
7
- type BaseRe<T = any> = {
7
+ type BaseResponse<T = any> = {
8
8
  data: T | undefined;
9
9
  code: number;
10
10
  message: string;
@@ -1357,6 +1357,20 @@ interface ForSaleApproveData {
1357
1357
  approveStatus?: string;
1358
1358
  updatedById?: string;
1359
1359
  }
1360
+ interface MediaInsertData {
1361
+ id: string;
1362
+ name: string;
1363
+ originalName: string;
1364
+ etag: string;
1365
+ bucket: string;
1366
+ versionId?: string;
1367
+ contentType?: string;
1368
+ fileSize?: number;
1369
+ isPrivate?: boolean;
1370
+ metadata?: Record<string, unknown>;
1371
+ type: string;
1372
+ createdById: string;
1373
+ }
1360
1374
  interface AdministratorDataPort {
1361
1375
  insertMedia(data: MediaInsertData, trx?: Transaction<Database>): Promise<void>;
1362
1376
  insertDocument(data: DocumentInsertData, trx?: Transaction<Database>): Promise<void>;
@@ -1433,12 +1447,24 @@ type ApproveTicketsInput = {
1433
1447
  ticketIds: string[];
1434
1448
  };
1435
1449
  //#endregion
1450
+ //#region src/generated/ticket/ticket.enum.d.ts
1451
+ declare enum TicketType {
1452
+ APPROVE_USER_TO_BROKER = "APPROVE_USER_TO_BROKER",
1453
+ APPROVE_USER_TO_INVESTOR_REPRESENTATIVE = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"
1454
+ }
1455
+ declare enum TicketStatus {
1456
+ PENDING = "PENDING",
1457
+ PROCESSING = "PROCESSING",
1458
+ APPROVED = "APPROVED",
1459
+ REJECTED = "REJECTED"
1460
+ }
1461
+ //#endregion
1436
1462
  //#region src/generated/administrator/ports/search-tickets.request.d.ts
1437
1463
  type TicketsFilter = {
1438
1464
  page: number;
1439
1465
  limit: number;
1440
- type?: any;
1441
- status?: any;
1466
+ type?: TicketType | undefined;
1467
+ status?: TicketStatus | undefined;
1442
1468
  };
1443
1469
  //#endregion
1444
1470
  //#region src/generated/administrator/ports/reject-tickets.request.d.ts
@@ -1549,7 +1575,7 @@ interface BlacklistResponse extends BaseRes {
1549
1575
  //#endregion
1550
1576
  //#region src/generated/blacklist/ports/search-blacklists.response.d.ts
1551
1577
  interface BlacklistsResponse extends BaseRes {
1552
- data: GetBlacklistRes[];
1578
+ data: BlacklistResponse[];
1553
1579
  total: number;
1554
1580
  page: number;
1555
1581
  limit: number;
@@ -1569,11 +1595,11 @@ type DeleteBlacklistInput = {
1569
1595
  //#region src/generated/blacklist/ports/update-blacklist.request.d.ts
1570
1596
  type UpdateBlacklistInput = {
1571
1597
  id: string;
1572
- entityType: any;
1598
+ entityType: BlackListEntityType;
1573
1599
  entityId: string;
1574
1600
  reason: string;
1575
1601
  description: string;
1576
- status: any;
1602
+ status: BlackListStatus;
1577
1603
  expiredAt: string;
1578
1604
  };
1579
1605
  //#endregion
@@ -1581,18 +1607,18 @@ type UpdateBlacklistInput = {
1581
1607
  type BlacklistsFilter = {
1582
1608
  page: number;
1583
1609
  limit: number;
1584
- entityType: any;
1610
+ entityType: BlackListEntityType;
1585
1611
  entityId: string;
1586
- status: any;
1612
+ status: BlackListStatus;
1587
1613
  };
1588
1614
  //#endregion
1589
1615
  //#region src/generated/blacklist/ports/create-blacklist.request.d.ts
1590
1616
  type CreateBlacklistInput = {
1591
- entityType: any;
1617
+ entityType: BlackListEntityType;
1592
1618
  entityId: string;
1593
1619
  reason: string;
1594
1620
  description: string;
1595
- status: any;
1621
+ status: BlackListStatus;
1596
1622
  expiredAt: string;
1597
1623
  };
1598
1624
  //#endregion
@@ -1844,7 +1870,7 @@ interface UpdateChatGroupMemberResponse extends BaseRes {
1844
1870
  //#endregion
1845
1871
  //#region src/generated/conversation/ports/get-chat-groups.response.d.ts
1846
1872
  interface ChatGroupsResponse extends BaseRes {
1847
- chatGroups: GetChatGroupRes[];
1873
+ chatGroups: ChatGroupResponse[];
1848
1874
  total: number;
1849
1875
  page: number;
1850
1876
  limit: number;
@@ -1874,7 +1900,7 @@ type CreateChatGroupInput = {
1874
1900
  type InviteMemberChatGroupInput = {
1875
1901
  chatGroupId: string;
1876
1902
  memberUserIds: string[];
1877
- chatGroupRole: any;
1903
+ chatGroupRole: ChatGroupMemberRole;
1878
1904
  };
1879
1905
  //#endregion
1880
1906
  //#region src/generated/conversation/ports/delete-chat-group.request.d.ts
@@ -1903,7 +1929,7 @@ type UpdateChatGroupInput = {
1903
1929
  type UpdateChatGroupMemberInput = {
1904
1930
  chatGroupId: string;
1905
1931
  userId: string;
1906
- chatGroupRole: any;
1932
+ chatGroupRole: ChatGroupMemberRole;
1907
1933
  };
1908
1934
  //#endregion
1909
1935
  //#region src/generated/conversation/ports/get-chat-group-members.request.d.ts
@@ -1912,7 +1938,7 @@ type ChatGroupMembersFilter = {
1912
1938
  limit: number;
1913
1939
  chatGroupId: string;
1914
1940
  userId?: string | undefined;
1915
- chatGroupRole?: any;
1941
+ chatGroupRole?: ChatGroupMemberRole | undefined;
1916
1942
  };
1917
1943
  //#endregion
1918
1944
  //#region src/generated/conversation/ports/create-chat-message.request.d.ts
@@ -2632,14 +2658,15 @@ interface PropertyMapWithMediaModel {
2632
2658
  mediaMetadata?: Record<string, unknown>;
2633
2659
  mediaVersionId?: string;
2634
2660
  }
2661
+ interface LocationFilter {
2662
+ provinceId: string;
2663
+ wardIds?: string[];
2664
+ }
2635
2665
  interface ProjectSearchFilter {
2636
2666
  name?: string;
2637
2667
  projectTypes?: string[];
2638
2668
  projectClassifications?: string[];
2639
- locations?: Array<{
2640
- provinceId: string;
2641
- wardIds?: string[];
2642
- }>;
2669
+ locations?: LocationFilter[];
2643
2670
  projectCurrentStatuses?: string[];
2644
2671
  isCrawled?: boolean;
2645
2672
  ownerId?: string;
@@ -2866,14 +2893,140 @@ interface UpdateProjectResponse extends BaseRes {
2866
2893
  message: string;
2867
2894
  }
2868
2895
  //#endregion
2896
+ //#region src/generated/industrial-property/industrial-property.enum.d.ts
2897
+ declare enum PropertyType {
2898
+ INDUSTRIAL_ZONE = "INDUSTRIAL_ZONE",
2899
+ BUILDING = "BUILDING",
2900
+ FLOOR = "FLOOR",
2901
+ ROOM = "ROOM",
2902
+ LAND_LOT = "LAND_LOT",
2903
+ FACTORY = "FACTORY",
2904
+ WAREHOUSE = "WAREHOUSE",
2905
+ OFFICE = "OFFICE",
2906
+ HOUSING = "HOUSING",
2907
+ APARTMENT = "APARTMENT"
2908
+ }
2909
+ declare enum PropertyLegalStatus {
2910
+ MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT = "MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT",
2911
+ MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT = "MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT",
2912
+ FIFTY_YEARS_ANNUAL_PAYMENT = "FIFTY_YEARS_ANNUAL_PAYMENT",
2913
+ FIFTY_YEARS_ONE_TIME_PAYMENT = "FIFTY_YEARS_ONE_TIME_PAYMENT",
2914
+ FORTY_YEARS_ANNUAL_PAYMENT = "FORTY_YEARS_ANNUAL_PAYMENT",
2915
+ FORTY_YEARS_ONE_TIME_PAYMENT = "FORTY_YEARS_ONE_TIME_PAYMENT",
2916
+ THIRTY_YEARS_ONE_TIME_PAYMENT = "THIRTY_YEARS_ONE_TIME_PAYMENT",
2917
+ THIRTY_YEARS_ANNUAL_PAYMENT = "THIRTY_YEARS_ANNUAL_PAYMENT",
2918
+ TWENTY_YEARS_ANNUAL_PAYMENT = "TWENTY_YEARS_ANNUAL_PAYMENT",
2919
+ TWENTY_YEARS_ONE_TIME_PAYMENT = "TWENTY_YEARS_ONE_TIME_PAYMENT",
2920
+ TEN_YEARS_ANNUAL_PAYMENT = "TEN_YEARS_ANNUAL_PAYMENT",
2921
+ TEN_YEARS_ONE_TIME_PAYMENT = "TEN_YEARS_ONE_TIME_PAYMENT",
2922
+ LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT = "LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT",
2923
+ LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT = "LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT"
2924
+ }
2925
+ declare enum PropertyApprovalStatus {
2926
+ PENDING = "PENDING",
2927
+ APPROVED = "APPROVED",
2928
+ REJECTED = "REJECTED",
2929
+ ARCHIVED = "ARCHIVED"
2930
+ }
2931
+ declare enum PropertyLandCurrentStatus {
2932
+ PLANNED = "PLANNED",
2933
+ DESIGNING = "DESIGNING",
2934
+ UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION",
2935
+ TOPPING_OUT = "TOPPING_OUT",
2936
+ NEAR_COMPLETION = "NEAR_COMPLETION",
2937
+ COMPLETED = "COMPLETED",
2938
+ READY_FOR_HANDOVER = "READY_FOR_HANDOVER",
2939
+ HANDED_OVER = "HANDED_OVER",
2940
+ ON_HOLD = "ON_HOLD",
2941
+ CANCELLED = "CANCELLED"
2942
+ }
2943
+ declare enum PropertyTransactionStatus {
2944
+ AVAILABLE = "AVAILABLE",
2945
+ DEPOSITED = "DEPOSITED",
2946
+ LEASED = "LEASED",
2947
+ SOLD = "SOLD",
2948
+ UNDEFINED = "UNDEFINED"
2949
+ }
2950
+ declare enum PropertyOperationStatus {
2951
+ UNDETERMINED = "UNDETERMINED",
2952
+ COMING_SOON = "COMING_SOON",
2953
+ FOR_SALE_RENT = "FOR_SALE_RENT",
2954
+ ACTIVE = "ACTIVE",
2955
+ DEACTIVATED = "DEACTIVATED"
2956
+ }
2957
+ declare enum PropertyAuthorizationType {
2958
+ FOR_RENT_A_PART = "FOR_RENT_A_PART",
2959
+ FOR_SALE_A_PART = "FOR_SALE_A_PART",
2960
+ FOR_RENT_ALL = "FOR_RENT_ALL",
2961
+ FOR_SALE_ALL = "FOR_SALE_ALL"
2962
+ }
2963
+ declare enum PropertyIdentifierType {
2964
+ LAND_CERTIFICATE = "LAND_CERTIFICATE",
2965
+ PARCEL_NUMBER = "PARCEL_NUMBER",
2966
+ MAP_SHEET = "MAP_SHEET",
2967
+ GOVERNMENT_CODE = "GOVERNMENT_CODE",
2968
+ INTERNAL_CODE = "INTERNAL_CODE"
2969
+ }
2970
+ declare enum DocumentCategory {
2971
+ PROJECT_LEGAL = "PROJECT_LEGAL",
2972
+ LAND_LEGAL = "LAND_LEGAL",
2973
+ CONSTRUCTION_LEGAL = "CONSTRUCTION_LEGAL",
2974
+ OTHER = "OTHER"
2975
+ }
2976
+ declare enum DocumentType {
2977
+ PROJECT_APPROVAL_DECISION = "PROJECT_APPROVAL_DECISION",
2978
+ INVESTMENT_CERTIFICATE = "INVESTMENT_CERTIFICATE",
2979
+ PLANNING_DECISION_1_500 = "PLANNING_DECISION_1_500",
2980
+ PLANNING_DECISION_1_2000 = "PLANNING_DECISION_1_2000",
2981
+ LAND_USE_RIGHT_CERTIFICATE_RED_BOOK = "LAND_USE_RIGHT_CERTIFICATE_RED_BOOK",
2982
+ LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND = "LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND",
2983
+ LAND_USE_RIGHT_CERTIFICATE_OTHER = "LAND_USE_RIGHT_CERTIFICATE_OTHER",
2984
+ BUILDING_PERMIT = "BUILDING_PERMIT",
2985
+ ENVIRONMENTAL_PERMIT = "ENVIRONMENTAL_PERMIT",
2986
+ FIRE_SAFETY_CERTIFICATE = "FIRE_SAFETY_CERTIFICATE",
2987
+ OTHER = "OTHER"
2988
+ }
2989
+ declare enum LandCurrentStatus {
2990
+ PLANNED = "PLANNED",
2991
+ DESIGNING = "DESIGNING",
2992
+ UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION",
2993
+ TOPPING_OUT = "TOPPING_OUT",
2994
+ NEAR_COMPLETION = "NEAR_COMPLETION",
2995
+ COMPLETED = "COMPLETED",
2996
+ READY_FOR_HANDOVER = "READY_FOR_HANDOVER",
2997
+ HANDED_OVER = "HANDED_OVER",
2998
+ ON_HOLD = "ON_HOLD",
2999
+ CANCELLED = "CANCELLED"
3000
+ }
3001
+ declare enum LandType {
3002
+ LONG_TERM_OWNERSHIP = "LONG_TERM_OWNERSHIP",
3003
+ ANNUAL_RENT = "ANNUAL_RENT",
3004
+ ONE_TIME_RENTAL_PAYMENT = "ONE_TIME_RENTAL_PAYMENT"
3005
+ }
3006
+ declare enum Orientation {
3007
+ North = "NORTH",
3008
+ South = "SOUTH",
3009
+ East = "EAST",
3010
+ West = "WEST",
3011
+ Northeast = "NORTHEAST",
3012
+ Northwest = "NORTHWEST",
3013
+ Southeast = "SOUTHEAST",
3014
+ Southwest = "SOUTHWEST",
3015
+ Unknown = "UNKNOWN"
3016
+ }
3017
+ declare enum VersionAction {
3018
+ CREATE = "CREATE",
3019
+ UPDATE = "UPDATE"
3020
+ }
3021
+ //#endregion
2869
3022
  //#region src/generated/project/ports/owner-authorize-for-system.request.d.ts
2870
3023
  type OwnerAuthorizeForSystemInput = {
2871
3024
  price: string;
2872
3025
  priceUnit: string;
2873
- authorizationType: any;
3026
+ authorizationType: PropertyAuthorizationType;
2874
3027
  authorizationStarttime: Date;
2875
3028
  authorizationEndtime: Date;
2876
- notificationTypes: any[];
3029
+ notificationTypes: NotificationType[];
2877
3030
  id: string;
2878
3031
  childrenIds?: string[] | undefined;
2879
3032
  deposite?: string | undefined;
@@ -2890,21 +3043,21 @@ type ProjectFilter = {
2890
3043
  //#region src/generated/project/ports/create-project.request.d.ts
2891
3044
  type CreateProjectInput = {
2892
3045
  name: string;
2893
- projectType: any;
2894
- projectClassification: any;
3046
+ projectType: ProjectType;
3047
+ projectClassification: ProjectClassification;
2895
3048
  provinceId: string;
2896
3049
  wardId: string;
2897
3050
  isOwner: boolean;
2898
3051
  propertyMapMediaId: string;
2899
- projectCurrentStatus: any;
3052
+ projectCurrentStatus: ProjectCurrentStatus;
2900
3053
  address?: string | undefined;
2901
3054
  addressDetail?: string | undefined;
2902
3055
  slogan?: string | undefined;
2903
- standard?: any;
2904
- landType?: any;
3056
+ standard?: ProjectStandard | undefined;
3057
+ landType?: LandType | undefined;
2905
3058
  startYear?: number | undefined;
2906
3059
  endYear?: number | undefined;
2907
- stage?: any;
3060
+ stage?: ProjectStage | undefined;
2908
3061
  latitude?: number | undefined;
2909
3062
  longitude?: number | undefined;
2910
3063
  area?: number | undefined;
@@ -2913,8 +3066,8 @@ type CreateProjectInput = {
2913
3066
  frontage?: number | undefined;
2914
3067
  landLength?: number | undefined;
2915
3068
  roadAccessWidth?: number | undefined;
2916
- orientation?: any;
2917
- landCurrentStatus?: any;
3069
+ orientation?: Orientation | undefined;
3070
+ landCurrentStatus?: LandCurrentStatus | undefined;
2918
3071
  roadDescription?: string | undefined;
2919
3072
  roadWidth?: number | undefined;
2920
3073
  internalRoadWidth?: number | undefined;
@@ -2967,18 +3120,18 @@ type CreateProjectInput = {
2967
3120
  type UpdateProjectInput = {
2968
3121
  id: string;
2969
3122
  name?: string | undefined;
2970
- projectType?: any;
2971
- projectClassification?: any;
3123
+ projectType?: ProjectType | undefined;
3124
+ projectClassification?: ProjectClassification | undefined;
2972
3125
  provinceId?: string | undefined;
2973
3126
  wardId?: string | undefined;
2974
3127
  address?: string | undefined;
2975
3128
  addressDetail?: string | undefined;
2976
3129
  slogan?: string | undefined;
2977
- standard?: any;
2978
- landType?: any;
3130
+ standard?: ProjectStandard | undefined;
3131
+ landType?: LandType | undefined;
2979
3132
  startYear?: number | undefined;
2980
3133
  endYear?: number | undefined;
2981
- stage?: any;
3134
+ stage?: ProjectStage | undefined;
2982
3135
  latitude?: number | undefined;
2983
3136
  longitude?: number | undefined;
2984
3137
  area?: number | undefined;
@@ -2987,8 +3140,8 @@ type UpdateProjectInput = {
2987
3140
  frontage?: number | undefined;
2988
3141
  landLength?: number | undefined;
2989
3142
  roadAccessWidth?: number | undefined;
2990
- orientation?: any;
2991
- landCurrentStatus?: any;
3143
+ orientation?: Orientation | undefined;
3144
+ landCurrentStatus?: LandCurrentStatus | undefined;
2992
3145
  roadDescription?: string | undefined;
2993
3146
  roadWidth?: number | undefined;
2994
3147
  internalRoadWidth?: number | undefined;
@@ -3031,7 +3184,7 @@ type UpdateProjectInput = {
3031
3184
  greenParkArea?: number | undefined;
3032
3185
  infrastructureOtherDescription?: string | undefined;
3033
3186
  description?: string | undefined;
3034
- status?: any;
3187
+ status?: ProjectApprovalStatus | undefined;
3035
3188
  metadata?: any;
3036
3189
  mediaIds?: string[] | undefined;
3037
3190
  serviceFees?: {
@@ -3046,14 +3199,14 @@ type ProjectsFilter = {
3046
3199
  page: number;
3047
3200
  limit: number;
3048
3201
  name?: string | undefined;
3049
- projectTypes?: any[] | undefined;
3050
- projectClassifications?: any[] | undefined;
3202
+ projectTypes?: ProjectType[] | undefined;
3203
+ projectClassifications?: ProjectClassification[] | undefined;
3051
3204
  locations?: {
3052
3205
  provinceId: string;
3053
3206
  wardIds?: string[] | undefined;
3054
3207
  }[] | undefined;
3055
3208
  isCrawled?: boolean | undefined;
3056
- projectCurrentStatuses?: any[] | undefined;
3209
+ projectCurrentStatuses?: ProjectCurrentStatus[] | undefined;
3057
3210
  };
3058
3211
  //#endregion
3059
3212
  //#region src/generated/for-sale/exceptions.d.ts
@@ -3340,23 +3493,23 @@ type UpdateForSaleInput = {
3340
3493
  landArea?: number | undefined;
3341
3494
  constructionArea?: number | undefined;
3342
3495
  roadWidth?: number | undefined;
3343
- roadType?: any;
3496
+ roadType?: ForSaleRoadType | undefined;
3344
3497
  floorCount?: number | undefined;
3345
- buildingStandard?: any;
3498
+ buildingStandard?: ForSaleBuildingStandard | undefined;
3346
3499
  depreciationPercent?: number | undefined;
3347
- infrastructureStatus?: any;
3348
- utilities?: any[] | undefined;
3500
+ infrastructureStatus?: ForSaleInfrastructureStatus | undefined;
3501
+ utilities?: ForSaleUtilities[] | undefined;
3349
3502
  totalPrice?: number | undefined;
3350
3503
  pricePerSqm?: number | undefined;
3351
3504
  negotiable?: boolean | undefined;
3352
3505
  propertyId?: string | undefined;
3353
3506
  projectId?: string | undefined;
3354
- propertyType?: any;
3355
- postType?: any;
3507
+ propertyType?: ForSalePropertyType | undefined;
3508
+ postType?: ForSalePostType | undefined;
3356
3509
  seoTitle?: string | undefined;
3357
3510
  seoDescription?: string | undefined;
3358
3511
  seoThumbnail?: string | undefined;
3359
- status?: any;
3512
+ status?: ForSaleStatus | undefined;
3360
3513
  };
3361
3514
  //#endregion
3362
3515
  //#region src/generated/for-sale/ports/approve-for-sale.request.d.ts
@@ -3370,8 +3523,8 @@ type ForSalesFilter = {
3370
3523
  limit: number;
3371
3524
  title?: string | undefined;
3372
3525
  address?: string | undefined;
3373
- propertyType?: any;
3374
- postType?: any;
3526
+ propertyType?: ForSalePropertyType | undefined;
3527
+ postType?: ForSalePostType | undefined;
3375
3528
  createdBy?: string | undefined;
3376
3529
  };
3377
3530
  //#endregion
@@ -3390,17 +3543,17 @@ type CreateForSaleInput = {
3390
3543
  landArea: number;
3391
3544
  constructionArea: number;
3392
3545
  roadWidth: number;
3393
- roadType: any;
3546
+ roadType: ForSaleRoadType;
3394
3547
  floorCount: number;
3395
- buildingStandard: any;
3548
+ buildingStandard: ForSaleBuildingStandard;
3396
3549
  depreciationPercent: number;
3397
- infrastructureStatus: any;
3398
- utilities: any[];
3550
+ infrastructureStatus: ForSaleInfrastructureStatus;
3551
+ utilities: ForSaleUtilities[];
3399
3552
  totalPrice: number;
3400
3553
  pricePerSqm: number;
3401
3554
  negotiable: boolean;
3402
- propertyType: any;
3403
- postType: any;
3555
+ propertyType: ForSalePropertyType;
3556
+ postType: ForSalePostType;
3404
3557
  note: any;
3405
3558
  attachmentIds: string[];
3406
3559
  imageIds: string[];
@@ -3579,7 +3732,7 @@ interface SetNewPasswordWhenForgotResponse extends BaseRes {
3579
3732
  }
3580
3733
  //#endregion
3581
3734
  //#region src/generated/auth/ports/query-permissions.response.d.ts
3582
- interface QueryPermissionsResponse extends BaseRes {
3735
+ interface UserPermissionsResponse extends BaseRes {
3583
3736
  permissions: string[];
3584
3737
  }
3585
3738
  //#endregion
@@ -3823,6 +3976,11 @@ interface ChangePasswordResponse extends BaseRes {
3823
3976
  message: string;
3824
3977
  }
3825
3978
  //#endregion
3979
+ //#region src/generated/auth/ports/refresh-token.request.d.ts
3980
+ type RefreshTokenInput = {
3981
+ refreshToken: string;
3982
+ };
3983
+ //#endregion
3826
3984
  //#region src/generated/auth/ports/set-new-password-when-forgot.request.d.ts
3827
3985
  type SetNewPasswordWhenForgotInput = {
3828
3986
  newPassword: string;
@@ -3836,12 +3994,23 @@ type VerifyOtpForgotPasswordInput = {
3836
3994
  genId: string;
3837
3995
  };
3838
3996
  //#endregion
3997
+ //#region src/generated/auth/ports/sign-out.request.d.ts
3998
+ type SignOutInput = {
3999
+ refreshToken?: string | undefined;
4000
+ };
4001
+ //#endregion
3839
4002
  //#region src/generated/auth/ports/forgot-password.request.d.ts
3840
4003
  type ForgotPasswordInput = {
3841
4004
  phoneNumber?: string | undefined;
3842
4005
  email?: string | undefined;
3843
4006
  };
3844
4007
  //#endregion
4008
+ //#region src/generated/auth/ports/sign-in.request.d.ts
4009
+ type SignInInput = {
4010
+ username: string;
4011
+ password: string;
4012
+ };
4013
+ //#endregion
3845
4014
  //#region src/generated/auth/ports/change-password.request.d.ts
3846
4015
  type ChangePasswordInput = {
3847
4016
  username: string;
@@ -4123,13 +4292,25 @@ interface ConfirmCreateAccountResponse extends BaseRes {
4123
4292
  message: string;
4124
4293
  }
4125
4294
  //#endregion
4295
+ //#region src/generated/identity/identity.enum.d.ts
4296
+ declare enum IdentityType {
4297
+ ID_CARD = "ID_CARD"
4298
+ }
4299
+ declare enum IdentityVerificationStatus {
4300
+ WAITING_APPROVAL = "WAITING_APPROVAL",
4301
+ APPROVED = "APPROVED"
4302
+ }
4303
+ declare enum IdentityNationality {
4304
+ VN = "VN"
4305
+ }
4306
+ //#endregion
4126
4307
  //#region src/generated/register/ports/create-broker.request.d.ts
4127
4308
  type CreateBrokerInput = {
4128
4309
  username: string;
4129
4310
  password: string;
4130
4311
  email: string;
4131
4312
  phoneNumber: string;
4132
- gender: any;
4313
+ gender: UserGender;
4133
4314
  birthday: string;
4134
4315
  fullname: string;
4135
4316
  address: string;
@@ -4141,7 +4322,7 @@ type CreateBrokerInput = {
4141
4322
  idCardFrontImageId: string;
4142
4323
  idCardBackImageId: string;
4143
4324
  idCard: string;
4144
- nationality: any;
4325
+ nationality: IdentityNationality.VN;
4145
4326
  };
4146
4327
  //#endregion
4147
4328
  //#region src/generated/register/ports/request-create-account-client.request.d.ts
@@ -4157,7 +4338,7 @@ type CreateBrokerFromRegisterLinkInput = {
4157
4338
  password: string;
4158
4339
  email: string;
4159
4340
  phoneNumber: string;
4160
- gender: any;
4341
+ gender: UserGender;
4161
4342
  birthday: Date;
4162
4343
  fullname: string;
4163
4344
  address: string;
@@ -4198,7 +4379,7 @@ type RequestCreateAccountInput = {
4198
4379
  //#endregion
4199
4380
  //#region src/generated/register/ports/upgrade-to-investor-representative-from-client.request.d.ts
4200
4381
  type UpgradeToInvestorRepresentativeFromClientInput = {
4201
- gender: any;
4382
+ gender: UserGender;
4202
4383
  birthday: Date;
4203
4384
  fullname: string;
4204
4385
  jobTitle: string;
@@ -4210,7 +4391,7 @@ type UpgradeToInvestorRepresentativeFromClientInput = {
4210
4391
  idCardFrontImageId: string;
4211
4392
  idCardBackImageId: string;
4212
4393
  idCard: string;
4213
- nationality: any;
4394
+ nationality: IdentityNationality.VN;
4214
4395
  businessInformation: {
4215
4396
  businessLicenseImageId: string;
4216
4397
  name: string;
@@ -4226,7 +4407,7 @@ type UpgradeToInvestorRepresentativeFromClientInput = {
4226
4407
  //#endregion
4227
4408
  //#region src/generated/register/ports/upgrade-to-broker-from-client.request.d.ts
4228
4409
  type UpgradeToBrokerFromClientInput = {
4229
- gender: any;
4410
+ gender: UserGender;
4230
4411
  birthday: Date;
4231
4412
  fullname: string;
4232
4413
  bio: string;
@@ -4238,7 +4419,7 @@ type UpgradeToBrokerFromClientInput = {
4238
4419
  idCardFrontImageId: string;
4239
4420
  idCardBackImageId: string;
4240
4421
  idCard: string;
4241
- nationality: any;
4422
+ nationality: IdentityNationality.VN;
4242
4423
  metadata: Record<string, unknown>;
4243
4424
  email?: string | undefined;
4244
4425
  phoneNumber?: string | undefined;
@@ -4558,110 +4739,83 @@ interface AppointmentDataPort {
4558
4739
  softDeleteConfidentialityAgreements(ids: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
4559
4740
  }
4560
4741
  //#endregion
4561
- //#region src/generated/appointment/ports/cancel-appointment.request.d.ts
4562
- type CancelAppointmentInput = {
4563
- id: string;
4564
- reason?: string | undefined;
4565
- };
4566
- //#endregion
4567
- //#region src/generated/appointment/ports/create-appointment.request.d.ts
4568
- type CreateAppointmentInput = {
4569
- title: string;
4570
- type: any;
4571
- startAt: Date;
4572
- endAt: Date;
4573
- participantIds: string[];
4574
- lat: number;
4575
- lng: number;
4576
- ward: string;
4577
- description?: string | undefined;
4578
- address?: string | undefined;
4579
- dealId?: string | undefined;
4580
- mediaIds?: string[] | undefined;
4581
- };
4582
- //#endregion
4583
- //#region src/generated/appointment/ports/update-appointment.request.d.ts
4584
- type UpdateAppointmentInput = {
4585
- id: string;
4586
- title?: string | undefined;
4587
- description?: string | undefined;
4588
- status?: any;
4589
- startAt?: Date | undefined;
4590
- endAt?: Date | undefined;
4591
- address?: string | undefined;
4592
- mediaIds?: string[] | undefined;
4593
- participantIds?: string[] | undefined;
4594
- lat?: number | undefined;
4595
- lng?: number | undefined;
4596
- ward?: string | undefined;
4597
- };
4598
- //#endregion
4599
- //#region src/generated/appointment/ports/upload-confidentiality-agreement.request.d.ts
4600
- type UploadConfidentialityAgreementInput = {
4601
- appointmentId: string;
4602
- file: File;
4603
- documentOrder: number;
4604
- documentName?: string | undefined;
4605
- };
4606
- //#endregion
4607
- //#region src/generated/appointment/ports/acknowledge-appointment.request.d.ts
4608
- type AcknowledgeAppointmentInput = {
4609
- appointmentId: string;
4610
- status: any;
4611
- responseComment?: string | undefined;
4612
- };
4613
- //#endregion
4614
- //#region src/generated/appointment/ports/complete-appointment.request.d.ts
4615
- type CompleteAppointmentInput = {
4616
- id: string;
4617
- };
4618
- //#endregion
4619
- //#region src/generated/appointment/ports/delete-appointment.request.d.ts
4620
- type DeleteAppointmentInput = {
4621
- id: string;
4622
- };
4623
- //#endregion
4624
- //#region src/generated/appointment/ports/search-appointments.request.d.ts
4625
- type AppointmentsFilter = {
4626
- page: number;
4627
- limit: number;
4628
- status?: any[] | undefined;
4629
- type?: any[] | undefined;
4630
- dealId?: string | undefined;
4631
- participantUserId?: string | undefined;
4632
- startDate?: Date | undefined;
4633
- endDate?: Date | undefined;
4634
- };
4635
- //#endregion
4636
- //#region src/generated/payment-process/exceptions.d.ts
4637
- declare const PaymentProcessExceptions: {
4638
- PAYMENT_PROCESS_NOT_FOUND: string;
4639
- PAYMENT_PROCESS_NOT_IN_PROGRESS: string;
4640
- PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: string;
4641
- PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: string;
4642
- PAYMENT_INSTALLMENT_NOT_FOUND: string;
4643
- PAYMENT_INSTALLMENT_NOT_PENDING: string;
4644
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: string;
4645
- PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: string;
4646
- };
4647
- //#endregion
4648
- //#region src/generated/payment-process/payment-process.enum.d.ts
4649
- declare enum PaymentProcessStatus {
4650
- IN_PROGRESS = "IN_PROGRESS",
4742
+ //#region src/generated/deal/deal.enum.d.ts
4743
+ declare enum DealStatus {
4744
+ PENDING = "PENDING",
4745
+ PROCESSING = "PROCESSING",
4651
4746
  COMPLETED = "COMPLETED",
4652
- CANCELLED = "CANCELLED"
4747
+ CANCELLED = "CANCELLED",
4748
+ ON_HOLD = "ON_HOLD"
4653
4749
  }
4654
- declare enum PaymentInstallmentStatus {
4750
+ declare enum DealFilterType {
4751
+ ORDER_REQUEST_RENT = "ORDER_REQUEST_RENT",
4752
+ ORDER_REQUEST_SELL = "ORDER_REQUEST_SELL",
4753
+ CONSIGNMENT_REQUEST_RENT = "CONSIGNMENT_REQUEST_RENT",
4754
+ CONSIGNMENT_REQUEST_SELL = "CONSIGNMENT_REQUEST_SELL"
4755
+ }
4756
+ declare enum DealStepStatus {
4655
4757
  PENDING = "PENDING",
4656
- PAID = "PAID",
4657
- CANCELLED = "CANCELLED"
4758
+ PROCESSING = "PROCESSING",
4759
+ COMPLETED = "COMPLETED",
4760
+ CANCELLED = "CANCELLED",
4761
+ ON_HOLD = "ON_HOLD"
4658
4762
  }
4659
- //#endregion
4660
- //#region src/generated/payment-process/ports/payment-data.port.d.ts
4661
- interface PaymentProcessModel {
4662
- id: string;
4663
- agreementId: string;
4664
- dealId: string;
4763
+ declare enum DealProgress {
4764
+ INITIATED = "INITIATED",
4765
+ CONSULTING = "CONSULTING",
4766
+ SCHEDULE_SURVEY = "SCHEDULE_SURVEY",
4767
+ NEGOTIATING = "NEGOTIATING",
4768
+ DEPOSIT = "DEPOSIT",
4769
+ PAYMENT = "PAYMENT",
4770
+ HANDOVER = "HANDOVER",
4771
+ COMPLETED = "COMPLETED",
4772
+ CANCELLED = "CANCELLED"
4773
+ }
4774
+ declare enum ParticipantRole {
4775
+ CLIENT_BROKER = "CLIENT_BROKER",
4776
+ INVESTOR_BROKER = "INVESTOR_BROKER",
4777
+ OWNER = "OWNER",
4778
+ INVESTOR = "INVESTOR",
4779
+ CLIENT = "CLIENT",
4780
+ INVESTOR_REPRESENTATIVE = "INVESTOR_REPRESENTATIVE"
4781
+ }
4782
+ declare enum ParticipantStatus {
4783
+ PENDING = "PENDING",
4784
+ APPROVED = "APPROVED",
4785
+ REJECTED = "REJECTED",
4786
+ ACKNOWLEDGED = "ACKNOWLEDGED",
4787
+ NO_RESPONSE = "NO_RESPONSE"
4788
+ }
4789
+ //#endregion
4790
+ //#region src/generated/payment-process/exceptions.d.ts
4791
+ declare const PaymentProcessExceptions: {
4792
+ PAYMENT_PROCESS_NOT_FOUND: string;
4793
+ PAYMENT_PROCESS_NOT_IN_PROGRESS: string;
4794
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_CONFIRM: string;
4795
+ PAYMENT_PROCESS_NOT_ALLOWED_TO_UPDATE: string;
4796
+ PAYMENT_INSTALLMENT_NOT_FOUND: string;
4797
+ PAYMENT_INSTALLMENT_NOT_PENDING: string;
4798
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_CONFIRM: string;
4799
+ PAYMENT_INSTALLMENT_NOT_ALLOWED_TO_UPDATE: string;
4800
+ };
4801
+ //#endregion
4802
+ //#region src/generated/payment-process/payment-process.enum.d.ts
4803
+ declare enum PaymentProcessStatus {
4804
+ IN_PROGRESS = "IN_PROGRESS",
4805
+ COMPLETED = "COMPLETED",
4806
+ CANCELLED = "CANCELLED"
4807
+ }
4808
+ declare enum PaymentInstallmentStatus {
4809
+ PENDING = "PENDING",
4810
+ PAID = "PAID",
4811
+ CANCELLED = "CANCELLED"
4812
+ }
4813
+ //#endregion
4814
+ //#region src/generated/payment-process/ports/payment-data.port.d.ts
4815
+ interface PaymentProcessModel {
4816
+ id: string;
4817
+ agreementId: string;
4818
+ dealId: string;
4665
4819
  userConfirmedIds?: string[];
4666
4820
  totalPaid?: string;
4667
4821
  remainingAmount?: string;
@@ -4737,12 +4891,12 @@ interface PaymentInstallmentUpdateData {
4737
4891
  metadata?: Record<string, unknown>;
4738
4892
  updatedById?: string;
4739
4893
  }
4740
- interface PaymentProcessFilter {
4894
+ interface PaymentProcessQueryFilter {
4741
4895
  agreementId?: string;
4742
4896
  status?: string;
4743
4897
  userId?: string;
4744
4898
  }
4745
- interface PaymentInstallmentFilter {
4899
+ interface PaymentInstallmentQueryFilter {
4746
4900
  paymentProcessId?: string;
4747
4901
  status?: string;
4748
4902
  userId?: string;
@@ -4754,14 +4908,14 @@ interface PaymentPagination {
4754
4908
  interface PaymentDataPort {
4755
4909
  insertPaymentProcess(data: PaymentProcessInsertData, trx?: Transaction<Database>): Promise<void>;
4756
4910
  findPaymentProcessById(id: string, trx?: Transaction<Database>): Promise<PaymentProcessModel | undefined>;
4757
- findAndCountPaymentProcesses(filter: PaymentProcessFilter, pagination: PaymentPagination, trx?: Transaction<Database>): Promise<{
4911
+ findAndCountPaymentProcesses(filter: PaymentProcessQueryFilter, pagination: PaymentPagination, trx?: Transaction<Database>): Promise<{
4758
4912
  data: PaymentProcessModel[];
4759
4913
  total: number;
4760
4914
  }>;
4761
4915
  insertPaymentInstallments(data: PaymentInstallmentInsertData[], trx?: Transaction<Database>): Promise<void>;
4762
4916
  findPaymentInstallmentById(id: string, trx?: Transaction<Database>): Promise<PaymentInstallmentModel | undefined>;
4763
4917
  findMaxInstallmentNo(paymentProcessId: string, trx?: Transaction<Database>): Promise<number>;
4764
- findAndCountPaymentInstallments(filter: PaymentInstallmentFilter, pagination: PaymentPagination, trx?: Transaction<Database>): Promise<{
4918
+ findAndCountPaymentInstallments(filter: PaymentInstallmentQueryFilter, pagination: PaymentPagination, trx?: Transaction<Database>): Promise<{
4765
4919
  data: PaymentInstallmentModel[];
4766
4920
  total: number;
4767
4921
  }>;
@@ -4770,9 +4924,23 @@ interface PaymentDataPort {
4770
4924
  updateInstallment(id: string, data: PaymentInstallmentUpdateData, trx?: Transaction<Database>): Promise<void>;
4771
4925
  }
4772
4926
  //#endregion
4927
+ //#region src/generated/payment-process/ports/find-payment-installment.response.d.ts
4928
+ interface PaymentInstallmentResponse extends BaseRes {
4929
+ id: string;
4930
+ paymentProcessId: string;
4931
+ dealId?: string;
4932
+ userConfirmedIds: string[];
4933
+ paymentAmount: string;
4934
+ paymentDate?: Date;
4935
+ dueDate?: Date;
4936
+ status: string;
4937
+ note?: string;
4938
+ metadata: Record<string, unknown>;
4939
+ }
4940
+ //#endregion
4773
4941
  //#region src/generated/payment-process/ports/find-payment-installments.response.d.ts
4774
4942
  interface PaymentInstallmentsResponse extends BaseRes {
4775
- paymentInstallments: FindPaymentInstallmentRes[];
4943
+ paymentInstallments: PaymentInstallmentResponse[];
4776
4944
  total: number;
4777
4945
  totalPages: number;
4778
4946
  page: number;
@@ -4800,34 +4968,6 @@ interface ConfirmPaymentProcessResponse extends BaseRes {
4800
4968
  message: string;
4801
4969
  }
4802
4970
  //#endregion
4803
- //#region src/generated/payment-process/ports/find-payment-processes.response.d.ts
4804
- interface PaymentProcessesResponse extends BaseRes {
4805
- paymentProcesses: FindPaymentProcessRes[];
4806
- total: number;
4807
- totalPages: number;
4808
- page: number;
4809
- limit: number;
4810
- }
4811
- //#endregion
4812
- //#region src/generated/payment-process/ports/confirm-payment-installment.response.d.ts
4813
- interface ConfirmPaymentInstallmentResponse extends BaseRes {
4814
- message: string;
4815
- }
4816
- //#endregion
4817
- //#region src/generated/payment-process/ports/find-payment-installment.response.d.ts
4818
- interface PaymentInstallmentResponse extends BaseRes {
4819
- id: string;
4820
- paymentProcessId: string;
4821
- dealId?: string;
4822
- userConfirmedIds: string[];
4823
- paymentAmount: string;
4824
- paymentDate?: Date;
4825
- dueDate?: Date;
4826
- status: string;
4827
- note?: string;
4828
- metadata: Record<string, unknown>;
4829
- }
4830
- //#endregion
4831
4971
  //#region src/generated/payment-process/ports/find-payment-process.response.d.ts
4832
4972
  interface PaymentProcessResponse extends BaseRes {
4833
4973
  id: string;
@@ -4842,6 +4982,20 @@ interface PaymentProcessResponse extends BaseRes {
4842
4982
  metadata: Record<string, unknown>;
4843
4983
  }
4844
4984
  //#endregion
4985
+ //#region src/generated/payment-process/ports/find-payment-processes.response.d.ts
4986
+ interface PaymentProcessesResponse extends BaseRes {
4987
+ paymentProcesses: PaymentProcessResponse[];
4988
+ total: number;
4989
+ totalPages: number;
4990
+ page: number;
4991
+ limit: number;
4992
+ }
4993
+ //#endregion
4994
+ //#region src/generated/payment-process/ports/confirm-payment-installment.response.d.ts
4995
+ interface ConfirmPaymentInstallmentResponse extends BaseRes {
4996
+ message: string;
4997
+ }
4998
+ //#endregion
4845
4999
  //#region src/generated/payment-process/ports/update-payment-installment.response.d.ts
4846
5000
  interface UpdatePaymentInstallmentResponse extends BaseRes {
4847
5001
  message: string;
@@ -4860,12 +5014,17 @@ type CreatePaymentInstallmentInput = {
4860
5014
  }[];
4861
5015
  };
4862
5016
  //#endregion
5017
+ //#region src/generated/payment-process/ports/find-payment-process.request.d.ts
5018
+ type PaymentProcessFilter = {
5019
+ id: string;
5020
+ };
5021
+ //#endregion
4863
5022
  //#region src/generated/payment-process/ports/find-payment-installments.request.d.ts
4864
5023
  type PaymentInstallmentsFilter = {
4865
5024
  page: number;
4866
5025
  limit: number;
4867
5026
  paymentProcessId?: string | undefined;
4868
- status?: any;
5027
+ status?: PaymentInstallmentStatus | undefined;
4869
5028
  };
4870
5029
  //#endregion
4871
5030
  //#region src/generated/payment-process/ports/create-payment-process.request.d.ts
@@ -4878,6 +5037,11 @@ type CreatePaymentProcessInput = {
4878
5037
  metadata: any;
4879
5038
  };
4880
5039
  //#endregion
5040
+ //#region src/generated/payment-process/ports/find-payment-installment.request.d.ts
5041
+ type PaymentInstallmentFilter = {
5042
+ id: string;
5043
+ };
5044
+ //#endregion
4881
5045
  //#region src/generated/payment-process/ports/confirm-payment-installment.request.d.ts
4882
5046
  type ConfirmPaymentInstallmentInput = {
4883
5047
  paymentInstallmentId: string;
@@ -4897,7 +5061,7 @@ type PaymentProcessesFilter = {
4897
5061
  page: number;
4898
5062
  limit: number;
4899
5063
  agreementId?: string | undefined;
4900
- status?: any;
5064
+ status?: PaymentProcessStatus | undefined;
4901
5065
  };
4902
5066
  //#endregion
4903
5067
  //#region src/generated/payment-process/ports/confirm-payment-process.request.d.ts
@@ -4911,7 +5075,7 @@ type UpdatePaymentInstallmentInput = {
4911
5075
  paymentAmount: number;
4912
5076
  paymentDate: Date;
4913
5077
  dueDate: Date;
4914
- status: any;
5078
+ status: PaymentInstallmentStatus;
4915
5079
  userConfirmedIds: string[];
4916
5080
  note: string;
4917
5081
  metadata: any;
@@ -5007,9 +5171,26 @@ interface DeleteAgreementTemplateResponse extends BaseRes {
5007
5171
  message: string;
5008
5172
  }
5009
5173
  //#endregion
5174
+ //#region src/generated/agreement-template/ports/get-agreement-template.response.d.ts
5175
+ interface AgreementTemplateResponse extends BaseRes {
5176
+ id: string;
5177
+ name: string;
5178
+ description: string;
5179
+ type: string;
5180
+ fileId: string;
5181
+ metadata: Record<string, unknown>;
5182
+ creatorRole: string;
5183
+ version: number;
5184
+ diff?: string;
5185
+ parentTemplateId?: string;
5186
+ createdAt?: Date;
5187
+ updatedAt?: Date;
5188
+ createdById: string;
5189
+ }
5190
+ //#endregion
5010
5191
  //#region src/generated/agreement-template/ports/list-agreement-templates.response.d.ts
5011
5192
  interface AgreementTemplatesResponse extends BaseRes {
5012
- templates: GetAgreementTemplateRes[];
5193
+ templates: AgreementTemplateResponse[];
5013
5194
  total: number;
5014
5195
  totalPages: number;
5015
5196
  page: number;
@@ -5031,23 +5212,6 @@ interface RestoreAgreementTemplateResponse extends BaseRes {
5031
5212
  template: RestoredAgreementTemplate;
5032
5213
  }
5033
5214
  //#endregion
5034
- //#region src/generated/agreement-template/ports/get-agreement-template.response.d.ts
5035
- interface AgreementTemplateResponse extends BaseRes {
5036
- id: string;
5037
- name: string;
5038
- description: string;
5039
- type: string;
5040
- fileId: string;
5041
- metadata: Record<string, unknown>;
5042
- creatorRole: string;
5043
- version: number;
5044
- diff?: string;
5045
- parentTemplateId?: string;
5046
- createdAt?: Date;
5047
- updatedAt?: Date;
5048
- createdById: string;
5049
- }
5050
- //#endregion
5051
5215
  //#region src/generated/agreement-template/ports/create-agreement-template.response.d.ts
5052
5216
  interface CreateAgreementTemplateResponse extends BaseRes {
5053
5217
  id: string;
@@ -5064,9 +5228,9 @@ interface CreateAgreementTemplateResponse extends BaseRes {
5064
5228
  type AgreementTemplatesFilter = {
5065
5229
  page: number;
5066
5230
  limit: number;
5067
- types?: any[] | undefined;
5231
+ types?: AgreementTemplateType[] | undefined;
5068
5232
  search?: string | undefined;
5069
- creatorRole?: any;
5233
+ creatorRole?: RoleCodes | undefined;
5070
5234
  };
5071
5235
  //#endregion
5072
5236
  //#region src/generated/agreement-template/ports/update-agreement-template.request.d.ts
@@ -5083,9 +5247,9 @@ type UpdateAgreementTemplateInput = {
5083
5247
  //#region src/generated/agreement-template/ports/create-agreement-template.request.d.ts
5084
5248
  type CreateAgreementTemplateInput = {
5085
5249
  name: string;
5086
- type: any;
5250
+ type: AgreementTemplateType;
5087
5251
  fileId: string;
5088
- creatorRole: any;
5252
+ creatorRole: RoleCodes;
5089
5253
  description?: string | undefined;
5090
5254
  metadata?: Record<string, any> | undefined;
5091
5255
  };
@@ -5170,9 +5334,18 @@ declare enum ConsignmentRequestType {
5170
5334
  RENT = "RENT"
5171
5335
  }
5172
5336
  //#endregion
5337
+ //#region src/generated/consignment-request/ports/get-consignment-request.response.d.ts
5338
+ interface ConsignmentRequestResponse extends BaseRes {
5339
+ id: string;
5340
+ name: string;
5341
+ phoneNumber: string;
5342
+ type: string;
5343
+ metadata: unknown;
5344
+ }
5345
+ //#endregion
5173
5346
  //#region src/generated/consignment-request/ports/get-consignment-requests.response.d.ts
5174
5347
  interface ConsignmentRequestsResponse extends BaseRes {
5175
- data: GetConsignmentRequestRes[];
5348
+ data: ConsignmentRequestResponse[];
5176
5349
  total: number;
5177
5350
  totalPages: number;
5178
5351
  page: number;
@@ -5266,15 +5439,6 @@ interface CreateConsignmentRequestResponse extends BaseRes {
5266
5439
  message: string;
5267
5440
  }
5268
5441
  //#endregion
5269
- //#region src/generated/consignment-request/ports/get-consignment-request.response.d.ts
5270
- interface ConsignmentRequestResponse extends BaseRes {
5271
- id: string;
5272
- name: string;
5273
- phoneNumber: string;
5274
- type: string;
5275
- metadata: unknown;
5276
- }
5277
- //#endregion
5278
5442
  //#region src/generated/consignment-request/ports/get-consignment-request.request.d.ts
5279
5443
  type ConsignmentRequestFilter = {
5280
5444
  id: string;
@@ -5301,7 +5465,7 @@ type CreateConsignmentRequestInput = {
5301
5465
  name: string;
5302
5466
  phoneNumber: string;
5303
5467
  metadata: any;
5304
- type: any;
5468
+ type: ConsignmentRequestType;
5305
5469
  message?: string | undefined;
5306
5470
  };
5307
5471
  //#endregion
@@ -5312,7 +5476,7 @@ type ConsignmentRequestsFilter = {
5312
5476
  name?: string | undefined;
5313
5477
  phoneNumber?: string | undefined;
5314
5478
  address?: string | undefined;
5315
- type?: any;
5479
+ type?: ConsignmentRequestType | undefined;
5316
5480
  };
5317
5481
  //#endregion
5318
5482
  //#region src/generated/consignment-request/ports/update-consignment-request.request.d.ts
@@ -5321,7 +5485,7 @@ type UpdateConsignmentRequestInput = {
5321
5485
  name?: string | undefined;
5322
5486
  phoneNumber?: string | undefined;
5323
5487
  metadata?: any;
5324
- type?: any;
5488
+ type?: ConsignmentRequestType | undefined;
5325
5489
  message?: string | undefined;
5326
5490
  };
5327
5491
  //#endregion
@@ -5540,18 +5704,6 @@ declare const IdentityExceptions: {
5540
5704
  IDENTITY_NOT_FOUND: string;
5541
5705
  };
5542
5706
  //#endregion
5543
- //#region src/generated/identity/identity.enum.d.ts
5544
- declare enum IdentityType {
5545
- ID_CARD = "ID_CARD"
5546
- }
5547
- declare enum IdentityVerificationStatus {
5548
- WAITING_APPROVAL = "WAITING_APPROVAL",
5549
- APPROVED = "APPROVED"
5550
- }
5551
- declare enum IdentityNationality {
5552
- VN = "VN"
5553
- }
5554
- //#endregion
5555
5707
  //#region src/generated/order-request/exceptions.d.ts
5556
5708
  declare const OrderRequestExceptions: {
5557
5709
  ORDER_REQUEST_NOT_FOUND: string;
@@ -5620,9 +5772,23 @@ interface OrderRequestDataPort {
5620
5772
  softDelete(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
5621
5773
  }
5622
5774
  //#endregion
5775
+ //#region src/generated/order-request/ports/find-order-request.response.d.ts
5776
+ interface OrderRequestResponse extends BaseRes {
5777
+ id: string;
5778
+ name: string;
5779
+ phoneNumber: string;
5780
+ address: string;
5781
+ type: string;
5782
+ isApproved?: boolean;
5783
+ metadata?: Record<string, unknown>;
5784
+ brokerId?: string;
5785
+ createdAt?: Date;
5786
+ updatedAt?: Date;
5787
+ }
5788
+ //#endregion
5623
5789
  //#region src/generated/order-request/ports/find-order-requests.response.d.ts
5624
5790
  interface OrderRequestsResponse extends BaseRes {
5625
- data: FindOrderRequestRes[];
5791
+ data: OrderRequestResponse[];
5626
5792
  total: number;
5627
5793
  totalPages: number;
5628
5794
  page: number;
@@ -5644,20 +5810,6 @@ interface ApproveOrderRequestResponse extends BaseRes {
5644
5810
  message: string;
5645
5811
  }
5646
5812
  //#endregion
5647
- //#region src/generated/order-request/ports/find-order-request.response.d.ts
5648
- interface OrderRequestResponse extends BaseRes {
5649
- id: string;
5650
- name: string;
5651
- phoneNumber: string;
5652
- address: string;
5653
- type: string;
5654
- isApproved?: boolean;
5655
- metadata?: Record<string, unknown>;
5656
- brokerId?: string;
5657
- createdAt?: Date;
5658
- updatedAt?: Date;
5659
- }
5660
- //#endregion
5661
5813
  //#region src/generated/order-request/ports/update-order-request.response.d.ts
5662
5814
  interface UpdateOrderRequestResponse extends BaseRes {
5663
5815
  message: string;
@@ -5669,7 +5821,7 @@ type CreateOrderRequestInput = {
5669
5821
  phoneNumber: string;
5670
5822
  address: string;
5671
5823
  metadata: any;
5672
- type: any;
5824
+ type: OrderRequestType;
5673
5825
  };
5674
5826
  //#endregion
5675
5827
  //#region src/generated/order-request/ports/find-order-requests.request.d.ts
@@ -5679,7 +5831,7 @@ type OrderRequestsFilter = {
5679
5831
  name?: string | undefined;
5680
5832
  phoneNumber?: string | undefined;
5681
5833
  address?: string | undefined;
5682
- type?: any;
5834
+ type?: OrderRequestType | undefined;
5683
5835
  };
5684
5836
  //#endregion
5685
5837
  //#region src/generated/order-request/ports/assign-order-request-to-broker.request.d.ts
@@ -5695,7 +5847,7 @@ type UpdateOrderRequestInput = {
5695
5847
  phoneNumber?: string | undefined;
5696
5848
  address?: string | undefined;
5697
5849
  metadata?: any;
5698
- type?: any;
5850
+ type?: OrderRequestType | undefined;
5699
5851
  };
5700
5852
  //#endregion
5701
5853
  //#region src/generated/agreement/exceptions.d.ts
@@ -5904,8 +6056,8 @@ type MediasFilter = {
5904
6056
  page: number;
5905
6057
  limit: number;
5906
6058
  orderBy: {
5907
- field: any;
5908
- param: any;
6059
+ field: MediaSortField;
6060
+ param: SortDirection;
5909
6061
  };
5910
6062
  };
5911
6063
  //#endregion
@@ -5913,7 +6065,7 @@ type MediasFilter = {
5913
6065
  type UploadMediaInput = {
5914
6066
  file: File;
5915
6067
  isPrivate: boolean;
5916
- type?: any;
6068
+ type?: MediaType | undefined;
5917
6069
  };
5918
6070
  //#endregion
5919
6071
  //#region src/generated/industrial-property/exceptions.d.ts
@@ -5927,132 +6079,6 @@ declare const PropertyExceptions: {
5927
6079
  readonly PROPERTY_ALREADY_EXISTS: "Property already exists";
5928
6080
  };
5929
6081
  //#endregion
5930
- //#region src/generated/industrial-property/industrial-property.enum.d.ts
5931
- declare enum PropertyType {
5932
- INDUSTRIAL_ZONE = "INDUSTRIAL_ZONE",
5933
- BUILDING = "BUILDING",
5934
- FLOOR = "FLOOR",
5935
- ROOM = "ROOM",
5936
- LAND_LOT = "LAND_LOT",
5937
- FACTORY = "FACTORY",
5938
- WAREHOUSE = "WAREHOUSE",
5939
- OFFICE = "OFFICE",
5940
- HOUSING = "HOUSING",
5941
- APARTMENT = "APARTMENT"
5942
- }
5943
- declare enum PropertyLegalStatus {
5944
- MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT = "MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT",
5945
- MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT = "MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT",
5946
- FIFTY_YEARS_ANNUAL_PAYMENT = "FIFTY_YEARS_ANNUAL_PAYMENT",
5947
- FIFTY_YEARS_ONE_TIME_PAYMENT = "FIFTY_YEARS_ONE_TIME_PAYMENT",
5948
- FORTY_YEARS_ANNUAL_PAYMENT = "FORTY_YEARS_ANNUAL_PAYMENT",
5949
- FORTY_YEARS_ONE_TIME_PAYMENT = "FORTY_YEARS_ONE_TIME_PAYMENT",
5950
- THIRTY_YEARS_ONE_TIME_PAYMENT = "THIRTY_YEARS_ONE_TIME_PAYMENT",
5951
- THIRTY_YEARS_ANNUAL_PAYMENT = "THIRTY_YEARS_ANNUAL_PAYMENT",
5952
- TWENTY_YEARS_ANNUAL_PAYMENT = "TWENTY_YEARS_ANNUAL_PAYMENT",
5953
- TWENTY_YEARS_ONE_TIME_PAYMENT = "TWENTY_YEARS_ONE_TIME_PAYMENT",
5954
- TEN_YEARS_ANNUAL_PAYMENT = "TEN_YEARS_ANNUAL_PAYMENT",
5955
- TEN_YEARS_ONE_TIME_PAYMENT = "TEN_YEARS_ONE_TIME_PAYMENT",
5956
- LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT = "LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT",
5957
- LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT = "LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT"
5958
- }
5959
- declare enum PropertyApprovalStatus {
5960
- PENDING = "PENDING",
5961
- APPROVED = "APPROVED",
5962
- REJECTED = "REJECTED",
5963
- ARCHIVED = "ARCHIVED"
5964
- }
5965
- declare enum PropertyLandCurrentStatus {
5966
- PLANNED = "PLANNED",
5967
- DESIGNING = "DESIGNING",
5968
- UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION",
5969
- TOPPING_OUT = "TOPPING_OUT",
5970
- NEAR_COMPLETION = "NEAR_COMPLETION",
5971
- COMPLETED = "COMPLETED",
5972
- READY_FOR_HANDOVER = "READY_FOR_HANDOVER",
5973
- HANDED_OVER = "HANDED_OVER",
5974
- ON_HOLD = "ON_HOLD",
5975
- CANCELLED = "CANCELLED"
5976
- }
5977
- declare enum PropertyTransactionStatus {
5978
- AVAILABLE = "AVAILABLE",
5979
- DEPOSITED = "DEPOSITED",
5980
- LEASED = "LEASED",
5981
- SOLD = "SOLD",
5982
- UNDEFINED = "UNDEFINED"
5983
- }
5984
- declare enum PropertyOperationStatus {
5985
- UNDETERMINED = "UNDETERMINED",
5986
- COMING_SOON = "COMING_SOON",
5987
- FOR_SALE_RENT = "FOR_SALE_RENT",
5988
- ACTIVE = "ACTIVE",
5989
- DEACTIVATED = "DEACTIVATED"
5990
- }
5991
- declare enum PropertyAuthorizationType {
5992
- FOR_RENT_A_PART = "FOR_RENT_A_PART",
5993
- FOR_SALE_A_PART = "FOR_SALE_A_PART",
5994
- FOR_RENT_ALL = "FOR_RENT_ALL",
5995
- FOR_SALE_ALL = "FOR_SALE_ALL"
5996
- }
5997
- declare enum PropertyIdentifierType {
5998
- LAND_CERTIFICATE = "LAND_CERTIFICATE",
5999
- PARCEL_NUMBER = "PARCEL_NUMBER",
6000
- MAP_SHEET = "MAP_SHEET",
6001
- GOVERNMENT_CODE = "GOVERNMENT_CODE",
6002
- INTERNAL_CODE = "INTERNAL_CODE"
6003
- }
6004
- declare enum DocumentCategory {
6005
- PROJECT_LEGAL = "PROJECT_LEGAL",
6006
- LAND_LEGAL = "LAND_LEGAL",
6007
- CONSTRUCTION_LEGAL = "CONSTRUCTION_LEGAL",
6008
- OTHER = "OTHER"
6009
- }
6010
- declare enum DocumentType {
6011
- PROJECT_APPROVAL_DECISION = "PROJECT_APPROVAL_DECISION",
6012
- INVESTMENT_CERTIFICATE = "INVESTMENT_CERTIFICATE",
6013
- PLANNING_DECISION_1_500 = "PLANNING_DECISION_1_500",
6014
- PLANNING_DECISION_1_2000 = "PLANNING_DECISION_1_2000",
6015
- LAND_USE_RIGHT_CERTIFICATE_RED_BOOK = "LAND_USE_RIGHT_CERTIFICATE_RED_BOOK",
6016
- LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND = "LAND_USE_RIGHT_CERTIFICATE_WHITE_LAND",
6017
- LAND_USE_RIGHT_CERTIFICATE_OTHER = "LAND_USE_RIGHT_CERTIFICATE_OTHER",
6018
- BUILDING_PERMIT = "BUILDING_PERMIT",
6019
- ENVIRONMENTAL_PERMIT = "ENVIRONMENTAL_PERMIT",
6020
- FIRE_SAFETY_CERTIFICATE = "FIRE_SAFETY_CERTIFICATE",
6021
- OTHER = "OTHER"
6022
- }
6023
- declare enum LandCurrentStatus {
6024
- PLANNED = "PLANNED",
6025
- DESIGNING = "DESIGNING",
6026
- UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION",
6027
- TOPPING_OUT = "TOPPING_OUT",
6028
- NEAR_COMPLETION = "NEAR_COMPLETION",
6029
- COMPLETED = "COMPLETED",
6030
- READY_FOR_HANDOVER = "READY_FOR_HANDOVER",
6031
- HANDED_OVER = "HANDED_OVER",
6032
- ON_HOLD = "ON_HOLD",
6033
- CANCELLED = "CANCELLED"
6034
- }
6035
- declare enum LandType {
6036
- LONG_TERM_OWNERSHIP = "LONG_TERM_OWNERSHIP",
6037
- ANNUAL_RENT = "ANNUAL_RENT",
6038
- ONE_TIME_RENTAL_PAYMENT = "ONE_TIME_RENTAL_PAYMENT"
6039
- }
6040
- declare enum Orientation {
6041
- North = "NORTH",
6042
- South = "SOUTH",
6043
- East = "EAST",
6044
- West = "WEST",
6045
- Northeast = "NORTHEAST",
6046
- Northwest = "NORTHWEST",
6047
- Southeast = "SOUTHEAST",
6048
- Southwest = "SOUTHWEST",
6049
- Unknown = "UNKNOWN"
6050
- }
6051
- declare enum VersionAction {
6052
- CREATE = "CREATE",
6053
- UPDATE = "UPDATE"
6054
- }
6055
- //#endregion
6056
6082
  //#region src/generated/industrial-property/ports/get-property-maps.response.d.ts
6057
6083
  interface PropertyMapItem {
6058
6084
  id: string;
@@ -6478,10 +6504,10 @@ type CreatePropertyInput = {
6478
6504
  provinceId: string;
6479
6505
  wardId: string;
6480
6506
  detailedAddress: string;
6481
- propertyLegalStatus: any;
6482
- approvalStatus: any;
6483
- landCurrentStatus: any;
6484
- type: any;
6507
+ propertyLegalStatus: PropertyLegalStatus;
6508
+ approvalStatus: PropertyApprovalStatus;
6509
+ landCurrentStatus: PropertyLandCurrentStatus;
6510
+ type: PropertyType;
6485
6511
  propertyDetail: {
6486
6512
  orientation?: string | undefined;
6487
6513
  buildingDensityPercent?: number | undefined;
@@ -6504,7 +6530,7 @@ type CreatePropertyInput = {
6504
6530
  isPublic?: boolean | undefined;
6505
6531
  description?: string | undefined;
6506
6532
  parentId?: string | undefined;
6507
- operationStatus?: any;
6533
+ operationStatus?: PropertyOperationStatus | undefined;
6508
6534
  area?: string | undefined;
6509
6535
  latitude?: string | undefined;
6510
6536
  longitude?: string | undefined;
@@ -6532,7 +6558,7 @@ type CreatePropertyMapInput = {
6532
6558
  //#region src/generated/industrial-property/ports/update-property.request.d.ts
6533
6559
  type UpdatePropertyInput = {
6534
6560
  id: string;
6535
- type: any;
6561
+ type: PropertyType;
6536
6562
  title?: string | undefined;
6537
6563
  polygon?: {
6538
6564
  x: number;
@@ -6544,10 +6570,10 @@ type UpdatePropertyInput = {
6544
6570
  provinceId?: string | undefined;
6545
6571
  wardId?: string | undefined;
6546
6572
  detailedAddress?: string | undefined;
6547
- propertyLegalStatus?: any;
6548
- approvalStatus?: any;
6549
- landCurrentStatus?: any;
6550
- operationStatus?: any;
6573
+ propertyLegalStatus?: PropertyLegalStatus | undefined;
6574
+ approvalStatus?: PropertyApprovalStatus | undefined;
6575
+ landCurrentStatus?: PropertyLandCurrentStatus | undefined;
6576
+ operationStatus?: PropertyOperationStatus | undefined;
6551
6577
  latitude?: string | undefined;
6552
6578
  longitude?: string | undefined;
6553
6579
  imagesIds?: string[] | undefined;
@@ -6586,12 +6612,12 @@ type PropertiesFilter = {
6586
6612
  provinceId?: string | undefined;
6587
6613
  wardId?: string | undefined;
6588
6614
  ownerId?: string | undefined;
6589
- propertyLegalStatus?: any;
6590
- landCurrentStatus?: any;
6591
- type?: any[] | undefined;
6592
- approvalStatus?: any;
6593
- operationStatus?: any;
6594
- authorizationType?: any;
6615
+ propertyLegalStatus?: PropertyLegalStatus | undefined;
6616
+ landCurrentStatus?: PropertyLandCurrentStatus | undefined;
6617
+ type?: PropertyType[] | undefined;
6618
+ approvalStatus?: PropertyApprovalStatus | undefined;
6619
+ operationStatus?: PropertyOperationStatus | undefined;
6620
+ authorizationType?: PropertyAuthorizationType | undefined;
6595
6621
  search?: string | undefined;
6596
6622
  minLandArea?: number | undefined;
6597
6623
  maxLandArea?: number | undefined;
@@ -6605,18 +6631,6 @@ declare const TicketExceptions: {
6605
6631
  FORBIDEN_PERMISSION: string;
6606
6632
  };
6607
6633
  //#endregion
6608
- //#region src/generated/ticket/ticket.enum.d.ts
6609
- declare enum TicketType {
6610
- APPROVE_USER_TO_BROKER = "APPROVE_USER_TO_BROKER",
6611
- APPROVE_USER_TO_INVESTOR_REPRESENTATIVE = "APPROVE_USER_TO_INVESTOR_REPRESENTATIVE"
6612
- }
6613
- declare enum TicketStatus {
6614
- PENDING = "PENDING",
6615
- PROCESSING = "PROCESSING",
6616
- APPROVED = "APPROVED",
6617
- REJECTED = "REJECTED"
6618
- }
6619
- //#endregion
6620
6634
  //#region src/generated/ticket/ports/ticket.port.d.ts
6621
6635
  interface TicketModel {
6622
6636
  id: string;
@@ -6731,9 +6745,9 @@ interface ConfirmUpdateEmailResponse extends BaseRes {
6731
6745
  //#region src/generated/settings/ports/update-profile.request.d.ts
6732
6746
  type UpdateProfileInput = {
6733
6747
  fullname?: string | undefined;
6734
- languages?: any[] | undefined;
6748
+ languages?: UserLanguage[] | undefined;
6735
6749
  birthday?: string | undefined;
6736
- gender?: any;
6750
+ gender?: UserGender | undefined;
6737
6751
  idCard?: string | undefined;
6738
6752
  };
6739
6753
  //#endregion
@@ -6940,7 +6954,7 @@ interface DeleteClientCategoryResponse extends BaseRes {
6940
6954
  //#endregion
6941
6955
  //#region src/generated/client/ports/get-clients.response.d.ts
6942
6956
  interface ClientsResponse extends BaseRes {
6943
- data: GetClientRes[];
6957
+ data: ClientResponse[];
6944
6958
  total: number;
6945
6959
  page: number;
6946
6960
  limit: number;
@@ -6980,19 +6994,19 @@ interface CreateClientCategoryResponse extends BaseRes {
6980
6994
  //#region src/generated/client/ports/create-client.request.d.ts
6981
6995
  type CreateClientInput = {
6982
6996
  fullname: string;
6983
- status: any;
6984
- source: any;
6997
+ status: ClientStatus;
6998
+ source: ClientSource;
6985
6999
  budgetMin: bigint | undefined;
6986
7000
  budgetMax: bigint | undefined;
6987
7001
  budgetCurrency: string;
6988
- propertyTypes: any[];
6989
- clientType: any;
6990
- roles: any[];
6991
- needs: any[];
7002
+ propertyTypes: ForSalePropertyType[];
7003
+ clientType: ClientType;
7004
+ roles: ClientRoles[];
7005
+ needs: ClientNeed[];
6992
7006
  phoneNumber?: string | undefined;
6993
7007
  email?: string | undefined;
6994
7008
  address?: string | undefined;
6995
- gender?: any;
7009
+ gender?: UserGender | undefined;
6996
7010
  birthday?: Date | undefined;
6997
7011
  lastContactDate?: Date | undefined;
6998
7012
  notes?: string | undefined;
@@ -7013,18 +7027,18 @@ type UpdateClientInput = {
7013
7027
  phoneNumber?: string | undefined;
7014
7028
  email?: string | undefined;
7015
7029
  address?: string | undefined;
7016
- gender?: any;
7030
+ gender?: UserGender | undefined;
7017
7031
  birthday?: string | undefined;
7018
- status?: any;
7019
- source?: any;
7032
+ status?: ClientStatus | undefined;
7033
+ source?: ClientSource | undefined;
7020
7034
  budgetCurrency?: string | undefined;
7021
- propertyTypes?: any[] | undefined;
7035
+ propertyTypes?: ForSalePropertyType[] | undefined;
7022
7036
  lastContactDate?: string | undefined;
7023
7037
  notes?: string | undefined;
7024
7038
  metadata?: any;
7025
- clientType?: any;
7026
- roles?: any[] | undefined;
7027
- needs?: any[] | undefined;
7039
+ clientType?: ClientType | undefined;
7040
+ roles?: ClientRoles[] | undefined;
7041
+ needs?: ClientNeed[] | undefined;
7028
7042
  };
7029
7043
  //#endregion
7030
7044
  //#region src/generated/client/ports/get-clients.request.d.ts
@@ -7033,13 +7047,13 @@ type ClientsFilter = {
7033
7047
  limit: number;
7034
7048
  budgetMin: bigint | undefined;
7035
7049
  budgetMax: bigint | undefined;
7036
- needs: any[];
7037
- status?: any;
7038
- source?: any;
7039
- propertyTypes?: any[] | undefined;
7050
+ needs: ClientNeed[];
7051
+ status?: ClientStatus | undefined;
7052
+ source?: ClientSource | undefined;
7053
+ propertyTypes?: ForSalePropertyType[] | undefined;
7040
7054
  search?: string | undefined;
7041
- clientType?: any;
7042
- roles?: any[] | undefined;
7055
+ clientType?: ClientType | undefined;
7056
+ roles?: ClientRoles[] | undefined;
7043
7057
  clientCategoryId?: string | undefined;
7044
7058
  };
7045
7059
  //#endregion
@@ -7061,54 +7075,6 @@ declare const PreDealExceptions: {
7061
7075
  PRE_DEAL_NOT_FOUND: string;
7062
7076
  };
7063
7077
  //#endregion
7064
- //#region src/generated/deal/deal.enum.d.ts
7065
- declare enum DealStatus {
7066
- PENDING = "PENDING",
7067
- PROCESSING = "PROCESSING",
7068
- COMPLETED = "COMPLETED",
7069
- CANCELLED = "CANCELLED",
7070
- ON_HOLD = "ON_HOLD"
7071
- }
7072
- declare enum DealFilterType {
7073
- ORDER_REQUEST_RENT = "ORDER_REQUEST_RENT",
7074
- ORDER_REQUEST_SELL = "ORDER_REQUEST_SELL",
7075
- CONSIGNMENT_REQUEST_RENT = "CONSIGNMENT_REQUEST_RENT",
7076
- CONSIGNMENT_REQUEST_SELL = "CONSIGNMENT_REQUEST_SELL"
7077
- }
7078
- declare enum DealStepStatus {
7079
- PENDING = "PENDING",
7080
- PROCESSING = "PROCESSING",
7081
- COMPLETED = "COMPLETED",
7082
- CANCELLED = "CANCELLED",
7083
- ON_HOLD = "ON_HOLD"
7084
- }
7085
- declare enum DealProgress {
7086
- INITIATED = "INITIATED",
7087
- CONSULTING = "CONSULTING",
7088
- SCHEDULE_SURVEY = "SCHEDULE_SURVEY",
7089
- NEGOTIATING = "NEGOTIATING",
7090
- DEPOSIT = "DEPOSIT",
7091
- PAYMENT = "PAYMENT",
7092
- HANDOVER = "HANDOVER",
7093
- COMPLETED = "COMPLETED",
7094
- CANCELLED = "CANCELLED"
7095
- }
7096
- declare enum ParticipantRole {
7097
- CLIENT_BROKER = "CLIENT_BROKER",
7098
- INVESTOR_BROKER = "INVESTOR_BROKER",
7099
- OWNER = "OWNER",
7100
- INVESTOR = "INVESTOR",
7101
- CLIENT = "CLIENT",
7102
- INVESTOR_REPRESENTATIVE = "INVESTOR_REPRESENTATIVE"
7103
- }
7104
- declare enum ParticipantStatus {
7105
- PENDING = "PENDING",
7106
- APPROVED = "APPROVED",
7107
- REJECTED = "REJECTED",
7108
- ACKNOWLEDGED = "ACKNOWLEDGED",
7109
- NO_RESPONSE = "NO_RESPONSE"
7110
- }
7111
- //#endregion
7112
7078
  //#region src/generated/deal/ports/link-chat-group-to-deal.response.d.ts
7113
7079
  interface LinkChatGroupToDealResponse extends BaseRes {
7114
7080
  id: string;
@@ -7438,17 +7404,17 @@ type CreateDealInput = {
7438
7404
  clientId: string;
7439
7405
  investorId: string;
7440
7406
  dealSteps: {
7441
- stepType: any;
7407
+ stepType: DealProgress;
7442
7408
  description: string;
7443
- status: any;
7409
+ status: DealStepStatus;
7444
7410
  metadata: any;
7445
7411
  participants: {
7446
7412
  userId: string;
7447
- participantRole: any;
7413
+ participantRole: ParticipantRole;
7448
7414
  }[];
7449
7415
  }[];
7450
7416
  metadata: any;
7451
- status: any;
7417
+ status: DealStatus;
7452
7418
  orderRequestId?: string | undefined;
7453
7419
  consignmentRequestId?: string | undefined;
7454
7420
  };
@@ -7464,11 +7430,11 @@ type DealsFilter = {
7464
7430
  limit: number;
7465
7431
  orderBy: {
7466
7432
  field: "createdAt" | "updatedAt" | "status" | "orderRequest" | "consignmentRequest";
7467
- param: any;
7433
+ param: SortDirection;
7468
7434
  };
7469
- dealStep?: any[] | undefined;
7470
- dealType?: any[] | undefined;
7435
+ dealStep?: DealProgress[] | undefined;
7436
+ dealType?: DealFilterType[] | undefined;
7471
7437
  };
7472
7438
  //#endregion
7473
- export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsResponse, AdministratorDataPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, AgreementTemplateInsertData, AgreementTemplateModel, AgreementTemplateResponse, AgreementTemplateType, AgreementTemplateUpdateData, AgreementTemplatesFilter, AgreementTemplatesResponse, AgreementTemplatesTable, AgreementTypeDataPort, AgreementTypeExceptions, AgreementTypeModel, AgreementTypesTable, AgreementUpdateData, AgreementsTable, AppointmentConfidentialityAgreement, AppointmentConfidentialityAgreementsTable, AppointmentDataPort, AppointmentExceptions, AppointmentInsertData, AppointmentListFilter, AppointmentListItem, AppointmentModel, AppointmentParticipant, AppointmentParticipantInsertData, AppointmentParticipantModel, AppointmentParticipantWithUserModel, AppointmentParticipantsTable, AppointmentResponse, AppointmentStatus, AppointmentType, AppointmentUpdateData, AppointmentWithParticipantsModel, AppointmentsFilter, AppointmentsResponse, AppointmentsTable, ApproveAccountResponse, ApproveConsignmentRequestInput, ApproveConsignmentRequestResponse, ApproveDocumentResponse, ApproveForSaleAdminResponse, ApproveForSaleInput, ApproveForSaleResponse, ApproveOrderRequestResponse, ApproveTicketsInput, ApproveTicketsResponse, AssignConsignmentRequestToBrokerInput, AssignConsignmentRequestToBrokerResponse, AssignOrderRequestToBrokerInput, AssignOrderRequestToBrokerResponse, type AssignPropertyToBrokerInput, type AssignPropertyToBrokerResponse, type AssignedBrokerItem, BA_DINH_WARD_NO, BaseErrorResponse, BaseRe, BaseRes, BlackListEntityType, BlackListStatus, BlackListsTable, BlacklistExceptions, BlacklistFilter, BlacklistInsertData, BlacklistListFilter, BlacklistModel, BlacklistPort, BlacklistResponse, BlacklistUpdateData, BlacklistsFilter, BlacklistsResponse, BrokerCommandPort, BrokerConvertClientToJsonResponse, BrokerExceptions, BrokerImportClientFailedItem, BrokerImportClientFileInput, BrokerImportClientFromJsonInput, BrokerImportClientResponse, BrokerImportClientSuccessItem, BrokerSummaryModel, CancelAppointmentInput, CancelAppointmentResponse, ChangeAvatarResponse, ChangeNicknameResponse, ChangePasswordInput, ChangePasswordResponse, ChatGroupDataPort, ChatGroupFilter, ChatGroupInsertData, ChatGroupMemberFilter, ChatGroupMemberInsertData, ChatGroupMemberItem, ChatGroupMemberModel, ChatGroupMemberRole, ChatGroupMemberUpdateData, ChatGroupMembersFilter, ChatGroupMembersResponse, ChatGroupMembersTable, ChatGroupModel, ChatGroupResponse, ChatGroupStatsModel, ChatGroupUpdateData, ChatGroupsFilter, ChatGroupsResponse, ChatGroupsTable, ChatMessageFilter, ChatMessageInsertData, ChatMessageItem, ChatMessageModel, ChatMessagesFilter, ChatMessagesResponse, ChatMessagesTable, CheckNicknameAvailabilityResponse, ClientCategoriesReadFilter, ClientCategoriesReadResult, ClientCategoriesResponse, ClientCategoriesTable, ClientCategoryClientsTable, ClientCategoryExceptions, ClientCategoryItem, ClientCategoryModel, ClientCategoryReadFilter, ClientCategoryResponse, ClientExceptions, ClientFilter, ClientModel, ClientNeed, ClientNeedValue, ClientReadFilter, ClientReadPort, ClientResponse, ClientRoles, ClientRolesValue, ClientSource, ClientSourceValue, ClientStatus, ClientStatusValue, ClientType, ClientTypeValue, ClientsFilter, ClientsReadFilter, ClientsReadResult, ClientsResponse, ClientsTable, CompleteAppointmentInput, CompleteAppointmentResponse, ConfidentialityAgreementInsertData, ConfidentialityAgreementModel, ConfirmCreateAccountClientInput, ConfirmCreateAccountClientResponse, ConfirmCreateAccountInput, ConfirmCreateAccountResponse, ConfirmPaymentInstallmentInput, ConfirmPaymentInstallmentResponse, ConfirmPaymentProcessInput, ConfirmPaymentProcessResponse, ConfirmUpdateEmailResponse, ConfirmUpdatePhoneNumberResponse, ConsignmentRequestDataPort, ConsignmentRequestExceptions, ConsignmentRequestFilter, ConsignmentRequestInsertData, ConsignmentRequestListFilter, ConsignmentRequestModel, ConsignmentRequestResponse, ConsignmentRequestType, ConsignmentRequestUpdateData, ConsignmentRequestsFilter, ConsignmentRequestsResponse, ConsignmentRequestsTable, ConversationExceptions, ConversationPagination, ConvertBrokerClientToJsonInput, ConvertBrokerClientToJsonResponse, ConvertBrokerClientType, CreateAgreementTemplateInput, CreateAgreementTemplateResponse, CreateAppointmentInput, CreateAppointmentResponse, CreateBlacklistInput, CreateBlacklistResponse, CreateBrokerFromRegisterLinkInput, CreateBrokerFromRegisterLinkResponse, CreateBrokerInput, CreateBrokerResponse, CreateChatGroupInput, CreateChatGroupResponse, CreateChatMessageInput, CreateChatMessageResponse, CreateClientCategoryResponse, CreateClientInput, CreateClientResponse, CreateConsignmentRequestInput, CreateConsignmentRequestResponse, CreateDealInput, CreateDealResponse, CreateForSaleInput, CreateForSaleResponse, CreateOrderRequestInput, CreateOrderRequestResponse, CreatePaymentInstallmentInput, CreatePaymentInstallmentResponse, CreatePaymentProcessInput, CreatePaymentProcessResponse, CreatePreDealResponse, CreateProjectInput, CreateProjectResponse, CreatePropertyInput, CreatePropertyMapInput, type CreatePropertyMapResponse, type CreatePropertyResponse, CreateRepresentativeInvestorResponse, CreateUtilityInput, CreateUtilityResponse, Database, DealDataPort, DealExceptions, DealFilter, DealFilterType, DealInsertData, DealListItem, DealModel, DealParticipantModel, DealParticipantProfile, DealPaymentInstallment, DealProgress, DealStatus, DealStepAttachment, DealStepCreator, DealStepExceptions, DealStepHistoryItem, DealStepInsertData, DealStepModel, DealStepParticipantInsertData, DealStepParticipantsTable, DealStepStatus, DealStepUpdateData, DealStepWithCreatorModel, DealStepsResponse, DealStepsTable, DealSummaryResponse, DealUpdateData, DealWithSummaryModel, DealsFilter, DealsForUserFilter, DealsResponse, DealsTable, DeleteAgreementTemplateResponse, DeleteAppointmentInput, DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteForSaleInput, DeleteForSaleResponse, DeleteInvestorRepresentativeResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, DocumentToProjectTable, DocumentType, DocumentUpdateData, DocumentsTable, FindManagementBrokerForProjectResponse, ForSaleApproveData, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleDataPort, ForSaleExceptions, ForSaleFilter, ForSaleInfrastructureStatus, ForSaleInsertData, ForSaleListFilter, ForSaleModel, ForSalePostType, ForSalePropertyType, ForSalePropertyTypeValue, ForSaleResponse, ForSaleRoadType, ForSaleStatus, ForSaleUpdateData, ForSaleUtilities, ForSalesFilter, ForSalesResponse, ForSalesTable, ForgotPasswordInput, ForgotPasswordResponse, GenerateInvestorRegisterLinkInput, GenerateInvestorRegisterLinkResponse, IdentitiesTable, IdentityCardDataPort, IdentityCardEncryptedModel, IdentityCardInsertData, IdentityCardModel, IdentityCardUpdateData, IdentityCardsTable, IdentityExceptions, IdentityInsertData, IdentityModel, IdentityNationality, IdentityType, IdentityUpdateData, IdentityVerificationProcessInsertData, IdentityVerificationProcessModel, IdentityVerificationProcessesTable, IdentityVerificationStatus, ImportBrokerClientFileResponse, ImportBrokerClientFromJsonResponse, IndustrialParkExceptions, InvestorExceptions, InvestorRepresentativeItem, InvestorRepresentativeResponse, InvestorRepresentativesResponse, InviteInvestorRepresentativeResponse, InviteMemberChatGroupInput, InviteMemberChatGroupResponse, JobStatus, JobType, JobsTable, LandCurrentStatus, LandType, LinkChatGroupToDealResponse, LinkChatGroupToDealStepResponse, LocationReadPort, ManagementBrokerItem, ManagementBrokersResponse, MediaAttachmentModel, MediaExceptions, MediaInsertData$1 as MediaInsertData, MediaItem, MediaListFilter, MediaPort, MediaReadData, MediaResponse, MediaSortField, MediaType, MediasFilter, MediasResponse, MediasTable, MessageType, NotificationChannelModel, NotificationChannelTranslationModel, NotificationChannelTranslationsTable, NotificationChannelsTable, NotificationCommandPort, NotificationDataPort, NotificationDetailStatus, NotificationEnv, NotificationEventsTable, NotificationMessageInsertData, NotificationMessageModel, NotificationMessagesTable, NotificationScheduleInsertData, NotificationScheduleListFilter, NotificationScheduleModel, NotificationScheduleResponse, NotificationScheduleStatus, NotificationScheduleUpdateData, NotificationSchedulesTable, NotificationSettingFilter, NotificationType, NotificationsResponse, OrderRequestDataPort, OrderRequestExceptions, OrderRequestInsertData, OrderRequestListFilter, OrderRequestModel, OrderRequestResponse, OrderRequestType, OrderRequestUpdateData, OrderRequestsFilter, OrderRequestsResponse, OrderRequestsTable, OrganizationInsertData, OrganizationListFilter, OrganizationModel, OrganizationPort, OrganizationUpdateData, OrganizationsTable, Orientation, OtpDataPort, OtpInsertData, OtpModel, OtpType, OtpUpdateData, OtpsTable, OutboxConsumerCursorsTable, OutboxEventsTable, OwnerAuthorizeForSystemInput, OwnerAuthorizeForSystemResponse, Paginated, ParticipantRole, ParticipantStatus, PaymentConfirmationInsertData, PaymentConfirmationsTable, PaymentDataPort, PaymentInstallmentInsertData, PaymentInstallmentModel, PaymentInstallmentResponse, PaymentInstallmentStatus, PaymentInstallmentSummaryModel, PaymentInstallmentUpdateData, PaymentInstallmentsFilter, PaymentInstallmentsResponse, PaymentInstallmentsTable, PaymentPagination, PaymentProcessExceptions, PaymentProcessInsertData, PaymentProcessModel, PaymentProcessResponse, PaymentProcessStatus, PaymentProcessUpdateData, PaymentProcessesFilter, PaymentProcessesResponse, PaymentProcessesTable, PermissionsTable, PolygonCoordinate, PreDealExceptions, PreDealInsertData, PreDealItem, PreDealModel, PreDealResponse, PreDealsFilter, PreDealsPagination, PreDealsResponse, PreDealsTable, PreviewAgreementResponse, ProgressToNextStepResponse, ProjectApprovalStatus, ProjectBoApprover, ProjectClassification, ProjectCurrentStatus, ProjectDataPort, ProjectDetailModel, ProjectDocumentModel, ProjectExceptions, ProjectFilter, ProjectInsertData, ProjectListItem, ProjectMedia, ProjectMediaModel, ProjectModel, ProjectOwner, ProjectPagination, ProjectProvince, ProjectResponse, ProjectSearchFilter, ProjectSearchModel, ProjectServiceFee, ProjectStage, ProjectStandard, ProjectToBrokersTable, ProjectToMediasTable, ProjectType, ProjectUpdateData, ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, ProjectsTable, PropertiesFilter, PropertiesResponse, PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchItem, PropertyBranchUserPermissionsTable, PropertyBranchUtilitiesTable, PropertyBranchUtilityInsertData, PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, PropertyDetailsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, PropertyMapsTable, PropertyOperationStatus, PropertyResponse, PropertyTransactionStatus, PropertyType, PropertyVersionModel, PropertyVersionsTable, PropertyVisualizationInsertData, type PropertyVisualizationItem, PropertyVisualizationModel, PropertyVisualizationUpdateData, type PropertyVisualizationsFilter, PropertyVisualizationsResponse, PropertyVisualizationsTable, ProvinceExceptions, ProvinceListFilter, ProvinceModel, ProvincesTable, QueryPermissionsResponse, ReadNotificationResponse, RefreshTokenResponse, RegisterAccountRequestInsertData, RegisterAccountRequestModel, RegisterAccountRequestUpdateData, RegisterAccountRequestsTable, RegisterAccountVerificationInsertData, RegisterAccountVerificationModel, RegisterAccountVerificationUpdateData, RegisterAccountVerificationsTable, RegisterDataPort, RegisterExceptions, RegisterInvestorRepresentativeResponse, RegisterRequestFilter, RejectTicketsInput, RejectTicketsResponse, RemoveDealStepParticipantsResponse, RemoveMemberChatGroupInput, RemoveMemberChatGroupResponse, RequestCreateAccountClientInput, RequestCreateAccountClientResponse, RequestCreateAccountInput, RequestCreateAccountResponse, RequestUpdateEmailResponse, RequestUpdatePhoneNumberResponse, RestoreAgreementTemplateResponse, RestoredAgreementTemplate, RoleCodes, RoleExceptions, RoleModel, RolePermissionsTable, RolesTable, ScheduleNotificationInput, ScheduleNotificationResponse, ScheduleType, SchedulerStatus, SearchDealModel, SessionsTable, SetNewPasswordWhenForgotInput, SetNewPasswordWhenForgotResponse, SetPinnedMessageInput, SetPinnedMessageResponse, SettingExceptions, SignAgreementResponse, SignInResponse, SignOutResponse, SortDirection, TicketExceptions, TicketInsertData, TicketItem, TicketListFilter, TicketModel, TicketPort, TicketStatus, TicketType, TicketUpdateData, TicketsFilter, TicketsResponse, TicketsTable, UnreadCountByChannel, UpdateAgreementTemplateInput, UpdateAgreementTemplateResponse, UpdateAppointmentInput, UpdateAppointmentResponse, UpdateBlacklistInput, UpdateBlacklistResponse, UpdateBrokerPropertyPermissionData, UpdateChatGroupInput, UpdateChatGroupMemberInput, UpdateChatGroupMemberResponse, UpdateChatGroupResponse, UpdateClientCategoryResponse, UpdateClientInput, UpdateClientResponse, UpdateConsignmentRequestInput, UpdateConsignmentRequestResponse, UpdateDealStepStatusResponse, UpdateForSaleInput, UpdateForSaleResponse, UpdateNotificationSettingsResponse, UpdateOrderRequestInput, UpdateOrderRequestResponse, UpdatePaymentInstallmentInput, UpdatePaymentInstallmentResponse, UpdatePaymentProcessInput, UpdatePaymentProcessResponse, UpdateProfileInput, UpdateProfileResponse, UpdateProjectInput, UpdateProjectResponse, 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, UserHistoriesTable, UserHistoryType, UserInsertData, UserLanguage, UserListFilter, UserModel, UserNotificationSettingInsertData, UserNotificationSettingModel, UserNotificationSettingsTable, UserProfileResponse, UserStatus, UserToRoleInsertData, UserToRoleModel, UserToRoleTable, UserUpdateData, UserWithAuthModel, UserWithAvatarModel, UserWithRoleModel, UsersTable, UtilitiesFilter, UtilitiesResponse, UtilitiesTable, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, WardsTable };
7439
+ export { type AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsResponse, AdministratorDataPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, AgreementTemplateInsertData, AgreementTemplateModel, AgreementTemplateResponse, AgreementTemplateType, AgreementTemplateUpdateData, AgreementTemplatesFilter, AgreementTemplatesResponse, AgreementTemplatesTable, AgreementTypeDataPort, AgreementTypeExceptions, AgreementTypeModel, AgreementTypesTable, AgreementUpdateData, AgreementsTable, type AppointmentConfidentialityAgreement, AppointmentConfidentialityAgreementsTable, type AppointmentDataPort, AppointmentExceptions, type AppointmentInsertData, type AppointmentListFilter, type AppointmentListItem, type AppointmentModel, type AppointmentParticipant, type AppointmentParticipantInsertData, type AppointmentParticipantModel, type AppointmentParticipantWithUserModel, AppointmentParticipantsTable, type AppointmentResponse, AppointmentStatus, AppointmentType, type AppointmentUpdateData, type AppointmentWithParticipantsModel, type AppointmentsResponse, AppointmentsTable, ApproveAccountResponse, ApproveConsignmentRequestInput, ApproveConsignmentRequestResponse, ApproveDocumentResponse, 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, BlackListsTable, BlacklistExceptions, BlacklistFilter, BlacklistInsertData, BlacklistListFilter, BlacklistModel, BlacklistPort, BlacklistResponse, BlacklistUpdateData, BlacklistsFilter, BlacklistsResponse, BrokerCommandPort, BrokerConvertClientToJsonResponse, BrokerExceptions, BrokerImportClientFailedItem, BrokerImportClientFileInput, BrokerImportClientFromJsonInput, BrokerImportClientResponse, BrokerImportClientSuccessItem, BrokerSummaryModel, type CancelAppointmentResponse, ChangeAvatarResponse, ChangeNicknameResponse, ChangePasswordInput, ChangePasswordResponse, ChatGroupDataPort, ChatGroupFilter, ChatGroupInsertData, ChatGroupMemberFilter, ChatGroupMemberInsertData, ChatGroupMemberItem, ChatGroupMemberModel, ChatGroupMemberRole, ChatGroupMemberUpdateData, ChatGroupMembersFilter, ChatGroupMembersResponse, ChatGroupMembersTable, ChatGroupModel, ChatGroupResponse, ChatGroupStatsModel, ChatGroupUpdateData, ChatGroupsFilter, ChatGroupsResponse, ChatGroupsTable, ChatMessageFilter, ChatMessageInsertData, ChatMessageItem, ChatMessageModel, ChatMessagesFilter, ChatMessagesResponse, ChatMessagesTable, CheckNicknameAvailabilityResponse, ClientCategoriesReadFilter, ClientCategoriesReadResult, ClientCategoriesResponse, ClientCategoriesTable, ClientCategoryClientsTable, ClientCategoryExceptions, ClientCategoryItem, ClientCategoryModel, ClientCategoryReadFilter, ClientCategoryResponse, ClientExceptions, ClientFilter, ClientModel, ClientNeed, ClientNeedValue, ClientReadFilter, ClientReadPort, ClientResponse, ClientRoles, ClientRolesValue, ClientSource, ClientSourceValue, ClientStatus, ClientStatusValue, ClientType, ClientTypeValue, ClientsFilter, ClientsReadFilter, ClientsReadResult, ClientsResponse, ClientsTable, type CompleteAppointmentResponse, type ConfidentialityAgreementInsertData, type ConfidentialityAgreementModel, ConfirmCreateAccountClientInput, ConfirmCreateAccountClientResponse, ConfirmCreateAccountInput, ConfirmCreateAccountResponse, ConfirmPaymentInstallmentInput, ConfirmPaymentInstallmentResponse, ConfirmPaymentProcessInput, ConfirmPaymentProcessResponse, ConfirmUpdateEmailResponse, ConfirmUpdatePhoneNumberResponse, ConsignmentRequestDataPort, ConsignmentRequestExceptions, ConsignmentRequestFilter, ConsignmentRequestInsertData, ConsignmentRequestListFilter, ConsignmentRequestModel, ConsignmentRequestResponse, ConsignmentRequestType, ConsignmentRequestUpdateData, ConsignmentRequestsFilter, ConsignmentRequestsResponse, ConsignmentRequestsTable, ConversationExceptions, ConversationPagination, ConvertBrokerClientToJsonInput, ConvertBrokerClientToJsonResponse, ConvertBrokerClientType, CreateAgreementTemplateInput, CreateAgreementTemplateResponse, type CreateAppointmentResponse, CreateBlacklistInput, CreateBlacklistResponse, CreateBrokerFromRegisterLinkInput, CreateBrokerFromRegisterLinkResponse, CreateBrokerInput, CreateBrokerResponse, CreateChatGroupInput, CreateChatGroupResponse, CreateChatMessageInput, CreateChatMessageResponse, CreateClientCategoryResponse, CreateClientInput, CreateClientResponse, CreateConsignmentRequestInput, CreateConsignmentRequestResponse, CreateDealInput, CreateDealResponse, CreateForSaleInput, CreateForSaleResponse, CreateOrderRequestInput, CreateOrderRequestResponse, CreatePaymentInstallmentInput, CreatePaymentInstallmentResponse, CreatePaymentProcessInput, CreatePaymentProcessResponse, CreatePreDealResponse, CreateProjectInput, CreateProjectResponse, CreatePropertyInput, CreatePropertyMapInput, type CreatePropertyMapResponse, type CreatePropertyResponse, CreateRepresentativeInvestorResponse, CreateUtilityInput, CreateUtilityResponse, Database, DealDataPort, DealExceptions, DealFilter, DealFilterType, DealInsertData, DealListItem, DealModel, DealParticipantModel, DealParticipantProfile, DealPaymentInstallment, DealProgress, DealStatus, DealStepAttachment, DealStepCreator, DealStepExceptions, DealStepHistoryItem, DealStepInsertData, DealStepModel, DealStepParticipantInsertData, DealStepParticipantsTable, DealStepStatus, DealStepUpdateData, DealStepWithCreatorModel, DealStepsResponse, DealStepsTable, DealSummaryResponse, DealUpdateData, DealWithSummaryModel, DealsFilter, DealsForUserFilter, DealsResponse, DealsTable, DeleteAgreementTemplateResponse, type DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteForSaleInput, DeleteForSaleResponse, DeleteInvestorRepresentativeResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, DocumentToProjectTable, DocumentType, DocumentUpdateData, DocumentsTable, FindManagementBrokerForProjectResponse, ForSaleApproveData, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleDataPort, ForSaleExceptions, ForSaleFilter, ForSaleInfrastructureStatus, ForSaleInsertData, ForSaleListFilter, ForSaleModel, ForSalePostType, ForSalePropertyType, ForSalePropertyTypeValue, ForSaleResponse, ForSaleRoadType, ForSaleStatus, ForSaleUpdateData, ForSaleUtilities, ForSalesFilter, ForSalesResponse, ForSalesTable, ForgotPasswordInput, ForgotPasswordResponse, GenerateInvestorRegisterLinkInput, GenerateInvestorRegisterLinkResponse, IdentitiesTable, IdentityCardDataPort, IdentityCardEncryptedModel, IdentityCardInsertData, IdentityCardModel, IdentityCardUpdateData, IdentityCardsTable, IdentityExceptions, IdentityInsertData, IdentityModel, IdentityNationality, IdentityType, IdentityUpdateData, IdentityVerificationProcessInsertData, IdentityVerificationProcessModel, IdentityVerificationProcessesTable, IdentityVerificationStatus, ImportBrokerClientFileResponse, ImportBrokerClientFromJsonResponse, IndustrialParkExceptions, InvestorExceptions, InvestorRepresentativeItem, InvestorRepresentativeResponse, InvestorRepresentativesResponse, InviteInvestorRepresentativeResponse, InviteMemberChatGroupInput, InviteMemberChatGroupResponse, JobStatus, JobType, JobsTable, LandCurrentStatus, LandType, LinkChatGroupToDealResponse, LinkChatGroupToDealStepResponse, LocationFilter, LocationReadPort, ManagementBrokerItem, ManagementBrokersResponse, MediaAttachmentModel, MediaExceptions, MediaInsertData, MediaItem, MediaListFilter, MediaPort, MediaReadData, MediaResponse, MediaSortField, MediaType, MediasFilter, MediasResponse, MediasTable, MessageType, NotificationChannelModel, NotificationChannelTranslationModel, NotificationChannelTranslationsTable, NotificationChannelsTable, NotificationCommandPort, NotificationDataPort, NotificationDetailStatus, NotificationEnv, NotificationEventsTable, NotificationMessageInsertData, NotificationMessageModel, NotificationMessagesTable, NotificationScheduleInsertData, NotificationScheduleListFilter, NotificationScheduleModel, NotificationScheduleResponse, NotificationScheduleStatus, NotificationScheduleUpdateData, NotificationSchedulesTable, NotificationSettingFilter, NotificationType, NotificationsResponse, OrderRequestDataPort, OrderRequestExceptions, OrderRequestInsertData, OrderRequestListFilter, OrderRequestModel, OrderRequestResponse, OrderRequestType, OrderRequestUpdateData, OrderRequestsFilter, OrderRequestsResponse, OrderRequestsTable, OrganizationInsertData, OrganizationListFilter, OrganizationModel, OrganizationPort, OrganizationUpdateData, OrganizationsTable, Orientation, OtpDataPort, OtpInsertData, OtpModel, OtpType, OtpUpdateData, OtpsTable, OutboxConsumerCursorsTable, OutboxEventsTable, OwnerAuthorizeForSystemInput, OwnerAuthorizeForSystemResponse, Paginated, ParticipantRole, ParticipantStatus, PaymentConfirmationInsertData, PaymentConfirmationsTable, PaymentDataPort, PaymentInstallmentFilter, PaymentInstallmentInsertData, PaymentInstallmentModel, PaymentInstallmentQueryFilter, PaymentInstallmentResponse, PaymentInstallmentStatus, PaymentInstallmentSummaryModel, PaymentInstallmentUpdateData, PaymentInstallmentsFilter, PaymentInstallmentsResponse, PaymentInstallmentsTable, PaymentPagination, PaymentProcessExceptions, PaymentProcessFilter, PaymentProcessInsertData, PaymentProcessModel, PaymentProcessQueryFilter, PaymentProcessResponse, PaymentProcessStatus, PaymentProcessUpdateData, PaymentProcessesFilter, PaymentProcessesResponse, PaymentProcessesTable, PermissionsTable, PolygonCoordinate, PreDealExceptions, PreDealInsertData, PreDealItem, PreDealModel, PreDealResponse, PreDealsFilter, PreDealsPagination, PreDealsResponse, PreDealsTable, PreviewAgreementResponse, ProgressToNextStepResponse, ProjectApprovalStatus, ProjectBoApprover, ProjectClassification, ProjectCurrentStatus, ProjectDataPort, ProjectDetailModel, ProjectDocumentModel, ProjectExceptions, ProjectFilter, ProjectInsertData, ProjectListItem, ProjectMedia, ProjectMediaModel, ProjectModel, ProjectOwner, ProjectPagination, ProjectProvince, ProjectResponse, ProjectSearchFilter, ProjectSearchModel, ProjectServiceFee, ProjectStage, ProjectStandard, ProjectToBrokersTable, ProjectToMediasTable, ProjectType, ProjectUpdateData, ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, ProjectsTable, PropertiesFilter, PropertiesResponse, PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchItem, PropertyBranchUserPermissionsTable, PropertyBranchUtilitiesTable, PropertyBranchUtilityInsertData, PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, PropertyDetailsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, PropertyMapsTable, PropertyOperationStatus, PropertyResponse, PropertyTransactionStatus, PropertyType, PropertyVersionModel, PropertyVersionsTable, PropertyVisualizationInsertData, type PropertyVisualizationItem, PropertyVisualizationModel, PropertyVisualizationUpdateData, type PropertyVisualizationsFilter, PropertyVisualizationsResponse, PropertyVisualizationsTable, ProvinceExceptions, ProvinceListFilter, ProvinceModel, ProvincesTable, ReadNotificationResponse, RefreshTokenInput, RefreshTokenResponse, RegisterAccountRequestInsertData, RegisterAccountRequestModel, RegisterAccountRequestUpdateData, RegisterAccountRequestsTable, RegisterAccountVerificationInsertData, RegisterAccountVerificationModel, RegisterAccountVerificationUpdateData, RegisterAccountVerificationsTable, RegisterDataPort, RegisterExceptions, RegisterInvestorRepresentativeResponse, RegisterRequestFilter, RejectTicketsInput, RejectTicketsResponse, RemoveDealStepParticipantsResponse, RemoveMemberChatGroupInput, RemoveMemberChatGroupResponse, RequestCreateAccountClientInput, RequestCreateAccountClientResponse, RequestCreateAccountInput, RequestCreateAccountResponse, RequestUpdateEmailResponse, RequestUpdatePhoneNumberResponse, RestoreAgreementTemplateResponse, RestoredAgreementTemplate, RoleCodes, RoleExceptions, RoleModel, RolePermissionsTable, RolesTable, ScheduleNotificationInput, ScheduleNotificationResponse, ScheduleType, SchedulerStatus, SearchDealModel, SessionsTable, SetNewPasswordWhenForgotInput, SetNewPasswordWhenForgotResponse, SetPinnedMessageInput, SetPinnedMessageResponse, SettingExceptions, SignAgreementResponse, SignInInput, SignInResponse, SignOutInput, SignOutResponse, SortDirection, TicketExceptions, TicketInsertData, TicketItem, TicketListFilter, TicketModel, TicketPort, TicketStatus, TicketType, TicketUpdateData, TicketsFilter, TicketsResponse, TicketsTable, UnreadCountByChannel, UpdateAgreementTemplateInput, UpdateAgreementTemplateResponse, type UpdateAppointmentResponse, UpdateBlacklistInput, UpdateBlacklistResponse, UpdateBrokerPropertyPermissionData, UpdateChatGroupInput, UpdateChatGroupMemberInput, UpdateChatGroupMemberResponse, UpdateChatGroupResponse, UpdateClientCategoryResponse, UpdateClientInput, UpdateClientResponse, UpdateConsignmentRequestInput, UpdateConsignmentRequestResponse, UpdateDealStepStatusResponse, UpdateForSaleInput, UpdateForSaleResponse, UpdateNotificationSettingsResponse, UpdateOrderRequestInput, UpdateOrderRequestResponse, UpdatePaymentInstallmentInput, UpdatePaymentInstallmentResponse, UpdatePaymentProcessInput, UpdatePaymentProcessResponse, UpdateProfileInput, UpdateProfileResponse, UpdateProjectInput, UpdateProjectResponse, UpdatePropertyInput, type UpdatePropertyMapInput, type UpdatePropertyMapResponse, type UpdatePropertyResponse, type UpdatePropertyVisualizationResponse, UpdateUtilityInput, UpdateUtilityResponse, UpgradeToBrokerFromClientInput, UpgradeToBrokerFromClientResponse, UpgradeToInvestorRepresentativeFromClientInput, UpgradeToInvestorRepresentativeFromClientResponse, UploadAgreementInput, UploadAgreementResponse, type UploadConfidentialityAgreementResponse, UploadDocumentByAdministratorInput, UploadDocumentByAdministratorResponse, UploadMediaInput, UploadMediaResponse, UserDataPort, UserExceptions, UserFilter, UserGender, UserHistoriesTable, UserHistoryType, UserInsertData, UserLanguage, UserListFilter, UserModel, UserNotificationSettingInsertData, UserNotificationSettingModel, UserNotificationSettingsTable, UserPermissionsResponse, UserProfileResponse, UserStatus, UserToRoleInsertData, UserToRoleModel, UserToRoleTable, UserUpdateData, UserWithAuthModel, UserWithAvatarModel, UserWithRoleModel, UsersTable, UtilitiesFilter, UtilitiesResponse, UtilitiesTable, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, WardsTable };
7474
7440
  //# sourceMappingURL=index.d.cts.map