tapimo 0.5.2 → 0.6.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 (299) hide show
  1. package/dist/App.d.ts +13987 -5755
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js.map +1 -1
  4. package/dist/admin/App.d.ts +910 -412
  5. package/dist/admin/App.d.ts.map +1 -1
  6. package/dist/admin/App.js +4 -0
  7. package/dist/admin/App.js.map +1 -1
  8. package/dist/admin/apps/early-access.d.ts +148 -0
  9. package/dist/admin/apps/early-access.d.ts.map +1 -0
  10. package/dist/admin/apps/early-access.js +133 -0
  11. package/dist/admin/apps/early-access.js.map +1 -0
  12. package/dist/admin/apps/verified-tokens.d.ts +643 -118
  13. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  14. package/dist/admin/apps/verified-tokens.js +214 -1
  15. package/dist/admin/apps/verified-tokens.js.map +1 -1
  16. package/dist/admin/ui.generated.d.ts +1 -1
  17. package/dist/admin/ui.generated.d.ts.map +1 -1
  18. package/dist/admin/ui.generated.js +45 -33
  19. package/dist/admin/ui.generated.js.map +1 -1
  20. package/dist/apps/data/App.d.ts +3733 -2428
  21. package/dist/apps/data/App.d.ts.map +1 -1
  22. package/dist/apps/data/App.js +11 -6
  23. package/dist/apps/data/App.js.map +1 -1
  24. package/dist/apps/data/FundingQuoteProviders.d.ts +34 -1
  25. package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
  26. package/dist/apps/data/FundingQuoteProviders.js +193 -2
  27. package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
  28. package/dist/apps/data/FxOracle.d.ts +71 -0
  29. package/dist/apps/data/FxOracle.d.ts.map +1 -0
  30. package/dist/apps/data/FxOracle.js +97 -0
  31. package/dist/apps/data/FxOracle.js.map +1 -0
  32. package/dist/apps/data/index.d.ts +1 -0
  33. package/dist/apps/data/index.d.ts.map +1 -1
  34. package/dist/apps/data/index.js +1 -0
  35. package/dist/apps/data/index.js.map +1 -1
  36. package/dist/apps/data/routes/activities.d.ts +3575 -1358
  37. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  38. package/dist/apps/data/routes/activities.js +230 -88
  39. package/dist/apps/data/routes/activities.js.map +1 -1
  40. package/dist/apps/data/routes/addresses.d.ts +963 -342
  41. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  42. package/dist/apps/data/routes/addresses.js +11 -9
  43. package/dist/apps/data/routes/addresses.js.map +1 -1
  44. package/dist/apps/data/routes/balances.d.ts +108 -57
  45. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  46. package/dist/apps/data/routes/balances.js +88 -45
  47. package/dist/apps/data/routes/balances.js.map +1 -1
  48. package/dist/apps/data/routes/coingecko.d.ts +169 -169
  49. package/dist/apps/data/routes/exchanges.d.ts +952 -201
  50. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  51. package/dist/apps/data/routes/exchanges.js +518 -76
  52. package/dist/apps/data/routes/exchanges.js.map +1 -1
  53. package/dist/apps/data/routes/fee-amm.d.ts +24 -24
  54. package/dist/apps/data/routes/funding.d.ts +8 -2
  55. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  56. package/dist/apps/data/routes/funding.js +32 -6
  57. package/dist/apps/data/routes/funding.js.map +1 -1
  58. package/dist/apps/data/routes/indexer.d.ts +5 -5
  59. package/dist/apps/data/routes/receipts.d.ts +392 -315
  60. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  61. package/dist/apps/data/routes/receipts.js +152 -77
  62. package/dist/apps/data/routes/receipts.js.map +1 -1
  63. package/dist/apps/data/routes/tokens.d.ts +166 -173
  64. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  65. package/dist/apps/data/routes/tokens.js +14 -12
  66. package/dist/apps/data/routes/tokens.js.map +1 -1
  67. package/dist/apps/data/routes/transactions.d.ts +277 -536
  68. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  69. package/dist/apps/data/routes/transactions.js +96 -77
  70. package/dist/apps/data/routes/transactions.js.map +1 -1
  71. package/dist/apps/data/routes/transfers.d.ts +82 -17
  72. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  73. package/dist/apps/data/routes/transfers.js +70 -13
  74. package/dist/apps/data/routes/transfers.js.map +1 -1
  75. package/dist/apps/data/routes/valuation.d.ts +307 -0
  76. package/dist/apps/data/routes/valuation.d.ts.map +1 -0
  77. package/dist/apps/data/routes/valuation.js +292 -0
  78. package/dist/apps/data/routes/valuation.js.map +1 -0
  79. package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
  80. package/dist/apps/data/routes/verified-tokens.js +7 -5
  81. package/dist/apps/data/routes/verified-tokens.js.map +1 -1
  82. package/dist/apps/data/routes/webhooks.d.ts +459 -479
  83. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  84. package/dist/apps/data/routes/webhooks.js +124 -25
  85. package/dist/apps/data/routes/webhooks.js.map +1 -1
  86. package/dist/apps/index.d.ts +1 -1
  87. package/dist/apps/index.d.ts.map +1 -1
  88. package/dist/apps/index.js +1 -1
  89. package/dist/apps/index.js.map +1 -1
  90. package/dist/apps/management/App.d.ts +8606 -1681
  91. package/dist/apps/management/App.d.ts.map +1 -1
  92. package/dist/apps/management/App.js +12 -1
  93. package/dist/apps/management/App.js.map +1 -1
  94. package/dist/apps/management/routes/api-keys.d.ts +23 -0
  95. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  96. package/dist/apps/management/routes/api-keys.js +5 -3
  97. package/dist/apps/management/routes/api-keys.js.map +1 -1
  98. package/dist/apps/management/routes/billing.d.ts +88 -48
  99. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  100. package/dist/apps/management/routes/billing.js +10 -2
  101. package/dist/apps/management/routes/billing.js.map +1 -1
  102. package/dist/apps/management/routes/faucet.d.ts +218 -0
  103. package/dist/apps/management/routes/faucet.d.ts.map +1 -0
  104. package/dist/apps/management/routes/faucet.js +139 -0
  105. package/dist/apps/management/routes/faucet.js.map +1 -0
  106. package/dist/apps/management/routes/invitations.d.ts +121 -121
  107. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  108. package/dist/apps/management/routes/invitations.js +3 -0
  109. package/dist/apps/management/routes/invitations.js.map +1 -1
  110. package/dist/apps/management/routes/invite-links.d.ts +197 -168
  111. package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
  112. package/dist/apps/management/routes/invite-links.js +26 -1
  113. package/dist/apps/management/routes/invite-links.js.map +1 -1
  114. package/dist/apps/management/routes/me.d.ts +2 -0
  115. package/dist/apps/management/routes/me.d.ts.map +1 -1
  116. package/dist/apps/management/routes/me.js +4 -0
  117. package/dist/apps/management/routes/me.js.map +1 -1
  118. package/dist/apps/management/routes/members.d.ts +49 -49
  119. package/dist/apps/management/routes/orgs.d.ts +91 -91
  120. package/dist/apps/management/routes/projects.d.ts +115 -115
  121. package/dist/apps/management/routes/usage.d.ts +35 -32
  122. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  123. package/dist/apps/management/routes/usage.js +4 -0
  124. package/dist/apps/management/routes/usage.js.map +1 -1
  125. package/dist/apps/management/routes/verified-token-requests.d.ts +697 -0
  126. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -0
  127. package/dist/apps/management/routes/verified-token-requests.js +271 -0
  128. package/dist/apps/management/routes/verified-token-requests.js.map +1 -0
  129. package/dist/apps/management/routes/webhooks.d.ts +6977 -0
  130. package/dist/apps/management/routes/webhooks.d.ts.map +1 -0
  131. package/dist/apps/management/routes/webhooks.js +573 -0
  132. package/dist/apps/management/routes/webhooks.js.map +1 -0
  133. package/dist/apps/mcp.d.ts +9 -2
  134. package/dist/apps/mcp.d.ts.map +1 -1
  135. package/dist/apps/mcp.js +9 -4
  136. package/dist/apps/mcp.js.map +1 -1
  137. package/dist/cli/Cli.d.ts.map +1 -1
  138. package/dist/cli/Cli.js +7 -2
  139. package/dist/cli/Cli.js.map +1 -1
  140. package/dist/db/Db.d.ts +4 -0
  141. package/dist/db/Db.d.ts.map +1 -1
  142. package/dist/db/Db.js +83 -0
  143. package/dist/db/Db.js.map +1 -1
  144. package/dist/db/Schema.d.ts +41 -0
  145. package/dist/db/Schema.d.ts.map +1 -1
  146. package/dist/db/Schema.js +45 -0
  147. package/dist/db/Schema.js.map +1 -1
  148. package/dist/db/tables/earlyAccess.d.ts +50 -0
  149. package/dist/db/tables/earlyAccess.d.ts.map +1 -0
  150. package/dist/db/tables/earlyAccess.js +63 -0
  151. package/dist/db/tables/earlyAccess.js.map +1 -0
  152. package/dist/db/tables/invitations.d.ts +12 -1
  153. package/dist/db/tables/invitations.d.ts.map +1 -1
  154. package/dist/db/tables/invitations.js +23 -0
  155. package/dist/db/tables/invitations.js.map +1 -1
  156. package/dist/db/tables/inviteLinks.d.ts +10 -2
  157. package/dist/db/tables/inviteLinks.d.ts.map +1 -1
  158. package/dist/db/tables/inviteLinks.js +10 -1
  159. package/dist/db/tables/inviteLinks.js.map +1 -1
  160. package/dist/db/tables/sponsoredTransactions.d.ts +2 -0
  161. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  162. package/dist/db/tables/sponsoredTransactions.js +2 -0
  163. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  164. package/dist/db/tables/verifiedTokenRequests.d.ts +94 -0
  165. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -0
  166. package/dist/db/tables/verifiedTokenRequests.js +120 -0
  167. package/dist/db/tables/verifiedTokenRequests.js.map +1 -0
  168. package/dist/db/tables/webhookSubscriptions.d.ts +14 -0
  169. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  170. package/dist/db/tables/webhookSubscriptions.js +16 -0
  171. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  172. package/dist/internal/Auth.d.ts +43 -2
  173. package/dist/internal/Auth.d.ts.map +1 -1
  174. package/dist/internal/Auth.js +60 -45
  175. package/dist/internal/Auth.js.map +1 -1
  176. package/dist/internal/FundingQuotes.d.ts +69 -15
  177. package/dist/internal/FundingQuotes.d.ts.map +1 -1
  178. package/dist/internal/FundingQuotes.js +74 -25
  179. package/dist/internal/FundingQuotes.js.map +1 -1
  180. package/dist/internal/Log.d.ts +19 -1
  181. package/dist/internal/Log.d.ts.map +1 -1
  182. package/dist/internal/Log.js +2 -0
  183. package/dist/internal/Log.js.map +1 -1
  184. package/dist/internal/MetricSink.d.ts.map +1 -1
  185. package/dist/internal/MetricSink.js +9 -0
  186. package/dist/internal/MetricSink.js.map +1 -1
  187. package/dist/internal/OpenApi.d.ts +2 -2
  188. package/dist/internal/OpenApi.d.ts.map +1 -1
  189. package/dist/internal/OpenApi.js +3 -0
  190. package/dist/internal/OpenApi.js.map +1 -1
  191. package/dist/internal/Schema.d.ts +14 -5
  192. package/dist/internal/Schema.d.ts.map +1 -1
  193. package/dist/internal/Schema.js +23 -5
  194. package/dist/internal/Schema.js.map +1 -1
  195. package/dist/internal/Value.d.ts +18 -0
  196. package/dist/internal/Value.d.ts.map +1 -1
  197. package/dist/internal/Value.js +11 -1
  198. package/dist/internal/Value.js.map +1 -1
  199. package/dist/internal/VerifiedTokens.d.ts.map +1 -1
  200. package/dist/internal/VerifiedTokens.js +10 -1
  201. package/dist/internal/VerifiedTokens.js.map +1 -1
  202. package/dist/internal/Viem.d.ts +1 -1
  203. package/dist/internal/Webhooks.d.ts +24 -3
  204. package/dist/internal/Webhooks.d.ts.map +1 -1
  205. package/dist/internal/Webhooks.js +34 -8
  206. package/dist/internal/Webhooks.js.map +1 -1
  207. package/package.json +2 -2
  208. package/src/App.ts +9 -1
  209. package/src/Client.test-d.ts +638 -6
  210. package/src/admin/App.ts +4 -0
  211. package/src/admin/apps/early-access.test.ts +125 -0
  212. package/src/admin/apps/early-access.ts +175 -0
  213. package/src/admin/apps/verified-tokens.test.ts +201 -0
  214. package/src/admin/apps/verified-tokens.ts +532 -286
  215. package/src/admin/ui/plugin.ts +2 -1
  216. package/src/admin/ui/src/lib/early-access.ts +63 -0
  217. package/src/admin/ui/src/lib/verified-tokens.ts +79 -0
  218. package/src/admin/ui/src/routeTree.gen.ts +33 -2
  219. package/src/admin/ui/src/routes/__root.tsx +2 -1
  220. package/src/admin/ui/src/routes/early-access.tsx +157 -0
  221. package/src/admin/ui/src/routes/verified-tokens.tsx +230 -19
  222. package/src/admin/ui.generated.ts +48 -33
  223. package/src/apps/data/App.ts +22 -14
  224. package/src/apps/data/FundingQuoteProviders.test.ts +298 -0
  225. package/src/apps/data/FundingQuoteProviders.ts +257 -4
  226. package/src/apps/data/FxOracle.test.ts +118 -0
  227. package/src/apps/data/FxOracle.ts +153 -0
  228. package/src/apps/data/index.ts +1 -0
  229. package/src/apps/data/routes/activities.test.ts +173 -3
  230. package/src/apps/data/routes/activities.ts +403 -132
  231. package/src/apps/data/routes/addresses.ts +19 -9
  232. package/src/apps/data/routes/balances.test.ts +144 -11
  233. package/src/apps/data/routes/balances.ts +140 -51
  234. package/src/apps/data/routes/exchanges.test.ts +540 -9
  235. package/src/apps/data/routes/exchanges.ts +690 -103
  236. package/src/apps/data/routes/funding.test.ts +84 -0
  237. package/src/apps/data/routes/funding.ts +38 -6
  238. package/src/apps/data/routes/receipts.test.ts +125 -23
  239. package/src/apps/data/routes/receipts.ts +205 -100
  240. package/src/apps/data/routes/tokens.test.ts +43 -0
  241. package/src/apps/data/routes/tokens.ts +27 -12
  242. package/src/apps/data/routes/transactions.test.ts +72 -19
  243. package/src/apps/data/routes/transactions.ts +162 -92
  244. package/src/apps/data/routes/transfers.test.ts +146 -4
  245. package/src/apps/data/routes/transfers.ts +91 -13
  246. package/src/apps/data/routes/valuation.test.ts +422 -0
  247. package/src/apps/data/routes/valuation.ts +423 -0
  248. package/src/apps/data/routes/verified-tokens.ts +14 -2
  249. package/src/apps/data/routes/webhooks.test.ts +56 -8
  250. package/src/apps/data/routes/webhooks.ts +144 -27
  251. package/src/apps/index.ts +1 -1
  252. package/src/apps/management/App.ts +13 -0
  253. package/src/apps/management/routes/api-keys.test.ts +87 -0
  254. package/src/apps/management/routes/api-keys.ts +4 -3
  255. package/src/apps/management/routes/billing.test.ts +112 -1
  256. package/src/apps/management/routes/billing.ts +7 -2
  257. package/src/apps/management/routes/faucet.test.ts +79 -0
  258. package/src/apps/management/routes/faucet.ts +185 -0
  259. package/src/apps/management/routes/invitations.test.ts +172 -0
  260. package/src/apps/management/routes/invitations.ts +3 -0
  261. package/src/apps/management/routes/invite-links.test.ts +117 -0
  262. package/src/apps/management/routes/invite-links.ts +43 -1
  263. package/src/apps/management/routes/me.test.ts +140 -88
  264. package/src/apps/management/routes/me.ts +6 -0
  265. package/src/apps/management/routes/usage.test.ts +6 -0
  266. package/src/apps/management/routes/usage.ts +7 -0
  267. package/src/apps/management/routes/verified-token-requests.test.ts +377 -0
  268. package/src/apps/management/routes/verified-token-requests.ts +397 -0
  269. package/src/apps/management/routes/webhooks.test.ts +426 -0
  270. package/src/apps/management/routes/webhooks.ts +672 -0
  271. package/src/apps/mcp.test.ts +13 -0
  272. package/src/apps/mcp.ts +18 -5
  273. package/src/cli/Cli.test.ts +36 -0
  274. package/src/cli/Cli.ts +7 -2
  275. package/src/db/Db.test.ts +19 -0
  276. package/src/db/Db.ts +95 -0
  277. package/src/db/Schema.ts +53 -0
  278. package/src/db/tables/earlyAccess.ts +86 -0
  279. package/src/db/tables/invitations.ts +26 -1
  280. package/src/db/tables/inviteLinks.ts +22 -3
  281. package/src/db/tables/sponsoredTransactions.ts +4 -0
  282. package/src/db/tables/verifiedTokenRequests.test.ts +200 -0
  283. package/src/db/tables/verifiedTokenRequests.ts +182 -0
  284. package/src/db/tables/webhookSubscriptions.ts +31 -0
  285. package/src/internal/Auth.ts +73 -45
  286. package/src/internal/FundingQuotes.test.ts +143 -1
  287. package/src/internal/FundingQuotes.ts +95 -28
  288. package/src/internal/Log.test-d.ts +21 -0
  289. package/src/internal/Log.test.ts +50 -0
  290. package/src/internal/Log.ts +24 -1
  291. package/src/internal/MetricSink.test.ts +160 -0
  292. package/src/internal/MetricSink.ts +10 -0
  293. package/src/internal/OpenApi.ts +3 -0
  294. package/src/internal/Schema.ts +50 -5
  295. package/src/internal/Value.test.ts +20 -0
  296. package/src/internal/Value.ts +24 -1
  297. package/src/internal/VerifiedTokens.ts +9 -1
  298. package/src/internal/Webhooks.test.ts +140 -0
  299. package/src/internal/Webhooks.ts +53 -9
@@ -458,7 +458,15 @@ export declare namespace schema {
458
458
  to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
459
459
  }, z.core.$strip>>>;
460
460
  chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
461
- feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
461
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
462
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
463
+ currency: z.ZodMiniString<string>;
464
+ decimals: z.ZodMiniNumber<number>;
465
+ logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
466
+ name: z.ZodMiniString<string>;
467
+ symbol: z.ZodMiniString<string>;
468
+ verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
469
+ }, z.core.$strip>>>;
462
470
  gas: z.ZodMiniNumber<number>;
463
471
  gasPrice: z.ZodMiniOptional<z.ZodMiniString<string>>;
464
472
  hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
@@ -467,35 +475,32 @@ export declare namespace schema {
467
475
  maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
468
476
  maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
469
477
  meta: z.ZodMiniObject<{
470
- feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
471
- address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
472
- admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
473
- currency: z.ZodMiniString<string>;
474
- createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
475
- decimals: z.ZodMiniNumber<number>;
476
- holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
477
- id: z.ZodMiniString<string>;
478
- logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
479
- name: z.ZodMiniString<string>;
480
- quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
481
- symbol: z.ZodMiniString<string>;
482
- totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
483
- transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
484
- count: z.ZodMiniNumber<number>;
485
- firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
486
- lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
487
- }, z.core.$strip>>;
488
- verified: z.ZodMiniBoolean<boolean>;
489
- }, z.core.$strip>>>;
490
478
  receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
491
479
  blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
492
480
  blockNumber: z.ZodMiniNumber<number>;
493
481
  contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
494
482
  cumulativeGasUsed: z.ZodMiniNumber<number>;
495
483
  effectiveGasPrice: z.ZodMiniString<string>;
496
- feeAmount: z.ZodMiniString<string>;
484
+ feeAmount: z.ZodMiniObject<{
485
+ baseUnits: z.ZodMiniString<string>;
486
+ currency: z.ZodMiniString<string>;
487
+ decimals: z.ZodMiniNumber<number>;
488
+ formatted: z.ZodMiniString<string>;
489
+ valuation: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
490
+ amount: z.ZodMiniString<string>;
491
+ currency: z.ZodMiniString<string>;
492
+ }, z.core.$strip>>>;
493
+ }, z.core.$strip>;
497
494
  feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
498
- feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
495
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
496
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
497
+ currency: z.ZodMiniString<string>;
498
+ decimals: z.ZodMiniNumber<number>;
499
+ logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
500
+ name: z.ZodMiniString<string>;
501
+ symbol: z.ZodMiniString<string>;
502
+ verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
503
+ }, z.core.$strip>>>;
499
504
  gasUsed: z.ZodMiniNumber<number>;
500
505
  id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
501
506
  logs: z.ZodMiniArray<z.ZodMiniObject<{
@@ -511,26 +516,11 @@ export declare namespace schema {
511
516
  transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
512
517
  }, z.core.$loose>>;
513
518
  meta: z.ZodMiniObject<{
514
- feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
515
- address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
516
- admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
517
- currency: z.ZodMiniString<string>;
518
- createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
519
- decimals: z.ZodMiniNumber<number>;
520
- holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
521
- id: z.ZodMiniString<string>;
522
- logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
523
- name: z.ZodMiniString<string>;
524
- quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
525
- symbol: z.ZodMiniString<string>;
526
- totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
527
- transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
528
- count: z.ZodMiniNumber<number>;
529
- firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
530
- lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
531
- }, z.core.$strip>>;
532
- verified: z.ZodMiniBoolean<boolean>;
533
- }, z.core.$strip>>>;
519
+ pricing: z.ZodMiniOptional<z.ZodMiniObject<{
520
+ asOf: z.ZodMiniString<string>;
521
+ basis: z.ZodMiniLiteral<"nominal">;
522
+ source: z.ZodMiniString<string>;
523
+ }, z.core.$strip>>;
534
524
  rpc: z.ZodMiniObject<{
535
525
  blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
536
526
  blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
@@ -746,7 +736,15 @@ export declare namespace schema {
746
736
  to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
747
737
  }, z.core.$strip>>>;
748
738
  chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
749
- feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
739
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
740
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
741
+ currency: z.ZodMiniString<string>;
742
+ decimals: z.ZodMiniNumber<number>;
743
+ logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
744
+ name: z.ZodMiniString<string>;
745
+ symbol: z.ZodMiniString<string>;
746
+ verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
747
+ }, z.core.$strip>>>;
750
748
  gas: z.ZodMiniNumber<number>;
751
749
  gasPrice: z.ZodMiniOptional<z.ZodMiniString<string>>;
752
750
  hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
@@ -755,35 +753,32 @@ export declare namespace schema {
755
753
  maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
756
754
  maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
757
755
  meta: z.ZodMiniObject<{
758
- feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
759
- address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
760
- admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
761
- currency: z.ZodMiniString<string>;
762
- createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
763
- decimals: z.ZodMiniNumber<number>;
764
- holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
765
- id: z.ZodMiniString<string>;
766
- logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
767
- name: z.ZodMiniString<string>;
768
- quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
769
- symbol: z.ZodMiniString<string>;
770
- totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
771
- transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
772
- count: z.ZodMiniNumber<number>;
773
- firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
774
- lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
775
- }, z.core.$strip>>;
776
- verified: z.ZodMiniBoolean<boolean>;
777
- }, z.core.$strip>>>;
778
756
  receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
779
757
  blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
780
758
  blockNumber: z.ZodMiniNumber<number>;
781
759
  contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
782
760
  cumulativeGasUsed: z.ZodMiniNumber<number>;
783
761
  effectiveGasPrice: z.ZodMiniString<string>;
784
- feeAmount: z.ZodMiniString<string>;
762
+ feeAmount: z.ZodMiniObject<{
763
+ baseUnits: z.ZodMiniString<string>;
764
+ currency: z.ZodMiniString<string>;
765
+ decimals: z.ZodMiniNumber<number>;
766
+ formatted: z.ZodMiniString<string>;
767
+ valuation: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
768
+ amount: z.ZodMiniString<string>;
769
+ currency: z.ZodMiniString<string>;
770
+ }, z.core.$strip>>>;
771
+ }, z.core.$strip>;
785
772
  feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
786
- feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
773
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
774
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
775
+ currency: z.ZodMiniString<string>;
776
+ decimals: z.ZodMiniNumber<number>;
777
+ logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
778
+ name: z.ZodMiniString<string>;
779
+ symbol: z.ZodMiniString<string>;
780
+ verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
781
+ }, z.core.$strip>>>;
787
782
  gasUsed: z.ZodMiniNumber<number>;
788
783
  id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
789
784
  logs: z.ZodMiniArray<z.ZodMiniObject<{
@@ -799,26 +794,11 @@ export declare namespace schema {
799
794
  transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
800
795
  }, z.core.$loose>>;
801
796
  meta: z.ZodMiniObject<{
802
- feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
803
- address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
804
- admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
805
- currency: z.ZodMiniString<string>;
806
- createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
807
- decimals: z.ZodMiniNumber<number>;
808
- holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
809
- id: z.ZodMiniString<string>;
810
- logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
811
- name: z.ZodMiniString<string>;
812
- quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
813
- symbol: z.ZodMiniString<string>;
814
- totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
815
- transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
816
- count: z.ZodMiniNumber<number>;
817
- firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
818
- lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
819
- }, z.core.$strip>>;
820
- verified: z.ZodMiniBoolean<boolean>;
821
- }, z.core.$strip>>>;
797
+ pricing: z.ZodMiniOptional<z.ZodMiniObject<{
798
+ asOf: z.ZodMiniString<string>;
799
+ basis: z.ZodMiniLiteral<"nominal">;
800
+ source: z.ZodMiniString<string>;
801
+ }, z.core.$strip>>;
822
802
  rpc: z.ZodMiniObject<{
823
803
  blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
824
804
  blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
@@ -1665,9 +1645,14 @@ export declare namespace schema {
1665
1645
  export declare function webhooks(options?: webhooks.Options): import("hono/hono-base").HonoBase<App.Environment, {
1666
1646
  "/v1/webhooks/event-types": {
1667
1647
  $get: {
1668
- output: null;
1669
- outputFormat: "body";
1670
- status: 402;
1648
+ output: {
1649
+ data: {
1650
+ description: string;
1651
+ type: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
1652
+ }[];
1653
+ };
1654
+ outputFormat: "json";
1655
+ status: 200;
1671
1656
  input: {};
1672
1657
  } | {
1673
1658
  output: {
@@ -1693,6 +1678,11 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
1693
1678
  outputFormat: "json";
1694
1679
  status: 401;
1695
1680
  input: {};
1681
+ } | {
1682
+ output: null;
1683
+ outputFormat: "body";
1684
+ status: 402;
1685
+ input: {};
1696
1686
  } | {
1697
1687
  output: {
1698
1688
  error: {
@@ -1708,36 +1698,26 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
1708
1698
  } | {
1709
1699
  output: {
1710
1700
  error: {
1711
- code: "payment_required" | "rate_limit_exceeded";
1701
+ code: "webhooks_not_enabled";
1712
1702
  details?: readonly Response.error.Detail[] | undefined;
1713
1703
  message: string;
1714
1704
  };
1715
1705
  requestId: string;
1716
1706
  };
1717
1707
  outputFormat: "json";
1718
- status: 429;
1708
+ status: 404;
1719
1709
  input: {};
1720
1710
  } | {
1721
1711
  output: {
1722
1712
  error: {
1723
- code: "webhooks_not_enabled";
1713
+ code: "payment_required" | "rate_limit_exceeded";
1724
1714
  details?: readonly Response.error.Detail[] | undefined;
1725
1715
  message: string;
1726
1716
  };
1727
1717
  requestId: string;
1728
1718
  };
1729
1719
  outputFormat: "json";
1730
- status: 404;
1731
- input: {};
1732
- } | {
1733
- output: {
1734
- data: {
1735
- description: string;
1736
- type: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
1737
- }[];
1738
- };
1739
- outputFormat: "json";
1740
- status: 200;
1720
+ status: 429;
1741
1721
  input: {};
1742
1722
  };
1743
1723
  };
@@ -1745,15 +1725,40 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
1745
1725
  "/v1/webhooks": {
1746
1726
  $post: {
1747
1727
  output: {
1748
- error: {
1749
- code: "api_key_malformed";
1750
- details?: readonly Response.error.Detail[] | undefined;
1751
- message: string;
1728
+ chainId: number;
1729
+ context?: {
1730
+ description?: string | undefined;
1731
+ metadata?: {
1732
+ [x: string]: string;
1733
+ } | undefined;
1734
+ title?: string | undefined;
1735
+ } | undefined;
1736
+ createdAt: string;
1737
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
1738
+ expiresAt?: string | undefined;
1739
+ failureCount: number;
1740
+ filters: {
1741
+ [x: string]: import("hono/utils/types").JSONValue;
1752
1742
  };
1753
- requestId: string;
1743
+ id: string;
1744
+ lastDeliveryAt?: string | undefined;
1745
+ status: "active" | "disabled" | "paused";
1746
+ updatedAt: string;
1747
+ destination: {
1748
+ type: "url";
1749
+ url: string;
1750
+ } | {
1751
+ type: "slack";
1752
+ url: string;
1753
+ } | {
1754
+ token: string;
1755
+ type: "betterstack";
1756
+ url: string;
1757
+ };
1758
+ secret: string;
1754
1759
  };
1755
1760
  outputFormat: "json";
1756
- status: 400;
1761
+ status: 200;
1757
1762
  input: {
1758
1763
  json: {
1759
1764
  chainId?: unknown;
@@ -2086,14 +2091,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
2086
2091
  } | {
2087
2092
  output: {
2088
2093
  error: {
2089
- code: "api_key_invalid" | "api_key_missing";
2094
+ code: "api_key_malformed";
2090
2095
  details?: readonly Response.error.Detail[] | undefined;
2091
2096
  message: string;
2092
2097
  };
2093
2098
  requestId: string;
2094
2099
  };
2095
2100
  outputFormat: "json";
2096
- status: 401;
2101
+ status: 400;
2097
2102
  input: {
2098
2103
  json: {
2099
2104
  chainId?: unknown;
@@ -2426,14 +2431,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
2426
2431
  } | {
2427
2432
  output: {
2428
2433
  error: {
2429
- code: "api_key_forbidden";
2434
+ code: "body_invalid";
2430
2435
  details?: readonly Response.error.Detail[] | undefined;
2431
2436
  message: string;
2432
2437
  };
2433
2438
  requestId: string;
2434
2439
  };
2435
2440
  outputFormat: "json";
2436
- status: 403;
2441
+ status: 400;
2437
2442
  input: {
2438
2443
  json: {
2439
2444
  chainId?: unknown;
@@ -2766,14 +2771,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
2766
2771
  } | {
2767
2772
  output: {
2768
2773
  error: {
2769
- code: "payment_required" | "rate_limit_exceeded";
2774
+ code: "chain_id_unsupported";
2770
2775
  details?: readonly Response.error.Detail[] | undefined;
2771
2776
  message: string;
2772
2777
  };
2773
2778
  requestId: string;
2774
2779
  };
2775
2780
  outputFormat: "json";
2776
- status: 429;
2781
+ status: 400;
2777
2782
  input: {
2778
2783
  json: {
2779
2784
  chainId?: unknown;
@@ -3106,14 +3111,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
3106
3111
  } | {
3107
3112
  output: {
3108
3113
  error: {
3109
- code: "upstream_error";
3114
+ code: "url_invalid";
3110
3115
  details?: readonly Response.error.Detail[] | undefined;
3111
3116
  message: string;
3112
3117
  };
3113
3118
  requestId: string;
3114
3119
  };
3115
3120
  outputFormat: "json";
3116
- status: 502;
3121
+ status: 400;
3117
3122
  input: {
3118
3123
  json: {
3119
3124
  chainId?: unknown;
@@ -3446,14 +3451,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
3446
3451
  } | {
3447
3452
  output: {
3448
3453
  error: {
3449
- code: "webhooks_not_enabled";
3454
+ code: "filters_invalid";
3450
3455
  details?: readonly Response.error.Detail[] | undefined;
3451
3456
  message: string;
3452
3457
  };
3453
3458
  requestId: string;
3454
3459
  };
3455
3460
  outputFormat: "json";
3456
- status: 404;
3461
+ status: 400;
3457
3462
  input: {
3458
3463
  json: {
3459
3464
  chainId?: unknown;
@@ -3786,14 +3791,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
3786
3791
  } | {
3787
3792
  output: {
3788
3793
  error: {
3789
- code: "body_invalid";
3794
+ code: "api_key_invalid" | "api_key_missing";
3790
3795
  details?: readonly Response.error.Detail[] | undefined;
3791
3796
  message: string;
3792
3797
  };
3793
3798
  requestId: string;
3794
3799
  };
3795
3800
  outputFormat: "json";
3796
- status: 400;
3801
+ status: 401;
3797
3802
  input: {
3798
3803
  json: {
3799
3804
  chainId?: unknown;
@@ -4466,14 +4471,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
4466
4471
  } | {
4467
4472
  output: {
4468
4473
  error: {
4469
- code: "chain_id_unsupported";
4474
+ code: "api_key_forbidden";
4470
4475
  details?: readonly Response.error.Detail[] | undefined;
4471
4476
  message: string;
4472
4477
  };
4473
4478
  requestId: string;
4474
4479
  };
4475
4480
  outputFormat: "json";
4476
- status: 400;
4481
+ status: 403;
4477
4482
  input: {
4478
4483
  json: {
4479
4484
  chainId?: unknown;
@@ -4805,40 +4810,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
4805
4810
  };
4806
4811
  } | {
4807
4812
  output: {
4808
- chainId: number;
4809
- context?: {
4810
- description?: string | undefined;
4811
- metadata?: {
4812
- [x: string]: string;
4813
- } | undefined;
4814
- title?: string | undefined;
4815
- } | undefined;
4816
- createdAt: string;
4817
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
4818
- expiresAt?: string | undefined;
4819
- failureCount: number;
4820
- filters: {
4821
- [x: string]: import("hono/utils/types").JSONValue;
4822
- };
4823
- id: string;
4824
- lastDeliveryAt?: string | undefined;
4825
- status: "active" | "disabled" | "paused";
4826
- updatedAt: string;
4827
- destination: {
4828
- type: "url";
4829
- url: string;
4830
- } | {
4831
- type: "slack";
4832
- url: string;
4833
- } | {
4834
- token: string;
4835
- type: "betterstack";
4836
- url: string;
4813
+ error: {
4814
+ code: "limit_exceeded";
4815
+ details?: readonly Response.error.Detail[] | undefined;
4816
+ message: string;
4837
4817
  };
4838
- secret: string;
4818
+ requestId: string;
4839
4819
  };
4840
4820
  outputFormat: "json";
4841
- status: 200;
4821
+ status: 403;
4842
4822
  input: {
4843
4823
  json: {
4844
4824
  chainId?: unknown;
@@ -5171,14 +5151,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
5171
5151
  } | {
5172
5152
  output: {
5173
5153
  error: {
5174
- code: "url_invalid";
5154
+ code: "webhooks_not_enabled";
5175
5155
  details?: readonly Response.error.Detail[] | undefined;
5176
5156
  message: string;
5177
5157
  };
5178
5158
  requestId: string;
5179
5159
  };
5180
5160
  outputFormat: "json";
5181
- status: 400;
5161
+ status: 404;
5182
5162
  input: {
5183
5163
  json: {
5184
5164
  chainId?: unknown;
@@ -5511,14 +5491,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
5511
5491
  } | {
5512
5492
  output: {
5513
5493
  error: {
5514
- code: "filters_invalid";
5494
+ code: "payment_required" | "rate_limit_exceeded";
5515
5495
  details?: readonly Response.error.Detail[] | undefined;
5516
5496
  message: string;
5517
5497
  };
5518
5498
  requestId: string;
5519
5499
  };
5520
5500
  outputFormat: "json";
5521
- status: 400;
5501
+ status: 429;
5522
5502
  input: {
5523
5503
  json: {
5524
5504
  chainId?: unknown;
@@ -5851,14 +5831,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
5851
5831
  } | {
5852
5832
  output: {
5853
5833
  error: {
5854
- code: "limit_exceeded";
5834
+ code: "upstream_error";
5855
5835
  details?: readonly Response.error.Detail[] | undefined;
5856
5836
  message: string;
5857
5837
  };
5858
5838
  requestId: string;
5859
5839
  };
5860
5840
  outputFormat: "json";
5861
- status: 403;
5841
+ status: 502;
5862
5842
  input: {
5863
5843
  json: {
5864
5844
  chainId?: unknown;
@@ -6194,53 +6174,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6194
6174
  "/v1/webhooks": {
6195
6175
  $get: {
6196
6176
  output: {
6197
- error: {
6198
- code: "api_key_malformed";
6199
- details?: readonly Response.error.Detail[] | undefined;
6200
- message: string;
6201
- };
6202
- requestId: string;
6203
- };
6204
- outputFormat: "json";
6205
- status: 400;
6206
- input: {
6207
- query?: {
6208
- cursor?: string | string[];
6209
- include?: string | string[];
6210
- limit?: string | string[];
6211
- page?: string | string[];
6212
- } | undefined;
6213
- };
6214
- } | {
6215
- output: {
6216
- error: {
6217
- code: "api_key_invalid" | "api_key_missing";
6218
- details?: readonly Response.error.Detail[] | undefined;
6219
- message: string;
6220
- };
6221
- requestId: string;
6222
- };
6223
- outputFormat: "json";
6224
- status: 401;
6225
- input: {
6226
- query?: {
6227
- cursor?: string | string[];
6228
- include?: string | string[];
6229
- limit?: string | string[];
6230
- page?: string | string[];
6231
- } | undefined;
6232
- };
6233
- } | {
6234
- output: {
6235
- error: {
6236
- code: "api_key_forbidden";
6237
- details?: readonly Response.error.Detail[] | undefined;
6238
- message: string;
6239
- };
6240
- requestId: string;
6177
+ data: {
6178
+ chainId: number;
6179
+ context?: {
6180
+ description?: string | undefined;
6181
+ metadata?: {
6182
+ [x: string]: string;
6183
+ } | undefined;
6184
+ title?: string | undefined;
6185
+ } | undefined;
6186
+ createdAt: string;
6187
+ destination: {
6188
+ type: "url";
6189
+ url: string;
6190
+ } | {
6191
+ type: "slack";
6192
+ url: "https://hooks.slack.com/…";
6193
+ } | {
6194
+ token: "[redacted]";
6195
+ type: "betterstack";
6196
+ url: string;
6197
+ };
6198
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6199
+ expiresAt?: string | undefined;
6200
+ failureCount: number;
6201
+ filters: {
6202
+ [x: string]: import("hono/utils/types").JSONValue;
6203
+ };
6204
+ id: string;
6205
+ lastDeliveryAt?: string | undefined;
6206
+ status: "active" | "disabled" | "paused";
6207
+ updatedAt: string;
6208
+ }[];
6209
+ meta?: {
6210
+ totalCountCapped: boolean;
6211
+ totalCount: number;
6212
+ } | undefined;
6213
+ nextCursor: string | null;
6241
6214
  };
6242
6215
  outputFormat: "json";
6243
- status: 403;
6216
+ status: 200;
6244
6217
  input: {
6245
6218
  query?: {
6246
6219
  cursor?: string | string[];
@@ -6252,14 +6225,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6252
6225
  } | {
6253
6226
  output: {
6254
6227
  error: {
6255
- code: "payment_required" | "rate_limit_exceeded";
6228
+ code: "api_key_malformed";
6256
6229
  details?: readonly Response.error.Detail[] | undefined;
6257
6230
  message: string;
6258
6231
  };
6259
6232
  requestId: string;
6260
6233
  };
6261
6234
  outputFormat: "json";
6262
- status: 429;
6235
+ status: 400;
6263
6236
  input: {
6264
6237
  query?: {
6265
6238
  cursor?: string | string[];
@@ -6290,14 +6263,52 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6290
6263
  } | {
6291
6264
  output: {
6292
6265
  error: {
6293
- code: "upstream_error";
6266
+ code: "api_key_invalid" | "api_key_missing";
6294
6267
  details?: readonly Response.error.Detail[] | undefined;
6295
6268
  message: string;
6296
6269
  };
6297
6270
  requestId: string;
6298
6271
  };
6299
6272
  outputFormat: "json";
6300
- status: 502;
6273
+ status: 401;
6274
+ input: {
6275
+ query?: {
6276
+ cursor?: string | string[];
6277
+ include?: string | string[];
6278
+ limit?: string | string[];
6279
+ page?: string | string[];
6280
+ } | undefined;
6281
+ };
6282
+ } | {
6283
+ output: {
6284
+ error: {
6285
+ code: "unauthorized";
6286
+ details?: readonly Response.error.Detail[] | undefined;
6287
+ message: string;
6288
+ };
6289
+ requestId: string;
6290
+ };
6291
+ outputFormat: "json";
6292
+ status: 401;
6293
+ input: {
6294
+ query?: {
6295
+ cursor?: string | string[];
6296
+ include?: string | string[];
6297
+ limit?: string | string[];
6298
+ page?: string | string[];
6299
+ } | undefined;
6300
+ };
6301
+ } | {
6302
+ output: {
6303
+ error: {
6304
+ code: "api_key_forbidden";
6305
+ details?: readonly Response.error.Detail[] | undefined;
6306
+ message: string;
6307
+ };
6308
+ requestId: string;
6309
+ };
6310
+ outputFormat: "json";
6311
+ status: 403;
6301
6312
  input: {
6302
6313
  query?: {
6303
6314
  cursor?: string | string[];
@@ -6328,14 +6339,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6328
6339
  } | {
6329
6340
  output: {
6330
6341
  error: {
6331
- code: "unauthorized";
6342
+ code: "payment_required" | "rate_limit_exceeded";
6332
6343
  details?: readonly Response.error.Detail[] | undefined;
6333
6344
  message: string;
6334
6345
  };
6335
6346
  requestId: string;
6336
6347
  };
6337
6348
  outputFormat: "json";
6338
- status: 401;
6349
+ status: 429;
6339
6350
  input: {
6340
6351
  query?: {
6341
6352
  cursor?: string | string[];
@@ -6346,46 +6357,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6346
6357
  };
6347
6358
  } | {
6348
6359
  output: {
6349
- data: {
6350
- chainId: number;
6351
- context?: {
6352
- description?: string | undefined;
6353
- metadata?: {
6354
- [x: string]: string;
6355
- } | undefined;
6356
- title?: string | undefined;
6357
- } | undefined;
6358
- createdAt: string;
6359
- destination: {
6360
- type: "url";
6361
- url: string;
6362
- } | {
6363
- type: "slack";
6364
- url: "https://hooks.slack.com/…";
6365
- } | {
6366
- token: "[redacted]";
6367
- type: "betterstack";
6368
- url: string;
6369
- };
6370
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6371
- expiresAt?: string | undefined;
6372
- failureCount: number;
6373
- filters: {
6374
- [x: string]: import("hono/utils/types").JSONValue;
6375
- };
6376
- id: string;
6377
- lastDeliveryAt?: string | undefined;
6378
- status: "active" | "disabled" | "paused";
6379
- updatedAt: string;
6380
- }[];
6381
- meta?: {
6382
- totalCountCapped: boolean;
6383
- totalCount: number;
6384
- } | undefined;
6385
- nextCursor: string | null;
6360
+ error: {
6361
+ code: "upstream_error";
6362
+ details?: readonly Response.error.Detail[] | undefined;
6363
+ message: string;
6364
+ };
6365
+ requestId: string;
6386
6366
  };
6387
6367
  outputFormat: "json";
6388
- status: 200;
6368
+ status: 502;
6389
6369
  input: {
6390
6370
  query?: {
6391
6371
  cursor?: string | string[];
@@ -6400,15 +6380,39 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6400
6380
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
6401
6381
  $get: {
6402
6382
  output: {
6403
- error: {
6404
- code: "api_key_malformed";
6405
- details?: readonly Response.error.Detail[] | undefined;
6406
- message: string;
6383
+ chainId: number;
6384
+ context?: {
6385
+ description?: string | undefined;
6386
+ metadata?: {
6387
+ [x: string]: string;
6388
+ } | undefined;
6389
+ title?: string | undefined;
6390
+ } | undefined;
6391
+ createdAt: string;
6392
+ destination: {
6393
+ type: "url";
6394
+ url: string;
6395
+ } | {
6396
+ type: "slack";
6397
+ url: "https://hooks.slack.com/…";
6398
+ } | {
6399
+ token: "[redacted]";
6400
+ type: "betterstack";
6401
+ url: string;
6407
6402
  };
6408
- requestId: string;
6403
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6404
+ expiresAt?: string | undefined;
6405
+ failureCount: number;
6406
+ filters: {
6407
+ [x: string]: import("hono/utils/types").JSONValue;
6408
+ };
6409
+ id: string;
6410
+ lastDeliveryAt?: string | undefined;
6411
+ status: "active" | "disabled" | "paused";
6412
+ updatedAt: string;
6409
6413
  };
6410
6414
  outputFormat: "json";
6411
- status: 400;
6415
+ status: 200;
6412
6416
  input: {
6413
6417
  param: {
6414
6418
  id: string;
@@ -6417,14 +6421,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6417
6421
  } | {
6418
6422
  output: {
6419
6423
  error: {
6420
- code: "api_key_invalid" | "api_key_missing";
6424
+ code: "api_key_malformed";
6421
6425
  details?: readonly Response.error.Detail[] | undefined;
6422
6426
  message: string;
6423
6427
  };
6424
6428
  requestId: string;
6425
6429
  };
6426
6430
  outputFormat: "json";
6427
- status: 401;
6431
+ status: 400;
6428
6432
  input: {
6429
6433
  param: {
6430
6434
  id: string;
@@ -6433,14 +6437,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6433
6437
  } | {
6434
6438
  output: {
6435
6439
  error: {
6436
- code: "api_key_forbidden";
6440
+ code: "param_invalid";
6437
6441
  details?: readonly Response.error.Detail[] | undefined;
6438
6442
  message: string;
6439
6443
  };
6440
6444
  requestId: string;
6441
6445
  };
6442
6446
  outputFormat: "json";
6443
- status: 403;
6447
+ status: 400;
6444
6448
  input: {
6445
6449
  param: {
6446
6450
  id: string;
@@ -6449,14 +6453,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6449
6453
  } | {
6450
6454
  output: {
6451
6455
  error: {
6452
- code: "payment_required" | "rate_limit_exceeded";
6456
+ code: "api_key_invalid" | "api_key_missing";
6453
6457
  details?: readonly Response.error.Detail[] | undefined;
6454
6458
  message: string;
6455
6459
  };
6456
6460
  requestId: string;
6457
6461
  };
6458
6462
  outputFormat: "json";
6459
- status: 429;
6463
+ status: 401;
6460
6464
  input: {
6461
6465
  param: {
6462
6466
  id: string;
@@ -6465,14 +6469,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6465
6469
  } | {
6466
6470
  output: {
6467
6471
  error: {
6468
- code: "upstream_error";
6472
+ code: "unauthorized";
6469
6473
  details?: readonly Response.error.Detail[] | undefined;
6470
6474
  message: string;
6471
6475
  };
6472
6476
  requestId: string;
6473
6477
  };
6474
6478
  outputFormat: "json";
6475
- status: 502;
6479
+ status: 401;
6476
6480
  input: {
6477
6481
  param: {
6478
6482
  id: string;
@@ -6481,14 +6485,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6481
6485
  } | {
6482
6486
  output: {
6483
6487
  error: {
6484
- code: "webhooks_not_enabled";
6488
+ code: "api_key_forbidden";
6485
6489
  details?: readonly Response.error.Detail[] | undefined;
6486
6490
  message: string;
6487
6491
  };
6488
6492
  requestId: string;
6489
6493
  };
6490
6494
  outputFormat: "json";
6491
- status: 404;
6495
+ status: 403;
6492
6496
  input: {
6493
6497
  param: {
6494
6498
  id: string;
@@ -6497,14 +6501,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6497
6501
  } | {
6498
6502
  output: {
6499
6503
  error: {
6500
- code: "unauthorized";
6504
+ code: "webhooks_not_enabled";
6501
6505
  details?: readonly Response.error.Detail[] | undefined;
6502
6506
  message: string;
6503
6507
  };
6504
6508
  requestId: string;
6505
6509
  };
6506
6510
  outputFormat: "json";
6507
- status: 401;
6511
+ status: 404;
6508
6512
  input: {
6509
6513
  param: {
6510
6514
  id: string;
@@ -6513,14 +6517,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6513
6517
  } | {
6514
6518
  output: {
6515
6519
  error: {
6516
- code: "param_invalid";
6520
+ code: "webhook_not_found";
6517
6521
  details?: readonly Response.error.Detail[] | undefined;
6518
6522
  message: string;
6519
6523
  };
6520
6524
  requestId: string;
6521
6525
  };
6522
6526
  outputFormat: "json";
6523
- status: 400;
6527
+ status: 404;
6524
6528
  input: {
6525
6529
  param: {
6526
6530
  id: string;
@@ -6529,14 +6533,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6529
6533
  } | {
6530
6534
  output: {
6531
6535
  error: {
6532
- code: "webhook_not_found";
6536
+ code: "payment_required" | "rate_limit_exceeded";
6533
6537
  details?: readonly Response.error.Detail[] | undefined;
6534
6538
  message: string;
6535
6539
  };
6536
6540
  requestId: string;
6537
6541
  };
6538
6542
  outputFormat: "json";
6539
- status: 404;
6543
+ status: 429;
6540
6544
  input: {
6541
6545
  param: {
6542
6546
  id: string;
@@ -6544,39 +6548,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6544
6548
  };
6545
6549
  } | {
6546
6550
  output: {
6547
- chainId: number;
6548
- context?: {
6549
- description?: string | undefined;
6550
- metadata?: {
6551
- [x: string]: string;
6552
- } | undefined;
6553
- title?: string | undefined;
6554
- } | undefined;
6555
- createdAt: string;
6556
- destination: {
6557
- type: "url";
6558
- url: string;
6559
- } | {
6560
- type: "slack";
6561
- url: "https://hooks.slack.com/…";
6562
- } | {
6563
- token: "[redacted]";
6564
- type: "betterstack";
6565
- url: string;
6566
- };
6567
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6568
- expiresAt?: string | undefined;
6569
- failureCount: number;
6570
- filters: {
6571
- [x: string]: import("hono/utils/types").JSONValue;
6551
+ error: {
6552
+ code: "upstream_error";
6553
+ details?: readonly Response.error.Detail[] | undefined;
6554
+ message: string;
6572
6555
  };
6573
- id: string;
6574
- lastDeliveryAt?: string | undefined;
6575
- status: "active" | "disabled" | "paused";
6576
- updatedAt: string;
6556
+ requestId: string;
6577
6557
  };
6578
6558
  outputFormat: "json";
6579
- status: 200;
6559
+ status: 502;
6580
6560
  input: {
6581
6561
  param: {
6582
6562
  id: string;
@@ -6588,15 +6568,26 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6588
6568
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
6589
6569
  $get: {
6590
6570
  output: {
6591
- error: {
6592
- code: "api_key_malformed";
6593
- details?: readonly Response.error.Detail[] | undefined;
6594
- message: string;
6595
- };
6596
- requestId: string;
6571
+ data: {
6572
+ attempt: number;
6573
+ createdAt: string;
6574
+ error?: string | undefined;
6575
+ eventId: string;
6576
+ id: string;
6577
+ requestUrl: string;
6578
+ responseMs?: number | undefined;
6579
+ responseStatus?: number | undefined;
6580
+ status: "failed" | "pending" | "succeeded";
6581
+ subscriptionId: string;
6582
+ }[];
6583
+ meta?: {
6584
+ totalCountCapped: boolean;
6585
+ totalCount: number;
6586
+ } | undefined;
6587
+ nextCursor: string | null;
6597
6588
  };
6598
6589
  outputFormat: "json";
6599
- status: 400;
6590
+ status: 200;
6600
6591
  input: {
6601
6592
  param: {
6602
6593
  id: string;
@@ -6612,14 +6603,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6612
6603
  } | {
6613
6604
  output: {
6614
6605
  error: {
6615
- code: "api_key_invalid" | "api_key_missing";
6606
+ code: "api_key_malformed";
6616
6607
  details?: readonly Response.error.Detail[] | undefined;
6617
6608
  message: string;
6618
6609
  };
6619
6610
  requestId: string;
6620
6611
  };
6621
6612
  outputFormat: "json";
6622
- status: 401;
6613
+ status: 400;
6623
6614
  input: {
6624
6615
  param: {
6625
6616
  id: string;
@@ -6635,14 +6626,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6635
6626
  } | {
6636
6627
  output: {
6637
6628
  error: {
6638
- code: "api_key_forbidden";
6629
+ code: "query_invalid";
6639
6630
  details?: readonly Response.error.Detail[] | undefined;
6640
6631
  message: string;
6641
6632
  };
6642
6633
  requestId: string;
6643
6634
  };
6644
6635
  outputFormat: "json";
6645
- status: 403;
6636
+ status: 400;
6646
6637
  input: {
6647
6638
  param: {
6648
6639
  id: string;
@@ -6658,14 +6649,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6658
6649
  } | {
6659
6650
  output: {
6660
6651
  error: {
6661
- code: "payment_required" | "rate_limit_exceeded";
6652
+ code: "param_invalid";
6662
6653
  details?: readonly Response.error.Detail[] | undefined;
6663
6654
  message: string;
6664
6655
  };
6665
6656
  requestId: string;
6666
6657
  };
6667
6658
  outputFormat: "json";
6668
- status: 429;
6659
+ status: 400;
6669
6660
  input: {
6670
6661
  param: {
6671
6662
  id: string;
@@ -6681,14 +6672,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6681
6672
  } | {
6682
6673
  output: {
6683
6674
  error: {
6684
- code: "query_invalid";
6675
+ code: "api_key_invalid" | "api_key_missing";
6685
6676
  details?: readonly Response.error.Detail[] | undefined;
6686
6677
  message: string;
6687
6678
  };
6688
6679
  requestId: string;
6689
6680
  };
6690
6681
  outputFormat: "json";
6691
- status: 400;
6682
+ status: 401;
6692
6683
  input: {
6693
6684
  param: {
6694
6685
  id: string;
@@ -6704,14 +6695,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6704
6695
  } | {
6705
6696
  output: {
6706
6697
  error: {
6707
- code: "upstream_error";
6698
+ code: "unauthorized";
6708
6699
  details?: readonly Response.error.Detail[] | undefined;
6709
6700
  message: string;
6710
6701
  };
6711
6702
  requestId: string;
6712
6703
  };
6713
6704
  outputFormat: "json";
6714
- status: 502;
6705
+ status: 401;
6715
6706
  input: {
6716
6707
  param: {
6717
6708
  id: string;
@@ -6727,14 +6718,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6727
6718
  } | {
6728
6719
  output: {
6729
6720
  error: {
6730
- code: "webhooks_not_enabled";
6721
+ code: "api_key_forbidden";
6731
6722
  details?: readonly Response.error.Detail[] | undefined;
6732
6723
  message: string;
6733
6724
  };
6734
6725
  requestId: string;
6735
6726
  };
6736
6727
  outputFormat: "json";
6737
- status: 404;
6728
+ status: 403;
6738
6729
  input: {
6739
6730
  param: {
6740
6731
  id: string;
@@ -6750,14 +6741,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6750
6741
  } | {
6751
6742
  output: {
6752
6743
  error: {
6753
- code: "unauthorized";
6744
+ code: "webhooks_not_enabled";
6754
6745
  details?: readonly Response.error.Detail[] | undefined;
6755
6746
  message: string;
6756
6747
  };
6757
6748
  requestId: string;
6758
6749
  };
6759
6750
  outputFormat: "json";
6760
- status: 401;
6751
+ status: 404;
6761
6752
  input: {
6762
6753
  param: {
6763
6754
  id: string;
@@ -6773,14 +6764,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6773
6764
  } | {
6774
6765
  output: {
6775
6766
  error: {
6776
- code: "param_invalid";
6767
+ code: "webhook_not_found";
6777
6768
  details?: readonly Response.error.Detail[] | undefined;
6778
6769
  message: string;
6779
6770
  };
6780
6771
  requestId: string;
6781
6772
  };
6782
6773
  outputFormat: "json";
6783
- status: 400;
6774
+ status: 404;
6784
6775
  input: {
6785
6776
  param: {
6786
6777
  id: string;
@@ -6796,14 +6787,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6796
6787
  } | {
6797
6788
  output: {
6798
6789
  error: {
6799
- code: "webhook_not_found";
6790
+ code: "payment_required" | "rate_limit_exceeded";
6800
6791
  details?: readonly Response.error.Detail[] | undefined;
6801
6792
  message: string;
6802
6793
  };
6803
6794
  requestId: string;
6804
6795
  };
6805
6796
  outputFormat: "json";
6806
- status: 404;
6797
+ status: 429;
6807
6798
  input: {
6808
6799
  param: {
6809
6800
  id: string;
@@ -6818,26 +6809,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6818
6809
  };
6819
6810
  } | {
6820
6811
  output: {
6821
- data: {
6822
- attempt: number;
6823
- createdAt: string;
6824
- error?: string | undefined;
6825
- eventId: string;
6826
- id: string;
6827
- requestUrl: string;
6828
- responseMs?: number | undefined;
6829
- responseStatus?: number | undefined;
6830
- status: "failed" | "pending" | "succeeded";
6831
- subscriptionId: string;
6832
- }[];
6833
- meta?: {
6834
- totalCountCapped: boolean;
6835
- totalCount: number;
6836
- } | undefined;
6837
- nextCursor: string | null;
6812
+ error: {
6813
+ code: "upstream_error";
6814
+ details?: readonly Response.error.Detail[] | undefined;
6815
+ message: string;
6816
+ };
6817
+ requestId: string;
6838
6818
  };
6839
6819
  outputFormat: "json";
6840
- status: 200;
6820
+ status: 502;
6841
6821
  input: {
6842
6822
  param: {
6843
6823
  id: string;
@@ -6855,6 +6835,21 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6855
6835
  } & {
6856
6836
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/ping": {
6857
6837
  $post: {
6838
+ output: {
6839
+ delivered: boolean;
6840
+ error?: string | undefined;
6841
+ eventId: string;
6842
+ responseMs?: number | undefined;
6843
+ responseStatus?: number | undefined;
6844
+ };
6845
+ outputFormat: "json";
6846
+ status: 200;
6847
+ input: {
6848
+ param: {
6849
+ id: string;
6850
+ };
6851
+ };
6852
+ } | {
6858
6853
  output: {
6859
6854
  error: {
6860
6855
  code: "api_key_malformed";
@@ -6873,14 +6868,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6873
6868
  } | {
6874
6869
  output: {
6875
6870
  error: {
6876
- code: "api_key_invalid" | "api_key_missing";
6871
+ code: "param_invalid";
6877
6872
  details?: readonly Response.error.Detail[] | undefined;
6878
6873
  message: string;
6879
6874
  };
6880
6875
  requestId: string;
6881
6876
  };
6882
6877
  outputFormat: "json";
6883
- status: 401;
6878
+ status: 400;
6884
6879
  input: {
6885
6880
  param: {
6886
6881
  id: string;
@@ -6889,14 +6884,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6889
6884
  } | {
6890
6885
  output: {
6891
6886
  error: {
6892
- code: "api_key_forbidden";
6887
+ code: "api_key_invalid" | "api_key_missing";
6893
6888
  details?: readonly Response.error.Detail[] | undefined;
6894
6889
  message: string;
6895
6890
  };
6896
6891
  requestId: string;
6897
6892
  };
6898
6893
  outputFormat: "json";
6899
- status: 403;
6894
+ status: 401;
6900
6895
  input: {
6901
6896
  param: {
6902
6897
  id: string;
@@ -6905,14 +6900,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6905
6900
  } | {
6906
6901
  output: {
6907
6902
  error: {
6908
- code: "payment_required" | "rate_limit_exceeded";
6903
+ code: "unauthorized";
6909
6904
  details?: readonly Response.error.Detail[] | undefined;
6910
6905
  message: string;
6911
6906
  };
6912
6907
  requestId: string;
6913
6908
  };
6914
6909
  outputFormat: "json";
6915
- status: 429;
6910
+ status: 401;
6916
6911
  input: {
6917
6912
  param: {
6918
6913
  id: string;
@@ -6921,14 +6916,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6921
6916
  } | {
6922
6917
  output: {
6923
6918
  error: {
6924
- code: "upstream_error";
6919
+ code: "api_key_forbidden";
6925
6920
  details?: readonly Response.error.Detail[] | undefined;
6926
6921
  message: string;
6927
6922
  };
6928
6923
  requestId: string;
6929
6924
  };
6930
6925
  outputFormat: "json";
6931
- status: 502;
6926
+ status: 403;
6932
6927
  input: {
6933
6928
  param: {
6934
6929
  id: string;
@@ -6953,14 +6948,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6953
6948
  } | {
6954
6949
  output: {
6955
6950
  error: {
6956
- code: "unauthorized";
6951
+ code: "webhook_not_found";
6957
6952
  details?: readonly Response.error.Detail[] | undefined;
6958
6953
  message: string;
6959
6954
  };
6960
6955
  requestId: string;
6961
6956
  };
6962
6957
  outputFormat: "json";
6963
- status: 401;
6958
+ status: 404;
6964
6959
  input: {
6965
6960
  param: {
6966
6961
  id: string;
@@ -6969,14 +6964,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6969
6964
  } | {
6970
6965
  output: {
6971
6966
  error: {
6972
- code: "param_invalid";
6967
+ code: "payment_required" | "rate_limit_exceeded";
6973
6968
  details?: readonly Response.error.Detail[] | undefined;
6974
6969
  message: string;
6975
6970
  };
6976
6971
  requestId: string;
6977
6972
  };
6978
6973
  outputFormat: "json";
6979
- status: 400;
6974
+ status: 429;
6980
6975
  input: {
6981
6976
  param: {
6982
6977
  id: string;
@@ -6985,20 +6980,24 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6985
6980
  } | {
6986
6981
  output: {
6987
6982
  error: {
6988
- code: "webhook_not_found";
6983
+ code: "upstream_error";
6989
6984
  details?: readonly Response.error.Detail[] | undefined;
6990
6985
  message: string;
6991
6986
  };
6992
6987
  requestId: string;
6993
6988
  };
6994
6989
  outputFormat: "json";
6995
- status: 404;
6990
+ status: 502;
6996
6991
  input: {
6997
6992
  param: {
6998
6993
  id: string;
6999
6994
  };
7000
6995
  };
7001
- } | {
6996
+ };
6997
+ };
6998
+ } & {
6999
+ "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
7000
+ $post: {
7002
7001
  output: {
7003
7002
  delivered: boolean;
7004
7003
  error?: string | undefined;
@@ -7010,14 +7009,11 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7010
7009
  status: 200;
7011
7010
  input: {
7012
7011
  param: {
7012
+ deliveryId: string;
7013
7013
  id: string;
7014
7014
  };
7015
7015
  };
7016
- };
7017
- };
7018
- } & {
7019
- "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
7020
- $post: {
7016
+ } | {
7021
7017
  output: {
7022
7018
  error: {
7023
7019
  code: "api_key_malformed";
@@ -7037,14 +7033,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7037
7033
  } | {
7038
7034
  output: {
7039
7035
  error: {
7040
- code: "api_key_invalid" | "api_key_missing";
7036
+ code: "param_invalid";
7041
7037
  details?: readonly Response.error.Detail[] | undefined;
7042
7038
  message: string;
7043
7039
  };
7044
7040
  requestId: string;
7045
7041
  };
7046
7042
  outputFormat: "json";
7047
- status: 401;
7043
+ status: 400;
7048
7044
  input: {
7049
7045
  param: {
7050
7046
  deliveryId: string;
@@ -7054,14 +7050,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7054
7050
  } | {
7055
7051
  output: {
7056
7052
  error: {
7057
- code: "api_key_forbidden";
7053
+ code: "api_key_invalid" | "api_key_missing";
7058
7054
  details?: readonly Response.error.Detail[] | undefined;
7059
7055
  message: string;
7060
7056
  };
7061
7057
  requestId: string;
7062
7058
  };
7063
7059
  outputFormat: "json";
7064
- status: 403;
7060
+ status: 401;
7065
7061
  input: {
7066
7062
  param: {
7067
7063
  deliveryId: string;
@@ -7071,14 +7067,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7071
7067
  } | {
7072
7068
  output: {
7073
7069
  error: {
7074
- code: "payment_required" | "rate_limit_exceeded";
7070
+ code: "unauthorized";
7075
7071
  details?: readonly Response.error.Detail[] | undefined;
7076
7072
  message: string;
7077
7073
  };
7078
7074
  requestId: string;
7079
7075
  };
7080
7076
  outputFormat: "json";
7081
- status: 429;
7077
+ status: 401;
7082
7078
  input: {
7083
7079
  param: {
7084
7080
  deliveryId: string;
@@ -7088,14 +7084,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7088
7084
  } | {
7089
7085
  output: {
7090
7086
  error: {
7091
- code: "upstream_error";
7087
+ code: "api_key_forbidden";
7092
7088
  details?: readonly Response.error.Detail[] | undefined;
7093
7089
  message: string;
7094
7090
  };
7095
7091
  requestId: string;
7096
7092
  };
7097
7093
  outputFormat: "json";
7098
- status: 502;
7094
+ status: 403;
7099
7095
  input: {
7100
7096
  param: {
7101
7097
  deliveryId: string;
@@ -7122,14 +7118,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7122
7118
  } | {
7123
7119
  output: {
7124
7120
  error: {
7125
- code: "unauthorized";
7121
+ code: "webhook_not_found";
7126
7122
  details?: readonly Response.error.Detail[] | undefined;
7127
7123
  message: string;
7128
7124
  };
7129
7125
  requestId: string;
7130
7126
  };
7131
7127
  outputFormat: "json";
7132
- status: 401;
7128
+ status: 404;
7133
7129
  input: {
7134
7130
  param: {
7135
7131
  deliveryId: string;
@@ -7139,14 +7135,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7139
7135
  } | {
7140
7136
  output: {
7141
7137
  error: {
7142
- code: "param_invalid";
7138
+ code: "delivery_not_found";
7143
7139
  details?: readonly Response.error.Detail[] | undefined;
7144
7140
  message: string;
7145
7141
  };
7146
7142
  requestId: string;
7147
7143
  };
7148
7144
  outputFormat: "json";
7149
- status: 400;
7145
+ status: 404;
7150
7146
  input: {
7151
7147
  param: {
7152
7148
  deliveryId: string;
@@ -7156,30 +7152,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7156
7152
  } | {
7157
7153
  output: {
7158
7154
  error: {
7159
- code: "webhook_not_found";
7155
+ code: "payment_required" | "rate_limit_exceeded";
7160
7156
  details?: readonly Response.error.Detail[] | undefined;
7161
7157
  message: string;
7162
7158
  };
7163
7159
  requestId: string;
7164
7160
  };
7165
7161
  outputFormat: "json";
7166
- status: 404;
7167
- input: {
7168
- param: {
7169
- deliveryId: string;
7170
- id: string;
7171
- };
7172
- };
7173
- } | {
7174
- output: {
7175
- delivered: boolean;
7176
- error?: string | undefined;
7177
- eventId: string;
7178
- responseMs?: number | undefined;
7179
- responseStatus?: number | undefined;
7180
- };
7181
- outputFormat: "json";
7182
- status: 200;
7162
+ status: 429;
7183
7163
  input: {
7184
7164
  param: {
7185
7165
  deliveryId: string;
@@ -7189,14 +7169,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7189
7169
  } | {
7190
7170
  output: {
7191
7171
  error: {
7192
- code: "delivery_not_found";
7172
+ code: "upstream_error";
7193
7173
  details?: readonly Response.error.Detail[] | undefined;
7194
7174
  message: string;
7195
7175
  };
7196
7176
  requestId: string;
7197
7177
  };
7198
7178
  outputFormat: "json";
7199
- status: 404;
7179
+ status: 502;
7200
7180
  input: {
7201
7181
  param: {
7202
7182
  deliveryId: string;
@@ -7209,15 +7189,39 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7209
7189
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
7210
7190
  $patch: {
7211
7191
  output: {
7212
- error: {
7213
- code: "api_key_malformed";
7214
- details?: readonly Response.error.Detail[] | undefined;
7215
- message: string;
7192
+ chainId: number;
7193
+ context?: {
7194
+ description?: string | undefined;
7195
+ metadata?: {
7196
+ [x: string]: string;
7197
+ } | undefined;
7198
+ title?: string | undefined;
7199
+ } | undefined;
7200
+ createdAt: string;
7201
+ destination: {
7202
+ type: "url";
7203
+ url: string;
7204
+ } | {
7205
+ type: "slack";
7206
+ url: "https://hooks.slack.com/…";
7207
+ } | {
7208
+ token: "[redacted]";
7209
+ type: "betterstack";
7210
+ url: string;
7216
7211
  };
7217
- requestId: string;
7212
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
7213
+ expiresAt?: string | undefined;
7214
+ failureCount: number;
7215
+ filters: {
7216
+ [x: string]: import("hono/utils/types").JSONValue;
7217
+ };
7218
+ id: string;
7219
+ lastDeliveryAt?: string | undefined;
7220
+ status: "active" | "disabled" | "paused";
7221
+ updatedAt: string;
7218
7222
  };
7219
7223
  outputFormat: "json";
7220
- status: 400;
7224
+ status: 200;
7221
7225
  input: {
7222
7226
  param: {
7223
7227
  id: string;
@@ -7247,14 +7251,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7247
7251
  } | {
7248
7252
  output: {
7249
7253
  error: {
7250
- code: "api_key_invalid" | "api_key_missing";
7254
+ code: "api_key_malformed";
7251
7255
  details?: readonly Response.error.Detail[] | undefined;
7252
7256
  message: string;
7253
7257
  };
7254
7258
  requestId: string;
7255
7259
  };
7256
7260
  outputFormat: "json";
7257
- status: 401;
7261
+ status: 400;
7258
7262
  input: {
7259
7263
  param: {
7260
7264
  id: string;
@@ -7284,14 +7288,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7284
7288
  } | {
7285
7289
  output: {
7286
7290
  error: {
7287
- code: "api_key_forbidden";
7291
+ code: "body_invalid";
7288
7292
  details?: readonly Response.error.Detail[] | undefined;
7289
7293
  message: string;
7290
7294
  };
7291
7295
  requestId: string;
7292
7296
  };
7293
7297
  outputFormat: "json";
7294
- status: 403;
7298
+ status: 400;
7295
7299
  input: {
7296
7300
  param: {
7297
7301
  id: string;
@@ -7321,14 +7325,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7321
7325
  } | {
7322
7326
  output: {
7323
7327
  error: {
7324
- code: "payment_required" | "rate_limit_exceeded";
7328
+ code: "url_invalid";
7325
7329
  details?: readonly Response.error.Detail[] | undefined;
7326
7330
  message: string;
7327
7331
  };
7328
7332
  requestId: string;
7329
7333
  };
7330
7334
  outputFormat: "json";
7331
- status: 429;
7335
+ status: 400;
7332
7336
  input: {
7333
7337
  param: {
7334
7338
  id: string;
@@ -7358,14 +7362,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7358
7362
  } | {
7359
7363
  output: {
7360
7364
  error: {
7361
- code: "upstream_error";
7365
+ code: "filters_invalid";
7362
7366
  details?: readonly Response.error.Detail[] | undefined;
7363
7367
  message: string;
7364
7368
  };
7365
7369
  requestId: string;
7366
7370
  };
7367
7371
  outputFormat: "json";
7368
- status: 502;
7372
+ status: 400;
7369
7373
  input: {
7370
7374
  param: {
7371
7375
  id: string;
@@ -7395,14 +7399,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7395
7399
  } | {
7396
7400
  output: {
7397
7401
  error: {
7398
- code: "webhooks_not_enabled";
7402
+ code: "param_invalid";
7399
7403
  details?: readonly Response.error.Detail[] | undefined;
7400
7404
  message: string;
7401
7405
  };
7402
7406
  requestId: string;
7403
7407
  };
7404
7408
  outputFormat: "json";
7405
- status: 404;
7409
+ status: 400;
7406
7410
  input: {
7407
7411
  param: {
7408
7412
  id: string;
@@ -7432,7 +7436,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7432
7436
  } | {
7433
7437
  output: {
7434
7438
  error: {
7435
- code: "body_invalid";
7439
+ code: "destination_transition_invalid";
7436
7440
  details?: readonly Response.error.Detail[] | undefined;
7437
7441
  message: string;
7438
7442
  };
@@ -7469,7 +7473,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7469
7473
  } | {
7470
7474
  output: {
7471
7475
  error: {
7472
- code: "unauthorized";
7476
+ code: "api_key_invalid" | "api_key_missing";
7473
7477
  details?: readonly Response.error.Detail[] | undefined;
7474
7478
  message: string;
7475
7479
  };
@@ -7506,14 +7510,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7506
7510
  } | {
7507
7511
  output: {
7508
7512
  error: {
7509
- code: "url_invalid";
7513
+ code: "unauthorized";
7510
7514
  details?: readonly Response.error.Detail[] | undefined;
7511
7515
  message: string;
7512
7516
  };
7513
7517
  requestId: string;
7514
7518
  };
7515
7519
  outputFormat: "json";
7516
- status: 400;
7520
+ status: 401;
7517
7521
  input: {
7518
7522
  param: {
7519
7523
  id: string;
@@ -7543,14 +7547,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7543
7547
  } | {
7544
7548
  output: {
7545
7549
  error: {
7546
- code: "filters_invalid";
7550
+ code: "api_key_forbidden";
7547
7551
  details?: readonly Response.error.Detail[] | undefined;
7548
7552
  message: string;
7549
7553
  };
7550
7554
  requestId: string;
7551
7555
  };
7552
7556
  outputFormat: "json";
7553
- status: 400;
7557
+ status: 403;
7554
7558
  input: {
7555
7559
  param: {
7556
7560
  id: string;
@@ -7580,14 +7584,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7580
7584
  } | {
7581
7585
  output: {
7582
7586
  error: {
7583
- code: "limit_exceeded";
7587
+ code: "webhooks_not_enabled";
7584
7588
  details?: readonly Response.error.Detail[] | undefined;
7585
7589
  message: string;
7586
7590
  };
7587
7591
  requestId: string;
7588
7592
  };
7589
7593
  outputFormat: "json";
7590
- status: 403;
7594
+ status: 404;
7591
7595
  input: {
7592
7596
  param: {
7593
7597
  id: string;
@@ -7617,14 +7621,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7617
7621
  } | {
7618
7622
  output: {
7619
7623
  error: {
7620
- code: "param_invalid";
7624
+ code: "webhook_not_found";
7621
7625
  details?: readonly Response.error.Detail[] | undefined;
7622
7626
  message: string;
7623
7627
  };
7624
7628
  requestId: string;
7625
7629
  };
7626
7630
  outputFormat: "json";
7627
- status: 400;
7631
+ status: 404;
7628
7632
  input: {
7629
7633
  param: {
7630
7634
  id: string;
@@ -7654,14 +7658,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7654
7658
  } | {
7655
7659
  output: {
7656
7660
  error: {
7657
- code: "webhook_not_found";
7661
+ code: "payment_required" | "rate_limit_exceeded";
7658
7662
  details?: readonly Response.error.Detail[] | undefined;
7659
7663
  message: string;
7660
7664
  };
7661
7665
  requestId: string;
7662
7666
  };
7663
7667
  outputFormat: "json";
7664
- status: 404;
7668
+ status: 429;
7665
7669
  input: {
7666
7670
  param: {
7667
7671
  id: string;
@@ -7690,39 +7694,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7690
7694
  };
7691
7695
  } | {
7692
7696
  output: {
7693
- chainId: number;
7694
- context?: {
7695
- description?: string | undefined;
7696
- metadata?: {
7697
- [x: string]: string;
7698
- } | undefined;
7699
- title?: string | undefined;
7700
- } | undefined;
7701
- createdAt: string;
7702
- destination: {
7703
- type: "url";
7704
- url: string;
7705
- } | {
7706
- type: "slack";
7707
- url: "https://hooks.slack.com/…";
7708
- } | {
7709
- token: "[redacted]";
7710
- type: "betterstack";
7711
- url: string;
7712
- };
7713
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
7714
- expiresAt?: string | undefined;
7715
- failureCount: number;
7716
- filters: {
7717
- [x: string]: import("hono/utils/types").JSONValue;
7697
+ error: {
7698
+ code: "upstream_error";
7699
+ details?: readonly Response.error.Detail[] | undefined;
7700
+ message: string;
7718
7701
  };
7719
- id: string;
7720
- lastDeliveryAt?: string | undefined;
7721
- status: "active" | "disabled" | "paused";
7722
- updatedAt: string;
7702
+ requestId: string;
7723
7703
  };
7724
7704
  outputFormat: "json";
7725
- status: 200;
7705
+ status: 502;
7726
7706
  input: {
7727
7707
  param: {
7728
7708
  id: string;
@@ -7755,15 +7735,10 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7755
7735
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
7756
7736
  $delete: {
7757
7737
  output: {
7758
- error: {
7759
- code: "api_key_malformed";
7760
- details?: readonly Response.error.Detail[] | undefined;
7761
- message: string;
7762
- };
7763
- requestId: string;
7738
+ id: string;
7764
7739
  };
7765
7740
  outputFormat: "json";
7766
- status: 400;
7741
+ status: 200;
7767
7742
  input: {
7768
7743
  param: {
7769
7744
  id: string;
@@ -7772,14 +7747,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7772
7747
  } | {
7773
7748
  output: {
7774
7749
  error: {
7775
- code: "api_key_invalid" | "api_key_missing";
7750
+ code: "api_key_malformed";
7776
7751
  details?: readonly Response.error.Detail[] | undefined;
7777
7752
  message: string;
7778
7753
  };
7779
7754
  requestId: string;
7780
7755
  };
7781
7756
  outputFormat: "json";
7782
- status: 401;
7757
+ status: 400;
7783
7758
  input: {
7784
7759
  param: {
7785
7760
  id: string;
@@ -7788,14 +7763,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7788
7763
  } | {
7789
7764
  output: {
7790
7765
  error: {
7791
- code: "api_key_forbidden";
7766
+ code: "param_invalid";
7792
7767
  details?: readonly Response.error.Detail[] | undefined;
7793
7768
  message: string;
7794
7769
  };
7795
7770
  requestId: string;
7796
7771
  };
7797
7772
  outputFormat: "json";
7798
- status: 403;
7773
+ status: 400;
7799
7774
  input: {
7800
7775
  param: {
7801
7776
  id: string;
@@ -7804,14 +7779,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7804
7779
  } | {
7805
7780
  output: {
7806
7781
  error: {
7807
- code: "payment_required" | "rate_limit_exceeded";
7782
+ code: "api_key_invalid" | "api_key_missing";
7808
7783
  details?: readonly Response.error.Detail[] | undefined;
7809
7784
  message: string;
7810
7785
  };
7811
7786
  requestId: string;
7812
7787
  };
7813
7788
  outputFormat: "json";
7814
- status: 429;
7789
+ status: 401;
7815
7790
  input: {
7816
7791
  param: {
7817
7792
  id: string;
@@ -7820,14 +7795,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7820
7795
  } | {
7821
7796
  output: {
7822
7797
  error: {
7823
- code: "upstream_error";
7798
+ code: "unauthorized";
7824
7799
  details?: readonly Response.error.Detail[] | undefined;
7825
7800
  message: string;
7826
7801
  };
7827
7802
  requestId: string;
7828
7803
  };
7829
7804
  outputFormat: "json";
7830
- status: 502;
7805
+ status: 401;
7831
7806
  input: {
7832
7807
  param: {
7833
7808
  id: string;
@@ -7836,14 +7811,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7836
7811
  } | {
7837
7812
  output: {
7838
7813
  error: {
7839
- code: "webhooks_not_enabled";
7814
+ code: "api_key_forbidden";
7840
7815
  details?: readonly Response.error.Detail[] | undefined;
7841
7816
  message: string;
7842
7817
  };
7843
7818
  requestId: string;
7844
7819
  };
7845
7820
  outputFormat: "json";
7846
- status: 404;
7821
+ status: 403;
7847
7822
  input: {
7848
7823
  param: {
7849
7824
  id: string;
@@ -7852,14 +7827,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7852
7827
  } | {
7853
7828
  output: {
7854
7829
  error: {
7855
- code: "unauthorized";
7830
+ code: "webhooks_not_enabled";
7856
7831
  details?: readonly Response.error.Detail[] | undefined;
7857
7832
  message: string;
7858
7833
  };
7859
7834
  requestId: string;
7860
7835
  };
7861
7836
  outputFormat: "json";
7862
- status: 401;
7837
+ status: 404;
7863
7838
  input: {
7864
7839
  param: {
7865
7840
  id: string;
@@ -7868,14 +7843,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7868
7843
  } | {
7869
7844
  output: {
7870
7845
  error: {
7871
- code: "param_invalid";
7846
+ code: "webhook_not_found";
7872
7847
  details?: readonly Response.error.Detail[] | undefined;
7873
7848
  message: string;
7874
7849
  };
7875
7850
  requestId: string;
7876
7851
  };
7877
7852
  outputFormat: "json";
7878
- status: 400;
7853
+ status: 404;
7879
7854
  input: {
7880
7855
  param: {
7881
7856
  id: string;
@@ -7884,14 +7859,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7884
7859
  } | {
7885
7860
  output: {
7886
7861
  error: {
7887
- code: "webhook_not_found";
7862
+ code: "payment_required" | "rate_limit_exceeded";
7888
7863
  details?: readonly Response.error.Detail[] | undefined;
7889
7864
  message: string;
7890
7865
  };
7891
7866
  requestId: string;
7892
7867
  };
7893
7868
  outputFormat: "json";
7894
- status: 404;
7869
+ status: 429;
7895
7870
  input: {
7896
7871
  param: {
7897
7872
  id: string;
@@ -7899,10 +7874,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7899
7874
  };
7900
7875
  } | {
7901
7876
  output: {
7902
- id: string;
7877
+ error: {
7878
+ code: "upstream_error";
7879
+ details?: readonly Response.error.Detail[] | undefined;
7880
+ message: string;
7881
+ };
7882
+ requestId: string;
7903
7883
  };
7904
7884
  outputFormat: "json";
7905
- status: 200;
7885
+ status: 502;
7906
7886
  input: {
7907
7887
  param: {
7908
7888
  id: string;