@homespot-sdk/core 0.0.362 → 0.0.364
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/property/client.gen.d.ts.map +1 -1
- package/dist/property/client.gen.js +1 -3
- package/dist/property/client.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +1 -1
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.js +1 -3
- package/dist/rem/client.gen.js.map +1 -1
- 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 +916 -67
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +1095 -90
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +20 -13
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +55 -11
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +37 -4
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +561 -52
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1513 -214
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +933 -70
- package/dist/rem/zod.gen.js.map +1 -1
- package/dist/utils/client.gen.d.ts.map +1 -1
- package/dist/utils/client.gen.js +1 -3
- package/dist/utils/client.gen.js.map +1 -1
- package/dist/utils/types.gen.d.ts +1 -1
- package/dist/utils/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl:
|
|
2
|
+
baseUrl: `${string}://${string}/rem` | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type WebsiteRequest = {
|
|
5
5
|
url?: string;
|
|
@@ -215,6 +215,22 @@ export type UploadAcknowledgmentResponse = {
|
|
|
215
215
|
success: Array<string>;
|
|
216
216
|
fail: Array<string>;
|
|
217
217
|
};
|
|
218
|
+
export type PlanLimitResponse = {
|
|
219
|
+
type?: string;
|
|
220
|
+
title?: string;
|
|
221
|
+
status?: number;
|
|
222
|
+
detail?: string;
|
|
223
|
+
instance?: string;
|
|
224
|
+
limit: 'SEATS' | 'ACTIVE_LISTINGS' | 'SOCIAL_POSTS' | 'AGENCY_BRANDING';
|
|
225
|
+
/**
|
|
226
|
+
* How many are in use now; absent for a feature
|
|
227
|
+
*/
|
|
228
|
+
used?: number;
|
|
229
|
+
/**
|
|
230
|
+
* How many the plan allows; absent for a feature
|
|
231
|
+
*/
|
|
232
|
+
allowed?: number;
|
|
233
|
+
};
|
|
218
234
|
export type ConnectLinkResponse = {
|
|
219
235
|
link?: string;
|
|
220
236
|
expiresAt?: Date;
|
|
@@ -252,8 +268,14 @@ export type CreateAdHocTodoRequest = {
|
|
|
252
268
|
title: string;
|
|
253
269
|
};
|
|
254
270
|
export type SubscribeRequest = {
|
|
255
|
-
|
|
256
|
-
|
|
271
|
+
/**
|
|
272
|
+
* PLUS or PRO to check out right away, FREE to start on Free without the trial; absent to start on the trial only
|
|
273
|
+
*/
|
|
274
|
+
plan?: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
275
|
+
/**
|
|
276
|
+
* Required with PLUS or PRO
|
|
277
|
+
*/
|
|
278
|
+
billingCycle?: 'MONTHLY' | 'ANNUAL';
|
|
257
279
|
name: string;
|
|
258
280
|
email: string;
|
|
259
281
|
phone: string;
|
|
@@ -269,24 +291,95 @@ export type SubscriptionAddressRequest = {
|
|
|
269
291
|
};
|
|
270
292
|
export type SubscriptionCheckoutResponse = {
|
|
271
293
|
/**
|
|
272
|
-
* Null when payment is already confirmed
|
|
294
|
+
* Null when payment is already confirmed, or a signup picked no plan
|
|
273
295
|
*/
|
|
274
296
|
checkoutUrl?: string;
|
|
275
297
|
agencyId?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Null for a signup that picked no plan: the agency is on its trial
|
|
300
|
+
*/
|
|
276
301
|
subscriptionId?: string;
|
|
277
302
|
status?: 'PENDING' | 'TRIALING' | 'ACTIVE' | 'PAST_DUE' | 'CANCELLED' | 'EXPIRED' | 'SUPERSEDED';
|
|
278
303
|
};
|
|
279
304
|
export type ChangePlanRequest = {
|
|
280
|
-
plan: '
|
|
305
|
+
plan: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
281
306
|
billingCycle: 'MONTHLY' | 'ANNUAL';
|
|
282
307
|
};
|
|
283
308
|
export type CheckoutRequest = {
|
|
284
|
-
plan?: '
|
|
309
|
+
plan?: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
285
310
|
billingCycle?: 'MONTHLY' | 'ANNUAL';
|
|
286
311
|
};
|
|
287
312
|
export type IdResponseInteger = {
|
|
288
313
|
id: number;
|
|
289
314
|
};
|
|
315
|
+
export type AddressNames = {
|
|
316
|
+
region?: {
|
|
317
|
+
[key: string]: string;
|
|
318
|
+
};
|
|
319
|
+
district?: {
|
|
320
|
+
[key: string]: string;
|
|
321
|
+
};
|
|
322
|
+
subdistrict?: {
|
|
323
|
+
[key: string]: string;
|
|
324
|
+
};
|
|
325
|
+
street?: {
|
|
326
|
+
[key: string]: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
export type AddressRef = {
|
|
330
|
+
regionId?: number;
|
|
331
|
+
districtId?: number;
|
|
332
|
+
subdistrictId?: number;
|
|
333
|
+
streetId?: number;
|
|
334
|
+
names?: AddressNames;
|
|
335
|
+
cadastreCode?: string;
|
|
336
|
+
coordinates?: Coordinates;
|
|
337
|
+
};
|
|
338
|
+
export type Coordinates = {
|
|
339
|
+
lat?: number;
|
|
340
|
+
lng?: number;
|
|
341
|
+
};
|
|
342
|
+
export type Offer = {
|
|
343
|
+
deal: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
344
|
+
price: number;
|
|
345
|
+
};
|
|
346
|
+
export type PhotoInternalRequest = {
|
|
347
|
+
photo: string;
|
|
348
|
+
width: number;
|
|
349
|
+
height?: number;
|
|
350
|
+
};
|
|
351
|
+
export type PropertyCreationRequest = {
|
|
352
|
+
draftId: string;
|
|
353
|
+
contactId?: number;
|
|
354
|
+
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';
|
|
355
|
+
address: AddressRef;
|
|
356
|
+
photoUrls: Array<PhotoInternalRequest>;
|
|
357
|
+
/**
|
|
358
|
+
* Areas per space type. A null entry records a space whose area is unknown.
|
|
359
|
+
*/
|
|
360
|
+
spaces: {
|
|
361
|
+
[key: string]: Array<number>;
|
|
362
|
+
};
|
|
363
|
+
totalArea: number;
|
|
364
|
+
livingArea?: number;
|
|
365
|
+
balconyArea?: number;
|
|
366
|
+
status?: 'OLD_BUILDING' | 'NEW_BUILDING' | 'UNDER_CONSTRUCTION' | 'FINISHED';
|
|
367
|
+
condition?: 'NEWLY_RENOVATED' | 'OLD_RENOVATED' | 'CURRENT_RENOVATION' | 'REPAIRING' | 'WHITE_FRAME' | 'BLACK_FRAME' | 'GREEN_FRAME' | 'WHITE_PLUS';
|
|
368
|
+
totalFloors?: number;
|
|
369
|
+
floorAt?: number;
|
|
370
|
+
amenities: Array<number>;
|
|
371
|
+
title: string;
|
|
372
|
+
description: {
|
|
373
|
+
[key: string]: string;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
export type Submission = {
|
|
377
|
+
property: PropertyCreationRequest;
|
|
378
|
+
offer?: Offer;
|
|
379
|
+
};
|
|
380
|
+
export type PhotosRequest = {
|
|
381
|
+
photos: Array<PhotoRequest>;
|
|
382
|
+
};
|
|
290
383
|
export type ContactInfoRequest = {
|
|
291
384
|
firstName?: string;
|
|
292
385
|
lastName?: string;
|
|
@@ -605,35 +698,32 @@ export type AddTodoTemplateRequest = {
|
|
|
605
698
|
*/
|
|
606
699
|
applyToTasksInStage: boolean;
|
|
607
700
|
};
|
|
608
|
-
export type
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
*/
|
|
612
|
-
ownerUserId: string;
|
|
613
|
-
name: string;
|
|
614
|
-
email: string;
|
|
615
|
-
phone: string;
|
|
616
|
-
subdomain: string;
|
|
617
|
-
address: SubscriptionAddressRequest;
|
|
618
|
-
plan: 'STARTER' | 'PRO' | 'ENTERPRISE';
|
|
701
|
+
export type AdminCheckoutRequest = {
|
|
702
|
+
agencyId: string;
|
|
703
|
+
plan: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
619
704
|
billingCycle: 'MONTHLY' | 'ANNUAL';
|
|
620
705
|
/**
|
|
621
|
-
* Exact per-cycle
|
|
706
|
+
* Exact per-cycle net price in minor units (tetri), VAT excluded
|
|
622
707
|
*/
|
|
623
708
|
priceMinorUnits: number;
|
|
624
709
|
seats: number;
|
|
710
|
+
activeListings: number;
|
|
625
711
|
/**
|
|
626
|
-
*
|
|
712
|
+
* AI messages the agency shares each month; 0 means no AI
|
|
627
713
|
*/
|
|
628
|
-
|
|
714
|
+
aiMessages: number;
|
|
715
|
+
features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
|
|
629
716
|
/**
|
|
630
717
|
* Free-trial days; 0 charges immediately
|
|
631
718
|
*/
|
|
632
719
|
trialDays: number;
|
|
720
|
+
/**
|
|
721
|
+
* Months the price lasts (monthly billing only; the checkout charges the first). After them Flitt charges nothing more and the owner keeps the plan at its normal price by a plan change. Absent: until the plan changes
|
|
722
|
+
*/
|
|
723
|
+
discountMonths?: number;
|
|
633
724
|
};
|
|
634
|
-
export type
|
|
725
|
+
export type AdminCheckoutResponse = {
|
|
635
726
|
checkoutUrl?: string;
|
|
636
|
-
agencyId?: string;
|
|
637
727
|
subscriptionId?: string;
|
|
638
728
|
};
|
|
639
729
|
export type PositionTaskRequest = {
|
|
@@ -662,6 +752,10 @@ export type OrganizationSummaryViewResponse = {
|
|
|
662
752
|
status: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' | 'SUSPENDED';
|
|
663
753
|
phone: string;
|
|
664
754
|
isPhoneVerified: boolean;
|
|
755
|
+
/**
|
|
756
|
+
* Past the seats the agency's plan has after a downgrade: locked out until the owner upgrades or removes a member
|
|
757
|
+
*/
|
|
758
|
+
isSeatLocked: boolean;
|
|
665
759
|
};
|
|
666
760
|
export type UserContextViewResponse = {
|
|
667
761
|
user: UserSummaryViewResponse;
|
|
@@ -913,15 +1007,32 @@ export type StageCardsResponse = {
|
|
|
913
1007
|
};
|
|
914
1008
|
export type SubscriptionResponse = {
|
|
915
1009
|
subscriptionId: string;
|
|
916
|
-
plan: '
|
|
1010
|
+
plan: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
917
1011
|
billingCycle: 'MONTHLY' | 'ANNUAL';
|
|
918
1012
|
/**
|
|
919
|
-
* Per-cycle
|
|
1013
|
+
* Per-cycle charge in minor units (tetri), VAT included
|
|
920
1014
|
*/
|
|
921
1015
|
priceMinorUnits: number;
|
|
1016
|
+
/**
|
|
1017
|
+
* The charge without VAT, in minor units
|
|
1018
|
+
*/
|
|
1019
|
+
netMinorUnits: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* The VAT inside the charge, in minor units
|
|
1022
|
+
*/
|
|
1023
|
+
vatMinorUnits: number;
|
|
1024
|
+
/**
|
|
1025
|
+
* The VAT rate the subscription was sold at, in percent
|
|
1026
|
+
*/
|
|
1027
|
+
vatPercent: number;
|
|
922
1028
|
currency: string;
|
|
923
1029
|
seats: number;
|
|
924
|
-
|
|
1030
|
+
activeListings: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* AI messages the agency shares each month; 0 means no AI
|
|
1033
|
+
*/
|
|
1034
|
+
aiMessages: number;
|
|
1035
|
+
features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
|
|
925
1036
|
trialDays: number;
|
|
926
1037
|
status: 'PENDING' | 'TRIALING' | 'ACTIVE' | 'PAST_DUE' | 'CANCELLED' | 'EXPIRED' | 'SUPERSEDED';
|
|
927
1038
|
/**
|
|
@@ -943,6 +1054,48 @@ export type SubscriptionResponse = {
|
|
|
943
1054
|
* When the most recently issued checkout link stops being payable
|
|
944
1055
|
*/
|
|
945
1056
|
checkoutExpiresAt?: Date;
|
|
1057
|
+
/**
|
|
1058
|
+
* Until when its discounted price applies; absent for any other price
|
|
1059
|
+
*/
|
|
1060
|
+
discountEndsAt?: Date;
|
|
1061
|
+
};
|
|
1062
|
+
export type AiMessages = {
|
|
1063
|
+
used: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* Shared by the whole agency
|
|
1066
|
+
*/
|
|
1067
|
+
limit: number;
|
|
1068
|
+
/**
|
|
1069
|
+
* When the allowance renews: the next 1st in Tbilisi; absent during the trial, whose allowance covers all of it
|
|
1070
|
+
*/
|
|
1071
|
+
resetsAt?: Date;
|
|
1072
|
+
};
|
|
1073
|
+
export type PlanResponse = {
|
|
1074
|
+
plan: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
1075
|
+
/**
|
|
1076
|
+
* Whether the caller may change the plan: the owner
|
|
1077
|
+
*/
|
|
1078
|
+
canManage: boolean;
|
|
1079
|
+
/**
|
|
1080
|
+
* Present only during the trial every new agency starts with
|
|
1081
|
+
*/
|
|
1082
|
+
trial?: Trial;
|
|
1083
|
+
/**
|
|
1084
|
+
* The subscription access comes from; absent on Free
|
|
1085
|
+
*/
|
|
1086
|
+
subscription?: SubscriptionResponse;
|
|
1087
|
+
seats: Usage;
|
|
1088
|
+
activeListings: Usage;
|
|
1089
|
+
aiMessages: AiMessages;
|
|
1090
|
+
boards: Usage;
|
|
1091
|
+
features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
|
|
1092
|
+
};
|
|
1093
|
+
export type Trial = {
|
|
1094
|
+
endsAt: Date;
|
|
1095
|
+
};
|
|
1096
|
+
export type Usage = {
|
|
1097
|
+
used: number;
|
|
1098
|
+
limit: number;
|
|
946
1099
|
};
|
|
947
1100
|
export type PaymentResponse = {
|
|
948
1101
|
id: string;
|
|
@@ -958,7 +1111,22 @@ export type PaymentResponse = {
|
|
|
958
1111
|
* What the platform did with it
|
|
959
1112
|
*/
|
|
960
1113
|
outcome: 'APPLIED' | 'TRIAL_STARTED' | 'DUPLICATE' | 'NOT_APPLIED_CANCELLED' | 'NOT_APPLIED_SUPERSEDED' | 'REJECTED_AMOUNT' | 'REJECTED_CURRENCY' | 'IGNORED_TRANSACTION_TYPE' | 'DECLINED' | 'REVERSED' | 'REVERSAL_IGNORED' | 'RECORDED';
|
|
1114
|
+
/**
|
|
1115
|
+
* VAT included
|
|
1116
|
+
*/
|
|
961
1117
|
amountMinorUnits?: number;
|
|
1118
|
+
/**
|
|
1119
|
+
* The amount without VAT, at the subscription's rate
|
|
1120
|
+
*/
|
|
1121
|
+
netMinorUnits?: number;
|
|
1122
|
+
/**
|
|
1123
|
+
* The VAT inside the amount
|
|
1124
|
+
*/
|
|
1125
|
+
vatMinorUnits?: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* The subscription's VAT rate, in percent
|
|
1128
|
+
*/
|
|
1129
|
+
vatPercent: number;
|
|
962
1130
|
currency?: string;
|
|
963
1131
|
responseCode?: string;
|
|
964
1132
|
responseDescription?: string;
|
|
@@ -1053,6 +1221,54 @@ export type RoleResponse = {
|
|
|
1053
1221
|
description: string;
|
|
1054
1222
|
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'>;
|
|
1055
1223
|
};
|
|
1224
|
+
export type Form = {
|
|
1225
|
+
id?: string;
|
|
1226
|
+
state?: 'OPEN' | 'SENT' | 'REPLACED' | 'EXPIRED';
|
|
1227
|
+
expiresAt?: Date;
|
|
1228
|
+
prefill?: Prefill;
|
|
1229
|
+
};
|
|
1230
|
+
export type LocationSummary = {
|
|
1231
|
+
id: number;
|
|
1232
|
+
parentId?: number;
|
|
1233
|
+
type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
1234
|
+
names: {
|
|
1235
|
+
[key: string]: string;
|
|
1236
|
+
};
|
|
1237
|
+
fullNames: {
|
|
1238
|
+
[key: string]: string;
|
|
1239
|
+
};
|
|
1240
|
+
viewport: Viewport;
|
|
1241
|
+
};
|
|
1242
|
+
export type Owner = {
|
|
1243
|
+
id?: number;
|
|
1244
|
+
name?: string;
|
|
1245
|
+
phone?: string;
|
|
1246
|
+
};
|
|
1247
|
+
export type Prefill = {
|
|
1248
|
+
owner?: Owner;
|
|
1249
|
+
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';
|
|
1250
|
+
place?: LocationSummary;
|
|
1251
|
+
spaces?: {
|
|
1252
|
+
[key: string]: Array<number>;
|
|
1253
|
+
};
|
|
1254
|
+
totalArea?: number;
|
|
1255
|
+
livingArea?: number;
|
|
1256
|
+
balconyArea?: number;
|
|
1257
|
+
status?: 'OLD_BUILDING' | 'NEW_BUILDING' | 'UNDER_CONSTRUCTION' | 'FINISHED';
|
|
1258
|
+
condition?: 'NEWLY_RENOVATED' | 'OLD_RENOVATED' | 'CURRENT_RENOVATION' | 'REPAIRING' | 'WHITE_FRAME' | 'BLACK_FRAME' | 'GREEN_FRAME' | 'WHITE_PLUS';
|
|
1259
|
+
totalFloors?: number;
|
|
1260
|
+
floorAt?: number;
|
|
1261
|
+
amenities?: Array<number>;
|
|
1262
|
+
title?: string;
|
|
1263
|
+
description?: string;
|
|
1264
|
+
offer?: Offer;
|
|
1265
|
+
};
|
|
1266
|
+
export type Viewport = {
|
|
1267
|
+
south: number;
|
|
1268
|
+
west: number;
|
|
1269
|
+
north: number;
|
|
1270
|
+
east: number;
|
|
1271
|
+
};
|
|
1056
1272
|
export type AddressResponse = {
|
|
1057
1273
|
region: LocationResponse;
|
|
1058
1274
|
district: LocationResponse;
|
|
@@ -1090,6 +1306,10 @@ export type InterestResponse = {
|
|
|
1090
1306
|
criteria: Criteria;
|
|
1091
1307
|
recommendationStats: RecommendationStats;
|
|
1092
1308
|
boundedBox?: BoundingBox;
|
|
1309
|
+
/**
|
|
1310
|
+
* Whether client pages show the agency's own logo; HomeSpot's when false
|
|
1311
|
+
*/
|
|
1312
|
+
agencyBranding: boolean;
|
|
1093
1313
|
recommendations: PagedModelRecommendationsCardView;
|
|
1094
1314
|
};
|
|
1095
1315
|
export type PagedModelRecommendationsCardView = {
|
|
@@ -1138,6 +1358,44 @@ export type RecommendationDecisionResponse = {
|
|
|
1138
1358
|
externalListingId: string;
|
|
1139
1359
|
decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
|
|
1140
1360
|
};
|
|
1361
|
+
export type Amount = {
|
|
1362
|
+
netMinorUnits: number;
|
|
1363
|
+
vatMinorUnits: number;
|
|
1364
|
+
totalMinorUnits: number;
|
|
1365
|
+
};
|
|
1366
|
+
export type CatalogResponse = {
|
|
1367
|
+
currency: string;
|
|
1368
|
+
vatPercent: number;
|
|
1369
|
+
/**
|
|
1370
|
+
* Free, Plus and Pro
|
|
1371
|
+
*/
|
|
1372
|
+
plans: Array<PlanOffer>;
|
|
1373
|
+
/**
|
|
1374
|
+
* Enterprise's lowest monthly price; every deal is priced individually
|
|
1375
|
+
*/
|
|
1376
|
+
enterpriseFromMonthly: Amount;
|
|
1377
|
+
trial: TrialOffer;
|
|
1378
|
+
};
|
|
1379
|
+
export type PlanOffer = {
|
|
1380
|
+
plan: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
1381
|
+
monthly: Amount;
|
|
1382
|
+
yearly: Amount;
|
|
1383
|
+
seats: number;
|
|
1384
|
+
activeListings: number;
|
|
1385
|
+
/**
|
|
1386
|
+
* A month's AI messages, shared by the whole agency
|
|
1387
|
+
*/
|
|
1388
|
+
aiMessages: number;
|
|
1389
|
+
features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
|
|
1390
|
+
};
|
|
1391
|
+
export type TrialOffer = {
|
|
1392
|
+
days: number;
|
|
1393
|
+
plan: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
1394
|
+
/**
|
|
1395
|
+
* For the whole trial
|
|
1396
|
+
*/
|
|
1397
|
+
aiMessages: number;
|
|
1398
|
+
};
|
|
1141
1399
|
export type GroupedPermissionsResponse = {
|
|
1142
1400
|
group: 'AGENCY' | 'ROLE' | 'MEMBER' | 'CONTACT' | 'BOARD' | 'DEAL';
|
|
1143
1401
|
permissions: Array<PermissionResponse>;
|
|
@@ -1373,6 +1631,16 @@ export type AgentCommented = {
|
|
|
1373
1631
|
commentSnippet?: string;
|
|
1374
1632
|
kind: 'AGENT_COMMENTED';
|
|
1375
1633
|
};
|
|
1634
|
+
export type AiMessagesRunningLow = {
|
|
1635
|
+
used?: number;
|
|
1636
|
+
allowance?: number;
|
|
1637
|
+
kind: 'AI_MESSAGES_RUNNING_LOW';
|
|
1638
|
+
};
|
|
1639
|
+
export type AiMessagesUsedUp = {
|
|
1640
|
+
allowance?: number;
|
|
1641
|
+
renewsAt?: Date;
|
|
1642
|
+
kind: 'AI_MESSAGES_USED_UP';
|
|
1643
|
+
};
|
|
1376
1644
|
export type ChannelReauthRequired = {
|
|
1377
1645
|
connectionId?: ConnectionId;
|
|
1378
1646
|
channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
@@ -1404,6 +1672,11 @@ export type CursorPageNotificationView = {
|
|
|
1404
1672
|
nextCursor?: string;
|
|
1405
1673
|
hasNext?: boolean;
|
|
1406
1674
|
};
|
|
1675
|
+
export type DiscountEnding = {
|
|
1676
|
+
subscriptionId?: SubscriptionId;
|
|
1677
|
+
endsAt?: Date;
|
|
1678
|
+
kind: 'DISCOUNT_ENDING';
|
|
1679
|
+
};
|
|
1407
1680
|
export type ListingExpired = {
|
|
1408
1681
|
contactId?: ContactId;
|
|
1409
1682
|
propertyId?: PropertyId;
|
|
@@ -1449,9 +1722,9 @@ export type NotificationFeed = {
|
|
|
1449
1722
|
export type NotificationView = {
|
|
1450
1723
|
id: string;
|
|
1451
1724
|
seq: number;
|
|
1452
|
-
type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'MEMBER_MENTIONED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED' | 'SUBSCRIPTION_PAYMENT_FAILED' | 'SUBSCRIPTION_ENDING' | 'SUBSCRIPTION_EXPIRED' | 'SUBSCRIPTION_PAYMENT_REVERSED' | 'CHANNEL_REAUTH_REQUIRED' | 'SOCIAL_POST_FAILED' | 'SOCIAL_POST_COMMENTED';
|
|
1725
|
+
type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'MEMBER_MENTIONED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED' | 'SUBSCRIPTION_PAYMENT_FAILED' | 'SUBSCRIPTION_ENDING' | 'SUBSCRIPTION_EXPIRED' | 'SUBSCRIPTION_PAYMENT_REVERSED' | 'TRIAL_ENDING' | 'TRIAL_ENDED' | 'DISCOUNT_ENDING' | 'AI_MESSAGES_RUNNING_LOW' | 'AI_MESSAGES_USED_UP' | 'CHANNEL_REAUTH_REQUIRED' | 'SOCIAL_POST_FAILED' | 'SOCIAL_POST_COMMENTED';
|
|
1453
1726
|
targetId?: string;
|
|
1454
|
-
payload: AgentCommented | ChannelReauthRequired | ContactAssigned | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented;
|
|
1727
|
+
payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented | TrialEnded | TrialEnding;
|
|
1455
1728
|
/**
|
|
1456
1729
|
* How many times this came while unread; the payload is the latest. For SOCIAL_POST_COMMENTED: the new comments on the post since its notification was last read. Starts again at 1 once read
|
|
1457
1730
|
*/
|
|
@@ -1525,6 +1798,13 @@ export type TaskCommented = {
|
|
|
1525
1798
|
export type TaskId = {
|
|
1526
1799
|
value?: string;
|
|
1527
1800
|
};
|
|
1801
|
+
export type TrialEnded = {
|
|
1802
|
+
kind: 'TRIAL_ENDED';
|
|
1803
|
+
};
|
|
1804
|
+
export type TrialEnding = {
|
|
1805
|
+
endsAt?: Date;
|
|
1806
|
+
kind: 'TRIAL_ENDING';
|
|
1807
|
+
};
|
|
1528
1808
|
export type UnreadCount = {
|
|
1529
1809
|
count: number;
|
|
1530
1810
|
};
|
|
@@ -1619,6 +1899,14 @@ export type ListingGridResponse = {
|
|
|
1619
1899
|
agreementExpiresAt?: Date;
|
|
1620
1900
|
propertyState: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
1621
1901
|
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1902
|
+
/**
|
|
1903
|
+
* Whether the agency still works the listing; null for a property without one
|
|
1904
|
+
*/
|
|
1905
|
+
listingState?: 'OPEN' | 'CLOSED';
|
|
1906
|
+
/**
|
|
1907
|
+
* The listing on HomeSpot's own marketplace; null for a property without one
|
|
1908
|
+
*/
|
|
1909
|
+
marketplaceStatus?: 'ACTIVE' | 'PAUSED' | 'EXPIRED';
|
|
1622
1910
|
price?: number;
|
|
1623
1911
|
commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
1624
1912
|
commission?: number;
|
|
@@ -1637,6 +1925,10 @@ export type PagedModelListingGridResponse = {
|
|
|
1637
1925
|
export type PlatformView = {
|
|
1638
1926
|
platformId?: number;
|
|
1639
1927
|
platform?: 'SS' | 'MY_HOME';
|
|
1928
|
+
/**
|
|
1929
|
+
* PENDING until the portal answers; SYNDICATED while live
|
|
1930
|
+
*/
|
|
1931
|
+
status: 'PENDING' | 'SYNDICATED' | 'FAILED' | 'EXPIRED' | 'WITHDRAWING' | 'WITHDRAWN';
|
|
1640
1932
|
expiresAt?: Date;
|
|
1641
1933
|
tier?: 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
|
|
1642
1934
|
boostExpiresAt?: Date;
|
|
@@ -1681,10 +1973,15 @@ export type InterestGridResponse = {
|
|
|
1681
1973
|
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1682
1974
|
priceRange?: PriceRange;
|
|
1683
1975
|
bedrooms?: RoomRange;
|
|
1976
|
+
bathrooms?: RoomRange;
|
|
1684
1977
|
totalArea?: AreaRange;
|
|
1685
1978
|
livingArea?: AreaRange;
|
|
1686
1979
|
address?: AddressView;
|
|
1980
|
+
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
1981
|
+
locationId?: number;
|
|
1687
1982
|
status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
|
|
1983
|
+
shareToken: string;
|
|
1984
|
+
recommendationCount: number;
|
|
1688
1985
|
};
|
|
1689
1986
|
export type Money = {
|
|
1690
1987
|
amount?: number;
|
|
@@ -1856,6 +2153,20 @@ export type SocialCommentThreadResponse = {
|
|
|
1856
2153
|
*/
|
|
1857
2154
|
answered: boolean;
|
|
1858
2155
|
};
|
|
2156
|
+
export type ListingMatch = {
|
|
2157
|
+
externalPropertyId: string;
|
|
2158
|
+
externalListingId: string;
|
|
2159
|
+
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
2160
|
+
price: number;
|
|
2161
|
+
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';
|
|
2162
|
+
address?: string;
|
|
2163
|
+
lat: number;
|
|
2164
|
+
lng: number;
|
|
2165
|
+
totalArea: number;
|
|
2166
|
+
bedrooms: number;
|
|
2167
|
+
bathrooms: number;
|
|
2168
|
+
featuredPhotos: Array<string>;
|
|
2169
|
+
};
|
|
1859
2170
|
export type ContactGridResponse = {
|
|
1860
2171
|
id: number;
|
|
1861
2172
|
createdBy?: string;
|
|
@@ -3063,6 +3374,13 @@ export type PostWhitelabelActivateData = {
|
|
|
3063
3374
|
query?: never;
|
|
3064
3375
|
url: '/whitelabel/activate';
|
|
3065
3376
|
};
|
|
3377
|
+
export type PostWhitelabelActivateErrors = {
|
|
3378
|
+
/**
|
|
3379
|
+
* The plan doesn't include the agency website
|
|
3380
|
+
*/
|
|
3381
|
+
402: PlanLimitResponse;
|
|
3382
|
+
};
|
|
3383
|
+
export type PostWhitelabelActivateError = PostWhitelabelActivateErrors[keyof PostWhitelabelActivateErrors];
|
|
3066
3384
|
export type PostWhitelabelActivateResponses = {
|
|
3067
3385
|
/**
|
|
3068
3386
|
* No Content
|
|
@@ -3289,6 +3607,19 @@ export type PostSubscriptionsResumeResponses = {
|
|
|
3289
3607
|
204: void;
|
|
3290
3608
|
};
|
|
3291
3609
|
export type PostSubscriptionsResumeResponse = PostSubscriptionsResumeResponses[keyof PostSubscriptionsResumeResponses];
|
|
3610
|
+
export type GetSubscriptionsPlanData = {
|
|
3611
|
+
body?: never;
|
|
3612
|
+
path?: never;
|
|
3613
|
+
query?: never;
|
|
3614
|
+
url: '/subscriptions/plan';
|
|
3615
|
+
};
|
|
3616
|
+
export type GetSubscriptionsPlanResponses = {
|
|
3617
|
+
/**
|
|
3618
|
+
* OK
|
|
3619
|
+
*/
|
|
3620
|
+
200: PlanResponse;
|
|
3621
|
+
};
|
|
3622
|
+
export type GetSubscriptionsPlanResponse = GetSubscriptionsPlanResponses[keyof GetSubscriptionsPlanResponses];
|
|
3292
3623
|
export type PostSubscriptionsPlanData = {
|
|
3293
3624
|
body: ChangePlanRequest;
|
|
3294
3625
|
path?: never;
|
|
@@ -3382,8 +3713,11 @@ export type PostPublicWebhooksTelegramResponses = {
|
|
|
3382
3713
|
/**
|
|
3383
3714
|
* OK
|
|
3384
3715
|
*/
|
|
3385
|
-
200:
|
|
3716
|
+
200: {
|
|
3717
|
+
[key: string]: unknown;
|
|
3718
|
+
};
|
|
3386
3719
|
};
|
|
3720
|
+
export type PostPublicWebhooksTelegramResponse = PostPublicWebhooksTelegramResponses[keyof PostPublicWebhooksTelegramResponses];
|
|
3387
3721
|
export type GetPublicWebhooksMetaWaData = {
|
|
3388
3722
|
body?: never;
|
|
3389
3723
|
path?: never;
|
|
@@ -3494,6 +3828,60 @@ export type PostPublicWebhooksFlittResponses = {
|
|
|
3494
3828
|
*/
|
|
3495
3829
|
200: unknown;
|
|
3496
3830
|
};
|
|
3831
|
+
export type GetPublicTelegramPropertyFormsByFormIdData = {
|
|
3832
|
+
body?: never;
|
|
3833
|
+
headers?: {
|
|
3834
|
+
'X-Telegram-Init-Data'?: string;
|
|
3835
|
+
};
|
|
3836
|
+
path: {
|
|
3837
|
+
formId: string;
|
|
3838
|
+
};
|
|
3839
|
+
query?: never;
|
|
3840
|
+
url: '/public/telegram/property-forms/{formId}';
|
|
3841
|
+
};
|
|
3842
|
+
export type GetPublicTelegramPropertyFormsByFormIdResponses = {
|
|
3843
|
+
/**
|
|
3844
|
+
* OK
|
|
3845
|
+
*/
|
|
3846
|
+
200: Form;
|
|
3847
|
+
};
|
|
3848
|
+
export type GetPublicTelegramPropertyFormsByFormIdResponse = GetPublicTelegramPropertyFormsByFormIdResponses[keyof GetPublicTelegramPropertyFormsByFormIdResponses];
|
|
3849
|
+
export type PostPublicTelegramPropertyFormsByFormIdData = {
|
|
3850
|
+
body: Submission;
|
|
3851
|
+
headers?: {
|
|
3852
|
+
'X-Telegram-Init-Data'?: string;
|
|
3853
|
+
};
|
|
3854
|
+
path: {
|
|
3855
|
+
formId: string;
|
|
3856
|
+
};
|
|
3857
|
+
query?: never;
|
|
3858
|
+
url: '/public/telegram/property-forms/{formId}';
|
|
3859
|
+
};
|
|
3860
|
+
export type PostPublicTelegramPropertyFormsByFormIdResponses = {
|
|
3861
|
+
/**
|
|
3862
|
+
* No Content
|
|
3863
|
+
*/
|
|
3864
|
+
204: void;
|
|
3865
|
+
};
|
|
3866
|
+
export type PostPublicTelegramPropertyFormsByFormIdResponse = PostPublicTelegramPropertyFormsByFormIdResponses[keyof PostPublicTelegramPropertyFormsByFormIdResponses];
|
|
3867
|
+
export type PostPublicTelegramPropertyFormsByFormIdPhotosData = {
|
|
3868
|
+
body: PhotosRequest;
|
|
3869
|
+
headers?: {
|
|
3870
|
+
'X-Telegram-Init-Data'?: string;
|
|
3871
|
+
};
|
|
3872
|
+
path: {
|
|
3873
|
+
formId: string;
|
|
3874
|
+
};
|
|
3875
|
+
query?: never;
|
|
3876
|
+
url: '/public/telegram/property-forms/{formId}/photos';
|
|
3877
|
+
};
|
|
3878
|
+
export type PostPublicTelegramPropertyFormsByFormIdPhotosResponses = {
|
|
3879
|
+
/**
|
|
3880
|
+
* OK
|
|
3881
|
+
*/
|
|
3882
|
+
200: Array<PresignedUrlResponse>;
|
|
3883
|
+
};
|
|
3884
|
+
export type PostPublicTelegramPropertyFormsByFormIdPhotosResponse = PostPublicTelegramPropertyFormsByFormIdPhotosResponses[keyof PostPublicTelegramPropertyFormsByFormIdPhotosResponses];
|
|
3497
3885
|
export type PostPublicRecomendationsByTokenListingsByExternalListingIdRateData = {
|
|
3498
3886
|
body: RateRecommendationItemRequest;
|
|
3499
3887
|
path: {
|
|
@@ -3678,9 +4066,16 @@ export type PostInvitationData = {
|
|
|
3678
4066
|
query?: never;
|
|
3679
4067
|
url: '/invitation';
|
|
3680
4068
|
};
|
|
4069
|
+
export type PostInvitationErrors = {
|
|
4070
|
+
/**
|
|
4071
|
+
* The plan's seats are taken
|
|
4072
|
+
*/
|
|
4073
|
+
402: PlanLimitResponse;
|
|
4074
|
+
};
|
|
4075
|
+
export type PostInvitationError = PostInvitationErrors[keyof PostInvitationErrors];
|
|
3681
4076
|
export type PostInvitationResponses = {
|
|
3682
4077
|
/**
|
|
3683
|
-
*
|
|
4078
|
+
* Invitations sent
|
|
3684
4079
|
*/
|
|
3685
4080
|
200: unknown;
|
|
3686
4081
|
};
|
|
@@ -3827,6 +4222,13 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsData = {
|
|
|
3827
4222
|
query?: never;
|
|
3828
4223
|
url: '/contacts/{contactId}/properties/{propertyId}/listings';
|
|
3829
4224
|
};
|
|
4225
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsErrors = {
|
|
4226
|
+
/**
|
|
4227
|
+
* The plan's active listings are used up
|
|
4228
|
+
*/
|
|
4229
|
+
402: PlanLimitResponse;
|
|
4230
|
+
};
|
|
4231
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsError = PostContactsByContactIdPropertiesByPropertyIdListingsErrors[keyof PostContactsByContactIdPropertiesByPropertyIdListingsErrors];
|
|
3830
4232
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsResponses = {
|
|
3831
4233
|
/**
|
|
3832
4234
|
* Created
|
|
@@ -3844,6 +4246,13 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSoci
|
|
|
3844
4246
|
query?: never;
|
|
3845
4247
|
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/social-posts';
|
|
3846
4248
|
};
|
|
4249
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsErrors = {
|
|
4250
|
+
/**
|
|
4251
|
+
* The plan doesn't include Facebook and Instagram posts
|
|
4252
|
+
*/
|
|
4253
|
+
402: PlanLimitResponse;
|
|
4254
|
+
};
|
|
4255
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsError = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsErrors[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsErrors];
|
|
3847
4256
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsResponses = {
|
|
3848
4257
|
/**
|
|
3849
4258
|
* Accepted
|
|
@@ -3862,6 +4271,13 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSoci
|
|
|
3862
4271
|
query?: never;
|
|
3863
4272
|
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/social-posts/{postId}/retry';
|
|
3864
4273
|
};
|
|
4274
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryErrors = {
|
|
4275
|
+
/**
|
|
4276
|
+
* The plan doesn't include Facebook and Instagram posts
|
|
4277
|
+
*/
|
|
4278
|
+
402: PlanLimitResponse;
|
|
4279
|
+
};
|
|
4280
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryError = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryErrors[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryErrors];
|
|
3865
4281
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryResponses = {
|
|
3866
4282
|
/**
|
|
3867
4283
|
* Accepted
|
|
@@ -3915,6 +4331,13 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResu
|
|
|
3915
4331
|
query?: never;
|
|
3916
4332
|
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/resume';
|
|
3917
4333
|
};
|
|
4334
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeErrors = {
|
|
4335
|
+
/**
|
|
4336
|
+
* The plan's active listings are used up
|
|
4337
|
+
*/
|
|
4338
|
+
402: PlanLimitResponse;
|
|
4339
|
+
};
|
|
4340
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeError = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeErrors[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeErrors];
|
|
3918
4341
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeResponses = {
|
|
3919
4342
|
/**
|
|
3920
4343
|
* No Content
|
|
@@ -3932,6 +4355,13 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReop
|
|
|
3932
4355
|
query?: never;
|
|
3933
4356
|
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/reopen';
|
|
3934
4357
|
};
|
|
4358
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenErrors = {
|
|
4359
|
+
/**
|
|
4360
|
+
* The plan's active listings are used up
|
|
4361
|
+
*/
|
|
4362
|
+
402: PlanLimitResponse;
|
|
4363
|
+
};
|
|
4364
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenError = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenErrors[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenErrors];
|
|
3935
4365
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses = {
|
|
3936
4366
|
/**
|
|
3937
4367
|
* No Content
|
|
@@ -3949,6 +4379,13 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRene
|
|
|
3949
4379
|
query?: never;
|
|
3950
4380
|
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/renew';
|
|
3951
4381
|
};
|
|
4382
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewErrors = {
|
|
4383
|
+
/**
|
|
4384
|
+
* The plan's active listings are used up
|
|
4385
|
+
*/
|
|
4386
|
+
402: PlanLimitResponse;
|
|
4387
|
+
};
|
|
4388
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewError = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewErrors[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewErrors];
|
|
3952
4389
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewResponses = {
|
|
3953
4390
|
/**
|
|
3954
4391
|
* No Content
|
|
@@ -4055,6 +4492,24 @@ export type PostContactsByContactIdInterestsResponses = {
|
|
|
4055
4492
|
201: InterestId;
|
|
4056
4493
|
};
|
|
4057
4494
|
export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
|
|
4495
|
+
export type PostContactsByContactIdInterestsByInterestIdItemsFillData = {
|
|
4496
|
+
body?: never;
|
|
4497
|
+
path: {
|
|
4498
|
+
contactId: number;
|
|
4499
|
+
interestId: number;
|
|
4500
|
+
};
|
|
4501
|
+
query?: {
|
|
4502
|
+
limit?: number;
|
|
4503
|
+
};
|
|
4504
|
+
url: '/contacts/{contactId}/interests/{interestId}/items/fill';
|
|
4505
|
+
};
|
|
4506
|
+
export type PostContactsByContactIdInterestsByInterestIdItemsFillResponses = {
|
|
4507
|
+
/**
|
|
4508
|
+
* OK
|
|
4509
|
+
*/
|
|
4510
|
+
200: Array<string>;
|
|
4511
|
+
};
|
|
4512
|
+
export type PostContactsByContactIdInterestsByInterestIdItemsFillResponse = PostContactsByContactIdInterestsByInterestIdItemsFillResponses[keyof PostContactsByContactIdInterestsByInterestIdItemsFillResponses];
|
|
4058
4513
|
export type DeleteContactsByContactIdCommentsData = {
|
|
4059
4514
|
body?: never;
|
|
4060
4515
|
path: {
|
|
@@ -4112,6 +4567,7 @@ export type GetContactData = {
|
|
|
4112
4567
|
hasOpenTask?: boolean;
|
|
4113
4568
|
assignedTo?: Array<string>;
|
|
4114
4569
|
createdBy?: string;
|
|
4570
|
+
contactId?: number;
|
|
4115
4571
|
contactName?: string;
|
|
4116
4572
|
contactPhone?: string;
|
|
4117
4573
|
contactEmail?: string;
|
|
@@ -4120,6 +4576,8 @@ export type GetContactData = {
|
|
|
4120
4576
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
4121
4577
|
createdFrom?: Date;
|
|
4122
4578
|
createdTo?: Date;
|
|
4579
|
+
updatedFrom?: Date;
|
|
4580
|
+
updatedTo?: Date;
|
|
4123
4581
|
/**
|
|
4124
4582
|
* Zero-based page index (0..N)
|
|
4125
4583
|
*/
|
|
@@ -4270,19 +4728,19 @@ export type PostBoardByBoardIdStageByStageIdTemplateResponses = {
|
|
|
4270
4728
|
201: IdResponseUuid;
|
|
4271
4729
|
};
|
|
4272
4730
|
export type PostBoardByBoardIdStageByStageIdTemplateResponse = PostBoardByBoardIdStageByStageIdTemplateResponses[keyof PostBoardByBoardIdStageByStageIdTemplateResponses];
|
|
4273
|
-
export type
|
|
4274
|
-
body:
|
|
4731
|
+
export type PostApiAdminSubscriptionsCheckoutData = {
|
|
4732
|
+
body: AdminCheckoutRequest;
|
|
4275
4733
|
path?: never;
|
|
4276
4734
|
query?: never;
|
|
4277
|
-
url: '/api/admin/subscriptions/
|
|
4735
|
+
url: '/api/admin/subscriptions/checkout';
|
|
4278
4736
|
};
|
|
4279
|
-
export type
|
|
4737
|
+
export type PostApiAdminSubscriptionsCheckoutResponses = {
|
|
4280
4738
|
/**
|
|
4281
4739
|
* Created
|
|
4282
4740
|
*/
|
|
4283
|
-
201:
|
|
4741
|
+
201: AdminCheckoutResponse;
|
|
4284
4742
|
};
|
|
4285
|
-
export type
|
|
4743
|
+
export type PostApiAdminSubscriptionsCheckoutResponse = PostApiAdminSubscriptionsCheckoutResponses[keyof PostApiAdminSubscriptionsCheckoutResponses];
|
|
4286
4744
|
export type PatchTaskByTaskIdPositionData = {
|
|
4287
4745
|
body: PositionTaskRequest;
|
|
4288
4746
|
path: {
|
|
@@ -4484,6 +4942,26 @@ export type GetStatsContactsAcquisitionResponses = {
|
|
|
4484
4942
|
200: ContactAcquisitionResponse;
|
|
4485
4943
|
};
|
|
4486
4944
|
export type GetStatsContactsAcquisitionResponse = GetStatsContactsAcquisitionResponses[keyof GetStatsContactsAcquisitionResponses];
|
|
4945
|
+
export type GetPublicTelegramPropertyFormsByFormIdOwnersData = {
|
|
4946
|
+
body?: never;
|
|
4947
|
+
headers?: {
|
|
4948
|
+
'X-Telegram-Init-Data'?: string;
|
|
4949
|
+
};
|
|
4950
|
+
path: {
|
|
4951
|
+
formId: string;
|
|
4952
|
+
};
|
|
4953
|
+
query: {
|
|
4954
|
+
query: string;
|
|
4955
|
+
};
|
|
4956
|
+
url: '/public/telegram/property-forms/{formId}/owners';
|
|
4957
|
+
};
|
|
4958
|
+
export type GetPublicTelegramPropertyFormsByFormIdOwnersResponses = {
|
|
4959
|
+
/**
|
|
4960
|
+
* OK
|
|
4961
|
+
*/
|
|
4962
|
+
200: Array<Owner>;
|
|
4963
|
+
};
|
|
4964
|
+
export type GetPublicTelegramPropertyFormsByFormIdOwnersResponse = GetPublicTelegramPropertyFormsByFormIdOwnersResponses[keyof GetPublicTelegramPropertyFormsByFormIdOwnersResponses];
|
|
4487
4965
|
export type GetPublicRecomendationsByTokenItemsData = {
|
|
4488
4966
|
body?: never;
|
|
4489
4967
|
path: {
|
|
@@ -4532,6 +5010,19 @@ export type GetPublicRecomendationsByTokenDecisionsResponses = {
|
|
|
4532
5010
|
200: Array<RecommendationDecisionResponse>;
|
|
4533
5011
|
};
|
|
4534
5012
|
export type GetPublicRecomendationsByTokenDecisionsResponse = GetPublicRecomendationsByTokenDecisionsResponses[keyof GetPublicRecomendationsByTokenDecisionsResponses];
|
|
5013
|
+
export type GetPublicPlansData = {
|
|
5014
|
+
body?: never;
|
|
5015
|
+
path?: never;
|
|
5016
|
+
query?: never;
|
|
5017
|
+
url: '/public/plans';
|
|
5018
|
+
};
|
|
5019
|
+
export type GetPublicPlansResponses = {
|
|
5020
|
+
/**
|
|
5021
|
+
* OK
|
|
5022
|
+
*/
|
|
5023
|
+
200: CatalogResponse;
|
|
5024
|
+
};
|
|
5025
|
+
export type GetPublicPlansResponse = GetPublicPlansResponses[keyof GetPublicPlansResponses];
|
|
4535
5026
|
export type GetPublicPermissionsData = {
|
|
4536
5027
|
body?: never;
|
|
4537
5028
|
path?: never;
|
|
@@ -4909,6 +5400,9 @@ export type GetListingData = {
|
|
|
4909
5400
|
body?: never;
|
|
4910
5401
|
path?: never;
|
|
4911
5402
|
query?: {
|
|
5403
|
+
propertyId?: number;
|
|
5404
|
+
listingId?: number;
|
|
5405
|
+
ssId?: number;
|
|
4912
5406
|
states?: Array<'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED'>;
|
|
4913
5407
|
agreementTypes?: Array<'EXCLUSIVE' | 'NON_EXCLUSIVE'>;
|
|
4914
5408
|
agreementExpiresFrom?: Date;
|
|
@@ -4927,6 +5421,8 @@ export type GetListingData = {
|
|
|
4927
5421
|
priceMax?: number;
|
|
4928
5422
|
createdFrom?: Date;
|
|
4929
5423
|
createdTo?: Date;
|
|
5424
|
+
updatedFrom?: Date;
|
|
5425
|
+
updatedTo?: Date;
|
|
4930
5426
|
platforms?: Array<'SS' | 'MY_HOME'>;
|
|
4931
5427
|
platformExpiresFrom?: Date;
|
|
4932
5428
|
platformExpiresTo?: Date;
|
|
@@ -4956,26 +5452,14 @@ export type GetListingResponses = {
|
|
|
4956
5452
|
200: PagedModelListingGridResponse;
|
|
4957
5453
|
};
|
|
4958
5454
|
export type GetListingResponse = GetListingResponses[keyof GetListingResponses];
|
|
4959
|
-
export type GetListingByPropertyIdData = {
|
|
4960
|
-
body?: never;
|
|
4961
|
-
path: {
|
|
4962
|
-
propertyId: number;
|
|
4963
|
-
};
|
|
4964
|
-
query?: never;
|
|
4965
|
-
url: '/listing/{propertyId}';
|
|
4966
|
-
};
|
|
4967
|
-
export type GetListingByPropertyIdResponses = {
|
|
4968
|
-
/**
|
|
4969
|
-
* OK
|
|
4970
|
-
*/
|
|
4971
|
-
200: ListingGridResponse;
|
|
4972
|
-
};
|
|
4973
|
-
export type GetListingByPropertyIdResponse = GetListingByPropertyIdResponses[keyof GetListingByPropertyIdResponses];
|
|
4974
5455
|
export type GetListingGroupsData = {
|
|
4975
5456
|
body?: never;
|
|
4976
5457
|
path?: never;
|
|
4977
5458
|
query: {
|
|
4978
5459
|
groupBy: 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'ASSIGNED_TO' | 'CONTACT' | 'DISTRICT' | 'PLATFORM' | 'BOOST_TIER' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
5460
|
+
propertyId?: number;
|
|
5461
|
+
listingId?: number;
|
|
5462
|
+
ssId?: number;
|
|
4979
5463
|
states?: Array<'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED'>;
|
|
4980
5464
|
agreementTypes?: Array<'EXCLUSIVE' | 'NON_EXCLUSIVE'>;
|
|
4981
5465
|
agreementExpiresFrom?: Date;
|
|
@@ -4994,6 +5478,8 @@ export type GetListingGroupsData = {
|
|
|
4994
5478
|
priceMax?: number;
|
|
4995
5479
|
createdFrom?: Date;
|
|
4996
5480
|
createdTo?: Date;
|
|
5481
|
+
updatedFrom?: Date;
|
|
5482
|
+
updatedTo?: Date;
|
|
4997
5483
|
platforms?: Array<'SS' | 'MY_HOME'>;
|
|
4998
5484
|
platformExpiresFrom?: Date;
|
|
4999
5485
|
platformExpiresTo?: Date;
|
|
@@ -5015,6 +5501,7 @@ export type GetInterestData = {
|
|
|
5015
5501
|
body?: never;
|
|
5016
5502
|
path?: never;
|
|
5017
5503
|
query?: {
|
|
5504
|
+
interestId?: number;
|
|
5018
5505
|
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
5019
5506
|
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
5020
5507
|
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'>;
|
|
@@ -5023,7 +5510,7 @@ export type GetInterestData = {
|
|
|
5023
5510
|
contactName?: string;
|
|
5024
5511
|
contactPhone?: string;
|
|
5025
5512
|
assignedTo?: Array<string>;
|
|
5026
|
-
createdBy?: string
|
|
5513
|
+
createdBy?: Array<string>;
|
|
5027
5514
|
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
5028
5515
|
locationId?: string;
|
|
5029
5516
|
priceMin?: number;
|
|
@@ -5080,6 +5567,7 @@ export type GetInterestGroupsData = {
|
|
|
5080
5567
|
path?: never;
|
|
5081
5568
|
query: {
|
|
5082
5569
|
groupBy: 'STATUS' | 'LISTING_TYPE' | 'PROPERTY_TYPE' | 'ASSIGNED_TO' | 'CREATED_BY' | 'CONTACT' | 'DISTRICT' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
5570
|
+
interestId?: number;
|
|
5083
5571
|
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
5084
5572
|
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
5085
5573
|
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'>;
|
|
@@ -5088,7 +5576,7 @@ export type GetInterestGroupsData = {
|
|
|
5088
5576
|
contactName?: string;
|
|
5089
5577
|
contactPhone?: string;
|
|
5090
5578
|
assignedTo?: Array<string>;
|
|
5091
|
-
createdBy?: string
|
|
5579
|
+
createdBy?: Array<string>;
|
|
5092
5580
|
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
5093
5581
|
locationId?: string;
|
|
5094
5582
|
priceMin?: number;
|
|
@@ -5257,6 +5745,24 @@ export type GetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsR
|
|
|
5257
5745
|
200: Array<RecommendationDecisionResponse>;
|
|
5258
5746
|
};
|
|
5259
5747
|
export type GetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsResponse = GetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsResponses[keyof GetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsResponses];
|
|
5748
|
+
export type GetContactsByContactIdInterestsByInterestIdMatchesData = {
|
|
5749
|
+
body?: never;
|
|
5750
|
+
path: {
|
|
5751
|
+
contactId: number;
|
|
5752
|
+
interestId: number;
|
|
5753
|
+
};
|
|
5754
|
+
query?: {
|
|
5755
|
+
limit?: number;
|
|
5756
|
+
};
|
|
5757
|
+
url: '/contacts/{contactId}/interests/{interestId}/matches';
|
|
5758
|
+
};
|
|
5759
|
+
export type GetContactsByContactIdInterestsByInterestIdMatchesResponses = {
|
|
5760
|
+
/**
|
|
5761
|
+
* OK
|
|
5762
|
+
*/
|
|
5763
|
+
200: Array<ListingMatch>;
|
|
5764
|
+
};
|
|
5765
|
+
export type GetContactsByContactIdInterestsByInterestIdMatchesResponse = GetContactsByContactIdInterestsByInterestIdMatchesResponses[keyof GetContactsByContactIdInterestsByInterestIdMatchesResponses];
|
|
5260
5766
|
export type DeleteContactByContactIdData = {
|
|
5261
5767
|
body?: never;
|
|
5262
5768
|
path: {
|
|
@@ -5343,6 +5849,7 @@ export type GetContactGroupsData = {
|
|
|
5343
5849
|
hasOpenTask?: boolean;
|
|
5344
5850
|
assignedTo?: Array<string>;
|
|
5345
5851
|
createdBy?: string;
|
|
5852
|
+
contactId?: number;
|
|
5346
5853
|
contactName?: string;
|
|
5347
5854
|
contactPhone?: string;
|
|
5348
5855
|
contactEmail?: string;
|
|
@@ -5351,6 +5858,8 @@ export type GetContactGroupsData = {
|
|
|
5351
5858
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
5352
5859
|
createdFrom?: Date;
|
|
5353
5860
|
createdTo?: Date;
|
|
5861
|
+
updatedFrom?: Date;
|
|
5862
|
+
updatedTo?: Date;
|
|
5354
5863
|
};
|
|
5355
5864
|
url: '/contact/groups';
|
|
5356
5865
|
};
|