tapimo 0.7.2 → 0.8.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 (294) hide show
  1. package/README.md +10 -7
  2. package/dist/ApiKey.d.ts +3 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +10 -0
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +7 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +9 -2
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20434 -19484
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +62 -4
  13. package/dist/App.js.map +1 -1
  14. package/dist/admin/App.d.ts +84 -74
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +14 -1
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +6 -2
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/organizations.d.ts +2 -0
  21. package/dist/admin/apps/organizations.d.ts.map +1 -1
  22. package/dist/admin/apps/verified-tokens.d.ts +168 -168
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +67 -67
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts +2 -0
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +3 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/data/App.d.ts +10305 -12785
  31. package/dist/apps/data/App.d.ts.map +1 -1
  32. package/dist/apps/data/App.js +4 -8
  33. package/dist/apps/data/App.js.map +1 -1
  34. package/dist/apps/data/routes/activities.d.ts +24 -24
  35. package/dist/apps/data/routes/addresses.d.ts +288 -288
  36. package/dist/apps/data/routes/balances.d.ts +6 -6
  37. package/dist/apps/data/routes/blocks.d.ts +39 -39
  38. package/dist/apps/data/routes/coingecko.d.ts +170 -170
  39. package/dist/apps/data/routes/earn.d.ts +436 -6
  40. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  41. package/dist/apps/data/routes/earn.js +631 -4
  42. package/dist/apps/data/routes/earn.js.map +1 -1
  43. package/dist/apps/data/routes/exchanges.d.ts +10 -10
  44. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  45. package/dist/apps/data/routes/indexer.d.ts +6 -6
  46. package/dist/apps/data/routes/indexer.js +4 -1
  47. package/dist/apps/data/routes/indexer.js.map +1 -1
  48. package/dist/apps/data/routes/receipts.d.ts +235 -235
  49. package/dist/apps/data/routes/rpc.d.ts +1 -1
  50. package/dist/apps/data/routes/rpc.js +4 -1
  51. package/dist/apps/data/routes/rpc.js.map +1 -1
  52. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  53. package/dist/apps/data/routes/tokens.d.ts +6 -6
  54. package/dist/apps/data/routes/transactions.d.ts +2 -2
  55. package/dist/apps/data/routes/transfers.d.ts +1 -1
  56. package/dist/apps/data/routes/valuation.d.ts +1 -1
  57. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  58. package/dist/apps/data/routes/webhooks.d.ts +9 -9
  59. package/dist/apps/data/routes/zones.d.ts +14 -14
  60. package/dist/apps/funding/Access.d.ts +16 -0
  61. package/dist/apps/funding/Access.d.ts.map +1 -0
  62. package/dist/apps/funding/Access.js +22 -0
  63. package/dist/apps/funding/Access.js.map +1 -0
  64. package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1717 -3035
  65. package/dist/apps/funding/App.d.ts.map +1 -0
  66. package/dist/apps/funding/App.js +46 -0
  67. package/dist/apps/funding/App.js.map +1 -0
  68. package/dist/apps/funding/Inventory.d.ts +5 -0
  69. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  70. package/dist/apps/funding/Inventory.js +25 -0
  71. package/dist/apps/funding/Inventory.js.map +1 -0
  72. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  73. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  74. package/dist/apps/funding/ProviderAttempts.js +24 -0
  75. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  76. package/dist/apps/funding/index.d.ts +2 -0
  77. package/dist/apps/funding/index.d.ts.map +1 -0
  78. package/dist/apps/funding/index.js +2 -0
  79. package/dist/apps/funding/index.js.map +1 -0
  80. package/dist/apps/funding/routes/chains.d.ts +169 -0
  81. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  82. package/dist/apps/funding/routes/chains.js +80 -0
  83. package/dist/apps/funding/routes/chains.js.map +1 -0
  84. package/dist/apps/funding/routes/deposit-addresses.d.ts +2388 -0
  85. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  86. package/dist/apps/funding/routes/deposit-addresses.js +860 -0
  87. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  88. package/dist/apps/funding/routes/providers.d.ts +91 -0
  89. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  90. package/dist/apps/funding/routes/providers.js +56 -0
  91. package/dist/apps/funding/routes/providers.js.map +1 -0
  92. package/dist/apps/funding/routes/quotes.d.ts +426 -0
  93. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  94. package/dist/apps/funding/routes/quotes.js +188 -0
  95. package/dist/apps/funding/routes/quotes.js.map +1 -0
  96. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  97. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  98. package/dist/apps/funding/routes/transfers.js +614 -0
  99. package/dist/apps/funding/routes/transfers.js.map +1 -0
  100. package/dist/apps/index.d.ts +1 -0
  101. package/dist/apps/index.d.ts.map +1 -1
  102. package/dist/apps/index.js +1 -0
  103. package/dist/apps/index.js.map +1 -1
  104. package/dist/apps/management/App.d.ts +430 -165
  105. package/dist/apps/management/App.d.ts.map +1 -1
  106. package/dist/apps/management/routes/api-keys.d.ts +298 -21
  107. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  108. package/dist/apps/management/routes/api-keys.js +75 -1
  109. package/dist/apps/management/routes/api-keys.js.map +1 -1
  110. package/dist/apps/management/routes/billing.d.ts +6 -6
  111. package/dist/apps/management/routes/faucet.d.ts +35 -35
  112. package/dist/apps/management/routes/invitations.d.ts +48 -48
  113. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  114. package/dist/apps/management/routes/members.d.ts +69 -69
  115. package/dist/apps/management/routes/orgs.d.ts +37 -37
  116. package/dist/apps/management/routes/projects.d.ts +25 -25
  117. package/dist/apps/management/routes/scopes.d.ts +1 -1
  118. package/dist/apps/management/routes/usage.d.ts +72 -72
  119. package/dist/apps/management/routes/verified-token-requests.d.ts +18 -18
  120. package/dist/apps/management/routes/webhooks.d.ts +128 -128
  121. package/dist/apps/mcp.d.ts +2 -3
  122. package/dist/apps/mcp.d.ts.map +1 -1
  123. package/dist/apps/mcp.js +16 -14
  124. package/dist/apps/mcp.js.map +1 -1
  125. package/dist/apps/metadata.d.ts +4 -0
  126. package/dist/apps/metadata.d.ts.map +1 -1
  127. package/dist/apps/metadata.js +10 -0
  128. package/dist/apps/metadata.js.map +1 -1
  129. package/dist/apps/mpp/App.d.ts +2 -2
  130. package/dist/cloudflare.d.ts +50 -0
  131. package/dist/cloudflare.d.ts.map +1 -1
  132. package/dist/cloudflare.js +178 -0
  133. package/dist/cloudflare.js.map +1 -1
  134. package/dist/db/Db.d.ts +2 -0
  135. package/dist/db/Db.d.ts.map +1 -1
  136. package/dist/db/Db.js +37 -0
  137. package/dist/db/Db.js.map +1 -1
  138. package/dist/db/Schema.d.ts +12 -0
  139. package/dist/db/Schema.d.ts.map +1 -1
  140. package/dist/db/Schema.js +20 -0
  141. package/dist/db/Schema.js.map +1 -1
  142. package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
  143. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  144. package/dist/db/tables/fundingDepositAddresses.js +12 -0
  145. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  146. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  147. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  148. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  149. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  150. package/dist/db/tables/fundingDeposits.d.ts +57 -1
  151. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  152. package/dist/db/tables/fundingDeposits.js +82 -0
  153. package/dist/db/tables/fundingDeposits.js.map +1 -1
  154. package/dist/internal/Auth.d.ts +11 -11
  155. package/dist/internal/Auth.d.ts.map +1 -1
  156. package/dist/internal/Auth.js +41 -15
  157. package/dist/internal/Auth.js.map +1 -1
  158. package/dist/internal/Cache.js +1 -1
  159. package/dist/internal/Cache.js.map +1 -1
  160. package/dist/internal/EdgeCache.d.ts +2 -2
  161. package/dist/internal/EdgeCache.d.ts.map +1 -1
  162. package/dist/internal/EdgeCache.js +10 -4
  163. package/dist/internal/EdgeCache.js.map +1 -1
  164. package/dist/internal/IpAllowlist.d.ts +15 -0
  165. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  166. package/dist/internal/IpAllowlist.js +27 -0
  167. package/dist/internal/IpAllowlist.js.map +1 -0
  168. package/dist/internal/OpenApi.d.ts +1 -1
  169. package/dist/internal/OpenApi.js +1 -1
  170. package/dist/internal/OpenApi.js.map +1 -1
  171. package/dist/internal/Tidx.d.ts +6 -0
  172. package/dist/internal/Tidx.d.ts.map +1 -1
  173. package/dist/internal/Tidx.js +13 -3
  174. package/dist/internal/Tidx.js.map +1 -1
  175. package/dist/internal/Viem.d.ts +8 -0
  176. package/dist/internal/Viem.d.ts.map +1 -1
  177. package/dist/internal/Viem.js +12 -5
  178. package/dist/internal/Viem.js.map +1 -1
  179. package/dist/internal/funding/Deposit.d.ts +42 -0
  180. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  181. package/dist/internal/funding/Deposit.js +37 -5
  182. package/dist/internal/funding/Deposit.js.map +1 -1
  183. package/dist/internal/funding/Evidence.d.ts +1 -5
  184. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  185. package/dist/internal/funding/Evidence.js +4 -3
  186. package/dist/internal/funding/Evidence.js.map +1 -1
  187. package/dist/internal/funding/Provider.d.ts +102 -0
  188. package/dist/internal/funding/Provider.d.ts.map +1 -1
  189. package/dist/internal/funding/Provider.js +5 -0
  190. package/dist/internal/funding/Provider.js.map +1 -1
  191. package/dist/internal/funding/Reconciliation.d.ts +16 -2
  192. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  193. package/dist/internal/funding/Reconciliation.js +257 -48
  194. package/dist/internal/funding/Reconciliation.js.map +1 -1
  195. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  196. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  197. package/dist/internal/funding/SourceObservation.js +143 -0
  198. package/dist/internal/funding/SourceObservation.js.map +1 -0
  199. package/dist/internal/funding/Subsidy.d.ts +2 -2
  200. package/dist/internal/funding/Subsidy.d.ts.map +1 -1
  201. package/dist/internal/funding/Subsidy.js +1 -1
  202. package/dist/internal/funding/Subsidy.js.map +1 -1
  203. package/dist/internal/funding/index.d.ts +1 -0
  204. package/dist/internal/funding/index.d.ts.map +1 -1
  205. package/dist/internal/funding/index.js +1 -0
  206. package/dist/internal/funding/index.js.map +1 -1
  207. package/dist/internal/funding/providers/relay.d.ts +43 -1
  208. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  209. package/dist/internal/funding/providers/relay.js +434 -27
  210. package/dist/internal/funding/providers/relay.js.map +1 -1
  211. package/package.json +3 -3
  212. package/src/ApiKey.test.ts +35 -0
  213. package/src/ApiKey.ts +27 -0
  214. package/src/ApiKeys.test.ts +29 -0
  215. package/src/ApiKeys.ts +11 -3
  216. package/src/App.test.ts +23 -5
  217. package/src/App.ts +76 -5
  218. package/src/Client.test-d.ts +171 -19
  219. package/src/admin/apps/api-keys.test.ts +25 -1
  220. package/src/admin/apps/api-keys.ts +6 -2
  221. package/src/admin/ui.generated.ts +67 -67
  222. package/src/analytics/Analytics.ts +4 -0
  223. package/src/apps/composition.test.ts +100 -2
  224. package/src/apps/data/App.test.ts +0 -12
  225. package/src/apps/data/App.ts +4 -8
  226. package/src/apps/data/routes/earn.test.ts +283 -0
  227. package/src/apps/data/routes/earn.ts +800 -3
  228. package/src/apps/data/routes/indexer.ts +2 -1
  229. package/src/apps/data/routes/rpc.ts +2 -0
  230. package/src/apps/data/routes/tokens.test.ts +6 -8
  231. package/src/apps/funding/Access.ts +26 -0
  232. package/src/apps/funding/App.test.ts +78 -0
  233. package/src/apps/funding/App.ts +63 -0
  234. package/src/apps/funding/Inventory.ts +30 -0
  235. package/src/apps/funding/ProviderAttempts.ts +26 -0
  236. package/src/apps/funding/index.ts +1 -0
  237. package/src/apps/funding/routes/chains.test.ts +78 -0
  238. package/src/apps/funding/routes/chains.ts +101 -0
  239. package/src/apps/funding/routes/deposit-addresses.test.ts +1628 -0
  240. package/src/apps/funding/routes/deposit-addresses.ts +1015 -0
  241. package/src/apps/funding/routes/providers.test.ts +165 -0
  242. package/src/apps/funding/routes/providers.ts +73 -0
  243. package/src/apps/funding/routes/quotes.test.ts +511 -0
  244. package/src/apps/funding/routes/quotes.ts +205 -0
  245. package/src/apps/funding/routes/transfers.test.ts +1255 -0
  246. package/src/apps/funding/routes/transfers.ts +704 -0
  247. package/src/apps/index.ts +1 -0
  248. package/src/apps/management/routes/api-keys.test.ts +98 -0
  249. package/src/apps/management/routes/api-keys.ts +96 -1
  250. package/src/apps/mcp.test.ts +17 -2
  251. package/src/apps/mcp.ts +18 -13
  252. package/src/apps/metadata.ts +12 -0
  253. package/src/apps/mpp/internal/Policy.test.ts +7 -1
  254. package/src/cloudflare.ts +279 -0
  255. package/src/db/Db.ts +62 -0
  256. package/src/db/Schema.ts +24 -0
  257. package/src/db/tables/fundingDepositAddresses.ts +28 -0
  258. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  259. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  260. package/src/db/tables/fundingDeposits.test.ts +138 -0
  261. package/src/db/tables/fundingDeposits.ts +145 -1
  262. package/src/internal/Auth.test.ts +177 -5
  263. package/src/internal/Auth.ts +48 -18
  264. package/src/internal/Cache.test.ts +37 -3
  265. package/src/internal/Cache.ts +1 -1
  266. package/src/internal/EdgeCache.test.ts +7 -7
  267. package/src/internal/EdgeCache.ts +13 -4
  268. package/src/internal/IpAllowlist.test.ts +52 -0
  269. package/src/internal/IpAllowlist.ts +39 -0
  270. package/src/internal/Log.test.ts +7 -1
  271. package/src/internal/OpenApi.ts +1 -1
  272. package/src/internal/Tidx.test.ts +28 -0
  273. package/src/internal/Tidx.ts +19 -3
  274. package/src/internal/Viem.test.ts +28 -0
  275. package/src/internal/Viem.ts +21 -5
  276. package/src/internal/funding/Deposit.ts +74 -5
  277. package/src/internal/funding/Evidence.test.ts +2 -2
  278. package/src/internal/funding/Evidence.ts +4 -9
  279. package/src/internal/funding/Provider.ts +115 -0
  280. package/src/internal/funding/Reconciliation.local.test.ts +7 -0
  281. package/src/internal/funding/Reconciliation.test.ts +1052 -35
  282. package/src/internal/funding/Reconciliation.ts +328 -56
  283. package/src/internal/funding/SourceObservation.test.ts +301 -0
  284. package/src/internal/funding/SourceObservation.ts +267 -0
  285. package/src/internal/funding/Subsidy.ts +2 -2
  286. package/src/internal/funding/index.test.ts +1 -0
  287. package/src/internal/funding/index.ts +1 -0
  288. package/src/internal/funding/providers/relay.test.ts +94 -4
  289. package/src/internal/funding/providers/relay.ts +528 -27
  290. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  291. package/dist/apps/data/routes/funding.js +0 -1557
  292. package/dist/apps/data/routes/funding.js.map +0 -1
  293. package/src/apps/data/routes/funding.test.ts +0 -2994
  294. package/src/apps/data/routes/funding.ts +0 -1821
@@ -131,14 +131,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
131
131
  $post: {
132
132
  output: {
133
133
  error: {
134
- code: "upstream_error";
134
+ code: "api_key_malformed";
135
135
  details?: readonly Response.error.Detail[] | undefined;
136
136
  message: string;
137
137
  };
138
138
  requestId: string;
139
139
  };
140
140
  outputFormat: "json";
141
- status: 502;
141
+ status: 400;
142
142
  input: {
143
143
  param: {
144
144
  orgId: string;
@@ -152,14 +152,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
152
152
  } | {
153
153
  output: {
154
154
  error: {
155
- code: "api_key_malformed";
155
+ code: "api_key_invalid" | "api_key_missing";
156
156
  details?: readonly Response.error.Detail[] | undefined;
157
157
  message: string;
158
158
  };
159
159
  requestId: string;
160
160
  };
161
161
  outputFormat: "json";
162
- status: 400;
162
+ status: 401;
163
163
  input: {
164
164
  param: {
165
165
  orgId: string;
@@ -173,14 +173,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
173
173
  } | {
174
174
  output: {
175
175
  error: {
176
- code: "api_key_invalid" | "api_key_missing";
176
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
177
177
  details?: readonly Response.error.Detail[] | undefined;
178
178
  message: string;
179
179
  };
180
180
  requestId: string;
181
181
  };
182
182
  outputFormat: "json";
183
- status: 401;
183
+ status: 403;
184
184
  input: {
185
185
  param: {
186
186
  orgId: string;
@@ -194,14 +194,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
194
194
  } | {
195
195
  output: {
196
196
  error: {
197
- code: "api_key_forbidden";
197
+ code: "payment_required" | "rate_limit_exceeded";
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: 403;
204
+ status: 429;
205
205
  input: {
206
206
  param: {
207
207
  orgId: string;
@@ -215,14 +215,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
215
215
  } | {
216
216
  output: {
217
217
  error: {
218
- code: "payment_required" | "rate_limit_exceeded";
218
+ code: "upstream_error";
219
219
  details?: readonly Response.error.Detail[] | undefined;
220
220
  message: string;
221
221
  };
222
222
  requestId: string;
223
223
  };
224
224
  outputFormat: "json";
225
- status: 429;
225
+ status: 502;
226
226
  input: {
227
227
  param: {
228
228
  orgId: string;
@@ -346,14 +346,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
346
346
  $get: {
347
347
  output: {
348
348
  error: {
349
- code: "upstream_error";
349
+ code: "api_key_malformed";
350
350
  details?: readonly Response.error.Detail[] | undefined;
351
351
  message: string;
352
352
  };
353
353
  requestId: string;
354
354
  };
355
355
  outputFormat: "json";
356
- status: 502;
356
+ status: 400;
357
357
  input: {
358
358
  param: {
359
359
  orgId: string;
@@ -362,14 +362,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
362
362
  } | {
363
363
  output: {
364
364
  error: {
365
- code: "api_key_malformed";
365
+ code: "api_key_invalid" | "api_key_missing";
366
366
  details?: readonly Response.error.Detail[] | undefined;
367
367
  message: string;
368
368
  };
369
369
  requestId: string;
370
370
  };
371
371
  outputFormat: "json";
372
- status: 400;
372
+ status: 401;
373
373
  input: {
374
374
  param: {
375
375
  orgId: string;
@@ -378,14 +378,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
378
378
  } | {
379
379
  output: {
380
380
  error: {
381
- code: "api_key_invalid" | "api_key_missing";
381
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
382
382
  details?: readonly Response.error.Detail[] | undefined;
383
383
  message: string;
384
384
  };
385
385
  requestId: string;
386
386
  };
387
387
  outputFormat: "json";
388
- status: 401;
388
+ status: 403;
389
389
  input: {
390
390
  param: {
391
391
  orgId: string;
@@ -394,14 +394,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
394
394
  } | {
395
395
  output: {
396
396
  error: {
397
- code: "api_key_forbidden";
397
+ code: "payment_required" | "rate_limit_exceeded";
398
398
  details?: readonly Response.error.Detail[] | undefined;
399
399
  message: string;
400
400
  };
401
401
  requestId: string;
402
402
  };
403
403
  outputFormat: "json";
404
- status: 403;
404
+ status: 429;
405
405
  input: {
406
406
  param: {
407
407
  orgId: string;
@@ -410,14 +410,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
410
410
  } | {
411
411
  output: {
412
412
  error: {
413
- code: "payment_required" | "rate_limit_exceeded";
413
+ code: "upstream_error";
414
414
  details?: readonly Response.error.Detail[] | undefined;
415
415
  message: string;
416
416
  };
417
417
  requestId: string;
418
418
  };
419
419
  outputFormat: "json";
420
- status: 429;
420
+ status: 502;
421
421
  input: {
422
422
  param: {
423
423
  orgId: string;
@@ -481,14 +481,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
481
481
  $delete: {
482
482
  output: {
483
483
  error: {
484
- code: "upstream_error";
484
+ code: "api_key_malformed";
485
485
  details?: readonly Response.error.Detail[] | undefined;
486
486
  message: string;
487
487
  };
488
488
  requestId: string;
489
489
  };
490
490
  outputFormat: "json";
491
- status: 502;
491
+ status: 400;
492
492
  input: {
493
493
  param: {
494
494
  invitationId: string;
@@ -498,14 +498,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
498
498
  } | {
499
499
  output: {
500
500
  error: {
501
- code: "api_key_malformed";
501
+ code: "api_key_invalid" | "api_key_missing";
502
502
  details?: readonly Response.error.Detail[] | undefined;
503
503
  message: string;
504
504
  };
505
505
  requestId: string;
506
506
  };
507
507
  outputFormat: "json";
508
- status: 400;
508
+ status: 401;
509
509
  input: {
510
510
  param: {
511
511
  invitationId: string;
@@ -515,14 +515,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
515
515
  } | {
516
516
  output: {
517
517
  error: {
518
- code: "api_key_invalid" | "api_key_missing";
518
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
519
519
  details?: readonly Response.error.Detail[] | undefined;
520
520
  message: string;
521
521
  };
522
522
  requestId: string;
523
523
  };
524
524
  outputFormat: "json";
525
- status: 401;
525
+ status: 403;
526
526
  input: {
527
527
  param: {
528
528
  invitationId: string;
@@ -532,14 +532,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
532
532
  } | {
533
533
  output: {
534
534
  error: {
535
- code: "api_key_forbidden";
535
+ code: "payment_required" | "rate_limit_exceeded";
536
536
  details?: readonly Response.error.Detail[] | undefined;
537
537
  message: string;
538
538
  };
539
539
  requestId: string;
540
540
  };
541
541
  outputFormat: "json";
542
- status: 403;
542
+ status: 429;
543
543
  input: {
544
544
  param: {
545
545
  invitationId: string;
@@ -549,14 +549,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
549
549
  } | {
550
550
  output: {
551
551
  error: {
552
- code: "payment_required" | "rate_limit_exceeded";
552
+ code: "upstream_error";
553
553
  details?: readonly Response.error.Detail[] | undefined;
554
554
  message: string;
555
555
  };
556
556
  requestId: string;
557
557
  };
558
558
  outputFormat: "json";
559
- status: 429;
559
+ status: 502;
560
560
  input: {
561
561
  param: {
562
562
  invitationId: string;
@@ -633,38 +633,38 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
633
633
  $get: {
634
634
  output: {
635
635
  error: {
636
- code: "upstream_error";
636
+ code: "api_key_malformed";
637
637
  details?: readonly Response.error.Detail[] | undefined;
638
638
  message: string;
639
639
  };
640
640
  requestId: string;
641
641
  };
642
642
  outputFormat: "json";
643
- status: 502;
643
+ status: 400;
644
644
  input: {};
645
645
  } | {
646
646
  output: {
647
647
  error: {
648
- code: "api_key_malformed";
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: 400;
655
+ status: 401;
656
656
  input: {};
657
657
  } | {
658
658
  output: {
659
659
  error: {
660
- code: "api_key_invalid" | "api_key_missing";
660
+ code: "upstream_error";
661
661
  details?: readonly Response.error.Detail[] | undefined;
662
662
  message: string;
663
663
  };
664
664
  requestId: string;
665
665
  };
666
666
  outputFormat: "json";
667
- status: 401;
667
+ status: 502;
668
668
  input: {};
669
669
  } | {
670
670
  output: {
@@ -701,14 +701,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
701
701
  $post: {
702
702
  output: {
703
703
  error: {
704
- code: "upstream_error";
704
+ code: "api_key_malformed";
705
705
  details?: readonly Response.error.Detail[] | undefined;
706
706
  message: string;
707
707
  };
708
708
  requestId: string;
709
709
  };
710
710
  outputFormat: "json";
711
- status: 502;
711
+ status: 400;
712
712
  input: {
713
713
  param: {
714
714
  invitationId: string;
@@ -717,14 +717,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
717
717
  } | {
718
718
  output: {
719
719
  error: {
720
- code: "api_key_malformed";
720
+ code: "api_key_invalid" | "api_key_missing";
721
721
  details?: readonly Response.error.Detail[] | undefined;
722
722
  message: string;
723
723
  };
724
724
  requestId: string;
725
725
  };
726
726
  outputFormat: "json";
727
- status: 400;
727
+ status: 401;
728
728
  input: {
729
729
  param: {
730
730
  invitationId: string;
@@ -733,14 +733,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
733
733
  } | {
734
734
  output: {
735
735
  error: {
736
- code: "api_key_invalid" | "api_key_missing";
736
+ code: "upstream_error";
737
737
  details?: readonly Response.error.Detail[] | undefined;
738
738
  message: string;
739
739
  };
740
740
  requestId: string;
741
741
  };
742
742
  outputFormat: "json";
743
- status: 401;
743
+ status: 502;
744
744
  input: {
745
745
  param: {
746
746
  invitationId: string;
@@ -814,14 +814,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
814
814
  $post: {
815
815
  output: {
816
816
  error: {
817
- code: "upstream_error";
817
+ code: "api_key_malformed";
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: 502;
824
+ status: 400;
825
825
  input: {
826
826
  param: {
827
827
  invitationId: string;
@@ -830,14 +830,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
830
830
  } | {
831
831
  output: {
832
832
  error: {
833
- code: "api_key_malformed";
833
+ code: "api_key_invalid" | "api_key_missing";
834
834
  details?: readonly Response.error.Detail[] | undefined;
835
835
  message: string;
836
836
  };
837
837
  requestId: string;
838
838
  };
839
839
  outputFormat: "json";
840
- status: 400;
840
+ status: 401;
841
841
  input: {
842
842
  param: {
843
843
  invitationId: string;
@@ -846,14 +846,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
846
846
  } | {
847
847
  output: {
848
848
  error: {
849
- code: "api_key_invalid" | "api_key_missing";
849
+ code: "upstream_error";
850
850
  details?: readonly Response.error.Detail[] | undefined;
851
851
  message: string;
852
852
  };
853
853
  requestId: string;
854
854
  };
855
855
  outputFormat: "json";
856
- status: 401;
856
+ status: 502;
857
857
  input: {
858
858
  param: {
859
859
  invitationId: string;