@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.
Files changed (113) hide show
  1. package/dist/property/index.d.ts +2 -2
  2. package/dist/property/index.d.ts.map +1 -1
  3. package/dist/property/index.js +1 -1
  4. package/dist/property/index.js.map +1 -1
  5. package/dist/property/schemas.gen.d.ts +355 -132
  6. package/dist/property/schemas.gen.d.ts.map +1 -1
  7. package/dist/property/schemas.gen.js +615 -290
  8. package/dist/property/schemas.gen.js.map +1 -1
  9. package/dist/property/sdk.gen.d.ts +22 -2
  10. package/dist/property/sdk.gen.d.ts.map +1 -1
  11. package/dist/property/sdk.gen.js +150 -6
  12. package/dist/property/sdk.gen.js.map +1 -1
  13. package/dist/property/types.gen.d.ts +416 -48
  14. package/dist/property/types.gen.d.ts.map +1 -1
  15. package/dist/property/zod.gen.d.ts +1122 -264
  16. package/dist/property/zod.gen.d.ts.map +1 -1
  17. package/dist/property/zod.gen.js +512 -85
  18. package/dist/property/zod.gen.js.map +1 -1
  19. package/dist/rem/index.d.ts +2 -2
  20. package/dist/rem/index.d.ts.map +1 -1
  21. package/dist/rem/index.js +1 -1
  22. package/dist/rem/index.js.map +1 -1
  23. package/dist/rem/schemas.gen.d.ts +35 -2
  24. package/dist/rem/schemas.gen.d.ts.map +1 -1
  25. package/dist/rem/schemas.gen.js +63 -2
  26. package/dist/rem/schemas.gen.js.map +1 -1
  27. package/dist/rem/sdk.gen.d.ts +2 -1
  28. package/dist/rem/sdk.gen.d.ts.map +1 -1
  29. package/dist/rem/sdk.gen.js +9 -0
  30. package/dist/rem/sdk.gen.js.map +1 -1
  31. package/dist/rem/types.gen.d.ts +26 -2
  32. package/dist/rem/types.gen.d.ts.map +1 -1
  33. package/dist/rem/zod.gen.d.ts +94 -17
  34. package/dist/rem/zod.gen.d.ts.map +1 -1
  35. package/dist/rem/zod.gen.js +63 -7
  36. package/dist/rem/zod.gen.js.map +1 -1
  37. package/package.json +1 -1
  38. package/dist/registration/client/client.gen.d.ts +0 -3
  39. package/dist/registration/client/client.gen.d.ts.map +0 -1
  40. package/dist/registration/client/client.gen.js +0 -207
  41. package/dist/registration/client/client.gen.js.map +0 -1
  42. package/dist/registration/client/index.d.ts +0 -9
  43. package/dist/registration/client/index.d.ts.map +0 -1
  44. package/dist/registration/client/index.js +0 -7
  45. package/dist/registration/client/index.js.map +0 -1
  46. package/dist/registration/client/types.gen.d.ts +0 -100
  47. package/dist/registration/client/types.gen.d.ts.map +0 -1
  48. package/dist/registration/client/types.gen.js +0 -3
  49. package/dist/registration/client/types.gen.js.map +0 -1
  50. package/dist/registration/client/utils.gen.d.ts +0 -41
  51. package/dist/registration/client/utils.gen.d.ts.map +0 -1
  52. package/dist/registration/client/utils.gen.js +0 -303
  53. package/dist/registration/client/utils.gen.js.map +0 -1
  54. package/dist/registration/client.gen.d.ts +0 -13
  55. package/dist/registration/client.gen.d.ts.map +0 -1
  56. package/dist/registration/client.gen.js +0 -6
  57. package/dist/registration/client.gen.js.map +0 -1
  58. package/dist/registration/core/auth.gen.d.ts +0 -19
  59. package/dist/registration/core/auth.gen.d.ts.map +0 -1
  60. package/dist/registration/core/auth.gen.js +0 -15
  61. package/dist/registration/core/auth.gen.js.map +0 -1
  62. package/dist/registration/core/bodySerializer.gen.d.ts +0 -26
  63. package/dist/registration/core/bodySerializer.gen.d.ts.map +0 -1
  64. package/dist/registration/core/bodySerializer.gen.js +0 -58
  65. package/dist/registration/core/bodySerializer.gen.js.map +0 -1
  66. package/dist/registration/core/params.gen.d.ts +0 -44
  67. package/dist/registration/core/params.gen.d.ts.map +0 -1
  68. package/dist/registration/core/params.gen.js +0 -102
  69. package/dist/registration/core/params.gen.js.map +0 -1
  70. package/dist/registration/core/pathSerializer.gen.d.ts +0 -34
  71. package/dist/registration/core/pathSerializer.gen.d.ts.map +0 -1
  72. package/dist/registration/core/pathSerializer.gen.js +0 -119
  73. package/dist/registration/core/pathSerializer.gen.js.map +0 -1
  74. package/dist/registration/core/queryKeySerializer.gen.d.ts +0 -19
  75. package/dist/registration/core/queryKeySerializer.gen.d.ts.map +0 -1
  76. package/dist/registration/core/queryKeySerializer.gen.js +0 -100
  77. package/dist/registration/core/queryKeySerializer.gen.js.map +0 -1
  78. package/dist/registration/core/serverSentEvents.gen.d.ts +0 -72
  79. package/dist/registration/core/serverSentEvents.gen.d.ts.map +0 -1
  80. package/dist/registration/core/serverSentEvents.gen.js +0 -140
  81. package/dist/registration/core/serverSentEvents.gen.js.map +0 -1
  82. package/dist/registration/core/types.gen.d.ts +0 -79
  83. package/dist/registration/core/types.gen.d.ts.map +0 -1
  84. package/dist/registration/core/types.gen.js +0 -3
  85. package/dist/registration/core/types.gen.js.map +0 -1
  86. package/dist/registration/core/utils.gen.d.ts +0 -20
  87. package/dist/registration/core/utils.gen.d.ts.map +0 -1
  88. package/dist/registration/core/utils.gen.js +0 -89
  89. package/dist/registration/core/utils.gen.js.map +0 -1
  90. package/dist/registration/index.d.ts +0 -3
  91. package/dist/registration/index.d.ts.map +0 -1
  92. package/dist/registration/index.js +0 -3
  93. package/dist/registration/index.js.map +0 -1
  94. package/dist/registration/schemas.gen.d.ts +0 -547
  95. package/dist/registration/schemas.gen.d.ts.map +0 -1
  96. package/dist/registration/schemas.gen.js +0 -708
  97. package/dist/registration/schemas.gen.js.map +0 -1
  98. package/dist/registration/sdk.gen.d.ts +0 -35
  99. package/dist/registration/sdk.gen.d.ts.map +0 -1
  100. package/dist/registration/sdk.gen.js +0 -148
  101. package/dist/registration/sdk.gen.js.map +0 -1
  102. package/dist/registration/transformers.gen.d.ts +0 -3
  103. package/dist/registration/transformers.gen.d.ts.map +0 -1
  104. package/dist/registration/transformers.gen.js +0 -10
  105. package/dist/registration/transformers.gen.js.map +0 -1
  106. package/dist/registration/types.gen.d.ts +0 -445
  107. package/dist/registration/types.gen.d.ts.map +0 -1
  108. package/dist/registration/types.gen.js +0 -3
  109. package/dist/registration/types.gen.js.map +0 -1
  110. package/dist/registration/zod.gen.d.ts +0 -1265
  111. package/dist/registration/zod.gen.d.ts.map +0 -1
  112. package/dist/registration/zod.gen.js +0 -595
  113. package/dist/registration/zod.gen.js.map +0 -1
@@ -1,708 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- export const SpaceRequestSchema = {
3
- type: 'object',
4
- properties: {
5
- type: {
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
- ],
19
- },
20
- area: {
21
- type: 'number',
22
- format: 'double',
23
- },
24
- },
25
- required: ['type'],
26
- };
27
- export const SpacesRequestSchema = {
28
- type: 'object',
29
- properties: {
30
- spaces: {
31
- type: 'array',
32
- items: {
33
- $ref: '#/components/schemas/SpaceRequest',
34
- },
35
- },
36
- },
37
- required: ['spaces'],
38
- };
39
- export const RegistrationProgressDtoSchema = {
40
- type: 'object',
41
- properties: {
42
- registrationId: {
43
- type: 'string',
44
- format: 'uuid',
45
- description: 'id of the property being registered',
46
- },
47
- pages: {
48
- type: 'array',
49
- description: 'multiform pages',
50
- items: {
51
- type: 'string',
52
- },
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
- ],
70
- },
71
- },
72
- required: ['group', 'pages', 'registrationId', 'total'],
73
- };
74
- export const PhotoRequestSchema = {
75
- type: 'object',
76
- properties: {
77
- photo: {
78
- type: 'string',
79
- maxLength: 255,
80
- minLength: 0,
81
- },
82
- type: {
83
- type: 'string',
84
- enum: ['JPEG', 'JPG', 'PNG', 'WEBP'],
85
- },
86
- width: {
87
- type: 'integer',
88
- format: 'int32',
89
- maximum: 11000,
90
- minimum: 10,
91
- },
92
- height: {
93
- type: 'integer',
94
- format: 'int32',
95
- maximum: 11000,
96
- minimum: 10,
97
- },
98
- },
99
- required: ['photo', 'type', 'width'],
100
- };
101
- export const PhotosRequestSchema = {
102
- type: 'object',
103
- properties: {
104
- photos: {
105
- type: 'array',
106
- items: {
107
- $ref: '#/components/schemas/PhotoRequest',
108
- },
109
- maxItems: 30,
110
- minItems: 1,
111
- },
112
- },
113
- required: ['photos'],
114
- };
115
- export const PresignedUrlResponseSchema = {
116
- type: 'object',
117
- properties: {
118
- originalName: {
119
- type: 'string',
120
- },
121
- key: {
122
- type: 'string',
123
- },
124
- url: {
125
- type: 'string',
126
- },
127
- },
128
- required: ['key', 'originalName', 'url'],
129
- };
130
- export const PresignedUrlsResponseSchema = {
131
- type: 'object',
132
- properties: {
133
- data: {
134
- type: 'array',
135
- items: {
136
- $ref: '#/components/schemas/PresignedUrlResponse',
137
- },
138
- },
139
- },
140
- required: ['data'],
141
- };
142
- export const MeasurementRequestSchema = {
143
- type: 'object',
144
- properties: {
145
- totalArea: {
146
- type: 'number',
147
- format: 'double',
148
- minimum: 1,
149
- },
150
- livingArea: {
151
- type: 'number',
152
- format: 'double',
153
- },
154
- balconyArea: {
155
- type: 'number',
156
- format: 'double',
157
- },
158
- },
159
- required: ['totalArea'],
160
- };
161
- export const DetailsRequestSchema = {
162
- type: 'object',
163
- properties: {
164
- status: {
165
- type: 'string',
166
- enum: [
167
- 'OLD_BUILDING',
168
- 'NEW_BUILDING',
169
- 'UNDER_CONSTRUCTION',
170
- 'FINISHED',
171
- ],
172
- },
173
- condition: {
174
- type: 'string',
175
- enum: [
176
- 'NEWLY_RENOVATED',
177
- 'OLD_RENOVATED',
178
- 'CURRENT_RENOVATION',
179
- 'REPAIRING',
180
- 'WHITE_FRAME',
181
- 'BLACK_FRAME',
182
- 'GREEN_FRAME',
183
- 'WHITE_PLUS',
184
- ],
185
- },
186
- totalFloors: {
187
- type: 'integer',
188
- format: 'int32',
189
- },
190
- floorAt: {
191
- type: ['integer', 'null'],
192
- format: 'int32',
193
- },
194
- },
195
- required: ['condition', 'status', 'totalFloors'],
196
- };
197
- export const TextRequestSchema = {
198
- type: 'object',
199
- properties: {
200
- language: {
201
- type: 'string',
202
- enum: ['ka', 'en', 'ru'],
203
- },
204
- text: {
205
- type: 'string',
206
- },
207
- },
208
- required: ['language'],
209
- };
210
- export const TitleAndDescriptionRequestSchema = {
211
- type: 'object',
212
- properties: {
213
- title: {
214
- type: 'string',
215
- },
216
- data: {
217
- type: 'array',
218
- items: {
219
- $ref: '#/components/schemas/TextRequest',
220
- },
221
- },
222
- },
223
- };
224
- export const AmenitiesRequestSchema = {
225
- type: 'object',
226
- properties: {
227
- amenities: {
228
- type: 'array',
229
- items: {
230
- type: 'integer',
231
- format: 'int32',
232
- },
233
- },
234
- },
235
- };
236
- export const AddressRefRequestSchema = {
237
- type: 'object',
238
- properties: {
239
- location: {
240
- $ref: '#/components/schemas/LocationTargetRequest',
241
- },
242
- cadastreCode: {
243
- type: 'string',
244
- },
245
- coordinates: {
246
- $ref: '#/components/schemas/CoordinatesRequest',
247
- },
248
- },
249
- required: ['coordinates', 'location'],
250
- };
251
- export const CoordinatesRequestSchema = {
252
- type: 'object',
253
- properties: {
254
- lat: {
255
- type: 'number',
256
- format: 'double',
257
- maximum: 90,
258
- minimum: -90,
259
- },
260
- lng: {
261
- type: 'number',
262
- format: 'double',
263
- maximum: 90,
264
- minimum: -90,
265
- },
266
- },
267
- required: ['lat', 'lng'],
268
- };
269
- export const LocationTargetRequestSchema = {
270
- type: 'object',
271
- properties: {
272
- id: {
273
- type: 'integer',
274
- format: 'int64',
275
- },
276
- parentId: {
277
- type: 'integer',
278
- format: 'int64',
279
- },
280
- type: {
281
- type: 'string',
282
- enum: ['REGION', 'DISTRICT', 'SUBDISTRICT', 'STREET'],
283
- },
284
- },
285
- required: ['id', 'type'],
286
- };
287
- export const PhotoReorderRequestSchema = {
288
- type: 'object',
289
- properties: {
290
- photos: {
291
- type: 'array',
292
- items: {
293
- type: 'string',
294
- },
295
- minItems: 1,
296
- },
297
- },
298
- required: ['photos'],
299
- };
300
- export const StartRegistrationRequestSchema = {
301
- type: 'object',
302
- properties: {
303
- propertyType: {
304
- type: 'string',
305
- enum: [
306
- 'HOUSE',
307
- 'TOWN_HOUSE',
308
- 'COUNTRY_HOUSE',
309
- 'VILLA',
310
- 'COTTAGE',
311
- 'APARTMENT',
312
- 'DUPLEX',
313
- 'TRIPLEX',
314
- 'SEMI_BASEMENT',
315
- 'ATTIC',
316
- 'AGRICULTURAL_LAND',
317
- 'RESIDENTIAL_LAND',
318
- 'HOTEL_ROOM',
319
- 'MOTEL_ROOM',
320
- 'CO_LIVING_SPACE',
321
- 'OFFICE',
322
- 'COMMERCIAL_SPACE',
323
- 'CO_WORKING_SPACE',
324
- 'WAREHOUSE',
325
- 'GARAGE',
326
- ],
327
- },
328
- },
329
- required: ['propertyType'],
330
- };
331
- export const AgencyStartRegistrationRequestSchema = {
332
- type: 'object',
333
- properties: {
334
- propertyType: {
335
- type: 'string',
336
- enum: [
337
- 'HOUSE',
338
- 'TOWN_HOUSE',
339
- 'COUNTRY_HOUSE',
340
- 'VILLA',
341
- 'COTTAGE',
342
- 'APARTMENT',
343
- 'DUPLEX',
344
- 'TRIPLEX',
345
- 'SEMI_BASEMENT',
346
- 'ATTIC',
347
- 'AGRICULTURAL_LAND',
348
- 'RESIDENTIAL_LAND',
349
- 'HOTEL_ROOM',
350
- 'MOTEL_ROOM',
351
- 'CO_LIVING_SPACE',
352
- 'OFFICE',
353
- 'COMMERCIAL_SPACE',
354
- 'CO_WORKING_SPACE',
355
- 'WAREHOUSE',
356
- 'GARAGE',
357
- ],
358
- },
359
- clientId: {
360
- type: 'integer',
361
- format: 'int64',
362
- },
363
- ownerId: {
364
- type: 'string',
365
- },
366
- },
367
- required: ['clientId', 'propertyType'],
368
- };
369
- export const AddressResponseSchema = {
370
- type: 'object',
371
- properties: {
372
- region: {
373
- $ref: '#/components/schemas/LocationResponse',
374
- },
375
- district: {
376
- $ref: '#/components/schemas/LocationResponse',
377
- },
378
- subdistrict: {
379
- $ref: '#/components/schemas/LocationResponse',
380
- },
381
- street: {
382
- $ref: '#/components/schemas/LocationResponse',
383
- },
384
- cadastreCode: {
385
- type: 'string',
386
- },
387
- lat: {
388
- type: 'number',
389
- format: 'double',
390
- },
391
- lng: {
392
- type: 'number',
393
- format: 'double',
394
- },
395
- },
396
- required: ['district', 'lat', 'lng', 'region', 'subdistrict'],
397
- };
398
- export const DetailsResponseSchema = {
399
- type: 'object',
400
- properties: {
401
- status: {
402
- type: 'string',
403
- enum: [
404
- 'OLD_BUILDING',
405
- 'NEW_BUILDING',
406
- 'UNDER_CONSTRUCTION',
407
- 'FINISHED',
408
- ],
409
- },
410
- condition: {
411
- type: 'string',
412
- enum: [
413
- 'NEWLY_RENOVATED',
414
- 'OLD_RENOVATED',
415
- 'CURRENT_RENOVATION',
416
- 'REPAIRING',
417
- 'WHITE_FRAME',
418
- 'BLACK_FRAME',
419
- 'GREEN_FRAME',
420
- 'WHITE_PLUS',
421
- ],
422
- },
423
- totalFloors: {
424
- type: 'integer',
425
- format: 'int32',
426
- },
427
- floorAt: {
428
- type: ['integer', 'null'],
429
- format: 'int32',
430
- },
431
- },
432
- required: ['condition', 'status', 'totalFloors'],
433
- };
434
- export const LangTextResponseSchema = {
435
- type: 'object',
436
- properties: {
437
- language: {
438
- type: 'string',
439
- enum: ['ka', 'en', 'ru'],
440
- },
441
- text: {
442
- type: 'string',
443
- },
444
- },
445
- required: ['language', 'text'],
446
- };
447
- export const LocationResponseSchema = {
448
- type: 'object',
449
- properties: {
450
- id: {
451
- type: 'integer',
452
- format: 'int64',
453
- },
454
- names: {
455
- type: 'array',
456
- items: {
457
- $ref: '#/components/schemas/LangTextResponse',
458
- },
459
- },
460
- },
461
- required: ['id', 'names'],
462
- };
463
- export const MeasurementResponseSchema = {
464
- type: 'object',
465
- properties: {
466
- totalArea: {
467
- type: 'number',
468
- format: 'double',
469
- },
470
- livingArea: {
471
- type: 'number',
472
- format: 'double',
473
- },
474
- balconyArea: {
475
- type: 'number',
476
- format: 'double',
477
- },
478
- },
479
- required: ['totalArea'],
480
- };
481
- export const PhotosKeyUrlResponseSchema = {
482
- type: 'object',
483
- properties: {
484
- key: {
485
- type: 'string',
486
- },
487
- url: {
488
- type: 'string',
489
- },
490
- },
491
- };
492
- export const RegistrationDraftResponseSchema = {
493
- type: 'object',
494
- properties: {
495
- propertyId: {
496
- type: 'string',
497
- format: 'uuid',
498
- },
499
- ownershipType: {
500
- type: 'string',
501
- enum: ['DIRECT', 'AGENCY_MANAGED', 'CO_MANAGED'],
502
- },
503
- userId: {
504
- type: 'string',
505
- },
506
- clientId: {
507
- type: 'integer',
508
- format: 'int64',
509
- },
510
- agencyId: {
511
- type: 'string',
512
- format: 'uuid',
513
- },
514
- memberId: {
515
- type: 'string',
516
- format: 'uuid',
517
- },
518
- type: {
519
- type: 'string',
520
- enum: [
521
- 'HOUSE',
522
- 'TOWN_HOUSE',
523
- 'COUNTRY_HOUSE',
524
- 'VILLA',
525
- 'COTTAGE',
526
- 'APARTMENT',
527
- 'DUPLEX',
528
- 'TRIPLEX',
529
- 'SEMI_BASEMENT',
530
- 'ATTIC',
531
- 'AGRICULTURAL_LAND',
532
- 'RESIDENTIAL_LAND',
533
- 'HOTEL_ROOM',
534
- 'MOTEL_ROOM',
535
- 'CO_LIVING_SPACE',
536
- 'OFFICE',
537
- 'COMMERCIAL_SPACE',
538
- 'CO_WORKING_SPACE',
539
- 'WAREHOUSE',
540
- 'GARAGE',
541
- ],
542
- },
543
- title: {
544
- type: 'string',
545
- },
546
- description: {
547
- type: 'array',
548
- items: {
549
- $ref: '#/components/schemas/LangTextResponse',
550
- },
551
- },
552
- measurements: {
553
- $ref: '#/components/schemas/MeasurementResponse',
554
- },
555
- details: {
556
- $ref: '#/components/schemas/DetailsResponse',
557
- },
558
- address: {
559
- $ref: '#/components/schemas/AddressResponse',
560
- },
561
- spaces: {
562
- type: 'array',
563
- items: {
564
- $ref: '#/components/schemas/SpaceResponse',
565
- },
566
- },
567
- photos: {
568
- type: 'array',
569
- items: {
570
- $ref: '#/components/schemas/PhotosKeyUrlResponse',
571
- },
572
- },
573
- amenities: {
574
- type: 'array',
575
- items: {
576
- type: 'integer',
577
- format: 'int32',
578
- },
579
- },
580
- pages: {
581
- type: 'array',
582
- items: {
583
- type: 'string',
584
- },
585
- },
586
- total: {
587
- type: 'integer',
588
- format: 'int32',
589
- },
590
- group: {
591
- type: 'string',
592
- enum: [
593
- 'HOUSE_GROUP',
594
- 'APARTMENT_GROUP',
595
- 'HOSPITALITY_GROUP',
596
- 'LAND_GROUP',
597
- 'BUSINESS_GROUP',
598
- 'STORAGE_GROUP',
599
- ],
600
- },
601
- },
602
- required: [
603
- 'amenities',
604
- 'description',
605
- 'group',
606
- 'ownershipType',
607
- 'pages',
608
- 'photos',
609
- 'propertyId',
610
- 'spaces',
611
- 'title',
612
- 'total',
613
- 'type',
614
- ],
615
- };
616
- export const SpaceResponseSchema = {
617
- type: 'object',
618
- properties: {
619
- type: {
620
- type: 'string',
621
- enum: [
622
- 'BEDROOM',
623
- 'BATHROOM',
624
- 'KITCHEN',
625
- 'LIVING_ROOM',
626
- 'GARAGE',
627
- 'BACKYARD',
628
- 'GYM',
629
- 'LAUNDRY',
630
- 'HOME_THEATRE',
631
- 'GAME_ROOM',
632
- ],
633
- },
634
- area: {
635
- type: 'number',
636
- format: 'double',
637
- },
638
- },
639
- };
640
- export const DraftCardResponseSchema = {
641
- type: 'object',
642
- properties: {
643
- id: {
644
- type: 'string',
645
- format: 'uuid',
646
- },
647
- type: {
648
- type: 'string',
649
- enum: [
650
- 'HOUSE',
651
- 'TOWN_HOUSE',
652
- 'COUNTRY_HOUSE',
653
- 'VILLA',
654
- 'COTTAGE',
655
- 'APARTMENT',
656
- 'DUPLEX',
657
- 'TRIPLEX',
658
- 'SEMI_BASEMENT',
659
- 'ATTIC',
660
- 'AGRICULTURAL_LAND',
661
- 'RESIDENTIAL_LAND',
662
- 'HOTEL_ROOM',
663
- 'MOTEL_ROOM',
664
- 'CO_LIVING_SPACE',
665
- 'OFFICE',
666
- 'COMMERCIAL_SPACE',
667
- 'CO_WORKING_SPACE',
668
- 'WAREHOUSE',
669
- 'GARAGE',
670
- ],
671
- },
672
- title: {
673
- type: 'string',
674
- },
675
- region: {
676
- $ref: '#/components/schemas/LocationResponse',
677
- },
678
- district: {
679
- $ref: '#/components/schemas/LocationResponse',
680
- },
681
- subdistrict: {
682
- $ref: '#/components/schemas/LocationResponse',
683
- },
684
- street: {
685
- $ref: '#/components/schemas/LocationResponse',
686
- },
687
- coverPhoto: {
688
- type: 'string',
689
- },
690
- uploadDate: {
691
- type: 'string',
692
- format: 'date-time',
693
- },
694
- },
695
- required: ['id', 'title', 'type', 'uploadDate'],
696
- };
697
- export const DraftStatusResponseSchema = {
698
- type: 'object',
699
- properties: {
700
- status: {
701
- type: 'string',
702
- description: 'property draft status',
703
- enum: ['IN_REGISTRATION', 'PROCESSING', 'COMPLETED'],
704
- },
705
- },
706
- required: ['status'],
707
- };
708
- //# sourceMappingURL=schemas.gen.js.map