tapimo 0.9.0 → 0.10.1

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 (319) hide show
  1. package/dist/ApiKey.d.ts +2 -1
  2. package/dist/ApiKey.d.ts.map +1 -1
  3. package/dist/ApiKeys.d.ts +4 -2
  4. package/dist/ApiKeys.d.ts.map +1 -1
  5. package/dist/ApiKeys.js +26 -1
  6. package/dist/ApiKeys.js.map +1 -1
  7. package/dist/App.d.ts +4292 -3708
  8. package/dist/App.d.ts.map +1 -1
  9. package/dist/App.js +1 -0
  10. package/dist/App.js.map +1 -1
  11. package/dist/Webhooks.d.ts +21 -20
  12. package/dist/Webhooks.d.ts.map +1 -1
  13. package/dist/Webhooks.js +66 -23
  14. package/dist/Webhooks.js.map +1 -1
  15. package/dist/admin/App.d.ts +91 -84
  16. package/dist/admin/App.d.ts.map +1 -1
  17. package/dist/admin/apps/api-keys.d.ts +26 -17
  18. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  19. package/dist/admin/apps/api-keys.js +6 -0
  20. package/dist/admin/apps/api-keys.js.map +1 -1
  21. package/dist/admin/apps/organizations.d.ts +4 -2
  22. package/dist/admin/apps/organizations.d.ts.map +1 -1
  23. package/dist/admin/apps/verified-tokens.d.ts +168 -168
  24. package/dist/admin/ui.generated.d.ts +1 -1
  25. package/dist/admin/ui.generated.js +69 -69
  26. package/dist/admin/ui.generated.js.map +1 -1
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +26 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/Zones.d.ts +4280 -84
  31. package/dist/apps/Zones.d.ts.map +1 -1
  32. package/dist/apps/Zones.js +30 -10
  33. package/dist/apps/Zones.js.map +1 -1
  34. package/dist/apps/data/App.d.ts +5799 -4929
  35. package/dist/apps/data/App.d.ts.map +1 -1
  36. package/dist/apps/data/FxOracle.d.ts +4 -5
  37. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  38. package/dist/apps/data/FxOracle.js +19 -4
  39. package/dist/apps/data/FxOracle.js.map +1 -1
  40. package/dist/apps/data/routes/activities.d.ts +3391 -492
  41. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  42. package/dist/apps/data/routes/activities.js +372 -29
  43. package/dist/apps/data/routes/activities.js.map +1 -1
  44. package/dist/apps/data/routes/addresses.d.ts +853 -339
  45. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  46. package/dist/apps/data/routes/balances.d.ts +10 -10
  47. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  48. package/dist/apps/data/routes/balances.js +145 -83
  49. package/dist/apps/data/routes/balances.js.map +1 -1
  50. package/dist/apps/data/routes/blocks.d.ts +123 -123
  51. package/dist/apps/data/routes/coingecko.d.ts +169 -169
  52. package/dist/apps/data/routes/earn.d.ts +455 -1
  53. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  54. package/dist/apps/data/routes/earn.js +369 -45
  55. package/dist/apps/data/routes/earn.js.map +1 -1
  56. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  57. package/dist/apps/data/routes/exchanges.js +114 -118
  58. package/dist/apps/data/routes/exchanges.js.map +1 -1
  59. package/dist/apps/data/routes/fee-amm.d.ts +24 -24
  60. package/dist/apps/data/routes/indexer.d.ts +35 -34
  61. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  62. package/dist/apps/data/routes/indexer.js +3 -2
  63. package/dist/apps/data/routes/indexer.js.map +1 -1
  64. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  65. package/dist/apps/data/routes/receipts.js +68 -47
  66. package/dist/apps/data/routes/receipts.js.map +1 -1
  67. package/dist/apps/data/routes/rpc.d.ts +31 -31
  68. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  69. package/dist/apps/data/routes/rpc.js +5 -1
  70. package/dist/apps/data/routes/rpc.js.map +1 -1
  71. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  72. package/dist/apps/data/routes/tokens.d.ts +461 -459
  73. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  74. package/dist/apps/data/routes/transactions.d.ts +313 -305
  75. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  76. package/dist/apps/data/routes/transactions.js +25 -23
  77. package/dist/apps/data/routes/transactions.js.map +1 -1
  78. package/dist/apps/data/routes/transfers.d.ts +108 -86
  79. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  80. package/dist/apps/data/routes/transfers.js +618 -105
  81. package/dist/apps/data/routes/transfers.js.map +1 -1
  82. package/dist/apps/data/routes/valuation.d.ts +21 -21
  83. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  84. package/dist/apps/data/routes/valuation.js +2 -2
  85. package/dist/apps/data/routes/valuation.js.map +1 -1
  86. package/dist/apps/data/routes/webhooks.d.ts +519 -868
  87. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  88. package/dist/apps/data/routes/webhooks.js +642 -353
  89. package/dist/apps/data/routes/webhooks.js.map +1 -1
  90. package/dist/apps/data/routes/zones.d.ts +31 -31
  91. package/dist/apps/data/routes/zones.d.ts.map +1 -1
  92. package/dist/apps/data/routes/zones.js +4 -2
  93. package/dist/apps/data/routes/zones.js.map +1 -1
  94. package/dist/apps/funding/routes/deposit-addresses.js +1 -1
  95. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  96. package/dist/apps/funding/routes/providers.d.ts +13 -13
  97. package/dist/apps/funding/routes/quotes.d.ts +89 -89
  98. package/dist/apps/funding/routes/transfers.d.ts +36 -36
  99. package/dist/apps/funding/routes/transfers.js +1 -1
  100. package/dist/apps/funding/routes/transfers.js.map +1 -1
  101. package/dist/apps/management/App.d.ts +11 -309
  102. package/dist/apps/management/App.d.ts.map +1 -1
  103. package/dist/apps/management/routes/api-keys.d.ts +74 -74
  104. package/dist/apps/management/routes/billing.js +1 -1
  105. package/dist/apps/management/routes/billing.js.map +1 -1
  106. package/dist/apps/management/routes/faucet.d.ts +35 -35
  107. package/dist/apps/management/routes/faucet.js +2 -2
  108. package/dist/apps/management/routes/faucet.js.map +1 -1
  109. package/dist/apps/management/routes/invitations.d.ts +134 -134
  110. package/dist/apps/management/routes/invite-links.d.ts +80 -80
  111. package/dist/apps/management/routes/members.d.ts +69 -69
  112. package/dist/apps/management/routes/orgs.d.ts +98 -98
  113. package/dist/apps/management/routes/projects.d.ts +60 -60
  114. package/dist/apps/management/routes/usage.d.ts +72 -72
  115. package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
  116. package/dist/apps/management/routes/webhooks.d.ts +203 -618
  117. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  118. package/dist/apps/mcp.d.ts.map +1 -1
  119. package/dist/apps/mcp.js +4 -1
  120. package/dist/apps/mcp.js.map +1 -1
  121. package/dist/apps/mpp/App.d.ts +56 -44
  122. package/dist/apps/mpp/App.d.ts.map +1 -1
  123. package/dist/apps/mpp/Mpp.d.ts +3 -0
  124. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  125. package/dist/apps/mpp/Mpp.js +3 -0
  126. package/dist/apps/mpp/Mpp.js.map +1 -1
  127. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  128. package/dist/apps/mpp/internal/Adapter.js +9 -2
  129. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  130. package/dist/db/Db.d.ts +4 -2
  131. package/dist/db/Db.d.ts.map +1 -1
  132. package/dist/db/Db.js +75 -15
  133. package/dist/db/Db.js.map +1 -1
  134. package/dist/db/Schema.d.ts +19 -0
  135. package/dist/db/Schema.d.ts.map +1 -1
  136. package/dist/db/Schema.js +24 -0
  137. package/dist/db/Schema.js.map +1 -1
  138. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  139. package/dist/db/tables/sponsoredTransactions.js +4 -1
  140. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  141. package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
  142. package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
  143. package/dist/db/tables/webhookQueueEvents.js +160 -0
  144. package/dist/db/tables/webhookQueueEvents.js.map +1 -0
  145. package/dist/db/tables/webhookSubscriptions.d.ts +58 -3
  146. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  147. package/dist/db/tables/webhookSubscriptions.js +86 -3
  148. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  149. package/dist/internal/Auth.d.ts +3 -0
  150. package/dist/internal/Auth.d.ts.map +1 -1
  151. package/dist/internal/Auth.js +6 -4
  152. package/dist/internal/Auth.js.map +1 -1
  153. package/dist/internal/MetricSink.d.ts +139 -3
  154. package/dist/internal/MetricSink.d.ts.map +1 -1
  155. package/dist/internal/MetricSink.js +144 -4
  156. package/dist/internal/MetricSink.js.map +1 -1
  157. package/dist/internal/RateLimit.d.ts +4 -6
  158. package/dist/internal/RateLimit.d.ts.map +1 -1
  159. package/dist/internal/RateLimit.js +15 -14
  160. package/dist/internal/RateLimit.js.map +1 -1
  161. package/dist/internal/Schema.js +1 -1
  162. package/dist/internal/Schema.js.map +1 -1
  163. package/dist/internal/Store.d.ts +2 -1
  164. package/dist/internal/Store.d.ts.map +1 -1
  165. package/dist/internal/Store.js +57 -18
  166. package/dist/internal/Store.js.map +1 -1
  167. package/dist/internal/Tidx.d.ts +1 -3
  168. package/dist/internal/Tidx.d.ts.map +1 -1
  169. package/dist/internal/Tidx.js +1 -3
  170. package/dist/internal/Tidx.js.map +1 -1
  171. package/dist/internal/Value.d.ts +2 -0
  172. package/dist/internal/Value.d.ts.map +1 -1
  173. package/dist/internal/Value.js +25 -0
  174. package/dist/internal/Value.js.map +1 -1
  175. package/dist/internal/Viem.d.ts.map +1 -1
  176. package/dist/internal/Viem.js +2 -1
  177. package/dist/internal/Viem.js.map +1 -1
  178. package/dist/internal/WebhookDestination.d.ts +2 -0
  179. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  180. package/dist/internal/WebhookDestination.js +11 -0
  181. package/dist/internal/WebhookDestination.js.map +1 -1
  182. package/dist/internal/WebhookTransfer.d.ts +75 -0
  183. package/dist/internal/WebhookTransfer.d.ts.map +1 -0
  184. package/dist/internal/WebhookTransfer.js +299 -0
  185. package/dist/internal/WebhookTransfer.js.map +1 -0
  186. package/dist/internal/Webhooks.d.ts +176 -0
  187. package/dist/internal/Webhooks.d.ts.map +1 -1
  188. package/dist/internal/Webhooks.js +216 -20
  189. package/dist/internal/Webhooks.js.map +1 -1
  190. package/dist/internal/funding/Provider.d.ts +4 -0
  191. package/dist/internal/funding/Provider.d.ts.map +1 -1
  192. package/dist/internal/funding/Provider.js +11 -7
  193. package/dist/internal/funding/Provider.js.map +1 -1
  194. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  195. package/dist/internal/funding/Reconciliation.js +128 -0
  196. package/dist/internal/funding/Reconciliation.js.map +1 -1
  197. package/dist/internal/funding/providers/relay.d.ts +6 -4
  198. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  199. package/dist/internal/funding/providers/relay.js +71 -9
  200. package/dist/internal/funding/providers/relay.js.map +1 -1
  201. package/package.json +4 -4
  202. package/src/ApiKeys.test.ts +20 -0
  203. package/src/ApiKeys.ts +28 -1
  204. package/src/App.test.ts +10 -8
  205. package/src/App.ts +1 -0
  206. package/src/Client.test-d.ts +61 -5
  207. package/src/Webhooks.bench.ts +714 -0
  208. package/src/Webhooks.memory.bench.ts +250 -0
  209. package/src/Webhooks.test.ts +77 -6
  210. package/src/Webhooks.ts +85 -29
  211. package/src/admin/apps/api-keys.test.ts +9 -0
  212. package/src/admin/apps/api-keys.ts +15 -0
  213. package/src/admin/ui/src/lib/query-client.ts +3 -2
  214. package/src/admin/ui/src/routes/api-keys.tsx +31 -9
  215. package/src/admin/ui.generated.ts +69 -69
  216. package/src/analytics/Analytics.test.ts +8 -0
  217. package/src/analytics/Analytics.ts +26 -0
  218. package/src/apps/Zones.test.ts +23 -5
  219. package/src/apps/Zones.ts +31 -10
  220. package/src/apps/composition.test.ts +1 -0
  221. package/src/apps/data/App.test.ts +2 -2
  222. package/src/apps/data/FxOracle.test.ts +18 -0
  223. package/src/apps/data/FxOracle.ts +28 -5
  224. package/src/apps/data/routes/activities.bench.ts +41 -0
  225. package/src/apps/data/routes/activities.test.ts +122 -2
  226. package/src/apps/data/routes/activities.ts +435 -32
  227. package/src/apps/data/routes/balances.bench.ts +21 -0
  228. package/src/apps/data/routes/balances.test.ts +119 -10
  229. package/src/apps/data/routes/balances.ts +164 -97
  230. package/src/apps/data/routes/blocks.bench.ts +34 -0
  231. package/src/apps/data/routes/blocks.test.ts +12 -6
  232. package/src/apps/data/routes/coingecko.bench.ts +53 -0
  233. package/src/apps/data/routes/earn.bench.ts +71 -0
  234. package/src/apps/data/routes/earn.test.ts +197 -0
  235. package/src/apps/data/routes/earn.ts +487 -45
  236. package/src/apps/data/routes/exchanges.bench.ts +85 -0
  237. package/src/apps/data/routes/exchanges.test.ts +7 -6
  238. package/src/apps/data/routes/exchanges.ts +124 -117
  239. package/src/apps/data/routes/fee-amm.bench.ts +13 -0
  240. package/src/apps/data/routes/indexer.bench.ts +8 -0
  241. package/src/apps/data/routes/indexer.test.ts +2 -1
  242. package/src/apps/data/routes/indexer.ts +3 -2
  243. package/src/apps/data/routes/receipts.bench.ts +39 -0
  244. package/src/apps/data/routes/receipts.test.ts +24 -7
  245. package/src/apps/data/routes/receipts.ts +67 -50
  246. package/src/apps/data/routes/rpc.bench.ts +14 -0
  247. package/src/apps/data/routes/rpc.test.ts +27 -0
  248. package/src/apps/data/routes/rpc.ts +5 -1
  249. package/src/apps/data/routes/tokenlist.bench.ts +3 -0
  250. package/src/apps/data/routes/tokens.bench.ts +76 -0
  251. package/src/apps/data/routes/tokens.test.ts +51 -0
  252. package/src/apps/data/routes/transactions.bench.ts +40 -0
  253. package/src/apps/data/routes/transactions.test.ts +42 -0
  254. package/src/apps/data/routes/transactions.ts +44 -39
  255. package/src/apps/data/routes/transfers.bench.ts +28 -0
  256. package/src/apps/data/routes/transfers.test.ts +402 -24
  257. package/src/apps/data/routes/transfers.ts +708 -101
  258. package/src/apps/data/routes/valuation.bench.ts +14 -0
  259. package/src/apps/data/routes/valuation.test.ts +26 -0
  260. package/src/apps/data/routes/valuation.ts +6 -2
  261. package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
  262. package/src/apps/data/routes/webhooks.bench.ts +26 -0
  263. package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
  264. package/src/apps/data/routes/webhooks.test.ts +466 -135
  265. package/src/apps/data/routes/webhooks.ts +820 -429
  266. package/src/apps/data/routes/zones.bench.ts +32 -0
  267. package/src/apps/data/routes/zones.test.ts +1 -1
  268. package/src/apps/data/routes/zones.ts +7 -2
  269. package/src/apps/funding/routes/chains.test.ts +1 -1
  270. package/src/apps/funding/routes/deposit-addresses.test.ts +1 -1
  271. package/src/apps/funding/routes/deposit-addresses.ts +1 -1
  272. package/src/apps/funding/routes/providers.test.ts +1 -1
  273. package/src/apps/funding/routes/quotes.test.ts +2 -2
  274. package/src/apps/funding/routes/transfers.test.ts +3 -6
  275. package/src/apps/funding/routes/transfers.ts +1 -1
  276. package/src/apps/management/routes/billing.ts +1 -1
  277. package/src/apps/management/routes/faucet.ts +2 -2
  278. package/src/apps/management/routes/me.test.ts +31 -0
  279. package/src/apps/mcp.ts +4 -1
  280. package/src/apps/mpp/Mpp.test.ts +13 -1
  281. package/src/apps/mpp/Mpp.ts +8 -0
  282. package/src/apps/mpp/internal/Adapter.ts +10 -2
  283. package/src/db/Db.test.ts +40 -6
  284. package/src/db/Db.ts +114 -19
  285. package/src/db/Schema.ts +32 -0
  286. package/src/db/tables/sponsoredTransactions.ts +9 -2
  287. package/src/db/tables/webhookQueueEvents.ts +285 -0
  288. package/src/db/tables/webhookSubscriptions.ts +131 -4
  289. package/src/internal/Auth.test.ts +61 -50
  290. package/src/internal/Auth.ts +9 -4
  291. package/src/internal/EarnVaults.test.ts +2 -2
  292. package/src/internal/MetricSink.test.ts +575 -0
  293. package/src/internal/MetricSink.ts +325 -10
  294. package/src/internal/RateLimit.test.ts +23 -18
  295. package/src/internal/RateLimit.ts +23 -15
  296. package/src/internal/Schema.ts +1 -1
  297. package/src/internal/Store.test.ts +99 -13
  298. package/src/internal/Store.ts +52 -17
  299. package/src/internal/Tidx.test.ts +4 -4
  300. package/src/internal/Tidx.ts +1 -3
  301. package/src/internal/Value.test.ts +25 -0
  302. package/src/internal/Value.ts +29 -0
  303. package/src/internal/Viem.test.ts +8 -0
  304. package/src/internal/Viem.ts +2 -1
  305. package/src/internal/WebhookDestination.test.ts +20 -0
  306. package/src/internal/WebhookDestination.ts +10 -0
  307. package/src/internal/WebhookTransfer.test.ts +89 -0
  308. package/src/internal/WebhookTransfer.ts +430 -0
  309. package/src/internal/Webhooks.test.ts +616 -0
  310. package/src/internal/Webhooks.ts +412 -24
  311. package/src/internal/funding/Provider.test.ts +48 -8
  312. package/src/internal/funding/Provider.ts +12 -7
  313. package/src/internal/funding/Reconciliation.local.test.ts +3 -1
  314. package/src/internal/funding/Reconciliation.test.ts +1240 -0
  315. package/src/internal/funding/Reconciliation.ts +136 -0
  316. package/src/internal/funding/SourceObservation.test.ts +1 -0
  317. package/src/internal/funding/providers/index.test.ts +73 -3
  318. package/src/internal/funding/providers/relay.test.ts +2 -9
  319. package/src/internal/funding/providers/relay.ts +72 -13
@@ -122,14 +122,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
122
122
  $post: {
123
123
  output: {
124
124
  error: {
125
- code: "api_key_malformed";
125
+ code: "upstream_error";
126
126
  details?: readonly Response.error.Detail[] | undefined;
127
127
  message: string;
128
128
  };
129
129
  requestId: string;
130
130
  };
131
131
  outputFormat: "json";
132
- status: 400;
132
+ status: 502;
133
133
  input: {
134
134
  param: {
135
135
  orgId: string;
@@ -146,14 +146,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
146
146
  } | {
147
147
  output: {
148
148
  error: {
149
- code: "api_key_invalid" | "api_key_missing";
149
+ code: "api_key_malformed";
150
150
  details?: readonly Response.error.Detail[] | undefined;
151
151
  message: string;
152
152
  };
153
153
  requestId: string;
154
154
  };
155
155
  outputFormat: "json";
156
- status: 401;
156
+ status: 400;
157
157
  input: {
158
158
  param: {
159
159
  orgId: string;
@@ -170,14 +170,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
170
170
  } | {
171
171
  output: {
172
172
  error: {
173
- code: "upstream_error";
173
+ code: "api_key_invalid" | "api_key_missing";
174
174
  details?: readonly Response.error.Detail[] | undefined;
175
175
  message: string;
176
176
  };
177
177
  requestId: string;
178
178
  };
179
179
  outputFormat: "json";
180
- status: 502;
180
+ status: 401;
181
181
  input: {
182
182
  param: {
183
183
  orgId: string;
@@ -194,14 +194,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
194
194
  } | {
195
195
  output: {
196
196
  error: {
197
- code: "body_invalid";
197
+ code: "organization_not_found";
198
198
  details?: readonly Response.error.Detail[] | undefined;
199
199
  message: string;
200
200
  };
201
201
  requestId: string;
202
202
  };
203
203
  outputFormat: "json";
204
- status: 400;
204
+ status: 404;
205
205
  input: {
206
206
  param: {
207
207
  orgId: string;
@@ -218,14 +218,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
218
218
  } | {
219
219
  output: {
220
220
  error: {
221
- code: "organization_not_found";
221
+ code: "forbidden";
222
222
  details?: readonly Response.error.Detail[] | undefined;
223
223
  message: string;
224
224
  };
225
225
  requestId: string;
226
226
  };
227
227
  outputFormat: "json";
228
- status: 404;
228
+ status: 403;
229
229
  input: {
230
230
  param: {
231
231
  orgId: string;
@@ -242,14 +242,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
242
242
  } | {
243
243
  output: {
244
244
  error: {
245
- code: "forbidden";
245
+ code: "body_invalid";
246
246
  details?: readonly Response.error.Detail[] | undefined;
247
247
  message: string;
248
248
  };
249
249
  requestId: string;
250
250
  };
251
251
  outputFormat: "json";
252
- status: 403;
252
+ status: 400;
253
253
  input: {
254
254
  param: {
255
255
  orgId: string;
@@ -303,14 +303,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
303
303
  $get: {
304
304
  output: {
305
305
  error: {
306
- code: "api_key_malformed";
306
+ code: "upstream_error";
307
307
  details?: readonly Response.error.Detail[] | undefined;
308
308
  message: string;
309
309
  };
310
310
  requestId: string;
311
311
  };
312
312
  outputFormat: "json";
313
- status: 400;
313
+ status: 502;
314
314
  input: {
315
315
  param: {
316
316
  orgId: string;
@@ -319,14 +319,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
319
319
  } | {
320
320
  output: {
321
321
  error: {
322
- code: "api_key_invalid" | "api_key_missing";
322
+ code: "api_key_malformed";
323
323
  details?: readonly Response.error.Detail[] | undefined;
324
324
  message: string;
325
325
  };
326
326
  requestId: string;
327
327
  };
328
328
  outputFormat: "json";
329
- status: 401;
329
+ status: 400;
330
330
  input: {
331
331
  param: {
332
332
  orgId: string;
@@ -335,14 +335,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
335
335
  } | {
336
336
  output: {
337
337
  error: {
338
- code: "upstream_error";
338
+ code: "api_key_invalid" | "api_key_missing";
339
339
  details?: readonly Response.error.Detail[] | undefined;
340
340
  message: string;
341
341
  };
342
342
  requestId: string;
343
343
  };
344
344
  outputFormat: "json";
345
- status: 502;
345
+ status: 401;
346
346
  input: {
347
347
  param: {
348
348
  orgId: string;
@@ -351,14 +351,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
351
351
  } | {
352
352
  output: {
353
353
  error: {
354
- code: "param_invalid";
354
+ code: "organization_not_found";
355
355
  details?: readonly Response.error.Detail[] | undefined;
356
356
  message: string;
357
357
  };
358
358
  requestId: string;
359
359
  };
360
360
  outputFormat: "json";
361
- status: 400;
361
+ status: 404;
362
362
  input: {
363
363
  param: {
364
364
  orgId: string;
@@ -367,14 +367,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
367
367
  } | {
368
368
  output: {
369
369
  error: {
370
- code: "organization_not_found";
370
+ code: "forbidden";
371
371
  details?: readonly Response.error.Detail[] | undefined;
372
372
  message: string;
373
373
  };
374
374
  requestId: string;
375
375
  };
376
376
  outputFormat: "json";
377
- status: 404;
377
+ status: 403;
378
378
  input: {
379
379
  param: {
380
380
  orgId: string;
@@ -383,14 +383,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
383
383
  } | {
384
384
  output: {
385
385
  error: {
386
- code: "forbidden";
386
+ code: "param_invalid";
387
387
  details?: readonly Response.error.Detail[] | undefined;
388
388
  message: string;
389
389
  };
390
390
  requestId: string;
391
391
  };
392
392
  outputFormat: "json";
393
- status: 403;
393
+ status: 400;
394
394
  input: {
395
395
  param: {
396
396
  orgId: string;
@@ -430,14 +430,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
430
430
  $patch: {
431
431
  output: {
432
432
  error: {
433
- code: "api_key_malformed";
433
+ code: "upstream_error";
434
434
  details?: readonly Response.error.Detail[] | undefined;
435
435
  message: string;
436
436
  };
437
437
  requestId: string;
438
438
  };
439
439
  outputFormat: "json";
440
- status: 400;
440
+ status: 502;
441
441
  input: {
442
442
  param: {
443
443
  inviteLinkId: string;
@@ -451,14 +451,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
451
451
  } | {
452
452
  output: {
453
453
  error: {
454
- code: "api_key_invalid" | "api_key_missing";
454
+ code: "api_key_malformed";
455
455
  details?: readonly Response.error.Detail[] | undefined;
456
456
  message: string;
457
457
  };
458
458
  requestId: string;
459
459
  };
460
460
  outputFormat: "json";
461
- status: 401;
461
+ status: 400;
462
462
  input: {
463
463
  param: {
464
464
  inviteLinkId: string;
@@ -472,14 +472,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
472
472
  } | {
473
473
  output: {
474
474
  error: {
475
- code: "upstream_error";
475
+ code: "api_key_invalid" | "api_key_missing";
476
476
  details?: readonly Response.error.Detail[] | undefined;
477
477
  message: string;
478
478
  };
479
479
  requestId: string;
480
480
  };
481
481
  outputFormat: "json";
482
- status: 502;
482
+ status: 401;
483
483
  input: {
484
484
  param: {
485
485
  inviteLinkId: string;
@@ -493,14 +493,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
493
493
  } | {
494
494
  output: {
495
495
  error: {
496
- code: "body_invalid";
496
+ code: "organization_not_found";
497
497
  details?: readonly Response.error.Detail[] | undefined;
498
498
  message: string;
499
499
  };
500
500
  requestId: string;
501
501
  };
502
502
  outputFormat: "json";
503
- status: 400;
503
+ status: 404;
504
504
  input: {
505
505
  param: {
506
506
  inviteLinkId: string;
@@ -514,14 +514,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
514
514
  } | {
515
515
  output: {
516
516
  error: {
517
- code: "organization_not_found";
517
+ code: "forbidden";
518
518
  details?: readonly Response.error.Detail[] | undefined;
519
519
  message: string;
520
520
  };
521
521
  requestId: string;
522
522
  };
523
523
  outputFormat: "json";
524
- status: 404;
524
+ status: 403;
525
525
  input: {
526
526
  param: {
527
527
  inviteLinkId: string;
@@ -535,14 +535,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
535
535
  } | {
536
536
  output: {
537
537
  error: {
538
- code: "forbidden";
538
+ code: "body_invalid";
539
539
  details?: readonly Response.error.Detail[] | undefined;
540
540
  message: string;
541
541
  };
542
542
  requestId: string;
543
543
  };
544
544
  outputFormat: "json";
545
- status: 403;
545
+ status: 400;
546
546
  input: {
547
547
  param: {
548
548
  inviteLinkId: string;
@@ -611,14 +611,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
611
611
  $delete: {
612
612
  output: {
613
613
  error: {
614
- code: "api_key_malformed";
614
+ code: "upstream_error";
615
615
  details?: readonly Response.error.Detail[] | undefined;
616
616
  message: string;
617
617
  };
618
618
  requestId: string;
619
619
  };
620
620
  outputFormat: "json";
621
- status: 400;
621
+ status: 502;
622
622
  input: {
623
623
  param: {
624
624
  inviteLinkId: string;
@@ -628,14 +628,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
628
628
  } | {
629
629
  output: {
630
630
  error: {
631
- code: "api_key_invalid" | "api_key_missing";
631
+ code: "api_key_malformed";
632
632
  details?: readonly Response.error.Detail[] | undefined;
633
633
  message: string;
634
634
  };
635
635
  requestId: string;
636
636
  };
637
637
  outputFormat: "json";
638
- status: 401;
638
+ status: 400;
639
639
  input: {
640
640
  param: {
641
641
  inviteLinkId: string;
@@ -645,14 +645,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
645
645
  } | {
646
646
  output: {
647
647
  error: {
648
- code: "upstream_error";
648
+ code: "api_key_invalid" | "api_key_missing";
649
649
  details?: readonly Response.error.Detail[] | undefined;
650
650
  message: string;
651
651
  };
652
652
  requestId: string;
653
653
  };
654
654
  outputFormat: "json";
655
- status: 502;
655
+ status: 401;
656
656
  input: {
657
657
  param: {
658
658
  inviteLinkId: string;
@@ -662,14 +662,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
662
662
  } | {
663
663
  output: {
664
664
  error: {
665
- code: "param_invalid";
665
+ code: "organization_not_found";
666
666
  details?: readonly Response.error.Detail[] | undefined;
667
667
  message: string;
668
668
  };
669
669
  requestId: string;
670
670
  };
671
671
  outputFormat: "json";
672
- status: 400;
672
+ status: 404;
673
673
  input: {
674
674
  param: {
675
675
  inviteLinkId: string;
@@ -679,14 +679,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
679
679
  } | {
680
680
  output: {
681
681
  error: {
682
- code: "organization_not_found";
682
+ code: "forbidden";
683
683
  details?: readonly Response.error.Detail[] | undefined;
684
684
  message: string;
685
685
  };
686
686
  requestId: string;
687
687
  };
688
688
  outputFormat: "json";
689
- status: 404;
689
+ status: 403;
690
690
  input: {
691
691
  param: {
692
692
  inviteLinkId: string;
@@ -696,14 +696,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
696
696
  } | {
697
697
  output: {
698
698
  error: {
699
- code: "forbidden";
699
+ code: "param_invalid";
700
700
  details?: readonly Response.error.Detail[] | undefined;
701
701
  message: string;
702
702
  };
703
703
  requestId: string;
704
704
  };
705
705
  outputFormat: "json";
706
- status: 403;
706
+ status: 400;
707
707
  input: {
708
708
  param: {
709
709
  inviteLinkId: string;
@@ -746,14 +746,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
746
746
  $get: {
747
747
  output: {
748
748
  error: {
749
- code: "api_key_malformed";
749
+ code: "upstream_error";
750
750
  details?: readonly Response.error.Detail[] | undefined;
751
751
  message: string;
752
752
  };
753
753
  requestId: string;
754
754
  };
755
755
  outputFormat: "json";
756
- status: 400;
756
+ status: 502;
757
757
  input: {
758
758
  param: {
759
759
  inviteLinkId: string;
@@ -763,14 +763,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
763
763
  } | {
764
764
  output: {
765
765
  error: {
766
- code: "api_key_invalid" | "api_key_missing";
766
+ code: "api_key_malformed";
767
767
  details?: readonly Response.error.Detail[] | undefined;
768
768
  message: string;
769
769
  };
770
770
  requestId: string;
771
771
  };
772
772
  outputFormat: "json";
773
- status: 401;
773
+ status: 400;
774
774
  input: {
775
775
  param: {
776
776
  inviteLinkId: string;
@@ -780,14 +780,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
780
780
  } | {
781
781
  output: {
782
782
  error: {
783
- code: "upstream_error";
783
+ code: "api_key_invalid" | "api_key_missing";
784
784
  details?: readonly Response.error.Detail[] | undefined;
785
785
  message: string;
786
786
  };
787
787
  requestId: string;
788
788
  };
789
789
  outputFormat: "json";
790
- status: 502;
790
+ status: 401;
791
791
  input: {
792
792
  param: {
793
793
  inviteLinkId: string;
@@ -797,14 +797,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
797
797
  } | {
798
798
  output: {
799
799
  error: {
800
- code: "param_invalid";
800
+ code: "organization_not_found";
801
801
  details?: readonly Response.error.Detail[] | undefined;
802
802
  message: string;
803
803
  };
804
804
  requestId: string;
805
805
  };
806
806
  outputFormat: "json";
807
- status: 400;
807
+ status: 404;
808
808
  input: {
809
809
  param: {
810
810
  inviteLinkId: string;
@@ -814,14 +814,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
814
814
  } | {
815
815
  output: {
816
816
  error: {
817
- code: "organization_not_found";
817
+ code: "forbidden";
818
818
  details?: readonly Response.error.Detail[] | undefined;
819
819
  message: string;
820
820
  };
821
821
  requestId: string;
822
822
  };
823
823
  outputFormat: "json";
824
- status: 404;
824
+ status: 403;
825
825
  input: {
826
826
  param: {
827
827
  inviteLinkId: string;
@@ -831,14 +831,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
831
831
  } | {
832
832
  output: {
833
833
  error: {
834
- code: "forbidden";
834
+ code: "param_invalid";
835
835
  details?: readonly Response.error.Detail[] | undefined;
836
836
  message: string;
837
837
  };
838
838
  requestId: string;
839
839
  };
840
840
  outputFormat: "json";
841
- status: 403;
841
+ status: 400;
842
842
  input: {
843
843
  param: {
844
844
  inviteLinkId: string;
@@ -889,14 +889,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
889
889
  $post: {
890
890
  output: {
891
891
  error: {
892
- code: "api_key_malformed";
892
+ code: "upstream_error";
893
893
  details?: readonly Response.error.Detail[] | undefined;
894
894
  message: string;
895
895
  };
896
896
  requestId: string;
897
897
  };
898
898
  outputFormat: "json";
899
- status: 400;
899
+ status: 502;
900
900
  input: {
901
901
  json: {
902
902
  token: string;
@@ -905,14 +905,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
905
905
  } | {
906
906
  output: {
907
907
  error: {
908
- code: "api_key_invalid" | "api_key_missing";
908
+ code: "api_key_malformed";
909
909
  details?: readonly Response.error.Detail[] | undefined;
910
910
  message: string;
911
911
  };
912
912
  requestId: string;
913
913
  };
914
914
  outputFormat: "json";
915
- status: 401;
915
+ status: 400;
916
916
  input: {
917
917
  json: {
918
918
  token: string;
@@ -921,14 +921,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
921
921
  } | {
922
922
  output: {
923
923
  error: {
924
- code: "upstream_error";
924
+ code: "api_key_invalid" | "api_key_missing";
925
925
  details?: readonly Response.error.Detail[] | undefined;
926
926
  message: string;
927
927
  };
928
928
  requestId: string;
929
929
  };
930
930
  outputFormat: "json";
931
- status: 502;
931
+ status: 401;
932
932
  input: {
933
933
  json: {
934
934
  token: string;
@@ -937,14 +937,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
937
937
  } | {
938
938
  output: {
939
939
  error: {
940
- code: "body_invalid";
940
+ code: "forbidden";
941
941
  details?: readonly Response.error.Detail[] | undefined;
942
942
  message: string;
943
943
  };
944
944
  requestId: string;
945
945
  };
946
946
  outputFormat: "json";
947
- status: 400;
947
+ status: 403;
948
948
  input: {
949
949
  json: {
950
950
  token: string;
@@ -953,14 +953,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
953
953
  } | {
954
954
  output: {
955
955
  error: {
956
- code: "forbidden";
956
+ code: "body_invalid";
957
957
  details?: readonly Response.error.Detail[] | undefined;
958
958
  message: string;
959
959
  };
960
960
  requestId: string;
961
961
  };
962
962
  outputFormat: "json";
963
- status: 403;
963
+ status: 400;
964
964
  input: {
965
965
  json: {
966
966
  token: string;
@@ -1001,14 +1001,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
1001
1001
  $post: {
1002
1002
  output: {
1003
1003
  error: {
1004
- code: "api_key_malformed";
1004
+ code: "upstream_error";
1005
1005
  details?: readonly Response.error.Detail[] | undefined;
1006
1006
  message: string;
1007
1007
  };
1008
1008
  requestId: string;
1009
1009
  };
1010
1010
  outputFormat: "json";
1011
- status: 400;
1011
+ status: 502;
1012
1012
  input: {
1013
1013
  json: {
1014
1014
  token: string;
@@ -1017,14 +1017,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
1017
1017
  } | {
1018
1018
  output: {
1019
1019
  error: {
1020
- code: "api_key_invalid" | "api_key_missing";
1020
+ code: "api_key_malformed";
1021
1021
  details?: readonly Response.error.Detail[] | undefined;
1022
1022
  message: string;
1023
1023
  };
1024
1024
  requestId: string;
1025
1025
  };
1026
1026
  outputFormat: "json";
1027
- status: 401;
1027
+ status: 400;
1028
1028
  input: {
1029
1029
  json: {
1030
1030
  token: string;
@@ -1033,14 +1033,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
1033
1033
  } | {
1034
1034
  output: {
1035
1035
  error: {
1036
- code: "upstream_error";
1036
+ code: "api_key_invalid" | "api_key_missing";
1037
1037
  details?: readonly Response.error.Detail[] | undefined;
1038
1038
  message: string;
1039
1039
  };
1040
1040
  requestId: string;
1041
1041
  };
1042
1042
  outputFormat: "json";
1043
- status: 502;
1043
+ status: 401;
1044
1044
  input: {
1045
1045
  json: {
1046
1046
  token: string;
@@ -1049,14 +1049,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
1049
1049
  } | {
1050
1050
  output: {
1051
1051
  error: {
1052
- code: "body_invalid";
1052
+ code: "forbidden";
1053
1053
  details?: readonly Response.error.Detail[] | undefined;
1054
1054
  message: string;
1055
1055
  };
1056
1056
  requestId: string;
1057
1057
  };
1058
1058
  outputFormat: "json";
1059
- status: 400;
1059
+ status: 403;
1060
1060
  input: {
1061
1061
  json: {
1062
1062
  token: string;
@@ -1065,14 +1065,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
1065
1065
  } | {
1066
1066
  output: {
1067
1067
  error: {
1068
- code: "forbidden";
1068
+ code: "body_invalid";
1069
1069
  details?: readonly Response.error.Detail[] | undefined;
1070
1070
  message: string;
1071
1071
  };
1072
1072
  requestId: string;
1073
1073
  };
1074
1074
  outputFormat: "json";
1075
- status: 403;
1075
+ status: 400;
1076
1076
  input: {
1077
1077
  json: {
1078
1078
  token: string;