@homespot-sdk/core 0.0.113 → 0.0.115

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 (49) hide show
  1. package/dist/registration/client.gen.js +1 -1
  2. package/dist/registration/client.gen.js.map +1 -1
  3. package/dist/registration/index.d.ts +2 -2
  4. package/dist/registration/index.d.ts.map +1 -1
  5. package/dist/registration/index.js +1 -1
  6. package/dist/registration/index.js.map +1 -1
  7. package/dist/registration/schemas.gen.d.ts +215 -1044
  8. package/dist/registration/schemas.gen.d.ts.map +1 -1
  9. package/dist/registration/schemas.gen.js +247 -1113
  10. package/dist/registration/schemas.gen.js.map +1 -1
  11. package/dist/registration/sdk.gen.d.ts +19 -51
  12. package/dist/registration/sdk.gen.d.ts.map +1 -1
  13. package/dist/registration/sdk.gen.js +38 -275
  14. package/dist/registration/sdk.gen.js.map +1 -1
  15. package/dist/registration/transformers.gen.d.ts +2 -3
  16. package/dist/registration/transformers.gen.d.ts.map +1 -1
  17. package/dist/registration/transformers.gen.js +4 -28
  18. package/dist/registration/transformers.gen.js.map +1 -1
  19. package/dist/registration/types.gen.d.ts +232 -1023
  20. package/dist/registration/types.gen.d.ts.map +1 -1
  21. package/dist/registration/zod.gen.d.ts +655 -2825
  22. package/dist/registration/zod.gen.d.ts.map +1 -1
  23. package/dist/registration/zod.gen.js +194 -1274
  24. package/dist/registration/zod.gen.js.map +1 -1
  25. package/dist/rem/client.gen.js +1 -1
  26. package/dist/rem/client.gen.js.map +1 -1
  27. package/dist/rem/index.d.ts +2 -2
  28. package/dist/rem/index.d.ts.map +1 -1
  29. package/dist/rem/index.js +1 -1
  30. package/dist/rem/index.js.map +1 -1
  31. package/dist/rem/schemas.gen.d.ts +1045 -216
  32. package/dist/rem/schemas.gen.d.ts.map +1 -1
  33. package/dist/rem/schemas.gen.js +1111 -245
  34. package/dist/rem/schemas.gen.js.map +1 -1
  35. package/dist/rem/sdk.gen.d.ts +51 -19
  36. package/dist/rem/sdk.gen.d.ts.map +1 -1
  37. package/dist/rem/sdk.gen.js +275 -38
  38. package/dist/rem/sdk.gen.js.map +1 -1
  39. package/dist/rem/transformers.gen.d.ts +3 -2
  40. package/dist/rem/transformers.gen.d.ts.map +1 -1
  41. package/dist/rem/transformers.gen.js +28 -4
  42. package/dist/rem/transformers.gen.js.map +1 -1
  43. package/dist/rem/types.gen.d.ts +1023 -232
  44. package/dist/rem/types.gen.d.ts.map +1 -1
  45. package/dist/rem/zod.gen.d.ts +2823 -653
  46. package/dist/rem/zod.gen.d.ts.map +1 -1
  47. package/dist/rem/zod.gen.js +1274 -194
  48. package/dist/rem/zod.gen.js.map +1 -1
  49. package/package.json +1 -1
@@ -1,145 +1,27 @@
1
1
  export type ClientOptions = {
2
- baseUrl: 'https://gateway.dev.homespot.ge/rem' | (string & {});
2
+ baseUrl: 'https://gateway.dev.homespot.ge/registration' | (string & {});
3
3
  };
4
- export type RolesRequest = {
5
- name: string;
6
- description: string;
7
- permissions: Array<ItemsEnum>;
8
- };
9
- export type AssignRoleRequest = {
10
- roleId: number;
11
- };
12
- export type BatchAssignRoleRequest = {
13
- roleId: number;
14
- memberIds: Array<string>;
15
- };
16
- export type ChangeStatusRequest = {
17
- status: SchemaEnum;
18
- };
19
- export type SourceRequest = {
20
- sourceUrl?: string;
21
- };
22
- export type UpdateNoteRequest = {
23
- note?: string;
24
- };
25
- export type LeadIntentRequest = {
26
- clientType: ClientTypeEnum;
27
- listingType: ListingTypeEnum;
28
- propertyType: PropertyTypeEnum;
29
- price?: PriceRangeRequest;
30
- targetLocation?: LocationRefRequest;
31
- area?: number;
32
- numberOfRooms?: number;
33
- };
34
- export type LocationRefRequest = {
35
- regionId?: number;
36
- districtId?: number;
37
- subDistrictId?: number;
38
- streetId?: number;
39
- };
40
- export type PriceRangeRequest = {
41
- min?: number;
42
- max?: number;
43
- };
44
- export type ContactInfoRequest = {
45
- firstName?: string;
46
- lastName?: string;
47
- gender?: GenderEnum;
48
- email?: string;
49
- phone: string;
50
- };
51
- export type AssignToMemberRequest = {
52
- memberId: string;
53
- };
54
- export type ClientRequirementRequest = {
55
- propertyType: Array<PropertyTypeEnum>;
56
- listingType: ListingTypeEnum;
57
- priceMin?: number;
58
- priceMax?: number;
59
- bedroomsMin?: number;
60
- bedroomsMax?: number;
61
- bathroomsMin?: number;
62
- bathroomsMax?: number;
63
- totalMin?: number;
64
- totalMax?: number;
65
- livingMin?: number;
66
- livingMax?: number;
67
- targetLocation?: LocationRefRequest;
68
- };
69
- export type UpdatePriorityRequest = {
70
- priority?: PriorityEnum;
71
- };
72
- export type UpdateContactMethodsRequest = {
73
- contactMethods: Array<ItemsEnum2>;
74
- favoriteContactMethod: ItemsEnum2;
75
- };
76
- export type AddressRequest = {
77
- country: string;
78
- city: string;
79
- district: string;
80
- subdistrict: string;
81
- street: string;
82
- };
83
- export type CreateAgencyRequest = {
84
- name: string;
85
- email: string;
86
- seats: number;
87
- subDomain: string;
88
- phone: string;
89
- address: AddressRequest;
90
- yearSince: number;
91
- };
92
- export type SocialMediaRequest = {
4
+ export type SpaceRequest = {
93
5
  type: TypeEnum;
94
- url?: string;
95
- };
96
- export type SocialMediasRequest = {
97
- data: Array<SocialMediaRequest>;
98
- };
99
- export type TransferFundsRequest = {
100
- transferTo: string;
101
- amount: number;
6
+ area: number;
102
7
  };
103
- export type DepositFundsRequest = {
104
- amount: number;
8
+ export type SpacesRequest = {
9
+ spaces: Array<SpaceRequest>;
105
10
  };
106
- export type IdResponseInteger = {
107
- id: number;
108
- };
109
- export type CreateLeadRequest = {
110
- contactInfo: ContactInfoRequest;
111
- note?: string;
112
- sourceUrl?: string;
113
- };
114
- export type IdResponseLong = {
115
- id: number;
116
- };
117
- export type InvitationDetailsRequest = {
118
- email: string;
119
- roleId: number;
120
- };
121
- export type InviteMemberRequest = {
122
- emails: Array<InvitationDetailsRequest>;
123
- };
124
- export type AuthRequest = {
125
- sub?: string;
126
- agencyId?: string;
127
- };
128
- export type AgencyPrincipalDto = {
129
- memberId?: string;
130
- permissions?: Array<ItemsEnum>;
131
- isActive?: boolean;
132
- isOwner?: boolean;
133
- };
134
- export type CreateClientRequest = {
135
- contactInfo: ContactInfoRequest;
136
- sourceUrl?: string;
137
- contactMethods: Array<ItemsEnum2>;
138
- favoriteContactMethod: ItemsEnum2;
139
- priority?: PriorityEnum;
140
- };
141
- export type IdResponseUuid = {
142
- id: string;
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
+ group: GroupEnum;
143
25
  };
144
26
  export type PhotoRequest = {
145
27
  photo: string;
@@ -147,6 +29,9 @@ export type PhotoRequest = {
147
29
  width: number;
148
30
  height?: number;
149
31
  };
32
+ export type PhotosRequest = {
33
+ photos: Array<PhotoRequest>;
34
+ };
150
35
  export type PresignedUrlResponse = {
151
36
  originalName: string;
152
37
  key: string;
@@ -155,1044 +40,368 @@ export type PresignedUrlResponse = {
155
40
  export type PresignedUrlsResponse = {
156
41
  data: Array<PresignedUrlResponse>;
157
42
  };
158
- export type UploadAcknowledgmentResponse = {
159
- success: Array<string>;
160
- fail: Array<string>;
161
- };
162
- export type OrganizationSummaryViewResponse = {
163
- agencyId: string;
164
- isOwner: boolean;
165
- agencyName: string;
166
- subDomain: string;
167
- roleId?: number;
168
- memberId: string;
169
- roleName: string;
170
- permissions: Array<ItemsEnum>;
171
- status: SchemaEnum2;
43
+ export type MeasurementRequest = {
44
+ totalArea: number;
45
+ livingArea?: number;
46
+ balconyArea?: number;
172
47
  };
173
- export type UserContextViewResponse = {
174
- user: UserSummaryViewResponse;
175
- organizations: Array<OrganizationSummaryViewResponse>;
176
- };
177
- export type UserSummaryViewResponse = {
178
- email: string;
179
- firstName: string;
180
- lastName: string;
48
+ export type TitleAndDescriptionRequest = {
49
+ title?: string;
50
+ description?: {
51
+ [key: string]: string;
52
+ };
181
53
  };
182
- export type PageMetadata = {
183
- size?: number;
184
- number?: number;
185
- totalElements?: number;
186
- totalPages?: number;
54
+ export type AmenitiesRequest = {
55
+ amenities?: Array<number>;
187
56
  };
188
- export type PagedModelRoleResponse = {
189
- content?: Array<RoleResponse>;
190
- page?: PageMetadata;
57
+ export type AddressRequest = {
58
+ placeId: string;
59
+ cadastralCode: string;
60
+ fullName: string;
61
+ lat: number;
62
+ lng: number;
63
+ country: string;
64
+ city: string;
65
+ street: string;
191
66
  };
192
- export type RoleResponse = {
193
- id: number;
194
- name: string;
195
- description: string;
196
- permissions: Array<ItemsEnum>;
67
+ export type PhotoReorderRequest = {
68
+ photos: Array<string>;
197
69
  };
198
- export type InvitationDetailsResponse = {
199
- invitationId: string;
200
- agencyId: string;
201
- email: string;
202
- status: StatusEnum;
203
- agencyName: string;
204
- agencyLogo?: string;
70
+ export type StartRegistrationRequest = {
71
+ draftType: DraftTypeEnum;
205
72
  };
206
- export type AgencySummaryResponse = {
207
- id: string;
208
- owner: string;
209
- name: string;
210
- email: string;
211
- seats: string;
212
- subDomain: string;
213
- phone: string;
214
- website?: string;
215
- yearSince: string;
216
- status: SchemaEnum2;
217
- logo?: string;
73
+ export type AgencyStartRegistrationRequest = {
74
+ draftType: DraftTypeEnum;
75
+ ownerId: string;
218
76
  };
219
- export type PagedModelAgencySummaryResponse = {
220
- content?: Array<AgencySummaryResponse>;
221
- page?: PageMetadata;
77
+ export type AddressResponse = {
78
+ placeId: string;
79
+ cadastralCode: string;
80
+ fullAddressName: string;
81
+ lat: number;
82
+ lng: number;
83
+ country: string;
84
+ city: string;
85
+ street: string;
222
86
  };
223
- export type GroupedPermissionsResponse = {
224
- group: GroupEnum;
225
- permissions: Array<PermissionResponse>;
87
+ export type LangTextResponse = {
88
+ language: LanguageEnum;
89
+ text: string;
226
90
  };
227
- export type PermissionResponse = {
228
- permission: ItemsEnum;
229
- implied: Array<ItemsEnum>;
91
+ export type MeasurementResponse = {
92
+ totalArea: number;
93
+ livingArea?: number;
94
+ balconyArea?: number;
230
95
  };
231
- export type MemberViewResponse = {
232
- userId: string;
233
- firstName: string;
234
- lastName: string;
235
- phone?: string;
236
- email: string;
237
- roleId: number;
238
- roleName: string;
239
- joinedAt: Date;
96
+ export type PhotosKeyUrlResponse = {
97
+ key?: string;
98
+ url?: string;
240
99
  };
241
- export type PagedModelMemberViewResponse = {
242
- content?: Array<MemberViewResponse>;
243
- page?: PageMetadata;
100
+ export type RegistrationDraftResponse = {
101
+ propertyId: string;
102
+ ownerId: string;
103
+ type: DraftTypeEnum;
104
+ title: string;
105
+ description: Array<LangTextResponse>;
106
+ measurements?: MeasurementResponse;
107
+ address?: AddressResponse;
108
+ spaces: Array<SpaceResponse>;
109
+ photos: Array<PhotosKeyUrlResponse>;
110
+ amenities: Array<number>;
111
+ pages: Array<string>;
112
+ total: number;
113
+ group: GroupEnum;
244
114
  };
245
- export type IntentResponse = {
246
- id: number;
247
- clientType: ClientTypeEnum;
248
- listingType: ListingTypeEnum;
249
- propertyType: PropertyTypeEnum;
250
- priceMin?: number;
251
- priceMax?: number;
252
- regionId?: number;
253
- districtId?: number;
254
- subDistrictId?: number;
255
- streetId?: number;
115
+ export type SpaceResponse = {
116
+ type?: TypeEnum;
256
117
  area?: number;
257
- numberOfRooms?: number;
258
- };
259
- export type LeadProjectionResponse = {
260
- id: number;
261
- createdBy: string;
262
- assignedTo?: string;
263
- status: SchemaEnum;
264
- contactFullName?: string;
265
- contactGender?: GenderEnum;
266
- contactPhoneNumber: string;
267
- contactEmail?: string;
268
- note?: string;
269
- sourceType?: SourceTypeEnum;
270
- sourceLink?: string;
271
- isSearching: boolean;
272
- isListing: boolean;
273
- intents?: Array<IntentResponse>;
274
- };
275
- export type PagedModelLeadProjectionResponse = {
276
- content?: Array<LeadProjectionResponse>;
277
- page?: PageMetadata;
278
118
  };
279
- export type InvitationViewResponse = {
280
- invitationId: string;
281
- email: string;
119
+ export type DraftCardResponse = {
120
+ id: string;
121
+ type: DraftTypeEnum;
122
+ title: string;
123
+ city?: string;
124
+ street?: string;
125
+ coverPhoto?: string;
126
+ uploadDate: Date;
127
+ };
128
+ export type DraftStatusResponse = {
282
129
  status: StatusEnum;
283
- createdAt: Date;
284
- expiresAt: Date;
285
- acceptedAt?: Date;
286
- acceptedBy?: string;
287
- };
288
- export type PagedModelInvitationViewResponse = {
289
- content?: Array<InvitationViewResponse>;
290
- page?: PageMetadata;
291
- };
292
- export type ClientProjectionResponse = {
293
- id: number;
294
- createdBy: string;
295
- leadId?: number;
296
- assignedTo?: string;
297
- contactFullName?: string;
298
- contactPhoneNumber: string;
299
- contactGender?: GenderEnum;
300
- contactEmail?: string;
301
- sourceType?: SourceTypeEnum;
302
- sourceLink?: string;
303
- isSearching: boolean;
304
- isListing: boolean;
305
- contactMethods: Array<ItemsEnum2>;
306
- favoriteContactMethod?: ItemsEnum2;
307
- priority?: PriorityEnum;
308
- requirements?: Array<RequirementResponse>;
309
- properties?: Array<PropertyResponse>;
310
- };
311
- export type PagedModelClientProjectionResponse = {
312
- content?: Array<ClientProjectionResponse>;
313
- page?: PageMetadata;
314
- };
315
- export type PropertyResponse = {
316
- propertyId: string;
317
- propertyType: PropertyTypeEnum;
318
- };
319
- export type RequirementResponse = {
320
- id: number;
321
- propertyType: Array<PropertyTypeEnum>;
322
- listingType: ListingTypeEnum;
323
- priceMin?: number;
324
- priceMax?: number;
325
- bedroomsMin?: number;
326
- bedroomsMax?: number;
327
- bathroomsMin?: number;
328
- bathroomsMax?: number;
329
- totalMin?: number;
330
- totalMax?: number;
331
- livingMin?: number;
332
- livingMax?: number;
333
- regionId?: number;
334
- districtId?: number;
335
- subDistrictId?: number;
336
- streetId?: number;
337
- };
338
- export type AddressViewResponse = {
339
- country: string;
340
- city: string;
341
- district: string;
342
- subdistrict: string;
343
- street: string;
344
- };
345
- export type AgencyProfileResponse = {
346
- name: string;
347
- email: string;
348
- seats: number;
349
- subDomain: string;
350
- phone: string;
351
- address: AddressViewResponse;
352
- yearSince: number;
353
130
  };
354
- export type SchemaEnum = 'NEW' | 'ATTEMPTED_CONTACT' | 'CONTACTED' | 'DISQUALIFIED' | 'CONVERTED' | 'LOST';
355
- export type SchemaEnum2 = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
356
- export type ItemsEnum = 'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'LEAD_READ' | 'LEAD_WRITE' | 'LEAD_READ_ALL' | 'LEAD_WRITE_ALL';
357
- export type ClientTypeEnum = 'LISTING' | 'SEEKING';
358
- export type ListingTypeEnum = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
359
- export type PropertyTypeEnum = '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';
360
- export type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN';
361
- export type PriorityEnum = 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
362
- export type ItemsEnum2 = 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
363
- export type TypeEnum = 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN';
131
+ export type TypeEnum = 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM';
132
+ /**
133
+ * property group being registered
134
+ */
135
+ export type GroupEnum = 'HOUSE_GROUP' | 'APARTMENT_GROUP' | 'HOSPITALITY_GROUP' | 'LAND_GROUP' | 'BUSINESS_GROUP' | 'STORAGE_GROUP';
364
136
  export type TypeEnum2 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
365
- export type StatusEnum = 'PENDING' | 'ACCEPTED' | 'CANCELLED' | 'EXPIRED';
366
- export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD';
367
- export type SourceTypeEnum = 'MY_HOME' | 'SS' | 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN' | 'UNKNOWN';
368
- export type RemoveRoleData = {
369
- body?: never;
370
- path: {
371
- roleId: number;
372
- };
373
- query?: never;
374
- url: '/roles/{roleId}';
375
- };
376
- export type RemoveRoleResponses = {
377
- /**
378
- * No Content
379
- */
380
- 204: void;
381
- };
382
- export type RemoveRoleResponse = RemoveRoleResponses[keyof RemoveRoleResponses];
383
- export type UpdateRoleData = {
384
- body: RolesRequest;
137
+ export type DraftTypeEnum = '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';
138
+ export type LanguageEnum = 'KA' | 'EN' | 'RU';
139
+ /**
140
+ * property draft status
141
+ */
142
+ export type StatusEnum = 'IN_REGISTRATION' | 'PROCESSING' | 'COMPLETED';
143
+ export type RegisterSpacesData = {
144
+ body: SpacesRequest;
385
145
  path: {
386
- roleId: number;
146
+ draftId: string;
387
147
  };
388
148
  query?: never;
389
- url: '/roles/{roleId}';
390
- };
391
- export type UpdateRoleResponses = {
392
- /**
393
- * No Content
394
- */
395
- 204: void;
396
- };
397
- export type UpdateRoleResponse = UpdateRoleResponses[keyof UpdateRoleResponses];
398
- export type AssignRoleData = {
399
- body: AssignRoleRequest;
400
- path: {
401
- memberId: string;
402
- };
403
- query?: never;
404
- url: '/member/{memberId}/role';
405
- };
406
- export type AssignRoleResponses = {
407
- /**
408
- * No Content
409
- */
410
- 204: void;
411
- };
412
- export type AssignRoleResponse = AssignRoleResponses[keyof AssignRoleResponses];
413
- export type AssignRoleBatchData = {
414
- body: BatchAssignRoleRequest;
415
- path?: never;
416
- query?: never;
417
- url: '/member/role';
149
+ url: '/registration/{draftId}/spaces';
418
150
  };
419
- export type AssignRoleBatchResponses = {
151
+ export type RegisterSpacesResponses = {
420
152
  /**
421
- * No Content
153
+ * OK
422
154
  */
423
- 204: void;
155
+ 200: RegistrationProgressDto;
424
156
  };
425
- export type AssignRoleBatchResponse = AssignRoleBatchResponses[keyof AssignRoleBatchResponses];
426
- export type ChangeStatusData = {
427
- body: ChangeStatusRequest;
157
+ export type RegisterSpacesResponse = RegisterSpacesResponses[keyof RegisterSpacesResponses];
158
+ export type RequestPresignedUrlsData = {
159
+ body: PhotosRequest;
428
160
  path: {
429
- leadId: number;
161
+ draftId: string;
430
162
  };
431
163
  query?: never;
432
- url: '/lead/{leadId}/status';
164
+ url: '/registration/{draftId}/presigned-urls';
433
165
  };
434
- export type ChangeStatusResponses = {
166
+ export type RequestPresignedUrlsResponses = {
435
167
  /**
436
- * No Content
168
+ * OK
437
169
  */
438
- 204: void;
170
+ 200: PresignedUrlsResponse;
439
171
  };
440
- export type ChangeStatusResponse = ChangeStatusResponses[keyof ChangeStatusResponses];
441
- export type UpdateSourceData = {
442
- body: SourceRequest;
172
+ export type RequestPresignedUrlsResponse = RequestPresignedUrlsResponses[keyof RequestPresignedUrlsResponses];
173
+ export type RegisterMeasurementsData = {
174
+ body: MeasurementRequest;
443
175
  path: {
444
- leadId: number;
176
+ draftId: string;
445
177
  };
446
178
  query?: never;
447
- url: '/lead/{leadId}/source';
179
+ url: '/registration/{draftId}/measurements';
448
180
  };
449
- export type UpdateSourceResponses = {
181
+ export type RegisterMeasurementsResponses = {
450
182
  /**
451
- * No Content
183
+ * OK
452
184
  */
453
- 204: void;
185
+ 200: RegistrationProgressDto;
454
186
  };
455
- export type UpdateSourceResponse = UpdateSourceResponses[keyof UpdateSourceResponses];
456
- export type UpdateNoteData = {
457
- body: UpdateNoteRequest;
187
+ export type RegisterMeasurementsResponse = RegisterMeasurementsResponses[keyof RegisterMeasurementsResponses];
188
+ export type RegisterDescriptionData = {
189
+ body: TitleAndDescriptionRequest;
458
190
  path: {
459
- leadId: number;
191
+ draftId: string;
460
192
  };
461
193
  query?: never;
462
- url: '/lead/{leadId}/note';
463
- };
464
- export type UpdateNoteResponses = {
465
- /**
466
- * No Content
467
- */
468
- 204: void;
469
- };
470
- export type UpdateNoteResponse = UpdateNoteResponses[keyof UpdateNoteResponses];
471
- export type RemoveIntentData = {
472
- body?: never;
473
- path: {
474
- leadId: number;
475
- };
476
- query: {
477
- intentId: number;
478
- };
479
- url: '/lead/{leadId}/intent';
194
+ url: '/registration/{draftId}/description';
480
195
  };
481
- export type RemoveIntentResponses = {
196
+ export type RegisterDescriptionResponses = {
482
197
  /**
483
- * No Content
198
+ * OK
484
199
  */
485
- 204: void;
200
+ 200: RegistrationProgressDto;
486
201
  };
487
- export type RemoveIntentResponse = RemoveIntentResponses[keyof RemoveIntentResponses];
488
- export type AddIntentData = {
489
- body: LeadIntentRequest;
202
+ export type RegisterDescriptionResponse = RegisterDescriptionResponses[keyof RegisterDescriptionResponses];
203
+ export type RegisterAmenitiesData = {
204
+ body: AmenitiesRequest;
490
205
  path: {
491
- leadId: number;
206
+ draftId: string;
492
207
  };
493
208
  query?: never;
494
- url: '/lead/{leadId}/intent';
495
- };
496
- export type AddIntentResponses = {
497
- /**
498
- * No Content
499
- */
500
- 204: void;
501
- };
502
- export type AddIntentResponse = AddIntentResponses[keyof AddIntentResponses];
503
- export type UpdateIntentData = {
504
- body: LeadIntentRequest;
505
- path: {
506
- leadId: number;
507
- };
508
- query: {
509
- intentId: number;
510
- };
511
- url: '/lead/{leadId}/intent';
209
+ url: '/registration/{draftId}/amenities';
512
210
  };
513
- export type UpdateIntentResponses = {
211
+ export type RegisterAmenitiesResponses = {
514
212
  /**
515
- * No Content
213
+ * OK
516
214
  */
517
- 204: void;
215
+ 200: RegistrationProgressDto;
518
216
  };
519
- export type UpdateIntentResponse = UpdateIntentResponses[keyof UpdateIntentResponses];
520
- export type UpdateContactInfoData = {
521
- body: ContactInfoRequest;
217
+ export type RegisterAmenitiesResponse = RegisterAmenitiesResponses[keyof RegisterAmenitiesResponses];
218
+ export type RegisterAddressData = {
219
+ body: AddressRequest;
522
220
  path: {
523
- leadId: number;
221
+ draftId: string;
524
222
  };
525
223
  query?: never;
526
- url: '/lead/{leadId}/contact-info';
224
+ url: '/registration/{draftId}/address';
527
225
  };
528
- export type UpdateContactInfoResponses = {
226
+ export type RegisterAddressResponses = {
529
227
  /**
530
- * No Content
228
+ * OK
531
229
  */
532
- 204: void;
230
+ 200: RegistrationProgressDto;
533
231
  };
534
- export type UpdateContactInfoResponse = UpdateContactInfoResponses[keyof UpdateContactInfoResponses];
535
- export type AssignToAgentData = {
536
- body: AssignToMemberRequest;
232
+ export type RegisterAddressResponse = RegisterAddressResponses[keyof RegisterAddressResponses];
233
+ export type ReorderPhotosData = {
234
+ body: PhotoReorderRequest;
537
235
  path: {
538
- leadId: number;
236
+ draftId: string;
539
237
  };
540
238
  query?: never;
541
- url: '/lead/{leadId}/assign';
239
+ url: '/draft/{draftId}/photos/reorder';
542
240
  };
543
- export type AssignToAgentResponses = {
241
+ export type ReorderPhotosResponses = {
544
242
  /**
545
243
  * No Content
546
244
  */
547
245
  204: void;
548
246
  };
549
- export type AssignToAgentResponse = AssignToAgentResponses[keyof AssignToAgentResponses];
550
- export type UpdateSource1Data = {
551
- body: SourceRequest;
552
- path: {
553
- clientId: number;
554
- };
247
+ export type ReorderPhotosResponse = ReorderPhotosResponses[keyof ReorderPhotosResponses];
248
+ export type StartRegistrationData = {
249
+ body: StartRegistrationRequest;
250
+ path?: never;
555
251
  query?: never;
556
- url: '/client/{clientId}/source';
252
+ url: '/registration';
557
253
  };
558
- export type UpdateSource1Responses = {
254
+ export type StartRegistrationResponses = {
559
255
  /**
560
- * No Content
256
+ * Created
561
257
  */
562
- 204: void;
258
+ 201: RegistrationProgressDto;
563
259
  };
564
- export type UpdateSource1Response = UpdateSource1Responses[keyof UpdateSource1Responses];
565
- export type RemoveClientRequirementData = {
260
+ export type StartRegistrationResponse = StartRegistrationResponses[keyof StartRegistrationResponses];
261
+ export type GetDraftData = {
566
262
  body?: never;
567
263
  path: {
568
- clientId: number;
569
- };
570
- query: {
571
- requirementId: number;
572
- };
573
- url: '/client/{clientId}/requirement';
574
- };
575
- export type RemoveClientRequirementResponses = {
576
- /**
577
- * No Content
578
- */
579
- 204: void;
580
- };
581
- export type RemoveClientRequirementResponse = RemoveClientRequirementResponses[keyof RemoveClientRequirementResponses];
582
- export type AddClientRequirementData = {
583
- body: ClientRequirementRequest;
584
- path: {
585
- clientId: number;
586
- };
587
- query?: never;
588
- url: '/client/{clientId}/requirement';
589
- };
590
- export type AddClientRequirementResponses = {
591
- /**
592
- * No Content
593
- */
594
- 204: void;
595
- };
596
- export type AddClientRequirementResponse = AddClientRequirementResponses[keyof AddClientRequirementResponses];
597
- export type UpdateClientRequirementData = {
598
- body: ClientRequirementRequest;
599
- path: {
600
- clientId: number;
601
- };
602
- query: {
603
- requirementId: number;
604
- };
605
- url: '/client/{clientId}/requirement';
606
- };
607
- export type UpdateClientRequirementResponses = {
608
- /**
609
- * No Content
610
- */
611
- 204: void;
612
- };
613
- export type UpdateClientRequirementResponse = UpdateClientRequirementResponses[keyof UpdateClientRequirementResponses];
614
- export type UpdatePriorityData = {
615
- body: UpdatePriorityRequest;
616
- path: {
617
- clientId: number;
618
- };
619
- query?: never;
620
- url: '/client/{clientId}/priority';
621
- };
622
- export type UpdatePriorityResponses = {
623
- /**
624
- * No Content
625
- */
626
- 204: void;
627
- };
628
- export type UpdatePriorityResponse = UpdatePriorityResponses[keyof UpdatePriorityResponses];
629
- export type UpdateContactMethodsData = {
630
- body: UpdateContactMethodsRequest;
631
- path: {
632
- clientId: number;
633
- };
634
- query?: never;
635
- url: '/client/{clientId}/contact-methods';
636
- };
637
- export type UpdateContactMethodsResponses = {
638
- /**
639
- * No Content
640
- */
641
- 204: void;
642
- };
643
- export type UpdateContactMethodsResponse = UpdateContactMethodsResponses[keyof UpdateContactMethodsResponses];
644
- export type UpdateContactInfo1Data = {
645
- body: ContactInfoRequest;
646
- path: {
647
- clientId: number;
648
- };
649
- query?: never;
650
- url: '/client/{clientId}/contact-info';
651
- };
652
- export type UpdateContactInfo1Responses = {
653
- /**
654
- * No Content
655
- */
656
- 204: void;
657
- };
658
- export type UpdateContactInfo1Response = UpdateContactInfo1Responses[keyof UpdateContactInfo1Responses];
659
- export type AssignToAgent1Data = {
660
- body: AssignToMemberRequest;
661
- path: {
662
- clientId: number;
663
- };
664
- query?: never;
665
- url: '/client/{clientId}/assign';
666
- };
667
- export type AssignToAgent1Responses = {
668
- /**
669
- * No Content
670
- */
671
- 204: void;
672
- };
673
- export type AssignToAgent1Response = AssignToAgent1Responses[keyof AssignToAgent1Responses];
674
- export type CorrectRegistrationDetailsData = {
675
- body: CreateAgencyRequest;
676
- path: {
677
- agencyId: string;
264
+ draftId: string;
678
265
  };
679
266
  query?: never;
680
- url: '/agency/{agencyId}/details';
267
+ url: '/registration/{draftId}';
681
268
  };
682
- export type CorrectRegistrationDetailsResponses = {
269
+ export type GetDraftResponses = {
683
270
  /**
684
- * No Content
271
+ * OK
685
272
  */
686
- 204: void;
273
+ 200: RegistrationDraftResponse;
687
274
  };
688
- export type CorrectRegistrationDetailsResponse = CorrectRegistrationDetailsResponses[keyof CorrectRegistrationDetailsResponses];
689
- export type ActivateAgencyData = {
690
- body?: never;
275
+ export type GetDraftResponse = GetDraftResponses[keyof GetDraftResponses];
276
+ export type RestartRegistrationData = {
277
+ body: StartRegistrationRequest;
691
278
  path: {
692
- agencyId: string;
693
- };
694
- query?: never;
695
- url: '/agency/{agencyId}/activate';
696
- };
697
- export type ActivateAgencyResponses = {
698
- /**
699
- * No Content
700
- */
701
- 204: void;
702
- };
703
- export type ActivateAgencyResponse = ActivateAgencyResponses[keyof ActivateAgencyResponses];
704
- export type UpdateSocialUrlsData = {
705
- body: SocialMediasRequest;
706
- path?: never;
707
- query?: never;
708
- url: '/agency/social-media';
709
- };
710
- export type UpdateSocialUrlsResponses = {
711
- /**
712
- * No Content
713
- */
714
- 204: void;
715
- };
716
- export type UpdateSocialUrlsResponse = UpdateSocialUrlsResponses[keyof UpdateSocialUrlsResponses];
717
- export type TransferFundsData = {
718
- body: TransferFundsRequest;
719
- path?: never;
720
- query?: never;
721
- url: '/wallet/transfer';
722
- };
723
- export type TransferFundsResponses = {
724
- /**
725
- * No Content
726
- */
727
- 204: void;
728
- };
729
- export type TransferFundsResponse = TransferFundsResponses[keyof TransferFundsResponses];
730
- export type DepositFundsData = {
731
- body: DepositFundsRequest;
732
- path?: never;
733
- query?: never;
734
- url: '/wallet/deposit';
735
- };
736
- export type DepositFundsResponses = {
737
- /**
738
- * No Content
739
- */
740
- 204: void;
741
- };
742
- export type DepositFundsResponse = DepositFundsResponses[keyof DepositFundsResponses];
743
- export type ListRolesData = {
744
- body?: never;
745
- path?: never;
746
- query?: {
747
- /**
748
- * Zero-based page index (0..N)
749
- */
750
- page?: number;
751
- /**
752
- * The size of the page to be returned
753
- */
754
- size?: number;
755
- /**
756
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
757
- */
758
- sort?: Array<string>;
279
+ draftId: string;
759
280
  };
760
- url: '/roles';
761
- };
762
- export type ListRolesResponses = {
763
- /**
764
- * OK
765
- */
766
- 200: PagedModelRoleResponse;
767
- };
768
- export type ListRolesResponse = ListRolesResponses[keyof ListRolesResponses];
769
- export type CreateRoleData = {
770
- body: RolesRequest;
771
- path?: never;
772
281
  query?: never;
773
- url: '/roles';
774
- };
775
- export type CreateRoleResponses = {
776
- /**
777
- * Created
778
- */
779
- 201: IdResponseInteger;
282
+ url: '/registration/{draftId}';
780
283
  };
781
- export type CreateRoleResponse = CreateRoleResponses[keyof CreateRoleResponses];
782
- export type SearchLeadsData = {
783
- body?: never;
784
- path?: never;
785
- query?: {
786
- status?: SchemaEnum;
787
- isSearching?: boolean;
788
- isListing?: boolean;
789
- /**
790
- * Zero-based page index (0..N)
791
- */
792
- page?: number;
793
- /**
794
- * The size of the page to be returned
795
- */
796
- size?: number;
797
- /**
798
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
799
- */
800
- sort?: Array<string>;
801
- };
802
- url: '/lead';
803
- };
804
- export type SearchLeadsResponses = {
284
+ export type RestartRegistrationResponses = {
805
285
  /**
806
286
  * OK
807
287
  */
808
- 200: PagedModelLeadProjectionResponse;
288
+ 200: RegistrationProgressDto;
809
289
  };
810
- export type SearchLeadsResponse = SearchLeadsResponses[keyof SearchLeadsResponses];
811
- export type CreateLeadData = {
812
- body: CreateLeadRequest;
813
- path?: never;
814
- query?: never;
815
- url: '/lead';
816
- };
817
- export type CreateLeadResponses = {
818
- /**
819
- * Created
820
- */
821
- 201: IdResponseLong;
822
- };
823
- export type CreateLeadResponse = CreateLeadResponses[keyof CreateLeadResponses];
824
- export type GetSentInvitationsData = {
290
+ export type RestartRegistrationResponse = RestartRegistrationResponses[keyof RestartRegistrationResponses];
291
+ export type CompleteRegistrationData = {
825
292
  body?: never;
826
- path?: never;
827
- query?: {
828
- /**
829
- * Zero-based page index (0..N)
830
- */
831
- page?: number;
832
- /**
833
- * The size of the page to be returned
834
- */
835
- size?: number;
836
- /**
837
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
838
- */
839
- sort?: Array<string>;
293
+ path: {
294
+ draftId: string;
840
295
  };
841
- url: '/invitation';
842
- };
843
- export type GetSentInvitationsResponses = {
844
- /**
845
- * OK
846
- */
847
- 200: PagedModelInvitationViewResponse;
848
- };
849
- export type GetSentInvitationsResponse = GetSentInvitationsResponses[keyof GetSentInvitationsResponses];
850
- export type SendInvitationData = {
851
- body: InviteMemberRequest;
852
- path?: never;
853
296
  query?: never;
854
- url: '/invitation';
297
+ url: '/registration/{draftId}/register';
855
298
  };
856
- export type SendInvitationResponses = {
299
+ export type CompleteRegistrationResponses = {
857
300
  /**
858
301
  * OK
859
302
  */
860
303
  200: unknown;
861
304
  };
862
- export type AcceptInvitationData = {
863
- body?: never;
305
+ export type NotifyPhotoUploadData = {
306
+ body: PhotosRequest;
864
307
  path: {
865
- invitationId: string;
866
- };
867
- query: {
868
- agencyId: string;
308
+ draftId: string;
869
309
  };
870
- url: '/invitation/{invitationId}';
871
- };
872
- export type AcceptInvitationResponses = {
873
- /**
874
- * OK
875
- */
876
- 200: unknown;
877
- };
878
- export type RequestPrincipleData = {
879
- body: AuthRequest;
880
- path?: never;
881
310
  query?: never;
882
- url: '/internal/principle';
883
- };
884
- export type RequestPrincipleResponses = {
885
- /**
886
- * OK
887
- */
888
- 200: AgencyPrincipalDto;
889
- };
890
- export type RequestPrincipleResponse = RequestPrincipleResponses[keyof RequestPrincipleResponses];
891
- export type SearchClientsData = {
892
- body?: never;
893
- path?: never;
894
- query?: {
895
- isSearching?: boolean;
896
- isListing?: boolean;
897
- /**
898
- * Zero-based page index (0..N)
899
- */
900
- page?: number;
901
- /**
902
- * The size of the page to be returned
903
- */
904
- size?: number;
905
- /**
906
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
907
- */
908
- sort?: Array<string>;
909
- };
910
- url: '/client';
311
+ url: '/registration/{draftId}/presigned-urls/notify';
911
312
  };
912
- export type SearchClientsResponses = {
313
+ export type NotifyPhotoUploadResponses = {
913
314
  /**
914
315
  * OK
915
316
  */
916
- 200: PagedModelClientProjectionResponse;
917
- };
918
- export type SearchClientsResponse = SearchClientsResponses[keyof SearchClientsResponses];
919
- export type CreateClientData = {
920
- body: CreateClientRequest;
921
- path?: never;
922
- query?: never;
923
- url: '/client';
924
- };
925
- export type CreateClientResponses = {
926
- /**
927
- * Created
928
- */
929
- 201: IdResponseLong;
317
+ 200: RegistrationProgressDto;
930
318
  };
931
- export type CreateClientResponse = CreateClientResponses[keyof CreateClientResponses];
932
- export type CreateAgencyData = {
933
- body: CreateAgencyRequest;
319
+ export type NotifyPhotoUploadResponse = NotifyPhotoUploadResponses[keyof NotifyPhotoUploadResponses];
320
+ export type StartRegistrationForAgencyData = {
321
+ body: AgencyStartRegistrationRequest;
934
322
  path?: never;
935
323
  query?: never;
936
- url: '/agency';
324
+ url: '/registration/agency';
937
325
  };
938
- export type CreateAgencyResponses = {
326
+ export type StartRegistrationForAgencyResponses = {
939
327
  /**
940
328
  * Created
941
329
  */
942
- 201: IdResponseUuid;
943
- };
944
- export type CreateAgencyResponse = CreateAgencyResponses[keyof CreateAgencyResponses];
945
- export type GeneratePresignedUrlData = {
946
- body: PhotoRequest;
947
- path?: never;
948
- query?: never;
949
- url: '/agency/presigned-urls';
950
- };
951
- export type GeneratePresignedUrlResponses = {
952
- /**
953
- * OK
954
- */
955
- 200: PresignedUrlsResponse;
330
+ 201: RegistrationProgressDto;
956
331
  };
957
- export type GeneratePresignedUrlResponse = GeneratePresignedUrlResponses[keyof GeneratePresignedUrlResponses];
958
- export type NotifyLogoUploadCompletionData = {
959
- body: PhotoRequest;
960
- path?: never;
961
- query?: never;
962
- url: '/agency/presigned-urls/notify/logo';
963
- };
964
- export type NotifyLogoUploadCompletionResponses = {
965
- /**
966
- * OK
967
- */
968
- 200: UploadAcknowledgmentResponse;
969
- };
970
- export type NotifyLogoUploadCompletionResponse = NotifyLogoUploadCompletionResponses[keyof NotifyLogoUploadCompletionResponses];
971
- export type NotifyCoverUploadCompletionData = {
972
- body: PhotoRequest;
973
- path?: never;
974
- query?: never;
975
- url: '/agency/presigned-urls/notify/cover';
976
- };
977
- export type NotifyCoverUploadCompletionResponses = {
978
- /**
979
- * OK
980
- */
981
- 200: UploadAcknowledgmentResponse;
982
- };
983
- export type NotifyCoverUploadCompletionResponse = NotifyCoverUploadCompletionResponses[keyof NotifyCoverUploadCompletionResponses];
984
- export type GetMeData = {
332
+ export type StartRegistrationForAgencyResponse = StartRegistrationForAgencyResponses[keyof StartRegistrationForAgencyResponses];
333
+ export type GetDraftsData = {
985
334
  body?: never;
986
335
  path?: never;
987
336
  query?: never;
988
- url: '/user/me';
989
- };
990
- export type GetMeResponses = {
991
- /**
992
- * OK
993
- */
994
- 200: UserContextViewResponse;
995
- };
996
- export type GetMeResponse = GetMeResponses[keyof GetMeResponses];
997
- export type GetInvitationDetailsData = {
998
- body?: never;
999
- path: {
1000
- invitationId: string;
1001
- };
1002
- query: {
1003
- agencyId: string;
1004
- };
1005
- url: '/public/invitation/{invitationId}';
1006
- };
1007
- export type GetInvitationDetailsResponses = {
1008
- /**
1009
- * OK
1010
- */
1011
- 200: InvitationDetailsResponse;
1012
- };
1013
- export type GetInvitationDetailsResponse = GetInvitationDetailsResponses[keyof GetInvitationDetailsResponses];
1014
- export type GetAllAgenciesData = {
1015
- body?: never;
1016
- path?: never;
1017
- query?: {
1018
- status?: SchemaEnum2;
1019
- /**
1020
- * Zero-based page index (0..N)
1021
- */
1022
- page?: number;
1023
- /**
1024
- * The size of the page to be returned
1025
- */
1026
- size?: number;
1027
- /**
1028
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
1029
- */
1030
- sort?: Array<string>;
1031
- };
1032
- url: '/public/agency';
337
+ url: '/draft';
1033
338
  };
1034
- export type GetAllAgenciesResponses = {
339
+ export type GetDraftsResponses = {
1035
340
  /**
1036
341
  * OK
1037
342
  */
1038
- 200: PagedModelAgencySummaryResponse;
343
+ 200: Array<DraftCardResponse>;
1039
344
  };
1040
- export type GetAllAgenciesResponse = GetAllAgenciesResponses[keyof GetAllAgenciesResponses];
1041
- export type GetAgencyBySubdomainData = {
345
+ export type GetDraftsResponse = GetDraftsResponses[keyof GetDraftsResponses];
346
+ export type GetDraftStatusData = {
1042
347
  body?: never;
1043
348
  path: {
1044
- subDomain: string;
349
+ draftId: string;
1045
350
  };
1046
351
  query?: never;
1047
- url: '/public/agency/subdomain/{subDomain}';
1048
- };
1049
- export type GetAgencyBySubdomainResponses = {
1050
- /**
1051
- * OK
1052
- */
1053
- 200: AgencySummaryResponse;
1054
- };
1055
- export type GetAgencyBySubdomainResponse = GetAgencyBySubdomainResponses[keyof GetAgencyBySubdomainResponses];
1056
- export type ListPermissionCatalogData = {
1057
- body?: never;
1058
- path?: never;
1059
- query?: never;
1060
- url: '/public/agency/roles/permissions';
1061
- };
1062
- export type ListPermissionCatalogResponses = {
1063
- /**
1064
- * OK
1065
- */
1066
- 200: Array<GroupedPermissionsResponse>;
352
+ url: '/draft/{draftId}/status';
1067
353
  };
1068
- export type ListPermissionCatalogResponse = ListPermissionCatalogResponses[keyof ListPermissionCatalogResponses];
1069
- export type GetAllMembersData = {
1070
- body?: never;
1071
- path?: never;
1072
- query?: {
1073
- roleId?: number;
1074
- /**
1075
- * Zero-based page index (0..N)
1076
- */
1077
- page?: number;
1078
- /**
1079
- * The size of the page to be returned
1080
- */
1081
- size?: number;
1082
- /**
1083
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
1084
- */
1085
- sort?: Array<string>;
1086
- };
1087
- url: '/member';
1088
- };
1089
- export type GetAllMembersResponses = {
354
+ export type GetDraftStatusResponses = {
1090
355
  /**
1091
356
  * OK
1092
357
  */
1093
- 200: PagedModelMemberViewResponse;
358
+ 200: DraftStatusResponse;
1094
359
  };
1095
- export type GetAllMembersResponse = GetAllMembersResponses[keyof GetAllMembersResponses];
1096
- export type GetLeadByIdData = {
360
+ export type GetDraftStatusResponse = GetDraftStatusResponses[keyof GetDraftStatusResponses];
361
+ export type DeleteDraftData = {
1097
362
  body?: never;
1098
363
  path: {
1099
- leadId: number;
364
+ draftId: string;
1100
365
  };
1101
366
  query?: never;
1102
- url: '/lead/{leadId}';
367
+ url: '/draft/{draftId}';
1103
368
  };
1104
- export type GetLeadByIdResponses = {
369
+ export type DeleteDraftResponses = {
1105
370
  /**
1106
- * OK
1107
- */
1108
- 200: LeadProjectionResponse;
1109
- };
1110
- export type GetLeadByIdResponse = GetLeadByIdResponses[keyof GetLeadByIdResponses];
1111
- export type SearchMyLeadsData = {
1112
- body?: never;
1113
- path?: never;
1114
- query?: {
1115
- status?: SchemaEnum;
1116
- isSearching?: boolean;
1117
- isListing?: boolean;
1118
- /**
1119
- * Zero-based page index (0..N)
1120
- */
1121
- page?: number;
1122
- /**
1123
- * The size of the page to be returned
1124
- */
1125
- size?: number;
1126
- /**
1127
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
1128
- */
1129
- sort?: Array<string>;
1130
- };
1131
- url: '/lead/my';
1132
- };
1133
- export type SearchMyLeadsResponses = {
1134
- /**
1135
- * OK
371
+ * No Content
1136
372
  */
1137
- 200: PagedModelLeadProjectionResponse;
373
+ 204: void;
1138
374
  };
1139
- export type SearchMyLeadsResponse = SearchMyLeadsResponses[keyof SearchMyLeadsResponses];
1140
- export type GetClientByIdData = {
375
+ export type DeleteDraftResponse = DeleteDraftResponses[keyof DeleteDraftResponses];
376
+ export type DeleteAllPhotosData = {
1141
377
  body?: never;
1142
378
  path: {
1143
- clientId: number;
379
+ draftId: string;
1144
380
  };
1145
381
  query?: never;
1146
- url: '/client/{clientId}';
382
+ url: '/draft/{draftId}/photos';
1147
383
  };
1148
- export type GetClientByIdResponses = {
384
+ export type DeleteAllPhotosResponses = {
1149
385
  /**
1150
- * OK
1151
- */
1152
- 200: ClientProjectionResponse;
1153
- };
1154
- export type GetClientByIdResponse = GetClientByIdResponses[keyof GetClientByIdResponses];
1155
- export type SearchMyClientsData = {
1156
- body?: never;
1157
- path?: never;
1158
- query?: {
1159
- isSearching?: boolean;
1160
- isListing?: boolean;
1161
- /**
1162
- * Zero-based page index (0..N)
1163
- */
1164
- page?: number;
1165
- /**
1166
- * The size of the page to be returned
1167
- */
1168
- size?: number;
1169
- /**
1170
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
1171
- */
1172
- sort?: Array<string>;
1173
- };
1174
- url: '/client/my';
1175
- };
1176
- export type SearchMyClientsResponses = {
1177
- /**
1178
- * OK
386
+ * No Content
1179
387
  */
1180
- 200: PagedModelClientProjectionResponse;
388
+ 204: void;
1181
389
  };
1182
- export type SearchMyClientsResponse = SearchMyClientsResponses[keyof SearchMyClientsResponses];
1183
- export type GetAgencyData = {
390
+ export type DeleteAllPhotosResponse = DeleteAllPhotosResponses[keyof DeleteAllPhotosResponses];
391
+ export type DeletePhotoData = {
1184
392
  body?: never;
1185
393
  path: {
1186
- agencyId: string;
394
+ draftId: string;
395
+ photoKey: string;
1187
396
  };
1188
397
  query?: never;
1189
- url: '/agency/{agencyId}';
398
+ url: '/draft/{draftId}/photos/{photoKey}';
1190
399
  };
1191
- export type GetAgencyResponses = {
400
+ export type DeletePhotoResponses = {
1192
401
  /**
1193
- * OK
402
+ * No Content
1194
403
  */
1195
- 200: AgencyProfileResponse;
404
+ 204: void;
1196
405
  };
1197
- export type GetAgencyResponse = GetAgencyResponses[keyof GetAgencyResponses];
406
+ export type DeletePhotoResponse = DeletePhotoResponses[keyof DeletePhotoResponses];
1198
407
  //# sourceMappingURL=types.gen.d.ts.map