@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,506 +1,54 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- export const RolesRequestSchema = {
2
+ export const SpaceRequestSchema = {
3
3
  type: 'object',
4
4
  properties: {
5
- name: {
6
- type: 'string',
7
- minLength: 1,
8
- },
9
- description: {
10
- type: 'string',
11
- minLength: 1,
12
- },
13
- permissions: {
14
- type: 'array',
15
- items: {
16
- $ref: '#/components/schemas/ItemsEnum',
17
- },
18
- },
19
- },
20
- required: ['description', 'name', 'permissions'],
21
- };
22
- export const AssignRoleRequestSchema = {
23
- type: 'object',
24
- properties: {
25
- roleId: {
26
- type: 'integer',
27
- format: 'int32',
28
- },
29
- },
30
- required: ['roleId'],
31
- };
32
- export const BatchAssignRoleRequestSchema = {
33
- type: 'object',
34
- properties: {
35
- roleId: {
36
- type: 'integer',
37
- format: 'int32',
38
- },
39
- memberIds: {
40
- type: 'array',
41
- items: {
42
- type: 'string',
43
- format: 'uuid',
44
- },
45
- minItems: 1,
46
- },
47
- },
48
- required: ['memberIds', 'roleId'],
49
- };
50
- export const ChangeStatusRequestSchema = {
51
- type: 'object',
52
- properties: {
53
- status: {
54
- $ref: '#/components/schemas/SchemaEnum',
55
- },
56
- },
57
- required: ['status'],
58
- };
59
- export const SourceRequestSchema = {
60
- type: 'object',
61
- properties: {
62
- sourceUrl: {
63
- type: 'string',
64
- },
65
- },
66
- };
67
- export const UpdateNoteRequestSchema = {
68
- type: 'object',
69
- properties: {
70
- note: {
71
- type: 'string',
72
- },
73
- },
74
- };
75
- export const LeadIntentRequestSchema = {
76
- type: 'object',
77
- properties: {
78
- clientType: {
79
- $ref: '#/components/schemas/ClientTypeEnum',
80
- },
81
- listingType: {
82
- $ref: '#/components/schemas/ListingTypeEnum',
83
- },
84
- propertyType: {
85
- $ref: '#/components/schemas/PropertyTypeEnum',
86
- },
87
- price: {
88
- $ref: '#/components/schemas/PriceRangeRequest',
89
- },
90
- targetLocation: {
91
- $ref: '#/components/schemas/LocationRefRequest',
5
+ type: {
6
+ $ref: '#/components/schemas/TypeEnum',
92
7
  },
93
8
  area: {
94
9
  type: 'number',
95
10
  format: 'double',
96
11
  },
97
- numberOfRooms: {
98
- type: 'integer',
99
- format: 'int32',
100
- },
101
- },
102
- required: ['clientType', 'listingType', 'propertyType'],
103
- };
104
- export const LocationRefRequestSchema = {
105
- type: 'object',
106
- properties: {
107
- regionId: {
108
- type: 'integer',
109
- format: 'int64',
110
- },
111
- districtId: {
112
- type: 'integer',
113
- format: 'int64',
114
- },
115
- subDistrictId: {
116
- type: 'integer',
117
- format: 'int64',
118
- },
119
- streetId: {
120
- type: 'integer',
121
- format: 'int64',
122
- },
123
12
  },
13
+ required: ['area', 'type'],
124
14
  };
125
- export const PriceRangeRequestSchema = {
15
+ export const SpacesRequestSchema = {
126
16
  type: 'object',
127
17
  properties: {
128
- min: {
129
- type: 'number',
130
- },
131
- max: {
132
- type: 'number',
133
- },
134
- },
135
- };
136
- export const ContactInfoRequestSchema = {
137
- type: 'object',
138
- properties: {
139
- firstName: {
140
- type: 'string',
141
- },
142
- lastName: {
143
- type: 'string',
144
- },
145
- gender: {
146
- $ref: '#/components/schemas/GenderEnum',
147
- },
148
- email: {
149
- type: 'string',
150
- format: 'email',
151
- },
152
- phone: {
153
- type: 'string',
154
- minLength: 1,
155
- },
156
- },
157
- required: ['phone'],
158
- };
159
- export const AssignToMemberRequestSchema = {
160
- type: 'object',
161
- properties: {
162
- memberId: {
163
- type: 'string',
164
- format: 'uuid',
165
- },
166
- },
167
- required: ['memberId'],
168
- };
169
- export const ClientRequirementRequestSchema = {
170
- type: 'object',
171
- properties: {
172
- propertyType: {
18
+ spaces: {
173
19
  type: 'array',
174
20
  items: {
175
- $ref: '#/components/schemas/PropertyTypeEnum',
21
+ $ref: '#/components/schemas/SpaceRequest',
176
22
  },
177
- uniqueItems: true,
178
- },
179
- listingType: {
180
- $ref: '#/components/schemas/ListingTypeEnum',
181
- },
182
- priceMin: {
183
- type: 'number',
184
- },
185
- priceMax: {
186
- type: 'number',
187
- },
188
- bedroomsMin: {
189
- type: 'integer',
190
- format: 'int32',
191
- },
192
- bedroomsMax: {
193
- type: 'integer',
194
- format: 'int32',
195
- },
196
- bathroomsMin: {
197
- type: 'integer',
198
- format: 'int32',
199
- },
200
- bathroomsMax: {
201
- type: 'integer',
202
- format: 'int32',
203
- },
204
- totalMin: {
205
- type: 'number',
206
- format: 'double',
207
- },
208
- totalMax: {
209
- type: 'number',
210
- format: 'double',
211
- },
212
- livingMin: {
213
- type: 'number',
214
- format: 'double',
215
- },
216
- livingMax: {
217
- type: 'number',
218
- format: 'double',
219
- },
220
- targetLocation: {
221
- $ref: '#/components/schemas/LocationRefRequest',
222
23
  },
223
24
  },
224
- required: ['listingType', 'propertyType'],
25
+ required: ['spaces'],
225
26
  };
226
- export const UpdatePriorityRequestSchema = {
27
+ export const RegistrationProgressDtoSchema = {
227
28
  type: 'object',
228
29
  properties: {
229
- priority: {
230
- $ref: '#/components/schemas/PriorityEnum',
231
- },
232
- },
233
- };
234
- export const UpdateContactMethodsRequestSchema = {
235
- type: 'object',
236
- properties: {
237
- contactMethods: {
238
- type: 'array',
239
- items: {
240
- $ref: '#/components/schemas/ItemsEnum2',
241
- },
242
- uniqueItems: true,
243
- },
244
- favoriteContactMethod: {
245
- $ref: '#/components/schemas/ItemsEnum2',
246
- },
247
- },
248
- required: ['contactMethods', 'favoriteContactMethod'],
249
- };
250
- export const AddressRequestSchema = {
251
- type: 'object',
252
- properties: {
253
- country: {
254
- type: 'string',
255
- maxLength: 100,
256
- minLength: 0,
257
- },
258
- city: {
259
- type: 'string',
260
- maxLength: 100,
261
- minLength: 0,
262
- },
263
- district: {
264
- type: 'string',
265
- maxLength: 100,
266
- minLength: 0,
267
- },
268
- subdistrict: {
269
- type: 'string',
270
- maxLength: 100,
271
- minLength: 0,
272
- },
273
- street: {
274
- type: 'string',
275
- maxLength: 255,
276
- minLength: 0,
277
- },
278
- },
279
- required: ['city', 'country', 'district', 'street', 'subdistrict'],
280
- };
281
- export const CreateAgencyRequestSchema = {
282
- type: 'object',
283
- properties: {
284
- name: {
285
- type: 'string',
286
- minLength: 1,
287
- },
288
- email: {
289
- type: 'string',
290
- format: 'email',
291
- minLength: 1,
292
- },
293
- seats: {
294
- type: 'integer',
295
- format: 'int32',
296
- },
297
- subDomain: {
298
- type: 'string',
299
- minLength: 1,
300
- },
301
- phone: {
302
- type: 'string',
303
- minLength: 1,
304
- },
305
- address: {
306
- $ref: '#/components/schemas/AddressRequest',
307
- },
308
- yearSince: {
309
- type: 'integer',
310
- format: 'int32',
311
- },
312
- },
313
- required: [
314
- 'address',
315
- 'email',
316
- 'name',
317
- 'phone',
318
- 'seats',
319
- 'subDomain',
320
- 'yearSince',
321
- ],
322
- };
323
- export const SocialMediaRequestSchema = {
324
- type: 'object',
325
- properties: {
326
- type: {
327
- $ref: '#/components/schemas/TypeEnum',
328
- },
329
- url: {
30
+ registrationId: {
330
31
  type: 'string',
32
+ format: 'uuid',
33
+ description: 'id of the property being registered',
331
34
  },
332
- },
333
- required: ['type'],
334
- };
335
- export const SocialMediasRequestSchema = {
336
- type: 'object',
337
- properties: {
338
- data: {
35
+ pages: {
339
36
  type: 'array',
37
+ description: 'multiform pages',
340
38
  items: {
341
- $ref: '#/components/schemas/SocialMediaRequest',
39
+ type: 'string',
342
40
  },
343
- maxItems: 5,
344
- minItems: 1,
345
- },
346
- },
347
- required: ['data'],
348
- };
349
- export const TransferFundsRequestSchema = {
350
- type: 'object',
351
- properties: {
352
- transferTo: {
353
- type: 'string',
354
- format: 'uuid',
355
- },
356
- amount: {
357
- type: 'number',
358
- },
359
- },
360
- required: ['amount', 'transferTo'],
361
- };
362
- export const DepositFundsRequestSchema = {
363
- type: 'object',
364
- properties: {
365
- amount: {
366
- type: 'number',
367
41
  },
368
- },
369
- required: ['amount'],
370
- };
371
- export const IdResponseIntegerSchema = {
372
- type: 'object',
373
- properties: {
374
- id: {
42
+ total: {
375
43
  type: 'integer',
376
44
  format: 'int32',
45
+ description: 'total pages',
377
46
  },
378
- },
379
- required: ['id'],
380
- };
381
- export const CreateLeadRequestSchema = {
382
- type: 'object',
383
- properties: {
384
- contactInfo: {
385
- $ref: '#/components/schemas/ContactInfoRequest',
386
- },
387
- note: {
388
- type: 'string',
389
- maxLength: 500,
390
- minLength: 0,
391
- },
392
- sourceUrl: {
393
- type: 'string',
394
- },
395
- },
396
- required: ['contactInfo'],
397
- };
398
- export const IdResponseLongSchema = {
399
- type: 'object',
400
- properties: {
401
- id: {
402
- type: 'integer',
403
- format: 'int64',
404
- },
405
- },
406
- required: ['id'],
407
- };
408
- export const InvitationDetailsRequestSchema = {
409
- type: 'object',
410
- properties: {
411
- email: {
412
- type: 'string',
413
- format: 'email',
414
- },
415
- roleId: {
416
- type: 'integer',
417
- format: 'int32',
418
- },
419
- },
420
- required: ['email', 'roleId'],
421
- };
422
- export const InviteMemberRequestSchema = {
423
- type: 'object',
424
- properties: {
425
- emails: {
426
- type: 'array',
427
- items: {
428
- $ref: '#/components/schemas/InvitationDetailsRequest',
429
- },
430
- minItems: 1,
431
- },
432
- },
433
- required: ['emails'],
434
- };
435
- export const AuthRequestSchema = {
436
- type: 'object',
437
- properties: {
438
- sub: {
439
- type: 'string',
440
- },
441
- agencyId: {
442
- type: 'string',
443
- format: 'uuid',
444
- },
445
- },
446
- };
447
- export const AgencyPrincipalDtoSchema = {
448
- type: 'object',
449
- properties: {
450
- memberId: {
451
- type: 'string',
452
- format: 'uuid',
453
- },
454
- permissions: {
455
- type: 'array',
456
- items: {
457
- $ref: '#/components/schemas/ItemsEnum',
458
- },
459
- uniqueItems: true,
460
- },
461
- isActive: {
462
- type: 'boolean',
463
- },
464
- isOwner: {
465
- type: 'boolean',
466
- },
467
- },
468
- };
469
- export const CreateClientRequestSchema = {
470
- type: 'object',
471
- properties: {
472
- contactInfo: {
473
- $ref: '#/components/schemas/ContactInfoRequest',
474
- },
475
- sourceUrl: {
476
- type: 'string',
477
- },
478
- contactMethods: {
479
- type: 'array',
480
- items: {
481
- $ref: '#/components/schemas/ItemsEnum2',
482
- },
483
- minItems: 1,
484
- uniqueItems: true,
485
- },
486
- favoriteContactMethod: {
487
- $ref: '#/components/schemas/ItemsEnum2',
488
- },
489
- priority: {
490
- $ref: '#/components/schemas/PriorityEnum',
491
- },
492
- },
493
- required: ['contactInfo', 'contactMethods', 'favoriteContactMethod'],
494
- };
495
- export const IdResponseUUIDSchema = {
496
- type: 'object',
497
- properties: {
498
- id: {
499
- type: 'string',
500
- format: 'uuid',
47
+ group: {
48
+ $ref: '#/components/schemas/GroupEnum',
501
49
  },
502
50
  },
503
- required: ['id'],
51
+ required: ['group', 'pages', 'registrationId', 'total'],
504
52
  };
505
53
  export const PhotoRequestSchema = {
506
54
  type: 'object',
@@ -528,6 +76,20 @@ export const PhotoRequestSchema = {
528
76
  },
529
77
  required: ['photo', 'type', 'width'],
530
78
  };
79
+ export const PhotosRequestSchema = {
80
+ type: 'object',
81
+ properties: {
82
+ photos: {
83
+ type: 'array',
84
+ items: {
85
+ $ref: '#/components/schemas/PhotoRequest',
86
+ },
87
+ maxItems: 30,
88
+ minItems: 1,
89
+ },
90
+ },
91
+ required: ['photos'],
92
+ };
531
93
  export const PresignedUrlResponseSchema = {
532
94
  type: 'object',
533
95
  properties: {
@@ -555,778 +117,382 @@ export const PresignedUrlsResponseSchema = {
555
117
  },
556
118
  required: ['data'],
557
119
  };
558
- export const UploadAcknowledgmentResponseSchema = {
559
- type: 'object',
560
- properties: {
561
- success: {
562
- type: 'array',
563
- items: {
564
- type: 'string',
565
- },
566
- },
567
- fail: {
568
- type: 'array',
569
- items: {
570
- type: 'string',
571
- },
572
- },
573
- },
574
- required: ['fail', 'success'],
575
- };
576
- export const OrganizationSummaryViewResponseSchema = {
577
- type: 'object',
578
- properties: {
579
- agencyId: {
580
- type: 'string',
581
- format: 'uuid',
582
- },
583
- isOwner: {
584
- type: 'boolean',
585
- },
586
- agencyName: {
587
- type: 'string',
588
- },
589
- subDomain: {
590
- type: 'string',
591
- },
592
- roleId: {
593
- type: 'integer',
594
- format: 'int32',
595
- },
596
- memberId: {
597
- type: 'string',
598
- format: 'uuid',
599
- },
600
- roleName: {
601
- type: 'string',
602
- },
603
- permissions: {
604
- type: 'array',
605
- items: {
606
- $ref: '#/components/schemas/ItemsEnum',
607
- },
608
- },
609
- status: {
610
- $ref: '#/components/schemas/SchemaEnum2',
611
- },
612
- },
613
- required: [
614
- 'agencyId',
615
- 'agencyName',
616
- 'isOwner',
617
- 'memberId',
618
- 'permissions',
619
- 'roleName',
620
- 'status',
621
- 'subDomain',
622
- ],
623
- };
624
- export const UserContextViewResponseSchema = {
625
- type: 'object',
626
- properties: {
627
- user: {
628
- $ref: '#/components/schemas/UserSummaryViewResponse',
629
- },
630
- organizations: {
631
- type: 'array',
632
- items: {
633
- $ref: '#/components/schemas/OrganizationSummaryViewResponse',
634
- },
635
- },
636
- },
637
- required: ['organizations', 'user'],
638
- };
639
- export const UserSummaryViewResponseSchema = {
120
+ export const MeasurementRequestSchema = {
640
121
  type: 'object',
641
122
  properties: {
642
- email: {
643
- type: 'string',
644
- },
645
- firstName: {
646
- type: 'string',
647
- },
648
- lastName: {
649
- type: 'string',
650
- },
651
- },
652
- required: ['email', 'firstName', 'lastName'],
653
- };
654
- export const PageMetadataSchema = {
655
- type: 'object',
656
- properties: {
657
- size: {
658
- type: 'integer',
659
- format: 'int64',
660
- },
661
- number: {
662
- type: 'integer',
663
- format: 'int64',
664
- },
665
- totalElements: {
666
- type: 'integer',
667
- format: 'int64',
668
- },
669
- totalPages: {
670
- type: 'integer',
671
- format: 'int64',
672
- },
673
- },
674
- };
675
- export const PagedModelRoleResponseSchema = {
676
- type: 'object',
677
- properties: {
678
- content: {
679
- type: 'array',
680
- items: {
681
- $ref: '#/components/schemas/RoleResponse',
682
- },
683
- },
684
- page: {
685
- $ref: '#/components/schemas/PageMetadata',
686
- },
687
- },
688
- };
689
- export const RoleResponseSchema = {
690
- type: 'object',
691
- properties: {
692
- id: {
693
- type: 'integer',
694
- format: 'int32',
695
- },
696
- name: {
697
- type: 'string',
698
- },
699
- description: {
700
- type: 'string',
701
- },
702
- permissions: {
703
- type: 'array',
704
- items: {
705
- $ref: '#/components/schemas/ItemsEnum',
706
- },
707
- },
708
- },
709
- required: ['description', 'id', 'name', 'permissions'],
710
- };
711
- export const InvitationDetailsResponseSchema = {
712
- type: 'object',
713
- properties: {
714
- invitationId: {
715
- type: 'string',
716
- format: 'uuid',
717
- },
718
- agencyId: {
719
- type: 'string',
720
- format: 'uuid',
721
- },
722
- email: {
723
- type: 'string',
724
- },
725
- status: {
726
- $ref: '#/components/schemas/StatusEnum',
123
+ totalArea: {
124
+ type: 'number',
125
+ format: 'double',
126
+ minimum: 1,
727
127
  },
728
- agencyName: {
729
- type: 'string',
128
+ livingArea: {
129
+ type: 'number',
130
+ format: 'double',
730
131
  },
731
- agencyLogo: {
732
- type: 'string',
132
+ balconyArea: {
133
+ type: 'number',
134
+ format: 'double',
733
135
  },
734
136
  },
735
- required: ['agencyId', 'agencyName', 'email', 'invitationId', 'status'],
137
+ required: ['totalArea'],
736
138
  };
737
- export const AgencySummaryResponseSchema = {
139
+ export const TitleAndDescriptionRequestSchema = {
738
140
  type: 'object',
739
141
  properties: {
740
- id: {
741
- type: 'string',
742
- format: 'uuid',
743
- },
744
- owner: {
745
- type: 'string',
746
- },
747
- name: {
748
- type: 'string',
749
- },
750
- email: {
751
- type: 'string',
752
- },
753
- seats: {
754
- type: 'string',
755
- },
756
- subDomain: {
757
- type: 'string',
758
- },
759
- phone: {
760
- type: 'string',
761
- },
762
- website: {
763
- type: 'string',
764
- },
765
- yearSince: {
142
+ title: {
766
143
  type: 'string',
767
- },
768
- status: {
769
- $ref: '#/components/schemas/SchemaEnum2',
770
- },
771
- logo: {
772
- type: 'string',
773
- },
774
- },
775
- required: [
776
- 'email',
777
- 'id',
778
- 'name',
779
- 'owner',
780
- 'phone',
781
- 'seats',
782
- 'status',
783
- 'subDomain',
784
- 'yearSince',
785
- ],
786
- };
787
- export const PagedModelAgencySummaryResponseSchema = {
788
- type: 'object',
789
- properties: {
790
- content: {
791
- type: 'array',
792
- items: {
793
- $ref: '#/components/schemas/AgencySummaryResponse',
794
- },
795
- },
796
- page: {
797
- $ref: '#/components/schemas/PageMetadata',
798
- },
799
- },
800
- };
801
- export const GroupedPermissionsResponseSchema = {
802
- type: 'object',
803
- properties: {
804
- group: {
805
- $ref: '#/components/schemas/GroupEnum',
806
- },
807
- permissions: {
808
- type: 'array',
809
- items: {
810
- $ref: '#/components/schemas/PermissionResponse',
144
+ },
145
+ description: {
146
+ type: 'object',
147
+ additionalProperties: {
148
+ type: 'string',
811
149
  },
812
150
  },
813
151
  },
814
- required: ['group', 'permissions'],
815
152
  };
816
- export const PermissionResponseSchema = {
153
+ export const AmenitiesRequestSchema = {
817
154
  type: 'object',
818
155
  properties: {
819
- permission: {
820
- $ref: '#/components/schemas/ItemsEnum',
821
- },
822
- implied: {
156
+ amenities: {
823
157
  type: 'array',
824
158
  items: {
825
- $ref: '#/components/schemas/ItemsEnum',
159
+ type: 'integer',
160
+ format: 'int32',
826
161
  },
827
162
  },
828
163
  },
829
- required: ['implied', 'permission'],
830
164
  };
831
- export const MemberViewResponseSchema = {
165
+ export const AddressRequestSchema = {
832
166
  type: 'object',
833
167
  properties: {
834
- userId: {
168
+ placeId: {
835
169
  type: 'string',
170
+ maxLength: 255,
171
+ minLength: 0,
836
172
  },
837
- firstName: {
173
+ cadastralCode: {
838
174
  type: 'string',
175
+ maxLength: 255,
176
+ minLength: 0,
839
177
  },
840
- lastName: {
178
+ fullName: {
841
179
  type: 'string',
180
+ maxLength: 500,
181
+ minLength: 0,
842
182
  },
843
- phone: {
844
- type: 'string',
183
+ lat: {
184
+ type: 'number',
185
+ format: 'double',
186
+ maximum: 90,
187
+ minimum: -90,
845
188
  },
846
- email: {
847
- type: 'string',
189
+ lng: {
190
+ type: 'number',
191
+ format: 'double',
192
+ maximum: 180,
193
+ minimum: -180,
848
194
  },
849
- roleId: {
850
- type: 'integer',
851
- format: 'int32',
195
+ country: {
196
+ type: 'string',
197
+ maxLength: 100,
198
+ minLength: 0,
852
199
  },
853
- roleName: {
200
+ city: {
854
201
  type: 'string',
202
+ maxLength: 100,
203
+ minLength: 0,
855
204
  },
856
- joinedAt: {
205
+ street: {
857
206
  type: 'string',
858
- format: 'date-time',
207
+ maxLength: 255,
208
+ minLength: 0,
859
209
  },
860
210
  },
861
211
  required: [
862
- 'email',
863
- 'firstName',
864
- 'joinedAt',
865
- 'lastName',
866
- 'roleId',
867
- 'roleName',
868
- 'userId',
212
+ 'cadastralCode',
213
+ 'city',
214
+ 'country',
215
+ 'fullName',
216
+ 'lat',
217
+ 'lng',
218
+ 'placeId',
219
+ 'street',
869
220
  ],
870
221
  };
871
- export const PagedModelMemberViewResponseSchema = {
222
+ export const PhotoReorderRequestSchema = {
872
223
  type: 'object',
873
224
  properties: {
874
- content: {
225
+ photos: {
875
226
  type: 'array',
876
227
  items: {
877
- $ref: '#/components/schemas/MemberViewResponse',
228
+ type: 'string',
878
229
  },
879
- },
880
- page: {
881
- $ref: '#/components/schemas/PageMetadata',
230
+ minItems: 1,
882
231
  },
883
232
  },
233
+ required: ['photos'],
884
234
  };
885
- export const IntentResponseSchema = {
235
+ export const StartRegistrationRequestSchema = {
886
236
  type: 'object',
887
237
  properties: {
888
- id: {
889
- type: 'integer',
890
- format: 'int64',
891
- },
892
- clientType: {
893
- $ref: '#/components/schemas/ClientTypeEnum',
894
- },
895
- listingType: {
896
- $ref: '#/components/schemas/ListingTypeEnum',
897
- },
898
- propertyType: {
899
- $ref: '#/components/schemas/PropertyTypeEnum',
900
- },
901
- priceMin: {
902
- type: 'number',
903
- },
904
- priceMax: {
905
- type: 'number',
906
- },
907
- regionId: {
908
- type: 'integer',
909
- format: 'int64',
910
- },
911
- districtId: {
912
- type: 'integer',
913
- format: 'int64',
914
- },
915
- subDistrictId: {
916
- type: 'integer',
917
- format: 'int64',
918
- },
919
- streetId: {
920
- type: 'integer',
921
- format: 'int64',
922
- },
923
- area: {
924
- type: 'number',
925
- format: 'double',
926
- },
927
- numberOfRooms: {
928
- type: 'integer',
929
- format: 'int32',
238
+ draftType: {
239
+ $ref: '#/components/schemas/DraftTypeEnum',
930
240
  },
931
241
  },
932
- required: ['clientType', 'id', 'listingType', 'propertyType'],
242
+ required: ['draftType'],
933
243
  };
934
- export const LeadProjectionResponseSchema = {
244
+ export const AgencyStartRegistrationRequestSchema = {
935
245
  type: 'object',
936
246
  properties: {
937
- id: {
938
- type: 'integer',
939
- format: 'int64',
247
+ draftType: {
248
+ $ref: '#/components/schemas/DraftTypeEnum',
940
249
  },
941
- createdBy: {
250
+ ownerId: {
942
251
  type: 'string',
943
- format: 'uuid',
252
+ minLength: 1,
944
253
  },
945
- assignedTo: {
254
+ },
255
+ required: ['draftType', 'ownerId'],
256
+ };
257
+ export const AddressResponseSchema = {
258
+ type: 'object',
259
+ properties: {
260
+ placeId: {
946
261
  type: 'string',
947
- format: 'uuid',
948
262
  },
949
- status: {
950
- $ref: '#/components/schemas/SchemaEnum',
263
+ cadastralCode: {
264
+ type: 'string',
951
265
  },
952
- contactFullName: {
266
+ fullAddressName: {
953
267
  type: 'string',
954
268
  },
955
- contactGender: {
956
- $ref: '#/components/schemas/GenderEnum',
269
+ lat: {
270
+ type: 'number',
271
+ format: 'double',
957
272
  },
958
- contactPhoneNumber: {
959
- type: 'string',
273
+ lng: {
274
+ type: 'number',
275
+ format: 'double',
960
276
  },
961
- contactEmail: {
277
+ country: {
962
278
  type: 'string',
963
279
  },
964
- note: {
280
+ city: {
965
281
  type: 'string',
966
282
  },
967
- sourceType: {
968
- $ref: '#/components/schemas/SourceTypeEnum',
969
- },
970
- sourceLink: {
283
+ street: {
971
284
  type: 'string',
972
285
  },
973
- isSearching: {
974
- type: 'boolean',
975
- },
976
- isListing: {
977
- type: 'boolean',
978
- },
979
- intents: {
980
- type: 'array',
981
- items: {
982
- $ref: '#/components/schemas/IntentResponse',
983
- },
984
- },
985
286
  },
986
287
  required: [
987
- 'contactPhoneNumber',
988
- 'createdBy',
989
- 'id',
990
- 'isListing',
991
- 'isSearching',
992
- 'status',
288
+ 'cadastralCode',
289
+ 'city',
290
+ 'country',
291
+ 'fullAddressName',
292
+ 'lat',
293
+ 'lng',
294
+ 'placeId',
295
+ 'street',
993
296
  ],
994
297
  };
995
- export const PagedModelLeadProjectionResponseSchema = {
298
+ export const LangTextResponseSchema = {
996
299
  type: 'object',
997
300
  properties: {
998
- content: {
999
- type: 'array',
1000
- items: {
1001
- $ref: '#/components/schemas/LeadProjectionResponse',
1002
- },
301
+ language: {
302
+ $ref: '#/components/schemas/LanguageEnum',
1003
303
  },
1004
- page: {
1005
- $ref: '#/components/schemas/PageMetadata',
304
+ text: {
305
+ type: 'string',
1006
306
  },
1007
307
  },
308
+ required: ['language', 'text'],
1008
309
  };
1009
- export const InvitationViewResponseSchema = {
310
+ export const MeasurementResponseSchema = {
1010
311
  type: 'object',
1011
312
  properties: {
1012
- invitationId: {
1013
- type: 'string',
1014
- format: 'uuid',
1015
- },
1016
- email: {
1017
- type: 'string',
1018
- },
1019
- status: {
1020
- $ref: '#/components/schemas/StatusEnum',
1021
- },
1022
- createdAt: {
1023
- type: 'string',
1024
- format: 'date-time',
1025
- },
1026
- expiresAt: {
1027
- type: 'string',
1028
- format: 'date-time',
313
+ totalArea: {
314
+ type: 'number',
315
+ format: 'double',
1029
316
  },
1030
- acceptedAt: {
1031
- type: 'string',
1032
- format: 'date-time',
317
+ livingArea: {
318
+ type: 'number',
319
+ format: 'double',
1033
320
  },
1034
- acceptedBy: {
1035
- type: 'string',
321
+ balconyArea: {
322
+ type: 'number',
323
+ format: 'double',
1036
324
  },
1037
325
  },
1038
- required: ['createdAt', 'email', 'expiresAt', 'invitationId', 'status'],
326
+ required: ['totalArea'],
1039
327
  };
1040
- export const PagedModelInvitationViewResponseSchema = {
328
+ export const PhotosKeyUrlResponseSchema = {
1041
329
  type: 'object',
1042
330
  properties: {
1043
- content: {
1044
- type: 'array',
1045
- items: {
1046
- $ref: '#/components/schemas/InvitationViewResponse',
1047
- },
331
+ key: {
332
+ type: 'string',
1048
333
  },
1049
- page: {
1050
- $ref: '#/components/schemas/PageMetadata',
334
+ url: {
335
+ type: 'string',
1051
336
  },
1052
337
  },
1053
338
  };
1054
- export const ClientProjectionResponseSchema = {
339
+ export const RegistrationDraftResponseSchema = {
1055
340
  type: 'object',
1056
341
  properties: {
1057
- id: {
1058
- type: 'integer',
1059
- format: 'int64',
1060
- },
1061
- createdBy: {
1062
- type: 'string',
1063
- format: 'uuid',
1064
- },
1065
- leadId: {
1066
- type: 'integer',
1067
- format: 'int64',
1068
- },
1069
- assignedTo: {
342
+ propertyId: {
1070
343
  type: 'string',
1071
344
  format: 'uuid',
1072
345
  },
1073
- contactFullName: {
1074
- type: 'string',
1075
- },
1076
- contactPhoneNumber: {
1077
- type: 'string',
1078
- },
1079
- contactGender: {
1080
- $ref: '#/components/schemas/GenderEnum',
1081
- },
1082
- contactEmail: {
346
+ ownerId: {
1083
347
  type: 'string',
1084
348
  },
1085
- sourceType: {
1086
- $ref: '#/components/schemas/SourceTypeEnum',
349
+ type: {
350
+ $ref: '#/components/schemas/DraftTypeEnum',
1087
351
  },
1088
- sourceLink: {
352
+ title: {
1089
353
  type: 'string',
1090
354
  },
1091
- isSearching: {
1092
- type: 'boolean',
1093
- },
1094
- isListing: {
1095
- type: 'boolean',
1096
- },
1097
- contactMethods: {
355
+ description: {
1098
356
  type: 'array',
1099
357
  items: {
1100
- $ref: '#/components/schemas/ItemsEnum2',
358
+ $ref: '#/components/schemas/LangTextResponse',
1101
359
  },
1102
- uniqueItems: true,
1103
360
  },
1104
- favoriteContactMethod: {
1105
- $ref: '#/components/schemas/ItemsEnum2',
361
+ measurements: {
362
+ $ref: '#/components/schemas/MeasurementResponse',
1106
363
  },
1107
- priority: {
1108
- $ref: '#/components/schemas/PriorityEnum',
364
+ address: {
365
+ $ref: '#/components/schemas/AddressResponse',
1109
366
  },
1110
- requirements: {
367
+ spaces: {
1111
368
  type: 'array',
1112
369
  items: {
1113
- $ref: '#/components/schemas/RequirementResponse',
370
+ $ref: '#/components/schemas/SpaceResponse',
1114
371
  },
1115
372
  },
1116
- properties: {
373
+ photos: {
1117
374
  type: 'array',
1118
375
  items: {
1119
- $ref: '#/components/schemas/PropertyResponse',
376
+ $ref: '#/components/schemas/PhotosKeyUrlResponse',
1120
377
  },
1121
378
  },
1122
- },
1123
- required: [
1124
- 'contactMethods',
1125
- 'contactPhoneNumber',
1126
- 'createdBy',
1127
- 'id',
1128
- 'isListing',
1129
- 'isSearching',
1130
- ],
1131
- };
1132
- export const PagedModelClientProjectionResponseSchema = {
1133
- type: 'object',
1134
- properties: {
1135
- content: {
379
+ amenities: {
1136
380
  type: 'array',
1137
381
  items: {
1138
- $ref: '#/components/schemas/ClientProjectionResponse',
382
+ type: 'integer',
383
+ format: 'int32',
1139
384
  },
1140
385
  },
1141
- page: {
1142
- $ref: '#/components/schemas/PageMetadata',
1143
- },
1144
- },
1145
- };
1146
- export const PropertyResponseSchema = {
1147
- type: 'object',
1148
- properties: {
1149
- propertyId: {
1150
- type: 'string',
1151
- format: 'uuid',
1152
- },
1153
- propertyType: {
1154
- $ref: '#/components/schemas/PropertyTypeEnum',
1155
- },
1156
- },
1157
- required: ['propertyId', 'propertyType'],
1158
- };
1159
- export const RequirementResponseSchema = {
1160
- type: 'object',
1161
- properties: {
1162
- id: {
1163
- type: 'integer',
1164
- format: 'int64',
1165
- },
1166
- propertyType: {
386
+ pages: {
1167
387
  type: 'array',
1168
388
  items: {
1169
- $ref: '#/components/schemas/PropertyTypeEnum',
389
+ type: 'string',
1170
390
  },
1171
391
  },
1172
- listingType: {
1173
- $ref: '#/components/schemas/ListingTypeEnum',
1174
- },
1175
- priceMin: {
1176
- type: 'number',
1177
- },
1178
- priceMax: {
1179
- type: 'number',
1180
- },
1181
- bedroomsMin: {
1182
- type: 'integer',
1183
- format: 'int32',
1184
- },
1185
- bedroomsMax: {
1186
- type: 'integer',
1187
- format: 'int32',
1188
- },
1189
- bathroomsMin: {
1190
- type: 'integer',
1191
- format: 'int32',
1192
- },
1193
- bathroomsMax: {
392
+ total: {
1194
393
  type: 'integer',
1195
394
  format: 'int32',
1196
395
  },
1197
- totalMin: {
1198
- type: 'number',
1199
- format: 'double',
1200
- },
1201
- totalMax: {
1202
- type: 'number',
1203
- format: 'double',
396
+ group: {
397
+ $ref: '#/components/schemas/GroupEnum',
1204
398
  },
1205
- livingMin: {
1206
- type: 'number',
1207
- format: 'double',
399
+ },
400
+ required: [
401
+ 'amenities',
402
+ 'description',
403
+ 'group',
404
+ 'ownerId',
405
+ 'pages',
406
+ 'photos',
407
+ 'propertyId',
408
+ 'spaces',
409
+ 'title',
410
+ 'total',
411
+ 'type',
412
+ ],
413
+ };
414
+ export const SpaceResponseSchema = {
415
+ type: 'object',
416
+ properties: {
417
+ type: {
418
+ $ref: '#/components/schemas/TypeEnum',
1208
419
  },
1209
- livingMax: {
420
+ area: {
1210
421
  type: 'number',
1211
422
  format: 'double',
1212
423
  },
1213
- regionId: {
1214
- type: 'integer',
1215
- format: 'int64',
1216
- },
1217
- districtId: {
1218
- type: 'integer',
1219
- format: 'int64',
1220
- },
1221
- subDistrictId: {
1222
- type: 'integer',
1223
- format: 'int64',
1224
- },
1225
- streetId: {
1226
- type: 'integer',
1227
- format: 'int64',
1228
- },
1229
424
  },
1230
- required: ['id', 'listingType', 'propertyType'],
1231
425
  };
1232
- export const AddressViewResponseSchema = {
426
+ export const DraftCardResponseSchema = {
1233
427
  type: 'object',
1234
428
  properties: {
1235
- country: {
429
+ id: {
430
+ type: 'string',
431
+ format: 'uuid',
432
+ },
433
+ type: {
434
+ $ref: '#/components/schemas/DraftTypeEnum',
435
+ },
436
+ title: {
1236
437
  type: 'string',
1237
438
  },
1238
439
  city: {
1239
440
  type: 'string',
1240
441
  },
1241
- district: {
442
+ street: {
1242
443
  type: 'string',
1243
444
  },
1244
- subdistrict: {
445
+ coverPhoto: {
1245
446
  type: 'string',
1246
447
  },
1247
- street: {
448
+ uploadDate: {
1248
449
  type: 'string',
450
+ format: 'date-time',
1249
451
  },
1250
452
  },
1251
- required: ['city', 'country', 'district', 'street', 'subdistrict'],
453
+ required: ['id', 'title', 'type', 'uploadDate'],
1252
454
  };
1253
- export const AgencyProfileResponseSchema = {
455
+ export const DraftStatusResponseSchema = {
1254
456
  type: 'object',
1255
457
  properties: {
1256
- name: {
1257
- type: 'string',
1258
- },
1259
- email: {
1260
- type: 'string',
1261
- },
1262
- seats: {
1263
- type: 'integer',
1264
- format: 'int32',
1265
- },
1266
- subDomain: {
1267
- type: 'string',
1268
- },
1269
- phone: {
1270
- type: 'string',
1271
- },
1272
- address: {
1273
- $ref: '#/components/schemas/AddressViewResponse',
1274
- },
1275
- yearSince: {
1276
- type: 'integer',
1277
- format: 'int32',
458
+ status: {
459
+ $ref: '#/components/schemas/StatusEnum',
1278
460
  },
1279
461
  },
1280
- required: [
1281
- 'address',
1282
- 'email',
1283
- 'name',
1284
- 'phone',
1285
- 'seats',
1286
- 'subDomain',
1287
- 'yearSince',
1288
- ],
462
+ required: ['status'],
1289
463
  };
1290
- export const SchemaEnumSchema = {
464
+ export const TypeEnumSchema = {
1291
465
  type: 'string',
1292
466
  enum: [
1293
- 'NEW',
1294
- 'ATTEMPTED_CONTACT',
1295
- 'CONTACTED',
1296
- 'DISQUALIFIED',
1297
- 'CONVERTED',
1298
- 'LOST',
467
+ 'BEDROOM',
468
+ 'BATHROOM',
469
+ 'KITCHEN',
470
+ 'LIVING_ROOM',
471
+ 'GARAGE',
472
+ 'BACKYARD',
473
+ 'GYM',
474
+ 'LAUNDRY',
475
+ 'HOME_THEATRE',
476
+ 'GAME_ROOM',
1299
477
  ],
1300
478
  };
1301
- export const SchemaEnum2Schema = {
1302
- type: 'string',
1303
- enum: ['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE'],
1304
- };
1305
- export const ItemsEnumSchema = {
479
+ export const GroupEnumSchema = {
1306
480
  type: 'string',
481
+ description: 'property group being registered',
1307
482
  enum: [
1308
- 'AGENCY_WRITE',
1309
- 'INVITATION_READ',
1310
- 'INVITATION_WRITE',
1311
- 'ROLE_READ',
1312
- 'ROLE_WRITE',
1313
- 'MEMBER_READ',
1314
- 'MEMBER_WRITE',
1315
- 'LEAD_READ',
1316
- 'LEAD_WRITE',
1317
- 'LEAD_READ_ALL',
1318
- 'LEAD_WRITE_ALL',
483
+ 'HOUSE_GROUP',
484
+ 'APARTMENT_GROUP',
485
+ 'HOSPITALITY_GROUP',
486
+ 'LAND_GROUP',
487
+ 'BUSINESS_GROUP',
488
+ 'STORAGE_GROUP',
1319
489
  ],
1320
490
  };
1321
- export const ClientTypeEnumSchema = {
1322
- type: 'string',
1323
- enum: ['LISTING', 'SEEKING'],
1324
- };
1325
- export const ListingTypeEnumSchema = {
491
+ export const TypeEnum2Schema = {
1326
492
  type: 'string',
1327
- enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
493
+ enum: ['JPEG', 'JPG', 'PNG', 'WEBP'],
1328
494
  };
1329
- export const PropertyTypeEnumSchema = {
495
+ export const DraftTypeEnumSchema = {
1330
496
  type: 'string',
1331
497
  enum: [
1332
498
  'HOUSE',
@@ -1351,45 +517,13 @@ export const PropertyTypeEnumSchema = {
1351
517
  'GARAGE',
1352
518
  ],
1353
519
  };
1354
- export const GenderEnumSchema = {
1355
- type: 'string',
1356
- enum: ['MALE', 'FEMALE', 'UNKNOWN'],
1357
- };
1358
- export const PriorityEnumSchema = {
520
+ export const LanguageEnumSchema = {
1359
521
  type: 'string',
1360
- enum: ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW'],
1361
- };
1362
- export const ItemsEnum2Schema = {
1363
- type: 'string',
1364
- enum: ['WHATSAPP', 'VIBER', 'PHONE_CALL'],
1365
- };
1366
- export const TypeEnumSchema = {
1367
- type: 'string',
1368
- enum: ['FACEBOOK', 'YOUTUBE', 'INSTAGRAM', 'TIKTOK', 'LINKEDIN'],
1369
- };
1370
- export const TypeEnum2Schema = {
1371
- type: 'string',
1372
- enum: ['JPEG', 'JPG', 'PNG', 'WEBP'],
522
+ enum: ['KA', 'EN', 'RU'],
1373
523
  };
1374
524
  export const StatusEnumSchema = {
1375
525
  type: 'string',
1376
- enum: ['PENDING', 'ACCEPTED', 'CANCELLED', 'EXPIRED'],
1377
- };
1378
- export const GroupEnumSchema = {
1379
- type: 'string',
1380
- enum: ['AGENCY', 'INVITATION', 'ROLE', 'MEMBER', 'LEAD'],
1381
- };
1382
- export const SourceTypeEnumSchema = {
1383
- type: 'string',
1384
- enum: [
1385
- 'MY_HOME',
1386
- 'SS',
1387
- 'FACEBOOK',
1388
- 'YOUTUBE',
1389
- 'INSTAGRAM',
1390
- 'TIKTOK',
1391
- 'LINKEDIN',
1392
- 'UNKNOWN',
1393
- ],
526
+ description: 'property draft status',
527
+ enum: ['IN_REGISTRATION', 'PROCESSING', 'COMPLETED'],
1394
528
  };
1395
529
  //# sourceMappingURL=schemas.gen.js.map