tapimo 0.7.2 → 0.9.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 (300) hide show
  1. package/README.md +10 -7
  2. package/dist/ApiKey.d.ts +3 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +10 -0
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +7 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +9 -2
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20117 -19183
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +61 -4
  13. package/dist/App.js.map +1 -1
  14. package/dist/admin/App.d.ts +84 -74
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +14 -1
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +6 -2
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/organizations.d.ts +2 -0
  21. package/dist/admin/apps/organizations.d.ts.map +1 -1
  22. package/dist/admin/apps/verified-tokens.d.ts +11 -11
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +67 -67
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts +2 -0
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +3 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/data/App.d.ts +11696 -13937
  31. package/dist/apps/data/App.d.ts.map +1 -1
  32. package/dist/apps/data/App.js +4 -8
  33. package/dist/apps/data/App.js.map +1 -1
  34. package/dist/apps/data/routes/activities.d.ts +271 -271
  35. package/dist/apps/data/routes/addresses.d.ts +398 -167
  36. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  37. package/dist/apps/data/routes/balances.d.ts +278 -8
  38. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  39. package/dist/apps/data/routes/balances.js +114 -2
  40. package/dist/apps/data/routes/balances.js.map +1 -1
  41. package/dist/apps/data/routes/blocks.d.ts +123 -123
  42. package/dist/apps/data/routes/coingecko.d.ts +170 -170
  43. package/dist/apps/data/routes/earn.d.ts +498 -6
  44. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  45. package/dist/apps/data/routes/earn.js +876 -4
  46. package/dist/apps/data/routes/earn.js.map +1 -1
  47. package/dist/apps/data/routes/exchanges.d.ts +10 -10
  48. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  49. package/dist/apps/data/routes/indexer.d.ts +6 -6
  50. package/dist/apps/data/routes/indexer.js +4 -1
  51. package/dist/apps/data/routes/indexer.js.map +1 -1
  52. package/dist/apps/data/routes/receipts.d.ts +235 -235
  53. package/dist/apps/data/routes/rpc.d.ts +31 -31
  54. package/dist/apps/data/routes/rpc.js +4 -1
  55. package/dist/apps/data/routes/rpc.js.map +1 -1
  56. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  57. package/dist/apps/data/routes/tokens.d.ts +449 -449
  58. package/dist/apps/data/routes/transactions.d.ts +2 -2
  59. package/dist/apps/data/routes/transfers.d.ts +81 -81
  60. package/dist/apps/data/routes/valuation.d.ts +1 -1
  61. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  62. package/dist/apps/data/routes/webhooks.d.ts +9 -9
  63. package/dist/apps/data/routes/zones.d.ts +14 -14
  64. package/dist/apps/funding/Access.d.ts +16 -0
  65. package/dist/apps/funding/Access.d.ts.map +1 -0
  66. package/dist/apps/funding/Access.js +22 -0
  67. package/dist/apps/funding/Access.js.map +1 -0
  68. package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1640 -3217
  69. package/dist/apps/funding/App.d.ts.map +1 -0
  70. package/dist/apps/funding/App.js +61 -0
  71. package/dist/apps/funding/App.js.map +1 -0
  72. package/dist/apps/funding/Inventory.d.ts +5 -0
  73. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  74. package/dist/apps/funding/Inventory.js +25 -0
  75. package/dist/apps/funding/Inventory.js.map +1 -0
  76. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  77. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  78. package/dist/apps/funding/ProviderAttempts.js +24 -0
  79. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  80. package/dist/apps/funding/index.d.ts +2 -0
  81. package/dist/apps/funding/index.d.ts.map +1 -0
  82. package/dist/apps/funding/index.js +2 -0
  83. package/dist/apps/funding/index.js.map +1 -0
  84. package/dist/apps/funding/routes/chains.d.ts +169 -0
  85. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  86. package/dist/apps/funding/routes/chains.js +80 -0
  87. package/dist/apps/funding/routes/chains.js.map +1 -0
  88. package/dist/apps/funding/routes/deposit-addresses.d.ts +1997 -0
  89. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  90. package/dist/apps/funding/routes/deposit-addresses.js +778 -0
  91. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  92. package/dist/apps/funding/routes/providers.d.ts +91 -0
  93. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  94. package/dist/apps/funding/routes/providers.js +56 -0
  95. package/dist/apps/funding/routes/providers.js.map +1 -0
  96. package/dist/apps/funding/routes/quotes.d.ts +426 -0
  97. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  98. package/dist/apps/funding/routes/quotes.js +188 -0
  99. package/dist/apps/funding/routes/quotes.js.map +1 -0
  100. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  101. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  102. package/dist/apps/funding/routes/transfers.js +614 -0
  103. package/dist/apps/funding/routes/transfers.js.map +1 -0
  104. package/dist/apps/index.d.ts +1 -0
  105. package/dist/apps/index.d.ts.map +1 -1
  106. package/dist/apps/index.js +1 -0
  107. package/dist/apps/index.js.map +1 -1
  108. package/dist/apps/management/App.d.ts +430 -165
  109. package/dist/apps/management/App.d.ts.map +1 -1
  110. package/dist/apps/management/routes/api-keys.d.ts +298 -21
  111. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  112. package/dist/apps/management/routes/api-keys.js +75 -1
  113. package/dist/apps/management/routes/api-keys.js.map +1 -1
  114. package/dist/apps/management/routes/billing.d.ts +6 -6
  115. package/dist/apps/management/routes/faucet.d.ts +35 -35
  116. package/dist/apps/management/routes/invitations.d.ts +122 -122
  117. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  118. package/dist/apps/management/routes/members.d.ts +69 -69
  119. package/dist/apps/management/routes/orgs.d.ts +99 -99
  120. package/dist/apps/management/routes/projects.d.ts +25 -25
  121. package/dist/apps/management/routes/scopes.d.ts +1 -1
  122. package/dist/apps/management/routes/usage.d.ts +72 -72
  123. package/dist/apps/management/routes/verified-token-requests.d.ts +77 -77
  124. package/dist/apps/management/routes/webhooks.d.ts +128 -128
  125. package/dist/apps/mcp.d.ts +2 -3
  126. package/dist/apps/mcp.d.ts.map +1 -1
  127. package/dist/apps/mcp.js +16 -14
  128. package/dist/apps/mcp.js.map +1 -1
  129. package/dist/apps/metadata.d.ts +4 -0
  130. package/dist/apps/metadata.d.ts.map +1 -1
  131. package/dist/apps/metadata.js +10 -0
  132. package/dist/apps/metadata.js.map +1 -1
  133. package/dist/apps/mpp/App.d.ts +44 -44
  134. package/dist/cloudflare.d.ts +50 -0
  135. package/dist/cloudflare.d.ts.map +1 -1
  136. package/dist/cloudflare.js +178 -0
  137. package/dist/cloudflare.js.map +1 -1
  138. package/dist/db/Db.d.ts +2 -0
  139. package/dist/db/Db.d.ts.map +1 -1
  140. package/dist/db/Db.js +45 -0
  141. package/dist/db/Db.js.map +1 -1
  142. package/dist/db/Schema.d.ts +12 -0
  143. package/dist/db/Schema.d.ts.map +1 -1
  144. package/dist/db/Schema.js +20 -0
  145. package/dist/db/Schema.js.map +1 -1
  146. package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
  147. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  148. package/dist/db/tables/fundingDepositAddresses.js +12 -0
  149. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  150. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  151. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  152. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  153. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  154. package/dist/db/tables/fundingDeposits.d.ts +74 -1
  155. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  156. package/dist/db/tables/fundingDeposits.js +126 -0
  157. package/dist/db/tables/fundingDeposits.js.map +1 -1
  158. package/dist/internal/Auth.d.ts +15 -11
  159. package/dist/internal/Auth.d.ts.map +1 -1
  160. package/dist/internal/Auth.js +52 -17
  161. package/dist/internal/Auth.js.map +1 -1
  162. package/dist/internal/Cache.js +1 -1
  163. package/dist/internal/Cache.js.map +1 -1
  164. package/dist/internal/EdgeCache.d.ts +2 -2
  165. package/dist/internal/EdgeCache.d.ts.map +1 -1
  166. package/dist/internal/EdgeCache.js +10 -4
  167. package/dist/internal/EdgeCache.js.map +1 -1
  168. package/dist/internal/IpAllowlist.d.ts +15 -0
  169. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  170. package/dist/internal/IpAllowlist.js +27 -0
  171. package/dist/internal/IpAllowlist.js.map +1 -0
  172. package/dist/internal/OpenApi.d.ts +1 -1
  173. package/dist/internal/OpenApi.js +1 -1
  174. package/dist/internal/OpenApi.js.map +1 -1
  175. package/dist/internal/Tidx.d.ts +6 -0
  176. package/dist/internal/Tidx.d.ts.map +1 -1
  177. package/dist/internal/Tidx.js +13 -3
  178. package/dist/internal/Tidx.js.map +1 -1
  179. package/dist/internal/Viem.d.ts +8 -0
  180. package/dist/internal/Viem.d.ts.map +1 -1
  181. package/dist/internal/Viem.js +12 -5
  182. package/dist/internal/Viem.js.map +1 -1
  183. package/dist/internal/funding/Deposit.d.ts +42 -0
  184. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  185. package/dist/internal/funding/Deposit.js +37 -5
  186. package/dist/internal/funding/Deposit.js.map +1 -1
  187. package/dist/internal/funding/Evidence.d.ts +1 -5
  188. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  189. package/dist/internal/funding/Evidence.js +4 -3
  190. package/dist/internal/funding/Evidence.js.map +1 -1
  191. package/dist/internal/funding/Provider.d.ts +102 -0
  192. package/dist/internal/funding/Provider.d.ts.map +1 -1
  193. package/dist/internal/funding/Provider.js +5 -0
  194. package/dist/internal/funding/Provider.js.map +1 -1
  195. package/dist/internal/funding/Reconciliation.d.ts +16 -2
  196. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  197. package/dist/internal/funding/Reconciliation.js +348 -54
  198. package/dist/internal/funding/Reconciliation.js.map +1 -1
  199. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  200. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  201. package/dist/internal/funding/SourceObservation.js +143 -0
  202. package/dist/internal/funding/SourceObservation.js.map +1 -0
  203. package/dist/internal/funding/Subsidy.d.ts +2 -2
  204. package/dist/internal/funding/Subsidy.d.ts.map +1 -1
  205. package/dist/internal/funding/Subsidy.js +1 -1
  206. package/dist/internal/funding/Subsidy.js.map +1 -1
  207. package/dist/internal/funding/index.d.ts +1 -0
  208. package/dist/internal/funding/index.d.ts.map +1 -1
  209. package/dist/internal/funding/index.js +1 -0
  210. package/dist/internal/funding/index.js.map +1 -1
  211. package/dist/internal/funding/providers/relay.d.ts +43 -1
  212. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  213. package/dist/internal/funding/providers/relay.js +438 -27
  214. package/dist/internal/funding/providers/relay.js.map +1 -1
  215. package/package.json +3 -3
  216. package/src/ApiKey.test.ts +35 -0
  217. package/src/ApiKey.ts +27 -0
  218. package/src/ApiKeys.test.ts +29 -0
  219. package/src/ApiKeys.ts +11 -3
  220. package/src/App.test.ts +55 -5
  221. package/src/App.ts +79 -5
  222. package/src/Client.test-d.ts +203 -28
  223. package/src/admin/apps/api-keys.test.ts +25 -1
  224. package/src/admin/apps/api-keys.ts +6 -2
  225. package/src/admin/ui.generated.ts +67 -67
  226. package/src/analytics/Analytics.ts +4 -0
  227. package/src/apps/composition.test.ts +130 -3
  228. package/src/apps/data/App.test.ts +0 -12
  229. package/src/apps/data/App.ts +4 -8
  230. package/src/apps/data/routes/balances.test.ts +42 -0
  231. package/src/apps/data/routes/balances.ts +218 -85
  232. package/src/apps/data/routes/earn.test.ts +363 -0
  233. package/src/apps/data/routes/earn.ts +1141 -3
  234. package/src/apps/data/routes/indexer.ts +2 -1
  235. package/src/apps/data/routes/rpc.ts +2 -0
  236. package/src/apps/data/routes/tokens.test.ts +6 -8
  237. package/src/apps/funding/Access.ts +26 -0
  238. package/src/apps/funding/App.test.ts +78 -0
  239. package/src/apps/funding/App.ts +78 -0
  240. package/src/apps/funding/Inventory.ts +30 -0
  241. package/src/apps/funding/ProviderAttempts.ts +26 -0
  242. package/src/apps/funding/index.ts +1 -0
  243. package/src/apps/funding/routes/chains.test.ts +78 -0
  244. package/src/apps/funding/routes/chains.ts +101 -0
  245. package/src/apps/funding/routes/deposit-addresses.test.ts +1649 -0
  246. package/src/apps/funding/routes/deposit-addresses.ts +932 -0
  247. package/src/apps/funding/routes/providers.test.ts +165 -0
  248. package/src/apps/funding/routes/providers.ts +73 -0
  249. package/src/apps/funding/routes/quotes.test.ts +511 -0
  250. package/src/apps/funding/routes/quotes.ts +205 -0
  251. package/src/apps/funding/routes/transfers.test.ts +1236 -0
  252. package/src/apps/funding/routes/transfers.ts +704 -0
  253. package/src/apps/index.ts +1 -0
  254. package/src/apps/management/routes/api-keys.test.ts +98 -0
  255. package/src/apps/management/routes/api-keys.ts +96 -1
  256. package/src/apps/mcp.test.ts +17 -2
  257. package/src/apps/mcp.ts +18 -13
  258. package/src/apps/metadata.ts +12 -0
  259. package/src/apps/mpp/internal/Policy.test.ts +7 -1
  260. package/src/cloudflare.ts +279 -0
  261. package/src/db/Db.ts +71 -0
  262. package/src/db/Schema.ts +24 -0
  263. package/src/db/tables/fundingDepositAddresses.ts +28 -0
  264. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  265. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  266. package/src/db/tables/fundingDeposits.test.ts +239 -0
  267. package/src/db/tables/fundingDeposits.ts +214 -1
  268. package/src/internal/Auth.test.ts +205 -5
  269. package/src/internal/Auth.ts +63 -19
  270. package/src/internal/Cache.test.ts +37 -3
  271. package/src/internal/Cache.ts +1 -1
  272. package/src/internal/EdgeCache.test.ts +7 -7
  273. package/src/internal/EdgeCache.ts +13 -4
  274. package/src/internal/IpAllowlist.test.ts +52 -0
  275. package/src/internal/IpAllowlist.ts +39 -0
  276. package/src/internal/Log.test.ts +7 -1
  277. package/src/internal/OpenApi.ts +1 -1
  278. package/src/internal/Tidx.test.ts +28 -0
  279. package/src/internal/Tidx.ts +19 -3
  280. package/src/internal/Viem.test.ts +28 -0
  281. package/src/internal/Viem.ts +21 -5
  282. package/src/internal/funding/Deposit.ts +74 -5
  283. package/src/internal/funding/Evidence.test.ts +2 -2
  284. package/src/internal/funding/Evidence.ts +4 -9
  285. package/src/internal/funding/Provider.ts +115 -0
  286. package/src/internal/funding/Reconciliation.local.test.ts +7 -0
  287. package/src/internal/funding/Reconciliation.test.ts +1364 -109
  288. package/src/internal/funding/Reconciliation.ts +467 -88
  289. package/src/internal/funding/SourceObservation.test.ts +301 -0
  290. package/src/internal/funding/SourceObservation.ts +267 -0
  291. package/src/internal/funding/Subsidy.ts +2 -2
  292. package/src/internal/funding/index.test.ts +1 -0
  293. package/src/internal/funding/index.ts +1 -0
  294. package/src/internal/funding/providers/relay.test.ts +94 -4
  295. package/src/internal/funding/providers/relay.ts +533 -27
  296. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  297. package/dist/apps/data/routes/funding.js +0 -1557
  298. package/dist/apps/data/routes/funding.js.map +0 -1
  299. package/src/apps/data/routes/funding.test.ts +0 -2994
  300. package/src/apps/data/routes/funding.ts +0 -1821
@@ -178,7 +178,7 @@ export declare function management(options?: management.Options): import("hono/h
178
178
  } | {
179
179
  output: {
180
180
  error: {
181
- code: "api_key_forbidden";
181
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
182
182
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
183
183
  message: string;
184
184
  };
@@ -460,7 +460,7 @@ export declare function management(options?: management.Options): import("hono/h
460
460
  } | {
461
461
  output: {
462
462
  error: {
463
- code: "api_key_forbidden";
463
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
464
464
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
465
465
  message: string;
466
466
  };
@@ -727,7 +727,7 @@ export declare function management(options?: management.Options): import("hono/h
727
727
  } | {
728
728
  output: {
729
729
  error: {
730
- code: "api_key_forbidden";
730
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
731
731
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
732
732
  message: string;
733
733
  };
@@ -934,7 +934,7 @@ export declare function management(options?: management.Options): import("hono/h
934
934
  } | {
935
935
  output: {
936
936
  error: {
937
- code: "api_key_forbidden";
937
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
938
938
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
939
939
  message: string;
940
940
  };
@@ -1077,7 +1077,7 @@ export declare function management(options?: management.Options): import("hono/h
1077
1077
  } | {
1078
1078
  output: {
1079
1079
  error: {
1080
- code: "api_key_forbidden";
1080
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1081
1081
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1082
1082
  message: string;
1083
1083
  };
@@ -1303,7 +1303,7 @@ export declare function management(options?: management.Options): import("hono/h
1303
1303
  } | {
1304
1304
  output: {
1305
1305
  error: {
1306
- code: "api_key_forbidden";
1306
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1307
1307
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1308
1308
  message: string;
1309
1309
  };
@@ -2074,6 +2074,7 @@ export declare function management(options?: management.Options): import("hono/h
2074
2074
  };
2075
2075
  } & {
2076
2076
  json: {
2077
+ allowedIps?: readonly string[] | undefined;
2077
2078
  environment?: "production" | "sandbox" | undefined;
2078
2079
  name?: string | undefined;
2079
2080
  scopes?: string[] | undefined;
@@ -2097,6 +2098,7 @@ export declare function management(options?: management.Options): import("hono/h
2097
2098
  };
2098
2099
  } & {
2099
2100
  json: {
2101
+ allowedIps?: readonly string[] | undefined;
2100
2102
  environment?: "production" | "sandbox" | undefined;
2101
2103
  name?: string | undefined;
2102
2104
  scopes?: string[] | undefined;
@@ -2120,6 +2122,7 @@ export declare function management(options?: management.Options): import("hono/h
2120
2122
  };
2121
2123
  } & {
2122
2124
  json: {
2125
+ allowedIps?: readonly string[] | undefined;
2123
2126
  environment?: "production" | "sandbox" | undefined;
2124
2127
  name?: string | undefined;
2125
2128
  scopes?: string[] | undefined;
@@ -2143,6 +2146,7 @@ export declare function management(options?: management.Options): import("hono/h
2143
2146
  };
2144
2147
  } & {
2145
2148
  json: {
2149
+ allowedIps?: readonly string[] | undefined;
2146
2150
  environment?: "production" | "sandbox" | undefined;
2147
2151
  name?: string | undefined;
2148
2152
  scopes?: string[] | undefined;
@@ -2166,6 +2170,7 @@ export declare function management(options?: management.Options): import("hono/h
2166
2170
  };
2167
2171
  } & {
2168
2172
  json: {
2173
+ allowedIps?: readonly string[] | undefined;
2169
2174
  environment?: "production" | "sandbox" | undefined;
2170
2175
  name?: string | undefined;
2171
2176
  scopes?: string[] | undefined;
@@ -2189,6 +2194,7 @@ export declare function management(options?: management.Options): import("hono/h
2189
2194
  };
2190
2195
  } & {
2191
2196
  json: {
2197
+ allowedIps?: readonly string[] | undefined;
2192
2198
  environment?: "production" | "sandbox" | undefined;
2193
2199
  name?: string | undefined;
2194
2200
  scopes?: string[] | undefined;
@@ -2212,6 +2218,7 @@ export declare function management(options?: management.Options): import("hono/h
2212
2218
  };
2213
2219
  } & {
2214
2220
  json: {
2221
+ allowedIps?: readonly string[] | undefined;
2215
2222
  environment?: "production" | "sandbox" | undefined;
2216
2223
  name?: string | undefined;
2217
2224
  scopes?: string[] | undefined;
@@ -2235,6 +2242,7 @@ export declare function management(options?: management.Options): import("hono/h
2235
2242
  };
2236
2243
  } & {
2237
2244
  json: {
2245
+ allowedIps?: readonly string[] | undefined;
2238
2246
  environment?: "production" | "sandbox" | undefined;
2239
2247
  name?: string | undefined;
2240
2248
  scopes?: string[] | undefined;
@@ -2258,6 +2266,7 @@ export declare function management(options?: management.Options): import("hono/h
2258
2266
  };
2259
2267
  } & {
2260
2268
  json: {
2269
+ allowedIps?: readonly string[] | undefined;
2261
2270
  environment?: "production" | "sandbox" | undefined;
2262
2271
  name?: string | undefined;
2263
2272
  scopes?: string[] | undefined;
@@ -2265,6 +2274,7 @@ export declare function management(options?: management.Options): import("hono/h
2265
2274
  };
2266
2275
  } | {
2267
2276
  output: {
2277
+ allowedIps: readonly string[];
2268
2278
  createdAt: string;
2269
2279
  createdBy?: string | undefined;
2270
2280
  environment: "production" | "sandbox";
@@ -2287,6 +2297,7 @@ export declare function management(options?: management.Options): import("hono/h
2287
2297
  };
2288
2298
  } & {
2289
2299
  json: {
2300
+ allowedIps?: readonly string[] | undefined;
2290
2301
  environment?: "production" | "sandbox" | undefined;
2291
2302
  name?: string | undefined;
2292
2303
  scopes?: string[] | undefined;
@@ -2341,7 +2352,7 @@ export declare function management(options?: management.Options): import("hono/h
2341
2352
  } | {
2342
2353
  output: {
2343
2354
  error: {
2344
- code: "api_key_forbidden";
2355
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2345
2356
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2346
2357
  message: string;
2347
2358
  };
@@ -2488,6 +2499,7 @@ export declare function management(options?: management.Options): import("hono/h
2488
2499
  } | {
2489
2500
  output: {
2490
2501
  data: {
2502
+ allowedIps: readonly string[];
2491
2503
  createdAt: string;
2492
2504
  createdBy?: string | undefined;
2493
2505
  environment: "production" | "sandbox";
@@ -2560,7 +2572,7 @@ export declare function management(options?: management.Options): import("hono/h
2560
2572
  } | {
2561
2573
  output: {
2562
2574
  error: {
2563
- code: "api_key_forbidden";
2575
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2564
2576
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2565
2577
  message: string;
2566
2578
  };
@@ -2700,6 +2712,7 @@ export declare function management(options?: management.Options): import("hono/h
2700
2712
  } | {
2701
2713
  output: {
2702
2714
  data: {
2715
+ allowedIps: readonly string[];
2703
2716
  createdAt: string;
2704
2717
  createdBy?: string | undefined;
2705
2718
  environment: "production" | "sandbox";
@@ -2726,6 +2739,258 @@ export declare function management(options?: management.Options): import("hono/h
2726
2739
  };
2727
2740
  };
2728
2741
  };
2742
+ } & {
2743
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
2744
+ $patch: {
2745
+ output: {
2746
+ error: {
2747
+ code: "api_key_malformed";
2748
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2749
+ message: string;
2750
+ };
2751
+ requestId: string;
2752
+ };
2753
+ outputFormat: "json";
2754
+ status: 400;
2755
+ input: {
2756
+ param: {
2757
+ keyId: string;
2758
+ orgId: string;
2759
+ projectId: string;
2760
+ };
2761
+ } & {
2762
+ json: {
2763
+ allowedIps: readonly string[];
2764
+ };
2765
+ };
2766
+ } | {
2767
+ output: {
2768
+ error: {
2769
+ code: "api_key_invalid" | "api_key_missing";
2770
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2771
+ message: string;
2772
+ };
2773
+ requestId: string;
2774
+ };
2775
+ outputFormat: "json";
2776
+ status: 401;
2777
+ input: {
2778
+ param: {
2779
+ keyId: string;
2780
+ orgId: string;
2781
+ projectId: string;
2782
+ };
2783
+ } & {
2784
+ json: {
2785
+ allowedIps: readonly string[];
2786
+ };
2787
+ };
2788
+ } | {
2789
+ output: {
2790
+ error: {
2791
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2792
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2793
+ message: string;
2794
+ };
2795
+ requestId: string;
2796
+ };
2797
+ outputFormat: "json";
2798
+ status: 403;
2799
+ input: {
2800
+ param: {
2801
+ keyId: string;
2802
+ orgId: string;
2803
+ projectId: string;
2804
+ };
2805
+ } & {
2806
+ json: {
2807
+ allowedIps: readonly string[];
2808
+ };
2809
+ };
2810
+ } | {
2811
+ output: {
2812
+ error: {
2813
+ code: "payment_required" | "rate_limit_exceeded";
2814
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2815
+ message: string;
2816
+ };
2817
+ requestId: string;
2818
+ };
2819
+ outputFormat: "json";
2820
+ status: 429;
2821
+ input: {
2822
+ param: {
2823
+ keyId: string;
2824
+ orgId: string;
2825
+ projectId: string;
2826
+ };
2827
+ } & {
2828
+ json: {
2829
+ allowedIps: readonly string[];
2830
+ };
2831
+ };
2832
+ } | {
2833
+ output: {
2834
+ error: {
2835
+ code: "upstream_error";
2836
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2837
+ message: string;
2838
+ };
2839
+ requestId: string;
2840
+ };
2841
+ outputFormat: "json";
2842
+ status: 502;
2843
+ input: {
2844
+ param: {
2845
+ keyId: string;
2846
+ orgId: string;
2847
+ projectId: string;
2848
+ };
2849
+ } & {
2850
+ json: {
2851
+ allowedIps: readonly string[];
2852
+ };
2853
+ };
2854
+ } | {
2855
+ output: {
2856
+ error: {
2857
+ code: "body_invalid";
2858
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2859
+ message: string;
2860
+ };
2861
+ requestId: string;
2862
+ };
2863
+ outputFormat: "json";
2864
+ status: 400;
2865
+ input: {
2866
+ param: {
2867
+ keyId: string;
2868
+ orgId: string;
2869
+ projectId: string;
2870
+ };
2871
+ } & {
2872
+ json: {
2873
+ allowedIps: readonly string[];
2874
+ };
2875
+ };
2876
+ } | {
2877
+ output: {
2878
+ error: {
2879
+ code: "param_invalid";
2880
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2881
+ message: string;
2882
+ };
2883
+ requestId: string;
2884
+ };
2885
+ outputFormat: "json";
2886
+ status: 400;
2887
+ input: {
2888
+ param: {
2889
+ keyId: string;
2890
+ orgId: string;
2891
+ projectId: string;
2892
+ };
2893
+ } & {
2894
+ json: {
2895
+ allowedIps: readonly string[];
2896
+ };
2897
+ };
2898
+ } | {
2899
+ output: {
2900
+ error: {
2901
+ code: "organization_not_found" | "project_not_found";
2902
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2903
+ message: string;
2904
+ };
2905
+ requestId: string;
2906
+ };
2907
+ outputFormat: "json";
2908
+ status: 404;
2909
+ input: {
2910
+ param: {
2911
+ keyId: string;
2912
+ orgId: string;
2913
+ projectId: string;
2914
+ };
2915
+ } & {
2916
+ json: {
2917
+ allowedIps: readonly string[];
2918
+ };
2919
+ };
2920
+ } | {
2921
+ output: {
2922
+ error: {
2923
+ code: "api_keys_not_enabled";
2924
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2925
+ message: string;
2926
+ };
2927
+ requestId: string;
2928
+ };
2929
+ outputFormat: "json";
2930
+ status: 404;
2931
+ input: {
2932
+ param: {
2933
+ keyId: string;
2934
+ orgId: string;
2935
+ projectId: string;
2936
+ };
2937
+ } & {
2938
+ json: {
2939
+ allowedIps: readonly string[];
2940
+ };
2941
+ };
2942
+ } | {
2943
+ output: {
2944
+ error: {
2945
+ code: "api_key_not_found";
2946
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2947
+ message: string;
2948
+ };
2949
+ requestId: string;
2950
+ };
2951
+ outputFormat: "json";
2952
+ status: 404;
2953
+ input: {
2954
+ param: {
2955
+ keyId: string;
2956
+ orgId: string;
2957
+ projectId: string;
2958
+ };
2959
+ } & {
2960
+ json: {
2961
+ allowedIps: readonly string[];
2962
+ };
2963
+ };
2964
+ } | {
2965
+ output: {
2966
+ allowedIps: readonly string[];
2967
+ createdAt: string;
2968
+ createdBy?: string | undefined;
2969
+ environment: "production" | "sandbox";
2970
+ expiresAt?: string | undefined;
2971
+ id: string;
2972
+ lastUsedAt?: string | undefined;
2973
+ name?: string | undefined;
2974
+ orgId: string;
2975
+ projectId?: string | undefined;
2976
+ scopes: string[];
2977
+ tokenLast4: string;
2978
+ };
2979
+ outputFormat: "json";
2980
+ status: 200;
2981
+ input: {
2982
+ param: {
2983
+ keyId: string;
2984
+ orgId: string;
2985
+ projectId: string;
2986
+ };
2987
+ } & {
2988
+ json: {
2989
+ allowedIps: readonly string[];
2990
+ };
2991
+ };
2992
+ };
2993
+ };
2729
2994
  } & {
2730
2995
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
2731
2996
  $delete: {
@@ -2767,7 +3032,7 @@ export declare function management(options?: management.Options): import("hono/h
2767
3032
  } | {
2768
3033
  output: {
2769
3034
  error: {
2770
- code: "api_key_forbidden";
3035
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2771
3036
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2772
3037
  message: string;
2773
3038
  };
@@ -2934,7 +3199,7 @@ export declare function management(options?: management.Options): import("hono/h
2934
3199
  } | {
2935
3200
  output: {
2936
3201
  error: {
2937
- code: "api_key_forbidden";
3202
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2938
3203
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2939
3204
  message: string;
2940
3205
  };
@@ -3118,7 +3383,7 @@ export declare function management(options?: management.Options): import("hono/h
3118
3383
  } | {
3119
3384
  output: {
3120
3385
  error: {
3121
- code: "api_key_forbidden";
3386
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3122
3387
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3123
3388
  message: string;
3124
3389
  };
@@ -3241,7 +3506,7 @@ export declare function management(options?: management.Options): import("hono/h
3241
3506
  } | {
3242
3507
  output: {
3243
3508
  error: {
3244
- code: "api_key_forbidden";
3509
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3245
3510
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3246
3511
  message: string;
3247
3512
  };
@@ -3416,7 +3681,7 @@ export declare function management(options?: management.Options): import("hono/h
3416
3681
  } | {
3417
3682
  output: {
3418
3683
  error: {
3419
- code: "api_key_forbidden";
3684
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3420
3685
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3421
3686
  message: string;
3422
3687
  };
@@ -3559,7 +3824,7 @@ export declare function management(options?: management.Options): import("hono/h
3559
3824
  } | {
3560
3825
  output: {
3561
3826
  error: {
3562
- code: "api_key_forbidden";
3827
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3563
3828
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3564
3829
  message: string;
3565
3830
  };
@@ -3701,7 +3966,7 @@ export declare function management(options?: management.Options): import("hono/h
3701
3966
  } | {
3702
3967
  output: {
3703
3968
  error: {
3704
- code: "api_key_forbidden";
3969
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3705
3970
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3706
3971
  message: string;
3707
3972
  };
@@ -3879,7 +4144,7 @@ export declare function management(options?: management.Options): import("hono/h
3879
4144
  } | {
3880
4145
  output: {
3881
4146
  error: {
3882
- code: "api_key_forbidden";
4147
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3883
4148
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3884
4149
  message: string;
3885
4150
  };
@@ -4010,7 +4275,7 @@ export declare function management(options?: management.Options): import("hono/h
4010
4275
  } | {
4011
4276
  output: {
4012
4277
  error: {
4013
- code: "api_key_forbidden";
4278
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4014
4279
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4015
4280
  message: string;
4016
4281
  };
@@ -4195,7 +4460,7 @@ export declare function management(options?: management.Options): import("hono/h
4195
4460
  } | {
4196
4461
  output: {
4197
4462
  error: {
4198
- code: "api_key_forbidden";
4463
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4199
4464
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4200
4465
  message: string;
4201
4466
  };
@@ -4338,7 +4603,7 @@ export declare function management(options?: management.Options): import("hono/h
4338
4603
  } | {
4339
4604
  output: {
4340
4605
  error: {
4341
- code: "api_key_forbidden";
4606
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4342
4607
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4343
4608
  message: string;
4344
4609
  };
@@ -4543,7 +4808,7 @@ export declare function management(options?: management.Options): import("hono/h
4543
4808
  } | {
4544
4809
  output: {
4545
4810
  error: {
4546
- code: "api_key_forbidden";
4811
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4547
4812
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4548
4813
  message: string;
4549
4814
  };
@@ -4680,7 +4945,7 @@ export declare function management(options?: management.Options): import("hono/h
4680
4945
  } | {
4681
4946
  output: {
4682
4947
  error: {
4683
- code: "api_key_forbidden";
4948
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4684
4949
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4685
4950
  message: string;
4686
4951
  };
@@ -5130,7 +5395,7 @@ export declare function management(options?: management.Options): import("hono/h
5130
5395
  } | {
5131
5396
  output: {
5132
5397
  error: {
5133
- code: "api_key_forbidden";
5398
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5134
5399
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5135
5400
  message: string;
5136
5401
  };
@@ -5349,7 +5614,7 @@ export declare function management(options?: management.Options): import("hono/h
5349
5614
  } | {
5350
5615
  output: {
5351
5616
  error: {
5352
- code: "api_key_forbidden";
5617
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5353
5618
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5354
5619
  message: string;
5355
5620
  };
@@ -5660,7 +5925,7 @@ export declare function management(options?: management.Options): import("hono/h
5660
5925
  } | {
5661
5926
  output: {
5662
5927
  error: {
5663
- code: "api_key_forbidden";
5928
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5664
5929
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5665
5930
  message: string;
5666
5931
  };
@@ -5899,7 +6164,7 @@ export declare function management(options?: management.Options): import("hono/h
5899
6164
  } | {
5900
6165
  output: {
5901
6166
  error: {
5902
- code: "api_key_forbidden";
6167
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5903
6168
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5904
6169
  message: string;
5905
6170
  };
@@ -6118,7 +6383,7 @@ export declare function management(options?: management.Options): import("hono/h
6118
6383
  } | {
6119
6384
  output: {
6120
6385
  error: {
6121
- code: "api_key_forbidden";
6386
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
6122
6387
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6123
6388
  message: string;
6124
6389
  };
@@ -6331,7 +6596,7 @@ export declare function management(options?: management.Options): import("hono/h
6331
6596
  } | {
6332
6597
  output: {
6333
6598
  error: {
6334
- code: "api_key_forbidden";
6599
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
6335
6600
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6336
6601
  message: string;
6337
6602
  };
@@ -8649,14 +8914,14 @@ export declare function management(options?: management.Options): import("hono/h
8649
8914
  } | {
8650
8915
  output: {
8651
8916
  error: {
8652
- code: "webhooks_not_enabled";
8917
+ code: "body_invalid";
8653
8918
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
8654
8919
  message: string;
8655
8920
  };
8656
8921
  requestId: string;
8657
8922
  };
8658
8923
  outputFormat: "json";
8659
- status: 404;
8924
+ status: 400;
8660
8925
  input: {
8661
8926
  param: {
8662
8927
  orgId: string;
@@ -8995,7 +9260,7 @@ export declare function management(options?: management.Options): import("hono/h
8995
9260
  } | {
8996
9261
  output: {
8997
9262
  error: {
8998
- code: "body_invalid";
9263
+ code: "chain_id_unsupported";
8999
9264
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
9000
9265
  message: string;
9001
9266
  };
@@ -9341,7 +9606,7 @@ export declare function management(options?: management.Options): import("hono/h
9341
9606
  } | {
9342
9607
  output: {
9343
9608
  error: {
9344
- code: "chain_id_unsupported";
9609
+ code: "param_invalid";
9345
9610
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
9346
9611
  message: string;
9347
9612
  };
@@ -9687,14 +9952,14 @@ export declare function management(options?: management.Options): import("hono/h
9687
9952
  } | {
9688
9953
  output: {
9689
9954
  error: {
9690
- code: "url_invalid";
9955
+ code: "organization_not_found";
9691
9956
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
9692
9957
  message: string;
9693
9958
  };
9694
9959
  requestId: string;
9695
9960
  };
9696
9961
  outputFormat: "json";
9697
- status: 400;
9962
+ status: 404;
9698
9963
  input: {
9699
9964
  param: {
9700
9965
  orgId: string;
@@ -10033,14 +10298,14 @@ export declare function management(options?: management.Options): import("hono/h
10033
10298
  } | {
10034
10299
  output: {
10035
10300
  error: {
10036
- code: "filters_invalid";
10301
+ code: "forbidden";
10037
10302
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
10038
10303
  message: string;
10039
10304
  };
10040
10305
  requestId: string;
10041
10306
  };
10042
10307
  outputFormat: "json";
10043
- status: 400;
10308
+ status: 403;
10044
10309
  input: {
10045
10310
  param: {
10046
10311
  orgId: string;
@@ -10379,14 +10644,14 @@ export declare function management(options?: management.Options): import("hono/h
10379
10644
  } | {
10380
10645
  output: {
10381
10646
  error: {
10382
- code: "limit_exceeded";
10647
+ code: "webhooks_not_enabled";
10383
10648
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
10384
10649
  message: string;
10385
10650
  };
10386
10651
  requestId: string;
10387
10652
  };
10388
10653
  outputFormat: "json";
10389
- status: 403;
10654
+ status: 404;
10390
10655
  input: {
10391
10656
  param: {
10392
10657
  orgId: string;
@@ -10725,7 +10990,7 @@ export declare function management(options?: management.Options): import("hono/h
10725
10990
  } | {
10726
10991
  output: {
10727
10992
  error: {
10728
- code: "param_invalid";
10993
+ code: "url_invalid";
10729
10994
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
10730
10995
  message: string;
10731
10996
  };
@@ -11071,14 +11336,14 @@ export declare function management(options?: management.Options): import("hono/h
11071
11336
  } | {
11072
11337
  output: {
11073
11338
  error: {
11074
- code: "organization_not_found";
11339
+ code: "filters_invalid";
11075
11340
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
11076
11341
  message: string;
11077
11342
  };
11078
11343
  requestId: string;
11079
11344
  };
11080
11345
  outputFormat: "json";
11081
- status: 404;
11346
+ status: 400;
11082
11347
  input: {
11083
11348
  param: {
11084
11349
  orgId: string;
@@ -11417,7 +11682,7 @@ export declare function management(options?: management.Options): import("hono/h
11417
11682
  } | {
11418
11683
  output: {
11419
11684
  error: {
11420
- code: "forbidden";
11685
+ code: "limit_exceeded";
11421
11686
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
11422
11687
  message: string;
11423
11688
  };
@@ -12228,14 +12493,14 @@ export declare function management(options?: management.Options): import("hono/h
12228
12493
  } | {
12229
12494
  output: {
12230
12495
  error: {
12231
- code: "webhooks_not_enabled";
12496
+ code: "param_invalid";
12232
12497
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12233
12498
  message: string;
12234
12499
  };
12235
12500
  requestId: string;
12236
12501
  };
12237
12502
  outputFormat: "json";
12238
- status: 404;
12503
+ status: 400;
12239
12504
  input: {
12240
12505
  param: {
12241
12506
  orgId: string;
@@ -12244,14 +12509,14 @@ export declare function management(options?: management.Options): import("hono/h
12244
12509
  } | {
12245
12510
  output: {
12246
12511
  error: {
12247
- code: "param_invalid";
12512
+ code: "organization_not_found";
12248
12513
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12249
12514
  message: string;
12250
12515
  };
12251
12516
  requestId: string;
12252
12517
  };
12253
12518
  outputFormat: "json";
12254
- status: 400;
12519
+ status: 404;
12255
12520
  input: {
12256
12521
  param: {
12257
12522
  orgId: string;
@@ -12260,14 +12525,14 @@ export declare function management(options?: management.Options): import("hono/h
12260
12525
  } | {
12261
12526
  output: {
12262
12527
  error: {
12263
- code: "organization_not_found";
12528
+ code: "forbidden";
12264
12529
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12265
12530
  message: string;
12266
12531
  };
12267
12532
  requestId: string;
12268
12533
  };
12269
12534
  outputFormat: "json";
12270
- status: 404;
12535
+ status: 403;
12271
12536
  input: {
12272
12537
  param: {
12273
12538
  orgId: string;
@@ -12276,14 +12541,14 @@ export declare function management(options?: management.Options): import("hono/h
12276
12541
  } | {
12277
12542
  output: {
12278
12543
  error: {
12279
- code: "forbidden";
12544
+ code: "webhooks_not_enabled";
12280
12545
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12281
12546
  message: string;
12282
12547
  };
12283
12548
  requestId: string;
12284
12549
  };
12285
12550
  outputFormat: "json";
12286
- status: 403;
12551
+ status: 404;
12287
12552
  input: {
12288
12553
  param: {
12289
12554
  orgId: string;
@@ -12434,14 +12699,14 @@ export declare function management(options?: management.Options): import("hono/h
12434
12699
  } | {
12435
12700
  output: {
12436
12701
  error: {
12437
- code: "webhooks_not_enabled";
12702
+ code: "param_invalid";
12438
12703
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12439
12704
  message: string;
12440
12705
  };
12441
12706
  requestId: string;
12442
12707
  };
12443
12708
  outputFormat: "json";
12444
- status: 404;
12709
+ status: 400;
12445
12710
  input: {
12446
12711
  param: {
12447
12712
  id: string;
@@ -12458,14 +12723,14 @@ export declare function management(options?: management.Options): import("hono/h
12458
12723
  } | {
12459
12724
  output: {
12460
12725
  error: {
12461
- code: "param_invalid";
12726
+ code: "organization_not_found";
12462
12727
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12463
12728
  message: string;
12464
12729
  };
12465
12730
  requestId: string;
12466
12731
  };
12467
12732
  outputFormat: "json";
12468
- status: 400;
12733
+ status: 404;
12469
12734
  input: {
12470
12735
  param: {
12471
12736
  id: string;
@@ -12482,14 +12747,14 @@ export declare function management(options?: management.Options): import("hono/h
12482
12747
  } | {
12483
12748
  output: {
12484
12749
  error: {
12485
- code: "webhook_not_found";
12750
+ code: "forbidden";
12486
12751
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12487
12752
  message: string;
12488
12753
  };
12489
12754
  requestId: string;
12490
12755
  };
12491
12756
  outputFormat: "json";
12492
- status: 404;
12757
+ status: 403;
12493
12758
  input: {
12494
12759
  param: {
12495
12760
  id: string;
@@ -12505,26 +12770,15 @@ export declare function management(options?: management.Options): import("hono/h
12505
12770
  };
12506
12771
  } | {
12507
12772
  output: {
12508
- data: {
12509
- attempt: number;
12510
- createdAt: string;
12511
- error?: string | undefined;
12512
- eventId: string;
12513
- id: string;
12514
- requestUrl: string;
12515
- responseMs?: number | undefined;
12516
- responseStatus?: number | undefined;
12517
- status: "failed" | "pending" | "succeeded";
12518
- subscriptionId: string;
12519
- }[];
12520
- meta?: {
12521
- totalCountCapped: boolean;
12522
- totalCount: number;
12523
- } | undefined;
12524
- nextCursor: string | null;
12773
+ error: {
12774
+ code: "webhooks_not_enabled";
12775
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12776
+ message: string;
12777
+ };
12778
+ requestId: string;
12525
12779
  };
12526
12780
  outputFormat: "json";
12527
- status: 200;
12781
+ status: 404;
12528
12782
  input: {
12529
12783
  param: {
12530
12784
  id: string;
@@ -12541,7 +12795,7 @@ export declare function management(options?: management.Options): import("hono/h
12541
12795
  } | {
12542
12796
  output: {
12543
12797
  error: {
12544
- code: "organization_not_found";
12798
+ code: "webhook_not_found";
12545
12799
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12546
12800
  message: string;
12547
12801
  };
@@ -12564,15 +12818,26 @@ export declare function management(options?: management.Options): import("hono/h
12564
12818
  };
12565
12819
  } | {
12566
12820
  output: {
12567
- error: {
12568
- code: "forbidden";
12569
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12570
- message: string;
12571
- };
12572
- requestId: string;
12821
+ data: {
12822
+ attempt: number;
12823
+ createdAt: string;
12824
+ error?: string | undefined;
12825
+ eventId: string;
12826
+ id: string;
12827
+ requestUrl: string;
12828
+ responseMs?: number | undefined;
12829
+ responseStatus?: number | undefined;
12830
+ status: "failed" | "pending" | "succeeded";
12831
+ subscriptionId: string;
12832
+ }[];
12833
+ meta?: {
12834
+ totalCountCapped: boolean;
12835
+ totalCount: number;
12836
+ } | undefined;
12837
+ nextCursor: string | null;
12573
12838
  };
12574
12839
  outputFormat: "json";
12575
- status: 403;
12840
+ status: 200;
12576
12841
  input: {
12577
12842
  param: {
12578
12843
  id: string;
@@ -12647,14 +12912,14 @@ export declare function management(options?: management.Options): import("hono/h
12647
12912
  } | {
12648
12913
  output: {
12649
12914
  error: {
12650
- code: "webhooks_not_enabled";
12915
+ code: "param_invalid";
12651
12916
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12652
12917
  message: string;
12653
12918
  };
12654
12919
  requestId: string;
12655
12920
  };
12656
12921
  outputFormat: "json";
12657
- status: 404;
12922
+ status: 400;
12658
12923
  input: {
12659
12924
  param: {
12660
12925
  deliveryId: string;
@@ -12665,14 +12930,14 @@ export declare function management(options?: management.Options): import("hono/h
12665
12930
  } | {
12666
12931
  output: {
12667
12932
  error: {
12668
- code: "param_invalid";
12933
+ code: "organization_not_found";
12669
12934
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12670
12935
  message: string;
12671
12936
  };
12672
12937
  requestId: string;
12673
12938
  };
12674
12939
  outputFormat: "json";
12675
- status: 400;
12940
+ status: 404;
12676
12941
  input: {
12677
12942
  param: {
12678
12943
  deliveryId: string;
@@ -12683,14 +12948,14 @@ export declare function management(options?: management.Options): import("hono/h
12683
12948
  } | {
12684
12949
  output: {
12685
12950
  error: {
12686
- code: "webhook_not_found";
12951
+ code: "forbidden";
12687
12952
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12688
12953
  message: string;
12689
12954
  };
12690
12955
  requestId: string;
12691
12956
  };
12692
12957
  outputFormat: "json";
12693
- status: 404;
12958
+ status: 403;
12694
12959
  input: {
12695
12960
  param: {
12696
12961
  deliveryId: string;
@@ -12701,7 +12966,7 @@ export declare function management(options?: management.Options): import("hono/h
12701
12966
  } | {
12702
12967
  output: {
12703
12968
  error: {
12704
- code: "delivery_not_found";
12969
+ code: "webhooks_not_enabled";
12705
12970
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12706
12971
  message: string;
12707
12972
  };
@@ -12719,7 +12984,7 @@ export declare function management(options?: management.Options): import("hono/h
12719
12984
  } | {
12720
12985
  output: {
12721
12986
  error: {
12722
- code: "organization_not_found";
12987
+ code: "webhook_not_found";
12723
12988
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12724
12989
  message: string;
12725
12990
  };
@@ -12737,14 +13002,14 @@ export declare function management(options?: management.Options): import("hono/h
12737
13002
  } | {
12738
13003
  output: {
12739
13004
  error: {
12740
- code: "forbidden";
13005
+ code: "delivery_not_found";
12741
13006
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12742
13007
  message: string;
12743
13008
  };
12744
13009
  requestId: string;
12745
13010
  };
12746
13011
  outputFormat: "json";
12747
- status: 403;
13012
+ status: 404;
12748
13013
  input: {
12749
13014
  param: {
12750
13015
  deliveryId: string;
@@ -13132,14 +13397,14 @@ export declare function management(options?: management.Options): import("hono/h
13132
13397
  } | {
13133
13398
  output: {
13134
13399
  error: {
13135
- code: "webhooks_not_enabled";
13400
+ code: "param_invalid";
13136
13401
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13137
13402
  message: string;
13138
13403
  };
13139
13404
  requestId: string;
13140
13405
  };
13141
13406
  outputFormat: "json";
13142
- status: 404;
13407
+ status: 400;
13143
13408
  input: {
13144
13409
  param: {
13145
13410
  deliveryId: string;
@@ -13150,14 +13415,14 @@ export declare function management(options?: management.Options): import("hono/h
13150
13415
  } | {
13151
13416
  output: {
13152
13417
  error: {
13153
- code: "param_invalid";
13418
+ code: "organization_not_found";
13154
13419
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13155
13420
  message: string;
13156
13421
  };
13157
13422
  requestId: string;
13158
13423
  };
13159
13424
  outputFormat: "json";
13160
- status: 400;
13425
+ status: 404;
13161
13426
  input: {
13162
13427
  param: {
13163
13428
  deliveryId: string;
@@ -13168,14 +13433,14 @@ export declare function management(options?: management.Options): import("hono/h
13168
13433
  } | {
13169
13434
  output: {
13170
13435
  error: {
13171
- code: "webhook_not_found";
13436
+ code: "forbidden";
13172
13437
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13173
13438
  message: string;
13174
13439
  };
13175
13440
  requestId: string;
13176
13441
  };
13177
13442
  outputFormat: "json";
13178
- status: 404;
13443
+ status: 403;
13179
13444
  input: {
13180
13445
  param: {
13181
13446
  deliveryId: string;
@@ -13185,14 +13450,15 @@ export declare function management(options?: management.Options): import("hono/h
13185
13450
  };
13186
13451
  } | {
13187
13452
  output: {
13188
- delivered: boolean;
13189
- error?: string | undefined;
13190
- eventId: string;
13191
- responseMs?: number | undefined;
13192
- responseStatus?: number | undefined;
13453
+ error: {
13454
+ code: "webhooks_not_enabled";
13455
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13456
+ message: string;
13457
+ };
13458
+ requestId: string;
13193
13459
  };
13194
13460
  outputFormat: "json";
13195
- status: 200;
13461
+ status: 404;
13196
13462
  input: {
13197
13463
  param: {
13198
13464
  deliveryId: string;
@@ -13203,7 +13469,7 @@ export declare function management(options?: management.Options): import("hono/h
13203
13469
  } | {
13204
13470
  output: {
13205
13471
  error: {
13206
- code: "delivery_not_found";
13472
+ code: "webhook_not_found";
13207
13473
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13208
13474
  message: string;
13209
13475
  };
@@ -13221,7 +13487,7 @@ export declare function management(options?: management.Options): import("hono/h
13221
13487
  } | {
13222
13488
  output: {
13223
13489
  error: {
13224
- code: "organization_not_found";
13490
+ code: "delivery_not_found";
13225
13491
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13226
13492
  message: string;
13227
13493
  };
@@ -13238,15 +13504,14 @@ export declare function management(options?: management.Options): import("hono/h
13238
13504
  };
13239
13505
  } | {
13240
13506
  output: {
13241
- error: {
13242
- code: "forbidden";
13243
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13244
- message: string;
13245
- };
13246
- requestId: string;
13507
+ delivered: boolean;
13508
+ error?: string | undefined;
13509
+ eventId: string;
13510
+ responseMs?: number | undefined;
13511
+ responseStatus?: number | undefined;
13247
13512
  };
13248
13513
  outputFormat: "json";
13249
- status: 403;
13514
+ status: 200;
13250
13515
  input: {
13251
13516
  param: {
13252
13517
  deliveryId: string;
@@ -13324,14 +13589,14 @@ export declare function management(options?: management.Options): import("hono/h
13324
13589
  } | {
13325
13590
  output: {
13326
13591
  error: {
13327
- code: "webhooks_not_enabled";
13592
+ code: "body_invalid";
13328
13593
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13329
13594
  message: string;
13330
13595
  };
13331
13596
  requestId: string;
13332
13597
  };
13333
13598
  outputFormat: "json";
13334
- status: 404;
13599
+ status: 400;
13335
13600
  input: {
13336
13601
  param: {
13337
13602
  id: string;
@@ -13345,7 +13610,7 @@ export declare function management(options?: management.Options): import("hono/h
13345
13610
  } | {
13346
13611
  output: {
13347
13612
  error: {
13348
- code: "body_invalid";
13613
+ code: "param_invalid";
13349
13614
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13350
13615
  message: string;
13351
13616
  };
@@ -13366,14 +13631,14 @@ export declare function management(options?: management.Options): import("hono/h
13366
13631
  } | {
13367
13632
  output: {
13368
13633
  error: {
13369
- code: "param_invalid";
13634
+ code: "organization_not_found";
13370
13635
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13371
13636
  message: string;
13372
13637
  };
13373
13638
  requestId: string;
13374
13639
  };
13375
13640
  outputFormat: "json";
13376
- status: 400;
13641
+ status: 404;
13377
13642
  input: {
13378
13643
  param: {
13379
13644
  id: string;
@@ -13387,14 +13652,14 @@ export declare function management(options?: management.Options): import("hono/h
13387
13652
  } | {
13388
13653
  output: {
13389
13654
  error: {
13390
- code: "webhook_not_found";
13655
+ code: "forbidden";
13391
13656
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13392
13657
  message: string;
13393
13658
  };
13394
13659
  requestId: string;
13395
13660
  };
13396
13661
  outputFormat: "json";
13397
- status: 404;
13662
+ status: 403;
13398
13663
  input: {
13399
13664
  param: {
13400
13665
  id: string;
@@ -13407,39 +13672,15 @@ export declare function management(options?: management.Options): import("hono/h
13407
13672
  };
13408
13673
  } | {
13409
13674
  output: {
13410
- chainId: number;
13411
- context?: {
13412
- description?: string | undefined;
13413
- metadata?: {
13414
- [x: string]: string;
13415
- } | undefined;
13416
- title?: string | undefined;
13417
- } | undefined;
13418
- createdAt: string;
13419
- destination: {
13420
- type: "url";
13421
- url: string;
13422
- } | {
13423
- type: "slack";
13424
- url: "https://hooks.slack.com/…";
13425
- } | {
13426
- token: "[redacted]";
13427
- type: "betterstack";
13428
- url: string;
13429
- };
13430
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
13431
- expiresAt?: string | undefined;
13432
- failureCount: number;
13433
- filters: {
13434
- [x: string]: import("hono/utils/types").JSONValue;
13675
+ error: {
13676
+ code: "webhooks_not_enabled";
13677
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13678
+ message: string;
13435
13679
  };
13436
- id: string;
13437
- lastDeliveryAt?: string | undefined;
13438
- status: "active" | "disabled" | "paused";
13439
- updatedAt: string;
13680
+ requestId: string;
13440
13681
  };
13441
13682
  outputFormat: "json";
13442
- status: 200;
13683
+ status: 404;
13443
13684
  input: {
13444
13685
  param: {
13445
13686
  id: string;
@@ -13453,7 +13694,7 @@ export declare function management(options?: management.Options): import("hono/h
13453
13694
  } | {
13454
13695
  output: {
13455
13696
  error: {
13456
- code: "organization_not_found";
13697
+ code: "webhook_not_found";
13457
13698
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13458
13699
  message: string;
13459
13700
  };
@@ -13473,15 +13714,39 @@ export declare function management(options?: management.Options): import("hono/h
13473
13714
  };
13474
13715
  } | {
13475
13716
  output: {
13476
- error: {
13477
- code: "forbidden";
13478
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13479
- message: string;
13717
+ chainId: number;
13718
+ context?: {
13719
+ description?: string | undefined;
13720
+ metadata?: {
13721
+ [x: string]: string;
13722
+ } | undefined;
13723
+ title?: string | undefined;
13724
+ } | undefined;
13725
+ createdAt: string;
13726
+ destination: {
13727
+ type: "url";
13728
+ url: string;
13729
+ } | {
13730
+ type: "slack";
13731
+ url: "https://hooks.slack.com/…";
13732
+ } | {
13733
+ token: "[redacted]";
13734
+ type: "betterstack";
13735
+ url: string;
13480
13736
  };
13481
- requestId: string;
13737
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
13738
+ expiresAt?: string | undefined;
13739
+ failureCount: number;
13740
+ filters: {
13741
+ [x: string]: import("hono/utils/types").JSONValue;
13742
+ };
13743
+ id: string;
13744
+ lastDeliveryAt?: string | undefined;
13745
+ status: "active" | "disabled" | "paused";
13746
+ updatedAt: string;
13482
13747
  };
13483
13748
  outputFormat: "json";
13484
- status: 403;
13749
+ status: 200;
13485
13750
  input: {
13486
13751
  param: {
13487
13752
  id: string;
@@ -13550,14 +13815,14 @@ export declare function management(options?: management.Options): import("hono/h
13550
13815
  } | {
13551
13816
  output: {
13552
13817
  error: {
13553
- code: "webhooks_not_enabled";
13818
+ code: "param_invalid";
13554
13819
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13555
13820
  message: string;
13556
13821
  };
13557
13822
  requestId: string;
13558
13823
  };
13559
13824
  outputFormat: "json";
13560
- status: 404;
13825
+ status: 400;
13561
13826
  input: {
13562
13827
  param: {
13563
13828
  id: string;
@@ -13567,14 +13832,14 @@ export declare function management(options?: management.Options): import("hono/h
13567
13832
  } | {
13568
13833
  output: {
13569
13834
  error: {
13570
- code: "param_invalid";
13835
+ code: "organization_not_found";
13571
13836
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13572
13837
  message: string;
13573
13838
  };
13574
13839
  requestId: string;
13575
13840
  };
13576
13841
  outputFormat: "json";
13577
- status: 400;
13842
+ status: 404;
13578
13843
  input: {
13579
13844
  param: {
13580
13845
  id: string;
@@ -13584,14 +13849,14 @@ export declare function management(options?: management.Options): import("hono/h
13584
13849
  } | {
13585
13850
  output: {
13586
13851
  error: {
13587
- code: "webhook_not_found";
13852
+ code: "forbidden";
13588
13853
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13589
13854
  message: string;
13590
13855
  };
13591
13856
  requestId: string;
13592
13857
  };
13593
13858
  outputFormat: "json";
13594
- status: 404;
13859
+ status: 403;
13595
13860
  input: {
13596
13861
  param: {
13597
13862
  id: string;
@@ -13601,7 +13866,7 @@ export declare function management(options?: management.Options): import("hono/h
13601
13866
  } | {
13602
13867
  output: {
13603
13868
  error: {
13604
- code: "organization_not_found";
13869
+ code: "webhooks_not_enabled";
13605
13870
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13606
13871
  message: string;
13607
13872
  };
@@ -13618,14 +13883,14 @@ export declare function management(options?: management.Options): import("hono/h
13618
13883
  } | {
13619
13884
  output: {
13620
13885
  error: {
13621
- code: "forbidden";
13886
+ code: "webhook_not_found";
13622
13887
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13623
13888
  message: string;
13624
13889
  };
13625
13890
  requestId: string;
13626
13891
  };
13627
13892
  outputFormat: "json";
13628
- status: 403;
13893
+ status: 404;
13629
13894
  input: {
13630
13895
  param: {
13631
13896
  id: string;