@homespot-sdk/core 0.0.349 → 0.0.351
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/property/index.d.ts +2 -2
- package/dist/property/index.d.ts.map +1 -1
- package/dist/property/index.js +1 -1
- package/dist/property/index.js.map +1 -1
- package/dist/property/schemas.gen.d.ts +355 -132
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +615 -290
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/sdk.gen.d.ts +22 -2
- package/dist/property/sdk.gen.d.ts.map +1 -1
- package/dist/property/sdk.gen.js +150 -6
- package/dist/property/sdk.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +416 -48
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +1122 -264
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +512 -85
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +35 -2
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +63 -2
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +2 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +9 -0
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +26 -2
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +94 -17
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +63 -7
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
- package/dist/registration/client/client.gen.d.ts +0 -3
- package/dist/registration/client/client.gen.d.ts.map +0 -1
- package/dist/registration/client/client.gen.js +0 -207
- package/dist/registration/client/client.gen.js.map +0 -1
- package/dist/registration/client/index.d.ts +0 -9
- package/dist/registration/client/index.d.ts.map +0 -1
- package/dist/registration/client/index.js +0 -7
- package/dist/registration/client/index.js.map +0 -1
- package/dist/registration/client/types.gen.d.ts +0 -100
- package/dist/registration/client/types.gen.d.ts.map +0 -1
- package/dist/registration/client/types.gen.js +0 -3
- package/dist/registration/client/types.gen.js.map +0 -1
- package/dist/registration/client/utils.gen.d.ts +0 -41
- package/dist/registration/client/utils.gen.d.ts.map +0 -1
- package/dist/registration/client/utils.gen.js +0 -303
- package/dist/registration/client/utils.gen.js.map +0 -1
- package/dist/registration/client.gen.d.ts +0 -13
- package/dist/registration/client.gen.d.ts.map +0 -1
- package/dist/registration/client.gen.js +0 -6
- package/dist/registration/client.gen.js.map +0 -1
- package/dist/registration/core/auth.gen.d.ts +0 -19
- package/dist/registration/core/auth.gen.d.ts.map +0 -1
- package/dist/registration/core/auth.gen.js +0 -15
- package/dist/registration/core/auth.gen.js.map +0 -1
- package/dist/registration/core/bodySerializer.gen.d.ts +0 -26
- package/dist/registration/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/registration/core/bodySerializer.gen.js +0 -58
- package/dist/registration/core/bodySerializer.gen.js.map +0 -1
- package/dist/registration/core/params.gen.d.ts +0 -44
- package/dist/registration/core/params.gen.d.ts.map +0 -1
- package/dist/registration/core/params.gen.js +0 -102
- package/dist/registration/core/params.gen.js.map +0 -1
- package/dist/registration/core/pathSerializer.gen.d.ts +0 -34
- package/dist/registration/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/registration/core/pathSerializer.gen.js +0 -119
- package/dist/registration/core/pathSerializer.gen.js.map +0 -1
- package/dist/registration/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/registration/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/registration/core/queryKeySerializer.gen.js +0 -100
- package/dist/registration/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/registration/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/registration/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/registration/core/serverSentEvents.gen.js +0 -140
- package/dist/registration/core/serverSentEvents.gen.js.map +0 -1
- package/dist/registration/core/types.gen.d.ts +0 -79
- package/dist/registration/core/types.gen.d.ts.map +0 -1
- package/dist/registration/core/types.gen.js +0 -3
- package/dist/registration/core/types.gen.js.map +0 -1
- package/dist/registration/core/utils.gen.d.ts +0 -20
- package/dist/registration/core/utils.gen.d.ts.map +0 -1
- package/dist/registration/core/utils.gen.js +0 -89
- package/dist/registration/core/utils.gen.js.map +0 -1
- package/dist/registration/index.d.ts +0 -3
- package/dist/registration/index.d.ts.map +0 -1
- package/dist/registration/index.js +0 -3
- package/dist/registration/index.js.map +0 -1
- package/dist/registration/schemas.gen.d.ts +0 -547
- package/dist/registration/schemas.gen.d.ts.map +0 -1
- package/dist/registration/schemas.gen.js +0 -708
- package/dist/registration/schemas.gen.js.map +0 -1
- package/dist/registration/sdk.gen.d.ts +0 -35
- package/dist/registration/sdk.gen.d.ts.map +0 -1
- package/dist/registration/sdk.gen.js +0 -148
- package/dist/registration/sdk.gen.js.map +0 -1
- package/dist/registration/transformers.gen.d.ts +0 -3
- package/dist/registration/transformers.gen.d.ts.map +0 -1
- package/dist/registration/transformers.gen.js +0 -10
- package/dist/registration/transformers.gen.js.map +0 -1
- package/dist/registration/types.gen.d.ts +0 -445
- package/dist/registration/types.gen.d.ts.map +0 -1
- package/dist/registration/types.gen.js +0 -3
- package/dist/registration/types.gen.js.map +0 -1
- package/dist/registration/zod.gen.d.ts +0 -1265
- package/dist/registration/zod.gen.d.ts.map +0 -1
- package/dist/registration/zod.gen.js +0 -595
- package/dist/registration/zod.gen.js.map +0 -1
|
@@ -1,66 +1,75 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export const
|
|
3
|
-
type: 'object',
|
|
4
|
-
properties: {
|
|
5
|
-
data: {
|
|
6
|
-
type: 'array',
|
|
7
|
-
items: {
|
|
8
|
-
$ref: '#/components/schemas/TextRequest',
|
|
9
|
-
},
|
|
10
|
-
maxItems: 3,
|
|
11
|
-
minItems: 1,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
required: ['data'],
|
|
15
|
-
};
|
|
16
|
-
export const TextRequestSchema = {
|
|
2
|
+
export const SpaceRequestSchema = {
|
|
17
3
|
type: 'object',
|
|
18
4
|
properties: {
|
|
19
|
-
|
|
20
|
-
type: 'string',
|
|
21
|
-
enum: ['ka', 'en', 'ru'],
|
|
22
|
-
},
|
|
23
|
-
text: {
|
|
5
|
+
type: {
|
|
24
6
|
type: 'string',
|
|
7
|
+
enum: [
|
|
8
|
+
'BEDROOM',
|
|
9
|
+
'BATHROOM',
|
|
10
|
+
'KITCHEN',
|
|
11
|
+
'LIVING_ROOM',
|
|
12
|
+
'GARAGE',
|
|
13
|
+
'BACKYARD',
|
|
14
|
+
'GYM',
|
|
15
|
+
'LAUNDRY',
|
|
16
|
+
'HOME_THEATRE',
|
|
17
|
+
'GAME_ROOM',
|
|
18
|
+
],
|
|
25
19
|
},
|
|
26
|
-
},
|
|
27
|
-
required: ['language'],
|
|
28
|
-
};
|
|
29
|
-
export const AreaRequestSchema = {
|
|
30
|
-
type: 'object',
|
|
31
|
-
properties: {
|
|
32
20
|
area: {
|
|
33
21
|
type: 'number',
|
|
34
22
|
format: 'double',
|
|
35
23
|
},
|
|
36
24
|
},
|
|
25
|
+
required: ['type'],
|
|
37
26
|
};
|
|
38
|
-
export const
|
|
27
|
+
export const SpacesRequestSchema = {
|
|
39
28
|
type: 'object',
|
|
40
29
|
properties: {
|
|
41
|
-
|
|
30
|
+
spaces: {
|
|
42
31
|
type: 'array',
|
|
43
32
|
items: {
|
|
44
|
-
|
|
45
|
-
format: 'int32',
|
|
33
|
+
$ref: '#/components/schemas/SpaceRequest',
|
|
46
34
|
},
|
|
47
35
|
},
|
|
48
36
|
},
|
|
37
|
+
required: ['spaces'],
|
|
49
38
|
};
|
|
50
|
-
export const
|
|
39
|
+
export const RegistrationProgressDtoSchema = {
|
|
51
40
|
type: 'object',
|
|
52
41
|
properties: {
|
|
53
|
-
|
|
42
|
+
registrationId: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
format: 'uuid',
|
|
45
|
+
description: 'id of the property being registered',
|
|
46
|
+
},
|
|
47
|
+
pages: {
|
|
54
48
|
type: 'array',
|
|
49
|
+
description: 'multiform pages',
|
|
55
50
|
items: {
|
|
56
|
-
type: '
|
|
57
|
-
format: 'int64',
|
|
51
|
+
type: 'string',
|
|
58
52
|
},
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
},
|
|
54
|
+
total: {
|
|
55
|
+
type: 'integer',
|
|
56
|
+
format: 'int32',
|
|
57
|
+
description: 'total pages',
|
|
58
|
+
},
|
|
59
|
+
group: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
description: 'property group being registered',
|
|
62
|
+
enum: [
|
|
63
|
+
'HOUSE_GROUP',
|
|
64
|
+
'APARTMENT_GROUP',
|
|
65
|
+
'HOSPITALITY_GROUP',
|
|
66
|
+
'LAND_GROUP',
|
|
67
|
+
'BUSINESS_GROUP',
|
|
68
|
+
'STORAGE_GROUP',
|
|
69
|
+
],
|
|
61
70
|
},
|
|
62
71
|
},
|
|
63
|
-
required: ['
|
|
72
|
+
required: ['group', 'pages', 'registrationId', 'total'],
|
|
64
73
|
};
|
|
65
74
|
export const PhotoRequestSchema = {
|
|
66
75
|
type: 'object',
|
|
@@ -130,16 +139,6 @@ export const PresignedUrlsResponseSchema = {
|
|
|
130
139
|
},
|
|
131
140
|
required: ['data'],
|
|
132
141
|
};
|
|
133
|
-
export const TitleRequestSchema = {
|
|
134
|
-
type: 'object',
|
|
135
|
-
properties: {
|
|
136
|
-
title: {
|
|
137
|
-
type: 'string',
|
|
138
|
-
minLength: 1,
|
|
139
|
-
},
|
|
140
|
-
},
|
|
141
|
-
required: ['title'],
|
|
142
|
-
};
|
|
143
142
|
export const MeasurementRequestSchema = {
|
|
144
143
|
type: 'object',
|
|
145
144
|
properties: {
|
|
@@ -206,6 +205,50 @@ export const DetailsRequestSchema = {
|
|
|
206
205
|
},
|
|
207
206
|
required: ['condition', 'group', 'status'],
|
|
208
207
|
};
|
|
208
|
+
export const TextRequestSchema = {
|
|
209
|
+
type: 'object',
|
|
210
|
+
properties: {
|
|
211
|
+
language: {
|
|
212
|
+
type: 'string',
|
|
213
|
+
enum: ['ka', 'en', 'ru'],
|
|
214
|
+
},
|
|
215
|
+
text: {
|
|
216
|
+
type: 'string',
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
required: ['language'],
|
|
220
|
+
};
|
|
221
|
+
export const TitleAndDescriptionRequestSchema = {
|
|
222
|
+
type: 'object',
|
|
223
|
+
properties: {
|
|
224
|
+
title: {
|
|
225
|
+
type: 'string',
|
|
226
|
+
maxLength: 100,
|
|
227
|
+
minLength: 0,
|
|
228
|
+
},
|
|
229
|
+
data: {
|
|
230
|
+
type: 'array',
|
|
231
|
+
items: {
|
|
232
|
+
$ref: '#/components/schemas/TextRequest',
|
|
233
|
+
},
|
|
234
|
+
maxItems: 3,
|
|
235
|
+
minItems: 1,
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
required: ['data'],
|
|
239
|
+
};
|
|
240
|
+
export const AmenitiesRequestSchema = {
|
|
241
|
+
type: 'object',
|
|
242
|
+
properties: {
|
|
243
|
+
amenities: {
|
|
244
|
+
type: 'array',
|
|
245
|
+
items: {
|
|
246
|
+
type: 'integer',
|
|
247
|
+
format: 'int32',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
};
|
|
209
252
|
export const AddressRefRequestSchema = {
|
|
210
253
|
type: 'object',
|
|
211
254
|
properties: {
|
|
@@ -257,7 +300,55 @@ export const LocationTargetRequestSchema = {
|
|
|
257
300
|
},
|
|
258
301
|
required: ['id', 'type'],
|
|
259
302
|
};
|
|
260
|
-
export const
|
|
303
|
+
export const MultiLangTextRequestSchema = {
|
|
304
|
+
type: 'object',
|
|
305
|
+
properties: {
|
|
306
|
+
data: {
|
|
307
|
+
type: 'array',
|
|
308
|
+
items: {
|
|
309
|
+
$ref: '#/components/schemas/TextRequest',
|
|
310
|
+
},
|
|
311
|
+
maxItems: 3,
|
|
312
|
+
minItems: 1,
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
required: ['data'],
|
|
316
|
+
};
|
|
317
|
+
export const AreaRequestSchema = {
|
|
318
|
+
type: 'object',
|
|
319
|
+
properties: {
|
|
320
|
+
area: {
|
|
321
|
+
type: 'number',
|
|
322
|
+
format: 'double',
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
};
|
|
326
|
+
export const PhotoIdsRequestSchema = {
|
|
327
|
+
type: 'object',
|
|
328
|
+
properties: {
|
|
329
|
+
photoIds: {
|
|
330
|
+
type: 'array',
|
|
331
|
+
items: {
|
|
332
|
+
type: 'integer',
|
|
333
|
+
format: 'int64',
|
|
334
|
+
},
|
|
335
|
+
maxItems: 30,
|
|
336
|
+
minItems: 1,
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
required: ['photoIds'],
|
|
340
|
+
};
|
|
341
|
+
export const TitleRequestSchema = {
|
|
342
|
+
type: 'object',
|
|
343
|
+
properties: {
|
|
344
|
+
title: {
|
|
345
|
+
type: 'string',
|
|
346
|
+
minLength: 1,
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
required: ['title'],
|
|
350
|
+
};
|
|
351
|
+
export const UpdateListingPriceRequestSchema = {
|
|
261
352
|
type: 'object',
|
|
262
353
|
properties: {
|
|
263
354
|
price: {
|
|
@@ -266,6 +357,92 @@ export const PriceRequestSchema = {
|
|
|
266
357
|
},
|
|
267
358
|
required: ['price'],
|
|
268
359
|
};
|
|
360
|
+
export const PhotoReorderRequestSchema = {
|
|
361
|
+
type: 'object',
|
|
362
|
+
properties: {
|
|
363
|
+
photos: {
|
|
364
|
+
type: 'array',
|
|
365
|
+
items: {
|
|
366
|
+
type: 'string',
|
|
367
|
+
},
|
|
368
|
+
minItems: 1,
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
required: ['photos'],
|
|
372
|
+
};
|
|
373
|
+
export const StartRegistrationRequestSchema = {
|
|
374
|
+
type: 'object',
|
|
375
|
+
properties: {
|
|
376
|
+
propertyType: {
|
|
377
|
+
type: 'string',
|
|
378
|
+
enum: [
|
|
379
|
+
'HOUSE',
|
|
380
|
+
'TOWN_HOUSE',
|
|
381
|
+
'COUNTRY_HOUSE',
|
|
382
|
+
'VILLA',
|
|
383
|
+
'COTTAGE',
|
|
384
|
+
'APARTMENT',
|
|
385
|
+
'DUPLEX',
|
|
386
|
+
'TRIPLEX',
|
|
387
|
+
'SEMI_BASEMENT',
|
|
388
|
+
'ATTIC',
|
|
389
|
+
'AGRICULTURAL_LAND',
|
|
390
|
+
'RESIDENTIAL_LAND',
|
|
391
|
+
'HOTEL_ROOM',
|
|
392
|
+
'MOTEL_ROOM',
|
|
393
|
+
'CO_LIVING_SPACE',
|
|
394
|
+
'OFFICE',
|
|
395
|
+
'COMMERCIAL_SPACE',
|
|
396
|
+
'CO_WORKING_SPACE',
|
|
397
|
+
'WAREHOUSE',
|
|
398
|
+
'GARAGE',
|
|
399
|
+
],
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
required: ['propertyType'],
|
|
403
|
+
};
|
|
404
|
+
export const AgencyStartRegistrationRequestSchema = {
|
|
405
|
+
type: 'object',
|
|
406
|
+
properties: {
|
|
407
|
+
propertyId: {
|
|
408
|
+
type: 'string',
|
|
409
|
+
format: 'uuid',
|
|
410
|
+
},
|
|
411
|
+
propertyType: {
|
|
412
|
+
type: 'string',
|
|
413
|
+
enum: [
|
|
414
|
+
'HOUSE',
|
|
415
|
+
'TOWN_HOUSE',
|
|
416
|
+
'COUNTRY_HOUSE',
|
|
417
|
+
'VILLA',
|
|
418
|
+
'COTTAGE',
|
|
419
|
+
'APARTMENT',
|
|
420
|
+
'DUPLEX',
|
|
421
|
+
'TRIPLEX',
|
|
422
|
+
'SEMI_BASEMENT',
|
|
423
|
+
'ATTIC',
|
|
424
|
+
'AGRICULTURAL_LAND',
|
|
425
|
+
'RESIDENTIAL_LAND',
|
|
426
|
+
'HOTEL_ROOM',
|
|
427
|
+
'MOTEL_ROOM',
|
|
428
|
+
'CO_LIVING_SPACE',
|
|
429
|
+
'OFFICE',
|
|
430
|
+
'COMMERCIAL_SPACE',
|
|
431
|
+
'CO_WORKING_SPACE',
|
|
432
|
+
'WAREHOUSE',
|
|
433
|
+
'GARAGE',
|
|
434
|
+
],
|
|
435
|
+
},
|
|
436
|
+
clientId: {
|
|
437
|
+
type: 'integer',
|
|
438
|
+
format: 'int64',
|
|
439
|
+
},
|
|
440
|
+
ownerId: {
|
|
441
|
+
type: 'string',
|
|
442
|
+
},
|
|
443
|
+
},
|
|
444
|
+
required: ['clientId', 'propertyId', 'propertyType'],
|
|
445
|
+
};
|
|
269
446
|
export const AmenityValidationRequestSchema = {
|
|
270
447
|
type: 'object',
|
|
271
448
|
properties: {
|
|
@@ -302,44 +479,7 @@ export const AmenityValidationResponseSchema = {
|
|
|
302
479
|
},
|
|
303
480
|
required: ['valid'],
|
|
304
481
|
};
|
|
305
|
-
export const
|
|
306
|
-
type: 'object',
|
|
307
|
-
properties: {
|
|
308
|
-
type: {
|
|
309
|
-
type: 'string',
|
|
310
|
-
enum: [
|
|
311
|
-
'BEDROOM',
|
|
312
|
-
'BATHROOM',
|
|
313
|
-
'KITCHEN',
|
|
314
|
-
'LIVING_ROOM',
|
|
315
|
-
'GARAGE',
|
|
316
|
-
'BACKYARD',
|
|
317
|
-
'GYM',
|
|
318
|
-
'LAUNDRY',
|
|
319
|
-
'HOME_THEATRE',
|
|
320
|
-
'GAME_ROOM',
|
|
321
|
-
],
|
|
322
|
-
},
|
|
323
|
-
area: {
|
|
324
|
-
type: 'number',
|
|
325
|
-
format: 'double',
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
required: ['type'],
|
|
329
|
-
};
|
|
330
|
-
export const SpacesRequestSchema = {
|
|
331
|
-
type: 'object',
|
|
332
|
-
properties: {
|
|
333
|
-
spaces: {
|
|
334
|
-
type: 'array',
|
|
335
|
-
items: {
|
|
336
|
-
$ref: '#/components/schemas/SpaceRequest',
|
|
337
|
-
},
|
|
338
|
-
},
|
|
339
|
-
},
|
|
340
|
-
required: ['spaces'],
|
|
341
|
-
};
|
|
342
|
-
export const UploadAcknowledgmentResponseSchema = {
|
|
482
|
+
export const UploadAcknowledgmentResponseSchema = {
|
|
343
483
|
type: 'object',
|
|
344
484
|
properties: {
|
|
345
485
|
success: {
|
|
@@ -459,11 +599,348 @@ export const PropertyCreationRequestSchema = {
|
|
|
459
599
|
type: 'string',
|
|
460
600
|
format: 'uuid',
|
|
461
601
|
},
|
|
462
|
-
contactId: {
|
|
602
|
+
contactId: {
|
|
603
|
+
type: 'integer',
|
|
604
|
+
format: 'int64',
|
|
605
|
+
},
|
|
606
|
+
propertyType: {
|
|
607
|
+
type: 'string',
|
|
608
|
+
enum: [
|
|
609
|
+
'HOUSE',
|
|
610
|
+
'TOWN_HOUSE',
|
|
611
|
+
'COUNTRY_HOUSE',
|
|
612
|
+
'VILLA',
|
|
613
|
+
'COTTAGE',
|
|
614
|
+
'APARTMENT',
|
|
615
|
+
'DUPLEX',
|
|
616
|
+
'TRIPLEX',
|
|
617
|
+
'SEMI_BASEMENT',
|
|
618
|
+
'ATTIC',
|
|
619
|
+
'AGRICULTURAL_LAND',
|
|
620
|
+
'RESIDENTIAL_LAND',
|
|
621
|
+
'HOTEL_ROOM',
|
|
622
|
+
'MOTEL_ROOM',
|
|
623
|
+
'CO_LIVING_SPACE',
|
|
624
|
+
'OFFICE',
|
|
625
|
+
'COMMERCIAL_SPACE',
|
|
626
|
+
'CO_WORKING_SPACE',
|
|
627
|
+
'WAREHOUSE',
|
|
628
|
+
'GARAGE',
|
|
629
|
+
],
|
|
630
|
+
},
|
|
631
|
+
address: {
|
|
632
|
+
$ref: '#/components/schemas/AddressRef',
|
|
633
|
+
},
|
|
634
|
+
photoUrls: {
|
|
635
|
+
type: 'array',
|
|
636
|
+
items: {
|
|
637
|
+
$ref: '#/components/schemas/PhotoInternalRequest',
|
|
638
|
+
},
|
|
639
|
+
maxItems: 2147483647,
|
|
640
|
+
minItems: 5,
|
|
641
|
+
},
|
|
642
|
+
spaces: {
|
|
643
|
+
type: 'object',
|
|
644
|
+
additionalProperties: {
|
|
645
|
+
type: 'array',
|
|
646
|
+
items: {
|
|
647
|
+
type: 'number',
|
|
648
|
+
format: 'double',
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
description: 'Areas per space type. A null entry records a space whose area is unknown.',
|
|
652
|
+
example: {
|
|
653
|
+
BATHROOM: [5, 8],
|
|
654
|
+
BEDROOM: [15.5, null, 22],
|
|
655
|
+
LIVING_ROOM: [52.5],
|
|
656
|
+
KITCHEN: [20.5],
|
|
657
|
+
},
|
|
658
|
+
},
|
|
659
|
+
totalArea: {
|
|
660
|
+
type: 'number',
|
|
661
|
+
format: 'double',
|
|
662
|
+
},
|
|
663
|
+
livingArea: {
|
|
664
|
+
type: 'number',
|
|
665
|
+
format: 'double',
|
|
666
|
+
},
|
|
667
|
+
balconyArea: {
|
|
668
|
+
type: 'number',
|
|
669
|
+
format: 'double',
|
|
670
|
+
},
|
|
671
|
+
status: {
|
|
672
|
+
type: 'string',
|
|
673
|
+
enum: [
|
|
674
|
+
'OLD_BUILDING',
|
|
675
|
+
'NEW_BUILDING',
|
|
676
|
+
'UNDER_CONSTRUCTION',
|
|
677
|
+
'FINISHED',
|
|
678
|
+
],
|
|
679
|
+
},
|
|
680
|
+
condition: {
|
|
681
|
+
type: 'string',
|
|
682
|
+
enum: [
|
|
683
|
+
'NEWLY_RENOVATED',
|
|
684
|
+
'OLD_RENOVATED',
|
|
685
|
+
'CURRENT_RENOVATION',
|
|
686
|
+
'REPAIRING',
|
|
687
|
+
'WHITE_FRAME',
|
|
688
|
+
'BLACK_FRAME',
|
|
689
|
+
'GREEN_FRAME',
|
|
690
|
+
'WHITE_PLUS',
|
|
691
|
+
],
|
|
692
|
+
},
|
|
693
|
+
totalFloors: {
|
|
694
|
+
type: 'integer',
|
|
695
|
+
format: 'int32',
|
|
696
|
+
},
|
|
697
|
+
floorAt: {
|
|
698
|
+
type: 'integer',
|
|
699
|
+
format: 'int32',
|
|
700
|
+
},
|
|
701
|
+
amenities: {
|
|
702
|
+
type: 'array',
|
|
703
|
+
items: {
|
|
704
|
+
type: 'integer',
|
|
705
|
+
format: 'int32',
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
title: {
|
|
709
|
+
type: 'string',
|
|
710
|
+
minLength: 1,
|
|
711
|
+
},
|
|
712
|
+
description: {
|
|
713
|
+
type: 'object',
|
|
714
|
+
additionalProperties: {
|
|
715
|
+
type: 'string',
|
|
716
|
+
},
|
|
717
|
+
example: {
|
|
718
|
+
ka: 'example ka',
|
|
719
|
+
en: 'example en',
|
|
720
|
+
ru: 'example ru',
|
|
721
|
+
},
|
|
722
|
+
minProperties: 1,
|
|
723
|
+
},
|
|
724
|
+
},
|
|
725
|
+
required: [
|
|
726
|
+
'address',
|
|
727
|
+
'amenities',
|
|
728
|
+
'description',
|
|
729
|
+
'draftId',
|
|
730
|
+
'photoUrls',
|
|
731
|
+
'propertyType',
|
|
732
|
+
'spaces',
|
|
733
|
+
'title',
|
|
734
|
+
'totalArea',
|
|
735
|
+
],
|
|
736
|
+
};
|
|
737
|
+
export const DirectCreateResponseSchema = {
|
|
738
|
+
type: 'object',
|
|
739
|
+
properties: {
|
|
740
|
+
propertyId: {
|
|
741
|
+
type: 'string',
|
|
742
|
+
format: 'uuid',
|
|
743
|
+
},
|
|
744
|
+
success: {
|
|
745
|
+
type: 'boolean',
|
|
746
|
+
},
|
|
747
|
+
imagesUploaded: {
|
|
748
|
+
type: 'boolean',
|
|
749
|
+
},
|
|
750
|
+
propertyCreated: {
|
|
751
|
+
type: 'boolean',
|
|
752
|
+
},
|
|
753
|
+
failedImageKeys: {
|
|
754
|
+
type: 'array',
|
|
755
|
+
items: {
|
|
756
|
+
type: 'string',
|
|
757
|
+
},
|
|
758
|
+
},
|
|
759
|
+
reason: {
|
|
760
|
+
type: 'string',
|
|
761
|
+
},
|
|
762
|
+
},
|
|
763
|
+
};
|
|
764
|
+
export const CreateListingRequestSchema = {
|
|
765
|
+
type: 'object',
|
|
766
|
+
properties: {
|
|
767
|
+
listingId: {
|
|
768
|
+
type: 'string',
|
|
769
|
+
format: 'uuid',
|
|
770
|
+
},
|
|
771
|
+
propertyId: {
|
|
772
|
+
type: 'string',
|
|
773
|
+
format: 'uuid',
|
|
774
|
+
},
|
|
775
|
+
listingType: {
|
|
776
|
+
type: 'string',
|
|
777
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
778
|
+
},
|
|
779
|
+
price: {
|
|
780
|
+
type: 'number',
|
|
781
|
+
},
|
|
782
|
+
},
|
|
783
|
+
required: ['listingType', 'price', 'propertyId'],
|
|
784
|
+
};
|
|
785
|
+
export const IdResponseUUIDSchema = {
|
|
786
|
+
type: 'object',
|
|
787
|
+
properties: {
|
|
788
|
+
id: {
|
|
789
|
+
type: 'string',
|
|
790
|
+
format: 'uuid',
|
|
791
|
+
},
|
|
792
|
+
},
|
|
793
|
+
required: ['id'],
|
|
794
|
+
};
|
|
795
|
+
export const AddressResponseSchema = {
|
|
796
|
+
type: 'object',
|
|
797
|
+
properties: {
|
|
798
|
+
region: {
|
|
799
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
800
|
+
},
|
|
801
|
+
district: {
|
|
802
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
803
|
+
},
|
|
804
|
+
subdistrict: {
|
|
805
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
806
|
+
},
|
|
807
|
+
street: {
|
|
808
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
809
|
+
},
|
|
810
|
+
cadastreCode: {
|
|
811
|
+
type: 'string',
|
|
812
|
+
},
|
|
813
|
+
lat: {
|
|
814
|
+
type: 'number',
|
|
815
|
+
format: 'double',
|
|
816
|
+
},
|
|
817
|
+
lng: {
|
|
818
|
+
type: 'number',
|
|
819
|
+
format: 'double',
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
required: ['district', 'lat', 'lng', 'region', 'subdistrict'],
|
|
823
|
+
};
|
|
824
|
+
export const DetailsResponseSchema = {
|
|
825
|
+
type: 'object',
|
|
826
|
+
properties: {
|
|
827
|
+
status: {
|
|
828
|
+
type: 'string',
|
|
829
|
+
enum: [
|
|
830
|
+
'OLD_BUILDING',
|
|
831
|
+
'NEW_BUILDING',
|
|
832
|
+
'UNDER_CONSTRUCTION',
|
|
833
|
+
'FINISHED',
|
|
834
|
+
],
|
|
835
|
+
},
|
|
836
|
+
condition: {
|
|
837
|
+
type: 'string',
|
|
838
|
+
enum: [
|
|
839
|
+
'NEWLY_RENOVATED',
|
|
840
|
+
'OLD_RENOVATED',
|
|
841
|
+
'CURRENT_RENOVATION',
|
|
842
|
+
'REPAIRING',
|
|
843
|
+
'WHITE_FRAME',
|
|
844
|
+
'BLACK_FRAME',
|
|
845
|
+
'GREEN_FRAME',
|
|
846
|
+
'WHITE_PLUS',
|
|
847
|
+
],
|
|
848
|
+
},
|
|
849
|
+
totalFloors: {
|
|
850
|
+
type: 'integer',
|
|
851
|
+
format: 'int32',
|
|
852
|
+
},
|
|
853
|
+
floorAt: {
|
|
854
|
+
type: 'integer',
|
|
855
|
+
format: 'int32',
|
|
856
|
+
},
|
|
857
|
+
},
|
|
858
|
+
};
|
|
859
|
+
export const LangTextResponseSchema = {
|
|
860
|
+
type: 'object',
|
|
861
|
+
properties: {
|
|
862
|
+
language: {
|
|
863
|
+
type: 'string',
|
|
864
|
+
enum: ['ka', 'en', 'ru'],
|
|
865
|
+
},
|
|
866
|
+
text: {
|
|
867
|
+
type: 'string',
|
|
868
|
+
},
|
|
869
|
+
},
|
|
870
|
+
required: ['language', 'text'],
|
|
871
|
+
};
|
|
872
|
+
export const LocationResponseSchema = {
|
|
873
|
+
type: 'object',
|
|
874
|
+
properties: {
|
|
875
|
+
id: {
|
|
876
|
+
type: 'integer',
|
|
877
|
+
format: 'int64',
|
|
878
|
+
},
|
|
879
|
+
names: {
|
|
880
|
+
type: 'array',
|
|
881
|
+
items: {
|
|
882
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
883
|
+
},
|
|
884
|
+
},
|
|
885
|
+
},
|
|
886
|
+
required: ['id', 'names'],
|
|
887
|
+
};
|
|
888
|
+
export const MeasurementResponseSchema = {
|
|
889
|
+
type: 'object',
|
|
890
|
+
properties: {
|
|
891
|
+
totalArea: {
|
|
892
|
+
type: 'number',
|
|
893
|
+
format: 'double',
|
|
894
|
+
},
|
|
895
|
+
livingArea: {
|
|
896
|
+
type: 'number',
|
|
897
|
+
format: 'double',
|
|
898
|
+
},
|
|
899
|
+
balconyArea: {
|
|
900
|
+
type: 'number',
|
|
901
|
+
format: 'double',
|
|
902
|
+
},
|
|
903
|
+
},
|
|
904
|
+
required: ['totalArea'],
|
|
905
|
+
};
|
|
906
|
+
export const PhotosKeyUrlResponseSchema = {
|
|
907
|
+
type: 'object',
|
|
908
|
+
properties: {
|
|
909
|
+
key: {
|
|
910
|
+
type: 'string',
|
|
911
|
+
},
|
|
912
|
+
url: {
|
|
913
|
+
type: 'string',
|
|
914
|
+
},
|
|
915
|
+
},
|
|
916
|
+
};
|
|
917
|
+
export const RegistrationDraftResponseSchema = {
|
|
918
|
+
type: 'object',
|
|
919
|
+
properties: {
|
|
920
|
+
propertyId: {
|
|
921
|
+
type: 'string',
|
|
922
|
+
format: 'uuid',
|
|
923
|
+
},
|
|
924
|
+
ownershipType: {
|
|
925
|
+
type: 'string',
|
|
926
|
+
enum: ['DIRECT', 'AGENCY_MANAGED', 'CO_MANAGED'],
|
|
927
|
+
},
|
|
928
|
+
userId: {
|
|
929
|
+
type: 'string',
|
|
930
|
+
},
|
|
931
|
+
clientId: {
|
|
463
932
|
type: 'integer',
|
|
464
933
|
format: 'int64',
|
|
465
934
|
},
|
|
466
|
-
|
|
935
|
+
agencyId: {
|
|
936
|
+
type: 'string',
|
|
937
|
+
format: 'uuid',
|
|
938
|
+
},
|
|
939
|
+
memberId: {
|
|
940
|
+
type: 'string',
|
|
941
|
+
format: 'uuid',
|
|
942
|
+
},
|
|
943
|
+
type: {
|
|
467
944
|
type: 'string',
|
|
468
945
|
enum: [
|
|
469
946
|
'HOUSE',
|
|
@@ -488,75 +965,35 @@ export const PropertyCreationRequestSchema = {
|
|
|
488
965
|
'GARAGE',
|
|
489
966
|
],
|
|
490
967
|
},
|
|
491
|
-
|
|
492
|
-
|
|
968
|
+
title: {
|
|
969
|
+
type: 'string',
|
|
493
970
|
},
|
|
494
|
-
|
|
971
|
+
description: {
|
|
495
972
|
type: 'array',
|
|
496
973
|
items: {
|
|
497
|
-
$ref: '#/components/schemas/
|
|
498
|
-
},
|
|
499
|
-
maxItems: 2147483647,
|
|
500
|
-
minItems: 5,
|
|
501
|
-
},
|
|
502
|
-
spaces: {
|
|
503
|
-
type: 'object',
|
|
504
|
-
additionalProperties: {
|
|
505
|
-
type: 'array',
|
|
506
|
-
items: {
|
|
507
|
-
type: 'number',
|
|
508
|
-
format: 'double',
|
|
509
|
-
},
|
|
510
|
-
},
|
|
511
|
-
description: 'Areas per space type. A null entry records a space whose area is unknown.',
|
|
512
|
-
example: {
|
|
513
|
-
BATHROOM: [5, 8],
|
|
514
|
-
BEDROOM: [15.5, null, 22],
|
|
515
|
-
LIVING_ROOM: [52.5],
|
|
516
|
-
KITCHEN: [20.5],
|
|
974
|
+
$ref: '#/components/schemas/LangTextResponse',
|
|
517
975
|
},
|
|
518
976
|
},
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
format: 'double',
|
|
522
|
-
},
|
|
523
|
-
livingArea: {
|
|
524
|
-
type: 'number',
|
|
525
|
-
format: 'double',
|
|
526
|
-
},
|
|
527
|
-
balconyArea: {
|
|
528
|
-
type: 'number',
|
|
529
|
-
format: 'double',
|
|
977
|
+
measurements: {
|
|
978
|
+
$ref: '#/components/schemas/MeasurementResponse',
|
|
530
979
|
},
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
enum: [
|
|
534
|
-
'OLD_BUILDING',
|
|
535
|
-
'NEW_BUILDING',
|
|
536
|
-
'UNDER_CONSTRUCTION',
|
|
537
|
-
'FINISHED',
|
|
538
|
-
],
|
|
980
|
+
details: {
|
|
981
|
+
$ref: '#/components/schemas/DetailsResponse',
|
|
539
982
|
},
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
enum: [
|
|
543
|
-
'NEWLY_RENOVATED',
|
|
544
|
-
'OLD_RENOVATED',
|
|
545
|
-
'CURRENT_RENOVATION',
|
|
546
|
-
'REPAIRING',
|
|
547
|
-
'WHITE_FRAME',
|
|
548
|
-
'BLACK_FRAME',
|
|
549
|
-
'GREEN_FRAME',
|
|
550
|
-
'WHITE_PLUS',
|
|
551
|
-
],
|
|
983
|
+
address: {
|
|
984
|
+
$ref: '#/components/schemas/AddressResponse',
|
|
552
985
|
},
|
|
553
|
-
|
|
554
|
-
type: '
|
|
555
|
-
|
|
986
|
+
spaces: {
|
|
987
|
+
type: 'array',
|
|
988
|
+
items: {
|
|
989
|
+
$ref: '#/components/schemas/SpaceResponse',
|
|
990
|
+
},
|
|
556
991
|
},
|
|
557
|
-
|
|
558
|
-
type: '
|
|
559
|
-
|
|
992
|
+
photos: {
|
|
993
|
+
type: 'array',
|
|
994
|
+
items: {
|
|
995
|
+
$ref: '#/components/schemas/PhotosKeyUrlResponse',
|
|
996
|
+
},
|
|
560
997
|
},
|
|
561
998
|
amenities: {
|
|
562
999
|
type: 'array',
|
|
@@ -565,88 +1002,52 @@ export const PropertyCreationRequestSchema = {
|
|
|
565
1002
|
format: 'int32',
|
|
566
1003
|
},
|
|
567
1004
|
},
|
|
568
|
-
|
|
569
|
-
type: 'string',
|
|
570
|
-
minLength: 1,
|
|
571
|
-
},
|
|
572
|
-
description: {
|
|
573
|
-
type: 'object',
|
|
574
|
-
additionalProperties: {
|
|
575
|
-
type: 'string',
|
|
576
|
-
},
|
|
577
|
-
example: {
|
|
578
|
-
ka: 'example ka',
|
|
579
|
-
en: 'example en',
|
|
580
|
-
ru: 'example ru',
|
|
581
|
-
},
|
|
582
|
-
minProperties: 1,
|
|
583
|
-
},
|
|
584
|
-
},
|
|
585
|
-
required: [
|
|
586
|
-
'address',
|
|
587
|
-
'amenities',
|
|
588
|
-
'description',
|
|
589
|
-
'draftId',
|
|
590
|
-
'photoUrls',
|
|
591
|
-
'propertyType',
|
|
592
|
-
'spaces',
|
|
593
|
-
'title',
|
|
594
|
-
'totalArea',
|
|
595
|
-
],
|
|
596
|
-
};
|
|
597
|
-
export const DirectCreateResponseSchema = {
|
|
598
|
-
type: 'object',
|
|
599
|
-
properties: {
|
|
600
|
-
propertyId: {
|
|
601
|
-
type: 'string',
|
|
602
|
-
format: 'uuid',
|
|
603
|
-
},
|
|
604
|
-
success: {
|
|
605
|
-
type: 'boolean',
|
|
606
|
-
},
|
|
607
|
-
imagesUploaded: {
|
|
608
|
-
type: 'boolean',
|
|
609
|
-
},
|
|
610
|
-
propertyCreated: {
|
|
611
|
-
type: 'boolean',
|
|
612
|
-
},
|
|
613
|
-
failedImageKeys: {
|
|
1005
|
+
pages: {
|
|
614
1006
|
type: 'array',
|
|
615
1007
|
items: {
|
|
616
1008
|
type: 'string',
|
|
617
1009
|
},
|
|
618
1010
|
},
|
|
619
|
-
|
|
1011
|
+
total: {
|
|
1012
|
+
type: 'integer',
|
|
1013
|
+
format: 'int32',
|
|
1014
|
+
},
|
|
1015
|
+
group: {
|
|
620
1016
|
type: 'string',
|
|
1017
|
+
enum: [
|
|
1018
|
+
'HOUSE_GROUP',
|
|
1019
|
+
'APARTMENT_GROUP',
|
|
1020
|
+
'HOSPITALITY_GROUP',
|
|
1021
|
+
'LAND_GROUP',
|
|
1022
|
+
'BUSINESS_GROUP',
|
|
1023
|
+
'STORAGE_GROUP',
|
|
1024
|
+
],
|
|
621
1025
|
},
|
|
622
1026
|
},
|
|
623
1027
|
};
|
|
624
|
-
export const
|
|
1028
|
+
export const SpaceResponseSchema = {
|
|
625
1029
|
type: 'object',
|
|
626
1030
|
properties: {
|
|
627
|
-
|
|
628
|
-
type: 'string',
|
|
629
|
-
format: 'uuid',
|
|
630
|
-
},
|
|
631
|
-
listingType: {
|
|
1031
|
+
type: {
|
|
632
1032
|
type: 'string',
|
|
633
|
-
enum: [
|
|
1033
|
+
enum: [
|
|
1034
|
+
'BEDROOM',
|
|
1035
|
+
'BATHROOM',
|
|
1036
|
+
'KITCHEN',
|
|
1037
|
+
'LIVING_ROOM',
|
|
1038
|
+
'GARAGE',
|
|
1039
|
+
'BACKYARD',
|
|
1040
|
+
'GYM',
|
|
1041
|
+
'LAUNDRY',
|
|
1042
|
+
'HOME_THEATRE',
|
|
1043
|
+
'GAME_ROOM',
|
|
1044
|
+
],
|
|
634
1045
|
},
|
|
635
|
-
|
|
1046
|
+
area: {
|
|
636
1047
|
type: 'number',
|
|
1048
|
+
format: 'double',
|
|
637
1049
|
},
|
|
638
1050
|
},
|
|
639
|
-
required: ['listingType', 'price', 'propertyId'],
|
|
640
|
-
};
|
|
641
|
-
export const IdResponseUUIDSchema = {
|
|
642
|
-
type: 'object',
|
|
643
|
-
properties: {
|
|
644
|
-
id: {
|
|
645
|
-
type: 'string',
|
|
646
|
-
format: 'uuid',
|
|
647
|
-
},
|
|
648
|
-
},
|
|
649
|
-
required: ['id'],
|
|
650
1051
|
};
|
|
651
1052
|
export const UserPropertyQuotaResponseSchema = {
|
|
652
1053
|
type: 'object',
|
|
@@ -662,35 +1063,6 @@ export const UserPropertyQuotaResponseSchema = {
|
|
|
662
1063
|
},
|
|
663
1064
|
required: ['limit', 'used'],
|
|
664
1065
|
};
|
|
665
|
-
export const AddressResponseSchema = {
|
|
666
|
-
type: 'object',
|
|
667
|
-
properties: {
|
|
668
|
-
region: {
|
|
669
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
670
|
-
},
|
|
671
|
-
district: {
|
|
672
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
673
|
-
},
|
|
674
|
-
subdistrict: {
|
|
675
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
676
|
-
},
|
|
677
|
-
street: {
|
|
678
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
679
|
-
},
|
|
680
|
-
cadastreCode: {
|
|
681
|
-
type: 'string',
|
|
682
|
-
},
|
|
683
|
-
lat: {
|
|
684
|
-
type: 'number',
|
|
685
|
-
format: 'double',
|
|
686
|
-
},
|
|
687
|
-
lng: {
|
|
688
|
-
type: 'number',
|
|
689
|
-
format: 'double',
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
required: ['district', 'lat', 'lng', 'region', 'subdistrict'],
|
|
693
|
-
};
|
|
694
1066
|
export const AmenityViewResponseSchema = {
|
|
695
1067
|
type: 'object',
|
|
696
1068
|
properties: {
|
|
@@ -745,19 +1117,6 @@ export const ByOwnerResponseSchema = {
|
|
|
745
1117
|
},
|
|
746
1118
|
required: ['ownerId'],
|
|
747
1119
|
};
|
|
748
|
-
export const LangTextResponseSchema = {
|
|
749
|
-
type: 'object',
|
|
750
|
-
properties: {
|
|
751
|
-
language: {
|
|
752
|
-
type: 'string',
|
|
753
|
-
enum: ['ka', 'en', 'ru'],
|
|
754
|
-
},
|
|
755
|
-
text: {
|
|
756
|
-
type: 'string',
|
|
757
|
-
},
|
|
758
|
-
},
|
|
759
|
-
required: ['language', 'text'],
|
|
760
|
-
};
|
|
761
1120
|
export const ListedByResponseSchema = {
|
|
762
1121
|
oneOf: [
|
|
763
1122
|
{
|
|
@@ -921,40 +1280,6 @@ export const ListingPropertyDetailSchema = {
|
|
|
921
1280
|
'spaces',
|
|
922
1281
|
],
|
|
923
1282
|
};
|
|
924
|
-
export const LocationResponseSchema = {
|
|
925
|
-
type: 'object',
|
|
926
|
-
properties: {
|
|
927
|
-
id: {
|
|
928
|
-
type: 'integer',
|
|
929
|
-
format: 'int64',
|
|
930
|
-
},
|
|
931
|
-
names: {
|
|
932
|
-
type: 'array',
|
|
933
|
-
items: {
|
|
934
|
-
$ref: '#/components/schemas/LangTextResponse',
|
|
935
|
-
},
|
|
936
|
-
},
|
|
937
|
-
},
|
|
938
|
-
required: ['id', 'names'],
|
|
939
|
-
};
|
|
940
|
-
export const MeasurementResponseSchema = {
|
|
941
|
-
type: 'object',
|
|
942
|
-
properties: {
|
|
943
|
-
totalArea: {
|
|
944
|
-
type: 'number',
|
|
945
|
-
format: 'double',
|
|
946
|
-
},
|
|
947
|
-
livingArea: {
|
|
948
|
-
type: 'number',
|
|
949
|
-
format: 'double',
|
|
950
|
-
},
|
|
951
|
-
balconyArea: {
|
|
952
|
-
type: 'number',
|
|
953
|
-
format: 'double',
|
|
954
|
-
},
|
|
955
|
-
},
|
|
956
|
-
required: ['totalArea'],
|
|
957
|
-
};
|
|
958
1283
|
export const PhotoResponseSchema = {
|
|
959
1284
|
type: 'object',
|
|
960
1285
|
properties: {
|