@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,636 @@
1
+ /**
2
+ * Listing publication routes — CRUD for external distribution records + fb-manager sync.
3
+ *
4
+ * Publications track where a listing has been shared (Facebook, Blocket, etc.)
5
+ * and the broadcast status for automated Facebook group posting via fb-manager.
6
+ *
7
+ * ## fb-manager Integration Flow
8
+ *
9
+ * 1. Admin approves listing → publication row created (broadcastStatus: "pending")
10
+ * + POST to fb-manager /api/post-in-matching-fb-groups (triggered in listings.ts review handler)
11
+ * 2. fb-manager fetches listing data from GET /public/listings/{id}/facebook-data
12
+ * 3. fb-manager posts to matched Facebook groups
13
+ * 4. fb-manager calls POST /public/listings/{id}/broadcast-callback with results
14
+ * 5. sync-broadcast endpoint can poll fb-manager for live status during broadcasting
15
+ */
16
+ import { OpenAPIHono } from "@hono/zod-openapi";
17
+ import type { AppBindings } from "../app";
18
+ export declare const listingPublicationsApp: OpenAPIHono<AppBindings, {
19
+ "/listings/:id/publications": {
20
+ $get: {
21
+ input: {
22
+ param: {
23
+ id: string;
24
+ };
25
+ };
26
+ output: {
27
+ error: string;
28
+ };
29
+ outputFormat: "json";
30
+ status: 401;
31
+ } | {
32
+ input: {
33
+ param: {
34
+ id: string;
35
+ };
36
+ };
37
+ output: {
38
+ error: string;
39
+ };
40
+ outputFormat: "json";
41
+ status: 404;
42
+ } | {
43
+ input: {
44
+ param: {
45
+ id: string;
46
+ };
47
+ };
48
+ output: {
49
+ error: string;
50
+ };
51
+ outputFormat: "json";
52
+ status: 403;
53
+ } | {
54
+ input: {
55
+ param: {
56
+ id: string;
57
+ };
58
+ };
59
+ output: {
60
+ status: string;
61
+ id: string;
62
+ createdAt: string;
63
+ updatedAt: string;
64
+ publishedAt: string;
65
+ listingId: string;
66
+ channel: string;
67
+ broadcastStatus: string | null;
68
+ broadcastMeta: string | number | boolean | any[] | {
69
+ [x: string]: any;
70
+ } | null;
71
+ externalUrl: string | null;
72
+ notes: string | null;
73
+ }[];
74
+ outputFormat: "json";
75
+ status: 200;
76
+ };
77
+ };
78
+ } & {
79
+ "/listings/:id/publications": {
80
+ $post: {
81
+ input: {
82
+ param: {
83
+ id: string;
84
+ };
85
+ } & {
86
+ json: {
87
+ channel: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other";
88
+ publishedAt?: string | undefined;
89
+ externalUrl?: string | undefined;
90
+ notes?: string | undefined;
91
+ };
92
+ };
93
+ output: {
94
+ error: string;
95
+ };
96
+ outputFormat: "json";
97
+ status: 401;
98
+ } | {
99
+ input: {
100
+ param: {
101
+ id: string;
102
+ };
103
+ } & {
104
+ json: {
105
+ channel: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other";
106
+ publishedAt?: string | undefined;
107
+ externalUrl?: string | undefined;
108
+ notes?: string | undefined;
109
+ };
110
+ };
111
+ output: {
112
+ error: string;
113
+ };
114
+ outputFormat: "json";
115
+ status: 404;
116
+ } | {
117
+ input: {
118
+ param: {
119
+ id: string;
120
+ };
121
+ } & {
122
+ json: {
123
+ channel: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other";
124
+ publishedAt?: string | undefined;
125
+ externalUrl?: string | undefined;
126
+ notes?: string | undefined;
127
+ };
128
+ };
129
+ output: {
130
+ error: string;
131
+ };
132
+ outputFormat: "json";
133
+ status: 403;
134
+ } | {
135
+ input: {
136
+ param: {
137
+ id: string;
138
+ };
139
+ } & {
140
+ json: {
141
+ channel: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other";
142
+ publishedAt?: string | undefined;
143
+ externalUrl?: string | undefined;
144
+ notes?: string | undefined;
145
+ };
146
+ };
147
+ output: {
148
+ status: string;
149
+ id: string;
150
+ createdAt: string;
151
+ updatedAt: string;
152
+ publishedAt: string;
153
+ listingId: string;
154
+ channel: string;
155
+ broadcastStatus: string | null;
156
+ broadcastMeta: string | number | boolean | any[] | {
157
+ [x: string]: any;
158
+ } | null;
159
+ externalUrl: string | null;
160
+ notes: string | null;
161
+ };
162
+ outputFormat: "json";
163
+ status: 201;
164
+ };
165
+ };
166
+ } & {
167
+ "/listings/:id/publications/:publicationId": {
168
+ $patch: {
169
+ input: {
170
+ param: {
171
+ id: string;
172
+ publicationId: string;
173
+ };
174
+ } & {
175
+ json: {
176
+ status?: "active" | "archived" | undefined;
177
+ publishedAt?: string | undefined;
178
+ channel?: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other" | undefined;
179
+ externalUrl?: string | null | undefined;
180
+ notes?: string | null | undefined;
181
+ };
182
+ };
183
+ output: {
184
+ error: string;
185
+ };
186
+ outputFormat: "json";
187
+ status: 401;
188
+ } | {
189
+ input: {
190
+ param: {
191
+ id: string;
192
+ publicationId: string;
193
+ };
194
+ } & {
195
+ json: {
196
+ status?: "active" | "archived" | undefined;
197
+ publishedAt?: string | undefined;
198
+ channel?: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other" | undefined;
199
+ externalUrl?: string | null | undefined;
200
+ notes?: string | null | undefined;
201
+ };
202
+ };
203
+ output: {
204
+ error: string;
205
+ };
206
+ outputFormat: "json";
207
+ status: 404;
208
+ } | {
209
+ input: {
210
+ param: {
211
+ id: string;
212
+ publicationId: string;
213
+ };
214
+ } & {
215
+ json: {
216
+ status?: "active" | "archived" | undefined;
217
+ publishedAt?: string | undefined;
218
+ channel?: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other" | undefined;
219
+ externalUrl?: string | null | undefined;
220
+ notes?: string | null | undefined;
221
+ };
222
+ };
223
+ output: {
224
+ error: string;
225
+ };
226
+ outputFormat: "json";
227
+ status: 403;
228
+ } | {
229
+ input: {
230
+ param: {
231
+ id: string;
232
+ publicationId: string;
233
+ };
234
+ } & {
235
+ json: {
236
+ status?: "active" | "archived" | undefined;
237
+ publishedAt?: string | undefined;
238
+ channel?: "facebook" | "homii" | "blocket" | "hemnet" | "qasa" | "instagram" | "linkedin" | "website" | "other" | undefined;
239
+ externalUrl?: string | null | undefined;
240
+ notes?: string | null | undefined;
241
+ };
242
+ };
243
+ output: {
244
+ status: string;
245
+ id: string;
246
+ createdAt: string;
247
+ updatedAt: string;
248
+ publishedAt: string;
249
+ listingId: string;
250
+ channel: string;
251
+ broadcastStatus: string | null;
252
+ broadcastMeta: string | number | boolean | any[] | {
253
+ [x: string]: any;
254
+ } | null;
255
+ externalUrl: string | null;
256
+ notes: string | null;
257
+ };
258
+ outputFormat: "json";
259
+ status: 200;
260
+ };
261
+ };
262
+ } & {
263
+ "/listings/:id/publications/:publicationId": {
264
+ $delete: {
265
+ input: {
266
+ param: {
267
+ id: string;
268
+ publicationId: string;
269
+ };
270
+ };
271
+ output: {
272
+ error: string;
273
+ };
274
+ outputFormat: "json";
275
+ status: 401;
276
+ } | {
277
+ input: {
278
+ param: {
279
+ id: string;
280
+ publicationId: string;
281
+ };
282
+ };
283
+ output: {
284
+ error: string;
285
+ };
286
+ outputFormat: "json";
287
+ status: 404;
288
+ } | {
289
+ input: {
290
+ param: {
291
+ id: string;
292
+ publicationId: string;
293
+ };
294
+ };
295
+ output: {
296
+ error: string;
297
+ };
298
+ outputFormat: "json";
299
+ status: 403;
300
+ } | {
301
+ input: {
302
+ param: {
303
+ id: string;
304
+ publicationId: string;
305
+ };
306
+ };
307
+ output: {
308
+ success: boolean;
309
+ };
310
+ outputFormat: "json";
311
+ status: 200;
312
+ };
313
+ };
314
+ } & {
315
+ "/listings/:id/publications/:publicationId/sync-broadcast": {
316
+ $post: {
317
+ input: {
318
+ param: {
319
+ id: string;
320
+ publicationId: string;
321
+ };
322
+ };
323
+ output: {
324
+ error: string;
325
+ };
326
+ outputFormat: "json";
327
+ status: 401;
328
+ } | {
329
+ input: {
330
+ param: {
331
+ id: string;
332
+ publicationId: string;
333
+ };
334
+ };
335
+ output: {
336
+ error: string;
337
+ };
338
+ outputFormat: "json";
339
+ status: 404;
340
+ } | {
341
+ input: {
342
+ param: {
343
+ id: string;
344
+ publicationId: string;
345
+ };
346
+ };
347
+ output: {
348
+ error: string;
349
+ };
350
+ outputFormat: "json";
351
+ status: 403;
352
+ } | {
353
+ input: {
354
+ param: {
355
+ id: string;
356
+ publicationId: string;
357
+ };
358
+ };
359
+ output: {
360
+ status: string;
361
+ id: string;
362
+ createdAt: string;
363
+ updatedAt: string;
364
+ publishedAt: string;
365
+ listingId: string;
366
+ channel: string;
367
+ broadcastStatus: string | null;
368
+ broadcastMeta: string | number | boolean | any[] | {
369
+ [x: string]: any;
370
+ } | null;
371
+ externalUrl: string | null;
372
+ notes: string | null;
373
+ };
374
+ outputFormat: "json";
375
+ status: 200;
376
+ } | {
377
+ input: {
378
+ param: {
379
+ id: string;
380
+ publicationId: string;
381
+ };
382
+ };
383
+ output: {
384
+ error: string;
385
+ };
386
+ outputFormat: "json";
387
+ status: 502;
388
+ };
389
+ };
390
+ } & {
391
+ "/listings/:id/trigger-broadcast": {
392
+ $post: {
393
+ input: {
394
+ param: {
395
+ id: string;
396
+ };
397
+ };
398
+ output: {
399
+ error: string;
400
+ };
401
+ outputFormat: "json";
402
+ status: 401;
403
+ } | {
404
+ input: {
405
+ param: {
406
+ id: string;
407
+ };
408
+ };
409
+ output: {
410
+ error: string;
411
+ };
412
+ outputFormat: "json";
413
+ status: 404;
414
+ } | {
415
+ input: {
416
+ param: {
417
+ id: string;
418
+ };
419
+ };
420
+ output: {
421
+ error: string;
422
+ };
423
+ outputFormat: "json";
424
+ status: 400;
425
+ } | {
426
+ input: {
427
+ param: {
428
+ id: string;
429
+ };
430
+ };
431
+ output: {
432
+ error: string;
433
+ };
434
+ outputFormat: "json";
435
+ status: 403;
436
+ } | {
437
+ input: {
438
+ param: {
439
+ id: string;
440
+ };
441
+ };
442
+ output: {
443
+ error: string;
444
+ };
445
+ outputFormat: "json";
446
+ status: 502;
447
+ } | {
448
+ input: {
449
+ param: {
450
+ id: string;
451
+ };
452
+ };
453
+ output: {
454
+ success: boolean;
455
+ publicationId: string;
456
+ };
457
+ outputFormat: "json";
458
+ status: 202;
459
+ };
460
+ };
461
+ } & {
462
+ "/listings/:id/fb-status": {
463
+ $get: {
464
+ input: {
465
+ param: {
466
+ id: string;
467
+ };
468
+ };
469
+ output: {
470
+ error: string;
471
+ };
472
+ outputFormat: "json";
473
+ status: 401;
474
+ } | {
475
+ input: {
476
+ param: {
477
+ id: string;
478
+ };
479
+ };
480
+ output: {
481
+ error: string;
482
+ };
483
+ outputFormat: "json";
484
+ status: 404;
485
+ } | {
486
+ input: {
487
+ param: {
488
+ id: string;
489
+ };
490
+ };
491
+ output: {
492
+ error: string;
493
+ };
494
+ outputFormat: "json";
495
+ status: 403;
496
+ } | {
497
+ input: {
498
+ param: {
499
+ id: string;
500
+ };
501
+ };
502
+ output: {
503
+ error: string;
504
+ };
505
+ outputFormat: "json";
506
+ status: 502;
507
+ } | {
508
+ input: {
509
+ param: {
510
+ id: string;
511
+ };
512
+ };
513
+ output: {};
514
+ outputFormat: "json";
515
+ status: 200;
516
+ };
517
+ };
518
+ } & {
519
+ "/listings/:id/preview-homii": {
520
+ $get: {
521
+ input: {
522
+ param: {
523
+ id: string;
524
+ };
525
+ };
526
+ output: {
527
+ error: string;
528
+ };
529
+ outputFormat: "json";
530
+ status: 401;
531
+ } | {
532
+ input: {
533
+ param: {
534
+ id: string;
535
+ };
536
+ };
537
+ output: {
538
+ error: string;
539
+ };
540
+ outputFormat: "json";
541
+ status: 404;
542
+ } | {
543
+ input: {
544
+ param: {
545
+ id: string;
546
+ };
547
+ };
548
+ output: {
549
+ error: string;
550
+ };
551
+ outputFormat: "json";
552
+ status: 403;
553
+ } | {
554
+ input: {
555
+ param: {
556
+ id: string;
557
+ };
558
+ };
559
+ output: {
560
+ address: string;
561
+ payload: {
562
+ [x: string]: import("hono/utils/types").JSONValue;
563
+ } | null;
564
+ region: string | null;
565
+ canPost: boolean;
566
+ errors: string[];
567
+ warnings: string[];
568
+ sourceImageUrl: string | null;
569
+ };
570
+ outputFormat: "json";
571
+ status: 200;
572
+ };
573
+ };
574
+ } & {
575
+ "/listings/:id/trigger-homii": {
576
+ $post: {
577
+ input: {
578
+ param: {
579
+ id: string;
580
+ };
581
+ };
582
+ output: {
583
+ error: string;
584
+ };
585
+ outputFormat: "json";
586
+ status: 401;
587
+ } | {
588
+ input: {
589
+ param: {
590
+ id: string;
591
+ };
592
+ };
593
+ output: {
594
+ error: string;
595
+ };
596
+ outputFormat: "json";
597
+ status: 404;
598
+ } | {
599
+ input: {
600
+ param: {
601
+ id: string;
602
+ };
603
+ };
604
+ output: {
605
+ error: string;
606
+ };
607
+ outputFormat: "json";
608
+ status: 400;
609
+ } | {
610
+ input: {
611
+ param: {
612
+ id: string;
613
+ };
614
+ };
615
+ output: {
616
+ error: string;
617
+ };
618
+ outputFormat: "json";
619
+ status: 403;
620
+ } | {
621
+ input: {
622
+ param: {
623
+ id: string;
624
+ };
625
+ };
626
+ output: {
627
+ error: string | null;
628
+ success: boolean;
629
+ publicationId: string;
630
+ homiiUrl: string | null;
631
+ };
632
+ outputFormat: "json";
633
+ status: 200;
634
+ };
635
+ };
636
+ }, "/">;