@homespot-sdk/core 0.0.336 → 0.0.338
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/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +251 -95
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +367 -194
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +4 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +15 -0
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +8 -14
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +194 -53
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +2103 -1179
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +499 -167
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export type UpdateEmailRequest = {
|
|
|
53
53
|
export type RolesRequest = {
|
|
54
54
|
name: string;
|
|
55
55
|
description: string;
|
|
56
|
-
permissions: Array<'
|
|
56
|
+
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
57
57
|
};
|
|
58
58
|
export type AssignRoleRequest = {
|
|
59
59
|
roleId: number;
|
|
@@ -289,7 +289,7 @@ export type AuthRequest = {
|
|
|
289
289
|
};
|
|
290
290
|
export type AgencyPrincipalDto = {
|
|
291
291
|
memberId?: string;
|
|
292
|
-
permissions?: Array<'
|
|
292
|
+
permissions?: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
293
293
|
isActive?: boolean;
|
|
294
294
|
isOwner?: boolean;
|
|
295
295
|
phoneVerified?: boolean;
|
|
@@ -414,7 +414,7 @@ export type OrganizationSummaryViewResponse = {
|
|
|
414
414
|
memberId: string;
|
|
415
415
|
profilePictureUrl?: string;
|
|
416
416
|
roleName: string;
|
|
417
|
-
permissions: Array<'
|
|
417
|
+
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
418
418
|
status: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' | 'SUSPENDED';
|
|
419
419
|
phone: string;
|
|
420
420
|
isPhoneVerified: boolean;
|
|
@@ -588,7 +588,7 @@ export type RoleResponse = {
|
|
|
588
588
|
isSystem?: boolean;
|
|
589
589
|
isOwner?: boolean;
|
|
590
590
|
description: string;
|
|
591
|
-
permissions: Array<'
|
|
591
|
+
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
592
592
|
};
|
|
593
593
|
export type AddressResponse = {
|
|
594
594
|
region: LocationResponse;
|
|
@@ -676,12 +676,11 @@ export type RecommendationDecisionResponse = {
|
|
|
676
676
|
decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
|
|
677
677
|
};
|
|
678
678
|
export type GroupedPermissionsResponse = {
|
|
679
|
-
group: 'AGENCY' | '
|
|
679
|
+
group: 'AGENCY' | 'ROLE' | 'MEMBER' | 'CONTACT';
|
|
680
680
|
permissions: Array<PermissionResponse>;
|
|
681
681
|
};
|
|
682
682
|
export type PermissionResponse = {
|
|
683
|
-
permission: '
|
|
684
|
-
implied: Array<'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'MEETING_READ_ALL' | 'CONTACT_READ' | 'CONTACT_WRITE' | 'CONTACT_READ_ALL' | 'CONTACT_WRITE_ALL' | 'PROPERTY_READ_ALL'>;
|
|
683
|
+
permission: 'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT';
|
|
685
684
|
};
|
|
686
685
|
export type ListingContactResponseUuid = {
|
|
687
686
|
id: string;
|
|
@@ -829,13 +828,20 @@ export type PropertyPageResponse = {
|
|
|
829
828
|
updatedAt: Date;
|
|
830
829
|
closeReason?: PropertyCloseReasonResponse;
|
|
831
830
|
};
|
|
832
|
-
export type
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
831
|
+
export type ContactPersonalDetails = unknown;
|
|
832
|
+
export type ContactPersonalDetailsRestricted = {
|
|
833
|
+
requires?: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
834
|
+
status: 'RESTRICTED';
|
|
835
|
+
};
|
|
836
|
+
export type ContactPersonalDetailsVisible = {
|
|
837
|
+
phoneNumber?: string;
|
|
838
|
+
fullName?: string;
|
|
837
839
|
email?: string;
|
|
838
|
-
|
|
840
|
+
status: 'VISIBLE';
|
|
841
|
+
};
|
|
842
|
+
export type ListingOwnerContactResponse = {
|
|
843
|
+
contactId: number;
|
|
844
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
839
845
|
};
|
|
840
846
|
export type AgentCommented = {
|
|
841
847
|
commentId?: CommentId;
|
|
@@ -985,36 +991,34 @@ export type AssignedToResponse = {
|
|
|
985
991
|
photo?: string;
|
|
986
992
|
email: string;
|
|
987
993
|
};
|
|
988
|
-
export type
|
|
989
|
-
|
|
990
|
-
};
|
|
991
|
-
export type ListingGridView = {
|
|
992
|
-
externalPropertyId?: string;
|
|
994
|
+
export type ListingGridResponse = {
|
|
995
|
+
externalPropertyId: string;
|
|
993
996
|
externalListingId?: string;
|
|
994
|
-
propertyId
|
|
997
|
+
propertyId: number;
|
|
995
998
|
listingId?: number;
|
|
996
|
-
|
|
999
|
+
contactId: number;
|
|
1000
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
997
1001
|
assignedTo?: AssignedToResponse;
|
|
998
|
-
propertyType
|
|
999
|
-
title
|
|
1002
|
+
propertyType: 'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE';
|
|
1003
|
+
title: string;
|
|
1000
1004
|
region?: LocationResponse;
|
|
1001
1005
|
district?: LocationResponse;
|
|
1002
1006
|
subdistrict?: LocationResponse;
|
|
1003
1007
|
street?: LocationResponse;
|
|
1004
|
-
featuredPhotos
|
|
1005
|
-
agreementType
|
|
1008
|
+
featuredPhotos: Array<string>;
|
|
1009
|
+
agreementType: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
|
|
1006
1010
|
agreementExpiresAt?: Date;
|
|
1007
|
-
propertyState
|
|
1011
|
+
propertyState: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
1008
1012
|
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1009
1013
|
price?: number;
|
|
1010
1014
|
commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
1011
1015
|
commission?: number;
|
|
1012
|
-
platforms
|
|
1013
|
-
createdAt
|
|
1014
|
-
updatedAt
|
|
1016
|
+
platforms: Array<PlatformView>;
|
|
1017
|
+
createdAt: Date;
|
|
1018
|
+
updatedAt: Date;
|
|
1015
1019
|
};
|
|
1016
|
-
export type
|
|
1017
|
-
content?: Array<
|
|
1020
|
+
export type PagedModelListingGridResponse = {
|
|
1021
|
+
content?: Array<ListingGridResponse>;
|
|
1018
1022
|
page?: PageMetadata;
|
|
1019
1023
|
};
|
|
1020
1024
|
export type PlatformView = {
|
|
@@ -1024,16 +1028,6 @@ export type PlatformView = {
|
|
|
1024
1028
|
tier?: 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
|
|
1025
1029
|
boostExpiresAt?: Date;
|
|
1026
1030
|
};
|
|
1027
|
-
export type Restricted = Omit<ContactView, 'status'> & {
|
|
1028
|
-
requires?: Array<'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'MEETING_READ_ALL' | 'CONTACT_READ' | 'CONTACT_WRITE' | 'CONTACT_READ_ALL' | 'CONTACT_WRITE_ALL' | 'PROPERTY_READ_ALL'>;
|
|
1029
|
-
status: 'Restricted';
|
|
1030
|
-
};
|
|
1031
|
-
export type Visible = Omit<ContactView, 'status'> & {
|
|
1032
|
-
id?: number;
|
|
1033
|
-
phoneNumber?: string;
|
|
1034
|
-
fullName?: string;
|
|
1035
|
-
status: 'Visible';
|
|
1036
|
-
};
|
|
1037
1031
|
export type GroupCount = {
|
|
1038
1032
|
groupKey: string;
|
|
1039
1033
|
label: string;
|
|
@@ -1052,6 +1046,46 @@ export type PagedModelInvitationViewResponse = {
|
|
|
1052
1046
|
content?: Array<InvitationViewResponse>;
|
|
1053
1047
|
page?: PageMetadata;
|
|
1054
1048
|
};
|
|
1049
|
+
export type AreaRange = {
|
|
1050
|
+
min?: number;
|
|
1051
|
+
max?: number;
|
|
1052
|
+
};
|
|
1053
|
+
export type InterestGridResponse = {
|
|
1054
|
+
interestId: number;
|
|
1055
|
+
contactId?: number;
|
|
1056
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1057
|
+
assignedTo?: AssignedToResponse;
|
|
1058
|
+
createdBy: string;
|
|
1059
|
+
propertyTypes: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
1060
|
+
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1061
|
+
priceRange?: PriceRange;
|
|
1062
|
+
bedrooms?: RoomRange;
|
|
1063
|
+
totalArea?: AreaRange;
|
|
1064
|
+
livingArea?: AreaRange;
|
|
1065
|
+
region?: LocationResponse;
|
|
1066
|
+
district?: LocationResponse;
|
|
1067
|
+
subdistrict?: LocationResponse;
|
|
1068
|
+
street?: LocationResponse;
|
|
1069
|
+
status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
|
|
1070
|
+
};
|
|
1071
|
+
export type Money = {
|
|
1072
|
+
amount?: number;
|
|
1073
|
+
negative?: boolean;
|
|
1074
|
+
positive?: boolean;
|
|
1075
|
+
zeroOrPositive?: boolean;
|
|
1076
|
+
};
|
|
1077
|
+
export type PagedModelInterestGridResponse = {
|
|
1078
|
+
content?: Array<InterestGridResponse>;
|
|
1079
|
+
page?: PageMetadata;
|
|
1080
|
+
};
|
|
1081
|
+
export type PriceRange = {
|
|
1082
|
+
min?: Money;
|
|
1083
|
+
max?: Money;
|
|
1084
|
+
};
|
|
1085
|
+
export type RoomRange = {
|
|
1086
|
+
min?: number;
|
|
1087
|
+
max?: number;
|
|
1088
|
+
};
|
|
1055
1089
|
export type CursorPageInboxResponse = {
|
|
1056
1090
|
items?: Array<InboxResponse>;
|
|
1057
1091
|
nextCursor?: string;
|
|
@@ -1140,10 +1174,8 @@ export type ContactGridResponse = {
|
|
|
1140
1174
|
title?: string;
|
|
1141
1175
|
status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
1142
1176
|
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
1143
|
-
|
|
1177
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1144
1178
|
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
1145
|
-
phoneNumber?: string;
|
|
1146
|
-
email?: string;
|
|
1147
1179
|
sourceType?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
1148
1180
|
sourceLink?: string;
|
|
1149
1181
|
isSearching: boolean;
|
|
@@ -1168,7 +1200,7 @@ export type Client360Response = {
|
|
|
1168
1200
|
createdBy: string;
|
|
1169
1201
|
assignedMember?: AssignedMember;
|
|
1170
1202
|
contactTitle?: string;
|
|
1171
|
-
contactInfo:
|
|
1203
|
+
contactInfo: ContactInfoRestricted | ContactInfoVisible;
|
|
1172
1204
|
source: SourceResponse;
|
|
1173
1205
|
communicationPreference?: CommunicationPreferenceResponse;
|
|
1174
1206
|
isSearching: boolean;
|
|
@@ -1184,12 +1216,18 @@ export type CommunicationPreferenceResponse = {
|
|
|
1184
1216
|
preferredContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
1185
1217
|
contactMethods: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
1186
1218
|
};
|
|
1187
|
-
export type ContactInfoResponse =
|
|
1219
|
+
export type ContactInfoResponse = unknown;
|
|
1220
|
+
export type ContactInfoRestricted = {
|
|
1221
|
+
requires?: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
1222
|
+
status: 'RESTRICTED';
|
|
1223
|
+
};
|
|
1224
|
+
export type ContactInfoVisible = {
|
|
1188
1225
|
firstName?: string;
|
|
1189
1226
|
lastName?: string;
|
|
1190
|
-
gender
|
|
1191
|
-
phoneNumber
|
|
1227
|
+
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
1228
|
+
phoneNumber?: string;
|
|
1192
1229
|
email?: string;
|
|
1230
|
+
status: 'VISIBLE';
|
|
1193
1231
|
};
|
|
1194
1232
|
export type ContactInterestResponse = {
|
|
1195
1233
|
id: number;
|
|
@@ -1238,8 +1276,7 @@ export type PhoneDuplicateCheckResponse = {
|
|
|
1238
1276
|
};
|
|
1239
1277
|
export type Card = {
|
|
1240
1278
|
contactId: number;
|
|
1241
|
-
|
|
1242
|
-
phoneNumber?: string;
|
|
1279
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1243
1280
|
priority: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
1244
1281
|
status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
1245
1282
|
assignedTo?: AssignedToResponse;
|
|
@@ -3280,7 +3317,7 @@ export type GetPropertyByExternalPropertyIdListingByExternalListingIdResponses =
|
|
|
3280
3317
|
/**
|
|
3281
3318
|
* OK
|
|
3282
3319
|
*/
|
|
3283
|
-
200:
|
|
3320
|
+
200: ListingOwnerContactResponse;
|
|
3284
3321
|
};
|
|
3285
3322
|
export type GetPropertyByExternalPropertyIdListingByExternalListingIdResponse = GetPropertyByExternalPropertyIdListingByExternalListingIdResponses[keyof GetPropertyByExternalPropertyIdListingByExternalListingIdResponses];
|
|
3286
3323
|
export type GetOauthData = {
|
|
@@ -3421,7 +3458,7 @@ export type GetMemberData = {
|
|
|
3421
3458
|
path?: never;
|
|
3422
3459
|
query?: {
|
|
3423
3460
|
roleId?: number;
|
|
3424
|
-
permission?: '
|
|
3461
|
+
permission?: 'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT';
|
|
3425
3462
|
/**
|
|
3426
3463
|
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
3427
3464
|
*/
|
|
@@ -3521,7 +3558,7 @@ export type GetListingResponses = {
|
|
|
3521
3558
|
/**
|
|
3522
3559
|
* OK
|
|
3523
3560
|
*/
|
|
3524
|
-
200:
|
|
3561
|
+
200: PagedModelListingGridResponse;
|
|
3525
3562
|
};
|
|
3526
3563
|
export type GetListingResponse = GetListingResponses[keyof GetListingResponses];
|
|
3527
3564
|
export type GetListingByPropertyIdData = {
|
|
@@ -3536,7 +3573,7 @@ export type GetListingByPropertyIdResponses = {
|
|
|
3536
3573
|
/**
|
|
3537
3574
|
* OK
|
|
3538
3575
|
*/
|
|
3539
|
-
200:
|
|
3576
|
+
200: ListingGridResponse;
|
|
3540
3577
|
};
|
|
3541
3578
|
export type GetListingByPropertyIdResponse = GetListingByPropertyIdResponses[keyof GetListingByPropertyIdResponses];
|
|
3542
3579
|
export type GetListingGroupsData = {
|
|
@@ -3579,6 +3616,110 @@ export type GetListingGroupsResponses = {
|
|
|
3579
3616
|
200: Array<GroupCount>;
|
|
3580
3617
|
};
|
|
3581
3618
|
export type GetListingGroupsResponse = GetListingGroupsResponses[keyof GetListingGroupsResponses];
|
|
3619
|
+
export type GetInterestData = {
|
|
3620
|
+
body?: never;
|
|
3621
|
+
path?: never;
|
|
3622
|
+
query?: {
|
|
3623
|
+
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
3624
|
+
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3625
|
+
propertyTypes?: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
3626
|
+
contactId?: number;
|
|
3627
|
+
contactName?: string;
|
|
3628
|
+
contactPhone?: string;
|
|
3629
|
+
assignedTo?: Array<string>;
|
|
3630
|
+
createdBy?: string;
|
|
3631
|
+
regionId?: number;
|
|
3632
|
+
districtId?: number;
|
|
3633
|
+
subdistrictId?: number;
|
|
3634
|
+
streetId?: number;
|
|
3635
|
+
priceMin?: number;
|
|
3636
|
+
priceMax?: number;
|
|
3637
|
+
bedroomsMin?: number;
|
|
3638
|
+
bedroomsMax?: number;
|
|
3639
|
+
bathroomsMin?: number;
|
|
3640
|
+
bathroomsMax?: number;
|
|
3641
|
+
totalAreaMin?: number;
|
|
3642
|
+
totalAreaMax?: number;
|
|
3643
|
+
livingAreaMin?: number;
|
|
3644
|
+
livingAreaMax?: number;
|
|
3645
|
+
createdFrom?: Date;
|
|
3646
|
+
createdTo?: Date;
|
|
3647
|
+
/**
|
|
3648
|
+
* Zero-based page index (0..N)
|
|
3649
|
+
*/
|
|
3650
|
+
page?: number;
|
|
3651
|
+
/**
|
|
3652
|
+
* The size of the page to be returned
|
|
3653
|
+
*/
|
|
3654
|
+
size?: number;
|
|
3655
|
+
/**
|
|
3656
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
3657
|
+
*/
|
|
3658
|
+
sort?: Array<string>;
|
|
3659
|
+
};
|
|
3660
|
+
url: '/interest';
|
|
3661
|
+
};
|
|
3662
|
+
export type GetInterestResponses = {
|
|
3663
|
+
/**
|
|
3664
|
+
* OK
|
|
3665
|
+
*/
|
|
3666
|
+
200: PagedModelInterestGridResponse;
|
|
3667
|
+
};
|
|
3668
|
+
export type GetInterestResponse = GetInterestResponses[keyof GetInterestResponses];
|
|
3669
|
+
export type GetInterestByInterestIdData = {
|
|
3670
|
+
body?: never;
|
|
3671
|
+
path: {
|
|
3672
|
+
interestId: number;
|
|
3673
|
+
};
|
|
3674
|
+
query?: never;
|
|
3675
|
+
url: '/interest/{interestId}';
|
|
3676
|
+
};
|
|
3677
|
+
export type GetInterestByInterestIdResponses = {
|
|
3678
|
+
/**
|
|
3679
|
+
* OK
|
|
3680
|
+
*/
|
|
3681
|
+
200: InterestGridResponse;
|
|
3682
|
+
};
|
|
3683
|
+
export type GetInterestByInterestIdResponse = GetInterestByInterestIdResponses[keyof GetInterestByInterestIdResponses];
|
|
3684
|
+
export type GetInterestGroupsData = {
|
|
3685
|
+
body?: never;
|
|
3686
|
+
path?: never;
|
|
3687
|
+
query: {
|
|
3688
|
+
groupBy: 'STATUS' | 'LISTING_TYPE' | 'PROPERTY_TYPE' | 'ASSIGNED_TO' | 'CREATED_BY' | 'CONTACT' | 'REGION' | 'DISTRICT' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
3689
|
+
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
3690
|
+
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3691
|
+
propertyTypes?: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
3692
|
+
contactId?: number;
|
|
3693
|
+
contactName?: string;
|
|
3694
|
+
contactPhone?: string;
|
|
3695
|
+
assignedTo?: Array<string>;
|
|
3696
|
+
createdBy?: string;
|
|
3697
|
+
regionId?: number;
|
|
3698
|
+
districtId?: number;
|
|
3699
|
+
subdistrictId?: number;
|
|
3700
|
+
streetId?: number;
|
|
3701
|
+
priceMin?: number;
|
|
3702
|
+
priceMax?: number;
|
|
3703
|
+
bedroomsMin?: number;
|
|
3704
|
+
bedroomsMax?: number;
|
|
3705
|
+
bathroomsMin?: number;
|
|
3706
|
+
bathroomsMax?: number;
|
|
3707
|
+
totalAreaMin?: number;
|
|
3708
|
+
totalAreaMax?: number;
|
|
3709
|
+
livingAreaMin?: number;
|
|
3710
|
+
livingAreaMax?: number;
|
|
3711
|
+
createdFrom?: Date;
|
|
3712
|
+
createdTo?: Date;
|
|
3713
|
+
};
|
|
3714
|
+
url: '/interest/groups';
|
|
3715
|
+
};
|
|
3716
|
+
export type GetInterestGroupsResponses = {
|
|
3717
|
+
/**
|
|
3718
|
+
* OK
|
|
3719
|
+
*/
|
|
3720
|
+
200: Array<GroupCount>;
|
|
3721
|
+
};
|
|
3722
|
+
export type GetInterestGroupsResponse = GetInterestGroupsResponses[keyof GetInterestGroupsResponses];
|
|
3582
3723
|
export type GetInboxData = {
|
|
3583
3724
|
body?: never;
|
|
3584
3725
|
path?: never;
|