tapimo 0.4.1 → 0.4.3

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 (243) hide show
  1. package/README.md +1 -1
  2. package/dist/ApiKey.d.ts +1 -9
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +2 -3
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +53 -27
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +32 -17
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +2451 -1533
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +23 -9
  13. package/dist/App.js.map +1 -1
  14. package/dist/Assets.d.ts +10 -0
  15. package/dist/Assets.d.ts.map +1 -1
  16. package/dist/Assets.js +4 -0
  17. package/dist/Assets.js.map +1 -1
  18. package/dist/Auth.d.ts +2 -1
  19. package/dist/Auth.d.ts.map +1 -1
  20. package/dist/Auth.js +2 -1
  21. package/dist/Auth.js.map +1 -1
  22. package/dist/Scope.d.ts +40 -15
  23. package/dist/Scope.d.ts.map +1 -1
  24. package/dist/Scope.js +44 -13
  25. package/dist/Scope.js.map +1 -1
  26. package/dist/admin/App.d.ts +560 -9
  27. package/dist/admin/App.d.ts.map +1 -1
  28. package/dist/admin/App.js +38 -6
  29. package/dist/admin/App.js.map +1 -1
  30. package/dist/admin/apps/api-keys.d.ts +10 -24
  31. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  32. package/dist/admin/apps/api-keys.js +10 -3
  33. package/dist/admin/apps/api-keys.js.map +1 -1
  34. package/dist/admin/apps/organizations.d.ts +833 -0
  35. package/dist/admin/apps/organizations.d.ts.map +1 -0
  36. package/dist/admin/apps/organizations.js +733 -0
  37. package/dist/admin/apps/organizations.js.map +1 -0
  38. package/dist/admin/apps/scopes.d.ts +8 -0
  39. package/dist/admin/apps/scopes.d.ts.map +1 -1
  40. package/dist/admin/ui.generated.d.ts +1 -1
  41. package/dist/admin/ui.generated.d.ts.map +1 -1
  42. package/dist/admin/ui.generated.js +53 -13
  43. package/dist/admin/ui.generated.js.map +1 -1
  44. package/dist/analytics/Analytics.d.ts +10 -0
  45. package/dist/analytics/Analytics.d.ts.map +1 -1
  46. package/dist/analytics/Analytics.js +8 -0
  47. package/dist/analytics/Analytics.js.map +1 -1
  48. package/dist/analytics/tables/requestEvents.d.ts +9 -0
  49. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  50. package/dist/analytics/tables/requestEvents.js +14 -0
  51. package/dist/analytics/tables/requestEvents.js.map +1 -1
  52. package/dist/apps/data/App.d.ts +1354 -984
  53. package/dist/apps/data/App.d.ts.map +1 -1
  54. package/dist/apps/data/FundingRouteProviders.d.ts +94 -5
  55. package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -1
  56. package/dist/apps/data/FundingRouteProviders.js +196 -5
  57. package/dist/apps/data/FundingRouteProviders.js.map +1 -1
  58. package/dist/apps/data/routes/activities.d.ts +38 -38
  59. package/dist/apps/data/routes/addresses.d.ts +24 -24
  60. package/dist/apps/data/routes/blocks.d.ts +39 -39
  61. package/dist/apps/data/routes/exchanges.d.ts +453 -453
  62. package/dist/apps/data/routes/fee-amm.d.ts +101 -101
  63. package/dist/apps/data/routes/funding.d.ts +730 -138
  64. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  65. package/dist/apps/data/routes/funding.js +234 -0
  66. package/dist/apps/data/routes/funding.js.map +1 -1
  67. package/dist/apps/data/routes/indexer.d.ts +5 -5
  68. package/dist/apps/data/routes/transactions.d.ts +281 -281
  69. package/dist/apps/data/routes/transfers.d.ts +58 -58
  70. package/dist/apps/data/routes/verified-tokens.d.ts +81 -81
  71. package/dist/apps/management/App.d.ts +1156 -615
  72. package/dist/apps/management/App.d.ts.map +1 -1
  73. package/dist/apps/management/App.js +2 -2
  74. package/dist/apps/management/Billing.d.ts +3 -0
  75. package/dist/apps/management/Billing.d.ts.map +1 -1
  76. package/dist/apps/management/Billing.js +7 -2
  77. package/dist/apps/management/Billing.js.map +1 -1
  78. package/dist/apps/management/routes/api-keys.d.ts +106 -90
  79. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  80. package/dist/apps/management/routes/api-keys.js +41 -30
  81. package/dist/apps/management/routes/api-keys.js.map +1 -1
  82. package/dist/apps/management/routes/billing.d.ts +278 -146
  83. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  84. package/dist/apps/management/routes/billing.js +14 -14
  85. package/dist/apps/management/routes/billing.js.map +1 -1
  86. package/dist/apps/management/routes/invitations.d.ts +93 -20
  87. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  88. package/dist/apps/management/routes/invitations.js +12 -15
  89. package/dist/apps/management/routes/invitations.js.map +1 -1
  90. package/dist/apps/management/routes/me.d.ts +6 -6
  91. package/dist/apps/management/routes/members.d.ts +89 -18
  92. package/dist/apps/management/routes/members.d.ts.map +1 -1
  93. package/dist/apps/management/routes/members.js +10 -10
  94. package/dist/apps/management/routes/members.js.map +1 -1
  95. package/dist/apps/management/routes/orgs.d.ts +130 -70
  96. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  97. package/dist/apps/management/routes/orgs.js +19 -19
  98. package/dist/apps/management/routes/orgs.js.map +1 -1
  99. package/dist/apps/management/routes/projects.d.ts +137 -48
  100. package/dist/apps/management/routes/projects.d.ts.map +1 -1
  101. package/dist/apps/management/routes/projects.js +12 -13
  102. package/dist/apps/management/routes/projects.js.map +1 -1
  103. package/dist/apps/management/routes/scopes.d.ts +4 -18
  104. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  105. package/dist/apps/management/routes/scopes.js +6 -7
  106. package/dist/apps/management/routes/scopes.js.map +1 -1
  107. package/dist/apps/management/routes/usage.d.ts +63 -19
  108. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  109. package/dist/apps/management/routes/usage.js +9 -10
  110. package/dist/apps/management/routes/usage.js.map +1 -1
  111. package/dist/apps/mcp.d.ts.map +1 -1
  112. package/dist/apps/mcp.js +35 -3
  113. package/dist/apps/mcp.js.map +1 -1
  114. package/dist/apps/relay/App.d.ts +26 -4
  115. package/dist/apps/relay/App.d.ts.map +1 -1
  116. package/dist/apps/relay/App.js +17 -14
  117. package/dist/apps/relay/App.js.map +1 -1
  118. package/dist/db/Db.d.ts +5 -3
  119. package/dist/db/Db.d.ts.map +1 -1
  120. package/dist/db/Db.js +52 -0
  121. package/dist/db/Db.js.map +1 -1
  122. package/dist/db/Schema.d.ts +13 -0
  123. package/dist/db/Schema.d.ts.map +1 -1
  124. package/dist/db/Schema.js +16 -1
  125. package/dist/db/Schema.js.map +1 -1
  126. package/dist/db/tables/adminAuditLogs.d.ts +27 -0
  127. package/dist/db/tables/adminAuditLogs.d.ts.map +1 -0
  128. package/dist/db/tables/adminAuditLogs.js +19 -0
  129. package/dist/db/tables/adminAuditLogs.js.map +1 -0
  130. package/dist/db/tables/invitations.d.ts +1 -1
  131. package/dist/db/tables/invitations.d.ts.map +1 -1
  132. package/dist/db/tables/memberships.d.ts +32 -4
  133. package/dist/db/tables/memberships.d.ts.map +1 -1
  134. package/dist/db/tables/memberships.js +31 -0
  135. package/dist/db/tables/memberships.js.map +1 -1
  136. package/dist/db/tables/organizations.d.ts +43 -1
  137. package/dist/db/tables/organizations.d.ts.map +1 -1
  138. package/dist/db/tables/organizations.js +103 -0
  139. package/dist/db/tables/organizations.js.map +1 -1
  140. package/dist/db/tables/projects.d.ts +25 -0
  141. package/dist/db/tables/projects.d.ts.map +1 -1
  142. package/dist/db/tables/projects.js +22 -0
  143. package/dist/db/tables/projects.js.map +1 -1
  144. package/dist/db/tables/webhookDeliveries.d.ts +26 -0
  145. package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
  146. package/dist/db/tables/webhookDeliveries.js +37 -0
  147. package/dist/db/tables/webhookDeliveries.js.map +1 -1
  148. package/dist/internal/Auth.d.ts +13 -18
  149. package/dist/internal/Auth.d.ts.map +1 -1
  150. package/dist/internal/Auth.js +78 -58
  151. package/dist/internal/Auth.js.map +1 -1
  152. package/dist/internal/Cursor.d.ts +1 -1
  153. package/dist/internal/Cursor.d.ts.map +1 -1
  154. package/dist/internal/Cursor.js +4 -0
  155. package/dist/internal/Cursor.js.map +1 -1
  156. package/dist/internal/EdgeCache.d.ts.map +1 -1
  157. package/dist/internal/EdgeCache.js +2 -0
  158. package/dist/internal/EdgeCache.js.map +1 -1
  159. package/dist/internal/FundingRoutes.d.ts +170 -0
  160. package/dist/internal/FundingRoutes.d.ts.map +1 -1
  161. package/dist/internal/FundingRoutes.js +68 -6
  162. package/dist/internal/FundingRoutes.js.map +1 -1
  163. package/dist/internal/Log.d.ts +16 -1
  164. package/dist/internal/Log.d.ts.map +1 -1
  165. package/dist/internal/Log.js +5 -3
  166. package/dist/internal/Log.js.map +1 -1
  167. package/package.json +2 -2
  168. package/src/ApiKey.ts +2 -3
  169. package/src/ApiKeys.ts +95 -17
  170. package/src/App.test.ts +44 -2
  171. package/src/App.ts +29 -9
  172. package/src/Assets.ts +8 -0
  173. package/src/Auth.test-d.ts +36 -0
  174. package/src/Auth.ts +20 -1
  175. package/src/Client.test-d.ts +64 -17
  176. package/src/Scope.test.ts +34 -0
  177. package/src/Scope.ts +53 -17
  178. package/src/admin/App.test.ts +33 -3
  179. package/src/admin/App.ts +49 -14
  180. package/src/admin/apps/api-keys.ts +10 -3
  181. package/src/admin/apps/organizations.test.ts +455 -0
  182. package/src/admin/apps/organizations.ts +953 -0
  183. package/src/admin/apps/scopes.test.ts +10 -0
  184. package/src/admin/ui/plugin.ts +1 -1
  185. package/src/admin/ui/src/components/MobileProfile.tsx +2 -0
  186. package/src/admin/ui/src/components/ThemeToggle.tsx +20 -0
  187. package/src/admin/ui/src/lib/api-keys.ts +36 -19
  188. package/src/admin/ui/src/lib/config.ts +2 -3
  189. package/src/admin/ui/src/lib/organizations.test.ts +89 -0
  190. package/src/admin/ui/src/lib/organizations.ts +262 -0
  191. package/src/admin/ui/src/lib/query-client.ts +3 -1
  192. package/src/admin/ui/src/lib/theme.ts +57 -0
  193. package/src/admin/ui/src/routeTree.gen.ts +47 -4
  194. package/src/admin/ui/src/routes/__root.tsx +18 -3
  195. package/src/admin/ui/src/routes/api-keys.tsx +52 -7
  196. package/src/admin/ui/src/routes/index.tsx +1 -1
  197. package/src/admin/ui/src/routes/organizations.tsx +158 -0
  198. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +710 -0
  199. package/src/admin/ui/src/start.ts +6 -0
  200. package/src/admin/ui.generated.ts +63 -13
  201. package/src/analytics/Analytics.ts +25 -0
  202. package/src/analytics/tables/requestEvents.ts +33 -0
  203. package/src/apps/composition.test.ts +82 -2
  204. package/src/apps/data/FundingRouteProviders.test.ts +204 -0
  205. package/src/apps/data/FundingRouteProviders.ts +294 -9
  206. package/src/apps/data/routes/funding.test.ts +90 -23
  207. package/src/apps/data/routes/funding.ts +315 -0
  208. package/src/apps/management/App.ts +2 -2
  209. package/src/apps/management/Billing.ts +10 -2
  210. package/src/apps/management/routes/api-keys.test.ts +137 -1
  211. package/src/apps/management/routes/api-keys.ts +63 -38
  212. package/src/apps/management/routes/billing.ts +14 -14
  213. package/src/apps/management/routes/invitations.test.ts +102 -1
  214. package/src/apps/management/routes/invitations.ts +13 -15
  215. package/src/apps/management/routes/members.ts +10 -10
  216. package/src/apps/management/routes/orgs.test.ts +78 -16
  217. package/src/apps/management/routes/orgs.ts +21 -20
  218. package/src/apps/management/routes/projects.ts +12 -13
  219. package/src/apps/management/routes/scopes.test.ts +16 -0
  220. package/src/apps/management/routes/scopes.ts +6 -7
  221. package/src/apps/management/routes/usage.ts +9 -14
  222. package/src/apps/mcp.test.ts +25 -1
  223. package/src/apps/mcp.ts +43 -3
  224. package/src/apps/relay/App.test.ts +23 -18
  225. package/src/apps/relay/App.ts +35 -14
  226. package/src/db/Db.ts +59 -3
  227. package/src/db/Schema.ts +20 -1
  228. package/src/db/tables/adminAuditLogs.ts +47 -0
  229. package/src/db/tables/invitations.ts +1 -1
  230. package/src/db/tables/memberships.ts +59 -3
  231. package/src/db/tables/organizations.ts +148 -1
  232. package/src/db/tables/projects.ts +47 -0
  233. package/src/db/tables/webhookDeliveries.ts +83 -0
  234. package/src/internal/Auth.test.ts +174 -7
  235. package/src/internal/Auth.ts +90 -62
  236. package/src/internal/Cursor.test.ts +10 -0
  237. package/src/internal/Cursor.ts +5 -1
  238. package/src/internal/EdgeCache.test.ts +11 -0
  239. package/src/internal/EdgeCache.ts +2 -0
  240. package/src/internal/FundingRoutes.test.ts +26 -0
  241. package/src/internal/FundingRoutes.ts +187 -18
  242. package/src/internal/Log.test.ts +41 -3
  243. package/src/internal/Log.ts +23 -4
@@ -184,9 +184,46 @@ export declare namespace schema {
184
184
  export declare function transfers(): import("hono/hono-base").HonoBase<App.Environment, {
185
185
  "/v1/transfers": {
186
186
  $get: {
187
- output: null;
188
- outputFormat: "body";
189
- status: 402;
187
+ output: {
188
+ data: {
189
+ attribution?: string | undefined;
190
+ blockNumber: number;
191
+ destinationToken?: {
192
+ address: `0x${string}`;
193
+ amount: string;
194
+ currency?: string | undefined;
195
+ decimals?: number | undefined;
196
+ logoUri?: string | undefined;
197
+ name?: string | undefined;
198
+ symbol?: string | undefined;
199
+ verified?: boolean | undefined;
200
+ } | undefined;
201
+ id: string;
202
+ logIndex: number;
203
+ memo?: string | undefined;
204
+ recipient: `0x${string}`;
205
+ sender: `0x${string}`;
206
+ sourceToken: {
207
+ address: `0x${string}`;
208
+ amount: string;
209
+ currency?: string | undefined;
210
+ decimals?: number | undefined;
211
+ logoUri?: string | undefined;
212
+ name?: string | undefined;
213
+ symbol?: string | undefined;
214
+ verified?: boolean | undefined;
215
+ };
216
+ timestamp: string;
217
+ transactionHash: `0x${string}`;
218
+ }[];
219
+ meta?: {
220
+ totalCountCapped: boolean;
221
+ totalCount: number;
222
+ } | undefined;
223
+ nextCursor: string | null;
224
+ };
225
+ outputFormat: "json";
226
+ status: 200;
190
227
  input: {
191
228
  query?: {
192
229
  recipient?: string | string[];
@@ -237,14 +274,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
237
274
  } | {
238
275
  output: {
239
276
  error: {
240
- code: "api_key_invalid" | "api_key_missing";
277
+ code: "query_invalid";
241
278
  details?: readonly Response.error.Detail[] | undefined;
242
279
  message: string;
243
280
  };
244
281
  requestId: string;
245
282
  };
246
283
  outputFormat: "json";
247
- status: 401;
284
+ status: 400;
248
285
  input: {
249
286
  query?: {
250
287
  recipient?: string | string[];
@@ -266,14 +303,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
266
303
  } | {
267
304
  output: {
268
305
  error: {
269
- code: "api_key_forbidden";
306
+ code: "api_key_invalid" | "api_key_missing";
270
307
  details?: readonly Response.error.Detail[] | undefined;
271
308
  message: string;
272
309
  };
273
310
  requestId: string;
274
311
  };
275
312
  outputFormat: "json";
276
- status: 403;
313
+ status: 401;
277
314
  input: {
278
315
  query?: {
279
316
  recipient?: string | string[];
@@ -293,16 +330,9 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
293
330
  } | undefined;
294
331
  };
295
332
  } | {
296
- output: {
297
- error: {
298
- code: "payment_required" | "rate_limit_exceeded";
299
- details?: readonly Response.error.Detail[] | undefined;
300
- message: string;
301
- };
302
- requestId: string;
303
- };
304
- outputFormat: "json";
305
- status: 429;
333
+ output: null;
334
+ outputFormat: "body";
335
+ status: 402;
306
336
  input: {
307
337
  query?: {
308
338
  recipient?: string | string[];
@@ -324,14 +354,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
324
354
  } | {
325
355
  output: {
326
356
  error: {
327
- code: "query_invalid";
357
+ code: "api_key_forbidden";
328
358
  details?: readonly Response.error.Detail[] | undefined;
329
359
  message: string;
330
360
  };
331
361
  requestId: string;
332
362
  };
333
363
  outputFormat: "json";
334
- status: 400;
364
+ status: 403;
335
365
  input: {
336
366
  query?: {
337
367
  recipient?: string | string[];
@@ -353,14 +383,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
353
383
  } | {
354
384
  output: {
355
385
  error: {
356
- code: "upstream_error";
386
+ code: "payment_required" | "rate_limit_exceeded";
357
387
  details?: readonly Response.error.Detail[] | undefined;
358
388
  message: string;
359
389
  };
360
390
  requestId: string;
361
391
  };
362
392
  outputFormat: "json";
363
- status: 502;
393
+ status: 429;
364
394
  input: {
365
395
  query?: {
366
396
  recipient?: string | string[];
@@ -381,45 +411,15 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
381
411
  };
382
412
  } | {
383
413
  output: {
384
- data: {
385
- attribution?: string | undefined;
386
- blockNumber: number;
387
- destinationToken?: {
388
- address: `0x${string}`;
389
- amount: string;
390
- currency?: string | undefined;
391
- decimals?: number | undefined;
392
- logoUri?: string | undefined;
393
- name?: string | undefined;
394
- symbol?: string | undefined;
395
- verified?: boolean | undefined;
396
- } | undefined;
397
- id: string;
398
- logIndex: number;
399
- memo?: string | undefined;
400
- recipient: `0x${string}`;
401
- sender: `0x${string}`;
402
- sourceToken: {
403
- address: `0x${string}`;
404
- amount: string;
405
- currency?: string | undefined;
406
- decimals?: number | undefined;
407
- logoUri?: string | undefined;
408
- name?: string | undefined;
409
- symbol?: string | undefined;
410
- verified?: boolean | undefined;
411
- };
412
- timestamp: string;
413
- transactionHash: `0x${string}`;
414
- }[];
415
- meta?: {
416
- totalCountCapped: boolean;
417
- totalCount: number;
418
- } | undefined;
419
- nextCursor: string | null;
414
+ error: {
415
+ code: "upstream_error";
416
+ details?: readonly Response.error.Detail[] | undefined;
417
+ message: string;
418
+ };
419
+ requestId: string;
420
420
  };
421
421
  outputFormat: "json";
422
- status: 200;
422
+ status: 502;
423
423
  input: {
424
424
  query?: {
425
425
  recipient?: string | string[];
@@ -89,9 +89,19 @@ export declare namespace schema {
89
89
  export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.Environment, {
90
90
  "/v1/verified-tokens": {
91
91
  $get: {
92
- output: null;
93
- outputFormat: "body";
94
- status: 402;
92
+ output: {
93
+ data: {
94
+ address: `0x${string}`;
95
+ currency: string;
96
+ decimals: number;
97
+ logoUri?: string | undefined;
98
+ name: string;
99
+ symbol: string;
100
+ id: string;
101
+ }[];
102
+ };
103
+ outputFormat: "json";
104
+ status: 200;
95
105
  input: {
96
106
  query?: {
97
107
  chainId?: string | string[];
@@ -101,14 +111,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
101
111
  } | {
102
112
  output: {
103
113
  error: {
104
- code: "upstream_error";
114
+ code: "api_key_malformed";
105
115
  details?: readonly Response.error.Detail[] | undefined;
106
116
  message: string;
107
117
  };
108
118
  requestId: string;
109
119
  };
110
120
  outputFormat: "json";
111
- status: 502;
121
+ status: 400;
112
122
  input: {
113
123
  query?: {
114
124
  chainId?: string | string[];
@@ -118,7 +128,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
118
128
  } | {
119
129
  output: {
120
130
  error: {
121
- code: "api_key_malformed";
131
+ code: "query_invalid";
122
132
  details?: readonly Response.error.Detail[] | undefined;
123
133
  message: string;
124
134
  };
@@ -149,6 +159,16 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
149
159
  currency?: string | string[];
150
160
  } | undefined;
151
161
  };
162
+ } | {
163
+ output: null;
164
+ outputFormat: "body";
165
+ status: 402;
166
+ input: {
167
+ query?: {
168
+ chainId?: string | string[];
169
+ currency?: string | string[];
170
+ } | undefined;
171
+ };
152
172
  } | {
153
173
  output: {
154
174
  error: {
@@ -186,34 +206,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
186
206
  } | {
187
207
  output: {
188
208
  error: {
189
- code: "query_invalid";
209
+ code: "upstream_error";
190
210
  details?: readonly Response.error.Detail[] | undefined;
191
211
  message: string;
192
212
  };
193
213
  requestId: string;
194
214
  };
195
215
  outputFormat: "json";
196
- status: 400;
197
- input: {
198
- query?: {
199
- chainId?: string | string[];
200
- currency?: string | string[];
201
- } | undefined;
202
- };
203
- } | {
204
- output: {
205
- data: {
206
- address: `0x${string}`;
207
- currency: string;
208
- decimals: number;
209
- logoUri?: string | undefined;
210
- name: string;
211
- symbol: string;
212
- id: string;
213
- }[];
214
- };
215
- outputFormat: "json";
216
- status: 200;
216
+ status: 502;
217
217
  input: {
218
218
  query?: {
219
219
  chainId?: string | string[];
@@ -225,9 +225,11 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
225
225
  } & {
226
226
  "/v1/verified-tokens/currencies": {
227
227
  $get: {
228
- output: null;
229
- outputFormat: "body";
230
- status: 402;
228
+ output: {
229
+ data: string[];
230
+ };
231
+ outputFormat: "json";
232
+ status: 200;
231
233
  input: {
232
234
  query?: {
233
235
  chainId?: string | string[];
@@ -236,14 +238,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
236
238
  } | {
237
239
  output: {
238
240
  error: {
239
- code: "upstream_error";
241
+ code: "api_key_malformed";
240
242
  details?: readonly Response.error.Detail[] | undefined;
241
243
  message: string;
242
244
  };
243
245
  requestId: string;
244
246
  };
245
247
  outputFormat: "json";
246
- status: 502;
248
+ status: 400;
247
249
  input: {
248
250
  query?: {
249
251
  chainId?: string | string[];
@@ -252,7 +254,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
252
254
  } | {
253
255
  output: {
254
256
  error: {
255
- code: "api_key_malformed";
257
+ code: "query_invalid";
256
258
  details?: readonly Response.error.Detail[] | undefined;
257
259
  message: string;
258
260
  };
@@ -281,6 +283,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
281
283
  chainId?: string | string[];
282
284
  } | undefined;
283
285
  };
286
+ } | {
287
+ output: null;
288
+ outputFormat: "body";
289
+ status: 402;
290
+ input: {
291
+ query?: {
292
+ chainId?: string | string[];
293
+ } | undefined;
294
+ };
284
295
  } | {
285
296
  output: {
286
297
  error: {
@@ -316,25 +327,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
316
327
  } | {
317
328
  output: {
318
329
  error: {
319
- code: "query_invalid";
330
+ code: "upstream_error";
320
331
  details?: readonly Response.error.Detail[] | undefined;
321
332
  message: string;
322
333
  };
323
334
  requestId: string;
324
335
  };
325
336
  outputFormat: "json";
326
- status: 400;
327
- input: {
328
- query?: {
329
- chainId?: string | string[];
330
- } | undefined;
331
- };
332
- } | {
333
- output: {
334
- data: string[];
335
- };
336
- outputFormat: "json";
337
- status: 200;
337
+ status: 502;
338
338
  input: {
339
339
  query?: {
340
340
  chainId?: string | string[];
@@ -345,9 +345,17 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
345
345
  } & {
346
346
  "/v1/verified-tokens/:address": {
347
347
  $get: {
348
- output: null;
349
- outputFormat: "body";
350
- status: 402;
348
+ output: {
349
+ address: `0x${string}`;
350
+ currency: string;
351
+ decimals: number;
352
+ logoUri?: string | undefined;
353
+ name: string;
354
+ symbol: string;
355
+ id: string;
356
+ };
357
+ outputFormat: "json";
358
+ status: 200;
351
359
  input: {
352
360
  param: {
353
361
  address: `0x${string}`;
@@ -360,14 +368,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
360
368
  } | {
361
369
  output: {
362
370
  error: {
363
- code: "upstream_error";
371
+ code: "api_key_malformed";
364
372
  details?: readonly Response.error.Detail[] | undefined;
365
373
  message: string;
366
374
  };
367
375
  requestId: string;
368
376
  };
369
377
  outputFormat: "json";
370
- status: 502;
378
+ status: 400;
371
379
  input: {
372
380
  param: {
373
381
  address: `0x${string}`;
@@ -380,7 +388,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
380
388
  } | {
381
389
  output: {
382
390
  error: {
383
- code: "api_key_malformed";
391
+ code: "query_invalid";
384
392
  details?: readonly Response.error.Detail[] | undefined;
385
393
  message: string;
386
394
  };
@@ -400,14 +408,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
400
408
  } | {
401
409
  output: {
402
410
  error: {
403
- code: "api_key_invalid" | "api_key_missing";
411
+ code: "address_invalid";
404
412
  details?: readonly Response.error.Detail[] | undefined;
405
413
  message: string;
406
414
  };
407
415
  requestId: string;
408
416
  };
409
417
  outputFormat: "json";
410
- status: 401;
418
+ status: 400;
411
419
  input: {
412
420
  param: {
413
421
  address: `0x${string}`;
@@ -420,14 +428,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
420
428
  } | {
421
429
  output: {
422
430
  error: {
423
- code: "api_key_forbidden";
431
+ code: "api_key_invalid" | "api_key_missing";
424
432
  details?: readonly Response.error.Detail[] | undefined;
425
433
  message: string;
426
434
  };
427
435
  requestId: string;
428
436
  };
429
437
  outputFormat: "json";
430
- status: 403;
438
+ status: 401;
431
439
  input: {
432
440
  param: {
433
441
  address: `0x${string}`;
@@ -438,16 +446,9 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
438
446
  } | undefined;
439
447
  };
440
448
  } | {
441
- output: {
442
- error: {
443
- code: "payment_required" | "rate_limit_exceeded";
444
- details?: readonly Response.error.Detail[] | undefined;
445
- message: string;
446
- };
447
- requestId: string;
448
- };
449
- outputFormat: "json";
450
- status: 429;
449
+ output: null;
450
+ outputFormat: "body";
451
+ status: 402;
451
452
  input: {
452
453
  param: {
453
454
  address: `0x${string}`;
@@ -460,14 +461,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
460
461
  } | {
461
462
  output: {
462
463
  error: {
463
- code: "query_invalid";
464
+ code: "api_key_forbidden";
464
465
  details?: readonly Response.error.Detail[] | undefined;
465
466
  message: string;
466
467
  };
467
468
  requestId: string;
468
469
  };
469
470
  outputFormat: "json";
470
- status: 400;
471
+ status: 403;
471
472
  input: {
472
473
  param: {
473
474
  address: `0x${string}`;
@@ -480,14 +481,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
480
481
  } | {
481
482
  output: {
482
483
  error: {
483
- code: "address_invalid";
484
+ code: "verified_token_not_found";
484
485
  details?: readonly Response.error.Detail[] | undefined;
485
486
  message: string;
486
487
  };
487
488
  requestId: string;
488
489
  };
489
490
  outputFormat: "json";
490
- status: 400;
491
+ status: 404;
491
492
  input: {
492
493
  param: {
493
494
  address: `0x${string}`;
@@ -500,14 +501,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
500
501
  } | {
501
502
  output: {
502
503
  error: {
503
- code: "verified_token_not_found";
504
+ code: "payment_required" | "rate_limit_exceeded";
504
505
  details?: readonly Response.error.Detail[] | undefined;
505
506
  message: string;
506
507
  };
507
508
  requestId: string;
508
509
  };
509
510
  outputFormat: "json";
510
- status: 404;
511
+ status: 429;
511
512
  input: {
512
513
  param: {
513
514
  address: `0x${string}`;
@@ -519,16 +520,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
519
520
  };
520
521
  } | {
521
522
  output: {
522
- address: `0x${string}`;
523
- currency: string;
524
- decimals: number;
525
- logoUri?: string | undefined;
526
- name: string;
527
- symbol: string;
528
- id: string;
523
+ error: {
524
+ code: "upstream_error";
525
+ details?: readonly Response.error.Detail[] | undefined;
526
+ message: string;
527
+ };
528
+ requestId: string;
529
529
  };
530
530
  outputFormat: "json";
531
- status: 200;
531
+ status: 502;
532
532
  input: {
533
533
  param: {
534
534
  address: `0x${string}`;