@devdash/bofrid-api-types 0.1.5

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 (163) hide show
  1. package/README.md +24 -0
  2. package/dist/app.d.ts +23 -0
  3. package/dist/dev.d.ts +6 -0
  4. package/dist/export-openapi.d.ts +9 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/lib/auth.d.ts +20 -0
  7. package/dist/lib/criipto-bankid.d.ts +45 -0
  8. package/dist/lib/datalake.d.ts +7 -0
  9. package/dist/lib/docs-filter.d.ts +15 -0
  10. package/dist/lib/email-action-token.d.ts +26 -0
  11. package/dist/lib/email-utm.d.ts +42 -0
  12. package/dist/lib/email.d.ts +94 -0
  13. package/dist/lib/env.d.ts +18 -0
  14. package/dist/lib/errors.d.ts +6 -0
  15. package/dist/lib/helpers.d.ts +6 -0
  16. package/dist/lib/logger.d.ts +25 -0
  17. package/dist/lib/markets.d.ts +1 -0
  18. package/dist/lib/org-number.d.ts +5 -0
  19. package/dist/lib/ownership.d.ts +47 -0
  20. package/dist/lib/pdf-watermark.d.ts +25 -0
  21. package/dist/lib/personnummer.d.ts +14 -0
  22. package/dist/lib/posthog.d.ts +51 -0
  23. package/dist/lib/premium.d.ts +13 -0
  24. package/dist/lib/profile-resolver.d.ts +14 -0
  25. package/dist/lib/redirect-state.d.ts +40 -0
  26. package/dist/lib/revalidate.d.ts +23 -0
  27. package/dist/lib/schemas.d.ts +21 -0
  28. package/dist/lib/sentry.d.ts +31 -0
  29. package/dist/lib/slug.d.ts +5 -0
  30. package/dist/lib/sms.d.ts +22 -0
  31. package/dist/lib/system-log.d.ts +31 -0
  32. package/dist/lib/webhook-events.d.ts +26 -0
  33. package/dist/lib/webhooks.d.ts +28 -0
  34. package/dist/middleware/auth-debug.d.ts +17 -0
  35. package/dist/middleware/auth.d.ts +19 -0
  36. package/dist/middleware/bibi-logger.d.ts +6 -0
  37. package/dist/middleware/cors.d.ts +1 -0
  38. package/dist/middleware/request-id.d.ts +10 -0
  39. package/dist/middleware/sentry-context.d.ts +8 -0
  40. package/dist/routes/activity-feed.d.ts +64 -0
  41. package/dist/routes/admin-bevakningar.d.ts +200 -0
  42. package/dist/routes/admin-companies.d.ts +381 -0
  43. package/dist/routes/admin-email-jobs.d.ts +257 -0
  44. package/dist/routes/admin-email-logs.d.ts +9 -0
  45. package/dist/routes/admin-fb-leads.d.ts +32 -0
  46. package/dist/routes/admin-import.d.ts +188 -0
  47. package/dist/routes/admin-login-history.d.ts +9 -0
  48. package/dist/routes/admin-marketing.d.ts +15 -0
  49. package/dist/routes/admin-metabase.d.ts +9 -0
  50. package/dist/routes/admin-notifications.d.ts +7 -0
  51. package/dist/routes/admin-paying-customers.d.ts +74 -0
  52. package/dist/routes/admin-sessions.d.ts +10 -0
  53. package/dist/routes/admin-stats.d.ts +380 -0
  54. package/dist/routes/admin-system-logs.d.ts +10 -0
  55. package/dist/routes/admin-users.d.ts +299 -0
  56. package/dist/routes/admin-webhooks.d.ts +276 -0
  57. package/dist/routes/api-keys.d.ts +123 -0
  58. package/dist/routes/applications.d.ts +385 -0
  59. package/dist/routes/auth.d.ts +15 -0
  60. package/dist/routes/billing.d.ts +369 -0
  61. package/dist/routes/bostadsmerit.d.ts +51 -0
  62. package/dist/routes/companies.d.ts +842 -0
  63. package/dist/routes/contact-reveals.d.ts +102 -0
  64. package/dist/routes/conversations/handlers/conversation.d.ts +5 -0
  65. package/dist/routes/conversations/handlers/initiate.d.ts +4 -0
  66. package/dist/routes/conversations/handlers/messages.d.ts +5 -0
  67. package/dist/routes/conversations/handlers/state.d.ts +5 -0
  68. package/dist/routes/conversations/helpers/access.d.ts +11 -0
  69. package/dist/routes/conversations/helpers/enrich-conversation.d.ts +58 -0
  70. package/dist/routes/conversations/helpers/identity.d.ts +43 -0
  71. package/dist/routes/conversations/helpers/notify-recipient.d.ts +10 -0
  72. package/dist/routes/conversations/helpers/reconcile-reveal.d.ts +10 -0
  73. package/dist/routes/conversations/helpers/scrub-contact.d.ts +1 -0
  74. package/dist/routes/conversations/index.d.ts +422 -0
  75. package/dist/routes/conversations/routes.d.ts +924 -0
  76. package/dist/routes/conversations/schemas.d.ts +216 -0
  77. package/dist/routes/cron.d.ts +27 -0
  78. package/dist/routes/documents.d.ts +493 -0
  79. package/dist/routes/email-actions.d.ts +8 -0
  80. package/dist/routes/fastighetslista.d.ts +94 -0
  81. package/dist/routes/geo.d.ts +518 -0
  82. package/dist/routes/geocoding.d.ts +192 -0
  83. package/dist/routes/health.d.ts +43 -0
  84. package/dist/routes/housing-history.d.ts +381 -0
  85. package/dist/routes/index.d.ts +15321 -0
  86. package/dist/routes/leads.d.ts +281 -0
  87. package/dist/routes/listing-helpers.d.ts +33 -0
  88. package/dist/routes/listing-publications.d.ts +636 -0
  89. package/dist/routes/listings.d.ts +1846 -0
  90. package/dist/routes/location-interests.d.ts +754 -0
  91. package/dist/routes/lookup.d.ts +109 -0
  92. package/dist/routes/mejl.d.ts +377 -0
  93. package/dist/routes/profiles.d.ts +281 -0
  94. package/dist/routes/properties.d.ts +1266 -0
  95. package/dist/routes/public-listings.d.ts +1137 -0
  96. package/dist/routes/public-profiles.d.ts +293 -0
  97. package/dist/routes/references.d.ts +695 -0
  98. package/dist/routes/search-partners.d.ts +4 -0
  99. package/dist/routes/site-config.d.ts +103 -0
  100. package/dist/routes/storage.d.ts +367 -0
  101. package/dist/routes/tenant-boost.d.ts +229 -0
  102. package/dist/routes/tenants.d.ts +336 -0
  103. package/dist/routes/track.d.ts +19 -0
  104. package/dist/routes/translate.d.ts +51 -0
  105. package/dist/routes/users.d.ts +517 -0
  106. package/dist/routes/verification.d.ts +175 -0
  107. package/dist/routes/webhooks.d.ts +9 -0
  108. package/dist/rpc.d.ts +11 -0
  109. package/dist/serve.d.ts +5 -0
  110. package/dist/services/activity-feed/activity-feed.service.d.ts +26 -0
  111. package/dist/services/applications/approval.service.d.ts +17 -0
  112. package/dist/services/auth/bankid-login.service.d.ts +40 -0
  113. package/dist/services/billing/constants.d.ts +2 -0
  114. package/dist/services/billing/contact-billing.service.d.ts +59 -0
  115. package/dist/services/billing/customer.service.d.ts +14 -0
  116. package/dist/services/billing/invoice-item.service.d.ts +49 -0
  117. package/dist/services/billing/invoice.service.d.ts +21 -0
  118. package/dist/services/billing/listing-upgrade-checkout.service.d.ts +45 -0
  119. package/dist/services/billing/purchase-receipt-email.d.ts +23 -0
  120. package/dist/services/billing/reveal-allowance.service.d.ts +33 -0
  121. package/dist/services/billing/stripe.d.ts +6 -0
  122. package/dist/services/billing/subscription.service.d.ts +21 -0
  123. package/dist/services/billing/types.d.ts +64 -0
  124. package/dist/services/billing/verify-session.service.d.ts +17 -0
  125. package/dist/services/billing/webhook.service.d.ts +8 -0
  126. package/dist/services/bostadsmerit/calculator.d.ts +51 -0
  127. package/dist/services/bostadsmerit/couple-calculator.d.ts +46 -0
  128. package/dist/services/bostadsmerit/tracker.service.d.ts +45 -0
  129. package/dist/services/chat-access/unlock-chat.service.d.ts +62 -0
  130. package/dist/services/conversations/upsert-conversation.d.ts +11 -0
  131. package/dist/services/email-jobs/email-job-sender.d.ts +7 -0
  132. package/dist/services/email-jobs/email-job.service.d.ts +67 -0
  133. package/dist/services/geo/bevakning-matching.service.d.ts +67 -0
  134. package/dist/services/geo/geo-listings.service.d.ts +38 -0
  135. package/dist/services/geo/geo.service.d.ts +233 -0
  136. package/dist/services/geo/geocode.service.d.ts +16 -0
  137. package/dist/services/geo/market-insights-by-coords.service.d.ts +67 -0
  138. package/dist/services/geo/market-insights.service.d.ts +44 -0
  139. package/dist/services/geo/market-overview.service.d.ts +42 -0
  140. package/dist/services/homii/image.d.ts +24 -0
  141. package/dist/services/homii/index.d.ts +12 -0
  142. package/dist/services/homii/location.d.ts +32 -0
  143. package/dist/services/homii/mapper.d.ts +41 -0
  144. package/dist/services/homii/types.d.ts +91 -0
  145. package/dist/services/leads/constants.d.ts +32 -0
  146. package/dist/services/leads/generate-leads.service.d.ts +38 -0
  147. package/dist/services/leads/matching.service.d.ts +55 -0
  148. package/dist/services/leads/tier.service.d.ts +6 -0
  149. package/dist/services/leads/types.d.ts +27 -0
  150. package/dist/services/listings/seo.service.d.ts +57 -0
  151. package/dist/services/listings/status.d.ts +37 -0
  152. package/dist/services/mejl/client.d.ts +38 -0
  153. package/dist/services/mrkoll/client.d.ts +95 -0
  154. package/dist/services/mrkoll/import.d.ts +38 -0
  155. package/dist/services/mrkoll/match.d.ts +35 -0
  156. package/dist/services/notifications/bibi-projects.d.ts +43 -0
  157. package/dist/services/notifications/bibi.d.ts +229 -0
  158. package/dist/services/profiles/bankid-verify.d.ts +23 -0
  159. package/dist/services/realtime.d.ts +14 -0
  160. package/dist/services/references/history-linker.d.ts +19 -0
  161. package/dist/services/tenant-boost/constants.d.ts +120 -0
  162. package/dist/services/tenant-boost/tenant-boost.service.d.ts +59 -0
  163. package/package.json +29 -0
@@ -0,0 +1,754 @@
1
+ import { OpenAPIHono } from "@hono/zod-openapi";
2
+ import type { AppBindings } from "../app";
3
+ export declare const locationInterestsApp: OpenAPIHono<AppBindings, {
4
+ "/location-interests": {
5
+ $get: {
6
+ input: {};
7
+ output: {
8
+ error: string;
9
+ };
10
+ outputFormat: "json";
11
+ status: 401;
12
+ } | {
13
+ input: {};
14
+ output: {
15
+ locationInterests: {
16
+ name: string;
17
+ id: string;
18
+ active: boolean;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ countryCode: string;
22
+ location: string | number | boolean | any[] | {
23
+ [x: string]: any;
24
+ } | null;
25
+ userId: string;
26
+ partnerId: string | null;
27
+ filters: string | number | boolean | any[] | {
28
+ [x: string]: any;
29
+ } | null;
30
+ emailNotifications: boolean;
31
+ availableFrom: string | null;
32
+ furnishedPreference: string | null;
33
+ numberOfPeople: number | null;
34
+ locationName: string | null;
35
+ locationType: string | null;
36
+ geoSlug: string | null;
37
+ regionSlug: string | null;
38
+ municipalitySlug: string | null;
39
+ areaSlug: string | null;
40
+ isNationwide: boolean;
41
+ maxRent: number | null;
42
+ propertyTypes: string[] | null;
43
+ geom: string | null;
44
+ origin: string | null;
45
+ }[];
46
+ totalCount: number;
47
+ };
48
+ outputFormat: "json";
49
+ status: 200;
50
+ };
51
+ };
52
+ } & {
53
+ "/location-interests": {
54
+ $post: {
55
+ input: {
56
+ json: {
57
+ name: string;
58
+ location: {
59
+ name: string;
60
+ place_id: string;
61
+ bounds?: {
62
+ northeast: {
63
+ lat: number;
64
+ lng: number;
65
+ };
66
+ southwest: {
67
+ lat: number;
68
+ lng: number;
69
+ };
70
+ } | undefined;
71
+ staticData?: {
72
+ type: string;
73
+ slug: string;
74
+ regionSlug?: string | undefined;
75
+ municipalitySlug?: string | undefined;
76
+ } | undefined;
77
+ resolvedHierarchy?: any;
78
+ };
79
+ filters: {
80
+ maxRent?: number | undefined;
81
+ propertyTypes?: string[] | undefined;
82
+ minRent?: number | undefined;
83
+ minRooms?: number | undefined;
84
+ maxRooms?: number | undefined;
85
+ minSize?: number | undefined;
86
+ maxSize?: number | undefined;
87
+ };
88
+ emailNotifications?: boolean | undefined;
89
+ availableFrom?: string | undefined;
90
+ furnishedPreference?: "furnished" | "unfurnished" | "either" | undefined;
91
+ numberOfPeople?: number | undefined;
92
+ };
93
+ };
94
+ output: {
95
+ error: string;
96
+ };
97
+ outputFormat: "json";
98
+ status: 401;
99
+ } | {
100
+ input: {
101
+ json: {
102
+ name: string;
103
+ location: {
104
+ name: string;
105
+ place_id: string;
106
+ bounds?: {
107
+ northeast: {
108
+ lat: number;
109
+ lng: number;
110
+ };
111
+ southwest: {
112
+ lat: number;
113
+ lng: number;
114
+ };
115
+ } | undefined;
116
+ staticData?: {
117
+ type: string;
118
+ slug: string;
119
+ regionSlug?: string | undefined;
120
+ municipalitySlug?: string | undefined;
121
+ } | undefined;
122
+ resolvedHierarchy?: any;
123
+ };
124
+ filters: {
125
+ maxRent?: number | undefined;
126
+ propertyTypes?: string[] | undefined;
127
+ minRent?: number | undefined;
128
+ minRooms?: number | undefined;
129
+ maxRooms?: number | undefined;
130
+ minSize?: number | undefined;
131
+ maxSize?: number | undefined;
132
+ };
133
+ emailNotifications?: boolean | undefined;
134
+ availableFrom?: string | undefined;
135
+ furnishedPreference?: "furnished" | "unfurnished" | "either" | undefined;
136
+ numberOfPeople?: number | undefined;
137
+ };
138
+ };
139
+ output: {
140
+ error: string;
141
+ };
142
+ outputFormat: "json";
143
+ status: 400;
144
+ } | {
145
+ input: {
146
+ json: {
147
+ name: string;
148
+ location: {
149
+ name: string;
150
+ place_id: string;
151
+ bounds?: {
152
+ northeast: {
153
+ lat: number;
154
+ lng: number;
155
+ };
156
+ southwest: {
157
+ lat: number;
158
+ lng: number;
159
+ };
160
+ } | undefined;
161
+ staticData?: {
162
+ type: string;
163
+ slug: string;
164
+ regionSlug?: string | undefined;
165
+ municipalitySlug?: string | undefined;
166
+ } | undefined;
167
+ resolvedHierarchy?: any;
168
+ };
169
+ filters: {
170
+ maxRent?: number | undefined;
171
+ propertyTypes?: string[] | undefined;
172
+ minRent?: number | undefined;
173
+ minRooms?: number | undefined;
174
+ maxRooms?: number | undefined;
175
+ minSize?: number | undefined;
176
+ maxSize?: number | undefined;
177
+ };
178
+ emailNotifications?: boolean | undefined;
179
+ availableFrom?: string | undefined;
180
+ furnishedPreference?: "furnished" | "unfurnished" | "either" | undefined;
181
+ numberOfPeople?: number | undefined;
182
+ };
183
+ };
184
+ output: {
185
+ error: string;
186
+ };
187
+ outputFormat: "json";
188
+ status: 403;
189
+ } | {
190
+ input: {
191
+ json: {
192
+ name: string;
193
+ location: {
194
+ name: string;
195
+ place_id: string;
196
+ bounds?: {
197
+ northeast: {
198
+ lat: number;
199
+ lng: number;
200
+ };
201
+ southwest: {
202
+ lat: number;
203
+ lng: number;
204
+ };
205
+ } | undefined;
206
+ staticData?: {
207
+ type: string;
208
+ slug: string;
209
+ regionSlug?: string | undefined;
210
+ municipalitySlug?: string | undefined;
211
+ } | undefined;
212
+ resolvedHierarchy?: any;
213
+ };
214
+ filters: {
215
+ maxRent?: number | undefined;
216
+ propertyTypes?: string[] | undefined;
217
+ minRent?: number | undefined;
218
+ minRooms?: number | undefined;
219
+ maxRooms?: number | undefined;
220
+ minSize?: number | undefined;
221
+ maxSize?: number | undefined;
222
+ };
223
+ emailNotifications?: boolean | undefined;
224
+ availableFrom?: string | undefined;
225
+ furnishedPreference?: "furnished" | "unfurnished" | "either" | undefined;
226
+ numberOfPeople?: number | undefined;
227
+ };
228
+ };
229
+ output: {
230
+ message: string;
231
+ locationInterest?: {
232
+ name: string;
233
+ id: string;
234
+ active: boolean;
235
+ createdAt: string;
236
+ updatedAt: string;
237
+ countryCode: string;
238
+ location: string | number | boolean | any[] | {
239
+ [x: string]: any;
240
+ } | null;
241
+ userId: string;
242
+ partnerId: string | null;
243
+ filters: string | number | boolean | any[] | {
244
+ [x: string]: any;
245
+ } | null;
246
+ emailNotifications: boolean;
247
+ availableFrom: string | null;
248
+ furnishedPreference: string | null;
249
+ numberOfPeople: number | null;
250
+ locationName: string | null;
251
+ locationType: string | null;
252
+ geoSlug: string | null;
253
+ regionSlug: string | null;
254
+ municipalitySlug: string | null;
255
+ areaSlug: string | null;
256
+ isNationwide: boolean;
257
+ maxRent: number | null;
258
+ propertyTypes: string[] | null;
259
+ geom: string | null;
260
+ origin: string | null;
261
+ } | undefined;
262
+ locationInterestId?: string | undefined;
263
+ };
264
+ outputFormat: "json";
265
+ status: 201;
266
+ };
267
+ };
268
+ } & {
269
+ "/location-interests/:id": {
270
+ $patch: {
271
+ input: {
272
+ param: {
273
+ id: string;
274
+ };
275
+ } & {
276
+ json: {
277
+ name?: string | undefined;
278
+ active?: boolean | undefined;
279
+ location?: {
280
+ name: string;
281
+ place_id: string;
282
+ bounds?: {
283
+ northeast: {
284
+ lat: number;
285
+ lng: number;
286
+ };
287
+ southwest: {
288
+ lat: number;
289
+ lng: number;
290
+ };
291
+ } | undefined;
292
+ staticData?: {
293
+ type: string;
294
+ slug: string;
295
+ regionSlug?: string | undefined;
296
+ municipalitySlug?: string | undefined;
297
+ } | undefined;
298
+ resolvedHierarchy?: any;
299
+ } | undefined;
300
+ filters?: {
301
+ maxRent?: number | undefined;
302
+ propertyTypes?: string[] | undefined;
303
+ minRent?: number | undefined;
304
+ minRooms?: number | undefined;
305
+ maxRooms?: number | undefined;
306
+ minSize?: number | undefined;
307
+ maxSize?: number | undefined;
308
+ } | undefined;
309
+ emailNotifications?: boolean | undefined;
310
+ numberOfPeople?: number | undefined;
311
+ };
312
+ };
313
+ output: {
314
+ error: string;
315
+ };
316
+ outputFormat: "json";
317
+ status: 401;
318
+ } | {
319
+ input: {
320
+ param: {
321
+ id: string;
322
+ };
323
+ } & {
324
+ json: {
325
+ name?: string | undefined;
326
+ active?: boolean | undefined;
327
+ location?: {
328
+ name: string;
329
+ place_id: string;
330
+ bounds?: {
331
+ northeast: {
332
+ lat: number;
333
+ lng: number;
334
+ };
335
+ southwest: {
336
+ lat: number;
337
+ lng: number;
338
+ };
339
+ } | undefined;
340
+ staticData?: {
341
+ type: string;
342
+ slug: string;
343
+ regionSlug?: string | undefined;
344
+ municipalitySlug?: string | undefined;
345
+ } | undefined;
346
+ resolvedHierarchy?: any;
347
+ } | undefined;
348
+ filters?: {
349
+ maxRent?: number | undefined;
350
+ propertyTypes?: string[] | undefined;
351
+ minRent?: number | undefined;
352
+ minRooms?: number | undefined;
353
+ maxRooms?: number | undefined;
354
+ minSize?: number | undefined;
355
+ maxSize?: number | undefined;
356
+ } | undefined;
357
+ emailNotifications?: boolean | undefined;
358
+ numberOfPeople?: number | undefined;
359
+ };
360
+ };
361
+ output: {
362
+ error: string;
363
+ };
364
+ outputFormat: "json";
365
+ status: 404;
366
+ } | {
367
+ input: {
368
+ param: {
369
+ id: string;
370
+ };
371
+ } & {
372
+ json: {
373
+ name?: string | undefined;
374
+ active?: boolean | undefined;
375
+ location?: {
376
+ name: string;
377
+ place_id: string;
378
+ bounds?: {
379
+ northeast: {
380
+ lat: number;
381
+ lng: number;
382
+ };
383
+ southwest: {
384
+ lat: number;
385
+ lng: number;
386
+ };
387
+ } | undefined;
388
+ staticData?: {
389
+ type: string;
390
+ slug: string;
391
+ regionSlug?: string | undefined;
392
+ municipalitySlug?: string | undefined;
393
+ } | undefined;
394
+ resolvedHierarchy?: any;
395
+ } | undefined;
396
+ filters?: {
397
+ maxRent?: number | undefined;
398
+ propertyTypes?: string[] | undefined;
399
+ minRent?: number | undefined;
400
+ minRooms?: number | undefined;
401
+ maxRooms?: number | undefined;
402
+ minSize?: number | undefined;
403
+ maxSize?: number | undefined;
404
+ } | undefined;
405
+ emailNotifications?: boolean | undefined;
406
+ numberOfPeople?: number | undefined;
407
+ };
408
+ };
409
+ output: {
410
+ message: string;
411
+ locationInterest?: {
412
+ name: string;
413
+ id: string;
414
+ active: boolean;
415
+ createdAt: string;
416
+ updatedAt: string;
417
+ countryCode: string;
418
+ location: string | number | boolean | any[] | {
419
+ [x: string]: any;
420
+ } | null;
421
+ userId: string;
422
+ partnerId: string | null;
423
+ filters: string | number | boolean | any[] | {
424
+ [x: string]: any;
425
+ } | null;
426
+ emailNotifications: boolean;
427
+ availableFrom: string | null;
428
+ furnishedPreference: string | null;
429
+ numberOfPeople: number | null;
430
+ locationName: string | null;
431
+ locationType: string | null;
432
+ geoSlug: string | null;
433
+ regionSlug: string | null;
434
+ municipalitySlug: string | null;
435
+ areaSlug: string | null;
436
+ isNationwide: boolean;
437
+ maxRent: number | null;
438
+ propertyTypes: string[] | null;
439
+ geom: string | null;
440
+ origin: string | null;
441
+ } | undefined;
442
+ locationInterestId?: string | undefined;
443
+ };
444
+ outputFormat: "json";
445
+ status: 200;
446
+ };
447
+ };
448
+ } & {
449
+ "/location-interests/:id": {
450
+ $delete: {
451
+ input: {
452
+ param: {
453
+ id: string;
454
+ };
455
+ };
456
+ output: {
457
+ error: string;
458
+ };
459
+ outputFormat: "json";
460
+ status: 401;
461
+ } | {
462
+ input: {
463
+ param: {
464
+ id: string;
465
+ };
466
+ };
467
+ output: {
468
+ error: string;
469
+ };
470
+ outputFormat: "json";
471
+ status: 404;
472
+ } | {
473
+ input: {
474
+ param: {
475
+ id: string;
476
+ };
477
+ };
478
+ output: {
479
+ message: string;
480
+ locationInterest?: {
481
+ name: string;
482
+ id: string;
483
+ active: boolean;
484
+ createdAt: string;
485
+ updatedAt: string;
486
+ countryCode: string;
487
+ location: string | number | boolean | any[] | {
488
+ [x: string]: any;
489
+ } | null;
490
+ userId: string;
491
+ partnerId: string | null;
492
+ filters: string | number | boolean | any[] | {
493
+ [x: string]: any;
494
+ } | null;
495
+ emailNotifications: boolean;
496
+ availableFrom: string | null;
497
+ furnishedPreference: string | null;
498
+ numberOfPeople: number | null;
499
+ locationName: string | null;
500
+ locationType: string | null;
501
+ geoSlug: string | null;
502
+ regionSlug: string | null;
503
+ municipalitySlug: string | null;
504
+ areaSlug: string | null;
505
+ isNationwide: boolean;
506
+ maxRent: number | null;
507
+ propertyTypes: string[] | null;
508
+ geom: string | null;
509
+ origin: string | null;
510
+ } | undefined;
511
+ locationInterestId?: string | undefined;
512
+ };
513
+ outputFormat: "json";
514
+ status: 200;
515
+ };
516
+ };
517
+ } & {
518
+ "/public/location-interests": {
519
+ $get: {
520
+ input: {};
521
+ output: {
522
+ locationInterests: {
523
+ name: string;
524
+ id: string;
525
+ active: boolean;
526
+ createdAt: string;
527
+ updatedAt: string;
528
+ countryCode: string;
529
+ location: string | number | boolean | any[] | {
530
+ [x: string]: any;
531
+ } | null;
532
+ partnerId: string | null;
533
+ filters: string | number | boolean | any[] | {
534
+ [x: string]: any;
535
+ } | null;
536
+ emailNotifications: boolean;
537
+ availableFrom: string | null;
538
+ furnishedPreference: string | null;
539
+ numberOfPeople: number | null;
540
+ locationName: string | null;
541
+ locationType: string | null;
542
+ geoSlug: string | null;
543
+ regionSlug: string | null;
544
+ municipalitySlug: string | null;
545
+ areaSlug: string | null;
546
+ isNationwide: boolean;
547
+ maxRent: number | null;
548
+ propertyTypes: string[] | null;
549
+ geom: string | null;
550
+ origin: string | null;
551
+ }[];
552
+ totalCount: number;
553
+ };
554
+ outputFormat: "json";
555
+ status: 200;
556
+ };
557
+ };
558
+ } & {
559
+ "/public/location-interests/:userId/:id": {
560
+ $get: {
561
+ input: {
562
+ param: {
563
+ id: string;
564
+ userId: string;
565
+ };
566
+ };
567
+ output: {
568
+ error: string;
569
+ };
570
+ outputFormat: "json";
571
+ status: 404;
572
+ } | {
573
+ input: {
574
+ param: {
575
+ id: string;
576
+ userId: string;
577
+ };
578
+ };
579
+ output: {
580
+ name: string;
581
+ id: string;
582
+ active: boolean;
583
+ createdAt: string | null;
584
+ updatedAt: string | null;
585
+ userId: string;
586
+ emailNotifications: boolean;
587
+ availableFrom: string | null;
588
+ furnishedPreference: string | null;
589
+ numberOfPeople: number | null;
590
+ location?: any;
591
+ filters?: any;
592
+ };
593
+ outputFormat: "json";
594
+ status: 200;
595
+ };
596
+ };
597
+ } & {
598
+ "/public/guest-bevakning": {
599
+ $post: {
600
+ input: {
601
+ json: {
602
+ email: string;
603
+ location: {
604
+ name: string;
605
+ place_id: string;
606
+ bounds?: {
607
+ northeast: {
608
+ lat: number;
609
+ lng: number;
610
+ };
611
+ southwest: {
612
+ lat: number;
613
+ lng: number;
614
+ };
615
+ } | undefined;
616
+ staticData?: {
617
+ type: string;
618
+ slug: string;
619
+ regionSlug?: string | undefined;
620
+ municipalitySlug?: string | undefined;
621
+ } | undefined;
622
+ resolvedHierarchy?: any;
623
+ };
624
+ numberOfPeople?: number | undefined;
625
+ maxRent?: number | undefined;
626
+ origin?: string | undefined;
627
+ accepted?: boolean | undefined;
628
+ customEmailText?: string | undefined;
629
+ leadType?: "tenant" | "landlord" | undefined;
630
+ };
631
+ };
632
+ output: {
633
+ error: string;
634
+ };
635
+ outputFormat: "json";
636
+ status: 400;
637
+ } | {
638
+ input: {
639
+ json: {
640
+ email: string;
641
+ location: {
642
+ name: string;
643
+ place_id: string;
644
+ bounds?: {
645
+ northeast: {
646
+ lat: number;
647
+ lng: number;
648
+ };
649
+ southwest: {
650
+ lat: number;
651
+ lng: number;
652
+ };
653
+ } | undefined;
654
+ staticData?: {
655
+ type: string;
656
+ slug: string;
657
+ regionSlug?: string | undefined;
658
+ municipalitySlug?: string | undefined;
659
+ } | undefined;
660
+ resolvedHierarchy?: any;
661
+ };
662
+ numberOfPeople?: number | undefined;
663
+ maxRent?: number | undefined;
664
+ origin?: string | undefined;
665
+ accepted?: boolean | undefined;
666
+ customEmailText?: string | undefined;
667
+ leadType?: "tenant" | "landlord" | undefined;
668
+ };
669
+ };
670
+ output: {
671
+ error: string;
672
+ };
673
+ outputFormat: "json";
674
+ status: 409;
675
+ } | {
676
+ input: {
677
+ json: {
678
+ email: string;
679
+ location: {
680
+ name: string;
681
+ place_id: string;
682
+ bounds?: {
683
+ northeast: {
684
+ lat: number;
685
+ lng: number;
686
+ };
687
+ southwest: {
688
+ lat: number;
689
+ lng: number;
690
+ };
691
+ } | undefined;
692
+ staticData?: {
693
+ type: string;
694
+ slug: string;
695
+ regionSlug?: string | undefined;
696
+ municipalitySlug?: string | undefined;
697
+ } | undefined;
698
+ resolvedHierarchy?: any;
699
+ };
700
+ numberOfPeople?: number | undefined;
701
+ maxRent?: number | undefined;
702
+ origin?: string | undefined;
703
+ accepted?: boolean | undefined;
704
+ customEmailText?: string | undefined;
705
+ leadType?: "tenant" | "landlord" | undefined;
706
+ };
707
+ };
708
+ output: {
709
+ message: string;
710
+ locationInterestId: string;
711
+ };
712
+ outputFormat: "json";
713
+ status: 201;
714
+ } | {
715
+ input: {
716
+ json: {
717
+ email: string;
718
+ location: {
719
+ name: string;
720
+ place_id: string;
721
+ bounds?: {
722
+ northeast: {
723
+ lat: number;
724
+ lng: number;
725
+ };
726
+ southwest: {
727
+ lat: number;
728
+ lng: number;
729
+ };
730
+ } | undefined;
731
+ staticData?: {
732
+ type: string;
733
+ slug: string;
734
+ regionSlug?: string | undefined;
735
+ municipalitySlug?: string | undefined;
736
+ } | undefined;
737
+ resolvedHierarchy?: any;
738
+ };
739
+ numberOfPeople?: number | undefined;
740
+ maxRent?: number | undefined;
741
+ origin?: string | undefined;
742
+ accepted?: boolean | undefined;
743
+ customEmailText?: string | undefined;
744
+ leadType?: "tenant" | "landlord" | undefined;
745
+ };
746
+ };
747
+ output: {
748
+ error: string;
749
+ };
750
+ outputFormat: "json";
751
+ status: 500;
752
+ };
753
+ };
754
+ }, "/">;