@xtandard/webhooks 0.1.2 → 0.1.4

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 (82) hide show
  1. package/README.md +9 -6
  2. package/dist/cli.cjs +4 -4
  3. package/dist/cli.mjs +4 -4
  4. package/dist/{core-B1JzRitF.mjs → core-CSnkgzmP.mjs} +2 -2
  5. package/dist/{core-B1JzRitF.mjs.map → core-CSnkgzmP.mjs.map} +1 -1
  6. package/dist/{core-DuHD0Rdg.cjs → core-FOX5QhoI.cjs} +2 -2
  7. package/dist/{core-DuHD0Rdg.cjs.map → core-FOX5QhoI.cjs.map} +1 -1
  8. package/dist/core.cjs +1 -1
  9. package/dist/core.mjs +1 -1
  10. package/dist/{create-fetch-handler-BNsNcspj.cjs → create-fetch-handler-B9gukX_e.cjs} +3 -3
  11. package/dist/{create-fetch-handler-BNsNcspj.cjs.map → create-fetch-handler-B9gukX_e.cjs.map} +1 -1
  12. package/dist/{create-fetch-handler-C6BqzdsN.mjs → create-fetch-handler-KPASJUhE.mjs} +3 -3
  13. package/dist/{create-fetch-handler-C6BqzdsN.mjs.map → create-fetch-handler-KPASJUhE.mjs.map} +1 -1
  14. package/dist/{dispatcher-CFfWo-fN.mjs → dispatcher-DIcpJOU0.mjs} +3 -3
  15. package/dist/{dispatcher-CFfWo-fN.mjs.map → dispatcher-DIcpJOU0.mjs.map} +1 -1
  16. package/dist/{dispatcher-COdWV6hM.cjs → dispatcher-Dw8nhSxY.cjs} +3 -3
  17. package/dist/{dispatcher-COdWV6hM.cjs.map → dispatcher-Dw8nhSxY.cjs.map} +1 -1
  18. package/dist/elysia-shared-Bhsy8h_n.cjs +58 -0
  19. package/dist/elysia-shared-Bhsy8h_n.cjs.map +1 -0
  20. package/dist/elysia-shared-BlmFhfOV.mjs +47 -0
  21. package/dist/elysia-shared-BlmFhfOV.mjs.map +1 -0
  22. package/dist/elysia-shared-CvSsqMbR.d.mts +19 -0
  23. package/dist/elysia-shared-DSSrfuoF.d.cts +19 -0
  24. package/dist/entry-bun.cjs +1 -1
  25. package/dist/entry-bun.mjs +1 -1
  26. package/dist/entry-elysia.cjs +5 -25
  27. package/dist/entry-elysia.cjs.map +1 -1
  28. package/dist/entry-elysia.d.cts +5 -15
  29. package/dist/entry-elysia.d.mts +5 -15
  30. package/dist/entry-elysia.mjs +4 -24
  31. package/dist/entry-elysia.mjs.map +1 -1
  32. package/dist/entry-elysia2.cjs +95 -0
  33. package/dist/entry-elysia2.cjs.map +1 -0
  34. package/dist/entry-elysia2.d.cts +1273 -0
  35. package/dist/entry-elysia2.d.mts +1273 -0
  36. package/dist/entry-elysia2.mjs +93 -0
  37. package/dist/entry-elysia2.mjs.map +1 -0
  38. package/dist/entry-express.cjs +1 -1
  39. package/dist/entry-express.mjs +1 -1
  40. package/dist/entry-hono.cjs +1 -1
  41. package/dist/entry-hono.mjs +1 -1
  42. package/dist/index.cjs +3 -3
  43. package/dist/index.d.cts +1 -1
  44. package/dist/index.d.mts +1 -1
  45. package/dist/index.mjs +3 -3
  46. package/dist/react.css +1 -1
  47. package/dist/react.js +4928 -4944
  48. package/dist/testing.cjs +2 -2
  49. package/dist/testing.mjs +2 -2
  50. package/dist/types-elysia2/adapters/elysia-shared.d.ts +34 -0
  51. package/dist/types-elysia2/adapters/elysia2.d.ts +820 -0
  52. package/dist/types-elysia2/auth/contract.d.ts +26 -0
  53. package/dist/types-elysia2/authorization/contract.d.ts +50 -0
  54. package/dist/types-elysia2/canonical.d.ts +27 -0
  55. package/dist/types-elysia2/core.d.ts +344 -0
  56. package/dist/types-elysia2/deliver.d.ts +79 -0
  57. package/dist/types-elysia2/delivery-sink.d.ts +57 -0
  58. package/dist/types-elysia2/dispatcher.d.ts +80 -0
  59. package/dist/types-elysia2/duration.d.ts +26 -0
  60. package/dist/types-elysia2/entry-elysia2.d.ts +8 -0
  61. package/dist/types-elysia2/hooks/contract.d.ts +203 -0
  62. package/dist/types-elysia2/id.d.ts +24 -0
  63. package/dist/types-elysia2/keys.d.ts +98 -0
  64. package/dist/types-elysia2/portal.d.ts +69 -0
  65. package/dist/types-elysia2/schema.d.ts +229 -0
  66. package/dist/types-elysia2/server/base-path.d.ts +15 -0
  67. package/dist/types-elysia2/server/cors.d.ts +36 -0
  68. package/dist/types-elysia2/server/create-fetch-handler.d.ts +121 -0
  69. package/dist/types-elysia2/server/openapi.d.ts +25 -0
  70. package/dist/types-elysia2/server/render-index-html.d.ts +18 -0
  71. package/dist/types-elysia2/server/routes.d.ts +52 -0
  72. package/dist/types-elysia2/server/static-assets.d.ts +13 -0
  73. package/dist/types-elysia2/signing.d.ts +88 -0
  74. package/dist/types-elysia2/storage/contract.d.ts +75 -0
  75. package/dist/types-elysia2/validation.d.ts +82 -0
  76. package/dist/types-elysia2/version.d.ts +8 -0
  77. package/dist/types-react/react.d.ts +16 -3
  78. package/dist/types-react/ui/App.d.ts +3 -1
  79. package/dist/types-react/ui/theme.d.ts +33 -5
  80. package/dist/ui/assets/{index-BgyX_njf.js → index-BJcdnARt.js} +48 -48
  81. package/dist/ui/index.html +1 -1
  82. package/package.json +21 -5
@@ -0,0 +1,820 @@
1
+ /**
2
+ * Elysia **2.x** adapter — same surface as `@xtandard/webhooks/elysia`, built
3
+ * against Elysia 2's types and its `(path, hook, handler)` route order. Use
4
+ * `@xtandard/webhooks/elysia` for Elysia 1.x.
5
+ *
6
+ * ```ts
7
+ * new Elysia().mount("/webhooks", webhooksPanel({ basePath: "/webhooks", storage }));
8
+ * // or, typed for Eden treaty (`@elysia/eden`):
9
+ * const app = new Elysia().use(webhooksElysia({ prefix: "/webhooks", storage }));
10
+ * ```
11
+ *
12
+ * The panel starts the delivery dispatcher by default; pass `dispatcher: false`
13
+ * for split-worker deployments.
14
+ *
15
+ * @module
16
+ */
17
+ import { webhooksPanel, type ElysiaWebhooksHandler, type WebhooksElysiaOptions, type WebhooksPanelOptions } from "./elysia-shared.ts";
18
+ export { webhooksPanel };
19
+ export type { ElysiaWebhooksHandler, WebhooksElysiaOptions, WebhooksPanelOptions };
20
+ /**
21
+ * Typed Elysia plugin exposing the admin API so the **Eden** client can call it
22
+ * with full path/method/param typing (`edenClient.webhooks.api.applications.get()`).
23
+ * Routes are declared for the typed surface; every handler delegates to the
24
+ * shared fetch pipeline (auth, authorization, portal scoping, error mapping
25
+ * reused). A catch-all also serves the bundled UI.
26
+ *
27
+ * Elysia 2.x only — for Elysia 1.x import from `@xtandard/webhooks/elysia`.
28
+ */
29
+ export declare function webhooksElysia(options: WebhooksElysiaOptions): import("elysia/types").AddRoute<string, "local", import("elysia").DefaultSingleton, {
30
+ typebox: {};
31
+ error: [];
32
+ }, import("elysia").DefaultMetadata, {
33
+ [x: string]: {
34
+ config: {
35
+ get: {
36
+ body: unknown;
37
+ params: {};
38
+ query: unknown;
39
+ headers: unknown;
40
+ response: {
41
+ 200: Response;
42
+ };
43
+ error: never;
44
+ };
45
+ };
46
+ };
47
+ } & {
48
+ [x: string]: {
49
+ api: {
50
+ "openapi.json": {
51
+ get: {
52
+ body: unknown;
53
+ params: {};
54
+ query: unknown;
55
+ headers: unknown;
56
+ response: {
57
+ 200: Response;
58
+ };
59
+ error: never;
60
+ };
61
+ };
62
+ };
63
+ };
64
+ } & {
65
+ [x: string]: {
66
+ api: {
67
+ "event-types.json": {
68
+ get: {
69
+ body: unknown;
70
+ params: {};
71
+ query: unknown;
72
+ headers: unknown;
73
+ response: {
74
+ 200: Response;
75
+ };
76
+ error: never;
77
+ };
78
+ };
79
+ };
80
+ };
81
+ } & {
82
+ [x: string]: {
83
+ api: {
84
+ applications: {
85
+ get: {
86
+ body: unknown;
87
+ params: {};
88
+ query: unknown;
89
+ headers: unknown;
90
+ response: {
91
+ 200: Response;
92
+ };
93
+ error: never;
94
+ };
95
+ };
96
+ };
97
+ };
98
+ } & {
99
+ [x: string]: {
100
+ api: {
101
+ applications: {
102
+ post: {
103
+ body: {
104
+ name?: string | undefined;
105
+ metadata?: any;
106
+ key: string;
107
+ };
108
+ params: {};
109
+ query: unknown;
110
+ headers: unknown;
111
+ response: {
112
+ 200: Response;
113
+ 422: {
114
+ type: "validation";
115
+ code: "validation";
116
+ title: "Validation Error";
117
+ status: 422;
118
+ detail?: string;
119
+ on: string;
120
+ found?: unknown;
121
+ property?: string;
122
+ expected?: string;
123
+ };
124
+ };
125
+ error: never;
126
+ };
127
+ };
128
+ };
129
+ };
130
+ } & {
131
+ [x: string]: {
132
+ api: {
133
+ applications: {
134
+ ":app": {
135
+ get: {
136
+ body: unknown;
137
+ params: {
138
+ app: string;
139
+ };
140
+ query: unknown;
141
+ headers: unknown;
142
+ response: {
143
+ 200: Response;
144
+ };
145
+ error: never;
146
+ };
147
+ };
148
+ };
149
+ };
150
+ };
151
+ } & {
152
+ [x: string]: {
153
+ api: {
154
+ applications: {
155
+ ":app": {
156
+ put: {
157
+ body: unknown;
158
+ params: {
159
+ app: string;
160
+ };
161
+ query: unknown;
162
+ headers: unknown;
163
+ response: {
164
+ 200: Response;
165
+ };
166
+ error: never;
167
+ };
168
+ };
169
+ };
170
+ };
171
+ };
172
+ } & {
173
+ [x: string]: {
174
+ api: {
175
+ applications: {
176
+ ":app": {
177
+ delete: {
178
+ body: unknown;
179
+ params: {
180
+ app: string;
181
+ };
182
+ query: unknown;
183
+ headers: unknown;
184
+ response: {
185
+ 200: Response;
186
+ };
187
+ error: never;
188
+ };
189
+ };
190
+ };
191
+ };
192
+ };
193
+ } & {
194
+ [x: string]: {
195
+ api: {
196
+ "event-types": {
197
+ get: {
198
+ body: unknown;
199
+ params: {};
200
+ query: unknown;
201
+ headers: unknown;
202
+ response: {
203
+ 200: Response;
204
+ };
205
+ error: never;
206
+ };
207
+ };
208
+ };
209
+ };
210
+ } & {
211
+ [x: string]: {
212
+ api: {
213
+ "event-types": {
214
+ post: {
215
+ body: {
216
+ schema?: any;
217
+ description?: string | undefined;
218
+ groupName?: string | undefined;
219
+ deprecated?: boolean | undefined;
220
+ name: string;
221
+ };
222
+ params: {};
223
+ query: unknown;
224
+ headers: unknown;
225
+ response: {
226
+ 200: Response;
227
+ 422: {
228
+ type: "validation";
229
+ code: "validation";
230
+ title: "Validation Error";
231
+ status: 422;
232
+ detail?: string;
233
+ on: string;
234
+ found?: unknown;
235
+ property?: string;
236
+ expected?: string;
237
+ };
238
+ };
239
+ error: never;
240
+ };
241
+ };
242
+ };
243
+ };
244
+ } & {
245
+ [x: string]: {
246
+ api: {
247
+ "event-types": {
248
+ ":name": {
249
+ get: {
250
+ body: unknown;
251
+ params: {
252
+ name: string;
253
+ };
254
+ query: unknown;
255
+ headers: unknown;
256
+ response: {
257
+ 200: Response;
258
+ };
259
+ error: never;
260
+ };
261
+ };
262
+ };
263
+ };
264
+ };
265
+ } & {
266
+ [x: string]: {
267
+ api: {
268
+ "event-types": {
269
+ ":name": {
270
+ put: {
271
+ body: unknown;
272
+ params: {
273
+ name: string;
274
+ };
275
+ query: unknown;
276
+ headers: unknown;
277
+ response: {
278
+ 200: Response;
279
+ };
280
+ error: never;
281
+ };
282
+ };
283
+ };
284
+ };
285
+ };
286
+ } & {
287
+ [x: string]: {
288
+ api: {
289
+ "event-types": {
290
+ ":name": {
291
+ delete: {
292
+ body: unknown;
293
+ params: {
294
+ name: string;
295
+ };
296
+ query: unknown;
297
+ headers: unknown;
298
+ response: {
299
+ 200: Response;
300
+ };
301
+ error: never;
302
+ };
303
+ };
304
+ };
305
+ };
306
+ };
307
+ } & {
308
+ [x: string]: {
309
+ api: {
310
+ applications: {
311
+ ":app": {
312
+ endpoints: {
313
+ get: {
314
+ body: unknown;
315
+ params: {
316
+ app: string;
317
+ };
318
+ query: unknown;
319
+ headers: unknown;
320
+ response: {
321
+ 200: Response;
322
+ };
323
+ error: never;
324
+ };
325
+ };
326
+ };
327
+ };
328
+ };
329
+ };
330
+ } & {
331
+ [x: string]: {
332
+ api: {
333
+ applications: {
334
+ ":app": {
335
+ endpoints: {
336
+ post: {
337
+ body: {
338
+ headers?: Record<string, string> | undefined;
339
+ disabled?: boolean | undefined;
340
+ metadata?: any;
341
+ description?: string | undefined;
342
+ eventTypes?: string[] | undefined;
343
+ url: string;
344
+ };
345
+ params: {
346
+ app: string;
347
+ };
348
+ query: unknown;
349
+ headers: unknown;
350
+ response: {
351
+ 200: Response;
352
+ 422: {
353
+ type: "validation";
354
+ code: "validation";
355
+ title: "Validation Error";
356
+ status: 422;
357
+ detail?: string;
358
+ on: string;
359
+ found?: unknown;
360
+ property?: string;
361
+ expected?: string;
362
+ };
363
+ };
364
+ error: never;
365
+ };
366
+ };
367
+ };
368
+ };
369
+ };
370
+ };
371
+ } & {
372
+ [x: string]: {
373
+ api: {
374
+ applications: {
375
+ ":app": {
376
+ endpoints: {
377
+ ":id": {
378
+ get: {
379
+ body: unknown;
380
+ params: {
381
+ id: string;
382
+ app: string;
383
+ };
384
+ query: unknown;
385
+ headers: unknown;
386
+ response: {
387
+ 200: Response;
388
+ };
389
+ error: never;
390
+ };
391
+ };
392
+ };
393
+ };
394
+ };
395
+ };
396
+ };
397
+ } & {
398
+ [x: string]: {
399
+ api: {
400
+ applications: {
401
+ ":app": {
402
+ endpoints: {
403
+ ":id": {
404
+ put: {
405
+ body: unknown;
406
+ params: {
407
+ id: string;
408
+ app: string;
409
+ };
410
+ query: unknown;
411
+ headers: unknown;
412
+ response: {
413
+ 200: Response;
414
+ };
415
+ error: never;
416
+ };
417
+ };
418
+ };
419
+ };
420
+ };
421
+ };
422
+ };
423
+ } & {
424
+ [x: string]: {
425
+ api: {
426
+ applications: {
427
+ ":app": {
428
+ endpoints: {
429
+ ":id": {
430
+ delete: {
431
+ body: unknown;
432
+ params: {
433
+ id: string;
434
+ app: string;
435
+ };
436
+ query: unknown;
437
+ headers: unknown;
438
+ response: {
439
+ 200: Response;
440
+ };
441
+ error: never;
442
+ };
443
+ };
444
+ };
445
+ };
446
+ };
447
+ };
448
+ };
449
+ } & {
450
+ [x: string]: {
451
+ api: {
452
+ applications: {
453
+ ":app": {
454
+ endpoints: {
455
+ ":id": {
456
+ secret: {
457
+ get: {
458
+ body: unknown;
459
+ params: {
460
+ id: string;
461
+ app: string;
462
+ };
463
+ query: unknown;
464
+ headers: unknown;
465
+ response: {
466
+ 200: Response;
467
+ };
468
+ error: never;
469
+ };
470
+ };
471
+ };
472
+ };
473
+ };
474
+ };
475
+ };
476
+ };
477
+ } & {
478
+ [x: string]: {
479
+ api: {
480
+ applications: {
481
+ ":app": {
482
+ endpoints: {
483
+ ":id": {
484
+ "rotate-secret": {
485
+ post: {
486
+ body: unknown;
487
+ params: {
488
+ id: string;
489
+ app: string;
490
+ };
491
+ query: unknown;
492
+ headers: unknown;
493
+ response: {
494
+ 200: Response;
495
+ };
496
+ error: never;
497
+ };
498
+ };
499
+ };
500
+ };
501
+ };
502
+ };
503
+ };
504
+ };
505
+ } & {
506
+ [x: string]: {
507
+ api: {
508
+ applications: {
509
+ ":app": {
510
+ endpoints: {
511
+ ":id": {
512
+ enable: {
513
+ post: {
514
+ body: unknown;
515
+ params: {
516
+ id: string;
517
+ app: string;
518
+ };
519
+ query: unknown;
520
+ headers: unknown;
521
+ response: {
522
+ 200: Response;
523
+ };
524
+ error: never;
525
+ };
526
+ };
527
+ };
528
+ };
529
+ };
530
+ };
531
+ };
532
+ };
533
+ } & {
534
+ [x: string]: {
535
+ api: {
536
+ applications: {
537
+ ":app": {
538
+ endpoints: {
539
+ ":id": {
540
+ disable: {
541
+ post: {
542
+ body: unknown;
543
+ params: {
544
+ id: string;
545
+ app: string;
546
+ };
547
+ query: unknown;
548
+ headers: unknown;
549
+ response: {
550
+ 200: Response;
551
+ };
552
+ error: never;
553
+ };
554
+ };
555
+ };
556
+ };
557
+ };
558
+ };
559
+ };
560
+ };
561
+ } & {
562
+ [x: string]: {
563
+ api: {
564
+ applications: {
565
+ ":app": {
566
+ endpoints: {
567
+ ":id": {
568
+ test: {
569
+ post: {
570
+ body: {
571
+ payload?: any;
572
+ eventType: string;
573
+ };
574
+ params: {
575
+ id: string;
576
+ app: string;
577
+ };
578
+ query: unknown;
579
+ headers: unknown;
580
+ response: {
581
+ 200: Response;
582
+ 422: {
583
+ type: "validation";
584
+ code: "validation";
585
+ title: "Validation Error";
586
+ status: 422;
587
+ detail?: string;
588
+ on: string;
589
+ found?: unknown;
590
+ property?: string;
591
+ expected?: string;
592
+ };
593
+ };
594
+ error: never;
595
+ };
596
+ };
597
+ };
598
+ };
599
+ };
600
+ };
601
+ };
602
+ };
603
+ } & {
604
+ [x: string]: {
605
+ api: {
606
+ applications: {
607
+ ":app": {
608
+ endpoints: {
609
+ ":id": {
610
+ recover: {
611
+ post: {
612
+ body: {
613
+ since: string;
614
+ };
615
+ params: {
616
+ id: string;
617
+ app: string;
618
+ };
619
+ query: unknown;
620
+ headers: unknown;
621
+ response: {
622
+ 200: Response;
623
+ 422: {
624
+ type: "validation";
625
+ code: "validation";
626
+ title: "Validation Error";
627
+ status: 422;
628
+ detail?: string;
629
+ on: string;
630
+ found?: unknown;
631
+ property?: string;
632
+ expected?: string;
633
+ };
634
+ };
635
+ error: never;
636
+ };
637
+ };
638
+ };
639
+ };
640
+ };
641
+ };
642
+ };
643
+ };
644
+ } & {
645
+ [x: string]: {
646
+ api: {
647
+ applications: {
648
+ ":app": {
649
+ messages: {
650
+ get: {
651
+ body: unknown;
652
+ params: {
653
+ app: string;
654
+ };
655
+ query: unknown;
656
+ headers: unknown;
657
+ response: {
658
+ 200: Response;
659
+ };
660
+ error: never;
661
+ };
662
+ };
663
+ };
664
+ };
665
+ };
666
+ };
667
+ } & {
668
+ [x: string]: {
669
+ api: {
670
+ applications: {
671
+ ":app": {
672
+ messages: {
673
+ post: {
674
+ body: {
675
+ idempotencyKey?: string | undefined;
676
+ timestamp?: string | undefined;
677
+ eventType: string;
678
+ payload: any;
679
+ };
680
+ params: {
681
+ app: string;
682
+ };
683
+ query: unknown;
684
+ headers: unknown;
685
+ response: {
686
+ 200: Response;
687
+ 422: {
688
+ type: "validation";
689
+ code: "validation";
690
+ title: "Validation Error";
691
+ status: 422;
692
+ detail?: string;
693
+ on: string;
694
+ found?: unknown;
695
+ property?: string;
696
+ expected?: string;
697
+ };
698
+ };
699
+ error: never;
700
+ };
701
+ };
702
+ };
703
+ };
704
+ };
705
+ };
706
+ } & {
707
+ [x: string]: {
708
+ api: {
709
+ applications: {
710
+ ":app": {
711
+ messages: {
712
+ ":id": {
713
+ get: {
714
+ body: unknown;
715
+ params: {
716
+ id: string;
717
+ app: string;
718
+ };
719
+ query: unknown;
720
+ headers: unknown;
721
+ response: {
722
+ 200: Response;
723
+ };
724
+ error: never;
725
+ };
726
+ };
727
+ };
728
+ };
729
+ };
730
+ };
731
+ };
732
+ } & {
733
+ [x: string]: {
734
+ api: {
735
+ applications: {
736
+ ":app": {
737
+ deliveries: {
738
+ get: {
739
+ body: unknown;
740
+ params: {
741
+ app: string;
742
+ };
743
+ query: unknown;
744
+ headers: unknown;
745
+ response: {
746
+ 200: Response;
747
+ };
748
+ error: never;
749
+ };
750
+ };
751
+ };
752
+ };
753
+ };
754
+ };
755
+ } & {
756
+ [x: string]: {
757
+ api: {
758
+ applications: {
759
+ ":app": {
760
+ deliveries: {
761
+ ":id": {
762
+ get: {
763
+ body: unknown;
764
+ params: {
765
+ id: string;
766
+ app: string;
767
+ };
768
+ query: unknown;
769
+ headers: unknown;
770
+ response: {
771
+ 200: Response;
772
+ };
773
+ error: never;
774
+ };
775
+ };
776
+ };
777
+ };
778
+ };
779
+ };
780
+ };
781
+ } & {
782
+ [x: string]: {
783
+ api: {
784
+ applications: {
785
+ ":app": {
786
+ deliveries: {
787
+ ":id": {
788
+ retry: {
789
+ post: {
790
+ body: unknown;
791
+ params: {
792
+ id: string;
793
+ app: string;
794
+ };
795
+ query: unknown;
796
+ headers: unknown;
797
+ response: {
798
+ 200: Response;
799
+ };
800
+ error: never;
801
+ };
802
+ };
803
+ };
804
+ };
805
+ };
806
+ };
807
+ };
808
+ };
809
+ }, import("elysia").DefaultEphemeral, import("elysia").DefaultEphemeral, "get", "/api/applications/:app/audit", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{
810
+ params: import("typebox").TObject<{
811
+ app: import("typebox").TString;
812
+ }>;
813
+ }, {}, `${string}/api/applications/:app/audit`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, (ctx: {
814
+ request: Request;
815
+ body?: unknown;
816
+ }) => Promise<Response>, {
817
+ params: import("typebox").TObject<{
818
+ app: import("typebox").TString;
819
+ }>;
820
+ }>;