tapimo 0.15.0 → 0.15.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.
Files changed (91) hide show
  1. package/dist/App.d.ts +26 -26
  2. package/dist/admin/App.d.ts +3 -0
  3. package/dist/admin/App.d.ts.map +1 -1
  4. package/dist/admin/apps/api-keys.d.ts +41 -41
  5. package/dist/admin/apps/routes.d.ts +64 -64
  6. package/dist/admin/apps/verified-tokens.d.ts +161 -155
  7. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  8. package/dist/admin/apps/verified-tokens.js +24 -4
  9. package/dist/admin/apps/verified-tokens.js.map +1 -1
  10. package/dist/admin/ui.generated.d.ts +1 -1
  11. package/dist/admin/ui.generated.d.ts.map +1 -1
  12. package/dist/admin/ui.generated.js +201 -209
  13. package/dist/admin/ui.generated.js.map +1 -1
  14. package/dist/apps/data/routes/activities.d.ts +357 -357
  15. package/dist/apps/data/routes/blocks.d.ts +125 -125
  16. package/dist/apps/data/routes/fee-amm.d.ts +108 -108
  17. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  18. package/dist/apps/data/routes/fee-amm.js +10 -2
  19. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  20. package/dist/apps/data/routes/indexer.d.ts +43 -43
  21. package/dist/apps/data/routes/receipts.d.ts +235 -235
  22. package/dist/apps/data/routes/rpc.js +45 -11
  23. package/dist/apps/data/routes/rpc.js.map +1 -1
  24. package/dist/apps/data/routes/transfers.d.ts +81 -81
  25. package/dist/apps/data/routes/valuation.d.ts +32 -32
  26. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  27. package/dist/apps/data/routes/webhooks.d.ts +1 -1
  28. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  29. package/dist/apps/data/routes/webhooks.js +17 -10
  30. package/dist/apps/data/routes/webhooks.js.map +1 -1
  31. package/dist/apps/data/routes/zones.d.ts +31 -31
  32. package/dist/apps/management/App.d.ts +26 -26
  33. package/dist/apps/management/routes/api-keys.d.ts +246 -246
  34. package/dist/apps/management/routes/invitations.d.ts +138 -138
  35. package/dist/apps/management/routes/invite-links.d.ts +168 -168
  36. package/dist/apps/management/routes/orgs.d.ts +98 -98
  37. package/dist/apps/management/routes/projects.d.ts +125 -125
  38. package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
  39. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  40. package/dist/apps/management/routes/verified-token-requests.js +7 -9
  41. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  42. package/dist/apps/management/routes/webhooks.d.ts +423 -423
  43. package/dist/apps/mcp.d.ts.map +1 -1
  44. package/dist/apps/mcp.js +16 -3
  45. package/dist/apps/mcp.js.map +1 -1
  46. package/dist/apps/mpp/App.d.ts +44 -44
  47. package/dist/apps/routes/routes/chains.d.ts +25 -25
  48. package/dist/apps/routes/routes/quotes.d.ts +87 -87
  49. package/dist/apps/routes/routes/transfers.d.ts +438 -438
  50. package/dist/db/Db.d.ts.map +1 -1
  51. package/dist/db/Db.js +5 -0
  52. package/dist/db/Db.js.map +1 -1
  53. package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
  54. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
  55. package/dist/db/tables/verifiedTokenRequests.js +65 -44
  56. package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
  57. package/dist/internal/Auth.d.ts +16 -0
  58. package/dist/internal/Auth.d.ts.map +1 -1
  59. package/dist/internal/Auth.js +31 -8
  60. package/dist/internal/Auth.js.map +1 -1
  61. package/dist/internal/routes/providers/relay.d.ts +1 -1
  62. package/dist/internal/routes/providers/relay.js +1 -1
  63. package/dist/internal/routes/providers/relay.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/admin/apps/verified-tokens.test.ts +32 -0
  66. package/src/admin/apps/verified-tokens.ts +30 -4
  67. package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
  68. package/src/admin/ui/src/routes/__root.tsx +1 -1
  69. package/src/admin/ui/src/routes/organizations.tsx +34 -4
  70. package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
  71. package/src/admin/ui.generated.ts +202 -263
  72. package/src/apps/data/App.test.ts +26 -0
  73. package/src/apps/data/routes/fee-amm.test.ts +19 -0
  74. package/src/apps/data/routes/fee-amm.ts +10 -2
  75. package/src/apps/data/routes/rpc.test.ts +32 -0
  76. package/src/apps/data/routes/rpc.ts +47 -10
  77. package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
  78. package/src/apps/data/routes/webhooks.test.ts +6 -0
  79. package/src/apps/data/routes/webhooks.ts +25 -12
  80. package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
  81. package/src/apps/management/routes/verified-token-requests.ts +7 -10
  82. package/src/apps/mcp.test.ts +108 -25
  83. package/src/apps/mcp.ts +15 -3
  84. package/src/db/Db.ts +9 -0
  85. package/src/db/tables/routesDeposits.test.ts +72 -0
  86. package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
  87. package/src/db/tables/verifiedTokenRequests.ts +80 -44
  88. package/src/internal/Auth.test.ts +92 -0
  89. package/src/internal/Auth.ts +51 -9
  90. package/src/internal/routes/providers/relay.test.ts +59 -0
  91. package/src/internal/routes/providers/relay.ts +1 -1
@@ -135,15 +135,16 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
135
135
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations": {
136
136
  $post: {
137
137
  output: {
138
- error: {
139
- code: "api_key_malformed";
140
- details?: readonly Response.error.Detail[] | undefined;
141
- message: string;
142
- };
143
- requestId: string;
138
+ createdAt: string;
139
+ email: string;
140
+ expiresAt: string;
141
+ id: string;
142
+ invitedBy: string;
143
+ orgId: string;
144
+ role: "admin" | "member" | "owner";
144
145
  };
145
146
  outputFormat: "json";
146
- status: 400;
147
+ status: 200;
147
148
  input: {
148
149
  param: {
149
150
  orgId: string;
@@ -157,14 +158,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
157
158
  } | {
158
159
  output: {
159
160
  error: {
160
- code: "api_key_invalid" | "api_key_missing";
161
+ code: "api_key_malformed";
161
162
  details?: readonly Response.error.Detail[] | undefined;
162
163
  message: string;
163
164
  };
164
165
  requestId: string;
165
166
  };
166
167
  outputFormat: "json";
167
- status: 401;
168
+ status: 400;
168
169
  input: {
169
170
  param: {
170
171
  orgId: string;
@@ -178,14 +179,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
178
179
  } | {
179
180
  output: {
180
181
  error: {
181
- code: "api_key_forbidden" | "api_key_ip_forbidden";
182
+ code: "body_invalid";
182
183
  details?: readonly Response.error.Detail[] | undefined;
183
184
  message: string;
184
185
  };
185
186
  requestId: string;
186
187
  };
187
188
  outputFormat: "json";
188
- status: 403;
189
+ status: 400;
189
190
  input: {
190
191
  param: {
191
192
  orgId: string;
@@ -199,14 +200,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
199
200
  } | {
200
201
  output: {
201
202
  error: {
202
- code: "payment_required" | "rate_limit_exceeded";
203
+ code: "param_invalid";
203
204
  details?: readonly Response.error.Detail[] | undefined;
204
205
  message: string;
205
206
  };
206
207
  requestId: string;
207
208
  };
208
209
  outputFormat: "json";
209
- status: 429;
210
+ status: 400;
210
211
  input: {
211
212
  param: {
212
213
  orgId: string;
@@ -220,14 +221,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
220
221
  } | {
221
222
  output: {
222
223
  error: {
223
- code: "upstream_error";
224
+ code: "api_key_invalid" | "api_key_missing";
224
225
  details?: readonly Response.error.Detail[] | undefined;
225
226
  message: string;
226
227
  };
227
228
  requestId: string;
228
229
  };
229
230
  outputFormat: "json";
230
- status: 502;
231
+ status: 401;
231
232
  input: {
232
233
  param: {
233
234
  orgId: string;
@@ -241,14 +242,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
241
242
  } | {
242
243
  output: {
243
244
  error: {
244
- code: "organization_not_found";
245
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
245
246
  details?: readonly Response.error.Detail[] | undefined;
246
247
  message: string;
247
248
  };
248
249
  requestId: string;
249
250
  };
250
251
  outputFormat: "json";
251
- status: 404;
252
+ status: 403;
252
253
  input: {
253
254
  param: {
254
255
  orgId: string;
@@ -283,14 +284,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
283
284
  } | {
284
285
  output: {
285
286
  error: {
286
- code: "body_invalid";
287
+ code: "organization_not_found";
287
288
  details?: readonly Response.error.Detail[] | undefined;
288
289
  message: string;
289
290
  };
290
291
  requestId: string;
291
292
  };
292
293
  outputFormat: "json";
293
- status: 400;
294
+ status: 404;
294
295
  input: {
295
296
  param: {
296
297
  orgId: string;
@@ -304,14 +305,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
304
305
  } | {
305
306
  output: {
306
307
  error: {
307
- code: "param_invalid";
308
+ code: "payment_required" | "rate_limit_exceeded";
308
309
  details?: readonly Response.error.Detail[] | undefined;
309
310
  message: string;
310
311
  };
311
312
  requestId: string;
312
313
  };
313
314
  outputFormat: "json";
314
- status: 400;
315
+ status: 429;
315
316
  input: {
316
317
  param: {
317
318
  orgId: string;
@@ -324,16 +325,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
324
325
  };
325
326
  } | {
326
327
  output: {
327
- createdAt: string;
328
- email: string;
329
- expiresAt: string;
330
- id: string;
331
- invitedBy: string;
332
- orgId: string;
333
- role: "admin" | "member" | "owner";
328
+ error: {
329
+ code: "upstream_error";
330
+ details?: readonly Response.error.Detail[] | undefined;
331
+ message: string;
332
+ };
333
+ requestId: string;
334
334
  };
335
335
  outputFormat: "json";
336
- status: 200;
336
+ status: 502;
337
337
  input: {
338
338
  param: {
339
339
  orgId: string;
@@ -349,6 +349,25 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
349
349
  } & {
350
350
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations": {
351
351
  $get: {
352
+ output: {
353
+ data: {
354
+ createdAt: string;
355
+ email: string;
356
+ expiresAt: string;
357
+ id: string;
358
+ invitedBy: string;
359
+ orgId: string;
360
+ role: "admin" | "member" | "owner";
361
+ }[];
362
+ };
363
+ outputFormat: "json";
364
+ status: 200;
365
+ input: {
366
+ param: {
367
+ orgId: string;
368
+ };
369
+ };
370
+ } | {
352
371
  output: {
353
372
  error: {
354
373
  code: "api_key_malformed";
@@ -367,14 +386,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
367
386
  } | {
368
387
  output: {
369
388
  error: {
370
- code: "api_key_invalid" | "api_key_missing";
389
+ code: "param_invalid";
371
390
  details?: readonly Response.error.Detail[] | undefined;
372
391
  message: string;
373
392
  };
374
393
  requestId: string;
375
394
  };
376
395
  outputFormat: "json";
377
- status: 401;
396
+ status: 400;
378
397
  input: {
379
398
  param: {
380
399
  orgId: string;
@@ -383,14 +402,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
383
402
  } | {
384
403
  output: {
385
404
  error: {
386
- code: "api_key_forbidden" | "api_key_ip_forbidden";
405
+ code: "api_key_invalid" | "api_key_missing";
387
406
  details?: readonly Response.error.Detail[] | undefined;
388
407
  message: string;
389
408
  };
390
409
  requestId: string;
391
410
  };
392
411
  outputFormat: "json";
393
- status: 403;
412
+ status: 401;
394
413
  input: {
395
414
  param: {
396
415
  orgId: string;
@@ -399,14 +418,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
399
418
  } | {
400
419
  output: {
401
420
  error: {
402
- code: "payment_required" | "rate_limit_exceeded";
421
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
403
422
  details?: readonly Response.error.Detail[] | undefined;
404
423
  message: string;
405
424
  };
406
425
  requestId: string;
407
426
  };
408
427
  outputFormat: "json";
409
- status: 429;
428
+ status: 403;
410
429
  input: {
411
430
  param: {
412
431
  orgId: string;
@@ -415,14 +434,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
415
434
  } | {
416
435
  output: {
417
436
  error: {
418
- code: "upstream_error";
437
+ code: "forbidden";
419
438
  details?: readonly Response.error.Detail[] | undefined;
420
439
  message: string;
421
440
  };
422
441
  requestId: string;
423
442
  };
424
443
  outputFormat: "json";
425
- status: 502;
444
+ status: 403;
426
445
  input: {
427
446
  param: {
428
447
  orgId: string;
@@ -447,14 +466,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
447
466
  } | {
448
467
  output: {
449
468
  error: {
450
- code: "forbidden";
469
+ code: "payment_required" | "rate_limit_exceeded";
451
470
  details?: readonly Response.error.Detail[] | undefined;
452
471
  message: string;
453
472
  };
454
473
  requestId: string;
455
474
  };
456
475
  outputFormat: "json";
457
- status: 403;
476
+ status: 429;
458
477
  input: {
459
478
  param: {
460
479
  orgId: string;
@@ -463,43 +482,36 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
463
482
  } | {
464
483
  output: {
465
484
  error: {
466
- code: "param_invalid";
485
+ code: "upstream_error";
467
486
  details?: readonly Response.error.Detail[] | undefined;
468
487
  message: string;
469
488
  };
470
489
  requestId: string;
471
490
  };
472
491
  outputFormat: "json";
473
- status: 400;
492
+ status: 502;
474
493
  input: {
475
494
  param: {
476
495
  orgId: string;
477
496
  };
478
497
  };
479
- } | {
498
+ };
499
+ };
500
+ } & {
501
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations/:invitationId{inv_[A-Za-z0-9_-]+}": {
502
+ $delete: {
480
503
  output: {
481
- data: {
482
- createdAt: string;
483
- email: string;
484
- expiresAt: string;
485
- id: string;
486
- invitedBy: string;
487
- orgId: string;
488
- role: "admin" | "member" | "owner";
489
- }[];
504
+ id: string;
490
505
  };
491
506
  outputFormat: "json";
492
507
  status: 200;
493
508
  input: {
494
509
  param: {
510
+ invitationId: string;
495
511
  orgId: string;
496
512
  };
497
513
  };
498
- };
499
- };
500
- } & {
501
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations/:invitationId{inv_[A-Za-z0-9_-]+}": {
502
- $delete: {
514
+ } | {
503
515
  output: {
504
516
  error: {
505
517
  code: "api_key_malformed";
@@ -519,14 +531,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
519
531
  } | {
520
532
  output: {
521
533
  error: {
522
- code: "api_key_invalid" | "api_key_missing";
534
+ code: "param_invalid";
523
535
  details?: readonly Response.error.Detail[] | undefined;
524
536
  message: string;
525
537
  };
526
538
  requestId: string;
527
539
  };
528
540
  outputFormat: "json";
529
- status: 401;
541
+ status: 400;
530
542
  input: {
531
543
  param: {
532
544
  invitationId: string;
@@ -536,14 +548,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
536
548
  } | {
537
549
  output: {
538
550
  error: {
539
- code: "api_key_forbidden" | "api_key_ip_forbidden";
551
+ code: "api_key_invalid" | "api_key_missing";
540
552
  details?: readonly Response.error.Detail[] | undefined;
541
553
  message: string;
542
554
  };
543
555
  requestId: string;
544
556
  };
545
557
  outputFormat: "json";
546
- status: 403;
558
+ status: 401;
547
559
  input: {
548
560
  param: {
549
561
  invitationId: string;
@@ -553,14 +565,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
553
565
  } | {
554
566
  output: {
555
567
  error: {
556
- code: "payment_required" | "rate_limit_exceeded";
568
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
557
569
  details?: readonly Response.error.Detail[] | undefined;
558
570
  message: string;
559
571
  };
560
572
  requestId: string;
561
573
  };
562
574
  outputFormat: "json";
563
- status: 429;
575
+ status: 403;
564
576
  input: {
565
577
  param: {
566
578
  invitationId: string;
@@ -570,14 +582,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
570
582
  } | {
571
583
  output: {
572
584
  error: {
573
- code: "upstream_error";
585
+ code: "forbidden";
574
586
  details?: readonly Response.error.Detail[] | undefined;
575
587
  message: string;
576
588
  };
577
589
  requestId: string;
578
590
  };
579
591
  outputFormat: "json";
580
- status: 502;
592
+ status: 403;
581
593
  input: {
582
594
  param: {
583
595
  invitationId: string;
@@ -604,14 +616,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
604
616
  } | {
605
617
  output: {
606
618
  error: {
607
- code: "forbidden";
619
+ code: "invitation_not_found";
608
620
  details?: readonly Response.error.Detail[] | undefined;
609
621
  message: string;
610
622
  };
611
623
  requestId: string;
612
624
  };
613
625
  outputFormat: "json";
614
- status: 403;
626
+ status: 404;
615
627
  input: {
616
628
  param: {
617
629
  invitationId: string;
@@ -621,14 +633,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
621
633
  } | {
622
634
  output: {
623
635
  error: {
624
- code: "param_invalid";
636
+ code: "payment_required" | "rate_limit_exceeded";
625
637
  details?: readonly Response.error.Detail[] | undefined;
626
638
  message: string;
627
639
  };
628
640
  requestId: string;
629
641
  };
630
642
  outputFormat: "json";
631
- status: 400;
643
+ status: 429;
632
644
  input: {
633
645
  param: {
634
646
  invitationId: string;
@@ -638,26 +650,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
638
650
  } | {
639
651
  output: {
640
652
  error: {
641
- code: "invitation_not_found";
653
+ code: "upstream_error";
642
654
  details?: readonly Response.error.Detail[] | undefined;
643
655
  message: string;
644
656
  };
645
657
  requestId: string;
646
658
  };
647
659
  outputFormat: "json";
648
- status: 404;
649
- input: {
650
- param: {
651
- invitationId: string;
652
- orgId: string;
653
- };
654
- };
655
- } | {
656
- output: {
657
- id: string;
658
- };
659
- outputFormat: "json";
660
- status: 200;
660
+ status: 502;
661
661
  input: {
662
662
  param: {
663
663
  invitationId: string;
@@ -669,6 +669,22 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
669
669
  } & {
670
670
  "/v1/invitations": {
671
671
  $get: {
672
+ output: {
673
+ data: {
674
+ createdAt: string;
675
+ email: string;
676
+ expiresAt: string;
677
+ id: string;
678
+ invitedBy: string;
679
+ orgId: string;
680
+ role: "admin" | "member" | "owner";
681
+ orgName: string;
682
+ }[];
683
+ };
684
+ outputFormat: "json";
685
+ status: 200;
686
+ input: {};
687
+ } | {
672
688
  output: {
673
689
  error: {
674
690
  code: "api_key_malformed";
@@ -695,42 +711,26 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
695
711
  } | {
696
712
  output: {
697
713
  error: {
698
- code: "upstream_error";
714
+ code: "forbidden";
699
715
  details?: readonly Response.error.Detail[] | undefined;
700
716
  message: string;
701
717
  };
702
718
  requestId: string;
703
719
  };
704
720
  outputFormat: "json";
705
- status: 502;
721
+ status: 403;
706
722
  input: {};
707
723
  } | {
708
724
  output: {
709
725
  error: {
710
- code: "forbidden";
726
+ code: "upstream_error";
711
727
  details?: readonly Response.error.Detail[] | undefined;
712
728
  message: string;
713
729
  };
714
730
  requestId: string;
715
731
  };
716
732
  outputFormat: "json";
717
- status: 403;
718
- input: {};
719
- } | {
720
- output: {
721
- data: {
722
- createdAt: string;
723
- email: string;
724
- expiresAt: string;
725
- id: string;
726
- invitedBy: string;
727
- orgId: string;
728
- role: "admin" | "member" | "owner";
729
- orgName: string;
730
- }[];
731
- };
732
- outputFormat: "json";
733
- status: 200;
733
+ status: 502;
734
734
  input: {};
735
735
  };
736
736
  };
@@ -738,15 +738,12 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
738
738
  "/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/accept": {
739
739
  $post: {
740
740
  output: {
741
- error: {
742
- code: "api_key_malformed";
743
- details?: readonly Response.error.Detail[] | undefined;
744
- message: string;
745
- };
746
- requestId: string;
741
+ orgId: string;
742
+ role: "admin" | "member" | "owner";
743
+ userId: string;
747
744
  };
748
745
  outputFormat: "json";
749
- status: 400;
746
+ status: 200;
750
747
  input: {
751
748
  param: {
752
749
  invitationId: string;
@@ -755,14 +752,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
755
752
  } | {
756
753
  output: {
757
754
  error: {
758
- code: "api_key_invalid" | "api_key_missing";
755
+ code: "api_key_malformed";
759
756
  details?: readonly Response.error.Detail[] | undefined;
760
757
  message: string;
761
758
  };
762
759
  requestId: string;
763
760
  };
764
761
  outputFormat: "json";
765
- status: 401;
762
+ status: 400;
766
763
  input: {
767
764
  param: {
768
765
  invitationId: string;
@@ -771,14 +768,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
771
768
  } | {
772
769
  output: {
773
770
  error: {
774
- code: "upstream_error";
771
+ code: "param_invalid";
775
772
  details?: readonly Response.error.Detail[] | undefined;
776
773
  message: string;
777
774
  };
778
775
  requestId: string;
779
776
  };
780
777
  outputFormat: "json";
781
- status: 502;
778
+ status: 400;
782
779
  input: {
783
780
  param: {
784
781
  invitationId: string;
@@ -787,14 +784,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
787
784
  } | {
788
785
  output: {
789
786
  error: {
790
- code: "forbidden";
787
+ code: "api_key_invalid" | "api_key_missing";
791
788
  details?: readonly Response.error.Detail[] | undefined;
792
789
  message: string;
793
790
  };
794
791
  requestId: string;
795
792
  };
796
793
  outputFormat: "json";
797
- status: 403;
794
+ status: 401;
798
795
  input: {
799
796
  param: {
800
797
  invitationId: string;
@@ -803,14 +800,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
803
800
  } | {
804
801
  output: {
805
802
  error: {
806
- code: "param_invalid";
803
+ code: "forbidden";
807
804
  details?: readonly Response.error.Detail[] | undefined;
808
805
  message: string;
809
806
  };
810
807
  requestId: string;
811
808
  };
812
809
  outputFormat: "json";
813
- status: 400;
810
+ status: 403;
814
811
  input: {
815
812
  param: {
816
813
  invitationId: string;
@@ -834,12 +831,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
834
831
  };
835
832
  } | {
836
833
  output: {
837
- orgId: string;
838
- role: "admin" | "member" | "owner";
839
- userId: string;
834
+ error: {
835
+ code: "upstream_error";
836
+ details?: readonly Response.error.Detail[] | undefined;
837
+ message: string;
838
+ };
839
+ requestId: string;
840
840
  };
841
841
  outputFormat: "json";
842
- status: 200;
842
+ status: 502;
843
843
  input: {
844
844
  param: {
845
845
  invitationId: string;
@@ -851,15 +851,10 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
851
851
  "/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/decline": {
852
852
  $post: {
853
853
  output: {
854
- error: {
855
- code: "api_key_malformed";
856
- details?: readonly Response.error.Detail[] | undefined;
857
- message: string;
858
- };
859
- requestId: string;
854
+ id: string;
860
855
  };
861
856
  outputFormat: "json";
862
- status: 400;
857
+ status: 200;
863
858
  input: {
864
859
  param: {
865
860
  invitationId: string;
@@ -868,14 +863,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
868
863
  } | {
869
864
  output: {
870
865
  error: {
871
- code: "api_key_invalid" | "api_key_missing";
866
+ code: "api_key_malformed";
872
867
  details?: readonly Response.error.Detail[] | undefined;
873
868
  message: string;
874
869
  };
875
870
  requestId: string;
876
871
  };
877
872
  outputFormat: "json";
878
- status: 401;
873
+ status: 400;
879
874
  input: {
880
875
  param: {
881
876
  invitationId: string;
@@ -884,14 +879,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
884
879
  } | {
885
880
  output: {
886
881
  error: {
887
- code: "upstream_error";
882
+ code: "param_invalid";
888
883
  details?: readonly Response.error.Detail[] | undefined;
889
884
  message: string;
890
885
  };
891
886
  requestId: string;
892
887
  };
893
888
  outputFormat: "json";
894
- status: 502;
889
+ status: 400;
895
890
  input: {
896
891
  param: {
897
892
  invitationId: string;
@@ -900,14 +895,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
900
895
  } | {
901
896
  output: {
902
897
  error: {
903
- code: "forbidden";
898
+ code: "api_key_invalid" | "api_key_missing";
904
899
  details?: readonly Response.error.Detail[] | undefined;
905
900
  message: string;
906
901
  };
907
902
  requestId: string;
908
903
  };
909
904
  outputFormat: "json";
910
- status: 403;
905
+ status: 401;
911
906
  input: {
912
907
  param: {
913
908
  invitationId: string;
@@ -916,14 +911,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
916
911
  } | {
917
912
  output: {
918
913
  error: {
919
- code: "param_invalid";
914
+ code: "forbidden";
920
915
  details?: readonly Response.error.Detail[] | undefined;
921
916
  message: string;
922
917
  };
923
918
  requestId: string;
924
919
  };
925
920
  outputFormat: "json";
926
- status: 400;
921
+ status: 403;
927
922
  input: {
928
923
  param: {
929
924
  invitationId: string;
@@ -947,10 +942,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
947
942
  };
948
943
  } | {
949
944
  output: {
950
- id: string;
945
+ error: {
946
+ code: "upstream_error";
947
+ details?: readonly Response.error.Detail[] | undefined;
948
+ message: string;
949
+ };
950
+ requestId: string;
951
951
  };
952
952
  outputFormat: "json";
953
- status: 200;
953
+ status: 502;
954
954
  input: {
955
955
  param: {
956
956
  invitationId: string;