@homespot-sdk/core 0.0.126 → 0.0.128

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 (78) hide show
  1. package/dist/property/client/client.gen.d.ts +3 -0
  2. package/dist/property/client/client.gen.d.ts.map +1 -0
  3. package/dist/property/client/client.gen.js +207 -0
  4. package/dist/property/client/client.gen.js.map +1 -0
  5. package/dist/property/client/index.d.ts +9 -0
  6. package/dist/property/client/index.d.ts.map +1 -0
  7. package/dist/property/client/index.js +7 -0
  8. package/dist/property/client/index.js.map +1 -0
  9. package/dist/property/client/types.gen.d.ts +100 -0
  10. package/dist/property/client/types.gen.d.ts.map +1 -0
  11. package/dist/property/client/types.gen.js +3 -0
  12. package/dist/property/client/types.gen.js.map +1 -0
  13. package/dist/property/client/utils.gen.d.ts +41 -0
  14. package/dist/property/client/utils.gen.d.ts.map +1 -0
  15. package/dist/property/client/utils.gen.js +303 -0
  16. package/dist/property/client/utils.gen.js.map +1 -0
  17. package/dist/property/client.gen.d.ts +13 -0
  18. package/dist/property/client.gen.d.ts.map +1 -0
  19. package/dist/property/client.gen.js +7 -0
  20. package/dist/property/client.gen.js.map +1 -0
  21. package/dist/property/core/auth.gen.d.ts +19 -0
  22. package/dist/property/core/auth.gen.d.ts.map +1 -0
  23. package/dist/property/core/auth.gen.js +15 -0
  24. package/dist/property/core/auth.gen.js.map +1 -0
  25. package/dist/property/core/bodySerializer.gen.d.ts +26 -0
  26. package/dist/property/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/property/core/bodySerializer.gen.js +58 -0
  28. package/dist/property/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/property/core/params.gen.d.ts +44 -0
  30. package/dist/property/core/params.gen.d.ts.map +1 -0
  31. package/dist/property/core/params.gen.js +102 -0
  32. package/dist/property/core/params.gen.js.map +1 -0
  33. package/dist/property/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/property/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/property/core/pathSerializer.gen.js +119 -0
  36. package/dist/property/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/property/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/property/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/property/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/property/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/property/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/property/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/property/core/serverSentEvents.gen.js +140 -0
  44. package/dist/property/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/property/core/types.gen.d.ts +79 -0
  46. package/dist/property/core/types.gen.d.ts.map +1 -0
  47. package/dist/property/core/types.gen.js +3 -0
  48. package/dist/property/core/types.gen.js.map +1 -0
  49. package/dist/property/core/utils.gen.d.ts +20 -0
  50. package/dist/property/core/utils.gen.d.ts.map +1 -0
  51. package/dist/property/core/utils.gen.js +89 -0
  52. package/dist/property/core/utils.gen.js.map +1 -0
  53. package/dist/property/index.d.ts +3 -0
  54. package/dist/property/index.d.ts.map +1 -0
  55. package/dist/property/index.js +3 -0
  56. package/dist/property/index.js.map +1 -0
  57. package/dist/property/schemas.gen.d.ts +1008 -0
  58. package/dist/property/schemas.gen.d.ts.map +1 -0
  59. package/dist/property/schemas.gen.js +1136 -0
  60. package/dist/property/schemas.gen.js.map +1 -0
  61. package/dist/property/sdk.gen.d.ts +53 -0
  62. package/dist/property/sdk.gen.d.ts.map +1 -0
  63. package/dist/property/sdk.gen.js +263 -0
  64. package/dist/property/sdk.gen.js.map +1 -0
  65. package/dist/property/transformers.gen.d.ts +4 -0
  66. package/dist/property/transformers.gen.d.ts.map +1 -0
  67. package/dist/property/transformers.gen.js +24 -0
  68. package/dist/property/transformers.gen.js.map +1 -0
  69. package/dist/property/types.gen.d.ts +832 -0
  70. package/dist/property/types.gen.d.ts.map +1 -0
  71. package/dist/property/types.gen.js +3 -0
  72. package/dist/property/types.gen.js.map +1 -0
  73. package/dist/property/zod.gen.d.ts +2055 -0
  74. package/dist/property/zod.gen.d.ts.map +1 -0
  75. package/dist/property/zod.gen.js +1041 -0
  76. package/dist/property/zod.gen.js.map +1 -0
  77. package/dist/rem/zod.gen.d.ts +15 -15
  78. package/package.json +9 -1
@@ -0,0 +1,832 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://gateway.dev.homespot.ge/property' | (string & {});
3
+ };
4
+ export type MultiLangTextRequest = {
5
+ data: Array<TextRequest>;
6
+ };
7
+ export type TextRequest = {
8
+ language: LanguageEnum;
9
+ text?: string;
10
+ };
11
+ export type AreaRequest = {
12
+ area: number;
13
+ };
14
+ export type AmenitiesRequest = {
15
+ amenities?: Array<number>;
16
+ };
17
+ export type PhotoIdsRequest = {
18
+ photoIds: Array<number>;
19
+ };
20
+ export type PhotoRequest = {
21
+ photo: string;
22
+ type: TypeEnum;
23
+ width: number;
24
+ height?: number;
25
+ };
26
+ export type PhotosRequest = {
27
+ photos: Array<PhotoRequest>;
28
+ };
29
+ export type PresignedUrlResponse = {
30
+ originalName: string;
31
+ key: string;
32
+ url: string;
33
+ };
34
+ export type PresignedUrlsResponse = {
35
+ data: Array<PresignedUrlResponse>;
36
+ };
37
+ export type TitleRequest = {
38
+ title: string;
39
+ };
40
+ export type MeasurementRequest = {
41
+ totalArea: number;
42
+ livingArea?: number;
43
+ balconyArea?: number;
44
+ };
45
+ export type AddressRefRequest = {
46
+ regionId?: number;
47
+ districtId?: number;
48
+ subdistrictId?: number;
49
+ streetId?: number;
50
+ cadastreCode?: string;
51
+ coordinates: CoordinatesRequest;
52
+ };
53
+ export type CoordinatesRequest = {
54
+ lat: number;
55
+ lng: number;
56
+ };
57
+ export type PriceRequest = {
58
+ price: number;
59
+ };
60
+ export type SpaceRequest = {
61
+ type: SchemaEnum4;
62
+ area: number;
63
+ };
64
+ export type SpacesRequest = {
65
+ spaces: Array<SpaceRequest>;
66
+ };
67
+ export type UploadAcknowledgmentResponse = {
68
+ success: Array<string>;
69
+ fail: Array<string>;
70
+ };
71
+ export type CreateListingRequest = {
72
+ propertyId: string;
73
+ listingType: SchemaEnum2;
74
+ price: number;
75
+ };
76
+ export type IdResponseUuid = {
77
+ id: string;
78
+ };
79
+ export type AddressRef = {
80
+ regionId?: number;
81
+ districtId?: number;
82
+ subdistrictId?: number;
83
+ streetId?: number;
84
+ cadastreCode?: string;
85
+ coordinates?: Coordinates;
86
+ };
87
+ export type Coordinates = {
88
+ lat?: number;
89
+ lng?: number;
90
+ };
91
+ export type PhotoInternalRequest = {
92
+ photo: string;
93
+ width: number;
94
+ height?: number;
95
+ };
96
+ export type PropertyCreationRequest = {
97
+ draftId: string;
98
+ clientId?: number;
99
+ propertyType: SchemaEnum;
100
+ address: AddressRef;
101
+ photoUrls: Array<PhotoInternalRequest>;
102
+ spaces: {
103
+ [key: string]: Array<number>;
104
+ };
105
+ totalArea: number;
106
+ livingArea?: number;
107
+ balconyArea?: number;
108
+ amenities: Array<number>;
109
+ title: string;
110
+ description: {
111
+ [key: string]: string;
112
+ };
113
+ };
114
+ export type AmenityValidationRequest = {
115
+ amenityIds?: Array<number>;
116
+ group?: SchemaEnum3;
117
+ };
118
+ export type AmenityValidationResponse = {
119
+ valid: Array<number>;
120
+ };
121
+ export type UserPropertyQuotaResponse = {
122
+ limit: number;
123
+ used: number;
124
+ };
125
+ export type PropertyCardViewResponse = {
126
+ id: string;
127
+ type: SchemaEnum;
128
+ title: string;
129
+ districtId: number;
130
+ streetId: number;
131
+ coverPhoto: string;
132
+ uploadDate: Date;
133
+ };
134
+ export type AmenityViewResponse = {
135
+ id: number;
136
+ category: CategoryEnum;
137
+ name: Array<LangTextResponse>;
138
+ };
139
+ export type LangTextResponse = {
140
+ language: LanguageEnum;
141
+ text: string;
142
+ };
143
+ export type PhotoResponse = {
144
+ id: number;
145
+ key: string;
146
+ url: string;
147
+ width: number;
148
+ height: number;
149
+ };
150
+ export type SpaceViewResponse = {
151
+ spaceId?: string;
152
+ name: string;
153
+ type: TypeEnum2;
154
+ area?: number;
155
+ photos: Array<PhotoResponse>;
156
+ amenities: Array<AmenityViewResponse>;
157
+ description: Array<LangTextResponse>;
158
+ };
159
+ export type SpaceEditorViewResponse = {
160
+ id?: string;
161
+ type: TypeEnum2;
162
+ name: string;
163
+ area?: number;
164
+ coverImage?: string;
165
+ imageCount: number;
166
+ };
167
+ export type SpacesEditorViewResponse = {
168
+ spaces: Array<SpaceEditorViewResponse>;
169
+ wasGrouped: boolean;
170
+ };
171
+ export type AddressResponse = {
172
+ regionId: number;
173
+ districtId: number;
174
+ subdistrictId: number;
175
+ streetId: number;
176
+ cadastreCode?: string;
177
+ lat: number;
178
+ lng: number;
179
+ };
180
+ export type MeasurementResponse = {
181
+ totalArea: number;
182
+ livingArea?: number;
183
+ balconyArea?: number;
184
+ };
185
+ export type PropertyEditorViewResponse = {
186
+ type: SchemaEnum;
187
+ measurement: MeasurementResponse;
188
+ address: AddressResponse;
189
+ description: Array<LangTextResponse>;
190
+ amenities: Array<AmenityViewResponse>;
191
+ spaces: Array<PropertySpaceViewResponse>;
192
+ };
193
+ export type PropertySpaceViewResponse = {
194
+ spaceId?: string;
195
+ type: TypeEnum2;
196
+ name: string;
197
+ area?: number;
198
+ coverPhoto?: string;
199
+ photoCount: number;
200
+ };
201
+ export type ListedByResponse = {
202
+ type: string;
203
+ ownerId?: string;
204
+ agencyId?: string;
205
+ agentId?: string;
206
+ };
207
+ export type ListingDetailResponse = {
208
+ listingId: string;
209
+ propertyId: string;
210
+ listingType: SchemaEnum2;
211
+ status: StatusEnum;
212
+ price: number;
213
+ propertyType: SchemaEnum;
214
+ title: Array<LangTextResponse>;
215
+ country: string;
216
+ city: string;
217
+ district: string;
218
+ fullAddressName: string;
219
+ lat: number;
220
+ lng: number;
221
+ totalArea: number;
222
+ livingArea?: number;
223
+ balconyArea?: number;
224
+ bedroomCount: number;
225
+ bathroomCount: number;
226
+ photoCount: number;
227
+ coverPhotoUrl?: string;
228
+ listedBy: ListedByResponse;
229
+ createdAt: Date;
230
+ publishedAt?: Date;
231
+ expiresAt?: Date;
232
+ };
233
+ export type ListingCardResponse = {
234
+ listingId: string;
235
+ propertyId: string;
236
+ listingType: SchemaEnum2;
237
+ propertyType: SchemaEnum;
238
+ title: Array<LangTextResponse>;
239
+ city: string;
240
+ bedroomCount: number;
241
+ bathroomCount: number;
242
+ totalArea: number;
243
+ price: number;
244
+ coverPhotoUrl?: string;
245
+ status: StatusEnum;
246
+ };
247
+ export type ListingSearchResponse = {
248
+ listings: Array<ListingCardResponse>;
249
+ total: number;
250
+ page: number;
251
+ size: number;
252
+ };
253
+ export type AmenityCatalogDto = {
254
+ id: number;
255
+ category: CategoryEnum;
256
+ name: Array<LangTextResponse>;
257
+ };
258
+ export type GroupedAmenity = {
259
+ propertyGroup?: SchemaEnum3;
260
+ spaceType?: SchemaEnum4;
261
+ amenities: Array<AmenityCatalogDto>;
262
+ };
263
+ export type HomespotAmenities = {
264
+ data: Array<GroupedAmenity>;
265
+ };
266
+ export type SchemaEnum = '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';
267
+ export type SchemaEnum2 = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
268
+ export type SchemaEnum3 = 'HOUSE_GROUP' | 'APARTMENT_GROUP' | 'HOSPITALITY_GROUP' | 'LAND_GROUP' | 'BUSINESS_GROUP' | 'STORAGE_GROUP';
269
+ export type SchemaEnum4 = 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM';
270
+ export type LanguageEnum = 'ka' | 'en' | 'ru';
271
+ export type TypeEnum = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
272
+ export type CategoryEnum = 'CLIMATE_CONTROL' | 'ENTERTAINMENT' | 'OUTDOOR' | 'KITCHEN_APPLIANCES' | 'BATHROOM_APPLIANCES' | 'UTILITIES' | 'BUILDING' | 'LOCATION_FEATURES' | 'PARKING' | 'SECURITY';
273
+ export type TypeEnum2 = 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM' | 'UNCLASSIFIED' | 'OTHER';
274
+ export type StatusEnum = 'ACTIVE' | 'PAUSED' | 'EXPIRED';
275
+ export type PutPropertyByPropertyIdSpaceBySpaceIdDescriptionData = {
276
+ body: MultiLangTextRequest;
277
+ path: {
278
+ propertyId: string;
279
+ spaceId: string;
280
+ };
281
+ query?: never;
282
+ url: '/property/{propertyId}/space/{spaceId}/description';
283
+ };
284
+ export type PutPropertyByPropertyIdSpaceBySpaceIdDescriptionResponses = {
285
+ /**
286
+ * No Content
287
+ */
288
+ 204: void;
289
+ };
290
+ export type PutPropertyByPropertyIdSpaceBySpaceIdDescriptionResponse = PutPropertyByPropertyIdSpaceBySpaceIdDescriptionResponses[keyof PutPropertyByPropertyIdSpaceBySpaceIdDescriptionResponses];
291
+ export type PutPropertyByPropertyIdSpaceBySpaceIdAreaData = {
292
+ body: AreaRequest;
293
+ path: {
294
+ propertyId: string;
295
+ spaceId: string;
296
+ };
297
+ query?: never;
298
+ url: '/property/{propertyId}/space/{spaceId}/area';
299
+ };
300
+ export type PutPropertyByPropertyIdSpaceBySpaceIdAreaResponses = {
301
+ /**
302
+ * No Content
303
+ */
304
+ 204: void;
305
+ };
306
+ export type PutPropertyByPropertyIdSpaceBySpaceIdAreaResponse = PutPropertyByPropertyIdSpaceBySpaceIdAreaResponses[keyof PutPropertyByPropertyIdSpaceBySpaceIdAreaResponses];
307
+ export type PutPropertyByPropertyIdSpaceBySpaceIdAmenitiesData = {
308
+ body: AmenitiesRequest;
309
+ path: {
310
+ propertyId: string;
311
+ spaceId: string;
312
+ };
313
+ query?: never;
314
+ url: '/property/{propertyId}/space/{spaceId}/amenities';
315
+ };
316
+ export type PutPropertyByPropertyIdSpaceBySpaceIdAmenitiesResponses = {
317
+ /**
318
+ * No Content
319
+ */
320
+ 204: void;
321
+ };
322
+ export type PutPropertyByPropertyIdSpaceBySpaceIdAmenitiesResponse = PutPropertyByPropertyIdSpaceBySpaceIdAmenitiesResponses[keyof PutPropertyByPropertyIdSpaceBySpaceIdAmenitiesResponses];
323
+ export type PutPropertyByPropertyIdGallerySpaceBySpaceIdData = {
324
+ body: PhotoIdsRequest;
325
+ path: {
326
+ propertyId: string;
327
+ spaceId: string;
328
+ };
329
+ query?: never;
330
+ url: '/property/{propertyId}/gallery/space/{spaceId}';
331
+ };
332
+ export type PutPropertyByPropertyIdGallerySpaceBySpaceIdResponses = {
333
+ /**
334
+ * No Content
335
+ */
336
+ 204: void;
337
+ };
338
+ export type PutPropertyByPropertyIdGallerySpaceBySpaceIdResponse = PutPropertyByPropertyIdGallerySpaceBySpaceIdResponses[keyof PutPropertyByPropertyIdGallerySpaceBySpaceIdResponses];
339
+ export type PutPropertyByPropertyIdGalleryReorderData = {
340
+ body: PhotoIdsRequest;
341
+ path: {
342
+ propertyId: string;
343
+ };
344
+ query?: never;
345
+ url: '/property/{propertyId}/gallery/reorder';
346
+ };
347
+ export type PutPropertyByPropertyIdGalleryReorderResponses = {
348
+ /**
349
+ * No Content
350
+ */
351
+ 204: void;
352
+ };
353
+ export type PutPropertyByPropertyIdGalleryReorderResponse = PutPropertyByPropertyIdGalleryReorderResponses[keyof PutPropertyByPropertyIdGalleryReorderResponses];
354
+ export type PutPropertyByPropertyIdGalleryPresignedUrlsData = {
355
+ body: PhotosRequest;
356
+ path: {
357
+ propertyId: string;
358
+ };
359
+ query?: never;
360
+ url: '/property/{propertyId}/gallery/presigned-urls';
361
+ };
362
+ export type PutPropertyByPropertyIdGalleryPresignedUrlsResponses = {
363
+ /**
364
+ * OK
365
+ */
366
+ 200: PresignedUrlsResponse;
367
+ };
368
+ export type PutPropertyByPropertyIdGalleryPresignedUrlsResponse = PutPropertyByPropertyIdGalleryPresignedUrlsResponses[keyof PutPropertyByPropertyIdGalleryPresignedUrlsResponses];
369
+ export type PutPropertyByPropertyIdGalleryAssignPhotosToSpacesSmartData = {
370
+ body?: never;
371
+ path: {
372
+ propertyId: string;
373
+ };
374
+ query?: never;
375
+ url: '/property/{propertyId}/gallery/assign-photos-to-spaces-smart';
376
+ };
377
+ export type PutPropertyByPropertyIdGalleryAssignPhotosToSpacesSmartResponses = {
378
+ /**
379
+ * No Content
380
+ */
381
+ 204: void;
382
+ };
383
+ export type PutPropertyByPropertyIdGalleryAssignPhotosToSpacesSmartResponse = PutPropertyByPropertyIdGalleryAssignPhotosToSpacesSmartResponses[keyof PutPropertyByPropertyIdGalleryAssignPhotosToSpacesSmartResponses];
384
+ export type PutPropertyByIdTitleData = {
385
+ body: TitleRequest;
386
+ path: {
387
+ id: string;
388
+ };
389
+ query?: never;
390
+ url: '/property/{id}/title';
391
+ };
392
+ export type PutPropertyByIdTitleResponses = {
393
+ /**
394
+ * No Content
395
+ */
396
+ 204: void;
397
+ };
398
+ export type PutPropertyByIdTitleResponse = PutPropertyByIdTitleResponses[keyof PutPropertyByIdTitleResponses];
399
+ export type PutPropertyByIdMeasurementsData = {
400
+ body: MeasurementRequest;
401
+ path: {
402
+ id: string;
403
+ };
404
+ query?: never;
405
+ url: '/property/{id}/measurements';
406
+ };
407
+ export type PutPropertyByIdMeasurementsResponses = {
408
+ /**
409
+ * No Content
410
+ */
411
+ 204: void;
412
+ };
413
+ export type PutPropertyByIdMeasurementsResponse = PutPropertyByIdMeasurementsResponses[keyof PutPropertyByIdMeasurementsResponses];
414
+ export type PutPropertyByIdDescriptionData = {
415
+ body: MultiLangTextRequest;
416
+ path: {
417
+ id: string;
418
+ };
419
+ query?: never;
420
+ url: '/property/{id}/description';
421
+ };
422
+ export type PutPropertyByIdDescriptionResponses = {
423
+ /**
424
+ * No Content
425
+ */
426
+ 204: void;
427
+ };
428
+ export type PutPropertyByIdDescriptionResponse = PutPropertyByIdDescriptionResponses[keyof PutPropertyByIdDescriptionResponses];
429
+ export type PutPropertyByIdAmenitiesData = {
430
+ body: AmenitiesRequest;
431
+ path: {
432
+ id: string;
433
+ };
434
+ query?: never;
435
+ url: '/property/{id}/amenities';
436
+ };
437
+ export type PutPropertyByIdAmenitiesResponses = {
438
+ /**
439
+ * No Content
440
+ */
441
+ 204: void;
442
+ };
443
+ export type PutPropertyByIdAmenitiesResponse = PutPropertyByIdAmenitiesResponses[keyof PutPropertyByIdAmenitiesResponses];
444
+ export type PutPropertyByIdAddressData = {
445
+ body: AddressRefRequest;
446
+ path: {
447
+ id: string;
448
+ };
449
+ query?: never;
450
+ url: '/property/{id}/address';
451
+ };
452
+ export type PutPropertyByIdAddressResponses = {
453
+ /**
454
+ * No Content
455
+ */
456
+ 204: void;
457
+ };
458
+ export type PutPropertyByIdAddressResponse = PutPropertyByIdAddressResponses[keyof PutPropertyByIdAddressResponses];
459
+ export type PutListingByIdPriceData = {
460
+ body: PriceRequest;
461
+ path: {
462
+ id: string;
463
+ };
464
+ query?: never;
465
+ url: '/listing/{id}/price';
466
+ };
467
+ export type PutListingByIdPriceResponses = {
468
+ /**
469
+ * No Content
470
+ */
471
+ 204: void;
472
+ };
473
+ export type PutListingByIdPriceResponse = PutListingByIdPriceResponses[keyof PutListingByIdPriceResponses];
474
+ export type GetQuotaData = {
475
+ body?: never;
476
+ path?: never;
477
+ query?: never;
478
+ url: '/quota';
479
+ };
480
+ export type GetQuotaResponses = {
481
+ /**
482
+ * OK
483
+ */
484
+ 200: UserPropertyQuotaResponse;
485
+ };
486
+ export type GetQuotaResponse = GetQuotaResponses[keyof GetQuotaResponses];
487
+ export type PostQuotaData = {
488
+ body?: never;
489
+ path?: never;
490
+ query?: never;
491
+ url: '/quota';
492
+ };
493
+ export type PostQuotaResponses = {
494
+ /**
495
+ * OK
496
+ */
497
+ 200: unknown;
498
+ };
499
+ export type GetPropertyByPropertyIdSpaceData = {
500
+ body?: never;
501
+ path: {
502
+ propertyId: string;
503
+ };
504
+ query?: never;
505
+ url: '/property/{propertyId}/space';
506
+ };
507
+ export type GetPropertyByPropertyIdSpaceResponses = {
508
+ /**
509
+ * OK
510
+ */
511
+ 200: Array<SpaceViewResponse>;
512
+ };
513
+ export type GetPropertyByPropertyIdSpaceResponse = GetPropertyByPropertyIdSpaceResponses[keyof GetPropertyByPropertyIdSpaceResponses];
514
+ export type PostPropertyByPropertyIdSpaceData = {
515
+ body: SpacesRequest;
516
+ path: {
517
+ propertyId: string;
518
+ };
519
+ query?: never;
520
+ url: '/property/{propertyId}/space';
521
+ };
522
+ export type PostPropertyByPropertyIdSpaceResponses = {
523
+ /**
524
+ * Created
525
+ */
526
+ 201: unknown;
527
+ };
528
+ export type PostPropertyByPropertyIdGalleryPresignedUrlsNotifyData = {
529
+ body: PhotosRequest;
530
+ path: {
531
+ propertyId: string;
532
+ };
533
+ query?: never;
534
+ url: '/property/{propertyId}/gallery/presigned-urls/notify';
535
+ };
536
+ export type PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponses = {
537
+ /**
538
+ * OK
539
+ */
540
+ 200: UploadAcknowledgmentResponse;
541
+ };
542
+ export type PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponse = PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponses[keyof PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponses];
543
+ export type PostListingData = {
544
+ body: CreateListingRequest;
545
+ path?: never;
546
+ query?: never;
547
+ url: '/listing';
548
+ };
549
+ export type PostListingResponses = {
550
+ /**
551
+ * Created
552
+ */
553
+ 201: IdResponseUuid;
554
+ };
555
+ export type PostListingResponse = PostListingResponses[keyof PostListingResponses];
556
+ export type PostListingByIdPublishData = {
557
+ body?: never;
558
+ path: {
559
+ id: string;
560
+ };
561
+ query?: never;
562
+ url: '/listing/{id}/publish';
563
+ };
564
+ export type PostListingByIdPublishResponses = {
565
+ /**
566
+ * No Content
567
+ */
568
+ 204: void;
569
+ };
570
+ export type PostListingByIdPublishResponse = PostListingByIdPublishResponses[keyof PostListingByIdPublishResponses];
571
+ export type PostListingByIdPauseData = {
572
+ body?: never;
573
+ path: {
574
+ id: string;
575
+ };
576
+ query?: never;
577
+ url: '/listing/{id}/pause';
578
+ };
579
+ export type PostListingByIdPauseResponses = {
580
+ /**
581
+ * No Content
582
+ */
583
+ 204: void;
584
+ };
585
+ export type PostListingByIdPauseResponse = PostListingByIdPauseResponses[keyof PostListingByIdPauseResponses];
586
+ export type PostListingByIdExpireData = {
587
+ body?: never;
588
+ path: {
589
+ id: string;
590
+ };
591
+ query?: never;
592
+ url: '/listing/{id}/expire';
593
+ };
594
+ export type PostListingByIdExpireResponses = {
595
+ /**
596
+ * No Content
597
+ */
598
+ 204: void;
599
+ };
600
+ export type PostListingByIdExpireResponse = PostListingByIdExpireResponses[keyof PostListingByIdExpireResponses];
601
+ export type PostInternalPropertyData = {
602
+ body: PropertyCreationRequest;
603
+ path?: never;
604
+ query?: never;
605
+ url: '/internal/property';
606
+ };
607
+ export type PostInternalPropertyResponses = {
608
+ /**
609
+ * Created
610
+ */
611
+ 201: unknown;
612
+ };
613
+ export type PostAmenityValidateData = {
614
+ body: AmenityValidationRequest;
615
+ path?: never;
616
+ query?: never;
617
+ url: '/amenity/validate';
618
+ };
619
+ export type PostAmenityValidateResponses = {
620
+ /**
621
+ * OK
622
+ */
623
+ 200: AmenityValidationResponse;
624
+ };
625
+ export type PostAmenityValidateResponse = PostAmenityValidateResponses[keyof PostAmenityValidateResponses];
626
+ export type GetPropertyData = {
627
+ body?: never;
628
+ path?: never;
629
+ query?: never;
630
+ url: '/property';
631
+ };
632
+ export type GetPropertyResponses = {
633
+ /**
634
+ * OK
635
+ */
636
+ 200: Array<PropertyCardViewResponse>;
637
+ };
638
+ export type GetPropertyResponse = GetPropertyResponses[keyof GetPropertyResponses];
639
+ export type DeletePropertyByPropertyIdSpaceBySpaceIdData = {
640
+ body?: never;
641
+ path: {
642
+ propertyId: string;
643
+ spaceId: string;
644
+ };
645
+ query?: never;
646
+ url: '/property/{propertyId}/space/{spaceId}';
647
+ };
648
+ export type DeletePropertyByPropertyIdSpaceBySpaceIdResponses = {
649
+ /**
650
+ * No Content
651
+ */
652
+ 204: void;
653
+ };
654
+ export type DeletePropertyByPropertyIdSpaceBySpaceIdResponse = DeletePropertyByPropertyIdSpaceBySpaceIdResponses[keyof DeletePropertyByPropertyIdSpaceBySpaceIdResponses];
655
+ export type GetPropertyByPropertyIdSpaceBySpaceIdData = {
656
+ body?: never;
657
+ path: {
658
+ propertyId: string;
659
+ spaceId: string;
660
+ };
661
+ query?: never;
662
+ url: '/property/{propertyId}/space/{spaceId}';
663
+ };
664
+ export type GetPropertyByPropertyIdSpaceBySpaceIdResponses = {
665
+ /**
666
+ * OK
667
+ */
668
+ 200: SpaceViewResponse;
669
+ };
670
+ export type GetPropertyByPropertyIdSpaceBySpaceIdResponse = GetPropertyByPropertyIdSpaceBySpaceIdResponses[keyof GetPropertyByPropertyIdSpaceBySpaceIdResponses];
671
+ export type GetPropertyByPropertyIdSpaceEditorData = {
672
+ body?: never;
673
+ path: {
674
+ propertyId: string;
675
+ };
676
+ query?: never;
677
+ url: '/property/{propertyId}/space/editor';
678
+ };
679
+ export type GetPropertyByPropertyIdSpaceEditorResponses = {
680
+ /**
681
+ * OK
682
+ */
683
+ 200: SpacesEditorViewResponse;
684
+ };
685
+ export type GetPropertyByPropertyIdSpaceEditorResponse = GetPropertyByPropertyIdSpaceEditorResponses[keyof GetPropertyByPropertyIdSpaceEditorResponses];
686
+ export type GetPropertyByIdEditorViewData = {
687
+ body?: never;
688
+ path: {
689
+ id: string;
690
+ };
691
+ query?: never;
692
+ url: '/property/{id}/editor-view';
693
+ };
694
+ export type GetPropertyByIdEditorViewResponses = {
695
+ /**
696
+ * OK
697
+ */
698
+ 200: PropertyEditorViewResponse;
699
+ };
700
+ export type GetPropertyByIdEditorViewResponse = GetPropertyByIdEditorViewResponses[keyof GetPropertyByIdEditorViewResponses];
701
+ export type GetPhotoByPropertyIdData = {
702
+ body?: never;
703
+ path: {
704
+ propertyId: string;
705
+ };
706
+ query?: never;
707
+ url: '/photo/{propertyId}';
708
+ };
709
+ export type GetPhotoByPropertyIdResponses = {
710
+ /**
711
+ * OK
712
+ */
713
+ 200: Array<PhotoResponse>;
714
+ };
715
+ export type GetPhotoByPropertyIdResponse = GetPhotoByPropertyIdResponses[keyof GetPhotoByPropertyIdResponses];
716
+ export type GetPhotoByPropertyIdUnassignedData = {
717
+ body?: never;
718
+ path: {
719
+ propertyId: string;
720
+ };
721
+ query?: never;
722
+ url: '/photo/{propertyId}/unassigned';
723
+ };
724
+ export type GetPhotoByPropertyIdUnassignedResponses = {
725
+ /**
726
+ * OK
727
+ */
728
+ 200: Array<PhotoResponse>;
729
+ };
730
+ export type GetPhotoByPropertyIdUnassignedResponse = GetPhotoByPropertyIdUnassignedResponses[keyof GetPhotoByPropertyIdUnassignedResponses];
731
+ export type GetListingByIdData = {
732
+ body?: never;
733
+ path: {
734
+ id: string;
735
+ };
736
+ query?: never;
737
+ url: '/listing/{id}';
738
+ };
739
+ export type GetListingByIdResponses = {
740
+ /**
741
+ * OK
742
+ */
743
+ 200: ListingDetailResponse;
744
+ };
745
+ export type GetListingByIdResponse = GetListingByIdResponses[keyof GetListingByIdResponses];
746
+ export type GetListingSearchData = {
747
+ body?: never;
748
+ path?: never;
749
+ query: {
750
+ propertyType: SchemaEnum;
751
+ listingType: SchemaEnum2;
752
+ city?: string;
753
+ minBedrooms?: number;
754
+ maxBedrooms?: number;
755
+ minBathrooms?: number;
756
+ maxBathrooms?: number;
757
+ minArea?: number;
758
+ maxArea?: number;
759
+ minPrice?: number;
760
+ maxPrice?: number;
761
+ page?: number;
762
+ size?: number;
763
+ };
764
+ url: '/listing/search';
765
+ };
766
+ export type GetListingSearchResponses = {
767
+ /**
768
+ * OK
769
+ */
770
+ 200: ListingSearchResponse;
771
+ };
772
+ export type GetListingSearchResponse = GetListingSearchResponses[keyof GetListingSearchResponses];
773
+ export type GetAmenityData = {
774
+ body?: never;
775
+ path?: never;
776
+ query?: never;
777
+ url: '/amenity';
778
+ };
779
+ export type GetAmenityResponses = {
780
+ /**
781
+ * OK
782
+ */
783
+ 200: HomespotAmenities;
784
+ };
785
+ export type GetAmenityResponse = GetAmenityResponses[keyof GetAmenityResponses];
786
+ export type GetAmenityByGroupData = {
787
+ body?: never;
788
+ path?: never;
789
+ query: {
790
+ group: SchemaEnum3;
791
+ };
792
+ url: '/amenity/by-group';
793
+ };
794
+ export type GetAmenityByGroupResponses = {
795
+ /**
796
+ * OK
797
+ */
798
+ 200: HomespotAmenities;
799
+ };
800
+ export type GetAmenityByGroupResponse = GetAmenityByGroupResponses[keyof GetAmenityByGroupResponses];
801
+ export type GetAmenityByGroupAndSpaceData = {
802
+ body?: never;
803
+ path?: never;
804
+ query: {
805
+ group: SchemaEnum3;
806
+ space: SchemaEnum4;
807
+ };
808
+ url: '/amenity/by-group-and-space';
809
+ };
810
+ export type GetAmenityByGroupAndSpaceResponses = {
811
+ /**
812
+ * OK
813
+ */
814
+ 200: HomespotAmenities;
815
+ };
816
+ export type GetAmenityByGroupAndSpaceResponse = GetAmenityByGroupAndSpaceResponses[keyof GetAmenityByGroupAndSpaceResponses];
817
+ export type DeletePropertyByPropertyIdGalleryPhotoData = {
818
+ body: PhotoIdsRequest;
819
+ path: {
820
+ propertyId: string;
821
+ };
822
+ query?: never;
823
+ url: '/property/{propertyId}/gallery/photo';
824
+ };
825
+ export type DeletePropertyByPropertyIdGalleryPhotoResponses = {
826
+ /**
827
+ * No Content
828
+ */
829
+ 204: void;
830
+ };
831
+ export type DeletePropertyByPropertyIdGalleryPhotoResponse = DeletePropertyByPropertyIdGalleryPhotoResponses[keyof DeletePropertyByPropertyIdGalleryPhotoResponses];
832
+ //# sourceMappingURL=types.gen.d.ts.map