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
@@ -45,6 +45,91 @@ export declare function create(options: create.Options): import("hono/hono-base"
45
45
  };
46
46
  };
47
47
  }, "/scopes"> | import("hono/types").MergeSchemaPath<{
48
+ "/": {
49
+ $get: {
50
+ output: {
51
+ data: {
52
+ createdAt: string;
53
+ createdBy: string;
54
+ entry: string;
55
+ }[];
56
+ };
57
+ outputFormat: "json";
58
+ status: import("hono/utils/http-status").ContentfulStatusCode;
59
+ input: {};
60
+ };
61
+ };
62
+ } & {
63
+ "/": {
64
+ $post: {
65
+ output: {
66
+ error: {
67
+ code: "entry_exists";
68
+ details?: readonly Response.error.Detail[] | undefined;
69
+ message: string;
70
+ };
71
+ requestId: string;
72
+ };
73
+ outputFormat: "json";
74
+ status: 409;
75
+ input: {
76
+ json: {
77
+ entry: string;
78
+ };
79
+ };
80
+ } | {
81
+ output: {
82
+ data: {
83
+ createdAt: string;
84
+ createdBy: string;
85
+ entry: string;
86
+ };
87
+ };
88
+ outputFormat: "json";
89
+ status: import("hono/utils/http-status").ContentfulStatusCode;
90
+ input: {
91
+ json: {
92
+ entry: string;
93
+ };
94
+ };
95
+ };
96
+ };
97
+ } & {
98
+ "/": {
99
+ $delete: {
100
+ output: {
101
+ error: {
102
+ code: "entry_not_found";
103
+ details?: readonly Response.error.Detail[] | undefined;
104
+ message: string;
105
+ };
106
+ requestId: string;
107
+ };
108
+ outputFormat: "json";
109
+ status: 404;
110
+ input: {
111
+ json: {
112
+ entry: string;
113
+ };
114
+ };
115
+ } | {
116
+ output: {
117
+ data: {
118
+ createdAt: string;
119
+ createdBy: string;
120
+ entry: string;
121
+ };
122
+ };
123
+ outputFormat: "json";
124
+ status: import("hono/utils/http-status").ContentfulStatusCode;
125
+ input: {
126
+ json: {
127
+ entry: string;
128
+ };
129
+ };
130
+ };
131
+ };
132
+ }, "/early-access"> | import("hono/types").MergeSchemaPath<{
48
133
  "/backfill": {
49
134
  $post: {
50
135
  output: {
@@ -218,30 +303,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
218
303
  }, "/api-keys"> | import("hono/types").MergeSchemaPath<{
219
304
  "/": {
220
305
  $get: {
221
- output: {
222
- data: {
223
- address: `0x${string}`;
224
- currency: string;
225
- decimals: number;
226
- logoUri?: string | undefined;
227
- name: string;
228
- symbol: string;
229
- id: string;
230
- }[];
231
- version: string | null;
232
- };
233
- outputFormat: "json";
234
- status: import("hono/utils/http-status").ContentfulStatusCode;
235
- input: {
236
- query: {
237
- chainId: string | string[];
238
- };
239
- };
240
- };
241
- };
242
- } & {
243
- "/": {
244
- $post: {
245
306
  output: {
246
307
  error: {
247
308
  code: "upstream_error";
@@ -253,44 +314,59 @@ export declare function create(options: create.Options): import("hono/hono-base"
253
314
  outputFormat: "json";
254
315
  status: 502;
255
316
  input: {
256
- json: {
257
- address: `0x${string}`;
258
- currency: string;
259
- decimals: number;
260
- logoUri?: string | undefined;
261
- name: string;
262
- symbol: string;
263
- chainId: unknown;
264
- logo?: string | undefined;
265
- };
317
+ query?: {
318
+ cursor?: string | string[];
319
+ limit?: string | string[];
320
+ query?: string | string[];
321
+ } | undefined;
266
322
  };
267
323
  } | {
324
+ output: {
325
+ data: {
326
+ createdAt: string;
327
+ createdBy: string | null;
328
+ id: string;
329
+ name: string;
330
+ updatedAt: string;
331
+ userId: string | null;
332
+ memberCount: number;
333
+ projectCount: number;
334
+ }[];
335
+ nextCursor: string | null;
336
+ };
337
+ outputFormat: "json";
338
+ status: 200;
339
+ input: {
340
+ query?: {
341
+ cursor?: string | string[];
342
+ limit?: string | string[];
343
+ query?: string | string[];
344
+ } | undefined;
345
+ };
346
+ };
347
+ };
348
+ } & {
349
+ "/:orgId": {
350
+ $get: {
268
351
  output: {
269
352
  error: {
270
- code: "verified_token_not_found";
353
+ code: "upstream_error";
271
354
  details?: readonly Response.error.Detail[] | undefined;
272
355
  message: string;
273
356
  };
274
357
  requestId: string;
275
358
  };
276
359
  outputFormat: "json";
277
- status: 404;
360
+ status: 502;
278
361
  input: {
279
- json: {
280
- address: `0x${string}`;
281
- currency: string;
282
- decimals: number;
283
- logoUri?: string | undefined;
284
- name: string;
285
- symbol: string;
286
- chainId: unknown;
287
- logo?: string | undefined;
362
+ param: {
363
+ orgId: string;
288
364
  };
289
365
  };
290
366
  } | {
291
367
  output: {
292
368
  error: {
293
- code: "assets_not_enabled";
369
+ code: "not_found";
294
370
  details?: readonly Response.error.Detail[] | undefined;
295
371
  message: string;
296
372
  };
@@ -299,80 +375,627 @@ export declare function create(options: create.Options): import("hono/hono-base"
299
375
  outputFormat: "json";
300
376
  status: 404;
301
377
  input: {
302
- json: {
303
- address: `0x${string}`;
304
- currency: string;
305
- decimals: number;
306
- logoUri?: string | undefined;
307
- name: string;
308
- symbol: string;
309
- chainId: unknown;
310
- logo?: string | undefined;
378
+ param: {
379
+ orgId: string;
311
380
  };
312
381
  };
313
382
  } | {
314
383
  output: {
315
- data: {
316
- address: `0x${string}`;
317
- currency: string;
318
- decimals: number;
319
- logoUri?: string | undefined;
320
- name: string;
321
- symbol: string;
322
- id: string;
384
+ createdAt: string;
385
+ createdBy: string | null;
386
+ id: string;
387
+ name: string;
388
+ updatedAt: string;
389
+ userId: string | null;
390
+ memberCount: number;
391
+ projectCount: number;
392
+ billing: {
393
+ production: {
394
+ settings: {
395
+ currency: "usd";
396
+ period: "month";
397
+ spendLimit: string | null;
398
+ txFeeLimit: string | null;
399
+ updatedAt: string;
400
+ } | null;
401
+ source: {
402
+ status: "active" | "canceled" | "none" | "past_due";
403
+ stripeCustomerId: string;
404
+ updatedAt: string;
405
+ } | null;
406
+ };
407
+ sandbox: {
408
+ settings: {
409
+ currency: "usd";
410
+ period: "month";
411
+ spendLimit: string | null;
412
+ txFeeLimit: string | null;
413
+ updatedAt: string;
414
+ } | null;
415
+ source: {
416
+ status: "active" | "canceled" | "none" | "past_due";
417
+ stripeCustomerId: string;
418
+ updatedAt: string;
419
+ } | null;
420
+ };
323
421
  };
324
- version: string;
325
422
  };
326
423
  outputFormat: "json";
327
- status: import("hono/utils/http-status").ContentfulStatusCode;
424
+ status: 200;
328
425
  input: {
329
- json: {
330
- address: `0x${string}`;
331
- currency: string;
332
- decimals: number;
333
- logoUri?: string | undefined;
334
- name: string;
335
- symbol: string;
336
- chainId: unknown;
337
- logo?: string | undefined;
426
+ param: {
427
+ orgId: string;
338
428
  };
339
429
  };
340
- } | {
430
+ };
431
+ };
432
+ } & {
433
+ "/:orgId/members": {
434
+ $get: {
341
435
  output: {
342
436
  error: {
343
- code: string;
437
+ code: "upstream_error";
344
438
  details?: readonly Response.error.Detail[] | undefined;
345
439
  message: string;
346
440
  };
347
441
  requestId: string;
348
442
  };
349
443
  outputFormat: "json";
350
- status: 400 | 413 | 415;
444
+ status: 502;
351
445
  input: {
352
- json: {
353
- address: `0x${string}`;
354
- currency: string;
355
- decimals: number;
356
- logoUri?: string | undefined;
357
- name: string;
358
- symbol: string;
359
- chainId: unknown;
360
- logo?: string | undefined;
446
+ param: {
447
+ orgId: string;
361
448
  };
449
+ } & {
450
+ query?: {
451
+ cursor?: string | string[];
452
+ limit?: string | string[];
453
+ } | undefined;
362
454
  };
363
455
  } | {
364
456
  output: {
365
457
  error: {
366
- code: "duplicate_address";
458
+ code: "not_found";
367
459
  details?: readonly Response.error.Detail[] | undefined;
368
460
  message: string;
369
461
  };
370
462
  requestId: string;
371
463
  };
372
464
  outputFormat: "json";
373
- status: 409;
465
+ status: 404;
374
466
  input: {
375
- json: {
467
+ param: {
468
+ orgId: string;
469
+ };
470
+ } & {
471
+ query?: {
472
+ cursor?: string | string[];
473
+ limit?: string | string[];
474
+ } | undefined;
475
+ };
476
+ } | {
477
+ output: {
478
+ data: {
479
+ address: string | null;
480
+ createdAt: string;
481
+ email: string | null;
482
+ role: "admin" | "member" | "owner";
483
+ updatedAt: string;
484
+ userId: string;
485
+ }[];
486
+ nextCursor: string | null;
487
+ };
488
+ outputFormat: "json";
489
+ status: 200;
490
+ input: {
491
+ param: {
492
+ orgId: string;
493
+ };
494
+ } & {
495
+ query?: {
496
+ cursor?: string | string[];
497
+ limit?: string | string[];
498
+ } | undefined;
499
+ };
500
+ };
501
+ };
502
+ } & {
503
+ "/:orgId/projects": {
504
+ $get: {
505
+ output: {
506
+ error: {
507
+ code: "upstream_error";
508
+ details?: readonly Response.error.Detail[] | undefined;
509
+ message: string;
510
+ };
511
+ requestId: string;
512
+ };
513
+ outputFormat: "json";
514
+ status: 502;
515
+ input: {
516
+ param: {
517
+ orgId: string;
518
+ };
519
+ } & {
520
+ query?: {
521
+ cursor?: string | string[];
522
+ limit?: string | string[];
523
+ } | undefined;
524
+ };
525
+ } | {
526
+ output: {
527
+ error: {
528
+ code: "not_found";
529
+ details?: readonly Response.error.Detail[] | undefined;
530
+ message: string;
531
+ };
532
+ requestId: string;
533
+ };
534
+ outputFormat: "json";
535
+ status: 404;
536
+ input: {
537
+ param: {
538
+ orgId: string;
539
+ };
540
+ } & {
541
+ query?: {
542
+ cursor?: string | string[];
543
+ limit?: string | string[];
544
+ } | undefined;
545
+ };
546
+ } | {
547
+ output: {
548
+ data: {
549
+ createdAt: string;
550
+ id: string;
551
+ name: string;
552
+ updatedAt: string;
553
+ }[];
554
+ nextCursor: string | null;
555
+ };
556
+ outputFormat: "json";
557
+ status: 200;
558
+ input: {
559
+ param: {
560
+ orgId: string;
561
+ };
562
+ } & {
563
+ query?: {
564
+ cursor?: string | string[];
565
+ limit?: string | string[];
566
+ } | undefined;
567
+ };
568
+ };
569
+ };
570
+ } & {
571
+ "/:orgId/api-keys": {
572
+ $get: {
573
+ output: {
574
+ error: {
575
+ code: "upstream_error";
576
+ details?: readonly Response.error.Detail[] | undefined;
577
+ message: string;
578
+ };
579
+ requestId: string;
580
+ };
581
+ outputFormat: "json";
582
+ status: 502;
583
+ input: {
584
+ param: {
585
+ orgId: string;
586
+ };
587
+ };
588
+ } | {
589
+ output: {
590
+ error: {
591
+ code: "not_found";
592
+ details?: readonly Response.error.Detail[] | undefined;
593
+ message: string;
594
+ };
595
+ requestId: string;
596
+ };
597
+ outputFormat: "json";
598
+ status: 404;
599
+ input: {
600
+ param: {
601
+ orgId: string;
602
+ };
603
+ };
604
+ } | {
605
+ output: {
606
+ data: {
607
+ billingActive?: boolean | undefined;
608
+ environment: "production" | "sandbox";
609
+ id: string;
610
+ name?: string | undefined;
611
+ orgId: string;
612
+ projectId?: string | undefined;
613
+ rateLimits?: {
614
+ [x: string]: {
615
+ perMinute: number;
616
+ };
617
+ } | undefined;
618
+ scopes: readonly string[];
619
+ createdAt: string;
620
+ createdBy?: string | undefined;
621
+ expiresAt?: string | undefined;
622
+ tokenLast4: string;
623
+ }[];
624
+ };
625
+ outputFormat: "json";
626
+ status: 200;
627
+ input: {
628
+ param: {
629
+ orgId: string;
630
+ };
631
+ };
632
+ };
633
+ };
634
+ } & {
635
+ "/:orgId/usage": {
636
+ $get: {
637
+ output: {
638
+ error: {
639
+ code: "upstream_error";
640
+ details?: readonly Response.error.Detail[] | undefined;
641
+ message: string;
642
+ };
643
+ requestId: string;
644
+ };
645
+ outputFormat: "json";
646
+ status: 502;
647
+ input: {
648
+ param: {
649
+ orgId: string;
650
+ };
651
+ } & {
652
+ query?: {
653
+ period?: string | string[];
654
+ } | undefined;
655
+ };
656
+ } | {
657
+ output: {
658
+ error: {
659
+ code: "not_found";
660
+ details?: readonly Response.error.Detail[] | undefined;
661
+ message: string;
662
+ };
663
+ requestId: string;
664
+ };
665
+ outputFormat: "json";
666
+ status: 404;
667
+ input: {
668
+ param: {
669
+ orgId: string;
670
+ };
671
+ } & {
672
+ query?: {
673
+ period?: string | string[];
674
+ } | undefined;
675
+ };
676
+ } | {
677
+ output: {
678
+ byError: {
679
+ code: string;
680
+ requests: number;
681
+ }[];
682
+ byRoute: {
683
+ errors: number;
684
+ requests: number;
685
+ averageDurationMs: number;
686
+ route: string;
687
+ }[];
688
+ byStatus: {
689
+ requests: number;
690
+ status: number;
691
+ }[];
692
+ from: string;
693
+ period: "24h" | "30d" | "7d";
694
+ to: string;
695
+ totals: {
696
+ errors: number;
697
+ requests: number;
698
+ averageDurationMs: number;
699
+ };
700
+ };
701
+ outputFormat: "json";
702
+ status: 200;
703
+ input: {
704
+ param: {
705
+ orgId: string;
706
+ };
707
+ } & {
708
+ query?: {
709
+ period?: string | string[];
710
+ } | undefined;
711
+ };
712
+ };
713
+ };
714
+ } & {
715
+ "/:orgId/sponsorship": {
716
+ $get: {
717
+ output: {
718
+ error: {
719
+ code: "upstream_error";
720
+ details?: readonly Response.error.Detail[] | undefined;
721
+ message: string;
722
+ };
723
+ requestId: string;
724
+ };
725
+ outputFormat: "json";
726
+ status: 502;
727
+ input: {
728
+ param: {
729
+ orgId: string;
730
+ };
731
+ };
732
+ } | {
733
+ output: {
734
+ error: {
735
+ code: "not_found";
736
+ details?: readonly Response.error.Detail[] | undefined;
737
+ message: string;
738
+ };
739
+ requestId: string;
740
+ };
741
+ outputFormat: "json";
742
+ status: 404;
743
+ input: {
744
+ param: {
745
+ orgId: string;
746
+ };
747
+ };
748
+ } | {
749
+ output: {
750
+ production: {
751
+ committedSpend: string;
752
+ currency: "usd";
753
+ from: string;
754
+ period: "month";
755
+ };
756
+ sandbox: {
757
+ committedSpend: string;
758
+ currency: "usd";
759
+ from: string;
760
+ period: "month";
761
+ };
762
+ to: string;
763
+ };
764
+ outputFormat: "json";
765
+ status: 200;
766
+ input: {
767
+ param: {
768
+ orgId: string;
769
+ };
770
+ };
771
+ };
772
+ };
773
+ } & {
774
+ "/:orgId/webhooks": {
775
+ $get: {
776
+ output: {
777
+ error: {
778
+ code: "upstream_error";
779
+ details?: readonly Response.error.Detail[] | undefined;
780
+ message: string;
781
+ };
782
+ requestId: string;
783
+ };
784
+ outputFormat: "json";
785
+ status: 502;
786
+ input: {
787
+ param: {
788
+ orgId: string;
789
+ };
790
+ };
791
+ } | {
792
+ output: {
793
+ error: {
794
+ code: "not_found";
795
+ details?: readonly Response.error.Detail[] | undefined;
796
+ message: string;
797
+ };
798
+ requestId: string;
799
+ };
800
+ outputFormat: "json";
801
+ status: 404;
802
+ input: {
803
+ param: {
804
+ orgId: string;
805
+ };
806
+ };
807
+ } | {
808
+ output: {
809
+ failureCount: number;
810
+ failures: {
811
+ attempt: number;
812
+ createdAt: string;
813
+ error: string | null;
814
+ id: string;
815
+ responseStatus: number | null;
816
+ subscriptionId: string;
817
+ }[];
818
+ failuresTruncated: boolean;
819
+ from: string;
820
+ subscriptions: {
821
+ chainId: number;
822
+ createdAt: string;
823
+ destination: string;
824
+ eventType: string;
825
+ failureCount: number;
826
+ id: string;
827
+ lastDeliveryAt: string | null;
828
+ status: "active" | "disabled" | "paused";
829
+ }[];
830
+ to: string;
831
+ };
832
+ outputFormat: "json";
833
+ status: 200;
834
+ input: {
835
+ param: {
836
+ orgId: string;
837
+ };
838
+ };
839
+ };
840
+ };
841
+ }, "/organizations"> | import("hono/types").MergeSchemaPath<{
842
+ "/": {
843
+ $get: {
844
+ output: {
845
+ data: {
846
+ address: `0x${string}`;
847
+ currency: string;
848
+ decimals: number;
849
+ logoUri?: string | undefined;
850
+ name: string;
851
+ symbol: string;
852
+ id: string;
853
+ }[];
854
+ version: string | null;
855
+ };
856
+ outputFormat: "json";
857
+ status: import("hono/utils/http-status").ContentfulStatusCode;
858
+ input: {
859
+ query: {
860
+ chainId: string | string[];
861
+ };
862
+ };
863
+ };
864
+ };
865
+ } & {
866
+ "/": {
867
+ $post: {
868
+ output: {
869
+ error: {
870
+ code: string;
871
+ details?: readonly Response.error.Detail[] | undefined;
872
+ message: string;
873
+ };
874
+ requestId: string;
875
+ };
876
+ outputFormat: "json";
877
+ status: 400 | 413 | 415;
878
+ input: {
879
+ json: {
880
+ address: `0x${string}`;
881
+ currency: string;
882
+ decimals: number;
883
+ logoUri?: string | undefined;
884
+ name: string;
885
+ symbol: string;
886
+ chainId: unknown;
887
+ logo?: string | undefined;
888
+ };
889
+ };
890
+ } | {
891
+ output: {
892
+ error: {
893
+ code: "upstream_error";
894
+ details?: readonly Response.error.Detail[] | undefined;
895
+ message: string;
896
+ };
897
+ requestId: string;
898
+ };
899
+ outputFormat: "json";
900
+ status: 502;
901
+ input: {
902
+ json: {
903
+ address: `0x${string}`;
904
+ currency: string;
905
+ decimals: number;
906
+ logoUri?: string | undefined;
907
+ name: string;
908
+ symbol: string;
909
+ chainId: unknown;
910
+ logo?: string | undefined;
911
+ };
912
+ };
913
+ } | {
914
+ output: {
915
+ error: {
916
+ code: "verified_token_not_found";
917
+ details?: readonly Response.error.Detail[] | undefined;
918
+ message: string;
919
+ };
920
+ requestId: string;
921
+ };
922
+ outputFormat: "json";
923
+ status: 404;
924
+ input: {
925
+ json: {
926
+ address: `0x${string}`;
927
+ currency: string;
928
+ decimals: number;
929
+ logoUri?: string | undefined;
930
+ name: string;
931
+ symbol: string;
932
+ chainId: unknown;
933
+ logo?: string | undefined;
934
+ };
935
+ };
936
+ } | {
937
+ output: {
938
+ error: {
939
+ code: "assets_not_enabled";
940
+ details?: readonly Response.error.Detail[] | undefined;
941
+ message: string;
942
+ };
943
+ requestId: string;
944
+ };
945
+ outputFormat: "json";
946
+ status: 404;
947
+ input: {
948
+ json: {
949
+ address: `0x${string}`;
950
+ currency: string;
951
+ decimals: number;
952
+ logoUri?: string | undefined;
953
+ name: string;
954
+ symbol: string;
955
+ chainId: unknown;
956
+ logo?: string | undefined;
957
+ };
958
+ };
959
+ } | {
960
+ output: {
961
+ data: {
962
+ address: `0x${string}`;
963
+ currency: string;
964
+ decimals: number;
965
+ logoUri?: string | undefined;
966
+ name: string;
967
+ symbol: string;
968
+ id: string;
969
+ };
970
+ version: string;
971
+ };
972
+ outputFormat: "json";
973
+ status: import("hono/utils/http-status").ContentfulStatusCode;
974
+ input: {
975
+ json: {
976
+ address: `0x${string}`;
977
+ currency: string;
978
+ decimals: number;
979
+ logoUri?: string | undefined;
980
+ name: string;
981
+ symbol: string;
982
+ chainId: unknown;
983
+ logo?: string | undefined;
984
+ };
985
+ };
986
+ } | {
987
+ output: {
988
+ error: {
989
+ code: "duplicate_address";
990
+ details?: readonly Response.error.Detail[] | undefined;
991
+ message: string;
992
+ };
993
+ requestId: string;
994
+ };
995
+ outputFormat: "json";
996
+ status: 409;
997
+ input: {
998
+ json: {
376
999
  address: `0x${string}`;
377
1000
  currency: string;
378
1001
  decimals: number;
@@ -436,14 +1059,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
436
1059
  $put: {
437
1060
  output: {
438
1061
  error: {
439
- code: "upstream_error";
1062
+ code: string;
440
1063
  details?: readonly Response.error.Detail[] | undefined;
441
1064
  message: string;
442
1065
  };
443
1066
  requestId: string;
444
1067
  };
445
1068
  outputFormat: "json";
446
- status: 502;
1069
+ status: 400 | 413 | 415;
447
1070
  input: {
448
1071
  query: {
449
1072
  chainId: string | string[];
@@ -463,14 +1086,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
463
1086
  } | {
464
1087
  output: {
465
1088
  error: {
466
- code: "verified_token_not_found";
1089
+ code: "upstream_error";
467
1090
  details?: readonly Response.error.Detail[] | undefined;
468
1091
  message: string;
469
1092
  };
470
1093
  requestId: string;
471
1094
  };
472
1095
  outputFormat: "json";
473
- status: 404;
1096
+ status: 502;
474
1097
  input: {
475
1098
  query: {
476
1099
  chainId: string | string[];
@@ -490,14 +1113,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
490
1113
  } | {
491
1114
  output: {
492
1115
  error: {
493
- code: string;
1116
+ code: "verified_token_not_found";
494
1117
  details?: readonly Response.error.Detail[] | undefined;
495
1118
  message: string;
496
1119
  };
497
1120
  requestId: string;
498
1121
  };
499
1122
  outputFormat: "json";
500
- status: 400 | 413 | 415;
1123
+ status: 404;
501
1124
  input: {
502
1125
  query: {
503
1126
  chainId: string | string[];
@@ -633,14 +1256,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
633
1256
  $patch: {
634
1257
  output: {
635
1258
  error: {
636
- code: "upstream_error";
1259
+ code: string;
637
1260
  details?: readonly Response.error.Detail[] | undefined;
638
1261
  message: string;
639
1262
  };
640
1263
  requestId: string;
641
1264
  };
642
1265
  outputFormat: "json";
643
- status: 502;
1266
+ status: 400 | 413 | 415;
644
1267
  input: {
645
1268
  param: {
646
1269
  address: `0x${string}`;
@@ -661,14 +1284,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
661
1284
  } | {
662
1285
  output: {
663
1286
  error: {
664
- code: "verified_token_not_found";
1287
+ code: "upstream_error";
665
1288
  details?: readonly Response.error.Detail[] | undefined;
666
1289
  message: string;
667
1290
  };
668
1291
  requestId: string;
669
1292
  };
670
1293
  outputFormat: "json";
671
- status: 404;
1294
+ status: 502;
672
1295
  input: {
673
1296
  param: {
674
1297
  address: `0x${string}`;
@@ -688,19 +1311,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
688
1311
  };
689
1312
  } | {
690
1313
  output: {
691
- data: {
692
- address: `0x${string}`;
693
- currency: string;
694
- decimals: number;
695
- logoUri?: string | undefined;
696
- name: string;
697
- symbol: string;
698
- id: string;
1314
+ error: {
1315
+ code: "verified_token_not_found";
1316
+ details?: readonly Response.error.Detail[] | undefined;
1317
+ message: string;
699
1318
  };
700
- version: string;
1319
+ requestId: string;
701
1320
  };
702
1321
  outputFormat: "json";
703
- status: import("hono/utils/http-status").ContentfulStatusCode;
1322
+ status: 404;
704
1323
  input: {
705
1324
  param: {
706
1325
  address: `0x${string}`;
@@ -720,15 +1339,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
720
1339
  };
721
1340
  } | {
722
1341
  output: {
723
- error: {
724
- code: string;
725
- details?: readonly Response.error.Detail[] | undefined;
726
- message: string;
1342
+ data: {
1343
+ address: `0x${string}`;
1344
+ currency: string;
1345
+ decimals: number;
1346
+ logoUri?: string | undefined;
1347
+ name: string;
1348
+ symbol: string;
1349
+ id: string;
727
1350
  };
728
- requestId: string;
1351
+ version: string;
729
1352
  };
730
1353
  outputFormat: "json";
731
- status: 400 | 413 | 415;
1354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
732
1355
  input: {
733
1356
  param: {
734
1357
  address: `0x${string}`;
@@ -837,14 +1460,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
837
1460
  $delete: {
838
1461
  output: {
839
1462
  error: {
840
- code: "upstream_error";
1463
+ code: string;
841
1464
  details?: readonly Response.error.Detail[] | undefined;
842
1465
  message: string;
843
1466
  };
844
1467
  requestId: string;
845
1468
  };
846
1469
  outputFormat: "json";
847
- status: 502;
1470
+ status: 400 | 413 | 415;
848
1471
  input: {
849
1472
  param: {
850
1473
  address: `0x${string}`;
@@ -857,14 +1480,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
857
1480
  } | {
858
1481
  output: {
859
1482
  error: {
860
- code: "verified_token_not_found";
1483
+ code: "upstream_error";
861
1484
  details?: readonly Response.error.Detail[] | undefined;
862
1485
  message: string;
863
1486
  };
864
1487
  requestId: string;
865
1488
  };
866
1489
  outputFormat: "json";
867
- status: 404;
1490
+ status: 502;
868
1491
  input: {
869
1492
  param: {
870
1493
  address: `0x${string}`;
@@ -877,14 +1500,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
877
1500
  } | {
878
1501
  output: {
879
1502
  error: {
880
- code: string;
1503
+ code: "verified_token_not_found";
881
1504
  details?: readonly Response.error.Detail[] | undefined;
882
1505
  message: string;
883
1506
  };
884
1507
  requestId: string;
885
1508
  };
886
1509
  outputFormat: "json";
887
- status: 400 | 413 | 415;
1510
+ status: 404;
888
1511
  input: {
889
1512
  param: {
890
1513
  address: `0x${string}`;
@@ -1108,138 +1731,60 @@ export declare function create(options: create.Options): import("hono/hono-base"
1108
1731
  };
1109
1732
  };
1110
1733
  };
1111
- }, "/verified-tokens"> | import("hono/types").MergeSchemaPath<{
1112
- "/": {
1734
+ } & {
1735
+ "/requests": {
1113
1736
  $get: {
1114
- output: {
1115
- error: {
1116
- code: "upstream_error";
1117
- details?: readonly Response.error.Detail[] | undefined;
1118
- message: string;
1119
- };
1120
- requestId: string;
1121
- };
1122
- outputFormat: "json";
1123
- status: 502;
1124
- input: {
1125
- query?: {
1126
- cursor?: string | string[];
1127
- limit?: string | string[];
1128
- query?: string | string[];
1129
- } | undefined;
1130
- };
1131
- } | {
1132
1737
  output: {
1133
1738
  data: {
1739
+ address: `0x${string}`;
1740
+ currency: string;
1741
+ decimals: number;
1742
+ logoUri?: string | undefined;
1743
+ name: string;
1744
+ symbol: string;
1745
+ chainId: number;
1134
1746
  createdAt: string;
1135
- createdBy: string | null;
1136
1747
  id: string;
1137
- name: string;
1748
+ logo?: string | undefined;
1749
+ note: string | null;
1750
+ orgId: string;
1751
+ requestedBy: string;
1752
+ reviewNote: string | null;
1753
+ reviewedAt: string | null;
1754
+ status: "approved" | "denied" | "pending";
1138
1755
  updatedAt: string;
1139
- userId: string | null;
1140
- memberCount: number;
1141
- projectCount: number;
1756
+ orgName: string | null;
1757
+ reviewedBy: string | null;
1142
1758
  }[];
1143
- nextCursor: string | null;
1144
1759
  };
1145
1760
  outputFormat: "json";
1146
- status: 200;
1761
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1147
1762
  input: {
1148
1763
  query?: {
1149
- cursor?: string | string[];
1150
- limit?: string | string[];
1151
- query?: string | string[];
1764
+ status?: string | string[];
1152
1765
  } | undefined;
1153
1766
  };
1154
1767
  };
1155
1768
  };
1156
1769
  } & {
1157
- "/:orgId": {
1158
- $get: {
1159
- output: {
1160
- error: {
1161
- code: "upstream_error";
1162
- details?: readonly Response.error.Detail[] | undefined;
1163
- message: string;
1164
- };
1165
- requestId: string;
1166
- };
1167
- outputFormat: "json";
1168
- status: 502;
1169
- input: {
1170
- param: {
1171
- orgId: string;
1172
- };
1173
- };
1174
- } | {
1770
+ "/requests/:requestId/approve": {
1771
+ $post: {
1175
1772
  output: {
1176
1773
  error: {
1177
- code: "not_found";
1774
+ code: string;
1178
1775
  details?: readonly Response.error.Detail[] | undefined;
1179
1776
  message: string;
1180
1777
  };
1181
1778
  requestId: string;
1182
1779
  };
1183
1780
  outputFormat: "json";
1184
- status: 404;
1781
+ status: 400 | 413 | 415;
1185
1782
  input: {
1186
1783
  param: {
1187
- orgId: string;
1784
+ requestId: string;
1188
1785
  };
1189
1786
  };
1190
1787
  } | {
1191
- output: {
1192
- createdAt: string;
1193
- createdBy: string | null;
1194
- id: string;
1195
- name: string;
1196
- updatedAt: string;
1197
- userId: string | null;
1198
- memberCount: number;
1199
- projectCount: number;
1200
- billing: {
1201
- production: {
1202
- settings: {
1203
- currency: "usd";
1204
- period: "month";
1205
- spendLimit: string | null;
1206
- txFeeLimit: string | null;
1207
- updatedAt: string;
1208
- } | null;
1209
- source: {
1210
- status: "active" | "canceled" | "none" | "past_due";
1211
- stripeCustomerId: string;
1212
- updatedAt: string;
1213
- } | null;
1214
- };
1215
- sandbox: {
1216
- settings: {
1217
- currency: "usd";
1218
- period: "month";
1219
- spendLimit: string | null;
1220
- txFeeLimit: string | null;
1221
- updatedAt: string;
1222
- } | null;
1223
- source: {
1224
- status: "active" | "canceled" | "none" | "past_due";
1225
- stripeCustomerId: string;
1226
- updatedAt: string;
1227
- } | null;
1228
- };
1229
- };
1230
- };
1231
- outputFormat: "json";
1232
- status: 200;
1233
- input: {
1234
- param: {
1235
- orgId: string;
1236
- };
1237
- };
1238
- };
1239
- };
1240
- } & {
1241
- "/:orgId/members": {
1242
- $get: {
1243
1788
  output: {
1244
1789
  error: {
1245
1790
  code: "upstream_error";
@@ -1252,18 +1797,13 @@ export declare function create(options: create.Options): import("hono/hono-base"
1252
1797
  status: 502;
1253
1798
  input: {
1254
1799
  param: {
1255
- orgId: string;
1800
+ requestId: string;
1256
1801
  };
1257
- } & {
1258
- query?: {
1259
- cursor?: string | string[];
1260
- limit?: string | string[];
1261
- } | undefined;
1262
1802
  };
1263
1803
  } | {
1264
1804
  output: {
1265
1805
  error: {
1266
- code: "not_found";
1806
+ code: "verified_token_not_found";
1267
1807
  details?: readonly Response.error.Detail[] | undefined;
1268
1808
  message: string;
1269
1809
  };
@@ -1273,67 +1813,45 @@ export declare function create(options: create.Options): import("hono/hono-base"
1273
1813
  status: 404;
1274
1814
  input: {
1275
1815
  param: {
1276
- orgId: string;
1816
+ requestId: string;
1277
1817
  };
1278
- } & {
1279
- query?: {
1280
- cursor?: string | string[];
1281
- limit?: string | string[];
1282
- } | undefined;
1283
1818
  };
1284
1819
  } | {
1285
1820
  output: {
1286
- data: {
1287
- address: string | null;
1288
- createdAt: string;
1289
- email: string | null;
1290
- role: "admin" | "member" | "owner";
1291
- updatedAt: string;
1292
- userId: string;
1293
- }[];
1294
- nextCursor: string | null;
1821
+ error: {
1822
+ code: "request_not_pending";
1823
+ details?: readonly Response.error.Detail[] | undefined;
1824
+ message: string;
1825
+ };
1826
+ requestId: string;
1295
1827
  };
1296
1828
  outputFormat: "json";
1297
- status: 200;
1829
+ status: 409;
1298
1830
  input: {
1299
1831
  param: {
1300
- orgId: string;
1832
+ requestId: string;
1301
1833
  };
1302
- } & {
1303
- query?: {
1304
- cursor?: string | string[];
1305
- limit?: string | string[];
1306
- } | undefined;
1307
1834
  };
1308
- };
1309
- };
1310
- } & {
1311
- "/:orgId/projects": {
1312
- $get: {
1835
+ } | {
1313
1836
  output: {
1314
1837
  error: {
1315
- code: "upstream_error";
1838
+ code: "verified_token_request_not_found";
1316
1839
  details?: readonly Response.error.Detail[] | undefined;
1317
1840
  message: string;
1318
1841
  };
1319
1842
  requestId: string;
1320
1843
  };
1321
1844
  outputFormat: "json";
1322
- status: 502;
1845
+ status: 404;
1323
1846
  input: {
1324
1847
  param: {
1325
- orgId: string;
1848
+ requestId: string;
1326
1849
  };
1327
- } & {
1328
- query?: {
1329
- cursor?: string | string[];
1330
- limit?: string | string[];
1331
- } | undefined;
1332
1850
  };
1333
1851
  } | {
1334
1852
  output: {
1335
1853
  error: {
1336
- code: "not_found";
1854
+ code: "assets_not_enabled";
1337
1855
  details?: readonly Response.error.Detail[] | undefined;
1338
1856
  message: string;
1339
1857
  };
@@ -1343,204 +1861,176 @@ export declare function create(options: create.Options): import("hono/hono-base"
1343
1861
  status: 404;
1344
1862
  input: {
1345
1863
  param: {
1346
- orgId: string;
1864
+ requestId: string;
1347
1865
  };
1348
- } & {
1349
- query?: {
1350
- cursor?: string | string[];
1351
- limit?: string | string[];
1352
- } | undefined;
1353
1866
  };
1354
1867
  } | {
1355
1868
  output: {
1356
- data: {
1357
- createdAt: string;
1358
- id: string;
1359
- name: string;
1360
- updatedAt: string;
1361
- }[];
1362
- nextCursor: string | null;
1869
+ error: {
1870
+ code: "duplicate_address";
1871
+ details?: readonly Response.error.Detail[] | undefined;
1872
+ message: string;
1873
+ };
1874
+ requestId: string;
1363
1875
  };
1364
1876
  outputFormat: "json";
1365
- status: 200;
1877
+ status: 409;
1366
1878
  input: {
1367
1879
  param: {
1368
- orgId: string;
1880
+ requestId: string;
1369
1881
  };
1370
- } & {
1371
- query?: {
1372
- cursor?: string | string[];
1373
- limit?: string | string[];
1374
- } | undefined;
1375
1882
  };
1376
- };
1377
- };
1378
- } & {
1379
- "/:orgId/api-keys": {
1380
- $get: {
1883
+ } | {
1381
1884
  output: {
1382
1885
  error: {
1383
- code: "upstream_error";
1886
+ code: "duplicate_symbol";
1384
1887
  details?: readonly Response.error.Detail[] | undefined;
1385
1888
  message: string;
1386
1889
  };
1387
1890
  requestId: string;
1388
1891
  };
1389
1892
  outputFormat: "json";
1390
- status: 502;
1893
+ status: 409;
1391
1894
  input: {
1392
1895
  param: {
1393
- orgId: string;
1896
+ requestId: string;
1394
1897
  };
1395
1898
  };
1396
1899
  } | {
1397
1900
  output: {
1398
1901
  error: {
1399
- code: "not_found";
1902
+ code: "version_mismatch";
1400
1903
  details?: readonly Response.error.Detail[] | undefined;
1401
1904
  message: string;
1402
1905
  };
1403
1906
  requestId: string;
1404
1907
  };
1405
1908
  outputFormat: "json";
1406
- status: 404;
1909
+ status: 412;
1407
1910
  input: {
1408
1911
  param: {
1409
- orgId: string;
1912
+ requestId: string;
1410
1913
  };
1411
1914
  };
1412
1915
  } | {
1413
1916
  output: {
1414
1917
  data: {
1415
- billingActive?: boolean | undefined;
1416
- environment: "production" | "sandbox";
1918
+ address: `0x${string}`;
1919
+ currency: string;
1920
+ decimals: number;
1921
+ logoUri?: string | undefined;
1922
+ name: string;
1923
+ symbol: string;
1924
+ chainId: number;
1925
+ createdAt: string;
1417
1926
  id: string;
1418
- name?: string | undefined;
1927
+ logo?: string | undefined;
1928
+ note: string | null;
1419
1929
  orgId: string;
1420
- projectId?: string | undefined;
1421
- rateLimits?: {
1422
- [x: string]: {
1423
- perMinute: number;
1424
- };
1425
- } | undefined;
1426
- scopes: readonly string[];
1427
- createdAt: string;
1428
- createdBy?: string | undefined;
1429
- expiresAt?: string | undefined;
1430
- tokenLast4: string;
1431
- }[];
1930
+ requestedBy: string;
1931
+ reviewNote: string | null;
1932
+ reviewedAt: string | null;
1933
+ status: "approved" | "denied" | "pending";
1934
+ updatedAt: string;
1935
+ orgName: string | null;
1936
+ reviewedBy: string | null;
1937
+ };
1432
1938
  };
1433
1939
  outputFormat: "json";
1434
- status: 200;
1940
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1435
1941
  input: {
1436
1942
  param: {
1437
- orgId: string;
1943
+ requestId: string;
1438
1944
  };
1439
1945
  };
1440
1946
  };
1441
1947
  };
1442
1948
  } & {
1443
- "/:orgId/usage": {
1444
- $get: {
1949
+ "/requests/:requestId/deny": {
1950
+ $post: {
1445
1951
  output: {
1446
1952
  error: {
1447
- code: "upstream_error";
1953
+ code: string;
1448
1954
  details?: readonly Response.error.Detail[] | undefined;
1449
1955
  message: string;
1450
1956
  };
1451
1957
  requestId: string;
1452
1958
  };
1453
1959
  outputFormat: "json";
1454
- status: 502;
1960
+ status: 400 | 413 | 415;
1455
1961
  input: {
1456
1962
  param: {
1457
- orgId: string;
1963
+ requestId: string;
1458
1964
  };
1459
1965
  } & {
1460
- query?: {
1461
- period?: string | string[];
1462
- } | undefined;
1966
+ json: {
1967
+ reviewNote?: string | undefined;
1968
+ };
1463
1969
  };
1464
1970
  } | {
1465
1971
  output: {
1466
1972
  error: {
1467
- code: "not_found";
1973
+ code: "upstream_error";
1468
1974
  details?: readonly Response.error.Detail[] | undefined;
1469
1975
  message: string;
1470
1976
  };
1471
1977
  requestId: string;
1472
1978
  };
1473
1979
  outputFormat: "json";
1474
- status: 404;
1980
+ status: 502;
1475
1981
  input: {
1476
1982
  param: {
1477
- orgId: string;
1983
+ requestId: string;
1478
1984
  };
1479
1985
  } & {
1480
- query?: {
1481
- period?: string | string[];
1482
- } | undefined;
1986
+ json: {
1987
+ reviewNote?: string | undefined;
1988
+ };
1483
1989
  };
1484
1990
  } | {
1485
1991
  output: {
1486
- byError: {
1487
- code: string;
1488
- requests: number;
1489
- }[];
1490
- byRoute: {
1491
- errors: number;
1492
- requests: number;
1493
- averageDurationMs: number;
1494
- route: string;
1495
- }[];
1496
- byStatus: {
1497
- requests: number;
1498
- status: number;
1499
- }[];
1500
- from: string;
1501
- period: "24h" | "30d" | "7d";
1502
- to: string;
1503
- totals: {
1504
- errors: number;
1505
- requests: number;
1506
- averageDurationMs: number;
1992
+ error: {
1993
+ code: "verified_token_not_found";
1994
+ details?: readonly Response.error.Detail[] | undefined;
1995
+ message: string;
1507
1996
  };
1997
+ requestId: string;
1508
1998
  };
1509
1999
  outputFormat: "json";
1510
- status: 200;
2000
+ status: 404;
1511
2001
  input: {
1512
2002
  param: {
1513
- orgId: string;
2003
+ requestId: string;
1514
2004
  };
1515
2005
  } & {
1516
- query?: {
1517
- period?: string | string[];
1518
- } | undefined;
2006
+ json: {
2007
+ reviewNote?: string | undefined;
2008
+ };
1519
2009
  };
1520
- };
1521
- };
1522
- } & {
1523
- "/:orgId/sponsorship": {
1524
- $get: {
2010
+ } | {
1525
2011
  output: {
1526
2012
  error: {
1527
- code: "upstream_error";
2013
+ code: "request_not_pending";
1528
2014
  details?: readonly Response.error.Detail[] | undefined;
1529
2015
  message: string;
1530
2016
  };
1531
2017
  requestId: string;
1532
2018
  };
1533
2019
  outputFormat: "json";
1534
- status: 502;
2020
+ status: 409;
1535
2021
  input: {
1536
2022
  param: {
1537
- orgId: string;
2023
+ requestId: string;
2024
+ };
2025
+ } & {
2026
+ json: {
2027
+ reviewNote?: string | undefined;
1538
2028
  };
1539
2029
  };
1540
2030
  } | {
1541
2031
  output: {
1542
2032
  error: {
1543
- code: "not_found";
2033
+ code: "verified_token_request_not_found";
1544
2034
  details?: readonly Response.error.Detail[] | undefined;
1545
2035
  message: string;
1546
2036
  };
@@ -1550,103 +2040,111 @@ export declare function create(options: create.Options): import("hono/hono-base"
1550
2040
  status: 404;
1551
2041
  input: {
1552
2042
  param: {
1553
- orgId: string;
2043
+ requestId: string;
2044
+ };
2045
+ } & {
2046
+ json: {
2047
+ reviewNote?: string | undefined;
1554
2048
  };
1555
2049
  };
1556
2050
  } | {
1557
2051
  output: {
1558
- production: {
1559
- committedSpend: string;
1560
- currency: "usd";
1561
- from: string;
1562
- period: "month";
1563
- };
1564
- sandbox: {
1565
- committedSpend: string;
1566
- currency: "usd";
1567
- from: string;
1568
- period: "month";
2052
+ error: {
2053
+ code: "duplicate_address";
2054
+ details?: readonly Response.error.Detail[] | undefined;
2055
+ message: string;
1569
2056
  };
1570
- to: string;
2057
+ requestId: string;
1571
2058
  };
1572
2059
  outputFormat: "json";
1573
- status: 200;
2060
+ status: 409;
1574
2061
  input: {
1575
2062
  param: {
1576
- orgId: string;
2063
+ requestId: string;
2064
+ };
2065
+ } & {
2066
+ json: {
2067
+ reviewNote?: string | undefined;
1577
2068
  };
1578
2069
  };
1579
- };
1580
- };
1581
- } & {
1582
- "/:orgId/webhooks": {
1583
- $get: {
2070
+ } | {
1584
2071
  output: {
1585
2072
  error: {
1586
- code: "upstream_error";
2073
+ code: "duplicate_symbol";
1587
2074
  details?: readonly Response.error.Detail[] | undefined;
1588
2075
  message: string;
1589
2076
  };
1590
2077
  requestId: string;
1591
2078
  };
1592
2079
  outputFormat: "json";
1593
- status: 502;
2080
+ status: 409;
1594
2081
  input: {
1595
2082
  param: {
1596
- orgId: string;
2083
+ requestId: string;
2084
+ };
2085
+ } & {
2086
+ json: {
2087
+ reviewNote?: string | undefined;
1597
2088
  };
1598
2089
  };
1599
2090
  } | {
1600
2091
  output: {
1601
2092
  error: {
1602
- code: "not_found";
2093
+ code: "version_mismatch";
1603
2094
  details?: readonly Response.error.Detail[] | undefined;
1604
2095
  message: string;
1605
2096
  };
1606
2097
  requestId: string;
1607
2098
  };
1608
2099
  outputFormat: "json";
1609
- status: 404;
2100
+ status: 412;
1610
2101
  input: {
1611
2102
  param: {
1612
- orgId: string;
2103
+ requestId: string;
2104
+ };
2105
+ } & {
2106
+ json: {
2107
+ reviewNote?: string | undefined;
1613
2108
  };
1614
2109
  };
1615
2110
  } | {
1616
2111
  output: {
1617
- failureCount: number;
1618
- failures: {
1619
- attempt: number;
1620
- createdAt: string;
1621
- error: string | null;
1622
- id: string;
1623
- responseStatus: number | null;
1624
- subscriptionId: string;
1625
- }[];
1626
- failuresTruncated: boolean;
1627
- from: string;
1628
- subscriptions: {
2112
+ data: {
2113
+ address: `0x${string}`;
2114
+ currency: string;
2115
+ decimals: number;
2116
+ logoUri?: string | undefined;
2117
+ name: string;
2118
+ symbol: string;
1629
2119
  chainId: number;
1630
2120
  createdAt: string;
1631
- destination: string;
1632
- eventType: string;
1633
- failureCount: number;
1634
2121
  id: string;
1635
- lastDeliveryAt: string | null;
1636
- status: "active" | "disabled" | "paused";
1637
- }[];
1638
- to: string;
2122
+ logo?: string | undefined;
2123
+ note: string | null;
2124
+ orgId: string;
2125
+ requestedBy: string;
2126
+ reviewNote: string | null;
2127
+ reviewedAt: string | null;
2128
+ status: "approved" | "denied" | "pending";
2129
+ updatedAt: string;
2130
+ orgName: string | null;
2131
+ reviewedBy: string | null;
2132
+ };
1639
2133
  };
1640
2134
  outputFormat: "json";
1641
- status: 200;
2135
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1642
2136
  input: {
1643
2137
  param: {
1644
- orgId: string;
2138
+ requestId: string;
2139
+ };
2140
+ } & {
2141
+ json: {
2142
+ reviewNote?: string | undefined;
1645
2143
  };
1646
2144
  };
1647
2145
  };
1648
2146
  };
1649
- }, "/organizations"> | {
2147
+ }, "/verified-tokens"> | {
1650
2148
  "/config.json": {
1651
2149
  $get: {
1652
2150
  output: {