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
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -21,38 +21,38 @@ export declare function me(): import("hono/hono-base").HonoBase<App.Environment,
21
21
  $get: {
22
22
  output: {
23
23
  error: {
24
- code: "api_key_malformed";
24
+ code: "upstream_error";
25
25
  details?: readonly Response.error.Detail[] | undefined;
26
26
  message: string;
27
27
  };
28
28
  requestId: string;
29
29
  };
30
30
  outputFormat: "json";
31
- status: 400;
31
+ status: 502;
32
32
  input: {};
33
33
  } | {
34
34
  output: {
35
35
  error: {
36
- code: "api_key_invalid" | "api_key_missing";
36
+ code: "api_key_malformed";
37
37
  details?: readonly Response.error.Detail[] | undefined;
38
38
  message: string;
39
39
  };
40
40
  requestId: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 401;
43
+ status: 400;
44
44
  input: {};
45
45
  } | {
46
46
  output: {
47
47
  error: {
48
- code: "upstream_error";
48
+ code: "api_key_invalid" | "api_key_missing";
49
49
  details?: readonly Response.error.Detail[] | undefined;
50
50
  message: string;
51
51
  };
52
52
  requestId: string;
53
53
  };
54
54
  outputFormat: "json";
55
- status: 502;
55
+ status: 401;
56
56
  input: {};
57
57
  } | {
58
58
  output: {
@@ -73,14 +73,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
73
73
  $get: {
74
74
  output: {
75
75
  error: {
76
- code: "upstream_error";
76
+ code: "api_key_malformed";
77
77
  details?: readonly Response.error.Detail[] | undefined;
78
78
  message: string;
79
79
  };
80
80
  requestId: string;
81
81
  };
82
82
  outputFormat: "json";
83
- status: 502;
83
+ status: 400;
84
84
  input: {
85
85
  param: {
86
86
  orgId: string;
@@ -89,14 +89,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
89
89
  } | {
90
90
  output: {
91
91
  error: {
92
- code: "api_key_malformed";
92
+ code: "api_key_invalid" | "api_key_missing";
93
93
  details?: readonly Response.error.Detail[] | undefined;
94
94
  message: string;
95
95
  };
96
96
  requestId: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: 400;
99
+ status: 401;
100
100
  input: {
101
101
  param: {
102
102
  orgId: string;
@@ -105,14 +105,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
105
105
  } | {
106
106
  output: {
107
107
  error: {
108
- code: "api_key_invalid" | "api_key_missing";
108
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
109
109
  details?: readonly Response.error.Detail[] | undefined;
110
110
  message: string;
111
111
  };
112
112
  requestId: string;
113
113
  };
114
114
  outputFormat: "json";
115
- status: 401;
115
+ status: 403;
116
116
  input: {
117
117
  param: {
118
118
  orgId: string;
@@ -121,14 +121,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
121
121
  } | {
122
122
  output: {
123
123
  error: {
124
- code: "api_key_forbidden" | "api_key_ip_forbidden";
124
+ code: "payment_required" | "rate_limit_exceeded";
125
125
  details?: readonly Response.error.Detail[] | undefined;
126
126
  message: string;
127
127
  };
128
128
  requestId: string;
129
129
  };
130
130
  outputFormat: "json";
131
- status: 403;
131
+ status: 429;
132
132
  input: {
133
133
  param: {
134
134
  orgId: string;
@@ -137,14 +137,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
137
137
  } | {
138
138
  output: {
139
139
  error: {
140
- code: "payment_required" | "rate_limit_exceeded";
140
+ code: "upstream_error";
141
141
  details?: readonly Response.error.Detail[] | undefined;
142
142
  message: string;
143
143
  };
144
144
  requestId: string;
145
145
  };
146
146
  outputFormat: "json";
147
- status: 429;
147
+ status: 502;
148
148
  input: {
149
149
  param: {
150
150
  orgId: string;
@@ -206,14 +206,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
206
206
  $patch: {
207
207
  output: {
208
208
  error: {
209
- code: "upstream_error";
209
+ code: "api_key_malformed";
210
210
  details?: readonly Response.error.Detail[] | undefined;
211
211
  message: string;
212
212
  };
213
213
  requestId: string;
214
214
  };
215
215
  outputFormat: "json";
216
- status: 502;
216
+ status: 400;
217
217
  input: {
218
218
  param: {
219
219
  orgId: string;
@@ -227,14 +227,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
227
227
  } | {
228
228
  output: {
229
229
  error: {
230
- code: "api_key_malformed";
230
+ code: "api_key_invalid" | "api_key_missing";
231
231
  details?: readonly Response.error.Detail[] | undefined;
232
232
  message: string;
233
233
  };
234
234
  requestId: string;
235
235
  };
236
236
  outputFormat: "json";
237
- status: 400;
237
+ status: 401;
238
238
  input: {
239
239
  param: {
240
240
  orgId: string;
@@ -248,14 +248,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
248
248
  } | {
249
249
  output: {
250
250
  error: {
251
- code: "api_key_invalid" | "api_key_missing";
251
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
252
252
  details?: readonly Response.error.Detail[] | undefined;
253
253
  message: string;
254
254
  };
255
255
  requestId: string;
256
256
  };
257
257
  outputFormat: "json";
258
- status: 401;
258
+ status: 403;
259
259
  input: {
260
260
  param: {
261
261
  orgId: string;
@@ -269,14 +269,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
269
269
  } | {
270
270
  output: {
271
271
  error: {
272
- code: "api_key_forbidden" | "api_key_ip_forbidden";
272
+ code: "payment_required" | "rate_limit_exceeded";
273
273
  details?: readonly Response.error.Detail[] | undefined;
274
274
  message: string;
275
275
  };
276
276
  requestId: string;
277
277
  };
278
278
  outputFormat: "json";
279
- status: 403;
279
+ status: 429;
280
280
  input: {
281
281
  param: {
282
282
  orgId: string;
@@ -290,14 +290,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
290
290
  } | {
291
291
  output: {
292
292
  error: {
293
- code: "payment_required" | "rate_limit_exceeded";
293
+ code: "upstream_error";
294
294
  details?: readonly Response.error.Detail[] | undefined;
295
295
  message: string;
296
296
  };
297
297
  requestId: string;
298
298
  };
299
299
  outputFormat: "json";
300
- status: 429;
300
+ status: 502;
301
301
  input: {
302
302
  param: {
303
303
  orgId: string;
@@ -440,14 +440,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
440
440
  $delete: {
441
441
  output: {
442
442
  error: {
443
- code: "upstream_error";
443
+ code: "api_key_malformed";
444
444
  details?: readonly Response.error.Detail[] | undefined;
445
445
  message: string;
446
446
  };
447
447
  requestId: string;
448
448
  };
449
449
  outputFormat: "json";
450
- status: 502;
450
+ status: 400;
451
451
  input: {
452
452
  param: {
453
453
  orgId: string;
@@ -457,14 +457,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
457
457
  } | {
458
458
  output: {
459
459
  error: {
460
- code: "api_key_malformed";
460
+ code: "api_key_invalid" | "api_key_missing";
461
461
  details?: readonly Response.error.Detail[] | undefined;
462
462
  message: string;
463
463
  };
464
464
  requestId: string;
465
465
  };
466
466
  outputFormat: "json";
467
- status: 400;
467
+ status: 401;
468
468
  input: {
469
469
  param: {
470
470
  orgId: string;
@@ -474,14 +474,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
474
474
  } | {
475
475
  output: {
476
476
  error: {
477
- code: "api_key_invalid" | "api_key_missing";
477
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
478
478
  details?: readonly Response.error.Detail[] | undefined;
479
479
  message: string;
480
480
  };
481
481
  requestId: string;
482
482
  };
483
483
  outputFormat: "json";
484
- status: 401;
484
+ status: 403;
485
485
  input: {
486
486
  param: {
487
487
  orgId: string;
@@ -491,14 +491,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
491
491
  } | {
492
492
  output: {
493
493
  error: {
494
- code: "api_key_forbidden" | "api_key_ip_forbidden";
494
+ code: "payment_required" | "rate_limit_exceeded";
495
495
  details?: readonly Response.error.Detail[] | undefined;
496
496
  message: string;
497
497
  };
498
498
  requestId: string;
499
499
  };
500
500
  outputFormat: "json";
501
- status: 403;
501
+ status: 429;
502
502
  input: {
503
503
  param: {
504
504
  orgId: string;
@@ -508,14 +508,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
508
508
  } | {
509
509
  output: {
510
510
  error: {
511
- code: "payment_required" | "rate_limit_exceeded";
511
+ code: "upstream_error";
512
512
  details?: readonly Response.error.Detail[] | undefined;
513
513
  message: string;
514
514
  };
515
515
  requestId: string;
516
516
  };
517
517
  outputFormat: "json";
518
- status: 429;
518
+ status: 502;
519
519
  input: {
520
520
  param: {
521
521
  orgId: string;