@voyant-travel/apps 0.5.0 → 0.6.1

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.
@@ -0,0 +1,859 @@
1
+ import { z } from "@hono/zod-openapi";
2
+ export declare const listAppsRoute: {
3
+ method: "get";
4
+ path: "/";
5
+ request: {
6
+ query: z.ZodObject<{
7
+ ownerId: z.ZodOptional<z.ZodString>;
8
+ distribution: z.ZodOptional<z.ZodEnum<{
9
+ custom: "custom";
10
+ marketplace: "marketplace";
11
+ }>>;
12
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
13
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
14
+ }, z.core.$strip>;
15
+ };
16
+ responses: {
17
+ 200: {
18
+ description: string;
19
+ content: {
20
+ "application/json": {
21
+ schema: z.ZodObject<{
22
+ data: z.ZodArray<z.ZodUnknown>;
23
+ total: z.ZodNumber;
24
+ limit: z.ZodNumber;
25
+ offset: z.ZodNumber;
26
+ }, z.core.$strip>;
27
+ };
28
+ };
29
+ };
30
+ };
31
+ } & {
32
+ getRoutingPath(): "/";
33
+ };
34
+ export declare const createCustomAppRoute: {
35
+ method: "post";
36
+ path: "/";
37
+ request: {
38
+ body: {
39
+ required: boolean;
40
+ content: {
41
+ "application/json": {
42
+ schema: z.ZodObject<{
43
+ ownerId: z.ZodString;
44
+ displayName: z.ZodString;
45
+ slug: z.ZodString;
46
+ redirectUris: z.ZodDefault<z.ZodArray<z.ZodString>>;
47
+ createdBy: z.ZodString;
48
+ }, z.core.$strict>;
49
+ };
50
+ };
51
+ };
52
+ };
53
+ responses: {
54
+ 201: {
55
+ description: string;
56
+ content: {
57
+ "application/json": {
58
+ schema: z.ZodObject<{
59
+ data: z.ZodUnknown;
60
+ }, z.core.$strip>;
61
+ };
62
+ };
63
+ };
64
+ 409: {
65
+ description: string;
66
+ content: {
67
+ "application/json": {
68
+ schema: z.ZodObject<{
69
+ error: z.ZodString;
70
+ }, z.core.$strip>;
71
+ };
72
+ };
73
+ };
74
+ };
75
+ } & {
76
+ getRoutingPath(): "/";
77
+ };
78
+ export declare const authorizeAppOAuthRoute: {
79
+ method: "post";
80
+ path: "/oauth/authorize";
81
+ request: {
82
+ body: {
83
+ required: boolean;
84
+ content: {
85
+ "application/json": {
86
+ schema: z.ZodObject<{
87
+ response_type: z.ZodLiteral<"code">;
88
+ client_id: z.ZodString;
89
+ release_id: z.ZodString;
90
+ redirect_uri: z.ZodString;
91
+ state: z.ZodString;
92
+ code_challenge: z.ZodString;
93
+ code_challenge_method: z.ZodLiteral<"S256">;
94
+ actor_id: z.ZodString;
95
+ operator_scopes: z.ZodDefault<z.ZodString>;
96
+ optional_scopes: z.ZodDefault<z.ZodString>;
97
+ }, z.core.$strict>;
98
+ };
99
+ };
100
+ };
101
+ };
102
+ responses: {
103
+ 200: {
104
+ description: string;
105
+ content: {
106
+ "application/json": {
107
+ schema: z.ZodObject<{
108
+ data: z.ZodObject<{
109
+ redirectUrl: z.ZodString;
110
+ state: z.ZodString;
111
+ }, z.core.$strip>;
112
+ }, z.core.$strip>;
113
+ };
114
+ };
115
+ };
116
+ 501: {
117
+ description: string;
118
+ content: {
119
+ "application/json": {
120
+ schema: z.ZodObject<{
121
+ error: z.ZodString;
122
+ }, z.core.$strip>;
123
+ };
124
+ };
125
+ };
126
+ };
127
+ } & {
128
+ getRoutingPath(): "/oauth/authorize";
129
+ };
130
+ export declare const issueAppOAuthTokenRoute: {
131
+ method: "post";
132
+ path: "/oauth/token";
133
+ request: {
134
+ body: {
135
+ required: boolean;
136
+ content: {
137
+ "application/json": {
138
+ schema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
139
+ grant_type: z.ZodLiteral<"authorization_code">;
140
+ code: z.ZodString;
141
+ redirect_uri: z.ZodString;
142
+ code_verifier: z.ZodString;
143
+ client_id: z.ZodString;
144
+ client_secret: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ grant_type: z.ZodLiteral<"refresh_token">;
147
+ refresh_token: z.ZodString;
148
+ client_id: z.ZodString;
149
+ client_secret: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strip>, z.ZodObject<{
151
+ grant_type: z.ZodLiteral<"urn:voyant:params:oauth:grant-type:actor-token-exchange">;
152
+ installation_id: z.ZodString;
153
+ viewer_id: z.ZodString;
154
+ viewer_scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
155
+ contextual_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
+ client_id: z.ZodString;
157
+ client_secret: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$strip>], "grant_type">, z.ZodTransform<{
159
+ client_secret: string | undefined;
160
+ grant_type: "authorization_code";
161
+ code: string;
162
+ redirect_uri: string;
163
+ code_verifier: string;
164
+ client_id: string;
165
+ } | {
166
+ client_secret: string | undefined;
167
+ grant_type: "refresh_token";
168
+ refresh_token: string;
169
+ client_id: string;
170
+ } | {
171
+ client_secret: string | undefined;
172
+ grant_type: "urn:voyant:params:oauth:grant-type:actor-token-exchange";
173
+ installation_id: string;
174
+ viewer_id: string;
175
+ viewer_scopes: string[];
176
+ client_id: string;
177
+ contextual_scopes?: string[] | undefined;
178
+ }, {
179
+ grant_type: "authorization_code";
180
+ code: string;
181
+ redirect_uri: string;
182
+ code_verifier: string;
183
+ client_id: string;
184
+ client_secret?: string | undefined;
185
+ } | {
186
+ grant_type: "refresh_token";
187
+ refresh_token: string;
188
+ client_id: string;
189
+ client_secret?: string | undefined;
190
+ } | {
191
+ grant_type: "urn:voyant:params:oauth:grant-type:actor-token-exchange";
192
+ installation_id: string;
193
+ viewer_id: string;
194
+ viewer_scopes: string[];
195
+ client_id: string;
196
+ contextual_scopes?: string[] | undefined;
197
+ client_secret?: string | undefined;
198
+ }>>;
199
+ };
200
+ };
201
+ };
202
+ };
203
+ responses: {
204
+ 200: {
205
+ description: string;
206
+ content: {
207
+ "application/json": {
208
+ schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
209
+ };
210
+ };
211
+ };
212
+ 501: {
213
+ description: string;
214
+ content: {
215
+ "application/json": {
216
+ schema: z.ZodObject<{
217
+ error: z.ZodString;
218
+ }, z.core.$strip>;
219
+ };
220
+ };
221
+ };
222
+ };
223
+ } & {
224
+ getRoutingPath(): "/oauth/token";
225
+ };
226
+ export declare const revokeAppInstallationCredentialsRoute: {
227
+ method: "post";
228
+ path: "/oauth/revoke-installation";
229
+ request: {
230
+ body: {
231
+ required: boolean;
232
+ content: {
233
+ "application/json": {
234
+ schema: z.ZodObject<{
235
+ installationId: z.ZodString;
236
+ actorId: z.ZodString;
237
+ }, z.core.$strict>;
238
+ };
239
+ };
240
+ };
241
+ };
242
+ responses: {
243
+ 200: {
244
+ description: string;
245
+ content: {
246
+ "application/json": {
247
+ schema: z.ZodObject<{
248
+ installationId: z.ZodString;
249
+ generation: z.ZodNumber;
250
+ }, z.core.$strip>;
251
+ };
252
+ };
253
+ };
254
+ 501: {
255
+ description: string;
256
+ content: {
257
+ "application/json": {
258
+ schema: z.ZodObject<{
259
+ error: z.ZodString;
260
+ }, z.core.$strip>;
261
+ };
262
+ };
263
+ };
264
+ };
265
+ } & {
266
+ getRoutingPath(): "/oauth/revoke-installation";
267
+ };
268
+ export declare const issueAppSessionTokenRoute: {
269
+ method: "post";
270
+ path: "/installations/{installationId}/session-token";
271
+ request: {
272
+ params: z.ZodObject<{
273
+ installationId: z.ZodString;
274
+ }, z.core.$strip>;
275
+ body: {
276
+ required: boolean;
277
+ content: {
278
+ "application/json": {
279
+ schema: z.ZodObject<{
280
+ entity: z.ZodOptional<z.ZodObject<{
281
+ type: z.ZodString;
282
+ id: z.ZodString;
283
+ }, z.core.$strict>>;
284
+ slot: z.ZodOptional<z.ZodString>;
285
+ }, z.core.$strict>;
286
+ };
287
+ };
288
+ };
289
+ };
290
+ responses: {
291
+ 201: {
292
+ description: string;
293
+ content: {
294
+ "application/json": {
295
+ schema: z.ZodObject<{
296
+ data: z.ZodUnknown;
297
+ }, z.core.$strip>;
298
+ };
299
+ };
300
+ };
301
+ 501: {
302
+ description: string;
303
+ content: {
304
+ "application/json": {
305
+ schema: z.ZodObject<{
306
+ error: z.ZodString;
307
+ }, z.core.$strip>;
308
+ };
309
+ };
310
+ };
311
+ };
312
+ } & {
313
+ getRoutingPath(): "/installations/:installationId/session-token";
314
+ };
315
+ export declare const exchangeAppSessionTokenRoute: {
316
+ method: "post";
317
+ path: "/oauth/session-token/exchange";
318
+ request: {
319
+ body: {
320
+ required: boolean;
321
+ content: {
322
+ "application/json": {
323
+ schema: z.ZodPipe<z.ZodObject<{
324
+ session_token: z.ZodString;
325
+ client_id: z.ZodString;
326
+ client_secret: z.ZodOptional<z.ZodString>;
327
+ viewer_scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
328
+ contextual_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
329
+ }, z.core.$strict>, z.ZodTransform<{
330
+ client_secret: string | undefined;
331
+ session_token: string;
332
+ client_id: string;
333
+ viewer_scopes: string[];
334
+ contextual_scopes?: string[] | undefined;
335
+ }, {
336
+ session_token: string;
337
+ client_id: string;
338
+ viewer_scopes: string[];
339
+ client_secret?: string | undefined;
340
+ contextual_scopes?: string[] | undefined;
341
+ }>>;
342
+ };
343
+ };
344
+ };
345
+ };
346
+ responses: {
347
+ 200: {
348
+ description: string;
349
+ content: {
350
+ "application/json": {
351
+ schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
352
+ };
353
+ };
354
+ };
355
+ 501: {
356
+ description: string;
357
+ content: {
358
+ "application/json": {
359
+ schema: z.ZodObject<{
360
+ error: z.ZodString;
361
+ }, z.core.$strip>;
362
+ };
363
+ };
364
+ };
365
+ };
366
+ } & {
367
+ getRoutingPath(): "/oauth/session-token/exchange";
368
+ };
369
+ export declare const installAppRoute: {
370
+ method: "post";
371
+ path: "/install";
372
+ request: {
373
+ body: {
374
+ required: boolean;
375
+ content: {
376
+ "application/json": {
377
+ schema: z.ZodObject<{
378
+ appId: z.ZodString;
379
+ releaseId: z.ZodString;
380
+ actorId: z.ZodString;
381
+ grantedOptionalScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
382
+ updatePolicy: z.ZodOptional<z.ZodEnum<{
383
+ manual: "manual";
384
+ compatible: "compatible";
385
+ patch: "patch";
386
+ pinned: "pinned";
387
+ }>>;
388
+ deploymentId: z.ZodOptional<z.ZodString>;
389
+ }, z.core.$strict>;
390
+ };
391
+ };
392
+ };
393
+ };
394
+ responses: {
395
+ 201: {
396
+ description: string;
397
+ content: {
398
+ "application/json": {
399
+ schema: z.ZodObject<{
400
+ data: z.ZodUnknown;
401
+ }, z.core.$strip>;
402
+ };
403
+ };
404
+ };
405
+ };
406
+ } & {
407
+ getRoutingPath(): "/install";
408
+ };
409
+ export declare const listAppInstallationsRoute: {
410
+ method: "get";
411
+ path: "/installations";
412
+ request: {
413
+ query: z.ZodObject<{
414
+ appId: z.ZodOptional<z.ZodString>;
415
+ status: z.ZodOptional<z.ZodEnum<{
416
+ active: "active";
417
+ pending: "pending";
418
+ authorizing: "authorizing";
419
+ paused: "paused";
420
+ degraded: "degraded";
421
+ revoked: "revoked";
422
+ uninstalled: "uninstalled";
423
+ }>>;
424
+ deploymentId: z.ZodOptional<z.ZodString>;
425
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
426
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
427
+ }, z.core.$strip>;
428
+ };
429
+ responses: {
430
+ 200: {
431
+ description: string;
432
+ content: {
433
+ "application/json": {
434
+ schema: z.ZodObject<{
435
+ data: z.ZodArray<z.ZodUnknown>;
436
+ total: z.ZodNumber;
437
+ limit: z.ZodNumber;
438
+ offset: z.ZodNumber;
439
+ }, z.core.$strip>;
440
+ };
441
+ };
442
+ };
443
+ };
444
+ } & {
445
+ getRoutingPath(): "/installations";
446
+ };
447
+ export declare const getAppInstallationRoute: {
448
+ method: "get";
449
+ path: "/installations/{installationId}";
450
+ request: {
451
+ params: z.ZodObject<{
452
+ installationId: z.ZodString;
453
+ }, z.core.$strip>;
454
+ };
455
+ responses: {
456
+ 200: {
457
+ description: string;
458
+ content: {
459
+ "application/json": {
460
+ schema: z.ZodObject<{
461
+ data: z.ZodUnknown;
462
+ }, z.core.$strip>;
463
+ };
464
+ };
465
+ };
466
+ 404: {
467
+ description: string;
468
+ content: {
469
+ "application/json": {
470
+ schema: z.ZodObject<{
471
+ error: z.ZodString;
472
+ }, z.core.$strip>;
473
+ };
474
+ };
475
+ };
476
+ };
477
+ } & {
478
+ getRoutingPath(): "/installations/:installationId";
479
+ };
480
+ export declare const listAppInstallationAuditRoute: {
481
+ method: "get";
482
+ path: "/installations/{installationId}/audit";
483
+ request: {
484
+ params: z.ZodObject<{
485
+ installationId: z.ZodString;
486
+ }, z.core.$strip>;
487
+ query: z.ZodObject<{
488
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
489
+ }, z.core.$strip>;
490
+ };
491
+ responses: {
492
+ 200: {
493
+ description: string;
494
+ content: {
495
+ "application/json": {
496
+ schema: z.ZodObject<{
497
+ data: z.ZodUnknown;
498
+ }, z.core.$strip>;
499
+ };
500
+ };
501
+ };
502
+ };
503
+ } & {
504
+ getRoutingPath(): "/installations/:installationId/audit";
505
+ };
506
+ export declare const pauseAppInstallationRoute: {
507
+ method: "post";
508
+ path: "/installations/{installationId}/pause";
509
+ request: {
510
+ params: z.ZodObject<{
511
+ installationId: z.ZodString;
512
+ }, z.core.$strip>;
513
+ body: {
514
+ required: boolean;
515
+ content: {
516
+ "application/json": {
517
+ schema: z.ZodObject<{
518
+ actorId: z.ZodString;
519
+ }, z.core.$strict>;
520
+ };
521
+ };
522
+ };
523
+ };
524
+ responses: {
525
+ 200: {
526
+ description: string;
527
+ content: {
528
+ "application/json": {
529
+ schema: z.ZodObject<{
530
+ data: z.ZodUnknown;
531
+ }, z.core.$strip>;
532
+ };
533
+ };
534
+ };
535
+ };
536
+ } & {
537
+ getRoutingPath(): "/installations/:installationId/pause";
538
+ };
539
+ export declare const resumeAppInstallationRoute: {
540
+ method: "post";
541
+ path: "/installations/{installationId}/resume";
542
+ request: {
543
+ params: z.ZodObject<{
544
+ installationId: z.ZodString;
545
+ }, z.core.$strip>;
546
+ body: {
547
+ required: boolean;
548
+ content: {
549
+ "application/json": {
550
+ schema: z.ZodObject<{
551
+ actorId: z.ZodString;
552
+ }, z.core.$strict>;
553
+ };
554
+ };
555
+ };
556
+ };
557
+ responses: {
558
+ 200: {
559
+ description: string;
560
+ content: {
561
+ "application/json": {
562
+ schema: z.ZodObject<{
563
+ data: z.ZodUnknown;
564
+ }, z.core.$strip>;
565
+ };
566
+ };
567
+ };
568
+ };
569
+ } & {
570
+ getRoutingPath(): "/installations/:installationId/resume";
571
+ };
572
+ export declare const uninstallAppInstallationRoute: {
573
+ method: "post";
574
+ path: "/installations/{installationId}/uninstall";
575
+ request: {
576
+ params: z.ZodObject<{
577
+ installationId: z.ZodString;
578
+ }, z.core.$strip>;
579
+ body: {
580
+ required: boolean;
581
+ content: {
582
+ "application/json": {
583
+ schema: z.ZodObject<{
584
+ actorId: z.ZodString;
585
+ }, z.core.$strict>;
586
+ };
587
+ };
588
+ };
589
+ };
590
+ responses: {
591
+ 200: {
592
+ description: string;
593
+ content: {
594
+ "application/json": {
595
+ schema: z.ZodObject<{
596
+ data: z.ZodUnknown;
597
+ }, z.core.$strip>;
598
+ };
599
+ };
600
+ };
601
+ };
602
+ } & {
603
+ getRoutingPath(): "/installations/:installationId/uninstall";
604
+ };
605
+ export declare const activateAppInstallationRoute: {
606
+ method: "post";
607
+ path: "/installations/{installationId}/activate";
608
+ request: {
609
+ params: z.ZodObject<{
610
+ installationId: z.ZodString;
611
+ }, z.core.$strip>;
612
+ body: {
613
+ required: boolean;
614
+ content: {
615
+ "application/json": {
616
+ schema: z.ZodObject<{
617
+ releaseId: z.ZodString;
618
+ actorId: z.ZodString;
619
+ }, z.core.$strict>;
620
+ };
621
+ };
622
+ };
623
+ };
624
+ responses: {
625
+ 200: {
626
+ description: string;
627
+ content: {
628
+ "application/json": {
629
+ schema: z.ZodObject<{
630
+ data: z.ZodUnknown;
631
+ }, z.core.$strip>;
632
+ };
633
+ };
634
+ };
635
+ };
636
+ } & {
637
+ getRoutingPath(): "/installations/:installationId/activate";
638
+ };
639
+ export declare const previewAppInstallationPurgeRoute: {
640
+ method: "post";
641
+ path: "/installations/{installationId}/purge-preview";
642
+ request: {
643
+ params: z.ZodObject<{
644
+ installationId: z.ZodString;
645
+ }, z.core.$strip>;
646
+ body: {
647
+ required: boolean;
648
+ content: {
649
+ "application/json": {
650
+ schema: z.ZodObject<{
651
+ actorId: z.ZodString;
652
+ }, z.core.$strict>;
653
+ };
654
+ };
655
+ };
656
+ };
657
+ responses: {
658
+ 200: {
659
+ description: string;
660
+ content: {
661
+ "application/json": {
662
+ schema: z.ZodObject<{
663
+ data: z.ZodUnknown;
664
+ }, z.core.$strip>;
665
+ };
666
+ };
667
+ };
668
+ };
669
+ } & {
670
+ getRoutingPath(): "/installations/:installationId/purge-preview";
671
+ };
672
+ export declare const getAppRoute: {
673
+ method: "get";
674
+ path: "/{appId}";
675
+ request: {
676
+ params: z.ZodObject<{
677
+ appId: z.ZodString;
678
+ }, z.core.$strip>;
679
+ };
680
+ responses: {
681
+ 200: {
682
+ description: string;
683
+ content: {
684
+ "application/json": {
685
+ schema: z.ZodObject<{
686
+ data: z.ZodUnknown;
687
+ }, z.core.$strip>;
688
+ };
689
+ };
690
+ };
691
+ 404: {
692
+ description: string;
693
+ content: {
694
+ "application/json": {
695
+ schema: z.ZodObject<{
696
+ error: z.ZodString;
697
+ }, z.core.$strip>;
698
+ };
699
+ };
700
+ };
701
+ };
702
+ } & {
703
+ getRoutingPath(): "/:appId";
704
+ };
705
+ export declare const listAppReleasesRoute: {
706
+ method: "get";
707
+ path: "/{appId}/releases";
708
+ request: {
709
+ params: z.ZodObject<{
710
+ appId: z.ZodString;
711
+ }, z.core.$strip>;
712
+ };
713
+ responses: {
714
+ 200: {
715
+ description: string;
716
+ content: {
717
+ "application/json": {
718
+ schema: z.ZodObject<{
719
+ data: z.ZodUnknown;
720
+ }, z.core.$strip>;
721
+ };
722
+ };
723
+ };
724
+ };
725
+ } & {
726
+ getRoutingPath(): "/:appId/releases";
727
+ };
728
+ export declare const createAppReleaseRoute: {
729
+ method: "post";
730
+ path: "/{appId}/releases";
731
+ request: {
732
+ params: z.ZodObject<{
733
+ appId: z.ZodString;
734
+ }, z.core.$strip>;
735
+ body: {
736
+ required: boolean;
737
+ content: {
738
+ "application/json": {
739
+ schema: z.ZodObject<{
740
+ manifest: z.ZodUnknown;
741
+ createdBy: z.ZodString;
742
+ provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
743
+ }, z.core.$strict>;
744
+ };
745
+ };
746
+ };
747
+ };
748
+ responses: {
749
+ 201: {
750
+ description: string;
751
+ content: {
752
+ "application/json": {
753
+ schema: z.ZodObject<{
754
+ data: z.ZodUnknown;
755
+ digest: z.ZodString;
756
+ created: z.ZodBoolean;
757
+ }, z.core.$strip>;
758
+ };
759
+ };
760
+ };
761
+ };
762
+ } & {
763
+ getRoutingPath(): "/:appId/releases";
764
+ };
765
+ export declare const fetchAppReleaseRoute: {
766
+ method: "post";
767
+ path: "/{appId}/releases/fetch";
768
+ request: {
769
+ params: z.ZodObject<{
770
+ appId: z.ZodString;
771
+ }, z.core.$strip>;
772
+ body: {
773
+ required: boolean;
774
+ content: {
775
+ "application/json": {
776
+ schema: z.ZodObject<{
777
+ manifestUrl: z.ZodString;
778
+ createdBy: z.ZodString;
779
+ }, z.core.$strict>;
780
+ };
781
+ };
782
+ };
783
+ };
784
+ responses: {
785
+ 201: {
786
+ description: string;
787
+ content: {
788
+ "application/json": {
789
+ schema: z.ZodObject<{
790
+ data: z.ZodUnknown;
791
+ digest: z.ZodString;
792
+ created: z.ZodBoolean;
793
+ }, z.core.$strip>;
794
+ };
795
+ };
796
+ };
797
+ };
798
+ } & {
799
+ getRoutingPath(): "/:appId/releases/fetch";
800
+ };
801
+ export declare const listAppWebhooksRoute: {
802
+ method: "get";
803
+ path: "/installations/{installationId}/webhooks";
804
+ request: {
805
+ params: z.ZodObject<{
806
+ installationId: z.ZodString;
807
+ }, z.core.$strip>;
808
+ };
809
+ responses: {
810
+ 200: {
811
+ description: string;
812
+ content: {
813
+ "application/json": {
814
+ schema: z.ZodObject<{
815
+ data: z.ZodUnknown;
816
+ }, z.core.$strip>;
817
+ };
818
+ };
819
+ };
820
+ };
821
+ } & {
822
+ getRoutingPath(): "/installations/:installationId/webhooks";
823
+ };
824
+ export declare const replayAppWebhookRoute: {
825
+ method: "post";
826
+ path: "/installations/{installationId}/webhooks/replay";
827
+ request: {
828
+ params: z.ZodObject<{
829
+ installationId: z.ZodString;
830
+ }, z.core.$strip>;
831
+ body: {
832
+ required: boolean;
833
+ content: {
834
+ "application/json": {
835
+ schema: z.ZodObject<{
836
+ deliveryId: z.ZodString;
837
+ actorId: z.ZodString;
838
+ signingKeyId: z.ZodString;
839
+ signingSecret: z.ZodString;
840
+ }, z.core.$strict>;
841
+ };
842
+ };
843
+ };
844
+ };
845
+ responses: {
846
+ 202: {
847
+ description: string;
848
+ content: {
849
+ "application/json": {
850
+ schema: z.ZodObject<{
851
+ data: z.ZodUnknown;
852
+ }, z.core.$strip>;
853
+ };
854
+ };
855
+ };
856
+ };
857
+ } & {
858
+ getRoutingPath(): "/installations/:installationId/webhooks/replay";
859
+ };