@homespot-sdk/core 0.0.324 → 0.0.326
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +518 -253
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +679 -344
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +15 -10
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +46 -17
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +63 -13
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +283 -123
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +2369 -1315
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +496 -247
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -379,6 +379,21 @@ export declare const TitleRequestSchema: {
|
|
|
379
379
|
};
|
|
380
380
|
readonly required: readonly ["title"];
|
|
381
381
|
};
|
|
382
|
+
export declare const RateRecommendationItemRequestSchema: {
|
|
383
|
+
readonly type: "object";
|
|
384
|
+
readonly properties: {
|
|
385
|
+
readonly decision: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
readonly enum: readonly ["MAYBE", "DISLIKE", "LIKE"];
|
|
388
|
+
};
|
|
389
|
+
readonly note: {
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
readonly maxLength: 100;
|
|
392
|
+
readonly minLength: 0;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
readonly required: readonly ["decision"];
|
|
396
|
+
};
|
|
382
397
|
export declare const RecommendListingRequestSchema: {
|
|
383
398
|
readonly type: "object";
|
|
384
399
|
readonly properties: {
|
|
@@ -768,21 +783,6 @@ export declare const IdResponseIntegerSchema: {
|
|
|
768
783
|
};
|
|
769
784
|
readonly required: readonly ["id"];
|
|
770
785
|
};
|
|
771
|
-
export declare const RateRecommendationItemRequestSchema: {
|
|
772
|
-
readonly type: "object";
|
|
773
|
-
readonly properties: {
|
|
774
|
-
readonly decision: {
|
|
775
|
-
readonly type: "string";
|
|
776
|
-
readonly enum: readonly ["MAYBE", "DISLIKE", "LIKE"];
|
|
777
|
-
};
|
|
778
|
-
readonly note: {
|
|
779
|
-
readonly type: "string";
|
|
780
|
-
readonly maxLength: 100;
|
|
781
|
-
readonly minLength: 0;
|
|
782
|
-
};
|
|
783
|
-
};
|
|
784
|
-
readonly required: readonly ["decision"];
|
|
785
|
-
};
|
|
786
786
|
export declare const ContactInfoRequestSchema: {
|
|
787
787
|
readonly type: "object";
|
|
788
788
|
readonly properties: {
|
|
@@ -1114,6 +1114,22 @@ export declare const IdResponseUUIDSchema: {
|
|
|
1114
1114
|
};
|
|
1115
1115
|
readonly required: readonly ["id"];
|
|
1116
1116
|
};
|
|
1117
|
+
export declare const AddDealRequestSchema: {
|
|
1118
|
+
readonly discriminator: {
|
|
1119
|
+
readonly propertyName: "type";
|
|
1120
|
+
readonly mapping: {
|
|
1121
|
+
readonly FIXED: "#/components/schemas/Fixed";
|
|
1122
|
+
readonly PERCENTAGE: "#/components/schemas/Percentage";
|
|
1123
|
+
readonly MONTHS_OF_RENT: "#/components/schemas/MonthsOfRent";
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
readonly properties: {
|
|
1127
|
+
readonly type: {
|
|
1128
|
+
readonly type: "string";
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
readonly required: readonly ["type"];
|
|
1132
|
+
};
|
|
1117
1133
|
export declare const CreateListingRequestSchema: {
|
|
1118
1134
|
readonly type: "object";
|
|
1119
1135
|
readonly properties: {
|
|
@@ -1124,31 +1140,94 @@ export declare const CreateListingRequestSchema: {
|
|
|
1124
1140
|
readonly askingPrice: {
|
|
1125
1141
|
readonly type: "number";
|
|
1126
1142
|
};
|
|
1143
|
+
readonly deal: {
|
|
1144
|
+
readonly oneOf: readonly [{
|
|
1145
|
+
readonly $ref: "#/components/schemas/Fixed";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly $ref: "#/components/schemas/MonthsOfRent";
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly $ref: "#/components/schemas/Percentage";
|
|
1150
|
+
}];
|
|
1151
|
+
};
|
|
1127
1152
|
};
|
|
1128
1153
|
readonly required: readonly ["askingPrice", "listingType"];
|
|
1129
1154
|
};
|
|
1130
|
-
export declare const
|
|
1131
|
-
readonly
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1155
|
+
export declare const FixedSchema: {
|
|
1156
|
+
readonly allOf: readonly [{
|
|
1157
|
+
readonly $ref: "#/components/schemas/AddDealRequest";
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly type: "object";
|
|
1160
|
+
readonly properties: {
|
|
1161
|
+
readonly amount: {
|
|
1162
|
+
readonly type: "number";
|
|
1163
|
+
};
|
|
1136
1164
|
};
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly $ref: "#/components/schemas/DealResponse";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly type: "object";
|
|
1169
|
+
readonly properties: {
|
|
1170
|
+
readonly amount: {
|
|
1171
|
+
readonly type: "number";
|
|
1172
|
+
};
|
|
1173
|
+
readonly commission: {
|
|
1174
|
+
readonly type: "number";
|
|
1175
|
+
};
|
|
1140
1176
|
};
|
|
1141
|
-
|
|
1142
|
-
|
|
1177
|
+
}];
|
|
1178
|
+
readonly required: readonly ["amount"];
|
|
1179
|
+
};
|
|
1180
|
+
export declare const MonthsOfRentSchema: {
|
|
1181
|
+
readonly allOf: readonly [{
|
|
1182
|
+
readonly $ref: "#/components/schemas/AddDealRequest";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly type: "object";
|
|
1185
|
+
readonly properties: {
|
|
1186
|
+
readonly factor: {
|
|
1187
|
+
readonly type: "number";
|
|
1188
|
+
};
|
|
1143
1189
|
};
|
|
1144
|
-
|
|
1145
|
-
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly $ref: "#/components/schemas/DealResponse";
|
|
1192
|
+
}, {
|
|
1193
|
+
readonly type: "object";
|
|
1194
|
+
readonly properties: {
|
|
1195
|
+
readonly factor: {
|
|
1196
|
+
readonly type: "number";
|
|
1197
|
+
};
|
|
1198
|
+
readonly commission: {
|
|
1199
|
+
readonly type: "number";
|
|
1200
|
+
};
|
|
1146
1201
|
};
|
|
1147
|
-
|
|
1148
|
-
|
|
1202
|
+
}];
|
|
1203
|
+
readonly required: readonly ["factor"];
|
|
1204
|
+
};
|
|
1205
|
+
export declare const PercentageSchema: {
|
|
1206
|
+
readonly allOf: readonly [{
|
|
1207
|
+
readonly $ref: "#/components/schemas/AddDealRequest";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly type: "object";
|
|
1210
|
+
readonly properties: {
|
|
1211
|
+
readonly rate: {
|
|
1212
|
+
readonly type: "number";
|
|
1213
|
+
readonly maximum: 1;
|
|
1214
|
+
readonly minimum: 0;
|
|
1215
|
+
};
|
|
1149
1216
|
};
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1217
|
+
}, {
|
|
1218
|
+
readonly $ref: "#/components/schemas/DealResponse";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "object";
|
|
1221
|
+
readonly properties: {
|
|
1222
|
+
readonly rate: {
|
|
1223
|
+
readonly type: "number";
|
|
1224
|
+
};
|
|
1225
|
+
readonly commission: {
|
|
1226
|
+
readonly type: "number";
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
}];
|
|
1230
|
+
readonly required: readonly ["rate"];
|
|
1152
1231
|
};
|
|
1153
1232
|
export declare const CloseListingRequestSchema: {
|
|
1154
1233
|
readonly type: "object";
|
|
@@ -1982,43 +2061,182 @@ export declare const AddressResponseSchema: {
|
|
|
1982
2061
|
};
|
|
1983
2062
|
readonly required: readonly ["district", "lat", "lng", "region", "subdistrict"];
|
|
1984
2063
|
};
|
|
1985
|
-
export declare const
|
|
2064
|
+
export declare const BoundingBoxSchema: {
|
|
1986
2065
|
readonly type: "object";
|
|
1987
2066
|
readonly properties: {
|
|
1988
|
-
readonly
|
|
2067
|
+
readonly minLat: {
|
|
2068
|
+
readonly type: "number";
|
|
2069
|
+
readonly format: "double";
|
|
2070
|
+
};
|
|
2071
|
+
readonly maxLat: {
|
|
2072
|
+
readonly type: "number";
|
|
2073
|
+
readonly format: "double";
|
|
2074
|
+
};
|
|
2075
|
+
readonly minLng: {
|
|
2076
|
+
readonly type: "number";
|
|
2077
|
+
readonly format: "double";
|
|
2078
|
+
};
|
|
2079
|
+
readonly maxLng: {
|
|
2080
|
+
readonly type: "number";
|
|
2081
|
+
readonly format: "double";
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
readonly required: readonly ["maxLat", "maxLng", "minLat", "minLng"];
|
|
2085
|
+
};
|
|
2086
|
+
export declare const CriteriaSchema: {
|
|
2087
|
+
readonly type: "object";
|
|
2088
|
+
readonly properties: {
|
|
2089
|
+
readonly propertyTypes: {
|
|
1989
2090
|
readonly type: "array";
|
|
1990
2091
|
readonly items: {
|
|
1991
|
-
readonly
|
|
2092
|
+
readonly type: "string";
|
|
2093
|
+
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"];
|
|
1992
2094
|
};
|
|
2095
|
+
readonly uniqueItems: true;
|
|
1993
2096
|
};
|
|
1994
|
-
readonly
|
|
1995
|
-
readonly
|
|
2097
|
+
readonly listingType: {
|
|
2098
|
+
readonly type: "string";
|
|
2099
|
+
readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
|
|
2100
|
+
};
|
|
2101
|
+
readonly budget: {
|
|
2102
|
+
readonly $ref: "#/components/schemas/RangeBigDecimal";
|
|
2103
|
+
};
|
|
2104
|
+
readonly bedrooms: {
|
|
2105
|
+
readonly $ref: "#/components/schemas/RangeInteger";
|
|
2106
|
+
};
|
|
2107
|
+
readonly bathrooms: {
|
|
2108
|
+
readonly $ref: "#/components/schemas/RangeInteger";
|
|
2109
|
+
};
|
|
2110
|
+
readonly totalArea: {
|
|
2111
|
+
readonly $ref: "#/components/schemas/RangeDouble";
|
|
2112
|
+
};
|
|
2113
|
+
readonly livingArea: {
|
|
2114
|
+
readonly $ref: "#/components/schemas/RangeDouble";
|
|
2115
|
+
};
|
|
2116
|
+
readonly region: {
|
|
2117
|
+
readonly $ref: "#/components/schemas/LocationResponse";
|
|
2118
|
+
};
|
|
2119
|
+
readonly district: {
|
|
2120
|
+
readonly $ref: "#/components/schemas/LocationResponse";
|
|
2121
|
+
};
|
|
2122
|
+
readonly subDistrict: {
|
|
2123
|
+
readonly $ref: "#/components/schemas/LocationResponse";
|
|
2124
|
+
};
|
|
2125
|
+
readonly street: {
|
|
2126
|
+
readonly $ref: "#/components/schemas/LocationResponse";
|
|
1996
2127
|
};
|
|
1997
2128
|
};
|
|
2129
|
+
readonly required: readonly ["listingType", "propertyTypes"];
|
|
1998
2130
|
};
|
|
1999
|
-
export declare const
|
|
2131
|
+
export declare const InterestResponseSchema: {
|
|
2000
2132
|
readonly type: "object";
|
|
2001
2133
|
readonly properties: {
|
|
2002
|
-
readonly
|
|
2003
|
-
readonly type: "
|
|
2004
|
-
readonly format: "
|
|
2134
|
+
readonly id: {
|
|
2135
|
+
readonly type: "integer";
|
|
2136
|
+
readonly format: "int64";
|
|
2005
2137
|
};
|
|
2006
2138
|
readonly title: {
|
|
2007
2139
|
readonly type: "string";
|
|
2008
2140
|
};
|
|
2141
|
+
readonly status: {
|
|
2142
|
+
readonly type: "string";
|
|
2143
|
+
readonly enum: readonly ["UNPUBLISHED", "PUBLISHED", "CLOSED"];
|
|
2144
|
+
};
|
|
2145
|
+
readonly shareToken: {
|
|
2146
|
+
readonly type: "string";
|
|
2147
|
+
readonly format: "uuid";
|
|
2148
|
+
};
|
|
2009
2149
|
readonly createdAt: {
|
|
2010
2150
|
readonly type: "string";
|
|
2011
2151
|
readonly format: "date-time";
|
|
2012
2152
|
};
|
|
2013
|
-
readonly
|
|
2014
|
-
readonly
|
|
2015
|
-
|
|
2153
|
+
readonly criteria: {
|
|
2154
|
+
readonly $ref: "#/components/schemas/Criteria";
|
|
2155
|
+
};
|
|
2156
|
+
readonly recommendationStats: {
|
|
2157
|
+
readonly $ref: "#/components/schemas/RecommendationStats";
|
|
2158
|
+
};
|
|
2159
|
+
readonly boundedBox: {
|
|
2160
|
+
readonly $ref: "#/components/schemas/BoundingBox";
|
|
2016
2161
|
};
|
|
2017
2162
|
readonly recommendations: {
|
|
2018
2163
|
readonly $ref: "#/components/schemas/PagedModelRecommendationsCardView";
|
|
2019
2164
|
};
|
|
2020
2165
|
};
|
|
2021
|
-
readonly required: readonly ["createdAt", "recommendations", "shareToken", "status", "title"];
|
|
2166
|
+
readonly required: readonly ["createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
|
|
2167
|
+
};
|
|
2168
|
+
export declare const PagedModelRecommendationsCardViewSchema: {
|
|
2169
|
+
readonly type: "object";
|
|
2170
|
+
readonly properties: {
|
|
2171
|
+
readonly content: {
|
|
2172
|
+
readonly type: "array";
|
|
2173
|
+
readonly items: {
|
|
2174
|
+
readonly $ref: "#/components/schemas/RecommendationsCardView";
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
readonly page: {
|
|
2178
|
+
readonly $ref: "#/components/schemas/PageMetadata";
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
export declare const RangeBigDecimalSchema: {
|
|
2183
|
+
readonly type: "object";
|
|
2184
|
+
readonly properties: {
|
|
2185
|
+
readonly min: {
|
|
2186
|
+
readonly type: "number";
|
|
2187
|
+
};
|
|
2188
|
+
readonly max: {
|
|
2189
|
+
readonly type: "number";
|
|
2190
|
+
};
|
|
2191
|
+
};
|
|
2192
|
+
};
|
|
2193
|
+
export declare const RangeDoubleSchema: {
|
|
2194
|
+
readonly type: "object";
|
|
2195
|
+
readonly properties: {
|
|
2196
|
+
readonly min: {
|
|
2197
|
+
readonly type: "number";
|
|
2198
|
+
readonly format: "double";
|
|
2199
|
+
};
|
|
2200
|
+
readonly max: {
|
|
2201
|
+
readonly type: "number";
|
|
2202
|
+
readonly format: "double";
|
|
2203
|
+
};
|
|
2204
|
+
};
|
|
2205
|
+
};
|
|
2206
|
+
export declare const RangeIntegerSchema: {
|
|
2207
|
+
readonly type: "object";
|
|
2208
|
+
readonly properties: {
|
|
2209
|
+
readonly min: {
|
|
2210
|
+
readonly type: "integer";
|
|
2211
|
+
readonly format: "int32";
|
|
2212
|
+
};
|
|
2213
|
+
readonly max: {
|
|
2214
|
+
readonly type: "integer";
|
|
2215
|
+
readonly format: "int32";
|
|
2216
|
+
};
|
|
2217
|
+
};
|
|
2218
|
+
};
|
|
2219
|
+
export declare const RecommendationStatsSchema: {
|
|
2220
|
+
readonly type: "object";
|
|
2221
|
+
readonly properties: {
|
|
2222
|
+
readonly total: {
|
|
2223
|
+
readonly type: "integer";
|
|
2224
|
+
readonly format: "int32";
|
|
2225
|
+
};
|
|
2226
|
+
readonly liked: {
|
|
2227
|
+
readonly type: "integer";
|
|
2228
|
+
readonly format: "int32";
|
|
2229
|
+
};
|
|
2230
|
+
readonly disliked: {
|
|
2231
|
+
readonly type: "integer";
|
|
2232
|
+
readonly format: "int32";
|
|
2233
|
+
};
|
|
2234
|
+
readonly undecided: {
|
|
2235
|
+
readonly type: "integer";
|
|
2236
|
+
readonly format: "int32";
|
|
2237
|
+
};
|
|
2238
|
+
};
|
|
2239
|
+
readonly required: readonly ["disliked", "liked", "total", "undecided"];
|
|
2022
2240
|
};
|
|
2023
2241
|
export declare const RecommendationsCardViewSchema: {
|
|
2024
2242
|
readonly type: "object";
|
|
@@ -2089,10 +2307,6 @@ export declare const RecommendationsCardViewSchema: {
|
|
|
2089
2307
|
export declare const RecommendationDecisionResponseSchema: {
|
|
2090
2308
|
readonly type: "object";
|
|
2091
2309
|
readonly properties: {
|
|
2092
|
-
readonly itemId: {
|
|
2093
|
-
readonly type: "integer";
|
|
2094
|
-
readonly format: "int64";
|
|
2095
|
-
};
|
|
2096
2310
|
readonly externalPropertyId: {
|
|
2097
2311
|
readonly type: "string";
|
|
2098
2312
|
readonly format: "uuid";
|
|
@@ -2106,7 +2320,7 @@ export declare const RecommendationDecisionResponseSchema: {
|
|
|
2106
2320
|
readonly enum: readonly ["MAYBE", "DISLIKE", "LIKE"];
|
|
2107
2321
|
};
|
|
2108
2322
|
};
|
|
2109
|
-
readonly required: readonly ["decision", "externalListingId", "externalPropertyId"
|
|
2323
|
+
readonly required: readonly ["decision", "externalListingId", "externalPropertyId"];
|
|
2110
2324
|
};
|
|
2111
2325
|
export declare const GroupedPermissionsResponseSchema: {
|
|
2112
2326
|
readonly type: "object";
|
|
@@ -2389,12 +2603,260 @@ export declare const WhitelabelResponseSchema: {
|
|
|
2389
2603
|
};
|
|
2390
2604
|
readonly required: readonly ["members", "name", "stats", "theme"];
|
|
2391
2605
|
};
|
|
2392
|
-
export declare const
|
|
2606
|
+
export declare const AgreementResponseSchema: {
|
|
2607
|
+
readonly type: "object";
|
|
2393
2608
|
readonly properties: {
|
|
2394
|
-
readonly
|
|
2395
|
-
readonly
|
|
2396
|
-
|
|
2397
|
-
|
|
2609
|
+
readonly agreement: {
|
|
2610
|
+
readonly type: "string";
|
|
2611
|
+
readonly enum: readonly ["EXCLUSIVE", "NON_EXCLUSIVE"];
|
|
2612
|
+
};
|
|
2613
|
+
readonly expiryDate: {
|
|
2614
|
+
readonly type: "string";
|
|
2615
|
+
readonly format: "date";
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
readonly required: readonly ["agreement"];
|
|
2619
|
+
};
|
|
2620
|
+
export declare const BoostResponseSchema: {
|
|
2621
|
+
readonly type: "object";
|
|
2622
|
+
readonly properties: {
|
|
2623
|
+
readonly tier: {
|
|
2624
|
+
readonly type: "string";
|
|
2625
|
+
readonly enum: readonly ["VIP", "VIP_PLUS", "SUPER_VIP"];
|
|
2626
|
+
};
|
|
2627
|
+
readonly status: {
|
|
2628
|
+
readonly type: "string";
|
|
2629
|
+
readonly enum: readonly ["PENDING", "ACTIVE", "FAIL_NO_BALANCE", "FAILED"];
|
|
2630
|
+
};
|
|
2631
|
+
readonly activatedAt: {
|
|
2632
|
+
readonly type: "string";
|
|
2633
|
+
readonly format: "date";
|
|
2634
|
+
};
|
|
2635
|
+
readonly expiresAt: {
|
|
2636
|
+
readonly type: "string";
|
|
2637
|
+
readonly format: "date";
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2640
|
+
readonly required: readonly ["status", "tier"];
|
|
2641
|
+
};
|
|
2642
|
+
export declare const ColoredListingResponseSchema: {
|
|
2643
|
+
readonly type: "object";
|
|
2644
|
+
readonly properties: {
|
|
2645
|
+
readonly activatedAt: {
|
|
2646
|
+
readonly type: "string";
|
|
2647
|
+
readonly format: "date";
|
|
2648
|
+
};
|
|
2649
|
+
readonly expiresAt: {
|
|
2650
|
+
readonly type: "string";
|
|
2651
|
+
readonly format: "date";
|
|
2652
|
+
};
|
|
2653
|
+
};
|
|
2654
|
+
readonly required: readonly ["activatedAt", "expiresAt"];
|
|
2655
|
+
};
|
|
2656
|
+
export declare const DealResponseSchema: {
|
|
2657
|
+
readonly discriminator: {
|
|
2658
|
+
readonly propertyName: "type";
|
|
2659
|
+
readonly mapping: {
|
|
2660
|
+
readonly FIXED: "#/components/schemas/Fixed";
|
|
2661
|
+
readonly PERCENTAGE: "#/components/schemas/Percentage";
|
|
2662
|
+
readonly MONTHS_OF_RENT: "#/components/schemas/MonthsOfRent";
|
|
2663
|
+
};
|
|
2664
|
+
};
|
|
2665
|
+
readonly properties: {
|
|
2666
|
+
readonly type: {
|
|
2667
|
+
readonly type: "string";
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
readonly required: readonly ["type"];
|
|
2671
|
+
};
|
|
2672
|
+
export declare const PlatformListingResponseSchema: {
|
|
2673
|
+
readonly type: "object";
|
|
2674
|
+
readonly properties: {
|
|
2675
|
+
readonly platformId: {
|
|
2676
|
+
readonly type: "integer";
|
|
2677
|
+
readonly format: "int64";
|
|
2678
|
+
};
|
|
2679
|
+
readonly platformType: {
|
|
2680
|
+
readonly type: "string";
|
|
2681
|
+
readonly enum: readonly ["SS", "MY_HOME"];
|
|
2682
|
+
};
|
|
2683
|
+
readonly status: {
|
|
2684
|
+
readonly type: "string";
|
|
2685
|
+
readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED"];
|
|
2686
|
+
};
|
|
2687
|
+
readonly listedAt: {
|
|
2688
|
+
readonly type: "string";
|
|
2689
|
+
readonly format: "date";
|
|
2690
|
+
};
|
|
2691
|
+
readonly expiresAt: {
|
|
2692
|
+
readonly type: "string";
|
|
2693
|
+
readonly format: "date";
|
|
2694
|
+
};
|
|
2695
|
+
readonly renewedAt: {
|
|
2696
|
+
readonly type: "string";
|
|
2697
|
+
readonly format: "date";
|
|
2698
|
+
};
|
|
2699
|
+
readonly boost: {
|
|
2700
|
+
readonly $ref: "#/components/schemas/BoostResponse";
|
|
2701
|
+
};
|
|
2702
|
+
readonly coloredListing: {
|
|
2703
|
+
readonly $ref: "#/components/schemas/ColoredListingResponse";
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2706
|
+
readonly required: readonly ["platformType", "status"];
|
|
2707
|
+
};
|
|
2708
|
+
export declare const PropertyCloseReasonResponseSchema: {
|
|
2709
|
+
readonly type: "object";
|
|
2710
|
+
readonly properties: {
|
|
2711
|
+
readonly closedAt: {
|
|
2712
|
+
readonly type: "string";
|
|
2713
|
+
readonly format: "date-time";
|
|
2714
|
+
};
|
|
2715
|
+
readonly reason: {
|
|
2716
|
+
readonly type: "string";
|
|
2717
|
+
readonly enum: readonly ["DEAL_CLOSED", "OWNER_WITHDREW", "MANDATE_EXPIRED", "OTHER"];
|
|
2718
|
+
};
|
|
2719
|
+
};
|
|
2720
|
+
readonly required: readonly ["closedAt", "reason"];
|
|
2721
|
+
};
|
|
2722
|
+
export declare const PropertyDetailsResponseSchema: {
|
|
2723
|
+
readonly type: "object";
|
|
2724
|
+
readonly properties: {
|
|
2725
|
+
readonly title: {
|
|
2726
|
+
readonly type: "string";
|
|
2727
|
+
};
|
|
2728
|
+
readonly coverPhoto: {
|
|
2729
|
+
readonly type: "string";
|
|
2730
|
+
};
|
|
2731
|
+
readonly photoCount: {
|
|
2732
|
+
readonly type: "integer";
|
|
2733
|
+
readonly format: "int32";
|
|
2734
|
+
};
|
|
2735
|
+
readonly totalArea: {
|
|
2736
|
+
readonly type: "number";
|
|
2737
|
+
readonly format: "double";
|
|
2738
|
+
};
|
|
2739
|
+
readonly livingArea: {
|
|
2740
|
+
readonly type: "number";
|
|
2741
|
+
readonly format: "double";
|
|
2742
|
+
};
|
|
2743
|
+
readonly balconyArea: {
|
|
2744
|
+
readonly type: "number";
|
|
2745
|
+
readonly format: "double";
|
|
2746
|
+
};
|
|
2747
|
+
readonly address: {
|
|
2748
|
+
readonly $ref: "#/components/schemas/AddressResponse";
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
readonly required: readonly ["address", "title", "totalArea"];
|
|
2752
|
+
};
|
|
2753
|
+
export declare const PropertyListingResponseSchema: {
|
|
2754
|
+
readonly type: "object";
|
|
2755
|
+
readonly properties: {
|
|
2756
|
+
readonly publicId: {
|
|
2757
|
+
readonly type: "integer";
|
|
2758
|
+
readonly format: "int64";
|
|
2759
|
+
};
|
|
2760
|
+
readonly listingId: {
|
|
2761
|
+
readonly type: "string";
|
|
2762
|
+
readonly format: "uuid";
|
|
2763
|
+
};
|
|
2764
|
+
readonly listingType: {
|
|
2765
|
+
readonly type: "string";
|
|
2766
|
+
readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
|
|
2767
|
+
};
|
|
2768
|
+
readonly marketplaceStatus: {
|
|
2769
|
+
readonly type: "string";
|
|
2770
|
+
readonly enum: readonly ["PENDING", "ACTIVE", "PAUSED", "EXPIRED", "FAILED"];
|
|
2771
|
+
};
|
|
2772
|
+
readonly crmState: {
|
|
2773
|
+
readonly type: "string";
|
|
2774
|
+
readonly enum: readonly ["OPEN", "CLOSED"];
|
|
2775
|
+
};
|
|
2776
|
+
readonly isProcessing: {
|
|
2777
|
+
readonly type: "boolean";
|
|
2778
|
+
readonly description: "True while any async saga is in flight (create PENDING, or any placement/boost PENDING) — poll the property page until false.";
|
|
2779
|
+
};
|
|
2780
|
+
readonly price: {
|
|
2781
|
+
readonly type: "number";
|
|
2782
|
+
};
|
|
2783
|
+
readonly deal: {
|
|
2784
|
+
readonly oneOf: readonly [{
|
|
2785
|
+
readonly $ref: "#/components/schemas/Fixed";
|
|
2786
|
+
}, {
|
|
2787
|
+
readonly $ref: "#/components/schemas/MonthsOfRent";
|
|
2788
|
+
}, {
|
|
2789
|
+
readonly $ref: "#/components/schemas/Percentage";
|
|
2790
|
+
}];
|
|
2791
|
+
};
|
|
2792
|
+
readonly platformListings: {
|
|
2793
|
+
readonly type: "array";
|
|
2794
|
+
readonly items: {
|
|
2795
|
+
readonly $ref: "#/components/schemas/PlatformListingResponse";
|
|
2796
|
+
};
|
|
2797
|
+
};
|
|
2798
|
+
readonly createdAt: {
|
|
2799
|
+
readonly type: "string";
|
|
2800
|
+
readonly format: "date-time";
|
|
2801
|
+
};
|
|
2802
|
+
readonly closedAt: {
|
|
2803
|
+
readonly type: "string";
|
|
2804
|
+
readonly format: "date-time";
|
|
2805
|
+
};
|
|
2806
|
+
};
|
|
2807
|
+
readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId"];
|
|
2808
|
+
};
|
|
2809
|
+
export declare const PropertyPageResponseSchema: {
|
|
2810
|
+
readonly type: "object";
|
|
2811
|
+
readonly properties: {
|
|
2812
|
+
readonly publicId: {
|
|
2813
|
+
readonly type: "integer";
|
|
2814
|
+
readonly format: "int64";
|
|
2815
|
+
};
|
|
2816
|
+
readonly propertyId: {
|
|
2817
|
+
readonly type: "string";
|
|
2818
|
+
readonly format: "uuid";
|
|
2819
|
+
};
|
|
2820
|
+
readonly type: {
|
|
2821
|
+
readonly type: "string";
|
|
2822
|
+
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"];
|
|
2823
|
+
};
|
|
2824
|
+
readonly state: {
|
|
2825
|
+
readonly type: "string";
|
|
2826
|
+
readonly enum: readonly ["IN_REGISTRATION", "UNLISTED", "LISTED_INTERNALLY", "LISTED", "CLOSED"];
|
|
2827
|
+
};
|
|
2828
|
+
readonly details: {
|
|
2829
|
+
readonly $ref: "#/components/schemas/PropertyDetailsResponse";
|
|
2830
|
+
};
|
|
2831
|
+
readonly agreement: {
|
|
2832
|
+
readonly $ref: "#/components/schemas/AgreementResponse";
|
|
2833
|
+
};
|
|
2834
|
+
readonly listings: {
|
|
2835
|
+
readonly type: "array";
|
|
2836
|
+
readonly items: {
|
|
2837
|
+
readonly $ref: "#/components/schemas/PropertyListingResponse";
|
|
2838
|
+
};
|
|
2839
|
+
};
|
|
2840
|
+
readonly createdAt: {
|
|
2841
|
+
readonly type: "string";
|
|
2842
|
+
readonly format: "date-time";
|
|
2843
|
+
};
|
|
2844
|
+
readonly updatedAt: {
|
|
2845
|
+
readonly type: "string";
|
|
2846
|
+
readonly format: "date-time";
|
|
2847
|
+
};
|
|
2848
|
+
readonly closeReason: {
|
|
2849
|
+
readonly $ref: "#/components/schemas/PropertyCloseReasonResponse";
|
|
2850
|
+
};
|
|
2851
|
+
};
|
|
2852
|
+
readonly required: readonly ["agreement", "createdAt", "listings", "propertyId", "publicId", "state", "type", "updatedAt"];
|
|
2853
|
+
};
|
|
2854
|
+
export declare const ContactAssignedSchema: {
|
|
2855
|
+
readonly properties: {
|
|
2856
|
+
readonly contactId: {
|
|
2857
|
+
readonly $ref: "#/components/schemas/ContactId";
|
|
2858
|
+
};
|
|
2859
|
+
readonly contactName: {
|
|
2398
2860
|
readonly type: "string";
|
|
2399
2861
|
};
|
|
2400
2862
|
readonly from: {
|
|
@@ -2882,7 +3344,7 @@ export declare const ListingGridViewSchema: {
|
|
|
2882
3344
|
};
|
|
2883
3345
|
readonly commissionType: {
|
|
2884
3346
|
readonly type: "string";
|
|
2885
|
-
readonly enum: readonly ["
|
|
3347
|
+
readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
|
|
2886
3348
|
};
|
|
2887
3349
|
readonly commission: {
|
|
2888
3350
|
readonly type: "number";
|
|
@@ -3223,141 +3685,6 @@ export declare const CursorPageMessageViewSchema: {
|
|
|
3223
3685
|
};
|
|
3224
3686
|
};
|
|
3225
3687
|
};
|
|
3226
|
-
export declare const CriteriaSchema: {
|
|
3227
|
-
readonly type: "object";
|
|
3228
|
-
readonly properties: {
|
|
3229
|
-
readonly propertyTypes: {
|
|
3230
|
-
readonly type: "array";
|
|
3231
|
-
readonly items: {
|
|
3232
|
-
readonly type: "string";
|
|
3233
|
-
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"];
|
|
3234
|
-
};
|
|
3235
|
-
readonly uniqueItems: true;
|
|
3236
|
-
};
|
|
3237
|
-
readonly listingType: {
|
|
3238
|
-
readonly type: "string";
|
|
3239
|
-
readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
|
|
3240
|
-
};
|
|
3241
|
-
readonly budget: {
|
|
3242
|
-
readonly $ref: "#/components/schemas/RangeBigDecimal";
|
|
3243
|
-
};
|
|
3244
|
-
readonly bedrooms: {
|
|
3245
|
-
readonly $ref: "#/components/schemas/RangeInteger";
|
|
3246
|
-
};
|
|
3247
|
-
readonly bathrooms: {
|
|
3248
|
-
readonly $ref: "#/components/schemas/RangeInteger";
|
|
3249
|
-
};
|
|
3250
|
-
readonly totalArea: {
|
|
3251
|
-
readonly $ref: "#/components/schemas/RangeDouble";
|
|
3252
|
-
};
|
|
3253
|
-
readonly livingArea: {
|
|
3254
|
-
readonly $ref: "#/components/schemas/RangeDouble";
|
|
3255
|
-
};
|
|
3256
|
-
readonly region: {
|
|
3257
|
-
readonly $ref: "#/components/schemas/LocationResponse";
|
|
3258
|
-
};
|
|
3259
|
-
readonly district: {
|
|
3260
|
-
readonly $ref: "#/components/schemas/LocationResponse";
|
|
3261
|
-
};
|
|
3262
|
-
readonly subDistrict: {
|
|
3263
|
-
readonly $ref: "#/components/schemas/LocationResponse";
|
|
3264
|
-
};
|
|
3265
|
-
readonly street: {
|
|
3266
|
-
readonly $ref: "#/components/schemas/LocationResponse";
|
|
3267
|
-
};
|
|
3268
|
-
};
|
|
3269
|
-
readonly required: readonly ["listingType", "propertyTypes"];
|
|
3270
|
-
};
|
|
3271
|
-
export declare const InterestResponseSchema: {
|
|
3272
|
-
readonly type: "object";
|
|
3273
|
-
readonly properties: {
|
|
3274
|
-
readonly id: {
|
|
3275
|
-
readonly type: "integer";
|
|
3276
|
-
readonly format: "int64";
|
|
3277
|
-
};
|
|
3278
|
-
readonly title: {
|
|
3279
|
-
readonly type: "string";
|
|
3280
|
-
};
|
|
3281
|
-
readonly status: {
|
|
3282
|
-
readonly type: "string";
|
|
3283
|
-
readonly enum: readonly ["UNPUBLISHED", "PUBLISHED", "CLOSED"];
|
|
3284
|
-
};
|
|
3285
|
-
readonly shareToken: {
|
|
3286
|
-
readonly type: "string";
|
|
3287
|
-
readonly format: "uuid";
|
|
3288
|
-
};
|
|
3289
|
-
readonly createdAt: {
|
|
3290
|
-
readonly type: "string";
|
|
3291
|
-
readonly format: "date-time";
|
|
3292
|
-
};
|
|
3293
|
-
readonly criteria: {
|
|
3294
|
-
readonly $ref: "#/components/schemas/Criteria";
|
|
3295
|
-
};
|
|
3296
|
-
readonly recommendations: {
|
|
3297
|
-
readonly $ref: "#/components/schemas/RecommendationStats";
|
|
3298
|
-
};
|
|
3299
|
-
};
|
|
3300
|
-
readonly required: readonly ["createdAt", "criteria", "id", "recommendations", "shareToken", "status", "title"];
|
|
3301
|
-
};
|
|
3302
|
-
export declare const RangeBigDecimalSchema: {
|
|
3303
|
-
readonly type: "object";
|
|
3304
|
-
readonly properties: {
|
|
3305
|
-
readonly min: {
|
|
3306
|
-
readonly type: "number";
|
|
3307
|
-
};
|
|
3308
|
-
readonly max: {
|
|
3309
|
-
readonly type: "number";
|
|
3310
|
-
};
|
|
3311
|
-
};
|
|
3312
|
-
};
|
|
3313
|
-
export declare const RangeDoubleSchema: {
|
|
3314
|
-
readonly type: "object";
|
|
3315
|
-
readonly properties: {
|
|
3316
|
-
readonly min: {
|
|
3317
|
-
readonly type: "number";
|
|
3318
|
-
readonly format: "double";
|
|
3319
|
-
};
|
|
3320
|
-
readonly max: {
|
|
3321
|
-
readonly type: "number";
|
|
3322
|
-
readonly format: "double";
|
|
3323
|
-
};
|
|
3324
|
-
};
|
|
3325
|
-
};
|
|
3326
|
-
export declare const RangeIntegerSchema: {
|
|
3327
|
-
readonly type: "object";
|
|
3328
|
-
readonly properties: {
|
|
3329
|
-
readonly min: {
|
|
3330
|
-
readonly type: "integer";
|
|
3331
|
-
readonly format: "int32";
|
|
3332
|
-
};
|
|
3333
|
-
readonly max: {
|
|
3334
|
-
readonly type: "integer";
|
|
3335
|
-
readonly format: "int32";
|
|
3336
|
-
};
|
|
3337
|
-
};
|
|
3338
|
-
};
|
|
3339
|
-
export declare const RecommendationStatsSchema: {
|
|
3340
|
-
readonly type: "object";
|
|
3341
|
-
readonly properties: {
|
|
3342
|
-
readonly total: {
|
|
3343
|
-
readonly type: "integer";
|
|
3344
|
-
readonly format: "int32";
|
|
3345
|
-
};
|
|
3346
|
-
readonly liked: {
|
|
3347
|
-
readonly type: "integer";
|
|
3348
|
-
readonly format: "int32";
|
|
3349
|
-
};
|
|
3350
|
-
readonly disliked: {
|
|
3351
|
-
readonly type: "integer";
|
|
3352
|
-
readonly format: "int32";
|
|
3353
|
-
};
|
|
3354
|
-
readonly undecided: {
|
|
3355
|
-
readonly type: "integer";
|
|
3356
|
-
readonly format: "int32";
|
|
3357
|
-
};
|
|
3358
|
-
};
|
|
3359
|
-
readonly required: readonly ["disliked", "liked", "total", "undecided"];
|
|
3360
|
-
};
|
|
3361
3688
|
export declare const CommentViewSchema: {
|
|
3362
3689
|
readonly type: "object";
|
|
3363
3690
|
readonly properties: {
|
|
@@ -3486,37 +3813,6 @@ export declare const PagedModelContactGridResponseSchema: {
|
|
|
3486
3813
|
};
|
|
3487
3814
|
};
|
|
3488
3815
|
};
|
|
3489
|
-
export declare const ActiveItemsResultSchema: {
|
|
3490
|
-
readonly type: "object";
|
|
3491
|
-
readonly properties: {
|
|
3492
|
-
readonly propertyIds: {
|
|
3493
|
-
readonly type: "array";
|
|
3494
|
-
readonly items: {
|
|
3495
|
-
readonly $ref: "#/components/schemas/PropertyId";
|
|
3496
|
-
};
|
|
3497
|
-
};
|
|
3498
|
-
readonly interestIds: {
|
|
3499
|
-
readonly type: "array";
|
|
3500
|
-
readonly items: {
|
|
3501
|
-
readonly $ref: "#/components/schemas/InterestId";
|
|
3502
|
-
};
|
|
3503
|
-
};
|
|
3504
|
-
};
|
|
3505
|
-
};
|
|
3506
|
-
export declare const AgreementResponseSchema: {
|
|
3507
|
-
readonly type: "object";
|
|
3508
|
-
readonly properties: {
|
|
3509
|
-
readonly agreement: {
|
|
3510
|
-
readonly type: "string";
|
|
3511
|
-
readonly enum: readonly ["EXCLUSIVE", "NON_EXCLUSIVE"];
|
|
3512
|
-
};
|
|
3513
|
-
readonly expiryDate: {
|
|
3514
|
-
readonly type: "string";
|
|
3515
|
-
readonly format: "date";
|
|
3516
|
-
};
|
|
3517
|
-
};
|
|
3518
|
-
readonly required: readonly ["agreement"];
|
|
3519
|
-
};
|
|
3520
3816
|
export declare const AssignedMemberSchema: {
|
|
3521
3817
|
readonly type: "object";
|
|
3522
3818
|
readonly properties: {
|
|
@@ -3680,37 +3976,6 @@ export declare const ContactPropertyResponseSchema: {
|
|
|
3680
3976
|
};
|
|
3681
3977
|
readonly required: readonly ["agreement", "listings", "propertyId", "publicId", "state", "type"];
|
|
3682
3978
|
};
|
|
3683
|
-
export declare const PropertyDetailsResponseSchema: {
|
|
3684
|
-
readonly type: "object";
|
|
3685
|
-
readonly properties: {
|
|
3686
|
-
readonly title: {
|
|
3687
|
-
readonly type: "string";
|
|
3688
|
-
};
|
|
3689
|
-
readonly coverPhoto: {
|
|
3690
|
-
readonly type: "string";
|
|
3691
|
-
};
|
|
3692
|
-
readonly photoCount: {
|
|
3693
|
-
readonly type: "integer";
|
|
3694
|
-
readonly format: "int32";
|
|
3695
|
-
};
|
|
3696
|
-
readonly totalArea: {
|
|
3697
|
-
readonly type: "number";
|
|
3698
|
-
readonly format: "double";
|
|
3699
|
-
};
|
|
3700
|
-
readonly livingArea: {
|
|
3701
|
-
readonly type: "number";
|
|
3702
|
-
readonly format: "double";
|
|
3703
|
-
};
|
|
3704
|
-
readonly balconyArea: {
|
|
3705
|
-
readonly type: "number";
|
|
3706
|
-
readonly format: "double";
|
|
3707
|
-
};
|
|
3708
|
-
readonly address: {
|
|
3709
|
-
readonly $ref: "#/components/schemas/AddressResponse";
|
|
3710
|
-
};
|
|
3711
|
-
};
|
|
3712
|
-
readonly required: readonly ["address", "title", "totalArea"];
|
|
3713
|
-
};
|
|
3714
3979
|
export declare const SourceResponseSchema: {
|
|
3715
3980
|
readonly type: "object";
|
|
3716
3981
|
readonly properties: {
|