tapimo 0.5.3 → 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 (289) 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 +526 -1
  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 +872 -251
  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/rpc.d.ts +31 -31
  64. package/dist/apps/data/routes/tokens.d.ts +166 -173
  65. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  66. package/dist/apps/data/routes/tokens.js +14 -12
  67. package/dist/apps/data/routes/tokens.js.map +1 -1
  68. package/dist/apps/data/routes/transactions.d.ts +277 -536
  69. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  70. package/dist/apps/data/routes/transactions.js +96 -77
  71. package/dist/apps/data/routes/transactions.js.map +1 -1
  72. package/dist/apps/data/routes/transfers.d.ts +82 -17
  73. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  74. package/dist/apps/data/routes/transfers.js +70 -13
  75. package/dist/apps/data/routes/transfers.js.map +1 -1
  76. package/dist/apps/data/routes/valuation.d.ts +307 -0
  77. package/dist/apps/data/routes/valuation.d.ts.map +1 -0
  78. package/dist/apps/data/routes/valuation.js +292 -0
  79. package/dist/apps/data/routes/valuation.js.map +1 -0
  80. package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
  81. package/dist/apps/data/routes/verified-tokens.js +7 -5
  82. package/dist/apps/data/routes/verified-tokens.js.map +1 -1
  83. package/dist/apps/data/routes/webhooks.d.ts +459 -479
  84. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  85. package/dist/apps/data/routes/webhooks.js +124 -25
  86. package/dist/apps/data/routes/webhooks.js.map +1 -1
  87. package/dist/apps/index.d.ts +1 -1
  88. package/dist/apps/index.d.ts.map +1 -1
  89. package/dist/apps/index.js +1 -1
  90. package/dist/apps/index.js.map +1 -1
  91. package/dist/apps/management/App.d.ts +8606 -1681
  92. package/dist/apps/management/App.d.ts.map +1 -1
  93. package/dist/apps/management/App.js +12 -1
  94. package/dist/apps/management/App.js.map +1 -1
  95. package/dist/apps/management/routes/api-keys.d.ts +23 -0
  96. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  97. package/dist/apps/management/routes/api-keys.js +5 -3
  98. package/dist/apps/management/routes/api-keys.js.map +1 -1
  99. package/dist/apps/management/routes/billing.d.ts +88 -48
  100. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  101. package/dist/apps/management/routes/billing.js +10 -2
  102. package/dist/apps/management/routes/billing.js.map +1 -1
  103. package/dist/apps/management/routes/faucet.d.ts +218 -0
  104. package/dist/apps/management/routes/faucet.d.ts.map +1 -0
  105. package/dist/apps/management/routes/faucet.js +139 -0
  106. package/dist/apps/management/routes/faucet.js.map +1 -0
  107. package/dist/apps/management/routes/invitations.d.ts +121 -121
  108. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  109. package/dist/apps/management/routes/invitations.js +3 -0
  110. package/dist/apps/management/routes/invitations.js.map +1 -1
  111. package/dist/apps/management/routes/invite-links.d.ts +49 -20
  112. package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
  113. package/dist/apps/management/routes/invite-links.js +26 -1
  114. package/dist/apps/management/routes/invite-links.js.map +1 -1
  115. package/dist/apps/management/routes/me.d.ts +2 -0
  116. package/dist/apps/management/routes/me.d.ts.map +1 -1
  117. package/dist/apps/management/routes/me.js +4 -0
  118. package/dist/apps/management/routes/me.js.map +1 -1
  119. package/dist/apps/management/routes/members.d.ts +49 -49
  120. package/dist/apps/management/routes/orgs.d.ts +91 -91
  121. package/dist/apps/management/routes/projects.d.ts +44 -44
  122. package/dist/apps/management/routes/usage.d.ts +35 -32
  123. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  124. package/dist/apps/management/routes/usage.js +4 -0
  125. package/dist/apps/management/routes/usage.js.map +1 -1
  126. package/dist/apps/management/routes/verified-token-requests.d.ts +697 -0
  127. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -0
  128. package/dist/apps/management/routes/verified-token-requests.js +271 -0
  129. package/dist/apps/management/routes/verified-token-requests.js.map +1 -0
  130. package/dist/apps/management/routes/webhooks.d.ts +6977 -0
  131. package/dist/apps/management/routes/webhooks.d.ts.map +1 -0
  132. package/dist/apps/management/routes/webhooks.js +573 -0
  133. package/dist/apps/management/routes/webhooks.js.map +1 -0
  134. package/dist/db/Db.d.ts +4 -0
  135. package/dist/db/Db.d.ts.map +1 -1
  136. package/dist/db/Db.js +83 -0
  137. package/dist/db/Db.js.map +1 -1
  138. package/dist/db/Schema.d.ts +41 -0
  139. package/dist/db/Schema.d.ts.map +1 -1
  140. package/dist/db/Schema.js +45 -0
  141. package/dist/db/Schema.js.map +1 -1
  142. package/dist/db/tables/earlyAccess.d.ts +50 -0
  143. package/dist/db/tables/earlyAccess.d.ts.map +1 -0
  144. package/dist/db/tables/earlyAccess.js +63 -0
  145. package/dist/db/tables/earlyAccess.js.map +1 -0
  146. package/dist/db/tables/invitations.d.ts +12 -1
  147. package/dist/db/tables/invitations.d.ts.map +1 -1
  148. package/dist/db/tables/invitations.js +23 -0
  149. package/dist/db/tables/invitations.js.map +1 -1
  150. package/dist/db/tables/inviteLinks.d.ts +10 -2
  151. package/dist/db/tables/inviteLinks.d.ts.map +1 -1
  152. package/dist/db/tables/inviteLinks.js +10 -1
  153. package/dist/db/tables/inviteLinks.js.map +1 -1
  154. package/dist/db/tables/sponsoredTransactions.d.ts +2 -0
  155. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  156. package/dist/db/tables/sponsoredTransactions.js +2 -0
  157. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  158. package/dist/db/tables/verifiedTokenRequests.d.ts +94 -0
  159. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -0
  160. package/dist/db/tables/verifiedTokenRequests.js +120 -0
  161. package/dist/db/tables/verifiedTokenRequests.js.map +1 -0
  162. package/dist/db/tables/webhookSubscriptions.d.ts +14 -0
  163. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  164. package/dist/db/tables/webhookSubscriptions.js +16 -0
  165. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  166. package/dist/internal/Auth.d.ts +43 -2
  167. package/dist/internal/Auth.d.ts.map +1 -1
  168. package/dist/internal/Auth.js +60 -45
  169. package/dist/internal/Auth.js.map +1 -1
  170. package/dist/internal/FundingQuotes.d.ts +69 -15
  171. package/dist/internal/FundingQuotes.d.ts.map +1 -1
  172. package/dist/internal/FundingQuotes.js +74 -25
  173. package/dist/internal/FundingQuotes.js.map +1 -1
  174. package/dist/internal/Log.d.ts +19 -1
  175. package/dist/internal/Log.d.ts.map +1 -1
  176. package/dist/internal/Log.js +2 -0
  177. package/dist/internal/Log.js.map +1 -1
  178. package/dist/internal/MetricSink.d.ts.map +1 -1
  179. package/dist/internal/MetricSink.js +9 -0
  180. package/dist/internal/MetricSink.js.map +1 -1
  181. package/dist/internal/OpenApi.d.ts +2 -2
  182. package/dist/internal/OpenApi.d.ts.map +1 -1
  183. package/dist/internal/OpenApi.js +3 -0
  184. package/dist/internal/OpenApi.js.map +1 -1
  185. package/dist/internal/Schema.d.ts +14 -5
  186. package/dist/internal/Schema.d.ts.map +1 -1
  187. package/dist/internal/Schema.js +23 -5
  188. package/dist/internal/Schema.js.map +1 -1
  189. package/dist/internal/Value.d.ts +18 -0
  190. package/dist/internal/Value.d.ts.map +1 -1
  191. package/dist/internal/Value.js +11 -1
  192. package/dist/internal/Value.js.map +1 -1
  193. package/dist/internal/VerifiedTokens.d.ts.map +1 -1
  194. package/dist/internal/VerifiedTokens.js +10 -1
  195. package/dist/internal/VerifiedTokens.js.map +1 -1
  196. package/dist/internal/Viem.d.ts +1 -1
  197. package/dist/internal/Webhooks.d.ts +24 -3
  198. package/dist/internal/Webhooks.d.ts.map +1 -1
  199. package/dist/internal/Webhooks.js +34 -8
  200. package/dist/internal/Webhooks.js.map +1 -1
  201. package/package.json +1 -1
  202. package/src/App.ts +9 -1
  203. package/src/Client.test-d.ts +638 -6
  204. package/src/admin/App.ts +4 -0
  205. package/src/admin/apps/early-access.test.ts +125 -0
  206. package/src/admin/apps/early-access.ts +175 -0
  207. package/src/admin/apps/verified-tokens.test.ts +201 -0
  208. package/src/admin/apps/verified-tokens.ts +532 -286
  209. package/src/admin/ui/plugin.ts +2 -1
  210. package/src/admin/ui/src/lib/early-access.ts +63 -0
  211. package/src/admin/ui/src/lib/verified-tokens.ts +79 -0
  212. package/src/admin/ui/src/routeTree.gen.ts +33 -2
  213. package/src/admin/ui/src/routes/__root.tsx +2 -1
  214. package/src/admin/ui/src/routes/early-access.tsx +157 -0
  215. package/src/admin/ui/src/routes/verified-tokens.tsx +230 -19
  216. package/src/admin/ui.generated.ts +48 -33
  217. package/src/apps/data/App.ts +22 -14
  218. package/src/apps/data/FundingQuoteProviders.test.ts +298 -0
  219. package/src/apps/data/FundingQuoteProviders.ts +257 -4
  220. package/src/apps/data/FxOracle.test.ts +118 -0
  221. package/src/apps/data/FxOracle.ts +153 -0
  222. package/src/apps/data/index.ts +1 -0
  223. package/src/apps/data/routes/activities.test.ts +173 -3
  224. package/src/apps/data/routes/activities.ts +403 -132
  225. package/src/apps/data/routes/addresses.ts +19 -9
  226. package/src/apps/data/routes/balances.test.ts +144 -11
  227. package/src/apps/data/routes/balances.ts +140 -51
  228. package/src/apps/data/routes/exchanges.test.ts +540 -9
  229. package/src/apps/data/routes/exchanges.ts +690 -103
  230. package/src/apps/data/routes/funding.test.ts +84 -0
  231. package/src/apps/data/routes/funding.ts +38 -6
  232. package/src/apps/data/routes/receipts.test.ts +125 -23
  233. package/src/apps/data/routes/receipts.ts +205 -100
  234. package/src/apps/data/routes/tokens.test.ts +43 -0
  235. package/src/apps/data/routes/tokens.ts +27 -12
  236. package/src/apps/data/routes/transactions.test.ts +72 -19
  237. package/src/apps/data/routes/transactions.ts +162 -92
  238. package/src/apps/data/routes/transfers.test.ts +146 -4
  239. package/src/apps/data/routes/transfers.ts +91 -13
  240. package/src/apps/data/routes/valuation.test.ts +422 -0
  241. package/src/apps/data/routes/valuation.ts +423 -0
  242. package/src/apps/data/routes/verified-tokens.ts +14 -2
  243. package/src/apps/data/routes/webhooks.test.ts +56 -8
  244. package/src/apps/data/routes/webhooks.ts +144 -27
  245. package/src/apps/index.ts +1 -1
  246. package/src/apps/management/App.ts +13 -0
  247. package/src/apps/management/routes/api-keys.test.ts +87 -0
  248. package/src/apps/management/routes/api-keys.ts +4 -3
  249. package/src/apps/management/routes/billing.test.ts +112 -1
  250. package/src/apps/management/routes/billing.ts +7 -2
  251. package/src/apps/management/routes/faucet.test.ts +79 -0
  252. package/src/apps/management/routes/faucet.ts +185 -0
  253. package/src/apps/management/routes/invitations.test.ts +172 -0
  254. package/src/apps/management/routes/invitations.ts +3 -0
  255. package/src/apps/management/routes/invite-links.test.ts +117 -0
  256. package/src/apps/management/routes/invite-links.ts +43 -1
  257. package/src/apps/management/routes/me.test.ts +140 -88
  258. package/src/apps/management/routes/me.ts +6 -0
  259. package/src/apps/management/routes/usage.test.ts +6 -0
  260. package/src/apps/management/routes/usage.ts +7 -0
  261. package/src/apps/management/routes/verified-token-requests.test.ts +377 -0
  262. package/src/apps/management/routes/verified-token-requests.ts +397 -0
  263. package/src/apps/management/routes/webhooks.test.ts +426 -0
  264. package/src/apps/management/routes/webhooks.ts +672 -0
  265. package/src/db/Db.test.ts +19 -0
  266. package/src/db/Db.ts +95 -0
  267. package/src/db/Schema.ts +53 -0
  268. package/src/db/tables/earlyAccess.ts +86 -0
  269. package/src/db/tables/invitations.ts +26 -1
  270. package/src/db/tables/inviteLinks.ts +22 -3
  271. package/src/db/tables/sponsoredTransactions.ts +4 -0
  272. package/src/db/tables/verifiedTokenRequests.test.ts +200 -0
  273. package/src/db/tables/verifiedTokenRequests.ts +182 -0
  274. package/src/db/tables/webhookSubscriptions.ts +31 -0
  275. package/src/internal/Auth.ts +73 -45
  276. package/src/internal/FundingQuotes.test.ts +143 -1
  277. package/src/internal/FundingQuotes.ts +95 -28
  278. package/src/internal/Log.test-d.ts +21 -0
  279. package/src/internal/Log.test.ts +50 -0
  280. package/src/internal/Log.ts +24 -1
  281. package/src/internal/MetricSink.test.ts +160 -0
  282. package/src/internal/MetricSink.ts +10 -0
  283. package/src/internal/OpenApi.ts +3 -0
  284. package/src/internal/Schema.ts +50 -5
  285. package/src/internal/Value.test.ts +20 -0
  286. package/src/internal/Value.ts +24 -1
  287. package/src/internal/VerifiedTokens.ts +9 -1
  288. package/src/internal/Webhooks.test.ts +140 -0
  289. package/src/internal/Webhooks.ts +53 -9
@@ -0,0 +1,697 @@
1
+ import * as z from 'zod/mini';
2
+ import * as Response from '../../../internal/Response.js';
3
+ import type { Environment } from '../App.js';
4
+ /** OpenAPI schemas owned by verified-token requests. */
5
+ export declare namespace schema {
6
+ /**
7
+ * An organization's verification request (response shape). `reviewedBy` is
8
+ * deliberately absent: reviewer identity stays on the admin surface.
9
+ */
10
+ const VerifiedTokenRequest: z.ZodMiniObject<{
11
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
12
+ currency: z.ZodMiniString<string>;
13
+ decimals: z.ZodMiniNumber<number>;
14
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
15
+ name: z.ZodMiniString<string>;
16
+ symbol: z.ZodMiniString<string>;
17
+ chainId: z.ZodMiniNumber<number>;
18
+ createdAt: z.ZodMiniString<string>;
19
+ id: z.ZodMiniString<string>;
20
+ logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
21
+ note: z.ZodMiniNullable<z.ZodMiniString<string>>;
22
+ orgId: z.ZodMiniString<string>;
23
+ requestedBy: z.ZodMiniString<string>;
24
+ reviewNote: z.ZodMiniNullable<z.ZodMiniString<string>>;
25
+ reviewedAt: z.ZodMiniNullable<z.ZodMiniString<string>>;
26
+ status: z.ZodMiniEnum<{
27
+ approved: "approved";
28
+ denied: "denied";
29
+ pending: "pending";
30
+ }>;
31
+ updatedAt: z.ZodMiniString<string>;
32
+ }, z.core.$strip>;
33
+ /**
34
+ * Create body. The shared token fields trust admin curation, so the
35
+ * member-facing surface re-declares them with length caps.
36
+ */
37
+ const CreateBody: z.ZodMiniObject<{
38
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
39
+ decimals: z.ZodMiniNumber<number>;
40
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
41
+ mainnet: "mainnet";
42
+ testnet: "testnet";
43
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
44
+ currency: z.ZodMiniString<string>;
45
+ logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
46
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
47
+ name: z.ZodMiniString<string>;
48
+ note: z.ZodMiniOptional<z.ZodMiniString<string>>;
49
+ symbol: z.ZodMiniString<string>;
50
+ }, z.core.$strip>;
51
+ /** Non-paginated list of an organization's requests. */
52
+ const ListResponse: z.ZodMiniObject<{
53
+ data: z.ZodMiniArray<z.ZodMiniObject<{
54
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
55
+ currency: z.ZodMiniString<string>;
56
+ decimals: z.ZodMiniNumber<number>;
57
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
58
+ name: z.ZodMiniString<string>;
59
+ symbol: z.ZodMiniString<string>;
60
+ chainId: z.ZodMiniNumber<number>;
61
+ createdAt: z.ZodMiniString<string>;
62
+ id: z.ZodMiniString<string>;
63
+ logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
64
+ note: z.ZodMiniNullable<z.ZodMiniString<string>>;
65
+ orgId: z.ZodMiniString<string>;
66
+ requestedBy: z.ZodMiniString<string>;
67
+ reviewNote: z.ZodMiniNullable<z.ZodMiniString<string>>;
68
+ reviewedAt: z.ZodMiniNullable<z.ZodMiniString<string>>;
69
+ status: z.ZodMiniEnum<{
70
+ approved: "approved";
71
+ denied: "denied";
72
+ pending: "pending";
73
+ }>;
74
+ updatedAt: z.ZodMiniString<string>;
75
+ }, z.core.$strip>>;
76
+ }, z.core.$strip>;
77
+ /** Path parameters addressing an organization's requests. */
78
+ const Params: z.ZodMiniObject<{
79
+ orgId: z.ZodMiniString<string>;
80
+ }, z.core.$strip>;
81
+ /** Path parameters addressing one verification request. */
82
+ const RequestParams: z.ZodMiniObject<{
83
+ orgId: z.ZodMiniString<string>;
84
+ requestId: z.ZodMiniString<string>;
85
+ }, z.core.$strip>;
86
+ /** Cancel confirmation. */
87
+ const DeleteResponse: z.ZodMiniObject<{
88
+ id: z.ZodMiniString<string>;
89
+ }, z.core.$strip>;
90
+ }
91
+ /** Mounts organization verified-token request operations. */
92
+ export declare function verifiedTokenRequests(): import("hono/hono-base").HonoBase<Environment, {
93
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests": {
94
+ $post: {
95
+ output: {
96
+ address: `0x${string}`;
97
+ currency: string;
98
+ decimals: number;
99
+ logoUri?: string | undefined;
100
+ name: string;
101
+ symbol: string;
102
+ chainId: number;
103
+ createdAt: string;
104
+ id: string;
105
+ logo?: string | undefined;
106
+ note: string | null;
107
+ orgId: string;
108
+ requestedBy: string;
109
+ reviewNote: string | null;
110
+ reviewedAt: string | null;
111
+ status: "approved" | "denied" | "pending";
112
+ updatedAt: string;
113
+ };
114
+ outputFormat: "json";
115
+ status: 200;
116
+ input: {
117
+ param: {
118
+ orgId: string;
119
+ };
120
+ } & {
121
+ json: {
122
+ address: `0x${string}`;
123
+ decimals: number;
124
+ chainId: unknown;
125
+ currency: string;
126
+ logo?: string | undefined;
127
+ logoUri?: string | undefined;
128
+ name: string;
129
+ note?: string | undefined;
130
+ symbol: string;
131
+ };
132
+ };
133
+ } | {
134
+ output: {
135
+ error: {
136
+ code: "api_key_malformed";
137
+ details?: readonly Response.error.Detail[] | undefined;
138
+ message: string;
139
+ };
140
+ requestId: string;
141
+ };
142
+ outputFormat: "json";
143
+ status: 400;
144
+ input: {
145
+ param: {
146
+ orgId: string;
147
+ };
148
+ } & {
149
+ json: {
150
+ address: `0x${string}`;
151
+ decimals: number;
152
+ chainId: unknown;
153
+ currency: string;
154
+ logo?: string | undefined;
155
+ logoUri?: string | undefined;
156
+ name: string;
157
+ note?: string | undefined;
158
+ symbol: string;
159
+ };
160
+ };
161
+ } | {
162
+ output: {
163
+ error: {
164
+ code: "body_invalid";
165
+ details?: readonly Response.error.Detail[] | undefined;
166
+ message: string;
167
+ };
168
+ requestId: string;
169
+ };
170
+ outputFormat: "json";
171
+ status: 400;
172
+ input: {
173
+ param: {
174
+ orgId: string;
175
+ };
176
+ } & {
177
+ json: {
178
+ address: `0x${string}`;
179
+ decimals: number;
180
+ chainId: unknown;
181
+ currency: string;
182
+ logo?: string | undefined;
183
+ logoUri?: string | undefined;
184
+ name: string;
185
+ note?: string | undefined;
186
+ symbol: string;
187
+ };
188
+ };
189
+ } | {
190
+ output: {
191
+ error: {
192
+ code: "api_key_invalid" | "api_key_missing";
193
+ details?: readonly Response.error.Detail[] | undefined;
194
+ message: string;
195
+ };
196
+ requestId: string;
197
+ };
198
+ outputFormat: "json";
199
+ status: 401;
200
+ input: {
201
+ param: {
202
+ orgId: string;
203
+ };
204
+ } & {
205
+ json: {
206
+ address: `0x${string}`;
207
+ decimals: number;
208
+ chainId: unknown;
209
+ currency: string;
210
+ logo?: string | undefined;
211
+ logoUri?: string | undefined;
212
+ name: string;
213
+ note?: string | undefined;
214
+ symbol: string;
215
+ };
216
+ };
217
+ } | {
218
+ output: {
219
+ error: {
220
+ code: "forbidden";
221
+ details?: readonly Response.error.Detail[] | undefined;
222
+ message: string;
223
+ };
224
+ requestId: string;
225
+ };
226
+ outputFormat: "json";
227
+ status: 403;
228
+ input: {
229
+ param: {
230
+ orgId: string;
231
+ };
232
+ } & {
233
+ json: {
234
+ address: `0x${string}`;
235
+ decimals: number;
236
+ chainId: unknown;
237
+ currency: string;
238
+ logo?: string | undefined;
239
+ logoUri?: string | undefined;
240
+ name: string;
241
+ note?: string | undefined;
242
+ symbol: string;
243
+ };
244
+ };
245
+ } | {
246
+ output: {
247
+ error: {
248
+ code: "organization_not_found";
249
+ details?: readonly Response.error.Detail[] | undefined;
250
+ message: string;
251
+ };
252
+ requestId: string;
253
+ };
254
+ outputFormat: "json";
255
+ status: 404;
256
+ input: {
257
+ param: {
258
+ orgId: string;
259
+ };
260
+ } & {
261
+ json: {
262
+ address: `0x${string}`;
263
+ decimals: number;
264
+ chainId: unknown;
265
+ currency: string;
266
+ logo?: string | undefined;
267
+ logoUri?: string | undefined;
268
+ name: string;
269
+ note?: string | undefined;
270
+ symbol: string;
271
+ };
272
+ };
273
+ } | {
274
+ output: {
275
+ error: {
276
+ code: "verified_token_exists";
277
+ details?: readonly Response.error.Detail[] | undefined;
278
+ message: string;
279
+ };
280
+ requestId: string;
281
+ };
282
+ outputFormat: "json";
283
+ status: 409;
284
+ input: {
285
+ param: {
286
+ orgId: string;
287
+ };
288
+ } & {
289
+ json: {
290
+ address: `0x${string}`;
291
+ decimals: number;
292
+ chainId: unknown;
293
+ currency: string;
294
+ logo?: string | undefined;
295
+ logoUri?: string | undefined;
296
+ name: string;
297
+ note?: string | undefined;
298
+ symbol: string;
299
+ };
300
+ };
301
+ } | {
302
+ output: {
303
+ error: {
304
+ code: "verified_symbol_exists";
305
+ details?: readonly Response.error.Detail[] | undefined;
306
+ message: string;
307
+ };
308
+ requestId: string;
309
+ };
310
+ outputFormat: "json";
311
+ status: 409;
312
+ input: {
313
+ param: {
314
+ orgId: string;
315
+ };
316
+ } & {
317
+ json: {
318
+ address: `0x${string}`;
319
+ decimals: number;
320
+ chainId: unknown;
321
+ currency: string;
322
+ logo?: string | undefined;
323
+ logoUri?: string | undefined;
324
+ name: string;
325
+ note?: string | undefined;
326
+ symbol: string;
327
+ };
328
+ };
329
+ } | {
330
+ output: {
331
+ error: {
332
+ code: "request_limit_reached";
333
+ details?: readonly Response.error.Detail[] | undefined;
334
+ message: string;
335
+ };
336
+ requestId: string;
337
+ };
338
+ outputFormat: "json";
339
+ status: 409;
340
+ input: {
341
+ param: {
342
+ orgId: string;
343
+ };
344
+ } & {
345
+ json: {
346
+ address: `0x${string}`;
347
+ decimals: number;
348
+ chainId: unknown;
349
+ currency: string;
350
+ logo?: string | undefined;
351
+ logoUri?: string | undefined;
352
+ name: string;
353
+ note?: string | undefined;
354
+ symbol: string;
355
+ };
356
+ };
357
+ } | {
358
+ output: {
359
+ error: {
360
+ code: "request_pending_exists";
361
+ details?: readonly Response.error.Detail[] | undefined;
362
+ message: string;
363
+ };
364
+ requestId: string;
365
+ };
366
+ outputFormat: "json";
367
+ status: 409;
368
+ input: {
369
+ param: {
370
+ orgId: string;
371
+ };
372
+ } & {
373
+ json: {
374
+ address: `0x${string}`;
375
+ decimals: number;
376
+ chainId: unknown;
377
+ currency: string;
378
+ logo?: string | undefined;
379
+ logoUri?: string | undefined;
380
+ name: string;
381
+ note?: string | undefined;
382
+ symbol: string;
383
+ };
384
+ };
385
+ } | {
386
+ output: {
387
+ error: {
388
+ code: "upstream_error";
389
+ details?: readonly Response.error.Detail[] | undefined;
390
+ message: string;
391
+ };
392
+ requestId: string;
393
+ };
394
+ outputFormat: "json";
395
+ status: 502;
396
+ input: {
397
+ param: {
398
+ orgId: string;
399
+ };
400
+ } & {
401
+ json: {
402
+ address: `0x${string}`;
403
+ decimals: number;
404
+ chainId: unknown;
405
+ currency: string;
406
+ logo?: string | undefined;
407
+ logoUri?: string | undefined;
408
+ name: string;
409
+ note?: string | undefined;
410
+ symbol: string;
411
+ };
412
+ };
413
+ };
414
+ };
415
+ } & {
416
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests": {
417
+ $get: {
418
+ output: {
419
+ data: {
420
+ address: `0x${string}`;
421
+ currency: string;
422
+ decimals: number;
423
+ logoUri?: string | undefined;
424
+ name: string;
425
+ symbol: string;
426
+ chainId: number;
427
+ createdAt: string;
428
+ id: string;
429
+ logo?: string | undefined;
430
+ note: string | null;
431
+ orgId: string;
432
+ requestedBy: string;
433
+ reviewNote: string | null;
434
+ reviewedAt: string | null;
435
+ status: "approved" | "denied" | "pending";
436
+ updatedAt: string;
437
+ }[];
438
+ };
439
+ outputFormat: "json";
440
+ status: 200;
441
+ input: {
442
+ param: {
443
+ orgId: string;
444
+ };
445
+ };
446
+ } | {
447
+ output: {
448
+ error: {
449
+ code: "api_key_malformed";
450
+ details?: readonly Response.error.Detail[] | undefined;
451
+ message: string;
452
+ };
453
+ requestId: string;
454
+ };
455
+ outputFormat: "json";
456
+ status: 400;
457
+ input: {
458
+ param: {
459
+ orgId: string;
460
+ };
461
+ };
462
+ } | {
463
+ output: {
464
+ error: {
465
+ code: "param_invalid";
466
+ details?: readonly Response.error.Detail[] | undefined;
467
+ message: string;
468
+ };
469
+ requestId: string;
470
+ };
471
+ outputFormat: "json";
472
+ status: 400;
473
+ input: {
474
+ param: {
475
+ orgId: string;
476
+ };
477
+ };
478
+ } | {
479
+ output: {
480
+ error: {
481
+ code: "api_key_invalid" | "api_key_missing";
482
+ details?: readonly Response.error.Detail[] | undefined;
483
+ message: string;
484
+ };
485
+ requestId: string;
486
+ };
487
+ outputFormat: "json";
488
+ status: 401;
489
+ input: {
490
+ param: {
491
+ orgId: string;
492
+ };
493
+ };
494
+ } | {
495
+ output: {
496
+ error: {
497
+ code: "forbidden";
498
+ details?: readonly Response.error.Detail[] | undefined;
499
+ message: string;
500
+ };
501
+ requestId: string;
502
+ };
503
+ outputFormat: "json";
504
+ status: 403;
505
+ input: {
506
+ param: {
507
+ orgId: string;
508
+ };
509
+ };
510
+ } | {
511
+ output: {
512
+ error: {
513
+ code: "organization_not_found";
514
+ details?: readonly Response.error.Detail[] | undefined;
515
+ message: string;
516
+ };
517
+ requestId: string;
518
+ };
519
+ outputFormat: "json";
520
+ status: 404;
521
+ input: {
522
+ param: {
523
+ orgId: string;
524
+ };
525
+ };
526
+ } | {
527
+ output: {
528
+ error: {
529
+ code: "upstream_error";
530
+ details?: readonly Response.error.Detail[] | undefined;
531
+ message: string;
532
+ };
533
+ requestId: string;
534
+ };
535
+ outputFormat: "json";
536
+ status: 502;
537
+ input: {
538
+ param: {
539
+ orgId: string;
540
+ };
541
+ };
542
+ };
543
+ };
544
+ } & {
545
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests/:requestId{vtr_[A-Za-z0-9_-]+}": {
546
+ $delete: {
547
+ output: {
548
+ id: string;
549
+ };
550
+ outputFormat: "json";
551
+ status: 200;
552
+ input: {
553
+ param: {
554
+ orgId: string;
555
+ requestId: string;
556
+ };
557
+ };
558
+ } | {
559
+ output: {
560
+ error: {
561
+ code: "api_key_malformed";
562
+ details?: readonly Response.error.Detail[] | undefined;
563
+ message: string;
564
+ };
565
+ requestId: string;
566
+ };
567
+ outputFormat: "json";
568
+ status: 400;
569
+ input: {
570
+ param: {
571
+ orgId: string;
572
+ requestId: string;
573
+ };
574
+ };
575
+ } | {
576
+ output: {
577
+ error: {
578
+ code: "param_invalid";
579
+ details?: readonly Response.error.Detail[] | undefined;
580
+ message: string;
581
+ };
582
+ requestId: string;
583
+ };
584
+ outputFormat: "json";
585
+ status: 400;
586
+ input: {
587
+ param: {
588
+ orgId: string;
589
+ requestId: string;
590
+ };
591
+ };
592
+ } | {
593
+ output: {
594
+ error: {
595
+ code: "api_key_invalid" | "api_key_missing";
596
+ details?: readonly Response.error.Detail[] | undefined;
597
+ message: string;
598
+ };
599
+ requestId: string;
600
+ };
601
+ outputFormat: "json";
602
+ status: 401;
603
+ input: {
604
+ param: {
605
+ orgId: string;
606
+ requestId: string;
607
+ };
608
+ };
609
+ } | {
610
+ output: {
611
+ error: {
612
+ code: "forbidden";
613
+ details?: readonly Response.error.Detail[] | undefined;
614
+ message: string;
615
+ };
616
+ requestId: string;
617
+ };
618
+ outputFormat: "json";
619
+ status: 403;
620
+ input: {
621
+ param: {
622
+ orgId: string;
623
+ requestId: string;
624
+ };
625
+ };
626
+ } | {
627
+ output: {
628
+ error: {
629
+ code: "organization_not_found";
630
+ details?: readonly Response.error.Detail[] | undefined;
631
+ message: string;
632
+ };
633
+ requestId: string;
634
+ };
635
+ outputFormat: "json";
636
+ status: 404;
637
+ input: {
638
+ param: {
639
+ orgId: string;
640
+ requestId: string;
641
+ };
642
+ };
643
+ } | {
644
+ output: {
645
+ error: {
646
+ code: "verified_token_request_not_found";
647
+ details?: readonly Response.error.Detail[] | undefined;
648
+ message: string;
649
+ };
650
+ requestId: string;
651
+ };
652
+ outputFormat: "json";
653
+ status: 404;
654
+ input: {
655
+ param: {
656
+ orgId: string;
657
+ requestId: string;
658
+ };
659
+ };
660
+ } | {
661
+ output: {
662
+ error: {
663
+ code: "request_not_pending";
664
+ details?: readonly Response.error.Detail[] | undefined;
665
+ message: string;
666
+ };
667
+ requestId: string;
668
+ };
669
+ outputFormat: "json";
670
+ status: 409;
671
+ input: {
672
+ param: {
673
+ orgId: string;
674
+ requestId: string;
675
+ };
676
+ };
677
+ } | {
678
+ output: {
679
+ error: {
680
+ code: "upstream_error";
681
+ details?: readonly Response.error.Detail[] | undefined;
682
+ message: string;
683
+ };
684
+ requestId: string;
685
+ };
686
+ outputFormat: "json";
687
+ status: 502;
688
+ input: {
689
+ param: {
690
+ orgId: string;
691
+ requestId: string;
692
+ };
693
+ };
694
+ };
695
+ };
696
+ }, "/", "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/verified-token-requests/:requestId{vtr_[A-Za-z0-9_-]+}">;
697
+ //# sourceMappingURL=verified-token-requests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verified-token-requests.d.ts","sourceRoot":"","sources":["../../../../src/apps/management/routes/verified-token-requests.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAM7B,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAA;AAIzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAK5C,wDAAwD;AACxD,yBAAiB,MAAM,CAAC;IAStB;;;OAGG;IACI,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;qBAgEhC,CAAA;IAED;;;OAGG;IACI,MAAM,UAAU;;;;;;;;;;;;;qBA8DtB,CAAA;IAED,wDAAwD;IACjD,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;qBAOxB,CAAA;IAED,6DAA6D;IACtD,MAAM,MAAM;;qBASmE,CAAA;IAEtF,2DAA2D;IACpD,MAAM,aAAa;;;qBAe6C,CAAA;IAEvE,2BAA2B;IACpB,MAAM,cAAc;;qBASqD,CAAA;CACjF;AAcD,6DAA6D;AAC7D,wBAAgB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sGA8JpC"}