tapimo 0.10.0 → 0.10.2

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 (295) hide show
  1. package/dist/ApiKey.d.ts +2 -1
  2. package/dist/ApiKey.d.ts.map +1 -1
  3. package/dist/ApiKeys.d.ts +4 -2
  4. package/dist/ApiKeys.d.ts.map +1 -1
  5. package/dist/ApiKeys.js +26 -1
  6. package/dist/ApiKeys.js.map +1 -1
  7. package/dist/App.d.ts +6007 -5003
  8. package/dist/App.d.ts.map +1 -1
  9. package/dist/App.js +1 -0
  10. package/dist/App.js.map +1 -1
  11. package/dist/Webhooks.d.ts +1 -1
  12. package/dist/Webhooks.d.ts.map +1 -1
  13. package/dist/Webhooks.js +6 -6
  14. package/dist/Webhooks.js.map +1 -1
  15. package/dist/admin/App.d.ts +91 -84
  16. package/dist/admin/App.d.ts.map +1 -1
  17. package/dist/admin/apps/api-keys.d.ts +22 -13
  18. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  19. package/dist/admin/apps/api-keys.js +6 -0
  20. package/dist/admin/apps/api-keys.js.map +1 -1
  21. package/dist/admin/apps/organizations.d.ts +4 -2
  22. package/dist/admin/apps/organizations.d.ts.map +1 -1
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +69 -69
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts.map +1 -1
  27. package/dist/analytics/Analytics.js +232 -0
  28. package/dist/analytics/Analytics.js.map +1 -1
  29. package/dist/analytics/tables/requestEvents.d.ts +4 -0
  30. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  31. package/dist/analytics/tables/requestEvents.js +2 -0
  32. package/dist/analytics/tables/requestEvents.js.map +1 -1
  33. package/dist/apps/Zones.d.ts +4266 -82
  34. package/dist/apps/Zones.d.ts.map +1 -1
  35. package/dist/apps/Zones.js +27 -8
  36. package/dist/apps/Zones.js.map +1 -1
  37. package/dist/apps/data/App.d.ts +3467 -2696
  38. package/dist/apps/data/App.d.ts.map +1 -1
  39. package/dist/apps/data/App.js +2 -0
  40. package/dist/apps/data/App.js.map +1 -1
  41. package/dist/apps/data/routes/activities.d.ts +2999 -100
  42. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  43. package/dist/apps/data/routes/activities.js +340 -2
  44. package/dist/apps/data/routes/activities.js.map +1 -1
  45. package/dist/apps/data/routes/addresses.d.ts +514 -0
  46. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  47. package/dist/apps/data/routes/balances.d.ts +26 -26
  48. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  49. package/dist/apps/data/routes/balances.js +7 -3
  50. package/dist/apps/data/routes/balances.js.map +1 -1
  51. package/dist/apps/data/routes/blocks.d.ts +4 -4
  52. package/dist/apps/data/routes/earn.d.ts +75 -75
  53. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  54. package/dist/apps/data/routes/earn.js +65 -36
  55. package/dist/apps/data/routes/earn.js.map +1 -1
  56. package/dist/apps/data/routes/exchanges.d.ts +124 -120
  57. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  58. package/dist/apps/data/routes/exchanges.js +115 -77
  59. package/dist/apps/data/routes/exchanges.js.map +1 -1
  60. package/dist/apps/data/routes/fee-amm.d.ts +24 -24
  61. package/dist/apps/data/routes/indexer.d.ts +2 -1
  62. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  63. package/dist/apps/data/routes/indexer.js +3 -2
  64. package/dist/apps/data/routes/indexer.js.map +1 -1
  65. package/dist/apps/data/routes/receipts.d.ts +4 -3
  66. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  67. package/dist/apps/data/routes/receipts.js +15 -14
  68. package/dist/apps/data/routes/receipts.js.map +1 -1
  69. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  70. package/dist/apps/data/routes/rpc.js +5 -1
  71. package/dist/apps/data/routes/rpc.js.map +1 -1
  72. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  73. package/dist/apps/data/routes/tokens.d.ts +1 -1
  74. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  75. package/dist/apps/data/routes/tokens.js +4 -3
  76. package/dist/apps/data/routes/tokens.js.map +1 -1
  77. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  78. package/dist/apps/data/routes/transfers.js +25 -7
  79. package/dist/apps/data/routes/transfers.js.map +1 -1
  80. package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
  81. package/dist/apps/data/routes/webhooks.d.ts +71 -1
  82. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  83. package/dist/apps/data/routes/webhooks.js +177 -23
  84. package/dist/apps/data/routes/webhooks.js.map +1 -1
  85. package/dist/apps/data/routes/zones.js +1 -1
  86. package/dist/apps/data/routes/zones.js.map +1 -1
  87. package/dist/apps/funding/App.d.ts +322 -89
  88. package/dist/apps/funding/App.d.ts.map +1 -1
  89. package/dist/apps/funding/routes/deposit-addresses.d.ts +375 -45
  90. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  91. package/dist/apps/funding/routes/deposit-addresses.js +208 -12
  92. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  93. package/dist/apps/funding/routes/transfers.d.ts +32 -32
  94. package/dist/apps/funding/routes/transfers.js +1 -1
  95. package/dist/apps/funding/routes/transfers.js.map +1 -1
  96. package/dist/apps/management/App.d.ts +418 -418
  97. package/dist/apps/management/routes/api-keys.d.ts +50 -50
  98. package/dist/apps/management/routes/billing.d.ts +72 -72
  99. package/dist/apps/management/routes/billing.js +1 -1
  100. package/dist/apps/management/routes/billing.js.map +1 -1
  101. package/dist/apps/management/routes/faucet.d.ts +8 -8
  102. package/dist/apps/management/routes/faucet.js +2 -2
  103. package/dist/apps/management/routes/faucet.js.map +1 -1
  104. package/dist/apps/management/routes/invite-links.d.ts +42 -42
  105. package/dist/apps/management/routes/me.d.ts +6 -6
  106. package/dist/apps/management/routes/members.d.ts +14 -14
  107. package/dist/apps/management/routes/projects.d.ts +40 -40
  108. package/dist/apps/management/routes/usage.d.ts +8 -8
  109. package/dist/apps/management/routes/webhooks.d.ts +49 -49
  110. package/dist/apps/mcp.d.ts.map +1 -1
  111. package/dist/apps/mcp.js +4 -1
  112. package/dist/apps/mcp.js.map +1 -1
  113. package/dist/db/Db.d.ts +2 -0
  114. package/dist/db/Db.d.ts.map +1 -1
  115. package/dist/db/Db.js +90 -0
  116. package/dist/db/Db.js.map +1 -1
  117. package/dist/db/Schema.d.ts +19 -0
  118. package/dist/db/Schema.d.ts.map +1 -1
  119. package/dist/db/Schema.js +24 -0
  120. package/dist/db/Schema.js.map +1 -1
  121. package/dist/db/tables/fundingDepositAddresses.d.ts +20 -0
  122. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  123. package/dist/db/tables/fundingDepositAddresses.js +17 -0
  124. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  125. package/dist/db/tables/fundingDeposits.d.ts +41 -0
  126. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  127. package/dist/db/tables/fundingDeposits.js +69 -0
  128. package/dist/db/tables/fundingDeposits.js.map +1 -1
  129. package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
  130. package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
  131. package/dist/db/tables/webhookQueueEvents.js +160 -0
  132. package/dist/db/tables/webhookQueueEvents.js.map +1 -0
  133. package/dist/db/tables/webhookSubscriptions.d.ts +2 -0
  134. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  135. package/dist/db/tables/webhookSubscriptions.js +10 -0
  136. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  137. package/dist/internal/Auth.d.ts +3 -26
  138. package/dist/internal/Auth.d.ts.map +1 -1
  139. package/dist/internal/Auth.js +6 -37
  140. package/dist/internal/Auth.js.map +1 -1
  141. package/dist/internal/Credential.d.ts +27 -0
  142. package/dist/internal/Credential.d.ts.map +1 -0
  143. package/dist/internal/Credential.js +34 -0
  144. package/dist/internal/Credential.js.map +1 -0
  145. package/dist/internal/EarnRates.js +11 -7
  146. package/dist/internal/EarnRates.js.map +1 -1
  147. package/dist/internal/Log.d.ts +8 -0
  148. package/dist/internal/Log.d.ts.map +1 -1
  149. package/dist/internal/Log.js +4 -0
  150. package/dist/internal/Log.js.map +1 -1
  151. package/dist/internal/MetricSink.d.ts +51 -0
  152. package/dist/internal/MetricSink.d.ts.map +1 -1
  153. package/dist/internal/MetricSink.js +54 -2
  154. package/dist/internal/MetricSink.js.map +1 -1
  155. package/dist/internal/RateLimit.d.ts +4 -6
  156. package/dist/internal/RateLimit.d.ts.map +1 -1
  157. package/dist/internal/RateLimit.js +15 -14
  158. package/dist/internal/RateLimit.js.map +1 -1
  159. package/dist/internal/Store.d.ts +2 -1
  160. package/dist/internal/Store.d.ts.map +1 -1
  161. package/dist/internal/Store.js +57 -18
  162. package/dist/internal/Store.js.map +1 -1
  163. package/dist/internal/Tidx.d.ts +4 -3
  164. package/dist/internal/Tidx.d.ts.map +1 -1
  165. package/dist/internal/Tidx.js +2 -2
  166. package/dist/internal/Tidx.js.map +1 -1
  167. package/dist/internal/Value.d.ts +2 -0
  168. package/dist/internal/Value.d.ts.map +1 -1
  169. package/dist/internal/Value.js +25 -0
  170. package/dist/internal/Value.js.map +1 -1
  171. package/dist/internal/Viem.d.ts +4 -3
  172. package/dist/internal/Viem.d.ts.map +1 -1
  173. package/dist/internal/Viem.js +3 -2
  174. package/dist/internal/Viem.js.map +1 -1
  175. package/dist/internal/WebhookTransfer.d.ts +20 -0
  176. package/dist/internal/WebhookTransfer.d.ts.map +1 -1
  177. package/dist/internal/WebhookTransfer.js +7 -4
  178. package/dist/internal/WebhookTransfer.js.map +1 -1
  179. package/dist/internal/Webhooks.d.ts +141 -0
  180. package/dist/internal/Webhooks.d.ts.map +1 -1
  181. package/dist/internal/Webhooks.js +139 -10
  182. package/dist/internal/Webhooks.js.map +1 -1
  183. package/dist/internal/funding/providers/relay.d.ts +3 -4
  184. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  185. package/dist/internal/funding/providers/relay.js +59 -8
  186. package/dist/internal/funding/providers/relay.js.map +1 -1
  187. package/dist/internal/index.d.ts +1 -0
  188. package/dist/internal/index.d.ts.map +1 -1
  189. package/dist/internal/index.js +1 -0
  190. package/dist/internal/index.js.map +1 -1
  191. package/package.json +3 -3
  192. package/src/ApiKeys.test.ts +20 -0
  193. package/src/ApiKeys.ts +28 -1
  194. package/src/App.test.ts +40 -8
  195. package/src/App.ts +1 -0
  196. package/src/Client.test-d.ts +34 -1
  197. package/src/Webhooks.ts +20 -18
  198. package/src/admin/apps/api-keys.test.ts +9 -0
  199. package/src/admin/apps/api-keys.ts +15 -0
  200. package/src/admin/ui/src/lib/query-client.ts +3 -2
  201. package/src/admin/ui/src/routes/api-keys.tsx +31 -9
  202. package/src/admin/ui.generated.ts +69 -69
  203. package/src/analytics/Analytics.test.ts +42 -0
  204. package/src/analytics/Analytics.ts +232 -0
  205. package/src/analytics/tables/requestEvents.ts +6 -0
  206. package/src/apps/Zones.test.ts +20 -3
  207. package/src/apps/Zones.ts +28 -8
  208. package/src/apps/composition.test.ts +2 -0
  209. package/src/apps/data/App.test.ts +2 -2
  210. package/src/apps/data/App.ts +2 -0
  211. package/src/apps/data/routes/activities.bench.ts +41 -0
  212. package/src/apps/data/routes/activities.test.ts +103 -2
  213. package/src/apps/data/routes/activities.ts +401 -2
  214. package/src/apps/data/routes/balances.bench.ts +21 -0
  215. package/src/apps/data/routes/balances.ts +7 -3
  216. package/src/apps/data/routes/blocks.bench.ts +34 -0
  217. package/src/apps/data/routes/coingecko.bench.ts +53 -0
  218. package/src/apps/data/routes/earn.bench.ts +71 -0
  219. package/src/apps/data/routes/earn.ts +66 -36
  220. package/src/apps/data/routes/exchanges.bench.ts +85 -0
  221. package/src/apps/data/routes/exchanges.test.ts +8 -3
  222. package/src/apps/data/routes/exchanges.ts +134 -82
  223. package/src/apps/data/routes/fee-amm.bench.ts +13 -0
  224. package/src/apps/data/routes/indexer.bench.ts +8 -0
  225. package/src/apps/data/routes/indexer.test.ts +2 -1
  226. package/src/apps/data/routes/indexer.ts +3 -2
  227. package/src/apps/data/routes/receipts.bench.ts +39 -0
  228. package/src/apps/data/routes/receipts.ts +16 -14
  229. package/src/apps/data/routes/rpc.bench.ts +14 -0
  230. package/src/apps/data/routes/rpc.test.ts +27 -0
  231. package/src/apps/data/routes/rpc.ts +5 -1
  232. package/src/apps/data/routes/tokenlist.bench.ts +3 -0
  233. package/src/apps/data/routes/tokens.bench.ts +76 -0
  234. package/src/apps/data/routes/tokens.ts +3 -2
  235. package/src/apps/data/routes/transactions.bench.ts +48 -0
  236. package/src/apps/data/routes/transfers.bench.ts +28 -0
  237. package/src/apps/data/routes/transfers.ts +36 -10
  238. package/src/apps/data/routes/valuation.bench.ts +14 -0
  239. package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
  240. package/src/apps/data/routes/webhooks.bench.ts +26 -0
  241. package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
  242. package/src/apps/data/routes/webhooks.test.ts +53 -6
  243. package/src/apps/data/routes/webhooks.ts +252 -24
  244. package/src/apps/data/routes/zones.bench.ts +32 -0
  245. package/src/apps/data/routes/zones.test.ts +1 -1
  246. package/src/apps/data/routes/zones.ts +1 -1
  247. package/src/apps/funding/routes/chains.test.ts +1 -1
  248. package/src/apps/funding/routes/deposit-addresses.test.ts +217 -3
  249. package/src/apps/funding/routes/deposit-addresses.ts +255 -19
  250. package/src/apps/funding/routes/providers.test.ts +1 -1
  251. package/src/apps/funding/routes/quotes.test.ts +1 -1
  252. package/src/apps/funding/routes/transfers.test.ts +20 -8
  253. package/src/apps/funding/routes/transfers.ts +1 -1
  254. package/src/apps/management/routes/billing.ts +1 -1
  255. package/src/apps/management/routes/faucet.ts +2 -2
  256. package/src/apps/management/routes/me.test.ts +31 -0
  257. package/src/apps/mcp.ts +4 -1
  258. package/src/db/Db.ts +117 -0
  259. package/src/db/Schema.ts +32 -0
  260. package/src/db/tables/fundingDepositAddresses.test.ts +28 -0
  261. package/src/db/tables/fundingDepositAddresses.ts +39 -0
  262. package/src/db/tables/fundingDeposits.test.ts +82 -0
  263. package/src/db/tables/fundingDeposits.ts +130 -0
  264. package/src/db/tables/webhookQueueEvents.ts +285 -0
  265. package/src/db/tables/webhookSubscriptions.ts +15 -0
  266. package/src/internal/Auth.test.ts +61 -98
  267. package/src/internal/Auth.ts +9 -63
  268. package/src/internal/Credential.test.ts +51 -0
  269. package/src/internal/Credential.ts +58 -0
  270. package/src/internal/EarnRates.ts +13 -7
  271. package/src/internal/EarnVaults.test.ts +2 -2
  272. package/src/internal/Log.test.ts +3 -1
  273. package/src/internal/Log.ts +14 -0
  274. package/src/internal/MetricSink.test.ts +108 -2
  275. package/src/internal/MetricSink.ts +112 -2
  276. package/src/internal/RateLimit.test.ts +23 -18
  277. package/src/internal/RateLimit.ts +23 -15
  278. package/src/internal/Store.test.ts +99 -13
  279. package/src/internal/Store.ts +52 -17
  280. package/src/internal/Tidx.test.ts +4 -4
  281. package/src/internal/Tidx.ts +5 -4
  282. package/src/internal/Value.test.ts +25 -0
  283. package/src/internal/Value.ts +29 -0
  284. package/src/internal/Viem.test.ts +4 -0
  285. package/src/internal/Viem.ts +6 -4
  286. package/src/internal/WebhookTransfer.test.ts +89 -0
  287. package/src/internal/WebhookTransfer.ts +11 -7
  288. package/src/internal/Webhooks.test.ts +488 -0
  289. package/src/internal/Webhooks.ts +291 -10
  290. package/src/internal/funding/Provider.test.ts +1 -1
  291. package/src/internal/funding/providers/index.test.ts +73 -3
  292. package/src/internal/funding/providers/relay.test.ts +1 -5
  293. package/src/internal/funding/providers/relay.ts +56 -12
  294. package/src/internal/index.test.ts +1 -0
  295. package/src/internal/index.ts +1 -0
@@ -151,14 +151,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
151
151
  $post: {
152
152
  output: {
153
153
  error: {
154
- code: "api_key_malformed";
154
+ code: "upstream_error";
155
155
  details?: readonly Response.error.Detail[] | undefined;
156
156
  message: string;
157
157
  };
158
158
  requestId: string;
159
159
  };
160
160
  outputFormat: "json";
161
- status: 400;
161
+ status: 502;
162
162
  input: {
163
163
  param: {
164
164
  orgId: string;
@@ -175,14 +175,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
175
175
  } | {
176
176
  output: {
177
177
  error: {
178
- code: "api_key_invalid" | "api_key_missing";
178
+ code: "api_key_malformed";
179
179
  details?: readonly Response.error.Detail[] | undefined;
180
180
  message: string;
181
181
  };
182
182
  requestId: string;
183
183
  };
184
184
  outputFormat: "json";
185
- status: 401;
185
+ status: 400;
186
186
  input: {
187
187
  param: {
188
188
  orgId: string;
@@ -199,14 +199,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
199
199
  } | {
200
200
  output: {
201
201
  error: {
202
- code: "upstream_error";
202
+ code: "api_key_invalid" | "api_key_missing";
203
203
  details?: readonly Response.error.Detail[] | undefined;
204
204
  message: string;
205
205
  };
206
206
  requestId: string;
207
207
  };
208
208
  outputFormat: "json";
209
- status: 502;
209
+ status: 401;
210
210
  input: {
211
211
  param: {
212
212
  orgId: string;
@@ -402,14 +402,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
402
402
  $get: {
403
403
  output: {
404
404
  error: {
405
- code: "api_key_malformed";
405
+ code: "upstream_error";
406
406
  details?: readonly Response.error.Detail[] | undefined;
407
407
  message: string;
408
408
  };
409
409
  requestId: string;
410
410
  };
411
411
  outputFormat: "json";
412
- status: 400;
412
+ status: 502;
413
413
  input: {
414
414
  param: {
415
415
  orgId: string;
@@ -423,14 +423,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
423
423
  } | {
424
424
  output: {
425
425
  error: {
426
- code: "api_key_invalid" | "api_key_missing";
426
+ code: "api_key_malformed";
427
427
  details?: readonly Response.error.Detail[] | undefined;
428
428
  message: string;
429
429
  };
430
430
  requestId: string;
431
431
  };
432
432
  outputFormat: "json";
433
- status: 401;
433
+ status: 400;
434
434
  input: {
435
435
  param: {
436
436
  orgId: string;
@@ -444,14 +444,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
444
444
  } | {
445
445
  output: {
446
446
  error: {
447
- code: "api_key_forbidden" | "api_key_ip_forbidden";
447
+ code: "api_key_invalid" | "api_key_missing";
448
448
  details?: readonly Response.error.Detail[] | undefined;
449
449
  message: string;
450
450
  };
451
451
  requestId: string;
452
452
  };
453
453
  outputFormat: "json";
454
- status: 403;
454
+ status: 401;
455
455
  input: {
456
456
  param: {
457
457
  orgId: string;
@@ -465,14 +465,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
465
465
  } | {
466
466
  output: {
467
467
  error: {
468
- code: "payment_required" | "rate_limit_exceeded";
468
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
469
469
  details?: readonly Response.error.Detail[] | undefined;
470
470
  message: string;
471
471
  };
472
472
  requestId: string;
473
473
  };
474
474
  outputFormat: "json";
475
- status: 429;
475
+ status: 403;
476
476
  input: {
477
477
  param: {
478
478
  orgId: string;
@@ -486,14 +486,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
486
486
  } | {
487
487
  output: {
488
488
  error: {
489
- code: "query_invalid";
489
+ code: "payment_required" | "rate_limit_exceeded";
490
490
  details?: readonly Response.error.Detail[] | undefined;
491
491
  message: string;
492
492
  };
493
493
  requestId: string;
494
494
  };
495
495
  outputFormat: "json";
496
- status: 400;
496
+ status: 429;
497
497
  input: {
498
498
  param: {
499
499
  orgId: string;
@@ -507,14 +507,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
507
507
  } | {
508
508
  output: {
509
509
  error: {
510
- code: "upstream_error";
510
+ code: "query_invalid";
511
511
  details?: readonly Response.error.Detail[] | undefined;
512
512
  message: string;
513
513
  };
514
514
  requestId: string;
515
515
  };
516
516
  outputFormat: "json";
517
- status: 502;
517
+ status: 400;
518
518
  input: {
519
519
  param: {
520
520
  orgId: string;
@@ -624,14 +624,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
624
624
  $get: {
625
625
  output: {
626
626
  error: {
627
- code: "api_key_malformed";
627
+ code: "upstream_error";
628
628
  details?: readonly Response.error.Detail[] | undefined;
629
629
  message: string;
630
630
  };
631
631
  requestId: string;
632
632
  };
633
633
  outputFormat: "json";
634
- status: 400;
634
+ status: 502;
635
635
  input: {
636
636
  param: {
637
637
  orgId: string;
@@ -644,14 +644,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
644
644
  } | {
645
645
  output: {
646
646
  error: {
647
- code: "api_key_invalid" | "api_key_missing";
647
+ code: "api_key_malformed";
648
648
  details?: readonly Response.error.Detail[] | undefined;
649
649
  message: string;
650
650
  };
651
651
  requestId: string;
652
652
  };
653
653
  outputFormat: "json";
654
- status: 401;
654
+ status: 400;
655
655
  input: {
656
656
  param: {
657
657
  orgId: string;
@@ -664,14 +664,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
664
664
  } | {
665
665
  output: {
666
666
  error: {
667
- code: "api_key_forbidden" | "api_key_ip_forbidden";
667
+ code: "api_key_invalid" | "api_key_missing";
668
668
  details?: readonly Response.error.Detail[] | undefined;
669
669
  message: string;
670
670
  };
671
671
  requestId: string;
672
672
  };
673
673
  outputFormat: "json";
674
- status: 403;
674
+ status: 401;
675
675
  input: {
676
676
  param: {
677
677
  orgId: string;
@@ -684,14 +684,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
684
684
  } | {
685
685
  output: {
686
686
  error: {
687
- code: "payment_required" | "rate_limit_exceeded";
687
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
688
688
  details?: readonly Response.error.Detail[] | undefined;
689
689
  message: string;
690
690
  };
691
691
  requestId: string;
692
692
  };
693
693
  outputFormat: "json";
694
- status: 429;
694
+ status: 403;
695
695
  input: {
696
696
  param: {
697
697
  orgId: string;
@@ -704,14 +704,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
704
704
  } | {
705
705
  output: {
706
706
  error: {
707
- code: "query_invalid";
707
+ code: "payment_required" | "rate_limit_exceeded";
708
708
  details?: readonly Response.error.Detail[] | undefined;
709
709
  message: string;
710
710
  };
711
711
  requestId: string;
712
712
  };
713
713
  outputFormat: "json";
714
- status: 400;
714
+ status: 429;
715
715
  input: {
716
716
  param: {
717
717
  orgId: string;
@@ -724,14 +724,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
724
724
  } | {
725
725
  output: {
726
726
  error: {
727
- code: "upstream_error";
727
+ code: "query_invalid";
728
728
  details?: readonly Response.error.Detail[] | undefined;
729
729
  message: string;
730
730
  };
731
731
  requestId: string;
732
732
  };
733
733
  outputFormat: "json";
734
- status: 502;
734
+ status: 400;
735
735
  input: {
736
736
  param: {
737
737
  orgId: string;
@@ -836,14 +836,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
836
836
  $patch: {
837
837
  output: {
838
838
  error: {
839
- code: "api_key_malformed";
839
+ code: "upstream_error";
840
840
  details?: readonly Response.error.Detail[] | undefined;
841
841
  message: string;
842
842
  };
843
843
  requestId: string;
844
844
  };
845
845
  outputFormat: "json";
846
- status: 400;
846
+ status: 502;
847
847
  input: {
848
848
  param: {
849
849
  keyId: string;
@@ -858,14 +858,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
858
858
  } | {
859
859
  output: {
860
860
  error: {
861
- code: "api_key_invalid" | "api_key_missing";
861
+ code: "api_key_malformed";
862
862
  details?: readonly Response.error.Detail[] | undefined;
863
863
  message: string;
864
864
  };
865
865
  requestId: string;
866
866
  };
867
867
  outputFormat: "json";
868
- status: 401;
868
+ status: 400;
869
869
  input: {
870
870
  param: {
871
871
  keyId: string;
@@ -880,14 +880,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
880
880
  } | {
881
881
  output: {
882
882
  error: {
883
- code: "api_key_forbidden" | "api_key_ip_forbidden";
883
+ code: "api_key_invalid" | "api_key_missing";
884
884
  details?: readonly Response.error.Detail[] | undefined;
885
885
  message: string;
886
886
  };
887
887
  requestId: string;
888
888
  };
889
889
  outputFormat: "json";
890
- status: 403;
890
+ status: 401;
891
891
  input: {
892
892
  param: {
893
893
  keyId: string;
@@ -902,14 +902,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
902
902
  } | {
903
903
  output: {
904
904
  error: {
905
- code: "payment_required" | "rate_limit_exceeded";
905
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
906
906
  details?: readonly Response.error.Detail[] | undefined;
907
907
  message: string;
908
908
  };
909
909
  requestId: string;
910
910
  };
911
911
  outputFormat: "json";
912
- status: 429;
912
+ status: 403;
913
913
  input: {
914
914
  param: {
915
915
  keyId: string;
@@ -924,14 +924,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
924
924
  } | {
925
925
  output: {
926
926
  error: {
927
- code: "upstream_error";
927
+ code: "payment_required" | "rate_limit_exceeded";
928
928
  details?: readonly Response.error.Detail[] | undefined;
929
929
  message: string;
930
930
  };
931
931
  requestId: string;
932
932
  };
933
933
  outputFormat: "json";
934
- status: 502;
934
+ status: 429;
935
935
  input: {
936
936
  param: {
937
937
  keyId: string;
@@ -1088,14 +1088,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1088
1088
  $delete: {
1089
1089
  output: {
1090
1090
  error: {
1091
- code: "api_key_malformed";
1091
+ code: "upstream_error";
1092
1092
  details?: readonly Response.error.Detail[] | undefined;
1093
1093
  message: string;
1094
1094
  };
1095
1095
  requestId: string;
1096
1096
  };
1097
1097
  outputFormat: "json";
1098
- status: 400;
1098
+ status: 502;
1099
1099
  input: {
1100
1100
  param: {
1101
1101
  keyId: string;
@@ -1106,14 +1106,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1106
1106
  } | {
1107
1107
  output: {
1108
1108
  error: {
1109
- code: "api_key_invalid" | "api_key_missing";
1109
+ code: "api_key_malformed";
1110
1110
  details?: readonly Response.error.Detail[] | undefined;
1111
1111
  message: string;
1112
1112
  };
1113
1113
  requestId: string;
1114
1114
  };
1115
1115
  outputFormat: "json";
1116
- status: 401;
1116
+ status: 400;
1117
1117
  input: {
1118
1118
  param: {
1119
1119
  keyId: string;
@@ -1124,14 +1124,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1124
1124
  } | {
1125
1125
  output: {
1126
1126
  error: {
1127
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1127
+ code: "api_key_invalid" | "api_key_missing";
1128
1128
  details?: readonly Response.error.Detail[] | undefined;
1129
1129
  message: string;
1130
1130
  };
1131
1131
  requestId: string;
1132
1132
  };
1133
1133
  outputFormat: "json";
1134
- status: 403;
1134
+ status: 401;
1135
1135
  input: {
1136
1136
  param: {
1137
1137
  keyId: string;
@@ -1142,14 +1142,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1142
1142
  } | {
1143
1143
  output: {
1144
1144
  error: {
1145
- code: "payment_required" | "rate_limit_exceeded";
1145
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1146
1146
  details?: readonly Response.error.Detail[] | undefined;
1147
1147
  message: string;
1148
1148
  };
1149
1149
  requestId: string;
1150
1150
  };
1151
1151
  outputFormat: "json";
1152
- status: 429;
1152
+ status: 403;
1153
1153
  input: {
1154
1154
  param: {
1155
1155
  keyId: string;
@@ -1160,14 +1160,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
1160
1160
  } | {
1161
1161
  output: {
1162
1162
  error: {
1163
- code: "upstream_error";
1163
+ code: "payment_required" | "rate_limit_exceeded";
1164
1164
  details?: readonly Response.error.Detail[] | undefined;
1165
1165
  message: string;
1166
1166
  };
1167
1167
  requestId: string;
1168
1168
  };
1169
1169
  outputFormat: "json";
1170
- status: 502;
1170
+ status: 429;
1171
1171
  input: {
1172
1172
  param: {
1173
1173
  keyId: string;