@homespot-sdk/core 0.0.325 → 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 +152 -148
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +182 -177
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +3 -3
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +4 -5
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +1 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +1 -9
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +77 -68
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +731 -389
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +132 -123
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -2257,43 +2257,212 @@ export const AddressResponseSchema = {
|
|
|
2257
2257
|
},
|
|
2258
2258
|
required: ['district', 'lat', 'lng', 'region', 'subdistrict'],
|
|
2259
2259
|
};
|
|
2260
|
-
export const
|
|
2260
|
+
export const BoundingBoxSchema = {
|
|
2261
2261
|
type: 'object',
|
|
2262
2262
|
properties: {
|
|
2263
|
-
|
|
2263
|
+
minLat: {
|
|
2264
|
+
type: 'number',
|
|
2265
|
+
format: 'double',
|
|
2266
|
+
},
|
|
2267
|
+
maxLat: {
|
|
2268
|
+
type: 'number',
|
|
2269
|
+
format: 'double',
|
|
2270
|
+
},
|
|
2271
|
+
minLng: {
|
|
2272
|
+
type: 'number',
|
|
2273
|
+
format: 'double',
|
|
2274
|
+
},
|
|
2275
|
+
maxLng: {
|
|
2276
|
+
type: 'number',
|
|
2277
|
+
format: 'double',
|
|
2278
|
+
},
|
|
2279
|
+
},
|
|
2280
|
+
required: ['maxLat', 'maxLng', 'minLat', 'minLng'],
|
|
2281
|
+
};
|
|
2282
|
+
export const CriteriaSchema = {
|
|
2283
|
+
type: 'object',
|
|
2284
|
+
properties: {
|
|
2285
|
+
propertyTypes: {
|
|
2264
2286
|
type: 'array',
|
|
2265
2287
|
items: {
|
|
2266
|
-
|
|
2288
|
+
type: 'string',
|
|
2289
|
+
enum: [
|
|
2290
|
+
'HOUSE',
|
|
2291
|
+
'TOWN_HOUSE',
|
|
2292
|
+
'COUNTRY_HOUSE',
|
|
2293
|
+
'VILLA',
|
|
2294
|
+
'COTTAGE',
|
|
2295
|
+
'APARTMENT',
|
|
2296
|
+
'DUPLEX',
|
|
2297
|
+
'TRIPLEX',
|
|
2298
|
+
'SEMI_BASEMENT',
|
|
2299
|
+
'ATTIC',
|
|
2300
|
+
'AGRICULTURAL_LAND',
|
|
2301
|
+
'RESIDENTIAL_LAND',
|
|
2302
|
+
'HOTEL_ROOM',
|
|
2303
|
+
'MOTEL_ROOM',
|
|
2304
|
+
'CO_LIVING_SPACE',
|
|
2305
|
+
'OFFICE',
|
|
2306
|
+
'COMMERCIAL_SPACE',
|
|
2307
|
+
'CO_WORKING_SPACE',
|
|
2308
|
+
'WAREHOUSE',
|
|
2309
|
+
'GARAGE',
|
|
2310
|
+
],
|
|
2267
2311
|
},
|
|
2312
|
+
uniqueItems: true,
|
|
2268
2313
|
},
|
|
2269
|
-
|
|
2270
|
-
|
|
2314
|
+
listingType: {
|
|
2315
|
+
type: 'string',
|
|
2316
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
2317
|
+
},
|
|
2318
|
+
budget: {
|
|
2319
|
+
$ref: '#/components/schemas/RangeBigDecimal',
|
|
2320
|
+
},
|
|
2321
|
+
bedrooms: {
|
|
2322
|
+
$ref: '#/components/schemas/RangeInteger',
|
|
2323
|
+
},
|
|
2324
|
+
bathrooms: {
|
|
2325
|
+
$ref: '#/components/schemas/RangeInteger',
|
|
2326
|
+
},
|
|
2327
|
+
totalArea: {
|
|
2328
|
+
$ref: '#/components/schemas/RangeDouble',
|
|
2329
|
+
},
|
|
2330
|
+
livingArea: {
|
|
2331
|
+
$ref: '#/components/schemas/RangeDouble',
|
|
2332
|
+
},
|
|
2333
|
+
region: {
|
|
2334
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
2335
|
+
},
|
|
2336
|
+
district: {
|
|
2337
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
2338
|
+
},
|
|
2339
|
+
subDistrict: {
|
|
2340
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
2341
|
+
},
|
|
2342
|
+
street: {
|
|
2343
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
2271
2344
|
},
|
|
2272
2345
|
},
|
|
2346
|
+
required: ['listingType', 'propertyTypes'],
|
|
2273
2347
|
};
|
|
2274
|
-
export const
|
|
2348
|
+
export const InterestResponseSchema = {
|
|
2275
2349
|
type: 'object',
|
|
2276
2350
|
properties: {
|
|
2277
|
-
|
|
2278
|
-
type: '
|
|
2279
|
-
format: '
|
|
2351
|
+
id: {
|
|
2352
|
+
type: 'integer',
|
|
2353
|
+
format: 'int64',
|
|
2280
2354
|
},
|
|
2281
2355
|
title: {
|
|
2282
2356
|
type: 'string',
|
|
2283
2357
|
},
|
|
2358
|
+
status: {
|
|
2359
|
+
type: 'string',
|
|
2360
|
+
enum: ['UNPUBLISHED', 'PUBLISHED', 'CLOSED'],
|
|
2361
|
+
},
|
|
2362
|
+
shareToken: {
|
|
2363
|
+
type: 'string',
|
|
2364
|
+
format: 'uuid',
|
|
2365
|
+
},
|
|
2284
2366
|
createdAt: {
|
|
2285
2367
|
type: 'string',
|
|
2286
2368
|
format: 'date-time',
|
|
2287
2369
|
},
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2370
|
+
criteria: {
|
|
2371
|
+
$ref: '#/components/schemas/Criteria',
|
|
2372
|
+
},
|
|
2373
|
+
recommendationStats: {
|
|
2374
|
+
$ref: '#/components/schemas/RecommendationStats',
|
|
2375
|
+
},
|
|
2376
|
+
boundedBox: {
|
|
2377
|
+
$ref: '#/components/schemas/BoundingBox',
|
|
2291
2378
|
},
|
|
2292
2379
|
recommendations: {
|
|
2293
2380
|
$ref: '#/components/schemas/PagedModelRecommendationsCardView',
|
|
2294
2381
|
},
|
|
2295
2382
|
},
|
|
2296
|
-
required: [
|
|
2383
|
+
required: [
|
|
2384
|
+
'createdAt',
|
|
2385
|
+
'criteria',
|
|
2386
|
+
'id',
|
|
2387
|
+
'recommendationStats',
|
|
2388
|
+
'recommendations',
|
|
2389
|
+
'shareToken',
|
|
2390
|
+
'status',
|
|
2391
|
+
'title',
|
|
2392
|
+
],
|
|
2393
|
+
};
|
|
2394
|
+
export const PagedModelRecommendationsCardViewSchema = {
|
|
2395
|
+
type: 'object',
|
|
2396
|
+
properties: {
|
|
2397
|
+
content: {
|
|
2398
|
+
type: 'array',
|
|
2399
|
+
items: {
|
|
2400
|
+
$ref: '#/components/schemas/RecommendationsCardView',
|
|
2401
|
+
},
|
|
2402
|
+
},
|
|
2403
|
+
page: {
|
|
2404
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
2405
|
+
},
|
|
2406
|
+
},
|
|
2407
|
+
};
|
|
2408
|
+
export const RangeBigDecimalSchema = {
|
|
2409
|
+
type: 'object',
|
|
2410
|
+
properties: {
|
|
2411
|
+
min: {
|
|
2412
|
+
type: 'number',
|
|
2413
|
+
},
|
|
2414
|
+
max: {
|
|
2415
|
+
type: 'number',
|
|
2416
|
+
},
|
|
2417
|
+
},
|
|
2418
|
+
};
|
|
2419
|
+
export const RangeDoubleSchema = {
|
|
2420
|
+
type: 'object',
|
|
2421
|
+
properties: {
|
|
2422
|
+
min: {
|
|
2423
|
+
type: 'number',
|
|
2424
|
+
format: 'double',
|
|
2425
|
+
},
|
|
2426
|
+
max: {
|
|
2427
|
+
type: 'number',
|
|
2428
|
+
format: 'double',
|
|
2429
|
+
},
|
|
2430
|
+
},
|
|
2431
|
+
};
|
|
2432
|
+
export const RangeIntegerSchema = {
|
|
2433
|
+
type: 'object',
|
|
2434
|
+
properties: {
|
|
2435
|
+
min: {
|
|
2436
|
+
type: 'integer',
|
|
2437
|
+
format: 'int32',
|
|
2438
|
+
},
|
|
2439
|
+
max: {
|
|
2440
|
+
type: 'integer',
|
|
2441
|
+
format: 'int32',
|
|
2442
|
+
},
|
|
2443
|
+
},
|
|
2444
|
+
};
|
|
2445
|
+
export const RecommendationStatsSchema = {
|
|
2446
|
+
type: 'object',
|
|
2447
|
+
properties: {
|
|
2448
|
+
total: {
|
|
2449
|
+
type: 'integer',
|
|
2450
|
+
format: 'int32',
|
|
2451
|
+
},
|
|
2452
|
+
liked: {
|
|
2453
|
+
type: 'integer',
|
|
2454
|
+
format: 'int32',
|
|
2455
|
+
},
|
|
2456
|
+
disliked: {
|
|
2457
|
+
type: 'integer',
|
|
2458
|
+
format: 'int32',
|
|
2459
|
+
},
|
|
2460
|
+
undecided: {
|
|
2461
|
+
type: 'integer',
|
|
2462
|
+
format: 'int32',
|
|
2463
|
+
},
|
|
2464
|
+
},
|
|
2465
|
+
required: ['disliked', 'liked', 'total', 'undecided'],
|
|
2297
2466
|
};
|
|
2298
2467
|
export const RecommendationsCardViewSchema = {
|
|
2299
2468
|
type: 'object',
|
|
@@ -3956,170 +4125,6 @@ export const CursorPageMessageViewSchema = {
|
|
|
3956
4125
|
},
|
|
3957
4126
|
},
|
|
3958
4127
|
};
|
|
3959
|
-
export const CriteriaSchema = {
|
|
3960
|
-
type: 'object',
|
|
3961
|
-
properties: {
|
|
3962
|
-
propertyTypes: {
|
|
3963
|
-
type: 'array',
|
|
3964
|
-
items: {
|
|
3965
|
-
type: 'string',
|
|
3966
|
-
enum: [
|
|
3967
|
-
'HOUSE',
|
|
3968
|
-
'TOWN_HOUSE',
|
|
3969
|
-
'COUNTRY_HOUSE',
|
|
3970
|
-
'VILLA',
|
|
3971
|
-
'COTTAGE',
|
|
3972
|
-
'APARTMENT',
|
|
3973
|
-
'DUPLEX',
|
|
3974
|
-
'TRIPLEX',
|
|
3975
|
-
'SEMI_BASEMENT',
|
|
3976
|
-
'ATTIC',
|
|
3977
|
-
'AGRICULTURAL_LAND',
|
|
3978
|
-
'RESIDENTIAL_LAND',
|
|
3979
|
-
'HOTEL_ROOM',
|
|
3980
|
-
'MOTEL_ROOM',
|
|
3981
|
-
'CO_LIVING_SPACE',
|
|
3982
|
-
'OFFICE',
|
|
3983
|
-
'COMMERCIAL_SPACE',
|
|
3984
|
-
'CO_WORKING_SPACE',
|
|
3985
|
-
'WAREHOUSE',
|
|
3986
|
-
'GARAGE',
|
|
3987
|
-
],
|
|
3988
|
-
},
|
|
3989
|
-
uniqueItems: true,
|
|
3990
|
-
},
|
|
3991
|
-
listingType: {
|
|
3992
|
-
type: 'string',
|
|
3993
|
-
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
3994
|
-
},
|
|
3995
|
-
budget: {
|
|
3996
|
-
$ref: '#/components/schemas/RangeBigDecimal',
|
|
3997
|
-
},
|
|
3998
|
-
bedrooms: {
|
|
3999
|
-
$ref: '#/components/schemas/RangeInteger',
|
|
4000
|
-
},
|
|
4001
|
-
bathrooms: {
|
|
4002
|
-
$ref: '#/components/schemas/RangeInteger',
|
|
4003
|
-
},
|
|
4004
|
-
totalArea: {
|
|
4005
|
-
$ref: '#/components/schemas/RangeDouble',
|
|
4006
|
-
},
|
|
4007
|
-
livingArea: {
|
|
4008
|
-
$ref: '#/components/schemas/RangeDouble',
|
|
4009
|
-
},
|
|
4010
|
-
region: {
|
|
4011
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
4012
|
-
},
|
|
4013
|
-
district: {
|
|
4014
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
4015
|
-
},
|
|
4016
|
-
subDistrict: {
|
|
4017
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
4018
|
-
},
|
|
4019
|
-
street: {
|
|
4020
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
4021
|
-
},
|
|
4022
|
-
},
|
|
4023
|
-
required: ['listingType', 'propertyTypes'],
|
|
4024
|
-
};
|
|
4025
|
-
export const InterestResponseSchema = {
|
|
4026
|
-
type: 'object',
|
|
4027
|
-
properties: {
|
|
4028
|
-
id: {
|
|
4029
|
-
type: 'integer',
|
|
4030
|
-
format: 'int64',
|
|
4031
|
-
},
|
|
4032
|
-
title: {
|
|
4033
|
-
type: 'string',
|
|
4034
|
-
},
|
|
4035
|
-
status: {
|
|
4036
|
-
type: 'string',
|
|
4037
|
-
enum: ['UNPUBLISHED', 'PUBLISHED', 'CLOSED'],
|
|
4038
|
-
},
|
|
4039
|
-
shareToken: {
|
|
4040
|
-
type: 'string',
|
|
4041
|
-
format: 'uuid',
|
|
4042
|
-
},
|
|
4043
|
-
createdAt: {
|
|
4044
|
-
type: 'string',
|
|
4045
|
-
format: 'date-time',
|
|
4046
|
-
},
|
|
4047
|
-
criteria: {
|
|
4048
|
-
$ref: '#/components/schemas/Criteria',
|
|
4049
|
-
},
|
|
4050
|
-
recommendations: {
|
|
4051
|
-
$ref: '#/components/schemas/RecommendationStats',
|
|
4052
|
-
},
|
|
4053
|
-
},
|
|
4054
|
-
required: [
|
|
4055
|
-
'createdAt',
|
|
4056
|
-
'criteria',
|
|
4057
|
-
'id',
|
|
4058
|
-
'recommendations',
|
|
4059
|
-
'shareToken',
|
|
4060
|
-
'status',
|
|
4061
|
-
'title',
|
|
4062
|
-
],
|
|
4063
|
-
};
|
|
4064
|
-
export const RangeBigDecimalSchema = {
|
|
4065
|
-
type: 'object',
|
|
4066
|
-
properties: {
|
|
4067
|
-
min: {
|
|
4068
|
-
type: 'number',
|
|
4069
|
-
},
|
|
4070
|
-
max: {
|
|
4071
|
-
type: 'number',
|
|
4072
|
-
},
|
|
4073
|
-
},
|
|
4074
|
-
};
|
|
4075
|
-
export const RangeDoubleSchema = {
|
|
4076
|
-
type: 'object',
|
|
4077
|
-
properties: {
|
|
4078
|
-
min: {
|
|
4079
|
-
type: 'number',
|
|
4080
|
-
format: 'double',
|
|
4081
|
-
},
|
|
4082
|
-
max: {
|
|
4083
|
-
type: 'number',
|
|
4084
|
-
format: 'double',
|
|
4085
|
-
},
|
|
4086
|
-
},
|
|
4087
|
-
};
|
|
4088
|
-
export const RangeIntegerSchema = {
|
|
4089
|
-
type: 'object',
|
|
4090
|
-
properties: {
|
|
4091
|
-
min: {
|
|
4092
|
-
type: 'integer',
|
|
4093
|
-
format: 'int32',
|
|
4094
|
-
},
|
|
4095
|
-
max: {
|
|
4096
|
-
type: 'integer',
|
|
4097
|
-
format: 'int32',
|
|
4098
|
-
},
|
|
4099
|
-
},
|
|
4100
|
-
};
|
|
4101
|
-
export const RecommendationStatsSchema = {
|
|
4102
|
-
type: 'object',
|
|
4103
|
-
properties: {
|
|
4104
|
-
total: {
|
|
4105
|
-
type: 'integer',
|
|
4106
|
-
format: 'int32',
|
|
4107
|
-
},
|
|
4108
|
-
liked: {
|
|
4109
|
-
type: 'integer',
|
|
4110
|
-
format: 'int32',
|
|
4111
|
-
},
|
|
4112
|
-
disliked: {
|
|
4113
|
-
type: 'integer',
|
|
4114
|
-
format: 'int32',
|
|
4115
|
-
},
|
|
4116
|
-
undecided: {
|
|
4117
|
-
type: 'integer',
|
|
4118
|
-
format: 'int32',
|
|
4119
|
-
},
|
|
4120
|
-
},
|
|
4121
|
-
required: ['disliked', 'liked', 'total', 'undecided'],
|
|
4122
|
-
};
|
|
4123
4128
|
export const CommentViewSchema = {
|
|
4124
4129
|
type: 'object',
|
|
4125
4130
|
properties: {
|