tapimo 0.9.0 → 0.10.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 (198) hide show
  1. package/dist/App.d.ts +4887 -5074
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/Webhooks.d.ts +21 -20
  4. package/dist/Webhooks.d.ts.map +1 -1
  5. package/dist/Webhooks.js +66 -23
  6. package/dist/Webhooks.js.map +1 -1
  7. package/dist/admin/apps/verified-tokens.d.ts +168 -168
  8. package/dist/apps/Zones.d.ts +34 -22
  9. package/dist/apps/Zones.d.ts.map +1 -1
  10. package/dist/apps/Zones.js +9 -8
  11. package/dist/apps/Zones.js.map +1 -1
  12. package/dist/apps/data/App.d.ts +5198 -5099
  13. package/dist/apps/data/App.d.ts.map +1 -1
  14. package/dist/apps/data/FxOracle.d.ts +4 -5
  15. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  16. package/dist/apps/data/FxOracle.js +19 -4
  17. package/dist/apps/data/FxOracle.js.map +1 -1
  18. package/dist/apps/data/routes/activities.d.ts +270 -270
  19. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  20. package/dist/apps/data/routes/activities.js +32 -27
  21. package/dist/apps/data/routes/activities.js.map +1 -1
  22. package/dist/apps/data/routes/addresses.d.ts +52 -52
  23. package/dist/apps/data/routes/balances.d.ts +36 -36
  24. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  25. package/dist/apps/data/routes/balances.js +135 -81
  26. package/dist/apps/data/routes/balances.js.map +1 -1
  27. package/dist/apps/data/routes/blocks.d.ts +125 -125
  28. package/dist/apps/data/routes/coingecko.d.ts +54 -54
  29. package/dist/apps/data/routes/earn.d.ts +512 -58
  30. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  31. package/dist/apps/data/routes/earn.js +368 -44
  32. package/dist/apps/data/routes/earn.js.map +1 -1
  33. package/dist/apps/data/routes/exchanges.d.ts +120 -120
  34. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  35. package/dist/apps/data/routes/exchanges.js +114 -118
  36. package/dist/apps/data/routes/exchanges.js.map +1 -1
  37. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  38. package/dist/apps/data/routes/receipts.js +68 -47
  39. package/dist/apps/data/routes/receipts.js.map +1 -1
  40. package/dist/apps/data/routes/rpc.d.ts +31 -31
  41. package/dist/apps/data/routes/tokens.d.ts +461 -459
  42. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  43. package/dist/apps/data/routes/transactions.d.ts +59 -51
  44. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  45. package/dist/apps/data/routes/transactions.js +25 -23
  46. package/dist/apps/data/routes/transactions.js.map +1 -1
  47. package/dist/apps/data/routes/transfers.d.ts +108 -86
  48. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  49. package/dist/apps/data/routes/transfers.js +618 -105
  50. package/dist/apps/data/routes/transfers.js.map +1 -1
  51. package/dist/apps/data/routes/valuation.d.ts +21 -21
  52. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  53. package/dist/apps/data/routes/valuation.js +2 -2
  54. package/dist/apps/data/routes/valuation.js.map +1 -1
  55. package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
  56. package/dist/apps/data/routes/webhooks.d.ts +102 -505
  57. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  58. package/dist/apps/data/routes/webhooks.js +484 -342
  59. package/dist/apps/data/routes/webhooks.js.map +1 -1
  60. package/dist/apps/data/routes/zones.d.ts +12 -12
  61. package/dist/apps/data/routes/zones.d.ts.map +1 -1
  62. package/dist/apps/data/routes/zones.js +3 -1
  63. package/dist/apps/data/routes/zones.js.map +1 -1
  64. package/dist/apps/funding/App.d.ts +96 -96
  65. package/dist/apps/funding/routes/deposit-addresses.d.ts +52 -52
  66. package/dist/apps/funding/routes/quotes.d.ts +89 -89
  67. package/dist/apps/funding/routes/transfers.d.ts +4 -4
  68. package/dist/apps/management/App.d.ts +429 -727
  69. package/dist/apps/management/App.d.ts.map +1 -1
  70. package/dist/apps/management/routes/api-keys.d.ts +24 -24
  71. package/dist/apps/management/routes/billing.d.ts +72 -72
  72. package/dist/apps/management/routes/faucet.d.ts +6 -6
  73. package/dist/apps/management/routes/invitations.d.ts +134 -134
  74. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  75. package/dist/apps/management/routes/me.d.ts +6 -6
  76. package/dist/apps/management/routes/members.d.ts +30 -30
  77. package/dist/apps/management/routes/orgs.d.ts +98 -98
  78. package/dist/apps/management/routes/projects.d.ts +20 -20
  79. package/dist/apps/management/routes/usage.d.ts +24 -24
  80. package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
  81. package/dist/apps/management/routes/webhooks.d.ts +158 -573
  82. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  83. package/dist/apps/mpp/App.d.ts +56 -44
  84. package/dist/apps/mpp/App.d.ts.map +1 -1
  85. package/dist/apps/mpp/Mpp.d.ts +3 -0
  86. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  87. package/dist/apps/mpp/Mpp.js +3 -0
  88. package/dist/apps/mpp/Mpp.js.map +1 -1
  89. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  90. package/dist/apps/mpp/internal/Adapter.js +9 -2
  91. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  92. package/dist/db/Db.d.ts +2 -2
  93. package/dist/db/Db.d.ts.map +1 -1
  94. package/dist/db/Db.js +17 -15
  95. package/dist/db/Db.js.map +1 -1
  96. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  97. package/dist/db/tables/sponsoredTransactions.js +4 -1
  98. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  99. package/dist/db/tables/webhookSubscriptions.d.ts +56 -3
  100. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  101. package/dist/db/tables/webhookSubscriptions.js +76 -3
  102. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  103. package/dist/internal/MetricSink.d.ts +112 -3
  104. package/dist/internal/MetricSink.d.ts.map +1 -1
  105. package/dist/internal/MetricSink.js +116 -3
  106. package/dist/internal/MetricSink.js.map +1 -1
  107. package/dist/internal/Schema.js +1 -1
  108. package/dist/internal/Schema.js.map +1 -1
  109. package/dist/internal/Tidx.d.ts +1 -3
  110. package/dist/internal/Tidx.d.ts.map +1 -1
  111. package/dist/internal/Tidx.js +1 -3
  112. package/dist/internal/Tidx.js.map +1 -1
  113. package/dist/internal/Viem.d.ts.map +1 -1
  114. package/dist/internal/Viem.js +2 -1
  115. package/dist/internal/Viem.js.map +1 -1
  116. package/dist/internal/WebhookDestination.d.ts +2 -0
  117. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  118. package/dist/internal/WebhookDestination.js +11 -0
  119. package/dist/internal/WebhookDestination.js.map +1 -1
  120. package/dist/internal/WebhookTransfer.d.ts +55 -0
  121. package/dist/internal/WebhookTransfer.d.ts.map +1 -0
  122. package/dist/internal/WebhookTransfer.js +296 -0
  123. package/dist/internal/WebhookTransfer.js.map +1 -0
  124. package/dist/internal/Webhooks.d.ts +37 -0
  125. package/dist/internal/Webhooks.d.ts.map +1 -1
  126. package/dist/internal/Webhooks.js +87 -13
  127. package/dist/internal/Webhooks.js.map +1 -1
  128. package/dist/internal/funding/Provider.d.ts +4 -0
  129. package/dist/internal/funding/Provider.d.ts.map +1 -1
  130. package/dist/internal/funding/Provider.js +11 -7
  131. package/dist/internal/funding/Provider.js.map +1 -1
  132. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  133. package/dist/internal/funding/Reconciliation.js +128 -0
  134. package/dist/internal/funding/Reconciliation.js.map +1 -1
  135. package/dist/internal/funding/providers/relay.d.ts +3 -0
  136. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  137. package/dist/internal/funding/providers/relay.js +12 -1
  138. package/dist/internal/funding/providers/relay.js.map +1 -1
  139. package/package.json +3 -3
  140. package/src/Client.test-d.ts +60 -5
  141. package/src/Webhooks.bench.ts +714 -0
  142. package/src/Webhooks.memory.bench.ts +250 -0
  143. package/src/Webhooks.test.ts +77 -6
  144. package/src/Webhooks.ts +83 -29
  145. package/src/apps/Zones.test.ts +5 -4
  146. package/src/apps/Zones.ts +9 -8
  147. package/src/apps/data/FxOracle.test.ts +18 -0
  148. package/src/apps/data/FxOracle.ts +28 -5
  149. package/src/apps/data/routes/activities.test.ts +19 -0
  150. package/src/apps/data/routes/activities.ts +34 -30
  151. package/src/apps/data/routes/balances.test.ts +119 -10
  152. package/src/apps/data/routes/balances.ts +154 -95
  153. package/src/apps/data/routes/blocks.test.ts +12 -6
  154. package/src/apps/data/routes/earn.test.ts +197 -0
  155. package/src/apps/data/routes/earn.ts +486 -44
  156. package/src/apps/data/routes/exchanges.test.ts +7 -6
  157. package/src/apps/data/routes/exchanges.ts +124 -117
  158. package/src/apps/data/routes/receipts.test.ts +24 -7
  159. package/src/apps/data/routes/receipts.ts +67 -50
  160. package/src/apps/data/routes/tokens.test.ts +51 -0
  161. package/src/apps/data/routes/transactions.test.ts +42 -0
  162. package/src/apps/data/routes/transactions.ts +44 -39
  163. package/src/apps/data/routes/transfers.test.ts +402 -24
  164. package/src/apps/data/routes/transfers.ts +708 -101
  165. package/src/apps/data/routes/valuation.test.ts +26 -0
  166. package/src/apps/data/routes/valuation.ts +6 -2
  167. package/src/apps/data/routes/webhooks.test.ts +414 -130
  168. package/src/apps/data/routes/webhooks.ts +603 -419
  169. package/src/apps/data/routes/zones.ts +6 -1
  170. package/src/apps/funding/routes/quotes.test.ts +1 -1
  171. package/src/apps/mpp/Mpp.test.ts +13 -1
  172. package/src/apps/mpp/Mpp.ts +8 -0
  173. package/src/apps/mpp/internal/Adapter.ts +10 -2
  174. package/src/db/Db.test.ts +40 -6
  175. package/src/db/Db.ts +33 -19
  176. package/src/db/tables/sponsoredTransactions.ts +9 -2
  177. package/src/db/tables/webhookSubscriptions.ts +116 -4
  178. package/src/internal/EarnVaults.test.ts +2 -2
  179. package/src/internal/MetricSink.test.ts +518 -0
  180. package/src/internal/MetricSink.ts +266 -9
  181. package/src/internal/Schema.ts +1 -1
  182. package/src/internal/Tidx.test.ts +4 -4
  183. package/src/internal/Tidx.ts +1 -3
  184. package/src/internal/Viem.test.ts +8 -0
  185. package/src/internal/Viem.ts +2 -1
  186. package/src/internal/WebhookDestination.test.ts +20 -0
  187. package/src/internal/WebhookDestination.ts +10 -0
  188. package/src/internal/WebhookTransfer.ts +426 -0
  189. package/src/internal/Webhooks.test.ts +137 -0
  190. package/src/internal/Webhooks.ts +131 -17
  191. package/src/internal/funding/Provider.test.ts +47 -7
  192. package/src/internal/funding/Provider.ts +12 -7
  193. package/src/internal/funding/Reconciliation.local.test.ts +3 -1
  194. package/src/internal/funding/Reconciliation.test.ts +1240 -0
  195. package/src/internal/funding/Reconciliation.ts +136 -0
  196. package/src/internal/funding/SourceObservation.test.ts +1 -0
  197. package/src/internal/funding/providers/relay.test.ts +1 -4
  198. package/src/internal/funding/providers/relay.ts +16 -1
@@ -141,14 +141,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
141
141
  } | {
142
142
  output: {
143
143
  error: {
144
- code: "param_invalid";
144
+ code: "organization_not_found";
145
145
  details?: readonly Response.error.Detail[] | undefined;
146
146
  message: string;
147
147
  };
148
148
  requestId: string;
149
149
  };
150
150
  outputFormat: "json";
151
- status: 400;
151
+ status: 404;
152
152
  input: {
153
153
  param: {
154
154
  orgId: string;
@@ -157,14 +157,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
157
157
  } | {
158
158
  output: {
159
159
  error: {
160
- code: "organization_not_found";
160
+ code: "param_invalid";
161
161
  details?: readonly Response.error.Detail[] | undefined;
162
162
  message: string;
163
163
  };
164
164
  requestId: string;
165
165
  };
166
166
  outputFormat: "json";
167
- status: 404;
167
+ status: 400;
168
168
  input: {
169
169
  param: {
170
170
  orgId: string;
@@ -295,14 +295,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
295
295
  } | {
296
296
  output: {
297
297
  error: {
298
- code: "body_invalid";
298
+ code: "organization_not_found";
299
299
  details?: readonly Response.error.Detail[] | undefined;
300
300
  message: string;
301
301
  };
302
302
  requestId: string;
303
303
  };
304
304
  outputFormat: "json";
305
- status: 400;
305
+ status: 404;
306
306
  input: {
307
307
  param: {
308
308
  orgId: string;
@@ -335,14 +335,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
335
335
  } | {
336
336
  output: {
337
337
  error: {
338
- code: "organization_not_found";
338
+ code: "body_invalid";
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: 404;
345
+ status: 400;
346
346
  input: {
347
347
  param: {
348
348
  orgId: string;
@@ -447,14 +447,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
447
447
  } | {
448
448
  output: {
449
449
  error: {
450
- code: "param_invalid";
450
+ code: "organization_not_found" | "project_not_found";
451
451
  details?: readonly Response.error.Detail[] | undefined;
452
452
  message: string;
453
453
  };
454
454
  requestId: string;
455
455
  };
456
456
  outputFormat: "json";
457
- status: 400;
457
+ status: 404;
458
458
  input: {
459
459
  param: {
460
460
  orgId: string;
@@ -464,14 +464,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
464
464
  } | {
465
465
  output: {
466
466
  error: {
467
- code: "organization_not_found" | "project_not_found";
467
+ code: "param_invalid";
468
468
  details?: readonly Response.error.Detail[] | undefined;
469
469
  message: string;
470
470
  };
471
471
  requestId: string;
472
472
  };
473
473
  outputFormat: "json";
474
- status: 404;
474
+ status: 400;
475
475
  input: {
476
476
  param: {
477
477
  orgId: string;
@@ -607,14 +607,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
607
607
  } | {
608
608
  output: {
609
609
  error: {
610
- code: "body_invalid";
610
+ code: "organization_not_found" | "project_not_found";
611
611
  details?: readonly Response.error.Detail[] | undefined;
612
612
  message: string;
613
613
  };
614
614
  requestId: string;
615
615
  };
616
616
  outputFormat: "json";
617
- status: 400;
617
+ status: 404;
618
618
  input: {
619
619
  param: {
620
620
  orgId: string;
@@ -649,14 +649,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
649
649
  } | {
650
650
  output: {
651
651
  error: {
652
- code: "organization_not_found" | "project_not_found";
652
+ code: "body_invalid";
653
653
  details?: readonly Response.error.Detail[] | undefined;
654
654
  message: string;
655
655
  };
656
656
  requestId: string;
657
657
  };
658
658
  outputFormat: "json";
659
- status: 404;
659
+ status: 400;
660
660
  input: {
661
661
  param: {
662
662
  orgId: string;
@@ -780,14 +780,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
780
780
  } | {
781
781
  output: {
782
782
  error: {
783
- code: "param_invalid";
783
+ code: "organization_not_found" | "project_not_found";
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: 400;
790
+ status: 404;
791
791
  input: {
792
792
  param: {
793
793
  orgId: string;
@@ -797,14 +797,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
797
797
  } | {
798
798
  output: {
799
799
  error: {
800
- code: "organization_not_found" | "project_not_found";
800
+ code: "param_invalid";
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: 404;
807
+ status: 400;
808
808
  input: {
809
809
  param: {
810
810
  orgId: string;
@@ -146,14 +146,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
146
146
  $get: {
147
147
  output: {
148
148
  error: {
149
- code: "upstream_error";
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: 502;
156
+ status: 400;
157
157
  input: {
158
158
  param: {
159
159
  orgId: string;
@@ -170,14 +170,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
170
170
  } | {
171
171
  output: {
172
172
  error: {
173
- code: "api_key_malformed";
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: 400;
180
+ status: 401;
181
181
  input: {
182
182
  param: {
183
183
  orgId: string;
@@ -194,14 +194,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
194
194
  } | {
195
195
  output: {
196
196
  error: {
197
- code: "api_key_invalid" | "api_key_missing";
197
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
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: 401;
204
+ status: 403;
205
205
  input: {
206
206
  param: {
207
207
  orgId: string;
@@ -218,14 +218,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
218
218
  } | {
219
219
  output: {
220
220
  error: {
221
- code: "api_key_forbidden" | "api_key_ip_forbidden";
221
+ code: "payment_required" | "rate_limit_exceeded";
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: 403;
228
+ status: 429;
229
229
  input: {
230
230
  param: {
231
231
  orgId: string;
@@ -242,14 +242,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
242
242
  } | {
243
243
  output: {
244
244
  error: {
245
- code: "payment_required" | "rate_limit_exceeded";
245
+ code: "query_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: 429;
252
+ status: 400;
253
253
  input: {
254
254
  param: {
255
255
  orgId: string;
@@ -266,14 +266,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
266
266
  } | {
267
267
  output: {
268
268
  error: {
269
- code: "query_invalid";
269
+ code: "upstream_error";
270
270
  details?: readonly Response.error.Detail[] | undefined;
271
271
  message: string;
272
272
  };
273
273
  requestId: string;
274
274
  };
275
275
  outputFormat: "json";
276
- status: 400;
276
+ status: 502;
277
277
  input: {
278
278
  param: {
279
279
  orgId: string;
@@ -413,14 +413,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
413
413
  $get: {
414
414
  output: {
415
415
  error: {
416
- code: "upstream_error";
416
+ code: "api_key_malformed";
417
417
  details?: readonly Response.error.Detail[] | undefined;
418
418
  message: string;
419
419
  };
420
420
  requestId: string;
421
421
  };
422
422
  outputFormat: "json";
423
- status: 502;
423
+ status: 400;
424
424
  input: {
425
425
  param: {
426
426
  orgId: string;
@@ -437,14 +437,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
437
437
  } | {
438
438
  output: {
439
439
  error: {
440
- code: "api_key_malformed";
440
+ code: "api_key_invalid" | "api_key_missing";
441
441
  details?: readonly Response.error.Detail[] | undefined;
442
442
  message: string;
443
443
  };
444
444
  requestId: string;
445
445
  };
446
446
  outputFormat: "json";
447
- status: 400;
447
+ status: 401;
448
448
  input: {
449
449
  param: {
450
450
  orgId: string;
@@ -461,14 +461,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
461
461
  } | {
462
462
  output: {
463
463
  error: {
464
- code: "api_key_invalid" | "api_key_missing";
464
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
465
465
  details?: readonly Response.error.Detail[] | undefined;
466
466
  message: string;
467
467
  };
468
468
  requestId: string;
469
469
  };
470
470
  outputFormat: "json";
471
- status: 401;
471
+ status: 403;
472
472
  input: {
473
473
  param: {
474
474
  orgId: string;
@@ -485,14 +485,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
485
485
  } | {
486
486
  output: {
487
487
  error: {
488
- code: "api_key_forbidden" | "api_key_ip_forbidden";
488
+ code: "payment_required" | "rate_limit_exceeded";
489
489
  details?: readonly Response.error.Detail[] | undefined;
490
490
  message: string;
491
491
  };
492
492
  requestId: string;
493
493
  };
494
494
  outputFormat: "json";
495
- status: 403;
495
+ status: 429;
496
496
  input: {
497
497
  param: {
498
498
  orgId: string;
@@ -509,14 +509,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
509
509
  } | {
510
510
  output: {
511
511
  error: {
512
- code: "payment_required" | "rate_limit_exceeded";
512
+ code: "query_invalid";
513
513
  details?: readonly Response.error.Detail[] | undefined;
514
514
  message: string;
515
515
  };
516
516
  requestId: string;
517
517
  };
518
518
  outputFormat: "json";
519
- status: 429;
519
+ status: 400;
520
520
  input: {
521
521
  param: {
522
522
  orgId: string;
@@ -533,14 +533,14 @@ export declare function usage(): import("hono/hono-base").HonoBase<Environment,
533
533
  } | {
534
534
  output: {
535
535
  error: {
536
- code: "query_invalid";
536
+ code: "upstream_error";
537
537
  details?: readonly Response.error.Detail[] | undefined;
538
538
  message: string;
539
539
  };
540
540
  requestId: string;
541
541
  };
542
542
  outputFormat: "json";
543
- status: 400;
543
+ status: 502;
544
544
  input: {
545
545
  param: {
546
546
  orgId: string;