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
@@ -198,14 +198,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
198
198
  $post: {
199
199
  output: {
200
200
  error: {
201
- code: "upstream_error";
201
+ code: "api_key_malformed";
202
202
  details?: readonly Response.error.Detail[] | undefined;
203
203
  message: string;
204
204
  };
205
205
  requestId: string;
206
206
  };
207
207
  outputFormat: "json";
208
- status: 502;
208
+ status: 400;
209
209
  input: {
210
210
  param: {
211
211
  orgId: string;
@@ -222,14 +222,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
222
222
  } | {
223
223
  output: {
224
224
  error: {
225
- code: "api_key_malformed";
225
+ code: "api_key_invalid" | "api_key_missing";
226
226
  details?: readonly Response.error.Detail[] | undefined;
227
227
  message: string;
228
228
  };
229
229
  requestId: string;
230
230
  };
231
231
  outputFormat: "json";
232
- status: 400;
232
+ status: 401;
233
233
  input: {
234
234
  param: {
235
235
  orgId: string;
@@ -246,14 +246,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
246
246
  } | {
247
247
  output: {
248
248
  error: {
249
- code: "api_key_invalid" | "api_key_missing";
249
+ code: "upstream_error";
250
250
  details?: readonly Response.error.Detail[] | undefined;
251
251
  message: string;
252
252
  };
253
253
  requestId: string;
254
254
  };
255
255
  outputFormat: "json";
256
- status: 401;
256
+ status: 502;
257
257
  input: {
258
258
  param: {
259
259
  orgId: string;
@@ -270,7 +270,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
270
270
  } | {
271
271
  output: {
272
272
  error: {
273
- code: "param_invalid";
273
+ code: "body_invalid";
274
274
  details?: readonly Response.error.Detail[] | undefined;
275
275
  message: string;
276
276
  };
@@ -294,7 +294,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
294
294
  } | {
295
295
  output: {
296
296
  error: {
297
- code: "body_invalid";
297
+ code: "param_invalid";
298
298
  details?: readonly Response.error.Detail[] | undefined;
299
299
  message: string;
300
300
  };
@@ -449,14 +449,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
449
449
  $get: {
450
450
  output: {
451
451
  error: {
452
- code: "upstream_error";
452
+ code: "api_key_malformed";
453
453
  details?: readonly Response.error.Detail[] | undefined;
454
454
  message: string;
455
455
  };
456
456
  requestId: string;
457
457
  };
458
458
  outputFormat: "json";
459
- status: 502;
459
+ status: 400;
460
460
  input: {
461
461
  param: {
462
462
  orgId: string;
@@ -470,14 +470,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
470
470
  } | {
471
471
  output: {
472
472
  error: {
473
- code: "query_invalid";
473
+ code: "api_key_invalid" | "api_key_missing";
474
474
  details?: readonly Response.error.Detail[] | undefined;
475
475
  message: string;
476
476
  };
477
477
  requestId: string;
478
478
  };
479
479
  outputFormat: "json";
480
- status: 400;
480
+ status: 401;
481
481
  input: {
482
482
  param: {
483
483
  orgId: string;
@@ -491,14 +491,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
491
491
  } | {
492
492
  output: {
493
493
  error: {
494
- code: "api_key_malformed";
494
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
495
495
  details?: readonly Response.error.Detail[] | undefined;
496
496
  message: string;
497
497
  };
498
498
  requestId: string;
499
499
  };
500
500
  outputFormat: "json";
501
- status: 400;
501
+ status: 403;
502
502
  input: {
503
503
  param: {
504
504
  orgId: string;
@@ -512,14 +512,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
512
512
  } | {
513
513
  output: {
514
514
  error: {
515
- code: "api_key_invalid" | "api_key_missing";
515
+ code: "payment_required" | "rate_limit_exceeded";
516
516
  details?: readonly Response.error.Detail[] | undefined;
517
517
  message: string;
518
518
  };
519
519
  requestId: string;
520
520
  };
521
521
  outputFormat: "json";
522
- status: 401;
522
+ status: 429;
523
523
  input: {
524
524
  param: {
525
525
  orgId: string;
@@ -533,14 +533,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
533
533
  } | {
534
534
  output: {
535
535
  error: {
536
- code: "api_key_forbidden" | "api_key_ip_forbidden";
536
+ code: "query_invalid";
537
537
  details?: readonly Response.error.Detail[] | undefined;
538
538
  message: string;
539
539
  };
540
540
  requestId: string;
541
541
  };
542
542
  outputFormat: "json";
543
- status: 403;
543
+ status: 400;
544
544
  input: {
545
545
  param: {
546
546
  orgId: string;
@@ -554,14 +554,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
554
554
  } | {
555
555
  output: {
556
556
  error: {
557
- code: "payment_required" | "rate_limit_exceeded";
557
+ code: "upstream_error";
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: 429;
564
+ status: 502;
565
565
  input: {
566
566
  param: {
567
567
  orgId: string;
@@ -671,14 +671,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
671
671
  $get: {
672
672
  output: {
673
673
  error: {
674
- code: "upstream_error";
674
+ code: "api_key_malformed";
675
675
  details?: readonly Response.error.Detail[] | undefined;
676
676
  message: string;
677
677
  };
678
678
  requestId: string;
679
679
  };
680
680
  outputFormat: "json";
681
- status: 502;
681
+ status: 400;
682
682
  input: {
683
683
  param: {
684
684
  orgId: string;
@@ -691,14 +691,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
691
691
  } | {
692
692
  output: {
693
693
  error: {
694
- code: "query_invalid";
694
+ code: "api_key_invalid" | "api_key_missing";
695
695
  details?: readonly Response.error.Detail[] | undefined;
696
696
  message: string;
697
697
  };
698
698
  requestId: string;
699
699
  };
700
700
  outputFormat: "json";
701
- status: 400;
701
+ status: 401;
702
702
  input: {
703
703
  param: {
704
704
  orgId: string;
@@ -711,14 +711,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
711
711
  } | {
712
712
  output: {
713
713
  error: {
714
- code: "api_key_malformed";
714
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
715
715
  details?: readonly Response.error.Detail[] | undefined;
716
716
  message: string;
717
717
  };
718
718
  requestId: string;
719
719
  };
720
720
  outputFormat: "json";
721
- status: 400;
721
+ status: 403;
722
722
  input: {
723
723
  param: {
724
724
  orgId: string;
@@ -731,14 +731,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
731
731
  } | {
732
732
  output: {
733
733
  error: {
734
- code: "api_key_invalid" | "api_key_missing";
734
+ code: "payment_required" | "rate_limit_exceeded";
735
735
  details?: readonly Response.error.Detail[] | undefined;
736
736
  message: string;
737
737
  };
738
738
  requestId: string;
739
739
  };
740
740
  outputFormat: "json";
741
- status: 401;
741
+ status: 429;
742
742
  input: {
743
743
  param: {
744
744
  orgId: string;
@@ -751,14 +751,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
751
751
  } | {
752
752
  output: {
753
753
  error: {
754
- code: "api_key_forbidden" | "api_key_ip_forbidden";
754
+ code: "query_invalid";
755
755
  details?: readonly Response.error.Detail[] | undefined;
756
756
  message: string;
757
757
  };
758
758
  requestId: string;
759
759
  };
760
760
  outputFormat: "json";
761
- status: 403;
761
+ status: 400;
762
762
  input: {
763
763
  param: {
764
764
  orgId: string;
@@ -771,14 +771,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
771
771
  } | {
772
772
  output: {
773
773
  error: {
774
- code: "payment_required" | "rate_limit_exceeded";
774
+ code: "upstream_error";
775
775
  details?: readonly Response.error.Detail[] | undefined;
776
776
  message: string;
777
777
  };
778
778
  requestId: string;
779
779
  };
780
780
  outputFormat: "json";
781
- status: 429;
781
+ status: 502;
782
782
  input: {
783
783
  param: {
784
784
  orgId: string;
@@ -883,14 +883,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
883
883
  $post: {
884
884
  output: {
885
885
  error: {
886
- code: "upstream_error";
886
+ code: "api_key_malformed";
887
887
  details?: readonly Response.error.Detail[] | undefined;
888
888
  message: string;
889
889
  };
890
890
  requestId: string;
891
891
  };
892
892
  outputFormat: "json";
893
- status: 502;
893
+ status: 400;
894
894
  input: {
895
895
  param: {
896
896
  keyId: string;
@@ -900,14 +900,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
900
900
  } | {
901
901
  output: {
902
902
  error: {
903
- code: "api_key_malformed";
903
+ code: "api_key_invalid" | "api_key_missing";
904
904
  details?: readonly Response.error.Detail[] | undefined;
905
905
  message: string;
906
906
  };
907
907
  requestId: string;
908
908
  };
909
909
  outputFormat: "json";
910
- status: 400;
910
+ status: 401;
911
911
  input: {
912
912
  param: {
913
913
  keyId: string;
@@ -917,14 +917,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
917
917
  } | {
918
918
  output: {
919
919
  error: {
920
- code: "api_key_invalid" | "api_key_missing";
920
+ code: "upstream_error";
921
921
  details?: readonly Response.error.Detail[] | undefined;
922
922
  message: string;
923
923
  };
924
924
  requestId: string;
925
925
  };
926
926
  outputFormat: "json";
927
- status: 401;
927
+ status: 502;
928
928
  input: {
929
929
  param: {
930
930
  keyId: string;
@@ -1047,14 +1047,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1047
1047
  $delete: {
1048
1048
  output: {
1049
1049
  error: {
1050
- code: "upstream_error";
1050
+ code: "api_key_malformed";
1051
1051
  details?: readonly Response.error.Detail[] | undefined;
1052
1052
  message: string;
1053
1053
  };
1054
1054
  requestId: string;
1055
1055
  };
1056
1056
  outputFormat: "json";
1057
- status: 502;
1057
+ status: 400;
1058
1058
  input: {
1059
1059
  param: {
1060
1060
  keyId: string;
@@ -1064,14 +1064,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1064
1064
  } | {
1065
1065
  output: {
1066
1066
  error: {
1067
- code: "api_key_malformed";
1067
+ code: "api_key_invalid" | "api_key_missing";
1068
1068
  details?: readonly Response.error.Detail[] | undefined;
1069
1069
  message: string;
1070
1070
  };
1071
1071
  requestId: string;
1072
1072
  };
1073
1073
  outputFormat: "json";
1074
- status: 400;
1074
+ status: 401;
1075
1075
  input: {
1076
1076
  param: {
1077
1077
  keyId: string;
@@ -1081,14 +1081,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1081
1081
  } | {
1082
1082
  output: {
1083
1083
  error: {
1084
- code: "api_key_invalid" | "api_key_missing";
1084
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1085
1085
  details?: readonly Response.error.Detail[] | undefined;
1086
1086
  message: string;
1087
1087
  };
1088
1088
  requestId: string;
1089
1089
  };
1090
1090
  outputFormat: "json";
1091
- status: 401;
1091
+ status: 403;
1092
1092
  input: {
1093
1093
  param: {
1094
1094
  keyId: string;
@@ -1098,14 +1098,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1098
1098
  } | {
1099
1099
  output: {
1100
1100
  error: {
1101
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1101
+ code: "payment_required" | "rate_limit_exceeded";
1102
1102
  details?: readonly Response.error.Detail[] | undefined;
1103
1103
  message: string;
1104
1104
  };
1105
1105
  requestId: string;
1106
1106
  };
1107
1107
  outputFormat: "json";
1108
- status: 403;
1108
+ status: 429;
1109
1109
  input: {
1110
1110
  param: {
1111
1111
  keyId: string;
@@ -1115,14 +1115,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1115
1115
  } | {
1116
1116
  output: {
1117
1117
  error: {
1118
- code: "payment_required" | "rate_limit_exceeded";
1118
+ code: "upstream_error";
1119
1119
  details?: readonly Response.error.Detail[] | undefined;
1120
1120
  message: string;
1121
1121
  };
1122
1122
  requestId: string;
1123
1123
  };
1124
1124
  outputFormat: "json";
1125
- status: 429;
1125
+ status: 502;
1126
1126
  input: {
1127
1127
  param: {
1128
1128
  keyId: string;
@@ -1216,14 +1216,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1216
1216
  $patch: {
1217
1217
  output: {
1218
1218
  error: {
1219
- code: "upstream_error";
1219
+ code: "api_key_malformed";
1220
1220
  details?: readonly Response.error.Detail[] | undefined;
1221
1221
  message: string;
1222
1222
  };
1223
1223
  requestId: string;
1224
1224
  };
1225
1225
  outputFormat: "json";
1226
- status: 502;
1226
+ status: 400;
1227
1227
  input: {
1228
1228
  param: {
1229
1229
  keyId: string;
@@ -1238,14 +1238,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1238
1238
  } | {
1239
1239
  output: {
1240
1240
  error: {
1241
- code: "api_key_malformed";
1241
+ code: "api_key_invalid" | "api_key_missing";
1242
1242
  details?: readonly Response.error.Detail[] | undefined;
1243
1243
  message: string;
1244
1244
  };
1245
1245
  requestId: string;
1246
1246
  };
1247
1247
  outputFormat: "json";
1248
- status: 400;
1248
+ status: 401;
1249
1249
  input: {
1250
1250
  param: {
1251
1251
  keyId: string;
@@ -1260,14 +1260,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1260
1260
  } | {
1261
1261
  output: {
1262
1262
  error: {
1263
- code: "api_key_invalid" | "api_key_missing";
1263
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1264
1264
  details?: readonly Response.error.Detail[] | undefined;
1265
1265
  message: string;
1266
1266
  };
1267
1267
  requestId: string;
1268
1268
  };
1269
1269
  outputFormat: "json";
1270
- status: 401;
1270
+ status: 403;
1271
1271
  input: {
1272
1272
  param: {
1273
1273
  keyId: string;
@@ -1282,14 +1282,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1282
1282
  } | {
1283
1283
  output: {
1284
1284
  error: {
1285
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1285
+ code: "payment_required" | "rate_limit_exceeded";
1286
1286
  details?: readonly Response.error.Detail[] | undefined;
1287
1287
  message: string;
1288
1288
  };
1289
1289
  requestId: string;
1290
1290
  };
1291
1291
  outputFormat: "json";
1292
- status: 403;
1292
+ status: 429;
1293
1293
  input: {
1294
1294
  param: {
1295
1295
  keyId: string;
@@ -1304,14 +1304,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1304
1304
  } | {
1305
1305
  output: {
1306
1306
  error: {
1307
- code: "payment_required" | "rate_limit_exceeded";
1307
+ code: "upstream_error";
1308
1308
  details?: readonly Response.error.Detail[] | undefined;
1309
1309
  message: string;
1310
1310
  };
1311
1311
  requestId: string;
1312
1312
  };
1313
1313
  outputFormat: "json";
1314
- status: 429;
1314
+ status: 502;
1315
1315
  input: {
1316
1316
  param: {
1317
1317
  keyId: string;
@@ -1326,7 +1326,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1326
1326
  } | {
1327
1327
  output: {
1328
1328
  error: {
1329
- code: "param_invalid";
1329
+ code: "body_invalid";
1330
1330
  details?: readonly Response.error.Detail[] | undefined;
1331
1331
  message: string;
1332
1332
  };
@@ -1348,7 +1348,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1348
1348
  } | {
1349
1349
  output: {
1350
1350
  error: {
1351
- code: "body_invalid";
1351
+ code: "param_invalid";
1352
1352
  details?: readonly Response.error.Detail[] | undefined;
1353
1353
  message: string;
1354
1354
  };
@@ -1490,14 +1490,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1490
1490
  $post: {
1491
1491
  output: {
1492
1492
  error: {
1493
- code: "upstream_error";
1493
+ code: "api_key_malformed";
1494
1494
  details?: readonly Response.error.Detail[] | undefined;
1495
1495
  message: string;
1496
1496
  };
1497
1497
  requestId: string;
1498
1498
  };
1499
1499
  outputFormat: "json";
1500
- status: 502;
1500
+ status: 400;
1501
1501
  input: {
1502
1502
  param: {
1503
1503
  keyId: string;
@@ -1508,14 +1508,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1508
1508
  } | {
1509
1509
  output: {
1510
1510
  error: {
1511
- code: "api_key_malformed";
1511
+ code: "api_key_invalid" | "api_key_missing";
1512
1512
  details?: readonly Response.error.Detail[] | undefined;
1513
1513
  message: string;
1514
1514
  };
1515
1515
  requestId: string;
1516
1516
  };
1517
1517
  outputFormat: "json";
1518
- status: 400;
1518
+ status: 401;
1519
1519
  input: {
1520
1520
  param: {
1521
1521
  keyId: string;
@@ -1526,14 +1526,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1526
1526
  } | {
1527
1527
  output: {
1528
1528
  error: {
1529
- code: "api_key_invalid" | "api_key_missing";
1529
+ code: "upstream_error";
1530
1530
  details?: readonly Response.error.Detail[] | undefined;
1531
1531
  message: string;
1532
1532
  };
1533
1533
  requestId: string;
1534
1534
  };
1535
1535
  outputFormat: "json";
1536
- status: 401;
1536
+ status: 502;
1537
1537
  input: {
1538
1538
  param: {
1539
1539
  keyId: string;
@@ -1681,14 +1681,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1681
1681
  $delete: {
1682
1682
  output: {
1683
1683
  error: {
1684
- code: "upstream_error";
1684
+ code: "api_key_malformed";
1685
1685
  details?: readonly Response.error.Detail[] | undefined;
1686
1686
  message: string;
1687
1687
  };
1688
1688
  requestId: string;
1689
1689
  };
1690
1690
  outputFormat: "json";
1691
- status: 502;
1691
+ status: 400;
1692
1692
  input: {
1693
1693
  param: {
1694
1694
  keyId: string;
@@ -1699,14 +1699,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1699
1699
  } | {
1700
1700
  output: {
1701
1701
  error: {
1702
- code: "api_key_malformed";
1702
+ code: "api_key_invalid" | "api_key_missing";
1703
1703
  details?: readonly Response.error.Detail[] | undefined;
1704
1704
  message: string;
1705
1705
  };
1706
1706
  requestId: string;
1707
1707
  };
1708
1708
  outputFormat: "json";
1709
- status: 400;
1709
+ status: 401;
1710
1710
  input: {
1711
1711
  param: {
1712
1712
  keyId: string;
@@ -1717,14 +1717,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1717
1717
  } | {
1718
1718
  output: {
1719
1719
  error: {
1720
- code: "api_key_invalid" | "api_key_missing";
1720
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1721
1721
  details?: readonly Response.error.Detail[] | undefined;
1722
1722
  message: string;
1723
1723
  };
1724
1724
  requestId: string;
1725
1725
  };
1726
1726
  outputFormat: "json";
1727
- status: 401;
1727
+ status: 403;
1728
1728
  input: {
1729
1729
  param: {
1730
1730
  keyId: string;
@@ -1735,14 +1735,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1735
1735
  } | {
1736
1736
  output: {
1737
1737
  error: {
1738
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1738
+ code: "payment_required" | "rate_limit_exceeded";
1739
1739
  details?: readonly Response.error.Detail[] | undefined;
1740
1740
  message: string;
1741
1741
  };
1742
1742
  requestId: string;
1743
1743
  };
1744
1744
  outputFormat: "json";
1745
- status: 403;
1745
+ status: 429;
1746
1746
  input: {
1747
1747
  param: {
1748
1748
  keyId: string;
@@ -1753,14 +1753,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1753
1753
  } | {
1754
1754
  output: {
1755
1755
  error: {
1756
- code: "payment_required" | "rate_limit_exceeded";
1756
+ code: "upstream_error";
1757
1757
  details?: readonly Response.error.Detail[] | undefined;
1758
1758
  message: string;
1759
1759
  };
1760
1760
  requestId: string;
1761
1761
  };
1762
1762
  outputFormat: "json";
1763
- status: 429;
1763
+ status: 502;
1764
1764
  input: {
1765
1765
  param: {
1766
1766
  keyId: string;