@homespot-sdk/core 0.0.106 → 0.0.109

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