@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.
Files changed (36) hide show
  1. package/dist/property/client.gen.d.ts.map +1 -1
  2. package/dist/property/client.gen.js +1 -3
  3. package/dist/property/client.gen.js.map +1 -1
  4. package/dist/property/types.gen.d.ts +1 -1
  5. package/dist/property/types.gen.d.ts.map +1 -1
  6. package/dist/rem/client.gen.d.ts.map +1 -1
  7. package/dist/rem/client.gen.js +1 -3
  8. package/dist/rem/client.gen.js.map +1 -1
  9. package/dist/rem/index.d.ts +2 -2
  10. package/dist/rem/index.d.ts.map +1 -1
  11. package/dist/rem/index.js +1 -1
  12. package/dist/rem/index.js.map +1 -1
  13. package/dist/rem/schemas.gen.d.ts +916 -67
  14. package/dist/rem/schemas.gen.d.ts.map +1 -1
  15. package/dist/rem/schemas.gen.js +1095 -90
  16. package/dist/rem/schemas.gen.js.map +1 -1
  17. package/dist/rem/sdk.gen.d.ts +20 -13
  18. package/dist/rem/sdk.gen.d.ts.map +1 -1
  19. package/dist/rem/sdk.gen.js +55 -11
  20. package/dist/rem/sdk.gen.js.map +1 -1
  21. package/dist/rem/transformers.gen.d.ts +3 -2
  22. package/dist/rem/transformers.gen.d.ts.map +1 -1
  23. package/dist/rem/transformers.gen.js +37 -4
  24. package/dist/rem/transformers.gen.js.map +1 -1
  25. package/dist/rem/types.gen.d.ts +561 -52
  26. package/dist/rem/types.gen.d.ts.map +1 -1
  27. package/dist/rem/zod.gen.d.ts +1513 -214
  28. package/dist/rem/zod.gen.d.ts.map +1 -1
  29. package/dist/rem/zod.gen.js +933 -70
  30. package/dist/rem/zod.gen.js.map +1 -1
  31. package/dist/utils/client.gen.d.ts.map +1 -1
  32. package/dist/utils/client.gen.js +1 -3
  33. package/dist/utils/client.gen.js.map +1 -1
  34. package/dist/utils/types.gen.d.ts +1 -1
  35. package/dist/utils/types.gen.d.ts.map +1 -1
  36. package/package.json +1 -1
@@ -770,6 +770,44 @@ export declare const UploadAcknowledgmentResponseSchema: {
770
770
  };
771
771
  readonly required: readonly ["fail", "success"];
772
772
  };
773
+ export declare const PlanLimitResponseSchema: {
774
+ readonly type: "object";
775
+ readonly properties: {
776
+ readonly type: {
777
+ readonly type: "string";
778
+ readonly format: "uri";
779
+ };
780
+ readonly title: {
781
+ readonly type: "string";
782
+ };
783
+ readonly status: {
784
+ readonly type: "integer";
785
+ readonly format: "int32";
786
+ };
787
+ readonly detail: {
788
+ readonly type: "string";
789
+ };
790
+ readonly instance: {
791
+ readonly type: "string";
792
+ readonly format: "uri";
793
+ };
794
+ readonly limit: {
795
+ readonly type: "string";
796
+ readonly enum: readonly ["SEATS", "ACTIVE_LISTINGS", "SOCIAL_POSTS", "AGENCY_BRANDING"];
797
+ };
798
+ readonly used: {
799
+ readonly type: "integer";
800
+ readonly format: "int32";
801
+ readonly description: "How many are in use now; absent for a feature";
802
+ };
803
+ readonly allowed: {
804
+ readonly type: "integer";
805
+ readonly format: "int32";
806
+ readonly description: "How many the plan allows; absent for a feature";
807
+ };
808
+ };
809
+ readonly required: readonly ["limit"];
810
+ };
773
811
  export declare const ConnectLinkResponseSchema: {
774
812
  readonly type: "object";
775
813
  readonly properties: {
@@ -875,10 +913,12 @@ export declare const SubscribeRequestSchema: {
875
913
  readonly properties: {
876
914
  readonly plan: {
877
915
  readonly type: "string";
878
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
916
+ readonly description: "PLUS or PRO to check out right away, FREE to start on Free without the trial; absent to start on the trial only";
917
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
879
918
  };
880
919
  readonly billingCycle: {
881
920
  readonly type: "string";
921
+ readonly description: "Required with PLUS or PRO";
882
922
  readonly enum: readonly ["MONTHLY", "ANNUAL"];
883
923
  };
884
924
  readonly name: {
@@ -902,7 +942,7 @@ export declare const SubscribeRequestSchema: {
902
942
  readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
903
943
  };
904
944
  };
905
- readonly required: readonly ["address", "billingCycle", "email", "name", "phone", "plan", "subdomain"];
945
+ readonly required: readonly ["address", "email", "name", "phone", "subdomain"];
906
946
  };
907
947
  export declare const SubscriptionAddressRequestSchema: {
908
948
  readonly type: "object";
@@ -940,7 +980,7 @@ export declare const SubscriptionCheckoutResponseSchema: {
940
980
  readonly properties: {
941
981
  readonly checkoutUrl: {
942
982
  readonly type: "string";
943
- readonly description: "Null when payment is already confirmed; continue onboarding without paying again";
983
+ readonly description: "Null when payment is already confirmed, or a signup picked no plan";
944
984
  };
945
985
  readonly agencyId: {
946
986
  readonly type: "string";
@@ -949,6 +989,7 @@ export declare const SubscriptionCheckoutResponseSchema: {
949
989
  readonly subscriptionId: {
950
990
  readonly type: "string";
951
991
  readonly format: "uuid";
992
+ readonly description: "Null for a signup that picked no plan: the agency is on its trial";
952
993
  };
953
994
  readonly status: {
954
995
  readonly type: "string";
@@ -961,7 +1002,7 @@ export declare const ChangePlanRequestSchema: {
961
1002
  readonly properties: {
962
1003
  readonly plan: {
963
1004
  readonly type: "string";
964
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1005
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
965
1006
  };
966
1007
  readonly billingCycle: {
967
1008
  readonly type: "string";
@@ -975,7 +1016,7 @@ export declare const CheckoutRequestSchema: {
975
1016
  readonly properties: {
976
1017
  readonly plan: {
977
1018
  readonly type: "string";
978
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1019
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
979
1020
  };
980
1021
  readonly billingCycle: {
981
1022
  readonly type: "string";
@@ -993,6 +1034,237 @@ export declare const IdResponseIntegerSchema: {
993
1034
  };
994
1035
  readonly required: readonly ["id"];
995
1036
  };
1037
+ export declare const AddressNamesSchema: {
1038
+ readonly type: "object";
1039
+ readonly properties: {
1040
+ readonly region: {
1041
+ readonly type: "object";
1042
+ readonly additionalProperties: {
1043
+ readonly type: "string";
1044
+ };
1045
+ };
1046
+ readonly district: {
1047
+ readonly type: "object";
1048
+ readonly additionalProperties: {
1049
+ readonly type: "string";
1050
+ };
1051
+ };
1052
+ readonly subdistrict: {
1053
+ readonly type: "object";
1054
+ readonly additionalProperties: {
1055
+ readonly type: "string";
1056
+ };
1057
+ };
1058
+ readonly street: {
1059
+ readonly type: "object";
1060
+ readonly additionalProperties: {
1061
+ readonly type: "string";
1062
+ };
1063
+ };
1064
+ };
1065
+ };
1066
+ export declare const AddressRefSchema: {
1067
+ readonly type: "object";
1068
+ readonly properties: {
1069
+ readonly regionId: {
1070
+ readonly type: "integer";
1071
+ readonly format: "int64";
1072
+ };
1073
+ readonly districtId: {
1074
+ readonly type: "integer";
1075
+ readonly format: "int64";
1076
+ };
1077
+ readonly subdistrictId: {
1078
+ readonly type: "integer";
1079
+ readonly format: "int64";
1080
+ };
1081
+ readonly streetId: {
1082
+ readonly type: "integer";
1083
+ readonly format: "int64";
1084
+ };
1085
+ readonly names: {
1086
+ readonly $ref: "#/components/schemas/AddressNames";
1087
+ };
1088
+ readonly cadastreCode: {
1089
+ readonly type: "string";
1090
+ };
1091
+ readonly coordinates: {
1092
+ readonly $ref: "#/components/schemas/Coordinates";
1093
+ };
1094
+ };
1095
+ };
1096
+ export declare const CoordinatesSchema: {
1097
+ readonly type: "object";
1098
+ readonly properties: {
1099
+ readonly lat: {
1100
+ readonly type: "number";
1101
+ readonly format: "double";
1102
+ };
1103
+ readonly lng: {
1104
+ readonly type: "number";
1105
+ readonly format: "double";
1106
+ };
1107
+ };
1108
+ };
1109
+ export declare const OfferSchema: {
1110
+ readonly type: "object";
1111
+ readonly properties: {
1112
+ readonly deal: {
1113
+ readonly type: "string";
1114
+ readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
1115
+ };
1116
+ readonly price: {
1117
+ readonly type: "number";
1118
+ };
1119
+ };
1120
+ readonly required: readonly ["deal", "price"];
1121
+ };
1122
+ export declare const PhotoInternalRequestSchema: {
1123
+ readonly type: "object";
1124
+ readonly properties: {
1125
+ readonly photo: {
1126
+ readonly type: "string";
1127
+ readonly maxLength: 255;
1128
+ readonly minLength: 0;
1129
+ };
1130
+ readonly width: {
1131
+ readonly type: "integer";
1132
+ readonly format: "int32";
1133
+ readonly maximum: 11000;
1134
+ readonly minimum: 10;
1135
+ };
1136
+ readonly height: {
1137
+ readonly type: "integer";
1138
+ readonly format: "int32";
1139
+ readonly maximum: 11000;
1140
+ readonly minimum: 10;
1141
+ };
1142
+ };
1143
+ readonly required: readonly ["photo", "width"];
1144
+ };
1145
+ export declare const PropertyCreationRequestSchema: {
1146
+ readonly type: "object";
1147
+ readonly properties: {
1148
+ readonly draftId: {
1149
+ readonly type: "string";
1150
+ readonly format: "uuid";
1151
+ };
1152
+ readonly contactId: {
1153
+ readonly type: "integer";
1154
+ readonly format: "int64";
1155
+ };
1156
+ readonly propertyType: {
1157
+ readonly type: "string";
1158
+ readonly enum: readonly ["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"];
1159
+ };
1160
+ readonly address: {
1161
+ readonly $ref: "#/components/schemas/AddressRef";
1162
+ };
1163
+ readonly photoUrls: {
1164
+ readonly type: "array";
1165
+ readonly items: {
1166
+ readonly $ref: "#/components/schemas/PhotoInternalRequest";
1167
+ };
1168
+ readonly maxItems: 2147483647;
1169
+ readonly minItems: 5;
1170
+ };
1171
+ readonly spaces: {
1172
+ readonly type: "object";
1173
+ readonly additionalProperties: {
1174
+ readonly type: "array";
1175
+ readonly items: {
1176
+ readonly type: "number";
1177
+ readonly format: "double";
1178
+ };
1179
+ };
1180
+ readonly description: "Areas per space type. A null entry records a space whose area is unknown.";
1181
+ readonly example: {
1182
+ readonly BATHROOM: readonly [5, 8];
1183
+ readonly BEDROOM: readonly [15.5, null, 22];
1184
+ readonly LIVING_ROOM: readonly [52.5];
1185
+ readonly KITCHEN: readonly [20.5];
1186
+ };
1187
+ };
1188
+ readonly totalArea: {
1189
+ readonly type: "number";
1190
+ readonly format: "double";
1191
+ };
1192
+ readonly livingArea: {
1193
+ readonly type: "number";
1194
+ readonly format: "double";
1195
+ };
1196
+ readonly balconyArea: {
1197
+ readonly type: "number";
1198
+ readonly format: "double";
1199
+ };
1200
+ readonly status: {
1201
+ readonly type: "string";
1202
+ readonly enum: readonly ["OLD_BUILDING", "NEW_BUILDING", "UNDER_CONSTRUCTION", "FINISHED"];
1203
+ };
1204
+ readonly condition: {
1205
+ readonly type: "string";
1206
+ readonly enum: readonly ["NEWLY_RENOVATED", "OLD_RENOVATED", "CURRENT_RENOVATION", "REPAIRING", "WHITE_FRAME", "BLACK_FRAME", "GREEN_FRAME", "WHITE_PLUS"];
1207
+ };
1208
+ readonly totalFloors: {
1209
+ readonly type: "integer";
1210
+ readonly format: "int32";
1211
+ };
1212
+ readonly floorAt: {
1213
+ readonly type: "integer";
1214
+ readonly format: "int32";
1215
+ };
1216
+ readonly amenities: {
1217
+ readonly type: "array";
1218
+ readonly items: {
1219
+ readonly type: "integer";
1220
+ readonly format: "int32";
1221
+ };
1222
+ };
1223
+ readonly title: {
1224
+ readonly type: "string";
1225
+ readonly minLength: 1;
1226
+ };
1227
+ readonly description: {
1228
+ readonly type: "object";
1229
+ readonly additionalProperties: {
1230
+ readonly type: "string";
1231
+ };
1232
+ readonly example: {
1233
+ readonly ka: "example ka";
1234
+ readonly en: "example en";
1235
+ readonly ru: "example ru";
1236
+ };
1237
+ readonly minProperties: 1;
1238
+ };
1239
+ };
1240
+ readonly required: readonly ["address", "amenities", "description", "draftId", "photoUrls", "propertyType", "spaces", "title", "totalArea"];
1241
+ };
1242
+ export declare const SubmissionSchema: {
1243
+ readonly type: "object";
1244
+ readonly properties: {
1245
+ readonly property: {
1246
+ readonly $ref: "#/components/schemas/PropertyCreationRequest";
1247
+ };
1248
+ readonly offer: {
1249
+ readonly $ref: "#/components/schemas/Offer";
1250
+ };
1251
+ };
1252
+ readonly required: readonly ["property"];
1253
+ };
1254
+ export declare const PhotosRequestSchema: {
1255
+ readonly type: "object";
1256
+ readonly properties: {
1257
+ readonly photos: {
1258
+ readonly type: "array";
1259
+ readonly items: {
1260
+ readonly $ref: "#/components/schemas/PhotoRequest";
1261
+ };
1262
+ readonly maxItems: 30;
1263
+ readonly minItems: 1;
1264
+ };
1265
+ };
1266
+ readonly required: readonly ["photos"];
1267
+ };
996
1268
  export declare const ContactInfoRequestSchema: {
997
1269
  readonly type: "object";
998
1270
  readonly properties: {
@@ -1940,32 +2212,16 @@ export declare const AddTodoTemplateRequestSchema: {
1940
2212
  };
1941
2213
  readonly required: readonly ["applyToTasksInStage", "title"];
1942
2214
  };
1943
- export declare const ProvisionAgencyRequestSchema: {
2215
+ export declare const AdminCheckoutRequestSchema: {
1944
2216
  readonly type: "object";
1945
2217
  readonly properties: {
1946
- readonly ownerUserId: {
1947
- readonly type: "string";
1948
- readonly description: "The customer's existing user account id";
1949
- };
1950
- readonly name: {
1951
- readonly type: "string";
1952
- };
1953
- readonly email: {
1954
- readonly type: "string";
1955
- readonly format: "email";
1956
- };
1957
- readonly phone: {
1958
- readonly type: "string";
1959
- };
1960
- readonly subdomain: {
2218
+ readonly agencyId: {
1961
2219
  readonly type: "string";
1962
- };
1963
- readonly address: {
1964
- readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
2220
+ readonly format: "uuid";
1965
2221
  };
1966
2222
  readonly plan: {
1967
2223
  readonly type: "string";
1968
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
2224
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
1969
2225
  };
1970
2226
  readonly billingCycle: {
1971
2227
  readonly type: "string";
@@ -1974,35 +2230,49 @@ export declare const ProvisionAgencyRequestSchema: {
1974
2230
  readonly priceMinorUnits: {
1975
2231
  readonly type: "integer";
1976
2232
  readonly format: "int64";
1977
- readonly description: "Exact per-cycle charge in minor units (tetri)";
2233
+ readonly description: "Exact per-cycle net price in minor units (tetri), VAT excluded";
1978
2234
  };
1979
2235
  readonly seats: {
1980
2236
  readonly type: "integer";
1981
2237
  readonly format: "int32";
1982
2238
  };
1983
- readonly monthlyContactLimit: {
2239
+ readonly activeListings: {
1984
2240
  readonly type: "integer";
1985
2241
  readonly format: "int32";
1986
- readonly description: "Contacts the agency may create per calendar month";
2242
+ };
2243
+ readonly aiMessages: {
2244
+ readonly type: "integer";
2245
+ readonly format: "int32";
2246
+ readonly description: "AI messages the agency shares each month; 0 means no AI";
2247
+ };
2248
+ readonly features: {
2249
+ readonly type: "array";
2250
+ readonly items: {
2251
+ readonly type: "string";
2252
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
2253
+ };
2254
+ readonly uniqueItems: true;
1987
2255
  };
1988
2256
  readonly trialDays: {
1989
2257
  readonly type: "integer";
1990
2258
  readonly format: "int32";
1991
2259
  readonly description: "Free-trial days; 0 charges immediately";
1992
2260
  };
2261
+ readonly discountMonths: {
2262
+ readonly type: "integer";
2263
+ readonly format: "int32";
2264
+ readonly description: "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";
2265
+ readonly minimum: 2;
2266
+ };
1993
2267
  };
1994
- readonly required: readonly ["address", "billingCycle", "email", "monthlyContactLimit", "name", "ownerUserId", "phone", "plan", "priceMinorUnits", "seats", "subdomain", "trialDays"];
2268
+ readonly required: readonly ["activeListings", "agencyId", "aiMessages", "billingCycle", "features", "plan", "priceMinorUnits", "seats", "trialDays"];
1995
2269
  };
1996
- export declare const AdminProvisionResponseSchema: {
2270
+ export declare const AdminCheckoutResponseSchema: {
1997
2271
  readonly type: "object";
1998
2272
  readonly properties: {
1999
2273
  readonly checkoutUrl: {
2000
2274
  readonly type: "string";
2001
2275
  };
2002
- readonly agencyId: {
2003
- readonly type: "string";
2004
- readonly format: "uuid";
2005
- };
2006
2276
  readonly subscriptionId: {
2007
2277
  readonly type: "string";
2008
2278
  readonly format: "uuid";
@@ -2081,8 +2351,12 @@ export declare const OrganizationSummaryViewResponseSchema: {
2081
2351
  readonly isPhoneVerified: {
2082
2352
  readonly type: "boolean";
2083
2353
  };
2354
+ readonly isSeatLocked: {
2355
+ readonly type: "boolean";
2356
+ readonly description: "Past the seats the agency's plan has after a downgrade: locked out until the owner upgrades or removes a member";
2357
+ };
2084
2358
  };
2085
- readonly required: readonly ["agencyId", "agencyName", "isOwner", "isPhoneVerified", "memberId", "permissions", "phone", "roleName", "status", "subdomain"];
2359
+ readonly required: readonly ["agencyId", "agencyName", "isOwner", "isPhoneVerified", "isSeatLocked", "memberId", "permissions", "phone", "roleName", "status", "subdomain"];
2086
2360
  };
2087
2361
  export declare const UserContextViewResponseSchema: {
2088
2362
  readonly type: "object";
@@ -3045,7 +3319,7 @@ export declare const SubscriptionResponseSchema: {
3045
3319
  };
3046
3320
  readonly plan: {
3047
3321
  readonly type: "string";
3048
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
3322
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
3049
3323
  };
3050
3324
  readonly billingCycle: {
3051
3325
  readonly type: "string";
@@ -3054,7 +3328,22 @@ export declare const SubscriptionResponseSchema: {
3054
3328
  readonly priceMinorUnits: {
3055
3329
  readonly type: "integer";
3056
3330
  readonly format: "int64";
3057
- readonly description: "Per-cycle price in minor units (tetri)";
3331
+ readonly description: "Per-cycle charge in minor units (tetri), VAT included";
3332
+ };
3333
+ readonly netMinorUnits: {
3334
+ readonly type: "integer";
3335
+ readonly format: "int64";
3336
+ readonly description: "The charge without VAT, in minor units";
3337
+ };
3338
+ readonly vatMinorUnits: {
3339
+ readonly type: "integer";
3340
+ readonly format: "int64";
3341
+ readonly description: "The VAT inside the charge, in minor units";
3342
+ };
3343
+ readonly vatPercent: {
3344
+ readonly type: "integer";
3345
+ readonly format: "int32";
3346
+ readonly description: "The VAT rate the subscription was sold at, in percent";
3058
3347
  };
3059
3348
  readonly currency: {
3060
3349
  readonly type: "string";
@@ -3063,9 +3352,22 @@ export declare const SubscriptionResponseSchema: {
3063
3352
  readonly type: "integer";
3064
3353
  readonly format: "int32";
3065
3354
  };
3066
- readonly monthlyContactLimit: {
3355
+ readonly activeListings: {
3356
+ readonly type: "integer";
3357
+ readonly format: "int32";
3358
+ };
3359
+ readonly aiMessages: {
3067
3360
  readonly type: "integer";
3068
3361
  readonly format: "int32";
3362
+ readonly description: "AI messages the agency shares each month; 0 means no AI";
3363
+ };
3364
+ readonly features: {
3365
+ readonly type: "array";
3366
+ readonly items: {
3367
+ readonly type: "string";
3368
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
3369
+ };
3370
+ readonly uniqueItems: true;
3069
3371
  };
3070
3372
  readonly trialDays: {
3071
3373
  readonly type: "integer";
@@ -3117,8 +3419,99 @@ export declare const SubscriptionResponseSchema: {
3117
3419
  readonly format: "date-time";
3118
3420
  readonly description: "When the most recently issued checkout link stops being payable";
3119
3421
  };
3422
+ readonly discountEndsAt: {
3423
+ readonly type: "string";
3424
+ readonly format: "date-time";
3425
+ readonly description: "Until when its discounted price applies; absent for any other price";
3426
+ };
3427
+ };
3428
+ readonly required: readonly ["activeListings", "aiMessages", "billingCycle", "createdAt", "currency", "features", "live", "netMinorUnits", "plan", "priceMinorUnits", "seats", "status", "subscriptionId", "trialDays", "vatMinorUnits", "vatPercent"];
3429
+ };
3430
+ export declare const AiMessagesSchema: {
3431
+ readonly type: "object";
3432
+ readonly properties: {
3433
+ readonly used: {
3434
+ readonly type: "integer";
3435
+ readonly format: "int64";
3436
+ };
3437
+ readonly limit: {
3438
+ readonly type: "integer";
3439
+ readonly format: "int64";
3440
+ readonly description: "Shared by the whole agency";
3441
+ };
3442
+ readonly resetsAt: {
3443
+ readonly type: "string";
3444
+ readonly format: "date-time";
3445
+ readonly description: "When the allowance renews: the next 1st in Tbilisi; absent during the trial, whose allowance covers all of it";
3446
+ };
3120
3447
  };
3121
- readonly required: readonly ["billingCycle", "createdAt", "currency", "live", "monthlyContactLimit", "plan", "priceMinorUnits", "seats", "status", "subscriptionId", "trialDays"];
3448
+ readonly required: readonly ["limit", "used"];
3449
+ };
3450
+ export declare const PlanResponseSchema: {
3451
+ readonly type: "object";
3452
+ readonly properties: {
3453
+ readonly plan: {
3454
+ readonly type: "string";
3455
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
3456
+ };
3457
+ readonly canManage: {
3458
+ readonly type: "boolean";
3459
+ readonly description: "Whether the caller may change the plan: the owner";
3460
+ };
3461
+ readonly trial: {
3462
+ readonly $ref: "#/components/schemas/Trial";
3463
+ readonly description: "Present only during the trial every new agency starts with";
3464
+ };
3465
+ readonly subscription: {
3466
+ readonly $ref: "#/components/schemas/SubscriptionResponse";
3467
+ readonly description: "The subscription access comes from; absent on Free";
3468
+ };
3469
+ readonly seats: {
3470
+ readonly $ref: "#/components/schemas/Usage";
3471
+ };
3472
+ readonly activeListings: {
3473
+ readonly $ref: "#/components/schemas/Usage";
3474
+ };
3475
+ readonly aiMessages: {
3476
+ readonly $ref: "#/components/schemas/AiMessages";
3477
+ };
3478
+ readonly boards: {
3479
+ readonly $ref: "#/components/schemas/Usage";
3480
+ };
3481
+ readonly features: {
3482
+ readonly type: "array";
3483
+ readonly items: {
3484
+ readonly type: "string";
3485
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
3486
+ };
3487
+ readonly uniqueItems: true;
3488
+ };
3489
+ };
3490
+ readonly required: readonly ["activeListings", "aiMessages", "boards", "canManage", "features", "plan", "seats"];
3491
+ };
3492
+ export declare const TrialSchema: {
3493
+ readonly type: "object";
3494
+ readonly properties: {
3495
+ readonly endsAt: {
3496
+ readonly type: "string";
3497
+ readonly format: "date-time";
3498
+ };
3499
+ };
3500
+ readonly required: readonly ["endsAt"];
3501
+ };
3502
+ export declare const UsageSchema: {
3503
+ readonly type: "object";
3504
+ readonly properties: {
3505
+ readonly used: {
3506
+ readonly type: "integer";
3507
+ readonly format: "int64";
3508
+ };
3509
+ readonly limit: {
3510
+ readonly type: "integer";
3511
+ readonly format: "int64";
3512
+ };
3513
+ };
3514
+ readonly required: readonly ["limit", "used"];
3122
3515
  };
3123
3516
  export declare const PaymentResponseSchema: {
3124
3517
  readonly type: "object";
@@ -3152,6 +3545,22 @@ export declare const PaymentResponseSchema: {
3152
3545
  readonly amountMinorUnits: {
3153
3546
  readonly type: "integer";
3154
3547
  readonly format: "int64";
3548
+ readonly description: "VAT included";
3549
+ };
3550
+ readonly netMinorUnits: {
3551
+ readonly type: "integer";
3552
+ readonly format: "int64";
3553
+ readonly description: "The amount without VAT, at the subscription's rate";
3554
+ };
3555
+ readonly vatMinorUnits: {
3556
+ readonly type: "integer";
3557
+ readonly format: "int64";
3558
+ readonly description: "The VAT inside the amount";
3559
+ };
3560
+ readonly vatPercent: {
3561
+ readonly type: "integer";
3562
+ readonly format: "int32";
3563
+ readonly description: "The subscription's VAT rate, in percent";
3155
3564
  };
3156
3565
  readonly currency: {
3157
3566
  readonly type: "string";
@@ -3171,7 +3580,7 @@ export declare const PaymentResponseSchema: {
3171
3580
  readonly format: "date-time";
3172
3581
  };
3173
3582
  };
3174
- readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId"];
3583
+ readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId", "vatPercent"];
3175
3584
  };
3176
3585
  export declare const BucketSchema: {
3177
3586
  readonly type: "object";
@@ -3460,42 +3869,201 @@ export declare const PagedModelRoleResponseSchema: {
3460
3869
  readonly content: {
3461
3870
  readonly type: "array";
3462
3871
  readonly items: {
3463
- readonly $ref: "#/components/schemas/RoleResponse";
3872
+ readonly $ref: "#/components/schemas/RoleResponse";
3873
+ };
3874
+ };
3875
+ readonly page: {
3876
+ readonly $ref: "#/components/schemas/PageMetadata";
3877
+ };
3878
+ };
3879
+ };
3880
+ export declare const RoleResponseSchema: {
3881
+ readonly type: "object";
3882
+ readonly properties: {
3883
+ readonly id: {
3884
+ readonly type: "integer";
3885
+ readonly format: "int32";
3886
+ };
3887
+ readonly name: {
3888
+ readonly type: "string";
3889
+ };
3890
+ readonly isSystem: {
3891
+ readonly type: "boolean";
3892
+ };
3893
+ readonly isOwner: {
3894
+ readonly type: "boolean";
3895
+ };
3896
+ readonly description: {
3897
+ readonly type: "string";
3898
+ };
3899
+ readonly permissions: {
3900
+ readonly type: "array";
3901
+ readonly items: {
3902
+ readonly type: "string";
3903
+ readonly enum: readonly ["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"];
3904
+ };
3905
+ };
3906
+ };
3907
+ readonly required: readonly ["description", "id", "name", "permissions"];
3908
+ };
3909
+ export declare const FormSchema: {
3910
+ readonly type: "object";
3911
+ readonly properties: {
3912
+ readonly id: {
3913
+ readonly type: "string";
3914
+ readonly format: "uuid";
3915
+ };
3916
+ readonly state: {
3917
+ readonly type: "string";
3918
+ readonly enum: readonly ["OPEN", "SENT", "REPLACED", "EXPIRED"];
3919
+ };
3920
+ readonly expiresAt: {
3921
+ readonly type: "string";
3922
+ readonly format: "date-time";
3923
+ };
3924
+ readonly prefill: {
3925
+ readonly $ref: "#/components/schemas/Prefill";
3926
+ };
3927
+ };
3928
+ };
3929
+ export declare const LocationSummarySchema: {
3930
+ readonly type: "object";
3931
+ readonly properties: {
3932
+ readonly id: {
3933
+ readonly type: "integer";
3934
+ readonly format: "int64";
3935
+ };
3936
+ readonly parentId: {
3937
+ readonly type: "integer";
3938
+ readonly format: "int64";
3939
+ };
3940
+ readonly type: {
3941
+ readonly type: "string";
3942
+ readonly enum: readonly ["REGION", "DISTRICT", "SUBDISTRICT", "STREET"];
3943
+ };
3944
+ readonly names: {
3945
+ readonly type: "object";
3946
+ readonly additionalProperties: {
3947
+ readonly type: "string";
3948
+ };
3949
+ };
3950
+ readonly fullNames: {
3951
+ readonly type: "object";
3952
+ readonly additionalProperties: {
3953
+ readonly type: "string";
3954
+ };
3955
+ };
3956
+ readonly viewport: {
3957
+ readonly $ref: "#/components/schemas/Viewport";
3958
+ };
3959
+ };
3960
+ readonly required: readonly ["fullNames", "id", "names", "type", "viewport"];
3961
+ };
3962
+ export declare const OwnerSchema: {
3963
+ readonly type: "object";
3964
+ readonly properties: {
3965
+ readonly id: {
3966
+ readonly type: "integer";
3967
+ readonly format: "int64";
3968
+ };
3969
+ readonly name: {
3970
+ readonly type: "string";
3971
+ };
3972
+ readonly phone: {
3973
+ readonly type: "string";
3974
+ };
3975
+ };
3976
+ };
3977
+ export declare const PrefillSchema: {
3978
+ readonly type: "object";
3979
+ readonly properties: {
3980
+ readonly owner: {
3981
+ readonly $ref: "#/components/schemas/Owner";
3982
+ };
3983
+ readonly propertyType: {
3984
+ readonly type: "string";
3985
+ readonly enum: readonly ["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"];
3986
+ };
3987
+ readonly place: {
3988
+ readonly $ref: "#/components/schemas/LocationSummary";
3989
+ };
3990
+ readonly spaces: {
3991
+ readonly type: "object";
3992
+ readonly additionalProperties: {
3993
+ readonly type: "array";
3994
+ readonly items: {
3995
+ readonly type: "number";
3996
+ readonly format: "double";
3997
+ };
3998
+ };
3999
+ };
4000
+ readonly totalArea: {
4001
+ readonly type: "number";
4002
+ readonly format: "double";
4003
+ };
4004
+ readonly livingArea: {
4005
+ readonly type: "number";
4006
+ readonly format: "double";
4007
+ };
4008
+ readonly balconyArea: {
4009
+ readonly type: "number";
4010
+ readonly format: "double";
4011
+ };
4012
+ readonly status: {
4013
+ readonly type: "string";
4014
+ readonly enum: readonly ["OLD_BUILDING", "NEW_BUILDING", "UNDER_CONSTRUCTION", "FINISHED"];
4015
+ };
4016
+ readonly condition: {
4017
+ readonly type: "string";
4018
+ readonly enum: readonly ["NEWLY_RENOVATED", "OLD_RENOVATED", "CURRENT_RENOVATION", "REPAIRING", "WHITE_FRAME", "BLACK_FRAME", "GREEN_FRAME", "WHITE_PLUS"];
4019
+ };
4020
+ readonly totalFloors: {
4021
+ readonly type: "integer";
4022
+ readonly format: "int32";
4023
+ };
4024
+ readonly floorAt: {
4025
+ readonly type: "integer";
4026
+ readonly format: "int32";
4027
+ };
4028
+ readonly amenities: {
4029
+ readonly type: "array";
4030
+ readonly items: {
4031
+ readonly type: "integer";
4032
+ readonly format: "int32";
3464
4033
  };
3465
4034
  };
3466
- readonly page: {
3467
- readonly $ref: "#/components/schemas/PageMetadata";
4035
+ readonly title: {
4036
+ readonly type: "string";
4037
+ };
4038
+ readonly description: {
4039
+ readonly type: "string";
4040
+ };
4041
+ readonly offer: {
4042
+ readonly $ref: "#/components/schemas/Offer";
3468
4043
  };
3469
4044
  };
3470
4045
  };
3471
- export declare const RoleResponseSchema: {
4046
+ export declare const ViewportSchema: {
3472
4047
  readonly type: "object";
3473
4048
  readonly properties: {
3474
- readonly id: {
3475
- readonly type: "integer";
3476
- readonly format: "int32";
3477
- };
3478
- readonly name: {
3479
- readonly type: "string";
3480
- };
3481
- readonly isSystem: {
3482
- readonly type: "boolean";
4049
+ readonly south: {
4050
+ readonly type: "number";
4051
+ readonly format: "double";
3483
4052
  };
3484
- readonly isOwner: {
3485
- readonly type: "boolean";
4053
+ readonly west: {
4054
+ readonly type: "number";
4055
+ readonly format: "double";
3486
4056
  };
3487
- readonly description: {
3488
- readonly type: "string";
4057
+ readonly north: {
4058
+ readonly type: "number";
4059
+ readonly format: "double";
3489
4060
  };
3490
- readonly permissions: {
3491
- readonly type: "array";
3492
- readonly items: {
3493
- readonly type: "string";
3494
- readonly enum: readonly ["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"];
3495
- };
4061
+ readonly east: {
4062
+ readonly type: "number";
4063
+ readonly format: "double";
3496
4064
  };
3497
4065
  };
3498
- readonly required: readonly ["description", "id", "name", "permissions"];
4066
+ readonly required: readonly ["east", "north", "south", "west"];
3499
4067
  };
3500
4068
  export declare const AddressResponseSchema: {
3501
4069
  readonly type: "object";
@@ -3624,11 +4192,15 @@ export declare const InterestResponseSchema: {
3624
4192
  readonly boundedBox: {
3625
4193
  readonly $ref: "#/components/schemas/BoundingBox";
3626
4194
  };
4195
+ readonly agencyBranding: {
4196
+ readonly type: "boolean";
4197
+ readonly description: "Whether client pages show the agency's own logo; HomeSpot's when false";
4198
+ };
3627
4199
  readonly recommendations: {
3628
4200
  readonly $ref: "#/components/schemas/PagedModelRecommendationsCardView";
3629
4201
  };
3630
4202
  };
3631
- readonly required: readonly ["createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
4203
+ readonly required: readonly ["agencyBranding", "createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
3632
4204
  };
3633
4205
  export declare const PagedModelRecommendationsCardViewSchema: {
3634
4206
  readonly type: "object";
@@ -3794,6 +4366,107 @@ export declare const RecommendationDecisionResponseSchema: {
3794
4366
  };
3795
4367
  readonly required: readonly ["decision", "externalListingId", "externalPropertyId"];
3796
4368
  };
4369
+ export declare const AmountSchema: {
4370
+ readonly type: "object";
4371
+ readonly properties: {
4372
+ readonly netMinorUnits: {
4373
+ readonly type: "integer";
4374
+ readonly format: "int64";
4375
+ };
4376
+ readonly vatMinorUnits: {
4377
+ readonly type: "integer";
4378
+ readonly format: "int64";
4379
+ };
4380
+ readonly totalMinorUnits: {
4381
+ readonly type: "integer";
4382
+ readonly format: "int64";
4383
+ };
4384
+ };
4385
+ readonly required: readonly ["netMinorUnits", "totalMinorUnits", "vatMinorUnits"];
4386
+ };
4387
+ export declare const CatalogResponseSchema: {
4388
+ readonly type: "object";
4389
+ readonly properties: {
4390
+ readonly currency: {
4391
+ readonly type: "string";
4392
+ };
4393
+ readonly vatPercent: {
4394
+ readonly type: "integer";
4395
+ readonly format: "int32";
4396
+ };
4397
+ readonly plans: {
4398
+ readonly type: "array";
4399
+ readonly description: "Free, Plus and Pro";
4400
+ readonly items: {
4401
+ readonly $ref: "#/components/schemas/PlanOffer";
4402
+ };
4403
+ };
4404
+ readonly enterpriseFromMonthly: {
4405
+ readonly $ref: "#/components/schemas/Amount";
4406
+ readonly description: "Enterprise's lowest monthly price; every deal is priced individually";
4407
+ };
4408
+ readonly trial: {
4409
+ readonly $ref: "#/components/schemas/TrialOffer";
4410
+ };
4411
+ };
4412
+ readonly required: readonly ["currency", "enterpriseFromMonthly", "plans", "trial", "vatPercent"];
4413
+ };
4414
+ export declare const PlanOfferSchema: {
4415
+ readonly type: "object";
4416
+ readonly properties: {
4417
+ readonly plan: {
4418
+ readonly type: "string";
4419
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
4420
+ };
4421
+ readonly monthly: {
4422
+ readonly $ref: "#/components/schemas/Amount";
4423
+ };
4424
+ readonly yearly: {
4425
+ readonly $ref: "#/components/schemas/Amount";
4426
+ };
4427
+ readonly seats: {
4428
+ readonly type: "integer";
4429
+ readonly format: "int32";
4430
+ };
4431
+ readonly activeListings: {
4432
+ readonly type: "integer";
4433
+ readonly format: "int32";
4434
+ };
4435
+ readonly aiMessages: {
4436
+ readonly type: "integer";
4437
+ readonly format: "int32";
4438
+ readonly description: "A month's AI messages, shared by the whole agency";
4439
+ };
4440
+ readonly features: {
4441
+ readonly type: "array";
4442
+ readonly items: {
4443
+ readonly type: "string";
4444
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
4445
+ };
4446
+ readonly uniqueItems: true;
4447
+ };
4448
+ };
4449
+ readonly required: readonly ["activeListings", "aiMessages", "features", "monthly", "plan", "seats", "yearly"];
4450
+ };
4451
+ export declare const TrialOfferSchema: {
4452
+ readonly type: "object";
4453
+ readonly properties: {
4454
+ readonly days: {
4455
+ readonly type: "integer";
4456
+ readonly format: "int32";
4457
+ };
4458
+ readonly plan: {
4459
+ readonly type: "string";
4460
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
4461
+ };
4462
+ readonly aiMessages: {
4463
+ readonly type: "integer";
4464
+ readonly format: "int32";
4465
+ readonly description: "For the whole trial";
4466
+ };
4467
+ };
4468
+ readonly required: readonly ["aiMessages", "days", "plan"];
4469
+ };
3797
4470
  export declare const GroupedPermissionsResponseSchema: {
3798
4471
  readonly type: "object";
3799
4472
  readonly properties: {
@@ -4489,6 +5162,40 @@ export declare const AgentCommentedSchema: {
4489
5162
  };
4490
5163
  readonly required: readonly ["kind"];
4491
5164
  };
5165
+ export declare const AiMessagesRunningLowSchema: {
5166
+ readonly properties: {
5167
+ readonly used: {
5168
+ readonly type: "integer";
5169
+ readonly format: "int64";
5170
+ };
5171
+ readonly allowance: {
5172
+ readonly type: "integer";
5173
+ readonly format: "int32";
5174
+ };
5175
+ readonly kind: {
5176
+ readonly type: "string";
5177
+ readonly enum: readonly ["AI_MESSAGES_RUNNING_LOW"];
5178
+ };
5179
+ };
5180
+ readonly required: readonly ["kind"];
5181
+ };
5182
+ export declare const AiMessagesUsedUpSchema: {
5183
+ readonly properties: {
5184
+ readonly allowance: {
5185
+ readonly type: "integer";
5186
+ readonly format: "int32";
5187
+ };
5188
+ readonly renewsAt: {
5189
+ readonly type: "string";
5190
+ readonly format: "date-time";
5191
+ };
5192
+ readonly kind: {
5193
+ readonly type: "string";
5194
+ readonly enum: readonly ["AI_MESSAGES_USED_UP"];
5195
+ };
5196
+ };
5197
+ readonly required: readonly ["kind"];
5198
+ };
4492
5199
  export declare const ChannelReauthRequiredSchema: {
4493
5200
  readonly properties: {
4494
5201
  readonly connectionId: {
@@ -4586,6 +5293,22 @@ export declare const CursorPageNotificationViewSchema: {
4586
5293
  };
4587
5294
  };
4588
5295
  };
5296
+ export declare const DiscountEndingSchema: {
5297
+ readonly properties: {
5298
+ readonly subscriptionId: {
5299
+ readonly $ref: "#/components/schemas/SubscriptionId";
5300
+ };
5301
+ readonly endsAt: {
5302
+ readonly type: "string";
5303
+ readonly format: "date-time";
5304
+ };
5305
+ readonly kind: {
5306
+ readonly type: "string";
5307
+ readonly enum: readonly ["DISCOUNT_ENDING"];
5308
+ };
5309
+ };
5310
+ readonly required: readonly ["kind"];
5311
+ };
4589
5312
  export declare const ListingExpiredSchema: {
4590
5313
  readonly properties: {
4591
5314
  readonly contactId: {
@@ -4715,6 +5438,11 @@ export declare const NotificationContentSchema: {
4715
5438
  readonly SUBSCRIPTION_ENDING: "#/components/schemas/SubscriptionEnding";
4716
5439
  readonly SUBSCRIPTION_EXPIRED: "#/components/schemas/SubscriptionExpired";
4717
5440
  readonly SUBSCRIPTION_PAYMENT_REVERSED: "#/components/schemas/SubscriptionPaymentReversed";
5441
+ readonly TRIAL_ENDING: "#/components/schemas/TrialEnding";
5442
+ readonly TRIAL_ENDED: "#/components/schemas/TrialEnded";
5443
+ readonly DISCOUNT_ENDING: "#/components/schemas/DiscountEnding";
5444
+ readonly AI_MESSAGES_RUNNING_LOW: "#/components/schemas/AiMessagesRunningLow";
5445
+ readonly AI_MESSAGES_USED_UP: "#/components/schemas/AiMessagesUsedUp";
4718
5446
  readonly CHANNEL_REAUTH_REQUIRED: "#/components/schemas/ChannelReauthRequired";
4719
5447
  readonly SOCIAL_POST_FAILED: "#/components/schemas/SocialPostFailed";
4720
5448
  readonly SOCIAL_POST_COMMENTED: "#/components/schemas/SocialPostCommented";
@@ -4748,7 +5476,7 @@ export declare const NotificationViewSchema: {
4748
5476
  };
4749
5477
  readonly type: {
4750
5478
  readonly type: "string";
4751
- readonly enum: readonly ["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"];
5479
+ readonly enum: readonly ["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"];
4752
5480
  };
4753
5481
  readonly targetId: {
4754
5482
  readonly type: "string";
@@ -4756,10 +5484,16 @@ export declare const NotificationViewSchema: {
4756
5484
  readonly payload: {
4757
5485
  readonly oneOf: readonly [{
4758
5486
  readonly $ref: "#/components/schemas/AgentCommented";
5487
+ }, {
5488
+ readonly $ref: "#/components/schemas/AiMessagesRunningLow";
5489
+ }, {
5490
+ readonly $ref: "#/components/schemas/AiMessagesUsedUp";
4759
5491
  }, {
4760
5492
  readonly $ref: "#/components/schemas/ChannelReauthRequired";
4761
5493
  }, {
4762
5494
  readonly $ref: "#/components/schemas/ContactAssigned";
5495
+ }, {
5496
+ readonly $ref: "#/components/schemas/DiscountEnding";
4763
5497
  }, {
4764
5498
  readonly $ref: "#/components/schemas/ListingExpired";
4765
5499
  }, {
@@ -4782,6 +5516,10 @@ export declare const NotificationViewSchema: {
4782
5516
  readonly $ref: "#/components/schemas/SubscriptionPaymentReversed";
4783
5517
  }, {
4784
5518
  readonly $ref: "#/components/schemas/TaskCommented";
5519
+ }, {
5520
+ readonly $ref: "#/components/schemas/TrialEnded";
5521
+ }, {
5522
+ readonly $ref: "#/components/schemas/TrialEnding";
4785
5523
  }];
4786
5524
  };
4787
5525
  readonly count: {
@@ -5005,6 +5743,28 @@ export declare const TaskIdSchema: {
5005
5743
  };
5006
5744
  };
5007
5745
  };
5746
+ export declare const TrialEndedSchema: {
5747
+ readonly properties: {
5748
+ readonly kind: {
5749
+ readonly type: "string";
5750
+ readonly enum: readonly ["TRIAL_ENDED"];
5751
+ };
5752
+ };
5753
+ readonly required: readonly ["kind"];
5754
+ };
5755
+ export declare const TrialEndingSchema: {
5756
+ readonly properties: {
5757
+ readonly endsAt: {
5758
+ readonly type: "string";
5759
+ readonly format: "date-time";
5760
+ };
5761
+ readonly kind: {
5762
+ readonly type: "string";
5763
+ readonly enum: readonly ["TRIAL_ENDING"];
5764
+ };
5765
+ };
5766
+ readonly required: readonly ["kind"];
5767
+ };
5008
5768
  export declare const UnreadCountSchema: {
5009
5769
  readonly type: "object";
5010
5770
  readonly properties: {
@@ -5336,6 +6096,16 @@ export declare const ListingGridResponseSchema: {
5336
6096
  readonly type: "string";
5337
6097
  readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
5338
6098
  };
6099
+ readonly listingState: {
6100
+ readonly type: "string";
6101
+ readonly description: "Whether the agency still works the listing; null for a property without one";
6102
+ readonly enum: readonly ["OPEN", "CLOSED"];
6103
+ };
6104
+ readonly marketplaceStatus: {
6105
+ readonly type: "string";
6106
+ readonly description: "The listing on HomeSpot's own marketplace; null for a property without one";
6107
+ readonly enum: readonly ["ACTIVE", "PAUSED", "EXPIRED"];
6108
+ };
5339
6109
  readonly price: {
5340
6110
  readonly type: "number";
5341
6111
  };
@@ -5395,6 +6165,11 @@ export declare const PlatformViewSchema: {
5395
6165
  readonly type: "string";
5396
6166
  readonly enum: readonly ["SS", "MY_HOME"];
5397
6167
  };
6168
+ readonly status: {
6169
+ readonly type: "string";
6170
+ readonly description: "PENDING until the portal answers; SYNDICATED while live";
6171
+ readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED", "WITHDRAWING", "WITHDRAWN"];
6172
+ };
5398
6173
  readonly expiresAt: {
5399
6174
  readonly type: "string";
5400
6175
  readonly format: "date";
@@ -5408,6 +6183,7 @@ export declare const PlatformViewSchema: {
5408
6183
  readonly format: "date";
5409
6184
  };
5410
6185
  };
6186
+ readonly required: readonly ["status"];
5411
6187
  };
5412
6188
  export declare const SocialPostLinkSchema: {
5413
6189
  readonly type: "object";
@@ -5543,6 +6319,9 @@ export declare const InterestGridResponseSchema: {
5543
6319
  readonly bedrooms: {
5544
6320
  readonly $ref: "#/components/schemas/RoomRange";
5545
6321
  };
6322
+ readonly bathrooms: {
6323
+ readonly $ref: "#/components/schemas/RoomRange";
6324
+ };
5546
6325
  readonly totalArea: {
5547
6326
  readonly $ref: "#/components/schemas/AreaRange";
5548
6327
  };
@@ -5552,12 +6331,28 @@ export declare const InterestGridResponseSchema: {
5552
6331
  readonly address: {
5553
6332
  readonly $ref: "#/components/schemas/AddressView";
5554
6333
  };
6334
+ readonly locationType: {
6335
+ readonly type: "string";
6336
+ readonly enum: readonly ["REGION", "DISTRICT", "SUBDISTRICT", "STREET"];
6337
+ };
6338
+ readonly locationId: {
6339
+ readonly type: "integer";
6340
+ readonly format: "int64";
6341
+ };
5555
6342
  readonly status: {
5556
6343
  readonly type: "string";
5557
6344
  readonly enum: readonly ["UNPUBLISHED", "PUBLISHED", "CLOSED"];
5558
6345
  };
6346
+ readonly shareToken: {
6347
+ readonly type: "string";
6348
+ readonly format: "uuid";
6349
+ };
6350
+ readonly recommendationCount: {
6351
+ readonly type: "integer";
6352
+ readonly format: "int32";
6353
+ };
5559
6354
  };
5560
- readonly required: readonly ["createdBy", "interestId", "listingType", "personalDetails", "propertyTypes", "status", "title"];
6355
+ readonly required: readonly ["createdBy", "interestId", "listingType", "personalDetails", "propertyTypes", "recommendationCount", "shareToken", "status", "title"];
5561
6356
  };
5562
6357
  export declare const MoneySchema: {
5563
6358
  readonly type: "object";
@@ -5995,6 +6790,60 @@ export declare const SocialCommentThreadResponseSchema: {
5995
6790
  };
5996
6791
  readonly required: readonly ["answered", "comment", "post", "replies"];
5997
6792
  };
6793
+ export declare const ListingMatchSchema: {
6794
+ readonly type: "object";
6795
+ readonly properties: {
6796
+ readonly externalPropertyId: {
6797
+ readonly type: "string";
6798
+ readonly format: "uuid";
6799
+ };
6800
+ readonly externalListingId: {
6801
+ readonly type: "string";
6802
+ readonly format: "uuid";
6803
+ };
6804
+ readonly listingType: {
6805
+ readonly type: "string";
6806
+ readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
6807
+ };
6808
+ readonly price: {
6809
+ readonly type: "number";
6810
+ };
6811
+ readonly propertyType: {
6812
+ readonly type: "string";
6813
+ readonly enum: readonly ["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"];
6814
+ };
6815
+ readonly address: {
6816
+ readonly type: "string";
6817
+ };
6818
+ readonly lat: {
6819
+ readonly type: "number";
6820
+ readonly format: "double";
6821
+ };
6822
+ readonly lng: {
6823
+ readonly type: "number";
6824
+ readonly format: "double";
6825
+ };
6826
+ readonly totalArea: {
6827
+ readonly type: "number";
6828
+ readonly format: "double";
6829
+ };
6830
+ readonly bedrooms: {
6831
+ readonly type: "integer";
6832
+ readonly format: "int32";
6833
+ };
6834
+ readonly bathrooms: {
6835
+ readonly type: "integer";
6836
+ readonly format: "int32";
6837
+ };
6838
+ readonly featuredPhotos: {
6839
+ readonly type: "array";
6840
+ readonly items: {
6841
+ readonly type: "string";
6842
+ };
6843
+ };
6844
+ };
6845
+ readonly required: readonly ["bathrooms", "bedrooms", "externalListingId", "externalPropertyId", "featuredPhotos", "lat", "listingType", "lng", "price", "propertyType", "totalArea"];
6846
+ };
5998
6847
  export declare const ContactGridResponseSchema: {
5999
6848
  readonly type: "object";
6000
6849
  readonly properties: {