@homespot-sdk/core 0.0.349 → 0.0.350
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 +83 -6
- 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
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: 'https://gateway.dev.homespot.ge/property' | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export type TextRequest = {
|
|
8
|
-
language: 'ka' | 'en' | 'ru';
|
|
9
|
-
text?: string;
|
|
10
|
-
};
|
|
11
|
-
export type AreaRequest = {
|
|
4
|
+
export type SpaceRequest = {
|
|
5
|
+
type: 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM';
|
|
12
6
|
area?: number;
|
|
13
7
|
};
|
|
14
|
-
export type
|
|
15
|
-
|
|
8
|
+
export type SpacesRequest = {
|
|
9
|
+
spaces: Array<SpaceRequest>;
|
|
16
10
|
};
|
|
17
|
-
export type
|
|
18
|
-
|
|
11
|
+
export type RegistrationProgressDto = {
|
|
12
|
+
/**
|
|
13
|
+
* id of the property being registered
|
|
14
|
+
*/
|
|
15
|
+
registrationId: string;
|
|
16
|
+
/**
|
|
17
|
+
* multiform pages
|
|
18
|
+
*/
|
|
19
|
+
pages: Array<string>;
|
|
20
|
+
/**
|
|
21
|
+
* total pages
|
|
22
|
+
*/
|
|
23
|
+
total: number;
|
|
24
|
+
/**
|
|
25
|
+
* property group being registered
|
|
26
|
+
*/
|
|
27
|
+
group: 'HOUSE_GROUP' | 'APARTMENT_GROUP' | 'HOSPITALITY_GROUP' | 'LAND_GROUP' | 'BUSINESS_GROUP' | 'STORAGE_GROUP';
|
|
19
28
|
};
|
|
20
29
|
export type PhotoRequest = {
|
|
21
30
|
photo: string;
|
|
@@ -34,9 +43,6 @@ export type PresignedUrlResponse = {
|
|
|
34
43
|
export type PresignedUrlsResponse = {
|
|
35
44
|
data: Array<PresignedUrlResponse>;
|
|
36
45
|
};
|
|
37
|
-
export type TitleRequest = {
|
|
38
|
-
title: string;
|
|
39
|
-
};
|
|
40
46
|
export type MeasurementRequest = {
|
|
41
47
|
totalArea: number;
|
|
42
48
|
livingArea?: number;
|
|
@@ -49,6 +55,17 @@ export type DetailsRequest = {
|
|
|
49
55
|
totalFloors?: number | null;
|
|
50
56
|
floorAt?: number | null;
|
|
51
57
|
};
|
|
58
|
+
export type TextRequest = {
|
|
59
|
+
language: 'ka' | 'en' | 'ru';
|
|
60
|
+
text?: string;
|
|
61
|
+
};
|
|
62
|
+
export type TitleAndDescriptionRequest = {
|
|
63
|
+
title?: string;
|
|
64
|
+
data: Array<TextRequest>;
|
|
65
|
+
};
|
|
66
|
+
export type AmenitiesRequest = {
|
|
67
|
+
amenities?: Array<number>;
|
|
68
|
+
};
|
|
52
69
|
export type AddressRefRequest = {
|
|
53
70
|
location: LocationTargetRequest;
|
|
54
71
|
cadastreCode?: string;
|
|
@@ -63,9 +80,33 @@ export type LocationTargetRequest = {
|
|
|
63
80
|
parentId?: number;
|
|
64
81
|
type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
65
82
|
};
|
|
66
|
-
export type
|
|
83
|
+
export type MultiLangTextRequest = {
|
|
84
|
+
data: Array<TextRequest>;
|
|
85
|
+
};
|
|
86
|
+
export type AreaRequest = {
|
|
87
|
+
area?: number;
|
|
88
|
+
};
|
|
89
|
+
export type PhotoIdsRequest = {
|
|
90
|
+
photoIds: Array<number>;
|
|
91
|
+
};
|
|
92
|
+
export type TitleRequest = {
|
|
93
|
+
title: string;
|
|
94
|
+
};
|
|
95
|
+
export type UpdateListingPriceRequest = {
|
|
67
96
|
price: number;
|
|
68
97
|
};
|
|
98
|
+
export type PhotoReorderRequest = {
|
|
99
|
+
photos: Array<string>;
|
|
100
|
+
};
|
|
101
|
+
export type StartRegistrationRequest = {
|
|
102
|
+
propertyType: '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';
|
|
103
|
+
};
|
|
104
|
+
export type AgencyStartRegistrationRequest = {
|
|
105
|
+
propertyId: string;
|
|
106
|
+
propertyType: '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';
|
|
107
|
+
clientId: number;
|
|
108
|
+
ownerId?: string;
|
|
109
|
+
};
|
|
69
110
|
export type AmenityValidationRequest = {
|
|
70
111
|
amenityIds?: Array<number>;
|
|
71
112
|
group?: 'HOUSE_GROUP' | 'APARTMENT_GROUP' | 'HOSPITALITY_GROUP' | 'LAND_GROUP' | 'BUSINESS_GROUP' | 'STORAGE_GROUP';
|
|
@@ -73,13 +114,6 @@ export type AmenityValidationRequest = {
|
|
|
73
114
|
export type AmenityValidationResponse = {
|
|
74
115
|
valid: Array<number>;
|
|
75
116
|
};
|
|
76
|
-
export type SpaceRequest = {
|
|
77
|
-
type: 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM';
|
|
78
|
-
area?: number;
|
|
79
|
-
};
|
|
80
|
-
export type SpacesRequest = {
|
|
81
|
-
spaces: Array<SpaceRequest>;
|
|
82
|
-
};
|
|
83
117
|
export type UploadAcknowledgmentResponse = {
|
|
84
118
|
success: Array<string>;
|
|
85
119
|
fail: Array<string>;
|
|
@@ -150,6 +184,7 @@ export type DirectCreateResponse = {
|
|
|
150
184
|
reason?: string;
|
|
151
185
|
};
|
|
152
186
|
export type CreateListingRequest = {
|
|
187
|
+
listingId?: string;
|
|
153
188
|
propertyId: string;
|
|
154
189
|
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
155
190
|
price: number;
|
|
@@ -157,10 +192,6 @@ export type CreateListingRequest = {
|
|
|
157
192
|
export type IdResponseUuid = {
|
|
158
193
|
id: string;
|
|
159
194
|
};
|
|
160
|
-
export type UserPropertyQuotaResponse = {
|
|
161
|
-
limit: number;
|
|
162
|
-
used: number;
|
|
163
|
-
};
|
|
164
195
|
export type AddressResponse = {
|
|
165
196
|
region: LocationResponse;
|
|
166
197
|
district: LocationResponse;
|
|
@@ -170,6 +201,57 @@ export type AddressResponse = {
|
|
|
170
201
|
lat: number;
|
|
171
202
|
lng: number;
|
|
172
203
|
};
|
|
204
|
+
export type DetailsResponse = {
|
|
205
|
+
status?: 'OLD_BUILDING' | 'NEW_BUILDING' | 'UNDER_CONSTRUCTION' | 'FINISHED';
|
|
206
|
+
condition?: 'NEWLY_RENOVATED' | 'OLD_RENOVATED' | 'CURRENT_RENOVATION' | 'REPAIRING' | 'WHITE_FRAME' | 'BLACK_FRAME' | 'GREEN_FRAME' | 'WHITE_PLUS';
|
|
207
|
+
totalFloors?: number;
|
|
208
|
+
floorAt?: number;
|
|
209
|
+
};
|
|
210
|
+
export type LangTextResponse = {
|
|
211
|
+
language: 'ka' | 'en' | 'ru';
|
|
212
|
+
text: string;
|
|
213
|
+
};
|
|
214
|
+
export type LocationResponse = {
|
|
215
|
+
id: number;
|
|
216
|
+
names: Array<LangTextResponse>;
|
|
217
|
+
};
|
|
218
|
+
export type MeasurementResponse = {
|
|
219
|
+
totalArea: number;
|
|
220
|
+
livingArea?: number;
|
|
221
|
+
balconyArea?: number;
|
|
222
|
+
};
|
|
223
|
+
export type PhotosKeyUrlResponse = {
|
|
224
|
+
key?: string;
|
|
225
|
+
url?: string;
|
|
226
|
+
};
|
|
227
|
+
export type RegistrationDraftResponse = {
|
|
228
|
+
propertyId?: string;
|
|
229
|
+
ownershipType?: 'DIRECT' | 'AGENCY_MANAGED' | 'CO_MANAGED';
|
|
230
|
+
userId?: string;
|
|
231
|
+
clientId?: number;
|
|
232
|
+
agencyId?: string;
|
|
233
|
+
memberId?: string;
|
|
234
|
+
type?: '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';
|
|
235
|
+
title?: string;
|
|
236
|
+
description?: Array<LangTextResponse>;
|
|
237
|
+
measurements?: MeasurementResponse;
|
|
238
|
+
details?: DetailsResponse;
|
|
239
|
+
address?: AddressResponse;
|
|
240
|
+
spaces?: Array<SpaceResponse>;
|
|
241
|
+
photos?: Array<PhotosKeyUrlResponse>;
|
|
242
|
+
amenities?: Array<number>;
|
|
243
|
+
pages?: Array<string>;
|
|
244
|
+
total?: number;
|
|
245
|
+
group?: 'HOUSE_GROUP' | 'APARTMENT_GROUP' | 'HOSPITALITY_GROUP' | 'LAND_GROUP' | 'BUSINESS_GROUP' | 'STORAGE_GROUP';
|
|
246
|
+
};
|
|
247
|
+
export type SpaceResponse = {
|
|
248
|
+
type?: 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM';
|
|
249
|
+
area?: number;
|
|
250
|
+
};
|
|
251
|
+
export type UserPropertyQuotaResponse = {
|
|
252
|
+
limit: number;
|
|
253
|
+
used: number;
|
|
254
|
+
};
|
|
173
255
|
export type AmenityViewResponse = {
|
|
174
256
|
id: number;
|
|
175
257
|
category: 'CLIMATE_CONTROL' | 'ENTERTAINMENT' | 'OUTDOOR' | 'KITCHEN_APPLIANCES' | 'BATHROOM_APPLIANCES' | 'UTILITIES' | 'BUILDING' | 'LOCATION_FEATURES' | 'PARKING' | 'SECURITY';
|
|
@@ -182,10 +264,6 @@ export type ByAgencyResponse = {
|
|
|
182
264
|
export type ByOwnerResponse = {
|
|
183
265
|
ownerId: string;
|
|
184
266
|
};
|
|
185
|
-
export type LangTextResponse = {
|
|
186
|
-
language: 'ka' | 'en' | 'ru';
|
|
187
|
-
text: string;
|
|
188
|
-
};
|
|
189
267
|
export type ListedByResponse = ByOwnerResponse | ByAgencyResponse;
|
|
190
268
|
export type ListingDetailResponse = {
|
|
191
269
|
listingId: string;
|
|
@@ -212,15 +290,6 @@ export type ListingPropertyDetail = {
|
|
|
212
290
|
spaces: Array<PropertySpaceViewResponse>;
|
|
213
291
|
photos: Array<PhotoResponse>;
|
|
214
292
|
};
|
|
215
|
-
export type LocationResponse = {
|
|
216
|
-
id: number;
|
|
217
|
-
names: Array<LangTextResponse>;
|
|
218
|
-
};
|
|
219
|
-
export type MeasurementResponse = {
|
|
220
|
-
totalArea: number;
|
|
221
|
-
livingArea?: number;
|
|
222
|
-
balconyArea?: number;
|
|
223
|
-
};
|
|
224
293
|
export type PhotoResponse = {
|
|
225
294
|
id: number;
|
|
226
295
|
key: string;
|
|
@@ -358,6 +427,111 @@ export type PropertyEditorViewResponse = {
|
|
|
358
427
|
title: string;
|
|
359
428
|
spaces: Array<PropertySpaceViewResponse>;
|
|
360
429
|
};
|
|
430
|
+
export type PutRegistrationByDraftIdSpacesData = {
|
|
431
|
+
body: SpacesRequest;
|
|
432
|
+
path: {
|
|
433
|
+
draftId: string;
|
|
434
|
+
};
|
|
435
|
+
query?: never;
|
|
436
|
+
url: '/registration/{draftId}/spaces';
|
|
437
|
+
};
|
|
438
|
+
export type PutRegistrationByDraftIdSpacesResponses = {
|
|
439
|
+
/**
|
|
440
|
+
* OK
|
|
441
|
+
*/
|
|
442
|
+
200: RegistrationProgressDto;
|
|
443
|
+
};
|
|
444
|
+
export type PutRegistrationByDraftIdSpacesResponse = PutRegistrationByDraftIdSpacesResponses[keyof PutRegistrationByDraftIdSpacesResponses];
|
|
445
|
+
export type PutRegistrationByDraftIdPresignedUrlsData = {
|
|
446
|
+
body: PhotosRequest;
|
|
447
|
+
path: {
|
|
448
|
+
draftId: string;
|
|
449
|
+
};
|
|
450
|
+
query?: never;
|
|
451
|
+
url: '/registration/{draftId}/presigned-urls';
|
|
452
|
+
};
|
|
453
|
+
export type PutRegistrationByDraftIdPresignedUrlsResponses = {
|
|
454
|
+
/**
|
|
455
|
+
* OK
|
|
456
|
+
*/
|
|
457
|
+
200: PresignedUrlsResponse;
|
|
458
|
+
};
|
|
459
|
+
export type PutRegistrationByDraftIdPresignedUrlsResponse = PutRegistrationByDraftIdPresignedUrlsResponses[keyof PutRegistrationByDraftIdPresignedUrlsResponses];
|
|
460
|
+
export type PutRegistrationByDraftIdMeasurementsData = {
|
|
461
|
+
body: MeasurementRequest;
|
|
462
|
+
path: {
|
|
463
|
+
draftId: string;
|
|
464
|
+
};
|
|
465
|
+
query?: never;
|
|
466
|
+
url: '/registration/{draftId}/measurements';
|
|
467
|
+
};
|
|
468
|
+
export type PutRegistrationByDraftIdMeasurementsResponses = {
|
|
469
|
+
/**
|
|
470
|
+
* OK
|
|
471
|
+
*/
|
|
472
|
+
200: RegistrationProgressDto;
|
|
473
|
+
};
|
|
474
|
+
export type PutRegistrationByDraftIdMeasurementsResponse = PutRegistrationByDraftIdMeasurementsResponses[keyof PutRegistrationByDraftIdMeasurementsResponses];
|
|
475
|
+
export type PutRegistrationByDraftIdDetailsData = {
|
|
476
|
+
body: DetailsRequest;
|
|
477
|
+
path: {
|
|
478
|
+
draftId: string;
|
|
479
|
+
};
|
|
480
|
+
query?: never;
|
|
481
|
+
url: '/registration/{draftId}/details';
|
|
482
|
+
};
|
|
483
|
+
export type PutRegistrationByDraftIdDetailsResponses = {
|
|
484
|
+
/**
|
|
485
|
+
* OK
|
|
486
|
+
*/
|
|
487
|
+
200: RegistrationProgressDto;
|
|
488
|
+
};
|
|
489
|
+
export type PutRegistrationByDraftIdDetailsResponse = PutRegistrationByDraftIdDetailsResponses[keyof PutRegistrationByDraftIdDetailsResponses];
|
|
490
|
+
export type PutRegistrationByDraftIdDescriptionData = {
|
|
491
|
+
body: TitleAndDescriptionRequest;
|
|
492
|
+
path: {
|
|
493
|
+
draftId: string;
|
|
494
|
+
};
|
|
495
|
+
query?: never;
|
|
496
|
+
url: '/registration/{draftId}/description';
|
|
497
|
+
};
|
|
498
|
+
export type PutRegistrationByDraftIdDescriptionResponses = {
|
|
499
|
+
/**
|
|
500
|
+
* OK
|
|
501
|
+
*/
|
|
502
|
+
200: RegistrationProgressDto;
|
|
503
|
+
};
|
|
504
|
+
export type PutRegistrationByDraftIdDescriptionResponse = PutRegistrationByDraftIdDescriptionResponses[keyof PutRegistrationByDraftIdDescriptionResponses];
|
|
505
|
+
export type PutRegistrationByDraftIdAmenitiesData = {
|
|
506
|
+
body: AmenitiesRequest;
|
|
507
|
+
path: {
|
|
508
|
+
draftId: string;
|
|
509
|
+
};
|
|
510
|
+
query?: never;
|
|
511
|
+
url: '/registration/{draftId}/amenities';
|
|
512
|
+
};
|
|
513
|
+
export type PutRegistrationByDraftIdAmenitiesResponses = {
|
|
514
|
+
/**
|
|
515
|
+
* OK
|
|
516
|
+
*/
|
|
517
|
+
200: RegistrationProgressDto;
|
|
518
|
+
};
|
|
519
|
+
export type PutRegistrationByDraftIdAmenitiesResponse = PutRegistrationByDraftIdAmenitiesResponses[keyof PutRegistrationByDraftIdAmenitiesResponses];
|
|
520
|
+
export type PutRegistrationByDraftIdAddressData = {
|
|
521
|
+
body: AddressRefRequest;
|
|
522
|
+
path: {
|
|
523
|
+
draftId: string;
|
|
524
|
+
};
|
|
525
|
+
query?: never;
|
|
526
|
+
url: '/registration/{draftId}/address';
|
|
527
|
+
};
|
|
528
|
+
export type PutRegistrationByDraftIdAddressResponses = {
|
|
529
|
+
/**
|
|
530
|
+
* OK
|
|
531
|
+
*/
|
|
532
|
+
200: RegistrationProgressDto;
|
|
533
|
+
};
|
|
534
|
+
export type PutRegistrationByDraftIdAddressResponse = PutRegistrationByDraftIdAddressResponses[keyof PutRegistrationByDraftIdAddressResponses];
|
|
361
535
|
export type PutPropertyByPropertyIdSpaceBySpaceIdDescriptionData = {
|
|
362
536
|
body: MultiLangTextRequest;
|
|
363
537
|
path: {
|
|
@@ -558,7 +732,7 @@ export type PutPropertyByIdAddressResponses = {
|
|
|
558
732
|
};
|
|
559
733
|
export type PutPropertyByIdAddressResponse = PutPropertyByIdAddressResponses[keyof PutPropertyByIdAddressResponses];
|
|
560
734
|
export type PutListingByIdPriceData = {
|
|
561
|
-
body:
|
|
735
|
+
body: UpdateListingPriceRequest;
|
|
562
736
|
path: {
|
|
563
737
|
id: string;
|
|
564
738
|
};
|
|
@@ -572,6 +746,106 @@ export type PutListingByIdPriceResponses = {
|
|
|
572
746
|
204: void;
|
|
573
747
|
};
|
|
574
748
|
export type PutListingByIdPriceResponse = PutListingByIdPriceResponses[keyof PutListingByIdPriceResponses];
|
|
749
|
+
export type PutDraftByDraftIdPhotosReorderData = {
|
|
750
|
+
body: PhotoReorderRequest;
|
|
751
|
+
path: {
|
|
752
|
+
draftId: string;
|
|
753
|
+
};
|
|
754
|
+
query?: never;
|
|
755
|
+
url: '/draft/{draftId}/photos/reorder';
|
|
756
|
+
};
|
|
757
|
+
export type PutDraftByDraftIdPhotosReorderResponses = {
|
|
758
|
+
/**
|
|
759
|
+
* No Content
|
|
760
|
+
*/
|
|
761
|
+
204: void;
|
|
762
|
+
};
|
|
763
|
+
export type PutDraftByDraftIdPhotosReorderResponse = PutDraftByDraftIdPhotosReorderResponses[keyof PutDraftByDraftIdPhotosReorderResponses];
|
|
764
|
+
export type PostRegistrationData = {
|
|
765
|
+
body: StartRegistrationRequest;
|
|
766
|
+
path?: never;
|
|
767
|
+
query?: never;
|
|
768
|
+
url: '/registration';
|
|
769
|
+
};
|
|
770
|
+
export type PostRegistrationResponses = {
|
|
771
|
+
/**
|
|
772
|
+
* Created
|
|
773
|
+
*/
|
|
774
|
+
201: RegistrationProgressDto;
|
|
775
|
+
};
|
|
776
|
+
export type PostRegistrationResponse = PostRegistrationResponses[keyof PostRegistrationResponses];
|
|
777
|
+
export type GetRegistrationByDraftIdData = {
|
|
778
|
+
body?: never;
|
|
779
|
+
path: {
|
|
780
|
+
draftId: string;
|
|
781
|
+
};
|
|
782
|
+
query?: never;
|
|
783
|
+
url: '/registration/{draftId}';
|
|
784
|
+
};
|
|
785
|
+
export type GetRegistrationByDraftIdResponses = {
|
|
786
|
+
/**
|
|
787
|
+
* OK
|
|
788
|
+
*/
|
|
789
|
+
200: RegistrationDraftResponse;
|
|
790
|
+
};
|
|
791
|
+
export type GetRegistrationByDraftIdResponse = GetRegistrationByDraftIdResponses[keyof GetRegistrationByDraftIdResponses];
|
|
792
|
+
export type PostRegistrationByDraftIdData = {
|
|
793
|
+
body: StartRegistrationRequest;
|
|
794
|
+
path: {
|
|
795
|
+
draftId: string;
|
|
796
|
+
};
|
|
797
|
+
query?: never;
|
|
798
|
+
url: '/registration/{draftId}';
|
|
799
|
+
};
|
|
800
|
+
export type PostRegistrationByDraftIdResponses = {
|
|
801
|
+
/**
|
|
802
|
+
* OK
|
|
803
|
+
*/
|
|
804
|
+
200: RegistrationProgressDto;
|
|
805
|
+
};
|
|
806
|
+
export type PostRegistrationByDraftIdResponse = PostRegistrationByDraftIdResponses[keyof PostRegistrationByDraftIdResponses];
|
|
807
|
+
export type PostRegistrationByDraftIdRegisterData = {
|
|
808
|
+
body?: never;
|
|
809
|
+
path: {
|
|
810
|
+
draftId: string;
|
|
811
|
+
};
|
|
812
|
+
query?: never;
|
|
813
|
+
url: '/registration/{draftId}/register';
|
|
814
|
+
};
|
|
815
|
+
export type PostRegistrationByDraftIdRegisterResponses = {
|
|
816
|
+
/**
|
|
817
|
+
* OK
|
|
818
|
+
*/
|
|
819
|
+
200: unknown;
|
|
820
|
+
};
|
|
821
|
+
export type PostRegistrationByDraftIdPresignedUrlsNotifyData = {
|
|
822
|
+
body: PhotosRequest;
|
|
823
|
+
path: {
|
|
824
|
+
draftId: string;
|
|
825
|
+
};
|
|
826
|
+
query?: never;
|
|
827
|
+
url: '/registration/{draftId}/presigned-urls/notify';
|
|
828
|
+
};
|
|
829
|
+
export type PostRegistrationByDraftIdPresignedUrlsNotifyResponses = {
|
|
830
|
+
/**
|
|
831
|
+
* OK
|
|
832
|
+
*/
|
|
833
|
+
200: RegistrationProgressDto;
|
|
834
|
+
};
|
|
835
|
+
export type PostRegistrationByDraftIdPresignedUrlsNotifyResponse = PostRegistrationByDraftIdPresignedUrlsNotifyResponses[keyof PostRegistrationByDraftIdPresignedUrlsNotifyResponses];
|
|
836
|
+
export type PostRegistrationAgencyData = {
|
|
837
|
+
body: AgencyStartRegistrationRequest;
|
|
838
|
+
path?: never;
|
|
839
|
+
query?: never;
|
|
840
|
+
url: '/registration/agency';
|
|
841
|
+
};
|
|
842
|
+
export type PostRegistrationAgencyResponses = {
|
|
843
|
+
/**
|
|
844
|
+
* Created
|
|
845
|
+
*/
|
|
846
|
+
201: RegistrationProgressDto;
|
|
847
|
+
};
|
|
848
|
+
export type PostRegistrationAgencyResponse = PostRegistrationAgencyResponses[keyof PostRegistrationAgencyResponses];
|
|
575
849
|
export type GetQuotaData = {
|
|
576
850
|
body?: never;
|
|
577
851
|
path?: never;
|
|
@@ -654,6 +928,36 @@ export type PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponses = {
|
|
|
654
928
|
200: UploadAcknowledgmentResponse;
|
|
655
929
|
};
|
|
656
930
|
export type PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponse = PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponses[keyof PostPropertyByPropertyIdGalleryPresignedUrlsNotifyResponses];
|
|
931
|
+
export type PostPropertyByIdReopenData = {
|
|
932
|
+
body?: never;
|
|
933
|
+
path: {
|
|
934
|
+
id: string;
|
|
935
|
+
};
|
|
936
|
+
query?: never;
|
|
937
|
+
url: '/property/{id}/reopen';
|
|
938
|
+
};
|
|
939
|
+
export type PostPropertyByIdReopenResponses = {
|
|
940
|
+
/**
|
|
941
|
+
* No Content
|
|
942
|
+
*/
|
|
943
|
+
204: void;
|
|
944
|
+
};
|
|
945
|
+
export type PostPropertyByIdReopenResponse = PostPropertyByIdReopenResponses[keyof PostPropertyByIdReopenResponses];
|
|
946
|
+
export type PostPropertyByIdArchiveData = {
|
|
947
|
+
body?: never;
|
|
948
|
+
path: {
|
|
949
|
+
id: string;
|
|
950
|
+
};
|
|
951
|
+
query?: never;
|
|
952
|
+
url: '/property/{id}/archive';
|
|
953
|
+
};
|
|
954
|
+
export type PostPropertyByIdArchiveResponses = {
|
|
955
|
+
/**
|
|
956
|
+
* No Content
|
|
957
|
+
*/
|
|
958
|
+
204: void;
|
|
959
|
+
};
|
|
960
|
+
export type PostPropertyByIdArchiveResponse = PostPropertyByIdArchiveResponses[keyof PostPropertyByIdArchiveResponses];
|
|
657
961
|
export type PostPropertyDirectData = {
|
|
658
962
|
body: PropertyCreationRequest;
|
|
659
963
|
path?: never;
|
|
@@ -770,18 +1074,21 @@ export type PostListingByIdExpireResponses = {
|
|
|
770
1074
|
204: void;
|
|
771
1075
|
};
|
|
772
1076
|
export type PostListingByIdExpireResponse = PostListingByIdExpireResponses[keyof PostListingByIdExpireResponses];
|
|
773
|
-
export type
|
|
774
|
-
body
|
|
775
|
-
path
|
|
1077
|
+
export type PostListingByIdCloseData = {
|
|
1078
|
+
body?: never;
|
|
1079
|
+
path: {
|
|
1080
|
+
id: string;
|
|
1081
|
+
};
|
|
776
1082
|
query?: never;
|
|
777
|
-
url: '/
|
|
1083
|
+
url: '/listing/{id}/close';
|
|
778
1084
|
};
|
|
779
|
-
export type
|
|
1085
|
+
export type PostListingByIdCloseResponses = {
|
|
780
1086
|
/**
|
|
781
|
-
*
|
|
1087
|
+
* No Content
|
|
782
1088
|
*/
|
|
783
|
-
|
|
1089
|
+
204: void;
|
|
784
1090
|
};
|
|
1091
|
+
export type PostListingByIdCloseResponse = PostListingByIdCloseResponses[keyof PostListingByIdCloseResponses];
|
|
785
1092
|
export type GetPublicListingByIdData = {
|
|
786
1093
|
body?: never;
|
|
787
1094
|
path: {
|
|
@@ -1030,4 +1337,65 @@ export type DeletePropertyByPropertyIdGalleryPhotoResponses = {
|
|
|
1030
1337
|
204: void;
|
|
1031
1338
|
};
|
|
1032
1339
|
export type DeletePropertyByPropertyIdGalleryPhotoResponse = DeletePropertyByPropertyIdGalleryPhotoResponses[keyof DeletePropertyByPropertyIdGalleryPhotoResponses];
|
|
1340
|
+
export type DeleteListingByIdData = {
|
|
1341
|
+
body?: never;
|
|
1342
|
+
path: {
|
|
1343
|
+
id: string;
|
|
1344
|
+
};
|
|
1345
|
+
query?: never;
|
|
1346
|
+
url: '/listing/{id}';
|
|
1347
|
+
};
|
|
1348
|
+
export type DeleteListingByIdResponses = {
|
|
1349
|
+
/**
|
|
1350
|
+
* No Content
|
|
1351
|
+
*/
|
|
1352
|
+
204: void;
|
|
1353
|
+
};
|
|
1354
|
+
export type DeleteListingByIdResponse = DeleteListingByIdResponses[keyof DeleteListingByIdResponses];
|
|
1355
|
+
export type DeleteDraftByDraftIdData = {
|
|
1356
|
+
body?: never;
|
|
1357
|
+
path: {
|
|
1358
|
+
draftId: string;
|
|
1359
|
+
};
|
|
1360
|
+
query?: never;
|
|
1361
|
+
url: '/draft/{draftId}';
|
|
1362
|
+
};
|
|
1363
|
+
export type DeleteDraftByDraftIdResponses = {
|
|
1364
|
+
/**
|
|
1365
|
+
* No Content
|
|
1366
|
+
*/
|
|
1367
|
+
204: void;
|
|
1368
|
+
};
|
|
1369
|
+
export type DeleteDraftByDraftIdResponse = DeleteDraftByDraftIdResponses[keyof DeleteDraftByDraftIdResponses];
|
|
1370
|
+
export type DeleteDraftByDraftIdPhotosData = {
|
|
1371
|
+
body?: never;
|
|
1372
|
+
path: {
|
|
1373
|
+
draftId: string;
|
|
1374
|
+
};
|
|
1375
|
+
query?: never;
|
|
1376
|
+
url: '/draft/{draftId}/photos';
|
|
1377
|
+
};
|
|
1378
|
+
export type DeleteDraftByDraftIdPhotosResponses = {
|
|
1379
|
+
/**
|
|
1380
|
+
* No Content
|
|
1381
|
+
*/
|
|
1382
|
+
204: void;
|
|
1383
|
+
};
|
|
1384
|
+
export type DeleteDraftByDraftIdPhotosResponse = DeleteDraftByDraftIdPhotosResponses[keyof DeleteDraftByDraftIdPhotosResponses];
|
|
1385
|
+
export type DeleteDraftByDraftIdPhotosByPhotoKeyData = {
|
|
1386
|
+
body?: never;
|
|
1387
|
+
path: {
|
|
1388
|
+
draftId: string;
|
|
1389
|
+
photoKey: string;
|
|
1390
|
+
};
|
|
1391
|
+
query?: never;
|
|
1392
|
+
url: '/draft/{draftId}/photos/{photoKey}';
|
|
1393
|
+
};
|
|
1394
|
+
export type DeleteDraftByDraftIdPhotosByPhotoKeyResponses = {
|
|
1395
|
+
/**
|
|
1396
|
+
* No Content
|
|
1397
|
+
*/
|
|
1398
|
+
204: void;
|
|
1399
|
+
};
|
|
1400
|
+
export type DeleteDraftByDraftIdPhotosByPhotoKeyResponse = DeleteDraftByDraftIdPhotosByPhotoKeyResponses[keyof DeleteDraftByDraftIdPhotosByPhotoKeyResponses];
|
|
1033
1401
|
//# sourceMappingURL=types.gen.d.ts.map
|