@homespot-sdk/core 0.0.363 → 0.0.365
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 +447 -20
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +527 -18
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +8 -6
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +49 -14
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +10 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +271 -36
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +760 -31
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +485 -15
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -165,6 +165,26 @@ export type UpdateContactDetailsRequest = {
|
|
|
165
165
|
favoriteContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
166
166
|
nullifyFavoriteContactMethod?: boolean;
|
|
167
167
|
};
|
|
168
|
+
export type ExternalListingManualSaveRequest = {
|
|
169
|
+
listingId: number;
|
|
170
|
+
/**
|
|
171
|
+
* Which portal the listing is on; needed for a bare number, and a link has to agree with it
|
|
172
|
+
*/
|
|
173
|
+
platform?: 'SS' | 'MY_HOME';
|
|
174
|
+
/**
|
|
175
|
+
* The listing's link on ss.ge or myhome.ge, or its number
|
|
176
|
+
*/
|
|
177
|
+
portalListing: string;
|
|
178
|
+
listedAt?: Date;
|
|
179
|
+
/**
|
|
180
|
+
* When the agent last renewed it on the portal; today, to mark it renewed
|
|
181
|
+
*/
|
|
182
|
+
renewedAt?: Date;
|
|
183
|
+
/**
|
|
184
|
+
* When the portal says it ends; left out, 30 days after renewedAt or else listedAt
|
|
185
|
+
*/
|
|
186
|
+
expiresAt?: Date;
|
|
187
|
+
};
|
|
168
188
|
export type ReassignMemberRequest = {
|
|
169
189
|
memberId: string;
|
|
170
190
|
};
|
|
@@ -312,6 +332,74 @@ export type CheckoutRequest = {
|
|
|
312
332
|
export type IdResponseInteger = {
|
|
313
333
|
id: number;
|
|
314
334
|
};
|
|
335
|
+
export type AddressNames = {
|
|
336
|
+
region?: {
|
|
337
|
+
[key: string]: string;
|
|
338
|
+
};
|
|
339
|
+
district?: {
|
|
340
|
+
[key: string]: string;
|
|
341
|
+
};
|
|
342
|
+
subdistrict?: {
|
|
343
|
+
[key: string]: string;
|
|
344
|
+
};
|
|
345
|
+
street?: {
|
|
346
|
+
[key: string]: string;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
export type AddressRef = {
|
|
350
|
+
regionId?: number;
|
|
351
|
+
districtId?: number;
|
|
352
|
+
subdistrictId?: number;
|
|
353
|
+
streetId?: number;
|
|
354
|
+
names?: AddressNames;
|
|
355
|
+
cadastreCode?: string;
|
|
356
|
+
coordinates?: Coordinates;
|
|
357
|
+
};
|
|
358
|
+
export type Coordinates = {
|
|
359
|
+
lat?: number;
|
|
360
|
+
lng?: number;
|
|
361
|
+
};
|
|
362
|
+
export type Offer = {
|
|
363
|
+
deal: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
364
|
+
price: number;
|
|
365
|
+
};
|
|
366
|
+
export type PhotoInternalRequest = {
|
|
367
|
+
photo: string;
|
|
368
|
+
width: number;
|
|
369
|
+
height?: number;
|
|
370
|
+
};
|
|
371
|
+
export type PropertyCreationRequest = {
|
|
372
|
+
draftId: string;
|
|
373
|
+
contactId?: number;
|
|
374
|
+
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';
|
|
375
|
+
address: AddressRef;
|
|
376
|
+
photoUrls: Array<PhotoInternalRequest>;
|
|
377
|
+
/**
|
|
378
|
+
* Areas per space type. A null entry records a space whose area is unknown.
|
|
379
|
+
*/
|
|
380
|
+
spaces: {
|
|
381
|
+
[key: string]: Array<number>;
|
|
382
|
+
};
|
|
383
|
+
totalArea: number;
|
|
384
|
+
livingArea?: number;
|
|
385
|
+
balconyArea?: number;
|
|
386
|
+
status?: 'OLD_BUILDING' | 'NEW_BUILDING' | 'UNDER_CONSTRUCTION' | 'FINISHED';
|
|
387
|
+
condition?: 'NEWLY_RENOVATED' | 'OLD_RENOVATED' | 'CURRENT_RENOVATION' | 'REPAIRING' | 'WHITE_FRAME' | 'BLACK_FRAME' | 'GREEN_FRAME' | 'WHITE_PLUS';
|
|
388
|
+
totalFloors?: number;
|
|
389
|
+
floorAt?: number;
|
|
390
|
+
amenities: Array<number>;
|
|
391
|
+
title: string;
|
|
392
|
+
description: {
|
|
393
|
+
[key: string]: string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
export type Submission = {
|
|
397
|
+
property: PropertyCreationRequest;
|
|
398
|
+
offer?: Offer;
|
|
399
|
+
};
|
|
400
|
+
export type PhotosRequest = {
|
|
401
|
+
photos: Array<PhotoRequest>;
|
|
402
|
+
};
|
|
315
403
|
export type ContactInfoRequest = {
|
|
316
404
|
firstName?: string;
|
|
317
405
|
lastName?: string;
|
|
@@ -606,10 +694,6 @@ export type ExternalListingBoostRequest = {
|
|
|
606
694
|
tier: 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
|
|
607
695
|
numberOfDays: number;
|
|
608
696
|
};
|
|
609
|
-
export type OnboardFromSourceRequest = {
|
|
610
|
-
sourceLink: string;
|
|
611
|
-
phone: string;
|
|
612
|
-
};
|
|
613
697
|
export type CreateBoardRequest = {
|
|
614
698
|
kind?: 'OWNER' | 'SEEKER';
|
|
615
699
|
name: string;
|
|
@@ -1153,6 +1237,54 @@ export type RoleResponse = {
|
|
|
1153
1237
|
description: string;
|
|
1154
1238
|
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT' | 'MANAGE_BOARD' | 'MANAGE_DEAL' | 'DELETE_DEAL'>;
|
|
1155
1239
|
};
|
|
1240
|
+
export type Form = {
|
|
1241
|
+
id?: string;
|
|
1242
|
+
state?: 'OPEN' | 'SENT' | 'REPLACED' | 'EXPIRED';
|
|
1243
|
+
expiresAt?: Date;
|
|
1244
|
+
prefill?: Prefill;
|
|
1245
|
+
};
|
|
1246
|
+
export type LocationSummary = {
|
|
1247
|
+
id: number;
|
|
1248
|
+
parentId?: number;
|
|
1249
|
+
type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
1250
|
+
names: {
|
|
1251
|
+
[key: string]: string;
|
|
1252
|
+
};
|
|
1253
|
+
fullNames: {
|
|
1254
|
+
[key: string]: string;
|
|
1255
|
+
};
|
|
1256
|
+
viewport: Viewport;
|
|
1257
|
+
};
|
|
1258
|
+
export type Owner = {
|
|
1259
|
+
id?: number;
|
|
1260
|
+
name?: string;
|
|
1261
|
+
phone?: string;
|
|
1262
|
+
};
|
|
1263
|
+
export type Prefill = {
|
|
1264
|
+
owner?: Owner;
|
|
1265
|
+
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';
|
|
1266
|
+
place?: LocationSummary;
|
|
1267
|
+
spaces?: {
|
|
1268
|
+
[key: string]: Array<number>;
|
|
1269
|
+
};
|
|
1270
|
+
totalArea?: number;
|
|
1271
|
+
livingArea?: number;
|
|
1272
|
+
balconyArea?: number;
|
|
1273
|
+
status?: 'OLD_BUILDING' | 'NEW_BUILDING' | 'UNDER_CONSTRUCTION' | 'FINISHED';
|
|
1274
|
+
condition?: 'NEWLY_RENOVATED' | 'OLD_RENOVATED' | 'CURRENT_RENOVATION' | 'REPAIRING' | 'WHITE_FRAME' | 'BLACK_FRAME' | 'GREEN_FRAME' | 'WHITE_PLUS';
|
|
1275
|
+
totalFloors?: number;
|
|
1276
|
+
floorAt?: number;
|
|
1277
|
+
amenities?: Array<number>;
|
|
1278
|
+
title?: string;
|
|
1279
|
+
description?: string;
|
|
1280
|
+
offer?: Offer;
|
|
1281
|
+
};
|
|
1282
|
+
export type Viewport = {
|
|
1283
|
+
south: number;
|
|
1284
|
+
west: number;
|
|
1285
|
+
north: number;
|
|
1286
|
+
east: number;
|
|
1287
|
+
};
|
|
1156
1288
|
export type AddressResponse = {
|
|
1157
1289
|
region: LocationResponse;
|
|
1158
1290
|
district: LocationResponse;
|
|
@@ -1385,13 +1517,17 @@ export type DealResponse = {
|
|
|
1385
1517
|
export type PlatformListingResponse = {
|
|
1386
1518
|
platformId?: number;
|
|
1387
1519
|
platformType: 'SS' | 'MY_HOME';
|
|
1388
|
-
status: 'PENDING' | 'SYNDICATED' | 'FAILED' | 'EXPIRED' | 'WITHDRAWING' | 'WITHDRAWN';
|
|
1520
|
+
status: 'PENDING' | 'SYNDICATED' | 'FAILED' | 'EXPIRED' | 'WITHDRAWING' | 'WITHDRAWN' | 'MANUAL';
|
|
1389
1521
|
listedAt?: Date;
|
|
1390
1522
|
expiresAt?: Date;
|
|
1391
1523
|
renewedAt?: Date;
|
|
1392
1524
|
failureReason?: string;
|
|
1393
1525
|
boost?: BoostResponse;
|
|
1394
1526
|
coloredListing?: ColoredListingResponse;
|
|
1527
|
+
/**
|
|
1528
|
+
* Opens the listing on the portal, once the portal gave it a number
|
|
1529
|
+
*/
|
|
1530
|
+
url?: string;
|
|
1395
1531
|
};
|
|
1396
1532
|
export type PropertyCloseReasonResponse = {
|
|
1397
1533
|
closedAt: Date;
|
|
@@ -1783,21 +1919,12 @@ export type ListingGridResponse = {
|
|
|
1783
1919
|
agreementExpiresAt?: Date;
|
|
1784
1920
|
propertyState: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
1785
1921
|
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1786
|
-
/**
|
|
1787
|
-
* Whether the agency still works the listing; null for a property without one
|
|
1788
|
-
*/
|
|
1789
1922
|
listingState?: 'OPEN' | 'CLOSED';
|
|
1790
|
-
/**
|
|
1791
|
-
* The listing on HomeSpot's own marketplace; null for a property without one
|
|
1792
|
-
*/
|
|
1793
1923
|
marketplaceStatus?: 'ACTIVE' | 'PAUSED' | 'EXPIRED';
|
|
1794
1924
|
price?: number;
|
|
1795
1925
|
commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
1796
1926
|
commission?: number;
|
|
1797
1927
|
platforms: Array<PlatformView>;
|
|
1798
|
-
/**
|
|
1799
|
-
* Where the listing is posted on Facebook / Instagram: the latest published post per channel
|
|
1800
|
-
*/
|
|
1801
1928
|
socialPosts: Array<SocialPostLink>;
|
|
1802
1929
|
createdAt: Date;
|
|
1803
1930
|
updatedAt: Date;
|
|
@@ -1809,19 +1936,14 @@ export type PagedModelListingGridResponse = {
|
|
|
1809
1936
|
export type PlatformView = {
|
|
1810
1937
|
platformId?: number;
|
|
1811
1938
|
platform?: 'SS' | 'MY_HOME';
|
|
1812
|
-
|
|
1813
|
-
* PENDING until the portal answers; SYNDICATED while live
|
|
1814
|
-
*/
|
|
1815
|
-
status: 'PENDING' | 'SYNDICATED' | 'FAILED' | 'EXPIRED' | 'WITHDRAWING' | 'WITHDRAWN';
|
|
1939
|
+
status: 'PENDING' | 'SYNDICATED' | 'FAILED' | 'EXPIRED' | 'WITHDRAWING' | 'WITHDRAWN' | 'MANUAL';
|
|
1816
1940
|
expiresAt?: Date;
|
|
1817
1941
|
tier?: 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
|
|
1818
1942
|
boostExpiresAt?: Date;
|
|
1943
|
+
url?: string;
|
|
1819
1944
|
};
|
|
1820
1945
|
export type SocialPostLink = {
|
|
1821
1946
|
channel: 'FACEBOOK' | 'INSTAGRAM';
|
|
1822
|
-
/**
|
|
1823
|
-
* Opens the post on Facebook / Instagram
|
|
1824
|
-
*/
|
|
1825
1947
|
permalink: string;
|
|
1826
1948
|
};
|
|
1827
1949
|
export type GroupCount = {
|
|
@@ -2219,6 +2341,10 @@ export type MemberCurationView = {
|
|
|
2219
2341
|
profilePictureUrl?: string;
|
|
2220
2342
|
isFeatured?: boolean;
|
|
2221
2343
|
};
|
|
2344
|
+
export type ExternalListingManualRemoveRequest = {
|
|
2345
|
+
listingId: number;
|
|
2346
|
+
platform: 'SS' | 'MY_HOME';
|
|
2347
|
+
};
|
|
2222
2348
|
export type PutWhitelabelWebsiteData = {
|
|
2223
2349
|
body: WebsiteRequest;
|
|
2224
2350
|
path?: never;
|
|
@@ -3028,6 +3154,36 @@ export type PutContactByContactIdUpdateContactDetailsResponses = {
|
|
|
3028
3154
|
204: void;
|
|
3029
3155
|
};
|
|
3030
3156
|
export type PutContactByContactIdUpdateContactDetailsResponse = PutContactByContactIdUpdateContactDetailsResponses[keyof PutContactByContactIdUpdateContactDetailsResponses];
|
|
3157
|
+
export type DeleteContactByContactIdPropertyByPropertyIdExternalListingManualData = {
|
|
3158
|
+
body: ExternalListingManualRemoveRequest;
|
|
3159
|
+
path: {
|
|
3160
|
+
contactId: number;
|
|
3161
|
+
propertyId: number;
|
|
3162
|
+
};
|
|
3163
|
+
query?: never;
|
|
3164
|
+
url: '/contact/{contactId}/property/{propertyId}/external-listing/manual';
|
|
3165
|
+
};
|
|
3166
|
+
export type DeleteContactByContactIdPropertyByPropertyIdExternalListingManualResponses = {
|
|
3167
|
+
/**
|
|
3168
|
+
* OK
|
|
3169
|
+
*/
|
|
3170
|
+
200: unknown;
|
|
3171
|
+
};
|
|
3172
|
+
export type PutContactByContactIdPropertyByPropertyIdExternalListingManualData = {
|
|
3173
|
+
body: ExternalListingManualSaveRequest;
|
|
3174
|
+
path: {
|
|
3175
|
+
contactId: number;
|
|
3176
|
+
propertyId: number;
|
|
3177
|
+
};
|
|
3178
|
+
query?: never;
|
|
3179
|
+
url: '/contact/{contactId}/property/{propertyId}/external-listing/manual';
|
|
3180
|
+
};
|
|
3181
|
+
export type PutContactByContactIdPropertyByPropertyIdExternalListingManualResponses = {
|
|
3182
|
+
/**
|
|
3183
|
+
* OK
|
|
3184
|
+
*/
|
|
3185
|
+
200: unknown;
|
|
3186
|
+
};
|
|
3031
3187
|
export type PutContactByContactIdAssignmentData = {
|
|
3032
3188
|
body: ReassignMemberRequest;
|
|
3033
3189
|
path: {
|
|
@@ -3712,6 +3868,60 @@ export type PostPublicWebhooksFlittResponses = {
|
|
|
3712
3868
|
*/
|
|
3713
3869
|
200: unknown;
|
|
3714
3870
|
};
|
|
3871
|
+
export type GetPublicTelegramPropertyFormsByFormIdData = {
|
|
3872
|
+
body?: never;
|
|
3873
|
+
headers?: {
|
|
3874
|
+
'X-Telegram-Init-Data'?: string;
|
|
3875
|
+
};
|
|
3876
|
+
path: {
|
|
3877
|
+
formId: string;
|
|
3878
|
+
};
|
|
3879
|
+
query?: never;
|
|
3880
|
+
url: '/public/telegram/property-forms/{formId}';
|
|
3881
|
+
};
|
|
3882
|
+
export type GetPublicTelegramPropertyFormsByFormIdResponses = {
|
|
3883
|
+
/**
|
|
3884
|
+
* OK
|
|
3885
|
+
*/
|
|
3886
|
+
200: Form;
|
|
3887
|
+
};
|
|
3888
|
+
export type GetPublicTelegramPropertyFormsByFormIdResponse = GetPublicTelegramPropertyFormsByFormIdResponses[keyof GetPublicTelegramPropertyFormsByFormIdResponses];
|
|
3889
|
+
export type PostPublicTelegramPropertyFormsByFormIdData = {
|
|
3890
|
+
body: Submission;
|
|
3891
|
+
headers?: {
|
|
3892
|
+
'X-Telegram-Init-Data'?: string;
|
|
3893
|
+
};
|
|
3894
|
+
path: {
|
|
3895
|
+
formId: string;
|
|
3896
|
+
};
|
|
3897
|
+
query?: never;
|
|
3898
|
+
url: '/public/telegram/property-forms/{formId}';
|
|
3899
|
+
};
|
|
3900
|
+
export type PostPublicTelegramPropertyFormsByFormIdResponses = {
|
|
3901
|
+
/**
|
|
3902
|
+
* No Content
|
|
3903
|
+
*/
|
|
3904
|
+
204: void;
|
|
3905
|
+
};
|
|
3906
|
+
export type PostPublicTelegramPropertyFormsByFormIdResponse = PostPublicTelegramPropertyFormsByFormIdResponses[keyof PostPublicTelegramPropertyFormsByFormIdResponses];
|
|
3907
|
+
export type PostPublicTelegramPropertyFormsByFormIdPhotosData = {
|
|
3908
|
+
body: PhotosRequest;
|
|
3909
|
+
headers?: {
|
|
3910
|
+
'X-Telegram-Init-Data'?: string;
|
|
3911
|
+
};
|
|
3912
|
+
path: {
|
|
3913
|
+
formId: string;
|
|
3914
|
+
};
|
|
3915
|
+
query?: never;
|
|
3916
|
+
url: '/public/telegram/property-forms/{formId}/photos';
|
|
3917
|
+
};
|
|
3918
|
+
export type PostPublicTelegramPropertyFormsByFormIdPhotosResponses = {
|
|
3919
|
+
/**
|
|
3920
|
+
* OK
|
|
3921
|
+
*/
|
|
3922
|
+
200: Array<PresignedUrlResponse>;
|
|
3923
|
+
};
|
|
3924
|
+
export type PostPublicTelegramPropertyFormsByFormIdPhotosResponse = PostPublicTelegramPropertyFormsByFormIdPhotosResponses[keyof PostPublicTelegramPropertyFormsByFormIdPhotosResponses];
|
|
3715
3925
|
export type PostPublicRecomendationsByTokenListingsByExternalListingIdRateData = {
|
|
3716
3926
|
body: RateRecommendationItemRequest;
|
|
3717
3927
|
path: {
|
|
@@ -4397,6 +4607,7 @@ export type GetContactData = {
|
|
|
4397
4607
|
hasOpenTask?: boolean;
|
|
4398
4608
|
assignedTo?: Array<string>;
|
|
4399
4609
|
createdBy?: string;
|
|
4610
|
+
contactId?: number;
|
|
4400
4611
|
contactName?: string;
|
|
4401
4612
|
contactPhone?: string;
|
|
4402
4613
|
contactEmail?: string;
|
|
@@ -4405,6 +4616,8 @@ export type GetContactData = {
|
|
|
4405
4616
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
4406
4617
|
createdFrom?: Date;
|
|
4407
4618
|
createdTo?: Date;
|
|
4619
|
+
updatedFrom?: Date;
|
|
4620
|
+
updatedTo?: Date;
|
|
4408
4621
|
/**
|
|
4409
4622
|
* Zero-based page index (0..N)
|
|
4410
4623
|
*/
|
|
@@ -4485,19 +4698,6 @@ export type PostContactByContactIdPropertyByPropertyIdExternalListingBoostRespon
|
|
|
4485
4698
|
*/
|
|
4486
4699
|
200: unknown;
|
|
4487
4700
|
};
|
|
4488
|
-
export type PostContactSourceData = {
|
|
4489
|
-
body: OnboardFromSourceRequest;
|
|
4490
|
-
path?: never;
|
|
4491
|
-
query?: never;
|
|
4492
|
-
url: '/contact/source';
|
|
4493
|
-
};
|
|
4494
|
-
export type PostContactSourceResponses = {
|
|
4495
|
-
/**
|
|
4496
|
-
* Created
|
|
4497
|
-
*/
|
|
4498
|
-
201: IdResponseLong;
|
|
4499
|
-
};
|
|
4500
|
-
export type PostContactSourceResponse = PostContactSourceResponses[keyof PostContactSourceResponses];
|
|
4501
4701
|
export type GetBoardData = {
|
|
4502
4702
|
body?: never;
|
|
4503
4703
|
path?: never;
|
|
@@ -4769,6 +4969,26 @@ export type GetStatsContactsAcquisitionResponses = {
|
|
|
4769
4969
|
200: ContactAcquisitionResponse;
|
|
4770
4970
|
};
|
|
4771
4971
|
export type GetStatsContactsAcquisitionResponse = GetStatsContactsAcquisitionResponses[keyof GetStatsContactsAcquisitionResponses];
|
|
4972
|
+
export type GetPublicTelegramPropertyFormsByFormIdOwnersData = {
|
|
4973
|
+
body?: never;
|
|
4974
|
+
headers?: {
|
|
4975
|
+
'X-Telegram-Init-Data'?: string;
|
|
4976
|
+
};
|
|
4977
|
+
path: {
|
|
4978
|
+
formId: string;
|
|
4979
|
+
};
|
|
4980
|
+
query: {
|
|
4981
|
+
query: string;
|
|
4982
|
+
};
|
|
4983
|
+
url: '/public/telegram/property-forms/{formId}/owners';
|
|
4984
|
+
};
|
|
4985
|
+
export type GetPublicTelegramPropertyFormsByFormIdOwnersResponses = {
|
|
4986
|
+
/**
|
|
4987
|
+
* OK
|
|
4988
|
+
*/
|
|
4989
|
+
200: Array<Owner>;
|
|
4990
|
+
};
|
|
4991
|
+
export type GetPublicTelegramPropertyFormsByFormIdOwnersResponse = GetPublicTelegramPropertyFormsByFormIdOwnersResponses[keyof GetPublicTelegramPropertyFormsByFormIdOwnersResponses];
|
|
4772
4992
|
export type GetPublicRecomendationsByTokenItemsData = {
|
|
4773
4993
|
body?: never;
|
|
4774
4994
|
path: {
|
|
@@ -5207,6 +5427,9 @@ export type GetListingData = {
|
|
|
5207
5427
|
body?: never;
|
|
5208
5428
|
path?: never;
|
|
5209
5429
|
query?: {
|
|
5430
|
+
propertyId?: number;
|
|
5431
|
+
listingId?: number;
|
|
5432
|
+
ssId?: number;
|
|
5210
5433
|
states?: Array<'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED'>;
|
|
5211
5434
|
agreementTypes?: Array<'EXCLUSIVE' | 'NON_EXCLUSIVE'>;
|
|
5212
5435
|
agreementExpiresFrom?: Date;
|
|
@@ -5225,6 +5448,8 @@ export type GetListingData = {
|
|
|
5225
5448
|
priceMax?: number;
|
|
5226
5449
|
createdFrom?: Date;
|
|
5227
5450
|
createdTo?: Date;
|
|
5451
|
+
updatedFrom?: Date;
|
|
5452
|
+
updatedTo?: Date;
|
|
5228
5453
|
platforms?: Array<'SS' | 'MY_HOME'>;
|
|
5229
5454
|
platformExpiresFrom?: Date;
|
|
5230
5455
|
platformExpiresTo?: Date;
|
|
@@ -5259,6 +5484,9 @@ export type GetListingGroupsData = {
|
|
|
5259
5484
|
path?: never;
|
|
5260
5485
|
query: {
|
|
5261
5486
|
groupBy: 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'ASSIGNED_TO' | 'CONTACT' | 'DISTRICT' | 'PLATFORM' | 'BOOST_TIER' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
5487
|
+
propertyId?: number;
|
|
5488
|
+
listingId?: number;
|
|
5489
|
+
ssId?: number;
|
|
5262
5490
|
states?: Array<'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED'>;
|
|
5263
5491
|
agreementTypes?: Array<'EXCLUSIVE' | 'NON_EXCLUSIVE'>;
|
|
5264
5492
|
agreementExpiresFrom?: Date;
|
|
@@ -5277,6 +5505,8 @@ export type GetListingGroupsData = {
|
|
|
5277
5505
|
priceMax?: number;
|
|
5278
5506
|
createdFrom?: Date;
|
|
5279
5507
|
createdTo?: Date;
|
|
5508
|
+
updatedFrom?: Date;
|
|
5509
|
+
updatedTo?: Date;
|
|
5280
5510
|
platforms?: Array<'SS' | 'MY_HOME'>;
|
|
5281
5511
|
platformExpiresFrom?: Date;
|
|
5282
5512
|
platformExpiresTo?: Date;
|
|
@@ -5298,6 +5528,7 @@ export type GetInterestData = {
|
|
|
5298
5528
|
body?: never;
|
|
5299
5529
|
path?: never;
|
|
5300
5530
|
query?: {
|
|
5531
|
+
interestId?: number;
|
|
5301
5532
|
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
5302
5533
|
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
5303
5534
|
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'>;
|
|
@@ -5306,7 +5537,7 @@ export type GetInterestData = {
|
|
|
5306
5537
|
contactName?: string;
|
|
5307
5538
|
contactPhone?: string;
|
|
5308
5539
|
assignedTo?: Array<string>;
|
|
5309
|
-
createdBy?: string
|
|
5540
|
+
createdBy?: Array<string>;
|
|
5310
5541
|
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
5311
5542
|
locationId?: string;
|
|
5312
5543
|
priceMin?: number;
|
|
@@ -5363,6 +5594,7 @@ export type GetInterestGroupsData = {
|
|
|
5363
5594
|
path?: never;
|
|
5364
5595
|
query: {
|
|
5365
5596
|
groupBy: 'STATUS' | 'LISTING_TYPE' | 'PROPERTY_TYPE' | 'ASSIGNED_TO' | 'CREATED_BY' | 'CONTACT' | 'DISTRICT' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
5597
|
+
interestId?: number;
|
|
5366
5598
|
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
5367
5599
|
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
5368
5600
|
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'>;
|
|
@@ -5371,7 +5603,7 @@ export type GetInterestGroupsData = {
|
|
|
5371
5603
|
contactName?: string;
|
|
5372
5604
|
contactPhone?: string;
|
|
5373
5605
|
assignedTo?: Array<string>;
|
|
5374
|
-
createdBy?: string
|
|
5606
|
+
createdBy?: Array<string>;
|
|
5375
5607
|
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
5376
5608
|
locationId?: string;
|
|
5377
5609
|
priceMin?: number;
|
|
@@ -5644,6 +5876,7 @@ export type GetContactGroupsData = {
|
|
|
5644
5876
|
hasOpenTask?: boolean;
|
|
5645
5877
|
assignedTo?: Array<string>;
|
|
5646
5878
|
createdBy?: string;
|
|
5879
|
+
contactId?: number;
|
|
5647
5880
|
contactName?: string;
|
|
5648
5881
|
contactPhone?: string;
|
|
5649
5882
|
contactEmail?: string;
|
|
@@ -5652,6 +5885,8 @@ export type GetContactGroupsData = {
|
|
|
5652
5885
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
5653
5886
|
createdFrom?: Date;
|
|
5654
5887
|
createdTo?: Date;
|
|
5888
|
+
updatedFrom?: Date;
|
|
5889
|
+
updatedTo?: Date;
|
|
5655
5890
|
};
|
|
5656
5891
|
url: '/contact/groups';
|
|
5657
5892
|
};
|