tapimo 0.13.0 → 0.14.0

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 (230) hide show
  1. package/dist/App.d.ts +6064 -4829
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +1 -0
  4. package/dist/App.js.map +1 -1
  5. package/dist/Webhooks.js +2 -2
  6. package/dist/Webhooks.js.map +1 -1
  7. package/dist/admin/App.d.ts +1008 -917
  8. package/dist/admin/App.d.ts.map +1 -1
  9. package/dist/admin/apps/earn-vaults.d.ts +48 -0
  10. package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
  11. package/dist/admin/apps/earn-vaults.js +2 -1
  12. package/dist/admin/apps/earn-vaults.js.map +1 -1
  13. package/dist/admin/apps/organizations.d.ts +92 -3
  14. package/dist/admin/apps/organizations.d.ts.map +1 -1
  15. package/dist/admin/apps/organizations.js +69 -7
  16. package/dist/admin/apps/organizations.js.map +1 -1
  17. package/dist/admin/apps/verified-tokens.d.ts +74 -74
  18. package/dist/admin/ui.generated.d.ts +1 -1
  19. package/dist/admin/ui.generated.js +69 -69
  20. package/dist/admin/ui.generated.js.map +1 -1
  21. package/dist/apps/Zones.d.ts +12 -12
  22. package/dist/apps/Zones.js +3 -3
  23. package/dist/apps/data/App.d.ts +2909 -2523
  24. package/dist/apps/data/App.d.ts.map +1 -1
  25. package/dist/apps/data/App.js +11 -6
  26. package/dist/apps/data/App.js.map +1 -1
  27. package/dist/apps/data/routes/addresses.d.ts +22 -22
  28. package/dist/apps/data/routes/earn.d.ts +183 -7
  29. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  30. package/dist/apps/data/routes/earn.js +434 -75
  31. package/dist/apps/data/routes/earn.js.map +1 -1
  32. package/dist/apps/data/routes/exchanges.d.ts +15 -0
  33. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  34. package/dist/apps/data/routes/exchanges.js +180 -114
  35. package/dist/apps/data/routes/exchanges.js.map +1 -1
  36. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  37. package/dist/apps/data/routes/fee-amm.js +18 -19
  38. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  39. package/dist/apps/data/routes/tokens.d.ts +93 -93
  40. package/dist/apps/data/routes/transfers.d.ts +12 -12
  41. package/dist/apps/data/routes/valuation.d.ts +30 -30
  42. package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
  43. package/dist/apps/data/routes/webhooks.d.ts +805 -102
  44. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  45. package/dist/apps/data/routes/webhooks.js +47 -5
  46. package/dist/apps/data/routes/webhooks.js.map +1 -1
  47. package/dist/apps/funding/App.d.ts +456 -45
  48. package/dist/apps/funding/App.d.ts.map +1 -1
  49. package/dist/apps/funding/App.js +1 -1
  50. package/dist/apps/funding/App.js.map +1 -1
  51. package/dist/apps/funding/routes/deposit-addresses.d.ts +17 -17
  52. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  53. package/dist/apps/funding/routes/deposit-addresses.js +1 -1
  54. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  55. package/dist/apps/funding/routes/transfers.d.ts +654 -73
  56. package/dist/apps/funding/routes/transfers.d.ts.map +1 -1
  57. package/dist/apps/funding/routes/transfers.js +211 -5
  58. package/dist/apps/funding/routes/transfers.js.map +1 -1
  59. package/dist/apps/management/App.d.ts +831 -387
  60. package/dist/apps/management/App.d.ts.map +1 -1
  61. package/dist/apps/management/Billing.d.ts +1 -1
  62. package/dist/apps/management/Billing.d.ts.map +1 -1
  63. package/dist/apps/management/Billing.js +17 -1
  64. package/dist/apps/management/Billing.js.map +1 -1
  65. package/dist/apps/management/routes/api-keys.d.ts +76 -76
  66. package/dist/apps/management/routes/billing.d.ts +76 -76
  67. package/dist/apps/management/routes/faucet.d.ts +12 -12
  68. package/dist/apps/management/routes/invitations.d.ts +24 -24
  69. package/dist/apps/management/routes/invite-links.d.ts +46 -46
  70. package/dist/apps/management/routes/members.d.ts +46 -46
  71. package/dist/apps/management/routes/orgs.d.ts +20 -20
  72. package/dist/apps/management/routes/projects.d.ts +44 -44
  73. package/dist/apps/management/routes/usage.d.ts +32 -32
  74. package/dist/apps/management/routes/verified-token-requests.d.ts +16 -16
  75. package/dist/apps/management/routes/webhooks.d.ts +707 -57
  76. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  77. package/dist/apps/management/routes/webhooks.js +21 -21
  78. package/dist/apps/management/routes/webhooks.js.map +1 -1
  79. package/dist/apps/relay/App.d.ts.map +1 -1
  80. package/dist/apps/relay/App.js +115 -23
  81. package/dist/apps/relay/App.js.map +1 -1
  82. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  83. package/dist/apps/relay/Sponsorships.js +27 -1
  84. package/dist/apps/relay/Sponsorships.js.map +1 -1
  85. package/dist/db/Db.d.ts.map +1 -1
  86. package/dist/db/Db.js +22 -0
  87. package/dist/db/Db.js.map +1 -1
  88. package/dist/db/Schema.d.ts +8 -3
  89. package/dist/db/Schema.d.ts.map +1 -1
  90. package/dist/db/Schema.js +16 -1
  91. package/dist/db/Schema.js.map +1 -1
  92. package/dist/db/tables/fundingTransferTransactions.d.ts +38 -0
  93. package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -1
  94. package/dist/db/tables/fundingTransferTransactions.js +44 -3
  95. package/dist/db/tables/fundingTransferTransactions.js.map +1 -1
  96. package/dist/db/tables/fundingTransfers.d.ts +17 -0
  97. package/dist/db/tables/fundingTransfers.d.ts.map +1 -1
  98. package/dist/db/tables/fundingTransfers.js +21 -0
  99. package/dist/db/tables/fundingTransfers.js.map +1 -1
  100. package/dist/db/tables/organizations.d.ts +24 -0
  101. package/dist/db/tables/organizations.d.ts.map +1 -1
  102. package/dist/db/tables/organizations.js +27 -0
  103. package/dist/db/tables/organizations.js.map +1 -1
  104. package/dist/db/tables/projects.d.ts +25 -1
  105. package/dist/db/tables/projects.d.ts.map +1 -1
  106. package/dist/db/tables/projects.js +26 -0
  107. package/dist/db/tables/projects.js.map +1 -1
  108. package/dist/db/tables/sponsoredTransactions.d.ts +44 -0
  109. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  110. package/dist/db/tables/sponsoredTransactions.js +146 -13
  111. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  112. package/dist/db/tables/webhookSubscriptions.d.ts +10 -6
  113. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  114. package/dist/db/tables/webhookSubscriptions.js +9 -6
  115. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  116. package/dist/internal/EarnVaults.js +5 -5
  117. package/dist/internal/EarnVaults.js.map +1 -1
  118. package/dist/internal/Log.d.ts +1 -1
  119. package/dist/internal/Log.d.ts.map +1 -1
  120. package/dist/internal/Log.js.map +1 -1
  121. package/dist/internal/Viem.d.ts +16 -1
  122. package/dist/internal/Viem.d.ts.map +1 -1
  123. package/dist/internal/Viem.js +12 -2
  124. package/dist/internal/Viem.js.map +1 -1
  125. package/dist/internal/funding/DepositWebhook.d.ts.map +1 -1
  126. package/dist/internal/funding/DepositWebhook.js +2 -1
  127. package/dist/internal/funding/DepositWebhook.js.map +1 -1
  128. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  129. package/dist/internal/funding/Evidence.js +2 -10
  130. package/dist/internal/funding/Evidence.js.map +1 -1
  131. package/dist/internal/funding/Provider.d.ts +40 -0
  132. package/dist/internal/funding/Provider.d.ts.map +1 -1
  133. package/dist/internal/funding/Provider.js +5 -0
  134. package/dist/internal/funding/Provider.js.map +1 -1
  135. package/dist/internal/funding/SourceObservation.d.ts.map +1 -1
  136. package/dist/internal/funding/SourceObservation.js +5 -7
  137. package/dist/internal/funding/SourceObservation.js.map +1 -1
  138. package/dist/internal/funding/Transfer.d.ts +101 -6
  139. package/dist/internal/funding/Transfer.d.ts.map +1 -1
  140. package/dist/internal/funding/Transfer.js +162 -34
  141. package/dist/internal/funding/Transfer.js.map +1 -1
  142. package/dist/internal/funding/TransferReconciliation.d.ts +52 -0
  143. package/dist/internal/funding/TransferReconciliation.d.ts.map +1 -0
  144. package/dist/internal/funding/TransferReconciliation.js +192 -0
  145. package/dist/internal/funding/TransferReconciliation.js.map +1 -0
  146. package/dist/internal/funding/TransferWebhook.d.ts +21 -0
  147. package/dist/internal/funding/TransferWebhook.d.ts.map +1 -0
  148. package/dist/internal/funding/TransferWebhook.js +43 -0
  149. package/dist/internal/funding/TransferWebhook.js.map +1 -0
  150. package/dist/internal/funding/index.d.ts +1 -0
  151. package/dist/internal/funding/index.d.ts.map +1 -1
  152. package/dist/internal/funding/index.js +1 -0
  153. package/dist/internal/funding/index.js.map +1 -1
  154. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  155. package/dist/internal/funding/providers/relay.js +3 -12
  156. package/dist/internal/funding/providers/relay.js.map +1 -1
  157. package/dist/internal/funding/providers/stargate.d.ts +99 -0
  158. package/dist/internal/funding/providers/stargate.d.ts.map +1 -1
  159. package/dist/internal/funding/providers/stargate.js +337 -35
  160. package/dist/internal/funding/providers/stargate.js.map +1 -1
  161. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
  162. package/dist/internal/webhookDestinations/slack.js +16 -0
  163. package/dist/internal/webhookDestinations/slack.js.map +1 -1
  164. package/package.json +1 -1
  165. package/src/App.ts +1 -0
  166. package/src/Client.test-d.ts +83 -2
  167. package/src/Webhooks.ts +2 -2
  168. package/src/admin/apps/earn-vaults.ts +2 -1
  169. package/src/admin/apps/organizations.test.ts +53 -1
  170. package/src/admin/apps/organizations.ts +90 -5
  171. package/src/admin/ui/src/lib/organizations.test.ts +112 -1
  172. package/src/admin/ui/src/lib/organizations.ts +55 -0
  173. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +116 -0
  174. package/src/admin/ui.generated.ts +69 -69
  175. package/src/apps/Zones.test.ts +3 -3
  176. package/src/apps/Zones.ts +3 -3
  177. package/src/apps/composition.test.ts +1 -0
  178. package/src/apps/data/App.ts +15 -6
  179. package/src/apps/data/routes/earn.test.ts +369 -14
  180. package/src/apps/data/routes/earn.ts +548 -79
  181. package/src/apps/data/routes/exchanges.test.ts +740 -15
  182. package/src/apps/data/routes/exchanges.ts +954 -753
  183. package/src/apps/data/routes/fee-amm.ts +17 -18
  184. package/src/apps/data/routes/webhooks.test.ts +21 -5
  185. package/src/apps/data/routes/webhooks.ts +63 -8
  186. package/src/apps/funding/App.ts +12 -2
  187. package/src/apps/funding/routes/deposit-addresses.test.ts +4 -4
  188. package/src/apps/funding/routes/deposit-addresses.ts +2 -2
  189. package/src/apps/funding/routes/transfers.test.ts +510 -19
  190. package/src/apps/funding/routes/transfers.ts +271 -5
  191. package/src/apps/management/Billing.ts +18 -5
  192. package/src/apps/management/routes/webhooks.test.ts +3 -3
  193. package/src/apps/management/routes/webhooks.ts +24 -25
  194. package/src/apps/relay/App.test.ts +212 -1
  195. package/src/apps/relay/App.ts +158 -29
  196. package/src/apps/relay/Sponsorships.ts +24 -1
  197. package/src/db/Db.ts +35 -0
  198. package/src/db/Schema.ts +17 -2
  199. package/src/db/tables/fundingTransferTransactions.test.ts +43 -0
  200. package/src/db/tables/fundingTransferTransactions.ts +79 -3
  201. package/src/db/tables/fundingTransfers.test.ts +26 -0
  202. package/src/db/tables/fundingTransfers.ts +36 -0
  203. package/src/db/tables/organizations.test.ts +41 -0
  204. package/src/db/tables/organizations.ts +49 -0
  205. package/src/db/tables/projects.test.ts +55 -0
  206. package/src/db/tables/projects.ts +46 -1
  207. package/src/db/tables/sponsoredTransactions.test.ts +338 -0
  208. package/src/db/tables/sponsoredTransactions.ts +197 -13
  209. package/src/db/tables/webhookSubscriptions.ts +18 -11
  210. package/src/internal/EarnVaults.ts +5 -5
  211. package/src/internal/Log.test-d.ts +2 -0
  212. package/src/internal/Log.ts +2 -0
  213. package/src/internal/Viem.ts +39 -3
  214. package/src/internal/Webhooks.test.ts +45 -0
  215. package/src/internal/funding/DepositWebhook.ts +2 -1
  216. package/src/internal/funding/Evidence.ts +2 -13
  217. package/src/internal/funding/Provider.ts +43 -0
  218. package/src/internal/funding/SourceObservation.ts +5 -9
  219. package/src/internal/funding/Transfer.test.ts +155 -0
  220. package/src/internal/funding/Transfer.ts +254 -37
  221. package/src/internal/funding/TransferReconciliation.test.ts +147 -0
  222. package/src/internal/funding/TransferReconciliation.ts +264 -0
  223. package/src/internal/funding/TransferWebhook.test.ts +128 -0
  224. package/src/internal/funding/TransferWebhook.ts +67 -0
  225. package/src/internal/funding/index.test.ts +1 -0
  226. package/src/internal/funding/index.ts +1 -0
  227. package/src/internal/funding/providers/relay.ts +3 -15
  228. package/src/internal/funding/providers/stargate.test.ts +169 -4
  229. package/src/internal/funding/providers/stargate.ts +498 -51
  230. package/src/internal/webhookDestinations/slack.ts +15 -0
@@ -255,14 +255,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
255
255
  } | {
256
256
  output: {
257
257
  error: {
258
- code: "organization_not_found";
258
+ code: "param_invalid";
259
259
  details?: readonly Response.error.Detail[] | undefined;
260
260
  message: string;
261
261
  };
262
262
  requestId: string;
263
263
  };
264
264
  outputFormat: "json";
265
- status: 404;
265
+ status: 400;
266
266
  input: {
267
267
  param: {
268
268
  orgId: string;
@@ -275,14 +275,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
275
275
  } | {
276
276
  output: {
277
277
  error: {
278
- code: "param_invalid";
278
+ code: "organization_not_found";
279
279
  details?: readonly Response.error.Detail[] | undefined;
280
280
  message: string;
281
281
  };
282
282
  requestId: string;
283
283
  };
284
284
  outputFormat: "json";
285
- status: 400;
285
+ status: 404;
286
286
  input: {
287
287
  param: {
288
288
  orgId: string;
@@ -522,14 +522,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
522
522
  } | {
523
523
  output: {
524
524
  error: {
525
- code: "organization_not_found";
525
+ code: "body_invalid";
526
526
  details?: readonly Response.error.Detail[] | undefined;
527
527
  message: string;
528
528
  };
529
529
  requestId: string;
530
530
  };
531
531
  outputFormat: "json";
532
- status: 404;
532
+ status: 400;
533
533
  input: {
534
534
  param: {
535
535
  orgId: string;
@@ -554,14 +554,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
554
554
  } | {
555
555
  output: {
556
556
  error: {
557
- code: "forbidden";
557
+ code: "param_invalid";
558
558
  details?: readonly Response.error.Detail[] | undefined;
559
559
  message: string;
560
560
  };
561
561
  requestId: string;
562
562
  };
563
563
  outputFormat: "json";
564
- status: 403;
564
+ status: 400;
565
565
  input: {
566
566
  param: {
567
567
  orgId: string;
@@ -586,14 +586,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
586
586
  } | {
587
587
  output: {
588
588
  error: {
589
- code: "body_invalid";
589
+ code: "organization_not_found";
590
590
  details?: readonly Response.error.Detail[] | undefined;
591
591
  message: string;
592
592
  };
593
593
  requestId: string;
594
594
  };
595
595
  outputFormat: "json";
596
- status: 400;
596
+ status: 404;
597
597
  input: {
598
598
  param: {
599
599
  orgId: string;
@@ -617,15 +617,26 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
617
617
  };
618
618
  } | {
619
619
  output: {
620
- error: {
621
- code: "param_invalid";
622
- details?: readonly Response.error.Detail[] | undefined;
623
- message: string;
624
- };
625
- requestId: string;
620
+ enabledSources: ("stripe" | "tempo")[];
621
+ spend?: {
622
+ amount: string;
623
+ currency: "usd";
624
+ period: "month";
625
+ } | undefined;
626
+ spendLimit?: {
627
+ amount: string;
628
+ currency: "usd";
629
+ period: "month";
630
+ } | undefined;
631
+ status: "active" | "canceled" | "none" | "past_due";
632
+ txFeeLimit?: {
633
+ amount: string;
634
+ currency: "usd";
635
+ } | undefined;
636
+ updatedAt?: string | undefined;
626
637
  };
627
638
  outputFormat: "json";
628
- status: 400;
639
+ status: 200;
629
640
  input: {
630
641
  param: {
631
642
  orgId: string;
@@ -649,26 +660,15 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
649
660
  };
650
661
  } | {
651
662
  output: {
652
- enabledSources: ("stripe" | "tempo")[];
653
- spend?: {
654
- amount: string;
655
- currency: "usd";
656
- period: "month";
657
- } | undefined;
658
- spendLimit?: {
659
- amount: string;
660
- currency: "usd";
661
- period: "month";
662
- } | undefined;
663
- status: "active" | "canceled" | "none" | "past_due";
664
- txFeeLimit?: {
665
- amount: string;
666
- currency: "usd";
667
- } | undefined;
668
- updatedAt?: string | undefined;
663
+ error: {
664
+ code: "forbidden";
665
+ details?: readonly Response.error.Detail[] | undefined;
666
+ message: string;
667
+ };
668
+ requestId: string;
669
669
  };
670
670
  outputFormat: "json";
671
- status: 200;
671
+ status: 403;
672
672
  input: {
673
673
  param: {
674
674
  orgId: string;
@@ -817,14 +817,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
817
817
  } | {
818
818
  output: {
819
819
  error: {
820
- code: "organization_not_found";
820
+ code: "param_invalid";
821
821
  details?: readonly Response.error.Detail[] | undefined;
822
822
  message: string;
823
823
  };
824
824
  requestId: string;
825
825
  };
826
826
  outputFormat: "json";
827
- status: 404;
827
+ status: 400;
828
828
  input: {
829
829
  param: {
830
830
  orgId: string;
@@ -837,14 +837,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
837
837
  } | {
838
838
  output: {
839
839
  error: {
840
- code: "forbidden";
840
+ code: "organization_not_found";
841
841
  details?: readonly Response.error.Detail[] | undefined;
842
842
  message: string;
843
843
  };
844
844
  requestId: string;
845
845
  };
846
846
  outputFormat: "json";
847
- status: 403;
847
+ status: 404;
848
848
  input: {
849
849
  param: {
850
850
  orgId: string;
@@ -857,14 +857,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
857
857
  } | {
858
858
  output: {
859
859
  error: {
860
- code: "param_invalid";
860
+ code: "forbidden";
861
861
  details?: readonly Response.error.Detail[] | undefined;
862
862
  message: string;
863
863
  };
864
864
  requestId: string;
865
865
  };
866
866
  outputFormat: "json";
867
- status: 400;
867
+ status: 403;
868
868
  input: {
869
869
  param: {
870
870
  orgId: string;
@@ -1056,14 +1056,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1056
1056
  } | {
1057
1057
  output: {
1058
1058
  error: {
1059
- code: "organization_not_found";
1059
+ code: "param_invalid";
1060
1060
  details?: readonly Response.error.Detail[] | undefined;
1061
1061
  message: string;
1062
1062
  };
1063
1063
  requestId: string;
1064
1064
  };
1065
1065
  outputFormat: "json";
1066
- status: 404;
1066
+ status: 400;
1067
1067
  input: {
1068
1068
  param: {
1069
1069
  orgId: string;
@@ -1076,14 +1076,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1076
1076
  } | {
1077
1077
  output: {
1078
1078
  error: {
1079
- code: "forbidden";
1079
+ code: "organization_not_found";
1080
1080
  details?: readonly Response.error.Detail[] | undefined;
1081
1081
  message: string;
1082
1082
  };
1083
1083
  requestId: string;
1084
1084
  };
1085
1085
  outputFormat: "json";
1086
- status: 403;
1086
+ status: 404;
1087
1087
  input: {
1088
1088
  param: {
1089
1089
  orgId: string;
@@ -1096,14 +1096,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1096
1096
  } | {
1097
1097
  output: {
1098
1098
  error: {
1099
- code: "param_invalid";
1099
+ code: "forbidden";
1100
1100
  details?: readonly Response.error.Detail[] | undefined;
1101
1101
  message: string;
1102
1102
  };
1103
1103
  requestId: string;
1104
1104
  };
1105
1105
  outputFormat: "json";
1106
- status: 400;
1106
+ status: 403;
1107
1107
  input: {
1108
1108
  param: {
1109
1109
  orgId: string;
@@ -1295,14 +1295,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1295
1295
  } | {
1296
1296
  output: {
1297
1297
  error: {
1298
- code: "organization_not_found";
1298
+ code: "param_invalid";
1299
1299
  details?: readonly Response.error.Detail[] | undefined;
1300
1300
  message: string;
1301
1301
  };
1302
1302
  requestId: string;
1303
1303
  };
1304
1304
  outputFormat: "json";
1305
- status: 404;
1305
+ status: 400;
1306
1306
  input: {
1307
1307
  param: {
1308
1308
  orgId: string;
@@ -1315,14 +1315,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1315
1315
  } | {
1316
1316
  output: {
1317
1317
  error: {
1318
- code: "param_invalid";
1318
+ code: "organization_not_found";
1319
1319
  details?: readonly Response.error.Detail[] | undefined;
1320
1320
  message: string;
1321
1321
  };
1322
1322
  requestId: string;
1323
1323
  };
1324
1324
  outputFormat: "json";
1325
- status: 400;
1325
+ status: 404;
1326
1326
  input: {
1327
1327
  param: {
1328
1328
  orgId: string;
@@ -1512,35 +1512,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1512
1512
  } | {
1513
1513
  output: {
1514
1514
  error: {
1515
- code: "organization_not_found";
1516
- details?: readonly Response.error.Detail[] | undefined;
1517
- message: string;
1518
- };
1519
- requestId: string;
1520
- };
1521
- outputFormat: "json";
1522
- status: 404;
1523
- input: {
1524
- param: {
1525
- methodId: string;
1526
- orgId: string;
1527
- };
1528
- } & {
1529
- query?: {
1530
- environment?: string | string[];
1531
- } | undefined;
1532
- };
1533
- } | {
1534
- output: {
1535
- error: {
1536
- code: "forbidden";
1515
+ code: "param_invalid";
1537
1516
  details?: readonly Response.error.Detail[] | undefined;
1538
1517
  message: string;
1539
1518
  };
1540
1519
  requestId: string;
1541
1520
  };
1542
1521
  outputFormat: "json";
1543
- status: 403;
1522
+ status: 400;
1544
1523
  input: {
1545
1524
  param: {
1546
1525
  methodId: string;
@@ -1554,14 +1533,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1554
1533
  } | {
1555
1534
  output: {
1556
1535
  error: {
1557
- code: "param_invalid";
1536
+ code: "organization_not_found";
1558
1537
  details?: readonly Response.error.Detail[] | undefined;
1559
1538
  message: string;
1560
1539
  };
1561
1540
  requestId: string;
1562
1541
  };
1563
1542
  outputFormat: "json";
1564
- status: 400;
1543
+ status: 404;
1565
1544
  input: {
1566
1545
  param: {
1567
1546
  methodId: string;
@@ -1604,6 +1583,27 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1604
1583
  environment?: string | string[];
1605
1584
  } | undefined;
1606
1585
  };
1586
+ } | {
1587
+ output: {
1588
+ error: {
1589
+ code: "forbidden";
1590
+ details?: readonly Response.error.Detail[] | undefined;
1591
+ message: string;
1592
+ };
1593
+ requestId: string;
1594
+ };
1595
+ outputFormat: "json";
1596
+ status: 403;
1597
+ input: {
1598
+ param: {
1599
+ methodId: string;
1600
+ orgId: string;
1601
+ };
1602
+ } & {
1603
+ query?: {
1604
+ environment?: string | string[];
1605
+ } | undefined;
1606
+ };
1607
1607
  } | {
1608
1608
  output: {
1609
1609
  error: {
@@ -38,14 +38,14 @@ export declare function faucet(): import("hono/hono-base").HonoBase<Environment,
38
38
  $post: {
39
39
  output: {
40
40
  error: {
41
- code: "api_key_malformed";
41
+ code: "upstream_error";
42
42
  details?: readonly Response.error.Detail[] | undefined;
43
43
  message: string;
44
44
  };
45
45
  requestId: string;
46
46
  };
47
47
  outputFormat: "json";
48
- status: 400;
48
+ status: 502;
49
49
  input: {
50
50
  param: {
51
51
  orgId: string;
@@ -58,14 +58,14 @@ export declare function faucet(): import("hono/hono-base").HonoBase<Environment,
58
58
  } | {
59
59
  output: {
60
60
  error: {
61
- code: "api_key_invalid" | "api_key_missing";
61
+ code: "api_key_malformed";
62
62
  details?: readonly Response.error.Detail[] | undefined;
63
63
  message: string;
64
64
  };
65
65
  requestId: string;
66
66
  };
67
67
  outputFormat: "json";
68
- status: 401;
68
+ status: 400;
69
69
  input: {
70
70
  param: {
71
71
  orgId: string;
@@ -78,14 +78,14 @@ export declare function faucet(): import("hono/hono-base").HonoBase<Environment,
78
78
  } | {
79
79
  output: {
80
80
  error: {
81
- code: "upstream_error";
81
+ code: "api_key_invalid" | "api_key_missing";
82
82
  details?: readonly Response.error.Detail[] | undefined;
83
83
  message: string;
84
84
  };
85
85
  requestId: string;
86
86
  };
87
87
  outputFormat: "json";
88
- status: 502;
88
+ status: 401;
89
89
  input: {
90
90
  param: {
91
91
  orgId: string;
@@ -118,14 +118,14 @@ export declare function faucet(): import("hono/hono-base").HonoBase<Environment,
118
118
  } | {
119
119
  output: {
120
120
  error: {
121
- code: "forbidden";
121
+ code: "param_invalid";
122
122
  details?: readonly Response.error.Detail[] | undefined;
123
123
  message: string;
124
124
  };
125
125
  requestId: string;
126
126
  };
127
127
  outputFormat: "json";
128
- status: 403;
128
+ status: 400;
129
129
  input: {
130
130
  param: {
131
131
  orgId: string;
@@ -138,14 +138,14 @@ export declare function faucet(): import("hono/hono-base").HonoBase<Environment,
138
138
  } | {
139
139
  output: {
140
140
  error: {
141
- code: "organization_not_found";
141
+ code: "forbidden";
142
142
  details?: readonly Response.error.Detail[] | undefined;
143
143
  message: string;
144
144
  };
145
145
  requestId: string;
146
146
  };
147
147
  outputFormat: "json";
148
- status: 404;
148
+ status: 403;
149
149
  input: {
150
150
  param: {
151
151
  orgId: string;
@@ -158,14 +158,14 @@ export declare function faucet(): import("hono/hono-base").HonoBase<Environment,
158
158
  } | {
159
159
  output: {
160
160
  error: {
161
- code: "param_invalid";
161
+ code: "organization_not_found";
162
162
  details?: readonly Response.error.Detail[] | undefined;
163
163
  message: string;
164
164
  };
165
165
  requestId: string;
166
166
  };
167
167
  outputFormat: "json";
168
- status: 400;
168
+ status: 404;
169
169
  input: {
170
170
  param: {
171
171
  orgId: string;
@@ -236,14 +236,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
236
236
  } | {
237
237
  output: {
238
238
  error: {
239
- code: "body_invalid";
239
+ code: "organization_not_found";
240
240
  details?: readonly Response.error.Detail[] | undefined;
241
241
  message: string;
242
242
  };
243
243
  requestId: string;
244
244
  };
245
245
  outputFormat: "json";
246
- status: 400;
246
+ status: 404;
247
247
  input: {
248
248
  param: {
249
249
  orgId: string;
@@ -257,14 +257,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
257
257
  } | {
258
258
  output: {
259
259
  error: {
260
- code: "param_invalid";
260
+ code: "forbidden";
261
261
  details?: readonly Response.error.Detail[] | undefined;
262
262
  message: string;
263
263
  };
264
264
  requestId: string;
265
265
  };
266
266
  outputFormat: "json";
267
- status: 400;
267
+ status: 403;
268
268
  input: {
269
269
  param: {
270
270
  orgId: string;
@@ -278,14 +278,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
278
278
  } | {
279
279
  output: {
280
280
  error: {
281
- code: "forbidden";
281
+ code: "param_invalid";
282
282
  details?: readonly Response.error.Detail[] | undefined;
283
283
  message: string;
284
284
  };
285
285
  requestId: string;
286
286
  };
287
287
  outputFormat: "json";
288
- status: 403;
288
+ status: 400;
289
289
  input: {
290
290
  param: {
291
291
  orgId: string;
@@ -299,14 +299,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
299
299
  } | {
300
300
  output: {
301
301
  error: {
302
- code: "organization_not_found";
302
+ code: "body_invalid";
303
303
  details?: readonly Response.error.Detail[] | undefined;
304
304
  message: string;
305
305
  };
306
306
  requestId: string;
307
307
  };
308
308
  outputFormat: "json";
309
- status: 404;
309
+ status: 400;
310
310
  input: {
311
311
  param: {
312
312
  orgId: string;
@@ -426,14 +426,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
426
426
  } | {
427
427
  output: {
428
428
  error: {
429
- code: "param_invalid";
429
+ code: "organization_not_found";
430
430
  details?: readonly Response.error.Detail[] | undefined;
431
431
  message: string;
432
432
  };
433
433
  requestId: string;
434
434
  };
435
435
  outputFormat: "json";
436
- status: 400;
436
+ status: 404;
437
437
  input: {
438
438
  param: {
439
439
  orgId: string;
@@ -458,14 +458,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
458
458
  } | {
459
459
  output: {
460
460
  error: {
461
- code: "organization_not_found";
461
+ code: "param_invalid";
462
462
  details?: readonly Response.error.Detail[] | undefined;
463
463
  message: string;
464
464
  };
465
465
  requestId: string;
466
466
  };
467
467
  outputFormat: "json";
468
- status: 404;
468
+ status: 400;
469
469
  input: {
470
470
  param: {
471
471
  orgId: string;
@@ -582,14 +582,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
582
582
  } | {
583
583
  output: {
584
584
  error: {
585
- code: "param_invalid";
585
+ code: "organization_not_found";
586
586
  details?: readonly Response.error.Detail[] | undefined;
587
587
  message: string;
588
588
  };
589
589
  requestId: string;
590
590
  };
591
591
  outputFormat: "json";
592
- status: 400;
592
+ status: 404;
593
593
  input: {
594
594
  param: {
595
595
  invitationId: string;
@@ -616,14 +616,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
616
616
  } | {
617
617
  output: {
618
618
  error: {
619
- code: "organization_not_found";
619
+ code: "param_invalid";
620
620
  details?: readonly Response.error.Detail[] | undefined;
621
621
  message: string;
622
622
  };
623
623
  requestId: string;
624
624
  };
625
625
  outputFormat: "json";
626
- status: 404;
626
+ status: 400;
627
627
  input: {
628
628
  param: {
629
629
  invitationId: string;
@@ -782,14 +782,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
782
782
  } | {
783
783
  output: {
784
784
  error: {
785
- code: "param_invalid";
785
+ code: "forbidden";
786
786
  details?: readonly Response.error.Detail[] | undefined;
787
787
  message: string;
788
788
  };
789
789
  requestId: string;
790
790
  };
791
791
  outputFormat: "json";
792
- status: 400;
792
+ status: 403;
793
793
  input: {
794
794
  param: {
795
795
  invitationId: string;
@@ -798,14 +798,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
798
798
  } | {
799
799
  output: {
800
800
  error: {
801
- code: "forbidden";
801
+ code: "param_invalid";
802
802
  details?: readonly Response.error.Detail[] | undefined;
803
803
  message: string;
804
804
  };
805
805
  requestId: string;
806
806
  };
807
807
  outputFormat: "json";
808
- status: 403;
808
+ status: 400;
809
809
  input: {
810
810
  param: {
811
811
  invitationId: string;
@@ -895,14 +895,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
895
895
  } | {
896
896
  output: {
897
897
  error: {
898
- code: "param_invalid";
898
+ code: "forbidden";
899
899
  details?: readonly Response.error.Detail[] | undefined;
900
900
  message: string;
901
901
  };
902
902
  requestId: string;
903
903
  };
904
904
  outputFormat: "json";
905
- status: 400;
905
+ status: 403;
906
906
  input: {
907
907
  param: {
908
908
  invitationId: string;
@@ -911,14 +911,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
911
911
  } | {
912
912
  output: {
913
913
  error: {
914
- code: "forbidden";
914
+ code: "param_invalid";
915
915
  details?: readonly Response.error.Detail[] | undefined;
916
916
  message: string;
917
917
  };
918
918
  requestId: string;
919
919
  };
920
920
  outputFormat: "json";
921
- status: 403;
921
+ status: 400;
922
922
  input: {
923
923
  param: {
924
924
  invitationId: string;