tapimo 0.6.0 → 0.7.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 (250) hide show
  1. package/dist/App.d.ts +8641 -8263
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +9 -1
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +4 -0
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +5 -0
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/App.d.ts +112 -11
  10. package/dist/admin/App.d.ts.map +1 -1
  11. package/dist/admin/apps/api-keys.d.ts +2 -1
  12. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  13. package/dist/admin/apps/early-access.d.ts +2 -2
  14. package/dist/admin/apps/early-access.d.ts.map +1 -1
  15. package/dist/admin/apps/early-access.js +5 -5
  16. package/dist/admin/apps/early-access.js.map +1 -1
  17. package/dist/admin/apps/organizations.d.ts +124 -1
  18. package/dist/admin/apps/organizations.d.ts.map +1 -1
  19. package/dist/admin/apps/organizations.js +97 -6
  20. package/dist/admin/apps/organizations.js.map +1 -1
  21. package/dist/admin/ui.generated.d.ts +1 -1
  22. package/dist/admin/ui.generated.d.ts.map +1 -1
  23. package/dist/admin/ui.generated.js +95 -87
  24. package/dist/admin/ui.generated.js.map +1 -1
  25. package/dist/analytics/Analytics.d.ts.map +1 -1
  26. package/dist/analytics/Analytics.js +20 -0
  27. package/dist/analytics/Analytics.js.map +1 -1
  28. package/dist/analytics/tables/requestEvents.d.ts +18 -0
  29. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  30. package/dist/analytics/tables/requestEvents.js +36 -7
  31. package/dist/analytics/tables/requestEvents.js.map +1 -1
  32. package/dist/apps/data/App.d.ts +5016 -4985
  33. package/dist/apps/data/App.d.ts.map +1 -1
  34. package/dist/apps/data/FundingQuoteProviders.js +2 -15
  35. package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
  36. package/dist/apps/data/FxOracle.d.ts +1 -1
  37. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  38. package/dist/apps/data/FxOracle.js +1 -1
  39. package/dist/apps/data/FxOracle.js.map +1 -1
  40. package/dist/apps/data/routes/activities.d.ts +27 -27
  41. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  42. package/dist/apps/data/routes/activities.js +21 -1
  43. package/dist/apps/data/routes/activities.js.map +1 -1
  44. package/dist/apps/data/routes/balances.d.ts +58 -58
  45. package/dist/apps/data/routes/blocks.d.ts +39 -39
  46. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  47. package/dist/apps/data/routes/exchanges.d.ts +113 -113
  48. package/dist/apps/data/routes/fee-amm.d.ts +105 -91
  49. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  50. package/dist/apps/data/routes/fee-amm.js +76 -91
  51. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  52. package/dist/apps/data/routes/funding.d.ts +72 -34
  53. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  54. package/dist/apps/data/routes/funding.js +34 -26
  55. package/dist/apps/data/routes/funding.js.map +1 -1
  56. package/dist/apps/data/routes/indexer.d.ts +5 -5
  57. package/dist/apps/data/routes/receipts.d.ts +6 -6
  58. package/dist/apps/data/routes/rpc.d.ts +31 -31
  59. package/dist/apps/data/routes/tokens.d.ts +2 -2
  60. package/dist/apps/data/routes/tokens.js +1 -1
  61. package/dist/apps/data/routes/transactions.d.ts +4 -4
  62. package/dist/apps/data/routes/transfers.d.ts +99 -88
  63. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  64. package/dist/apps/data/routes/transfers.js +226 -141
  65. package/dist/apps/data/routes/transfers.js.map +1 -1
  66. package/dist/apps/data/routes/valuation.d.ts +34 -34
  67. package/dist/apps/data/routes/valuation.js +3 -3
  68. package/dist/apps/data/routes/valuation.js.map +1 -1
  69. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  70. package/dist/apps/data/routes/webhooks.d.ts +366 -366
  71. package/dist/apps/index.d.ts +1 -0
  72. package/dist/apps/index.d.ts.map +1 -1
  73. package/dist/apps/index.js +1 -0
  74. package/dist/apps/index.js.map +1 -1
  75. package/dist/apps/management/App.d.ts +460 -523
  76. package/dist/apps/management/App.d.ts.map +1 -1
  77. package/dist/apps/management/routes/api-keys.d.ts +7 -23
  78. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  79. package/dist/apps/management/routes/api-keys.js +20 -8
  80. package/dist/apps/management/routes/api-keys.js.map +1 -1
  81. package/dist/apps/management/routes/billing.d.ts +106 -151
  82. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  83. package/dist/apps/management/routes/billing.js +28 -28
  84. package/dist/apps/management/routes/billing.js.map +1 -1
  85. package/dist/apps/management/routes/faucet.d.ts +40 -26
  86. package/dist/apps/management/routes/faucet.d.ts.map +1 -1
  87. package/dist/apps/management/routes/faucet.js +33 -18
  88. package/dist/apps/management/routes/faucet.js.map +1 -1
  89. package/dist/apps/management/routes/invitations.d.ts +131 -131
  90. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  91. package/dist/apps/management/routes/invitations.js +0 -3
  92. package/dist/apps/management/routes/invitations.js.map +1 -1
  93. package/dist/apps/management/routes/me.d.ts +6 -8
  94. package/dist/apps/management/routes/me.d.ts.map +1 -1
  95. package/dist/apps/management/routes/me.js +0 -4
  96. package/dist/apps/management/routes/me.js.map +1 -1
  97. package/dist/apps/management/routes/members.d.ts +45 -45
  98. package/dist/apps/management/routes/orgs.d.ts +94 -94
  99. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  100. package/dist/apps/management/routes/orgs.js +5 -0
  101. package/dist/apps/management/routes/orgs.js.map +1 -1
  102. package/dist/apps/management/routes/usage.d.ts +32 -32
  103. package/dist/apps/management/routes/verified-token-requests.d.ts +94 -94
  104. package/dist/apps/management/routes/webhooks.d.ts +1 -1
  105. package/dist/apps/mpp/App.d.ts +363 -0
  106. package/dist/apps/mpp/App.d.ts.map +1 -0
  107. package/dist/apps/mpp/App.js +72 -0
  108. package/dist/apps/mpp/App.js.map +1 -0
  109. package/dist/apps/mpp/Mpp.d.ts +178 -0
  110. package/dist/apps/mpp/Mpp.d.ts.map +1 -0
  111. package/dist/apps/mpp/Mpp.js +183 -0
  112. package/dist/apps/mpp/Mpp.js.map +1 -0
  113. package/dist/apps/mpp/index.d.ts +3 -0
  114. package/dist/apps/mpp/index.d.ts.map +1 -0
  115. package/dist/apps/mpp/index.js +3 -0
  116. package/dist/apps/mpp/index.js.map +1 -0
  117. package/dist/apps/relay/App.d.ts.map +1 -1
  118. package/dist/apps/relay/App.js +56 -9
  119. package/dist/apps/relay/App.js.map +1 -1
  120. package/dist/db/Db.d.ts +2 -0
  121. package/dist/db/Db.d.ts.map +1 -1
  122. package/dist/db/Db.js +27 -0
  123. package/dist/db/Db.js.map +1 -1
  124. package/dist/db/Schema.d.ts +12 -0
  125. package/dist/db/Schema.d.ts.map +1 -1
  126. package/dist/db/Schema.js +11 -0
  127. package/dist/db/Schema.js.map +1 -1
  128. package/dist/db/tables/enabledBillingSources.d.ts +73 -0
  129. package/dist/db/tables/enabledBillingSources.d.ts.map +1 -0
  130. package/dist/db/tables/enabledBillingSources.js +69 -0
  131. package/dist/db/tables/enabledBillingSources.js.map +1 -0
  132. package/dist/db/tables/invitations.d.ts +1 -12
  133. package/dist/db/tables/invitations.d.ts.map +1 -1
  134. package/dist/db/tables/invitations.js +3 -23
  135. package/dist/db/tables/invitations.js.map +1 -1
  136. package/dist/db/tables/organizations.d.ts +5 -2
  137. package/dist/db/tables/organizations.d.ts.map +1 -1
  138. package/dist/db/tables/organizations.js +13 -2
  139. package/dist/db/tables/organizations.js.map +1 -1
  140. package/dist/handlers/internal/utils.d.ts +1 -16
  141. package/dist/handlers/internal/utils.d.ts.map +1 -1
  142. package/dist/handlers/internal/utils.js +17 -6
  143. package/dist/handlers/internal/utils.js.map +1 -1
  144. package/dist/handlers/relay.d.ts.map +1 -1
  145. package/dist/handlers/relay.js +37 -5
  146. package/dist/handlers/relay.js.map +1 -1
  147. package/dist/internal/Auth.d.ts +0 -32
  148. package/dist/internal/Auth.d.ts.map +1 -1
  149. package/dist/internal/Auth.js +3 -51
  150. package/dist/internal/Auth.js.map +1 -1
  151. package/dist/internal/FundingQuotes.d.ts +78 -32
  152. package/dist/internal/FundingQuotes.d.ts.map +1 -1
  153. package/dist/internal/FundingQuotes.js +45 -8
  154. package/dist/internal/FundingQuotes.js.map +1 -1
  155. package/dist/internal/Log.d.ts +18 -4
  156. package/dist/internal/Log.d.ts.map +1 -1
  157. package/dist/internal/Log.js +50 -3
  158. package/dist/internal/Log.js.map +1 -1
  159. package/dist/internal/MetricSink.d.ts.map +1 -1
  160. package/dist/internal/MetricSink.js +15 -0
  161. package/dist/internal/MetricSink.js.map +1 -1
  162. package/dist/internal/Response.d.ts +2 -2
  163. package/dist/internal/Response.d.ts.map +1 -1
  164. package/dist/internal/Response.js +12 -4
  165. package/dist/internal/Response.js.map +1 -1
  166. package/dist/internal/Viem.d.ts +1 -1
  167. package/package.json +7 -2
  168. package/src/App.test.ts +9 -4
  169. package/src/App.ts +14 -2
  170. package/src/Client.test-d.ts +109 -28
  171. package/src/Scope.ts +5 -0
  172. package/src/admin/App.test.ts +4 -0
  173. package/src/admin/apps/early-access.ts +6 -5
  174. package/src/admin/apps/organizations.test.ts +86 -2
  175. package/src/admin/apps/organizations.ts +155 -31
  176. package/src/admin/apps/scopes.test.ts +5 -0
  177. package/src/admin/ui/src/lib/organizations.test.ts +81 -1
  178. package/src/admin/ui/src/lib/organizations.ts +92 -0
  179. package/src/admin/ui/src/routes/api-keys.tsx +1 -1
  180. package/src/admin/ui/src/routes/early-access.tsx +8 -3
  181. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +103 -0
  182. package/src/admin/ui.generated.ts +95 -109
  183. package/src/analytics/Analytics.test.ts +83 -0
  184. package/src/analytics/Analytics.ts +20 -0
  185. package/src/analytics/tables/requestEvents.ts +60 -7
  186. package/src/apps/composition.test.ts +11 -2
  187. package/src/apps/data/App.test.ts +1 -1
  188. package/src/apps/data/FundingQuoteProviders.test.ts +0 -5
  189. package/src/apps/data/FundingQuoteProviders.ts +2 -29
  190. package/src/apps/data/FxOracle.test.ts +2 -2
  191. package/src/apps/data/FxOracle.ts +2 -2
  192. package/src/apps/data/routes/activities.test.ts +6 -2
  193. package/src/apps/data/routes/activities.ts +39 -1
  194. package/src/apps/data/routes/balances.test.ts +6 -2
  195. package/src/apps/data/routes/exchanges.test.ts +7 -3
  196. package/src/apps/data/routes/fee-amm.test.ts +47 -23
  197. package/src/apps/data/routes/fee-amm.ts +98 -119
  198. package/src/apps/data/routes/funding.test.ts +29 -8
  199. package/src/apps/data/routes/funding.ts +42 -48
  200. package/src/apps/data/routes/receipts.test.ts +6 -2
  201. package/src/apps/data/routes/tokens.ts +1 -1
  202. package/src/apps/data/routes/transfers.test.ts +203 -35
  203. package/src/apps/data/routes/transfers.ts +294 -172
  204. package/src/apps/data/routes/valuation.test.ts +18 -3
  205. package/src/apps/data/routes/valuation.ts +4 -4
  206. package/src/apps/index.ts +1 -0
  207. package/src/apps/management/routes/api-keys.test.ts +2 -75
  208. package/src/apps/management/routes/api-keys.ts +30 -7
  209. package/src/apps/management/routes/billing.test.ts +106 -85
  210. package/src/apps/management/routes/billing.ts +32 -21
  211. package/src/apps/management/routes/faucet.test.ts +11 -3
  212. package/src/apps/management/routes/faucet.ts +46 -30
  213. package/src/apps/management/routes/invitations.test.ts +0 -172
  214. package/src/apps/management/routes/invitations.ts +0 -3
  215. package/src/apps/management/routes/me.test.ts +3 -145
  216. package/src/apps/management/routes/me.ts +0 -6
  217. package/src/apps/management/routes/orgs.test.ts +45 -2
  218. package/src/apps/management/routes/orgs.ts +6 -0
  219. package/src/apps/management/routes/scopes.test.ts +1 -0
  220. package/src/apps/mpp/App.ts +86 -0
  221. package/src/apps/mpp/Mpp.test.ts +193 -0
  222. package/src/apps/mpp/Mpp.ts +353 -0
  223. package/src/apps/mpp/index.ts +2 -0
  224. package/src/apps/mpp/internal/Adapter.ts +11 -0
  225. package/src/apps/mpp/internal/Error.ts +9 -0
  226. package/src/apps/mpp/internal/Idempotency.ts +7 -0
  227. package/src/apps/mpp/internal/Screening.ts +10 -0
  228. package/src/apps/relay/App.test.ts +88 -6
  229. package/src/apps/relay/App.ts +61 -9
  230. package/src/db/Db.test.ts +2 -2
  231. package/src/db/Db.ts +30 -0
  232. package/src/db/Schema.ts +15 -0
  233. package/src/db/tables/enabledBillingSources.test.ts +303 -0
  234. package/src/db/tables/enabledBillingSources.ts +118 -0
  235. package/src/db/tables/invitations.ts +4 -26
  236. package/src/db/tables/organizations.test.ts +103 -0
  237. package/src/db/tables/organizations.ts +18 -2
  238. package/src/handlers/internal/utils.ts +22 -6
  239. package/src/handlers/relay.errors.test.ts +153 -0
  240. package/src/handlers/relay.ts +42 -7
  241. package/src/internal/Auth.test.ts +3 -3
  242. package/src/internal/Auth.ts +3 -63
  243. package/src/internal/FundingQuotes.test.ts +18 -5
  244. package/src/internal/FundingQuotes.ts +46 -11
  245. package/src/internal/Log.test.ts +91 -0
  246. package/src/internal/Log.ts +69 -5
  247. package/src/internal/MetricSink.test.ts +55 -0
  248. package/src/internal/MetricSink.ts +14 -0
  249. package/src/internal/Response.test.ts +28 -0
  250. package/src/internal/Response.ts +12 -4
@@ -79,38 +79,38 @@ export declare function management(options?: management.Options): import("hono/h
79
79
  $get: {
80
80
  output: {
81
81
  error: {
82
- code: "api_key_malformed";
82
+ code: "upstream_error";
83
83
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
84
84
  message: string;
85
85
  };
86
86
  requestId: string;
87
87
  };
88
88
  outputFormat: "json";
89
- status: 400;
89
+ status: 502;
90
90
  input: {};
91
91
  } | {
92
92
  output: {
93
93
  error: {
94
- code: "api_key_invalid" | "api_key_missing";
94
+ code: "api_key_malformed";
95
95
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
96
96
  message: string;
97
97
  };
98
98
  requestId: string;
99
99
  };
100
100
  outputFormat: "json";
101
- status: 401;
101
+ status: 400;
102
102
  input: {};
103
103
  } | {
104
104
  output: {
105
105
  error: {
106
- code: "upstream_error";
106
+ code: "api_key_invalid" | "api_key_missing";
107
107
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
108
108
  message: string;
109
109
  };
110
110
  requestId: string;
111
111
  };
112
112
  outputFormat: "json";
113
- status: 502;
113
+ status: 401;
114
114
  input: {};
115
115
  } | {
116
116
  output: {
@@ -142,7 +142,6 @@ export declare function management(options?: management.Options): import("hono/h
142
142
  createdAt: string;
143
143
  email?: string | undefined;
144
144
  id: string;
145
- tmp_earlyAccess: boolean;
146
145
  updatedAt: string;
147
146
  };
148
147
  outputFormat: "json";
@@ -218,14 +217,14 @@ export declare function management(options?: management.Options): import("hono/h
218
217
  $post: {
219
218
  output: {
220
219
  error: {
221
- code: "api_key_malformed";
220
+ code: "upstream_error";
222
221
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
223
222
  message: string;
224
223
  };
225
224
  requestId: string;
226
225
  };
227
226
  outputFormat: "json";
228
- status: 400;
227
+ status: 502;
229
228
  input: {
230
229
  param: {
231
230
  orgId: string;
@@ -238,14 +237,14 @@ export declare function management(options?: management.Options): import("hono/h
238
237
  } | {
239
238
  output: {
240
239
  error: {
241
- code: "api_key_invalid" | "api_key_missing";
240
+ code: "api_key_malformed";
242
241
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
243
242
  message: string;
244
243
  };
245
244
  requestId: string;
246
245
  };
247
246
  outputFormat: "json";
248
- status: 401;
247
+ status: 400;
249
248
  input: {
250
249
  param: {
251
250
  orgId: string;
@@ -258,14 +257,14 @@ export declare function management(options?: management.Options): import("hono/h
258
257
  } | {
259
258
  output: {
260
259
  error: {
261
- code: "upstream_error";
260
+ code: "api_key_invalid" | "api_key_missing";
262
261
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
263
262
  message: string;
264
263
  };
265
264
  requestId: string;
266
265
  };
267
266
  outputFormat: "json";
268
- status: 502;
267
+ status: 401;
269
268
  input: {
270
269
  param: {
271
270
  orgId: string;
@@ -378,12 +377,19 @@ export declare function management(options?: management.Options): import("hono/h
378
377
  } | {
379
378
  output: {
380
379
  tokens: {
381
- address: `0x${string}`;
382
- amount: string;
383
- currency: string;
384
- decimals: number;
385
- name: string;
386
- symbol: string;
380
+ amount: {
381
+ baseUnits: string;
382
+ currency: string;
383
+ decimals: number;
384
+ formatted: string;
385
+ };
386
+ token: {
387
+ address: `0x${string}`;
388
+ currency: string;
389
+ decimals: number;
390
+ name: string;
391
+ symbol: string;
392
+ };
387
393
  transactionHash: `0x${string}`;
388
394
  }[];
389
395
  transactionHashes: `0x${string}`[];
@@ -406,14 +412,14 @@ export declare function management(options?: management.Options): import("hono/h
406
412
  $get: {
407
413
  output: {
408
414
  error: {
409
- code: "api_key_malformed";
415
+ code: "upstream_error";
410
416
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
411
417
  message: string;
412
418
  };
413
419
  requestId: string;
414
420
  };
415
421
  outputFormat: "json";
416
- status: 400;
422
+ status: 502;
417
423
  input: {
418
424
  param: {
419
425
  orgId: string;
@@ -430,14 +436,14 @@ export declare function management(options?: management.Options): import("hono/h
430
436
  } | {
431
437
  output: {
432
438
  error: {
433
- code: "api_key_invalid" | "api_key_missing";
439
+ code: "api_key_malformed";
434
440
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
435
441
  message: string;
436
442
  };
437
443
  requestId: string;
438
444
  };
439
445
  outputFormat: "json";
440
- status: 401;
446
+ status: 400;
441
447
  input: {
442
448
  param: {
443
449
  orgId: string;
@@ -454,14 +460,14 @@ export declare function management(options?: management.Options): import("hono/h
454
460
  } | {
455
461
  output: {
456
462
  error: {
457
- code: "api_key_forbidden";
463
+ code: "api_key_invalid" | "api_key_missing";
458
464
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
459
465
  message: string;
460
466
  };
461
467
  requestId: string;
462
468
  };
463
469
  outputFormat: "json";
464
- status: 403;
470
+ status: 401;
465
471
  input: {
466
472
  param: {
467
473
  orgId: string;
@@ -478,14 +484,14 @@ export declare function management(options?: management.Options): import("hono/h
478
484
  } | {
479
485
  output: {
480
486
  error: {
481
- code: "payment_required" | "rate_limit_exceeded";
487
+ code: "api_key_forbidden";
482
488
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
483
489
  message: string;
484
490
  };
485
491
  requestId: string;
486
492
  };
487
493
  outputFormat: "json";
488
- status: 429;
494
+ status: 403;
489
495
  input: {
490
496
  param: {
491
497
  orgId: string;
@@ -502,14 +508,14 @@ export declare function management(options?: management.Options): import("hono/h
502
508
  } | {
503
509
  output: {
504
510
  error: {
505
- code: "query_invalid";
511
+ code: "payment_required" | "rate_limit_exceeded";
506
512
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
507
513
  message: string;
508
514
  };
509
515
  requestId: string;
510
516
  };
511
517
  outputFormat: "json";
512
- status: 400;
518
+ status: 429;
513
519
  input: {
514
520
  param: {
515
521
  orgId: string;
@@ -526,14 +532,14 @@ export declare function management(options?: management.Options): import("hono/h
526
532
  } | {
527
533
  output: {
528
534
  error: {
529
- code: "upstream_error";
535
+ code: "query_invalid";
530
536
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
531
537
  message: string;
532
538
  };
533
539
  requestId: string;
534
540
  };
535
541
  outputFormat: "json";
536
- status: 502;
542
+ status: 400;
537
543
  input: {
538
544
  param: {
539
545
  orgId: string;
@@ -673,14 +679,14 @@ export declare function management(options?: management.Options): import("hono/h
673
679
  $get: {
674
680
  output: {
675
681
  error: {
676
- code: "api_key_malformed";
682
+ code: "upstream_error";
677
683
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
678
684
  message: string;
679
685
  };
680
686
  requestId: string;
681
687
  };
682
688
  outputFormat: "json";
683
- status: 400;
689
+ status: 502;
684
690
  input: {
685
691
  param: {
686
692
  orgId: string;
@@ -697,14 +703,14 @@ export declare function management(options?: management.Options): import("hono/h
697
703
  } | {
698
704
  output: {
699
705
  error: {
700
- code: "api_key_invalid" | "api_key_missing";
706
+ code: "api_key_malformed";
701
707
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
702
708
  message: string;
703
709
  };
704
710
  requestId: string;
705
711
  };
706
712
  outputFormat: "json";
707
- status: 401;
713
+ status: 400;
708
714
  input: {
709
715
  param: {
710
716
  orgId: string;
@@ -721,14 +727,14 @@ export declare function management(options?: management.Options): import("hono/h
721
727
  } | {
722
728
  output: {
723
729
  error: {
724
- code: "api_key_forbidden";
730
+ code: "api_key_invalid" | "api_key_missing";
725
731
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
726
732
  message: string;
727
733
  };
728
734
  requestId: string;
729
735
  };
730
736
  outputFormat: "json";
731
- status: 403;
737
+ status: 401;
732
738
  input: {
733
739
  param: {
734
740
  orgId: string;
@@ -745,14 +751,14 @@ export declare function management(options?: management.Options): import("hono/h
745
751
  } | {
746
752
  output: {
747
753
  error: {
748
- code: "payment_required" | "rate_limit_exceeded";
754
+ code: "api_key_forbidden";
749
755
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
750
756
  message: string;
751
757
  };
752
758
  requestId: string;
753
759
  };
754
760
  outputFormat: "json";
755
- status: 429;
761
+ status: 403;
756
762
  input: {
757
763
  param: {
758
764
  orgId: string;
@@ -769,14 +775,14 @@ export declare function management(options?: management.Options): import("hono/h
769
775
  } | {
770
776
  output: {
771
777
  error: {
772
- code: "query_invalid";
778
+ code: "payment_required" | "rate_limit_exceeded";
773
779
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
774
780
  message: string;
775
781
  };
776
782
  requestId: string;
777
783
  };
778
784
  outputFormat: "json";
779
- status: 400;
785
+ status: 429;
780
786
  input: {
781
787
  param: {
782
788
  orgId: string;
@@ -793,14 +799,14 @@ export declare function management(options?: management.Options): import("hono/h
793
799
  } | {
794
800
  output: {
795
801
  error: {
796
- code: "upstream_error";
802
+ code: "query_invalid";
797
803
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
798
804
  message: string;
799
805
  };
800
806
  requestId: string;
801
807
  };
802
808
  outputFormat: "json";
803
- status: 502;
809
+ status: 400;
804
810
  input: {
805
811
  param: {
806
812
  orgId: string;
@@ -896,14 +902,14 @@ export declare function management(options?: management.Options): import("hono/h
896
902
  $get: {
897
903
  output: {
898
904
  error: {
899
- code: "api_key_malformed";
905
+ code: "upstream_error";
900
906
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
901
907
  message: string;
902
908
  };
903
909
  requestId: string;
904
910
  };
905
911
  outputFormat: "json";
906
- status: 400;
912
+ status: 502;
907
913
  input: {
908
914
  param: {
909
915
  orgId: string;
@@ -912,14 +918,14 @@ export declare function management(options?: management.Options): import("hono/h
912
918
  } | {
913
919
  output: {
914
920
  error: {
915
- code: "api_key_invalid" | "api_key_missing";
921
+ code: "api_key_malformed";
916
922
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
917
923
  message: string;
918
924
  };
919
925
  requestId: string;
920
926
  };
921
927
  outputFormat: "json";
922
- status: 401;
928
+ status: 400;
923
929
  input: {
924
930
  param: {
925
931
  orgId: string;
@@ -928,14 +934,14 @@ export declare function management(options?: management.Options): import("hono/h
928
934
  } | {
929
935
  output: {
930
936
  error: {
931
- code: "api_key_forbidden";
937
+ code: "api_key_invalid" | "api_key_missing";
932
938
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
933
939
  message: string;
934
940
  };
935
941
  requestId: string;
936
942
  };
937
943
  outputFormat: "json";
938
- status: 403;
944
+ status: 401;
939
945
  input: {
940
946
  param: {
941
947
  orgId: string;
@@ -944,14 +950,14 @@ export declare function management(options?: management.Options): import("hono/h
944
950
  } | {
945
951
  output: {
946
952
  error: {
947
- code: "payment_required" | "rate_limit_exceeded";
953
+ code: "api_key_forbidden";
948
954
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
949
955
  message: string;
950
956
  };
951
957
  requestId: string;
952
958
  };
953
959
  outputFormat: "json";
954
- status: 429;
960
+ status: 403;
955
961
  input: {
956
962
  param: {
957
963
  orgId: string;
@@ -960,14 +966,14 @@ export declare function management(options?: management.Options): import("hono/h
960
966
  } | {
961
967
  output: {
962
968
  error: {
963
- code: "upstream_error";
969
+ code: "payment_required" | "rate_limit_exceeded";
964
970
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
965
971
  message: string;
966
972
  };
967
973
  requestId: string;
968
974
  };
969
975
  outputFormat: "json";
970
- status: 502;
976
+ status: 429;
971
977
  input: {
972
978
  param: {
973
979
  orgId: string;
@@ -1029,14 +1035,14 @@ export declare function management(options?: management.Options): import("hono/h
1029
1035
  $patch: {
1030
1036
  output: {
1031
1037
  error: {
1032
- code: "api_key_malformed";
1038
+ code: "upstream_error";
1033
1039
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1034
1040
  message: string;
1035
1041
  };
1036
1042
  requestId: string;
1037
1043
  };
1038
1044
  outputFormat: "json";
1039
- status: 400;
1045
+ status: 502;
1040
1046
  input: {
1041
1047
  param: {
1042
1048
  orgId: string;
@@ -1050,14 +1056,14 @@ export declare function management(options?: management.Options): import("hono/h
1050
1056
  } | {
1051
1057
  output: {
1052
1058
  error: {
1053
- code: "api_key_invalid" | "api_key_missing";
1059
+ code: "api_key_malformed";
1054
1060
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1055
1061
  message: string;
1056
1062
  };
1057
1063
  requestId: string;
1058
1064
  };
1059
1065
  outputFormat: "json";
1060
- status: 401;
1066
+ status: 400;
1061
1067
  input: {
1062
1068
  param: {
1063
1069
  orgId: string;
@@ -1071,14 +1077,14 @@ export declare function management(options?: management.Options): import("hono/h
1071
1077
  } | {
1072
1078
  output: {
1073
1079
  error: {
1074
- code: "api_key_forbidden";
1080
+ code: "api_key_invalid" | "api_key_missing";
1075
1081
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1076
1082
  message: string;
1077
1083
  };
1078
1084
  requestId: string;
1079
1085
  };
1080
1086
  outputFormat: "json";
1081
- status: 403;
1087
+ status: 401;
1082
1088
  input: {
1083
1089
  param: {
1084
1090
  orgId: string;
@@ -1092,14 +1098,14 @@ export declare function management(options?: management.Options): import("hono/h
1092
1098
  } | {
1093
1099
  output: {
1094
1100
  error: {
1095
- code: "payment_required" | "rate_limit_exceeded";
1101
+ code: "api_key_forbidden";
1096
1102
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1097
1103
  message: string;
1098
1104
  };
1099
1105
  requestId: string;
1100
1106
  };
1101
1107
  outputFormat: "json";
1102
- status: 429;
1108
+ status: 403;
1103
1109
  input: {
1104
1110
  param: {
1105
1111
  orgId: string;
@@ -1113,14 +1119,14 @@ export declare function management(options?: management.Options): import("hono/h
1113
1119
  } | {
1114
1120
  output: {
1115
1121
  error: {
1116
- code: "upstream_error";
1122
+ code: "payment_required" | "rate_limit_exceeded";
1117
1123
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1118
1124
  message: string;
1119
1125
  };
1120
1126
  requestId: string;
1121
1127
  };
1122
1128
  outputFormat: "json";
1123
- status: 502;
1129
+ status: 429;
1124
1130
  input: {
1125
1131
  param: {
1126
1132
  orgId: string;
@@ -1263,14 +1269,14 @@ export declare function management(options?: management.Options): import("hono/h
1263
1269
  $delete: {
1264
1270
  output: {
1265
1271
  error: {
1266
- code: "api_key_malformed";
1272
+ code: "upstream_error";
1267
1273
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1268
1274
  message: string;
1269
1275
  };
1270
1276
  requestId: string;
1271
1277
  };
1272
1278
  outputFormat: "json";
1273
- status: 400;
1279
+ status: 502;
1274
1280
  input: {
1275
1281
  param: {
1276
1282
  orgId: string;
@@ -1280,14 +1286,14 @@ export declare function management(options?: management.Options): import("hono/h
1280
1286
  } | {
1281
1287
  output: {
1282
1288
  error: {
1283
- code: "api_key_invalid" | "api_key_missing";
1289
+ code: "api_key_malformed";
1284
1290
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1285
1291
  message: string;
1286
1292
  };
1287
1293
  requestId: string;
1288
1294
  };
1289
1295
  outputFormat: "json";
1290
- status: 401;
1296
+ status: 400;
1291
1297
  input: {
1292
1298
  param: {
1293
1299
  orgId: string;
@@ -1297,14 +1303,14 @@ export declare function management(options?: management.Options): import("hono/h
1297
1303
  } | {
1298
1304
  output: {
1299
1305
  error: {
1300
- code: "api_key_forbidden";
1306
+ code: "api_key_invalid" | "api_key_missing";
1301
1307
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1302
1308
  message: string;
1303
1309
  };
1304
1310
  requestId: string;
1305
1311
  };
1306
1312
  outputFormat: "json";
1307
- status: 403;
1313
+ status: 401;
1308
1314
  input: {
1309
1315
  param: {
1310
1316
  orgId: string;
@@ -1314,14 +1320,14 @@ export declare function management(options?: management.Options): import("hono/h
1314
1320
  } | {
1315
1321
  output: {
1316
1322
  error: {
1317
- code: "payment_required" | "rate_limit_exceeded";
1323
+ code: "api_key_forbidden";
1318
1324
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1319
1325
  message: string;
1320
1326
  };
1321
1327
  requestId: string;
1322
1328
  };
1323
1329
  outputFormat: "json";
1324
- status: 429;
1330
+ status: 403;
1325
1331
  input: {
1326
1332
  param: {
1327
1333
  orgId: string;
@@ -1331,14 +1337,14 @@ export declare function management(options?: management.Options): import("hono/h
1331
1337
  } | {
1332
1338
  output: {
1333
1339
  error: {
1334
- code: "upstream_error";
1340
+ code: "payment_required" | "rate_limit_exceeded";
1335
1341
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1336
1342
  message: string;
1337
1343
  };
1338
1344
  requestId: string;
1339
1345
  };
1340
1346
  outputFormat: "json";
1341
- status: 502;
1347
+ status: 429;
1342
1348
  input: {
1343
1349
  param: {
1344
1350
  orgId: string;
@@ -1449,14 +1455,14 @@ export declare function management(options?: management.Options): import("hono/h
1449
1455
  $post: {
1450
1456
  output: {
1451
1457
  error: {
1452
- code: "api_key_malformed";
1458
+ code: "upstream_error";
1453
1459
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1454
1460
  message: string;
1455
1461
  };
1456
1462
  requestId: string;
1457
1463
  };
1458
1464
  outputFormat: "json";
1459
- status: 400;
1465
+ status: 502;
1460
1466
  input: {
1461
1467
  param: {
1462
1468
  orgId: string;
@@ -1477,14 +1483,14 @@ export declare function management(options?: management.Options): import("hono/h
1477
1483
  } | {
1478
1484
  output: {
1479
1485
  error: {
1480
- code: "api_key_invalid" | "api_key_missing";
1486
+ code: "api_key_malformed";
1481
1487
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1482
1488
  message: string;
1483
1489
  };
1484
1490
  requestId: string;
1485
1491
  };
1486
1492
  outputFormat: "json";
1487
- status: 401;
1493
+ status: 400;
1488
1494
  input: {
1489
1495
  param: {
1490
1496
  orgId: string;
@@ -1505,14 +1511,14 @@ export declare function management(options?: management.Options): import("hono/h
1505
1511
  } | {
1506
1512
  output: {
1507
1513
  error: {
1508
- code: "upstream_error";
1514
+ code: "api_key_invalid" | "api_key_missing";
1509
1515
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1510
1516
  message: string;
1511
1517
  };
1512
1518
  requestId: string;
1513
1519
  };
1514
1520
  outputFormat: "json";
1515
- status: 502;
1521
+ status: 401;
1516
1522
  input: {
1517
1523
  param: {
1518
1524
  orgId: string;
@@ -1772,14 +1778,14 @@ export declare function management(options?: management.Options): import("hono/h
1772
1778
  $get: {
1773
1779
  output: {
1774
1780
  error: {
1775
- code: "api_key_malformed";
1781
+ code: "upstream_error";
1776
1782
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1777
1783
  message: string;
1778
1784
  };
1779
1785
  requestId: string;
1780
1786
  };
1781
1787
  outputFormat: "json";
1782
- status: 400;
1788
+ status: 502;
1783
1789
  input: {
1784
1790
  param: {
1785
1791
  orgId: string;
@@ -1788,14 +1794,14 @@ export declare function management(options?: management.Options): import("hono/h
1788
1794
  } | {
1789
1795
  output: {
1790
1796
  error: {
1791
- code: "api_key_invalid" | "api_key_missing";
1797
+ code: "api_key_malformed";
1792
1798
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1793
1799
  message: string;
1794
1800
  };
1795
1801
  requestId: string;
1796
1802
  };
1797
1803
  outputFormat: "json";
1798
- status: 401;
1804
+ status: 400;
1799
1805
  input: {
1800
1806
  param: {
1801
1807
  orgId: string;
@@ -1804,14 +1810,14 @@ export declare function management(options?: management.Options): import("hono/h
1804
1810
  } | {
1805
1811
  output: {
1806
1812
  error: {
1807
- code: "upstream_error";
1813
+ code: "api_key_invalid" | "api_key_missing";
1808
1814
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1809
1815
  message: string;
1810
1816
  };
1811
1817
  requestId: string;
1812
1818
  };
1813
1819
  outputFormat: "json";
1814
- status: 502;
1820
+ status: 401;
1815
1821
  input: {
1816
1822
  param: {
1817
1823
  orgId: string;
@@ -1901,14 +1907,14 @@ export declare function management(options?: management.Options): import("hono/h
1901
1907
  $delete: {
1902
1908
  output: {
1903
1909
  error: {
1904
- code: "api_key_malformed";
1910
+ code: "upstream_error";
1905
1911
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1906
1912
  message: string;
1907
1913
  };
1908
1914
  requestId: string;
1909
1915
  };
1910
1916
  outputFormat: "json";
1911
- status: 400;
1917
+ status: 502;
1912
1918
  input: {
1913
1919
  param: {
1914
1920
  orgId: string;
@@ -1918,14 +1924,14 @@ export declare function management(options?: management.Options): import("hono/h
1918
1924
  } | {
1919
1925
  output: {
1920
1926
  error: {
1921
- code: "api_key_invalid" | "api_key_missing";
1927
+ code: "api_key_malformed";
1922
1928
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1923
1929
  message: string;
1924
1930
  };
1925
1931
  requestId: string;
1926
1932
  };
1927
1933
  outputFormat: "json";
1928
- status: 401;
1934
+ status: 400;
1929
1935
  input: {
1930
1936
  param: {
1931
1937
  orgId: string;
@@ -1935,14 +1941,14 @@ export declare function management(options?: management.Options): import("hono/h
1935
1941
  } | {
1936
1942
  output: {
1937
1943
  error: {
1938
- code: "upstream_error";
1944
+ code: "api_key_invalid" | "api_key_missing";
1939
1945
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1940
1946
  message: string;
1941
1947
  };
1942
1948
  requestId: string;
1943
1949
  };
1944
1950
  outputFormat: "json";
1945
- status: 502;
1951
+ status: 401;
1946
1952
  input: {
1947
1953
  param: {
1948
1954
  orgId: string;
@@ -2053,14 +2059,14 @@ export declare function management(options?: management.Options): import("hono/h
2053
2059
  $post: {
2054
2060
  output: {
2055
2061
  error: {
2056
- code: "api_key_malformed";
2062
+ code: "upstream_error";
2057
2063
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2058
2064
  message: string;
2059
2065
  };
2060
2066
  requestId: string;
2061
2067
  };
2062
2068
  outputFormat: "json";
2063
- status: 400;
2069
+ status: 502;
2064
2070
  input: {
2065
2071
  param: {
2066
2072
  orgId: string;
@@ -2076,14 +2082,14 @@ export declare function management(options?: management.Options): import("hono/h
2076
2082
  } | {
2077
2083
  output: {
2078
2084
  error: {
2079
- code: "api_key_invalid" | "api_key_missing";
2085
+ code: "api_key_malformed";
2080
2086
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2081
2087
  message: string;
2082
2088
  };
2083
2089
  requestId: string;
2084
2090
  };
2085
2091
  outputFormat: "json";
2086
- status: 401;
2092
+ status: 400;
2087
2093
  input: {
2088
2094
  param: {
2089
2095
  orgId: string;
@@ -2099,14 +2105,14 @@ export declare function management(options?: management.Options): import("hono/h
2099
2105
  } | {
2100
2106
  output: {
2101
2107
  error: {
2102
- code: "upstream_error";
2108
+ code: "api_key_invalid" | "api_key_missing";
2103
2109
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2104
2110
  message: string;
2105
2111
  };
2106
2112
  requestId: string;
2107
2113
  };
2108
2114
  outputFormat: "json";
2109
- status: 502;
2115
+ status: 401;
2110
2116
  input: {
2111
2117
  param: {
2112
2118
  orgId: string;
@@ -2188,29 +2194,6 @@ export declare function management(options?: management.Options): import("hono/h
2188
2194
  scopes?: string[] | undefined;
2189
2195
  };
2190
2196
  };
2191
- } | {
2192
- output: {
2193
- error: {
2194
- code: "early_access_required";
2195
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2196
- message: string;
2197
- };
2198
- requestId: string;
2199
- };
2200
- outputFormat: "json";
2201
- status: 403;
2202
- input: {
2203
- param: {
2204
- orgId: string;
2205
- projectId: string;
2206
- };
2207
- } & {
2208
- json: {
2209
- environment?: "production" | "sandbox" | undefined;
2210
- name?: string | undefined;
2211
- scopes?: string[] | undefined;
2212
- };
2213
- };
2214
2197
  } | {
2215
2198
  output: {
2216
2199
  error: {
@@ -2287,6 +2270,7 @@ export declare function management(options?: management.Options): import("hono/h
2287
2270
  environment: "production" | "sandbox";
2288
2271
  expiresAt?: string | undefined;
2289
2272
  id: string;
2273
+ lastUsedAt?: string | undefined;
2290
2274
  name?: string | undefined;
2291
2275
  orgId: string;
2292
2276
  projectId?: string | undefined;
@@ -2315,14 +2299,14 @@ export declare function management(options?: management.Options): import("hono/h
2315
2299
  $get: {
2316
2300
  output: {
2317
2301
  error: {
2318
- code: "api_key_malformed";
2302
+ code: "upstream_error";
2319
2303
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2320
2304
  message: string;
2321
2305
  };
2322
2306
  requestId: string;
2323
2307
  };
2324
2308
  outputFormat: "json";
2325
- status: 400;
2309
+ status: 502;
2326
2310
  input: {
2327
2311
  param: {
2328
2312
  orgId: string;
@@ -2336,14 +2320,14 @@ export declare function management(options?: management.Options): import("hono/h
2336
2320
  } | {
2337
2321
  output: {
2338
2322
  error: {
2339
- code: "api_key_invalid" | "api_key_missing";
2323
+ code: "api_key_malformed";
2340
2324
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2341
2325
  message: string;
2342
2326
  };
2343
2327
  requestId: string;
2344
2328
  };
2345
2329
  outputFormat: "json";
2346
- status: 401;
2330
+ status: 400;
2347
2331
  input: {
2348
2332
  param: {
2349
2333
  orgId: string;
@@ -2357,14 +2341,14 @@ export declare function management(options?: management.Options): import("hono/h
2357
2341
  } | {
2358
2342
  output: {
2359
2343
  error: {
2360
- code: "api_key_forbidden";
2344
+ code: "api_key_invalid" | "api_key_missing";
2361
2345
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2362
2346
  message: string;
2363
2347
  };
2364
2348
  requestId: string;
2365
2349
  };
2366
2350
  outputFormat: "json";
2367
- status: 403;
2351
+ status: 401;
2368
2352
  input: {
2369
2353
  param: {
2370
2354
  orgId: string;
@@ -2378,14 +2362,14 @@ export declare function management(options?: management.Options): import("hono/h
2378
2362
  } | {
2379
2363
  output: {
2380
2364
  error: {
2381
- code: "payment_required" | "rate_limit_exceeded";
2365
+ code: "api_key_forbidden";
2382
2366
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2383
2367
  message: string;
2384
2368
  };
2385
2369
  requestId: string;
2386
2370
  };
2387
2371
  outputFormat: "json";
2388
- status: 429;
2372
+ status: 403;
2389
2373
  input: {
2390
2374
  param: {
2391
2375
  orgId: string;
@@ -2399,14 +2383,14 @@ export declare function management(options?: management.Options): import("hono/h
2399
2383
  } | {
2400
2384
  output: {
2401
2385
  error: {
2402
- code: "query_invalid";
2386
+ code: "payment_required" | "rate_limit_exceeded";
2403
2387
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2404
2388
  message: string;
2405
2389
  };
2406
2390
  requestId: string;
2407
2391
  };
2408
2392
  outputFormat: "json";
2409
- status: 400;
2393
+ status: 429;
2410
2394
  input: {
2411
2395
  param: {
2412
2396
  orgId: string;
@@ -2420,14 +2404,14 @@ export declare function management(options?: management.Options): import("hono/h
2420
2404
  } | {
2421
2405
  output: {
2422
2406
  error: {
2423
- code: "upstream_error";
2407
+ code: "query_invalid";
2424
2408
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2425
2409
  message: string;
2426
2410
  };
2427
2411
  requestId: string;
2428
2412
  };
2429
2413
  outputFormat: "json";
2430
- status: 502;
2414
+ status: 400;
2431
2415
  input: {
2432
2416
  param: {
2433
2417
  orgId: string;
@@ -2509,6 +2493,7 @@ export declare function management(options?: management.Options): import("hono/h
2509
2493
  environment: "production" | "sandbox";
2510
2494
  expiresAt?: string | undefined;
2511
2495
  id: string;
2496
+ lastUsedAt?: string | undefined;
2512
2497
  name?: string | undefined;
2513
2498
  orgId: string;
2514
2499
  projectId?: string | undefined;
@@ -2533,6 +2518,26 @@ export declare function management(options?: management.Options): import("hono/h
2533
2518
  } & {
2534
2519
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
2535
2520
  $get: {
2521
+ output: {
2522
+ error: {
2523
+ code: "upstream_error";
2524
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2525
+ message: string;
2526
+ };
2527
+ requestId: string;
2528
+ };
2529
+ outputFormat: "json";
2530
+ status: 502;
2531
+ input: {
2532
+ param: {
2533
+ orgId: string;
2534
+ };
2535
+ } & {
2536
+ query?: {
2537
+ environment?: string | string[];
2538
+ } | undefined;
2539
+ };
2540
+ } | {
2536
2541
  output: {
2537
2542
  error: {
2538
2543
  code: "api_key_malformed";
@@ -2632,26 +2637,6 @@ export declare function management(options?: management.Options): import("hono/h
2632
2637
  environment?: string | string[];
2633
2638
  } | undefined;
2634
2639
  };
2635
- } | {
2636
- output: {
2637
- error: {
2638
- code: "upstream_error";
2639
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2640
- message: string;
2641
- };
2642
- requestId: string;
2643
- };
2644
- outputFormat: "json";
2645
- status: 502;
2646
- input: {
2647
- param: {
2648
- orgId: string;
2649
- };
2650
- } & {
2651
- query?: {
2652
- environment?: string | string[];
2653
- } | undefined;
2654
- };
2655
2640
  } | {
2656
2641
  output: {
2657
2642
  error: {
@@ -2720,6 +2705,7 @@ export declare function management(options?: management.Options): import("hono/h
2720
2705
  environment: "production" | "sandbox";
2721
2706
  expiresAt?: string | undefined;
2722
2707
  id: string;
2708
+ lastUsedAt?: string | undefined;
2723
2709
  name?: string | undefined;
2724
2710
  orgId: string;
2725
2711
  projectId?: string | undefined;
@@ -2745,14 +2731,14 @@ export declare function management(options?: management.Options): import("hono/h
2745
2731
  $delete: {
2746
2732
  output: {
2747
2733
  error: {
2748
- code: "api_key_malformed";
2734
+ code: "upstream_error";
2749
2735
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2750
2736
  message: string;
2751
2737
  };
2752
2738
  requestId: string;
2753
2739
  };
2754
2740
  outputFormat: "json";
2755
- status: 400;
2741
+ status: 502;
2756
2742
  input: {
2757
2743
  param: {
2758
2744
  keyId: string;
@@ -2763,14 +2749,14 @@ export declare function management(options?: management.Options): import("hono/h
2763
2749
  } | {
2764
2750
  output: {
2765
2751
  error: {
2766
- code: "api_key_invalid" | "api_key_missing";
2752
+ code: "api_key_malformed";
2767
2753
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2768
2754
  message: string;
2769
2755
  };
2770
2756
  requestId: string;
2771
2757
  };
2772
2758
  outputFormat: "json";
2773
- status: 401;
2759
+ status: 400;
2774
2760
  input: {
2775
2761
  param: {
2776
2762
  keyId: string;
@@ -2781,14 +2767,14 @@ export declare function management(options?: management.Options): import("hono/h
2781
2767
  } | {
2782
2768
  output: {
2783
2769
  error: {
2784
- code: "api_key_forbidden";
2770
+ code: "api_key_invalid" | "api_key_missing";
2785
2771
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2786
2772
  message: string;
2787
2773
  };
2788
2774
  requestId: string;
2789
2775
  };
2790
2776
  outputFormat: "json";
2791
- status: 403;
2777
+ status: 401;
2792
2778
  input: {
2793
2779
  param: {
2794
2780
  keyId: string;
@@ -2799,14 +2785,14 @@ export declare function management(options?: management.Options): import("hono/h
2799
2785
  } | {
2800
2786
  output: {
2801
2787
  error: {
2802
- code: "payment_required" | "rate_limit_exceeded";
2788
+ code: "api_key_forbidden";
2803
2789
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2804
2790
  message: string;
2805
2791
  };
2806
2792
  requestId: string;
2807
2793
  };
2808
2794
  outputFormat: "json";
2809
- status: 429;
2795
+ status: 403;
2810
2796
  input: {
2811
2797
  param: {
2812
2798
  keyId: string;
@@ -2817,14 +2803,14 @@ export declare function management(options?: management.Options): import("hono/h
2817
2803
  } | {
2818
2804
  output: {
2819
2805
  error: {
2820
- code: "upstream_error";
2806
+ code: "payment_required" | "rate_limit_exceeded";
2821
2807
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2822
2808
  message: string;
2823
2809
  };
2824
2810
  requestId: string;
2825
2811
  };
2826
2812
  outputFormat: "json";
2827
- status: 502;
2813
+ status: 429;
2828
2814
  input: {
2829
2815
  param: {
2830
2816
  keyId: string;
@@ -2924,62 +2910,62 @@ export declare function management(options?: management.Options): import("hono/h
2924
2910
  $get: {
2925
2911
  output: {
2926
2912
  error: {
2927
- code: "api_key_malformed";
2913
+ code: "upstream_error";
2928
2914
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2929
2915
  message: string;
2930
2916
  };
2931
2917
  requestId: string;
2932
2918
  };
2933
2919
  outputFormat: "json";
2934
- status: 400;
2920
+ status: 502;
2935
2921
  input: {};
2936
2922
  } | {
2937
2923
  output: {
2938
2924
  error: {
2939
- code: "api_key_invalid" | "api_key_missing";
2925
+ code: "api_key_malformed";
2940
2926
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2941
2927
  message: string;
2942
2928
  };
2943
2929
  requestId: string;
2944
2930
  };
2945
2931
  outputFormat: "json";
2946
- status: 401;
2932
+ status: 400;
2947
2933
  input: {};
2948
2934
  } | {
2949
2935
  output: {
2950
2936
  error: {
2951
- code: "api_key_forbidden";
2937
+ code: "api_key_invalid" | "api_key_missing";
2952
2938
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2953
2939
  message: string;
2954
2940
  };
2955
2941
  requestId: string;
2956
2942
  };
2957
2943
  outputFormat: "json";
2958
- status: 403;
2944
+ status: 401;
2959
2945
  input: {};
2960
2946
  } | {
2961
2947
  output: {
2962
2948
  error: {
2963
- code: "payment_required" | "rate_limit_exceeded";
2949
+ code: "api_key_forbidden";
2964
2950
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2965
2951
  message: string;
2966
2952
  };
2967
2953
  requestId: string;
2968
2954
  };
2969
2955
  outputFormat: "json";
2970
- status: 429;
2956
+ status: 403;
2971
2957
  input: {};
2972
2958
  } | {
2973
2959
  output: {
2974
2960
  error: {
2975
- code: "upstream_error";
2961
+ code: "payment_required" | "rate_limit_exceeded";
2976
2962
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2977
2963
  message: string;
2978
2964
  };
2979
2965
  requestId: string;
2980
2966
  };
2981
2967
  outputFormat: "json";
2982
- status: 502;
2968
+ status: 429;
2983
2969
  input: {};
2984
2970
  } | {
2985
2971
  output: {
@@ -3001,14 +2987,14 @@ export declare function management(options?: management.Options): import("hono/h
3001
2987
  $post: {
3002
2988
  output: {
3003
2989
  error: {
3004
- code: "api_key_malformed";
2990
+ code: "upstream_error";
3005
2991
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3006
2992
  message: string;
3007
2993
  };
3008
2994
  requestId: string;
3009
2995
  };
3010
2996
  outputFormat: "json";
3011
- status: 400;
2997
+ status: 502;
3012
2998
  input: {
3013
2999
  json: {
3014
3000
  name: string;
@@ -3017,14 +3003,14 @@ export declare function management(options?: management.Options): import("hono/h
3017
3003
  } | {
3018
3004
  output: {
3019
3005
  error: {
3020
- code: "api_key_invalid" | "api_key_missing";
3006
+ code: "api_key_malformed";
3021
3007
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3022
3008
  message: string;
3023
3009
  };
3024
3010
  requestId: string;
3025
3011
  };
3026
3012
  outputFormat: "json";
3027
- status: 401;
3013
+ status: 400;
3028
3014
  input: {
3029
3015
  json: {
3030
3016
  name: string;
@@ -3033,14 +3019,14 @@ export declare function management(options?: management.Options): import("hono/h
3033
3019
  } | {
3034
3020
  output: {
3035
3021
  error: {
3036
- code: "upstream_error";
3022
+ code: "api_key_invalid" | "api_key_missing";
3037
3023
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3038
3024
  message: string;
3039
3025
  };
3040
3026
  requestId: string;
3041
3027
  };
3042
3028
  outputFormat: "json";
3043
- status: 502;
3029
+ status: 401;
3044
3030
  input: {
3045
3031
  json: {
3046
3032
  name: string;
@@ -3215,14 +3201,14 @@ export declare function management(options?: management.Options): import("hono/h
3215
3201
  $patch: {
3216
3202
  output: {
3217
3203
  error: {
3218
- code: "api_key_malformed";
3204
+ code: "upstream_error";
3219
3205
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3220
3206
  message: string;
3221
3207
  };
3222
3208
  requestId: string;
3223
3209
  };
3224
3210
  outputFormat: "json";
3225
- status: 400;
3211
+ status: 502;
3226
3212
  input: {
3227
3213
  param: {
3228
3214
  orgId: string;
@@ -3235,14 +3221,14 @@ export declare function management(options?: management.Options): import("hono/h
3235
3221
  } | {
3236
3222
  output: {
3237
3223
  error: {
3238
- code: "api_key_invalid" | "api_key_missing";
3224
+ code: "api_key_malformed";
3239
3225
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3240
3226
  message: string;
3241
3227
  };
3242
3228
  requestId: string;
3243
3229
  };
3244
3230
  outputFormat: "json";
3245
- status: 401;
3231
+ status: 400;
3246
3232
  input: {
3247
3233
  param: {
3248
3234
  orgId: string;
@@ -3255,14 +3241,14 @@ export declare function management(options?: management.Options): import("hono/h
3255
3241
  } | {
3256
3242
  output: {
3257
3243
  error: {
3258
- code: "api_key_forbidden";
3244
+ code: "api_key_invalid" | "api_key_missing";
3259
3245
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3260
3246
  message: string;
3261
3247
  };
3262
3248
  requestId: string;
3263
3249
  };
3264
3250
  outputFormat: "json";
3265
- status: 403;
3251
+ status: 401;
3266
3252
  input: {
3267
3253
  param: {
3268
3254
  orgId: string;
@@ -3275,14 +3261,14 @@ export declare function management(options?: management.Options): import("hono/h
3275
3261
  } | {
3276
3262
  output: {
3277
3263
  error: {
3278
- code: "payment_required" | "rate_limit_exceeded";
3264
+ code: "api_key_forbidden";
3279
3265
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3280
3266
  message: string;
3281
3267
  };
3282
3268
  requestId: string;
3283
3269
  };
3284
3270
  outputFormat: "json";
3285
- status: 429;
3271
+ status: 403;
3286
3272
  input: {
3287
3273
  param: {
3288
3274
  orgId: string;
@@ -3295,14 +3281,14 @@ export declare function management(options?: management.Options): import("hono/h
3295
3281
  } | {
3296
3282
  output: {
3297
3283
  error: {
3298
- code: "upstream_error";
3284
+ code: "payment_required" | "rate_limit_exceeded";
3299
3285
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3300
3286
  message: string;
3301
3287
  };
3302
3288
  requestId: string;
3303
3289
  };
3304
3290
  outputFormat: "json";
3305
- status: 502;
3291
+ status: 429;
3306
3292
  input: {
3307
3293
  param: {
3308
3294
  orgId: string;
@@ -3398,14 +3384,14 @@ export declare function management(options?: management.Options): import("hono/h
3398
3384
  $delete: {
3399
3385
  output: {
3400
3386
  error: {
3401
- code: "api_key_malformed";
3387
+ code: "upstream_error";
3402
3388
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3403
3389
  message: string;
3404
3390
  };
3405
3391
  requestId: string;
3406
3392
  };
3407
3393
  outputFormat: "json";
3408
- status: 400;
3394
+ status: 502;
3409
3395
  input: {
3410
3396
  param: {
3411
3397
  orgId: string;
@@ -3414,14 +3400,14 @@ export declare function management(options?: management.Options): import("hono/h
3414
3400
  } | {
3415
3401
  output: {
3416
3402
  error: {
3417
- code: "api_key_invalid" | "api_key_missing";
3403
+ code: "api_key_malformed";
3418
3404
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3419
3405
  message: string;
3420
3406
  };
3421
3407
  requestId: string;
3422
3408
  };
3423
3409
  outputFormat: "json";
3424
- status: 401;
3410
+ status: 400;
3425
3411
  input: {
3426
3412
  param: {
3427
3413
  orgId: string;
@@ -3430,14 +3416,14 @@ export declare function management(options?: management.Options): import("hono/h
3430
3416
  } | {
3431
3417
  output: {
3432
3418
  error: {
3433
- code: "api_key_forbidden";
3419
+ code: "api_key_invalid" | "api_key_missing";
3434
3420
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3435
3421
  message: string;
3436
3422
  };
3437
3423
  requestId: string;
3438
3424
  };
3439
3425
  outputFormat: "json";
3440
- status: 403;
3426
+ status: 401;
3441
3427
  input: {
3442
3428
  param: {
3443
3429
  orgId: string;
@@ -3446,14 +3432,14 @@ export declare function management(options?: management.Options): import("hono/h
3446
3432
  } | {
3447
3433
  output: {
3448
3434
  error: {
3449
- code: "payment_required" | "rate_limit_exceeded";
3435
+ code: "api_key_forbidden";
3450
3436
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3451
3437
  message: string;
3452
3438
  };
3453
3439
  requestId: string;
3454
3440
  };
3455
3441
  outputFormat: "json";
3456
- status: 429;
3442
+ status: 403;
3457
3443
  input: {
3458
3444
  param: {
3459
3445
  orgId: string;
@@ -3462,14 +3448,14 @@ export declare function management(options?: management.Options): import("hono/h
3462
3448
  } | {
3463
3449
  output: {
3464
3450
  error: {
3465
- code: "upstream_error";
3451
+ code: "payment_required" | "rate_limit_exceeded";
3466
3452
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3467
3453
  message: string;
3468
3454
  };
3469
3455
  requestId: string;
3470
3456
  };
3471
3457
  outputFormat: "json";
3472
- status: 502;
3458
+ status: 429;
3473
3459
  input: {
3474
3460
  param: {
3475
3461
  orgId: string;
@@ -3541,14 +3527,14 @@ export declare function management(options?: management.Options): import("hono/h
3541
3527
  $get: {
3542
3528
  output: {
3543
3529
  error: {
3544
- code: "api_key_malformed";
3530
+ code: "upstream_error";
3545
3531
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3546
3532
  message: string;
3547
3533
  };
3548
3534
  requestId: string;
3549
3535
  };
3550
3536
  outputFormat: "json";
3551
- status: 400;
3537
+ status: 502;
3552
3538
  input: {
3553
3539
  param: {
3554
3540
  orgId: string;
@@ -3557,14 +3543,14 @@ export declare function management(options?: management.Options): import("hono/h
3557
3543
  } | {
3558
3544
  output: {
3559
3545
  error: {
3560
- code: "api_key_invalid" | "api_key_missing";
3546
+ code: "api_key_malformed";
3561
3547
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3562
3548
  message: string;
3563
3549
  };
3564
3550
  requestId: string;
3565
3551
  };
3566
3552
  outputFormat: "json";
3567
- status: 401;
3553
+ status: 400;
3568
3554
  input: {
3569
3555
  param: {
3570
3556
  orgId: string;
@@ -3573,14 +3559,14 @@ export declare function management(options?: management.Options): import("hono/h
3573
3559
  } | {
3574
3560
  output: {
3575
3561
  error: {
3576
- code: "api_key_forbidden";
3562
+ code: "api_key_invalid" | "api_key_missing";
3577
3563
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3578
3564
  message: string;
3579
3565
  };
3580
3566
  requestId: string;
3581
3567
  };
3582
3568
  outputFormat: "json";
3583
- status: 403;
3569
+ status: 401;
3584
3570
  input: {
3585
3571
  param: {
3586
3572
  orgId: string;
@@ -3589,14 +3575,14 @@ export declare function management(options?: management.Options): import("hono/h
3589
3575
  } | {
3590
3576
  output: {
3591
3577
  error: {
3592
- code: "payment_required" | "rate_limit_exceeded";
3578
+ code: "api_key_forbidden";
3593
3579
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3594
3580
  message: string;
3595
3581
  };
3596
3582
  requestId: string;
3597
3583
  };
3598
3584
  outputFormat: "json";
3599
- status: 429;
3585
+ status: 403;
3600
3586
  input: {
3601
3587
  param: {
3602
3588
  orgId: string;
@@ -3605,14 +3591,14 @@ export declare function management(options?: management.Options): import("hono/h
3605
3591
  } | {
3606
3592
  output: {
3607
3593
  error: {
3608
- code: "upstream_error";
3594
+ code: "payment_required" | "rate_limit_exceeded";
3609
3595
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3610
3596
  message: string;
3611
3597
  };
3612
3598
  requestId: string;
3613
3599
  };
3614
3600
  outputFormat: "json";
3615
- status: 502;
3601
+ status: 429;
3616
3602
  input: {
3617
3603
  param: {
3618
3604
  orgId: string;
@@ -3675,14 +3661,14 @@ export declare function management(options?: management.Options): import("hono/h
3675
3661
  $post: {
3676
3662
  output: {
3677
3663
  error: {
3678
- code: "api_key_malformed";
3664
+ code: "upstream_error";
3679
3665
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3680
3666
  message: string;
3681
3667
  };
3682
3668
  requestId: string;
3683
3669
  };
3684
3670
  outputFormat: "json";
3685
- status: 400;
3671
+ status: 502;
3686
3672
  input: {
3687
3673
  param: {
3688
3674
  orgId: string;
@@ -3695,14 +3681,14 @@ export declare function management(options?: management.Options): import("hono/h
3695
3681
  } | {
3696
3682
  output: {
3697
3683
  error: {
3698
- code: "api_key_invalid" | "api_key_missing";
3684
+ code: "api_key_malformed";
3699
3685
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3700
3686
  message: string;
3701
3687
  };
3702
3688
  requestId: string;
3703
3689
  };
3704
3690
  outputFormat: "json";
3705
- status: 401;
3691
+ status: 400;
3706
3692
  input: {
3707
3693
  param: {
3708
3694
  orgId: string;
@@ -3715,14 +3701,14 @@ export declare function management(options?: management.Options): import("hono/h
3715
3701
  } | {
3716
3702
  output: {
3717
3703
  error: {
3718
- code: "api_key_forbidden";
3704
+ code: "api_key_invalid" | "api_key_missing";
3719
3705
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3720
3706
  message: string;
3721
3707
  };
3722
3708
  requestId: string;
3723
3709
  };
3724
3710
  outputFormat: "json";
3725
- status: 403;
3711
+ status: 401;
3726
3712
  input: {
3727
3713
  param: {
3728
3714
  orgId: string;
@@ -3735,14 +3721,14 @@ export declare function management(options?: management.Options): import("hono/h
3735
3721
  } | {
3736
3722
  output: {
3737
3723
  error: {
3738
- code: "payment_required" | "rate_limit_exceeded";
3724
+ code: "api_key_forbidden";
3739
3725
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3740
3726
  message: string;
3741
3727
  };
3742
3728
  requestId: string;
3743
3729
  };
3744
3730
  outputFormat: "json";
3745
- status: 429;
3731
+ status: 403;
3746
3732
  input: {
3747
3733
  param: {
3748
3734
  orgId: string;
@@ -3755,14 +3741,14 @@ export declare function management(options?: management.Options): import("hono/h
3755
3741
  } | {
3756
3742
  output: {
3757
3743
  error: {
3758
- code: "upstream_error";
3744
+ code: "payment_required" | "rate_limit_exceeded";
3759
3745
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3760
3746
  message: string;
3761
3747
  };
3762
3748
  requestId: string;
3763
3749
  };
3764
3750
  outputFormat: "json";
3765
- status: 502;
3751
+ status: 429;
3766
3752
  input: {
3767
3753
  param: {
3768
3754
  orgId: string;
@@ -3982,14 +3968,14 @@ export declare function management(options?: management.Options): import("hono/h
3982
3968
  $patch: {
3983
3969
  output: {
3984
3970
  error: {
3985
- code: "api_key_malformed";
3971
+ code: "upstream_error";
3986
3972
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3987
3973
  message: string;
3988
3974
  };
3989
3975
  requestId: string;
3990
3976
  };
3991
3977
  outputFormat: "json";
3992
- status: 400;
3978
+ status: 502;
3993
3979
  input: {
3994
3980
  param: {
3995
3981
  orgId: string;
@@ -4003,14 +3989,14 @@ export declare function management(options?: management.Options): import("hono/h
4003
3989
  } | {
4004
3990
  output: {
4005
3991
  error: {
4006
- code: "api_key_invalid" | "api_key_missing";
3992
+ code: "api_key_malformed";
4007
3993
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4008
3994
  message: string;
4009
3995
  };
4010
3996
  requestId: string;
4011
3997
  };
4012
3998
  outputFormat: "json";
4013
- status: 401;
3999
+ status: 400;
4014
4000
  input: {
4015
4001
  param: {
4016
4002
  orgId: string;
@@ -4024,14 +4010,14 @@ export declare function management(options?: management.Options): import("hono/h
4024
4010
  } | {
4025
4011
  output: {
4026
4012
  error: {
4027
- code: "api_key_forbidden";
4013
+ code: "api_key_invalid" | "api_key_missing";
4028
4014
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4029
4015
  message: string;
4030
4016
  };
4031
4017
  requestId: string;
4032
4018
  };
4033
4019
  outputFormat: "json";
4034
- status: 403;
4020
+ status: 401;
4035
4021
  input: {
4036
4022
  param: {
4037
4023
  orgId: string;
@@ -4045,14 +4031,14 @@ export declare function management(options?: management.Options): import("hono/h
4045
4031
  } | {
4046
4032
  output: {
4047
4033
  error: {
4048
- code: "payment_required" | "rate_limit_exceeded";
4034
+ code: "api_key_forbidden";
4049
4035
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4050
4036
  message: string;
4051
4037
  };
4052
4038
  requestId: string;
4053
4039
  };
4054
4040
  outputFormat: "json";
4055
- status: 429;
4041
+ status: 403;
4056
4042
  input: {
4057
4043
  param: {
4058
4044
  orgId: string;
@@ -4066,14 +4052,14 @@ export declare function management(options?: management.Options): import("hono/h
4066
4052
  } | {
4067
4053
  output: {
4068
4054
  error: {
4069
- code: "upstream_error";
4055
+ code: "payment_required" | "rate_limit_exceeded";
4070
4056
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4071
4057
  message: string;
4072
4058
  };
4073
4059
  requestId: string;
4074
4060
  };
4075
4061
  outputFormat: "json";
4076
- status: 502;
4062
+ status: 429;
4077
4063
  input: {
4078
4064
  param: {
4079
4065
  orgId: string;
@@ -4175,14 +4161,14 @@ export declare function management(options?: management.Options): import("hono/h
4175
4161
  $delete: {
4176
4162
  output: {
4177
4163
  error: {
4178
- code: "api_key_malformed";
4164
+ code: "upstream_error";
4179
4165
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4180
4166
  message: string;
4181
4167
  };
4182
4168
  requestId: string;
4183
4169
  };
4184
4170
  outputFormat: "json";
4185
- status: 400;
4171
+ status: 502;
4186
4172
  input: {
4187
4173
  param: {
4188
4174
  orgId: string;
@@ -4192,14 +4178,14 @@ export declare function management(options?: management.Options): import("hono/h
4192
4178
  } | {
4193
4179
  output: {
4194
4180
  error: {
4195
- code: "api_key_invalid" | "api_key_missing";
4181
+ code: "api_key_malformed";
4196
4182
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4197
4183
  message: string;
4198
4184
  };
4199
4185
  requestId: string;
4200
4186
  };
4201
4187
  outputFormat: "json";
4202
- status: 401;
4188
+ status: 400;
4203
4189
  input: {
4204
4190
  param: {
4205
4191
  orgId: string;
@@ -4209,14 +4195,14 @@ export declare function management(options?: management.Options): import("hono/h
4209
4195
  } | {
4210
4196
  output: {
4211
4197
  error: {
4212
- code: "api_key_forbidden";
4198
+ code: "api_key_invalid" | "api_key_missing";
4213
4199
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4214
4200
  message: string;
4215
4201
  };
4216
4202
  requestId: string;
4217
4203
  };
4218
4204
  outputFormat: "json";
4219
- status: 403;
4205
+ status: 401;
4220
4206
  input: {
4221
4207
  param: {
4222
4208
  orgId: string;
@@ -4226,14 +4212,14 @@ export declare function management(options?: management.Options): import("hono/h
4226
4212
  } | {
4227
4213
  output: {
4228
4214
  error: {
4229
- code: "payment_required" | "rate_limit_exceeded";
4215
+ code: "api_key_forbidden";
4230
4216
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4231
4217
  message: string;
4232
4218
  };
4233
4219
  requestId: string;
4234
4220
  };
4235
4221
  outputFormat: "json";
4236
- status: 429;
4222
+ status: 403;
4237
4223
  input: {
4238
4224
  param: {
4239
4225
  orgId: string;
@@ -4243,14 +4229,14 @@ export declare function management(options?: management.Options): import("hono/h
4243
4229
  } | {
4244
4230
  output: {
4245
4231
  error: {
4246
- code: "upstream_error";
4232
+ code: "payment_required" | "rate_limit_exceeded";
4247
4233
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4248
4234
  message: string;
4249
4235
  };
4250
4236
  requestId: string;
4251
4237
  };
4252
4238
  outputFormat: "json";
4253
- status: 502;
4239
+ status: 429;
4254
4240
  input: {
4255
4241
  param: {
4256
4242
  orgId: string;
@@ -4310,14 +4296,14 @@ export declare function management(options?: management.Options): import("hono/h
4310
4296
  $post: {
4311
4297
  output: {
4312
4298
  error: {
4313
- code: "api_key_malformed";
4299
+ code: "upstream_error";
4314
4300
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4315
4301
  message: string;
4316
4302
  };
4317
4303
  requestId: string;
4318
4304
  };
4319
4305
  outputFormat: "json";
4320
- status: 400;
4306
+ status: 502;
4321
4307
  input: {
4322
4308
  param: {
4323
4309
  orgId: string;
@@ -4331,14 +4317,14 @@ export declare function management(options?: management.Options): import("hono/h
4331
4317
  } | {
4332
4318
  output: {
4333
4319
  error: {
4334
- code: "api_key_invalid" | "api_key_missing";
4320
+ code: "api_key_malformed";
4335
4321
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4336
4322
  message: string;
4337
4323
  };
4338
4324
  requestId: string;
4339
4325
  };
4340
4326
  outputFormat: "json";
4341
- status: 401;
4327
+ status: 400;
4342
4328
  input: {
4343
4329
  param: {
4344
4330
  orgId: string;
@@ -4352,14 +4338,14 @@ export declare function management(options?: management.Options): import("hono/h
4352
4338
  } | {
4353
4339
  output: {
4354
4340
  error: {
4355
- code: "api_key_forbidden";
4341
+ code: "api_key_invalid" | "api_key_missing";
4356
4342
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4357
4343
  message: string;
4358
4344
  };
4359
4345
  requestId: string;
4360
4346
  };
4361
4347
  outputFormat: "json";
4362
- status: 403;
4348
+ status: 401;
4363
4349
  input: {
4364
4350
  param: {
4365
4351
  orgId: string;
@@ -4373,14 +4359,14 @@ export declare function management(options?: management.Options): import("hono/h
4373
4359
  } | {
4374
4360
  output: {
4375
4361
  error: {
4376
- code: "payment_required" | "rate_limit_exceeded";
4362
+ code: "api_key_forbidden";
4377
4363
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4378
4364
  message: string;
4379
4365
  };
4380
4366
  requestId: string;
4381
4367
  };
4382
4368
  outputFormat: "json";
4383
- status: 429;
4369
+ status: 403;
4384
4370
  input: {
4385
4371
  param: {
4386
4372
  orgId: string;
@@ -4394,14 +4380,14 @@ export declare function management(options?: management.Options): import("hono/h
4394
4380
  } | {
4395
4381
  output: {
4396
4382
  error: {
4397
- code: "upstream_error";
4383
+ code: "payment_required" | "rate_limit_exceeded";
4398
4384
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4399
4385
  message: string;
4400
4386
  };
4401
4387
  requestId: string;
4402
4388
  };
4403
4389
  outputFormat: "json";
4404
- status: 502;
4390
+ status: 429;
4405
4391
  input: {
4406
4392
  param: {
4407
4393
  orgId: string;
@@ -4525,14 +4511,14 @@ export declare function management(options?: management.Options): import("hono/h
4525
4511
  $get: {
4526
4512
  output: {
4527
4513
  error: {
4528
- code: "api_key_malformed";
4514
+ code: "upstream_error";
4529
4515
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4530
4516
  message: string;
4531
4517
  };
4532
4518
  requestId: string;
4533
4519
  };
4534
4520
  outputFormat: "json";
4535
- status: 400;
4521
+ status: 502;
4536
4522
  input: {
4537
4523
  param: {
4538
4524
  orgId: string;
@@ -4541,14 +4527,14 @@ export declare function management(options?: management.Options): import("hono/h
4541
4527
  } | {
4542
4528
  output: {
4543
4529
  error: {
4544
- code: "api_key_invalid" | "api_key_missing";
4530
+ code: "api_key_malformed";
4545
4531
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4546
4532
  message: string;
4547
4533
  };
4548
4534
  requestId: string;
4549
4535
  };
4550
4536
  outputFormat: "json";
4551
- status: 401;
4537
+ status: 400;
4552
4538
  input: {
4553
4539
  param: {
4554
4540
  orgId: string;
@@ -4557,14 +4543,14 @@ export declare function management(options?: management.Options): import("hono/h
4557
4543
  } | {
4558
4544
  output: {
4559
4545
  error: {
4560
- code: "api_key_forbidden";
4546
+ code: "api_key_invalid" | "api_key_missing";
4561
4547
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4562
4548
  message: string;
4563
4549
  };
4564
4550
  requestId: string;
4565
4551
  };
4566
4552
  outputFormat: "json";
4567
- status: 403;
4553
+ status: 401;
4568
4554
  input: {
4569
4555
  param: {
4570
4556
  orgId: string;
@@ -4573,14 +4559,14 @@ export declare function management(options?: management.Options): import("hono/h
4573
4559
  } | {
4574
4560
  output: {
4575
4561
  error: {
4576
- code: "payment_required" | "rate_limit_exceeded";
4562
+ code: "api_key_forbidden";
4577
4563
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4578
4564
  message: string;
4579
4565
  };
4580
4566
  requestId: string;
4581
4567
  };
4582
4568
  outputFormat: "json";
4583
- status: 429;
4569
+ status: 403;
4584
4570
  input: {
4585
4571
  param: {
4586
4572
  orgId: string;
@@ -4589,14 +4575,14 @@ export declare function management(options?: management.Options): import("hono/h
4589
4575
  } | {
4590
4576
  output: {
4591
4577
  error: {
4592
- code: "upstream_error";
4578
+ code: "payment_required" | "rate_limit_exceeded";
4593
4579
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4594
4580
  message: string;
4595
4581
  };
4596
4582
  requestId: string;
4597
4583
  };
4598
4584
  outputFormat: "json";
4599
- status: 502;
4585
+ status: 429;
4600
4586
  input: {
4601
4587
  param: {
4602
4588
  orgId: string;
@@ -4660,14 +4646,14 @@ export declare function management(options?: management.Options): import("hono/h
4660
4646
  $delete: {
4661
4647
  output: {
4662
4648
  error: {
4663
- code: "api_key_malformed";
4649
+ code: "upstream_error";
4664
4650
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4665
4651
  message: string;
4666
4652
  };
4667
4653
  requestId: string;
4668
4654
  };
4669
4655
  outputFormat: "json";
4670
- status: 400;
4656
+ status: 502;
4671
4657
  input: {
4672
4658
  param: {
4673
4659
  invitationId: string;
@@ -4677,14 +4663,14 @@ export declare function management(options?: management.Options): import("hono/h
4677
4663
  } | {
4678
4664
  output: {
4679
4665
  error: {
4680
- code: "api_key_invalid" | "api_key_missing";
4666
+ code: "api_key_malformed";
4681
4667
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4682
4668
  message: string;
4683
4669
  };
4684
4670
  requestId: string;
4685
4671
  };
4686
4672
  outputFormat: "json";
4687
- status: 401;
4673
+ status: 400;
4688
4674
  input: {
4689
4675
  param: {
4690
4676
  invitationId: string;
@@ -4694,14 +4680,14 @@ export declare function management(options?: management.Options): import("hono/h
4694
4680
  } | {
4695
4681
  output: {
4696
4682
  error: {
4697
- code: "api_key_forbidden";
4683
+ code: "api_key_invalid" | "api_key_missing";
4698
4684
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4699
4685
  message: string;
4700
4686
  };
4701
4687
  requestId: string;
4702
4688
  };
4703
4689
  outputFormat: "json";
4704
- status: 403;
4690
+ status: 401;
4705
4691
  input: {
4706
4692
  param: {
4707
4693
  invitationId: string;
@@ -4711,14 +4697,14 @@ export declare function management(options?: management.Options): import("hono/h
4711
4697
  } | {
4712
4698
  output: {
4713
4699
  error: {
4714
- code: "payment_required" | "rate_limit_exceeded";
4700
+ code: "api_key_forbidden";
4715
4701
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4716
4702
  message: string;
4717
4703
  };
4718
4704
  requestId: string;
4719
4705
  };
4720
4706
  outputFormat: "json";
4721
- status: 429;
4707
+ status: 403;
4722
4708
  input: {
4723
4709
  param: {
4724
4710
  invitationId: string;
@@ -4728,14 +4714,14 @@ export declare function management(options?: management.Options): import("hono/h
4728
4714
  } | {
4729
4715
  output: {
4730
4716
  error: {
4731
- code: "upstream_error";
4717
+ code: "payment_required" | "rate_limit_exceeded";
4732
4718
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4733
4719
  message: string;
4734
4720
  };
4735
4721
  requestId: string;
4736
4722
  };
4737
4723
  outputFormat: "json";
4738
- status: 502;
4724
+ status: 429;
4739
4725
  input: {
4740
4726
  param: {
4741
4727
  invitationId: string;
@@ -4812,38 +4798,38 @@ export declare function management(options?: management.Options): import("hono/h
4812
4798
  $get: {
4813
4799
  output: {
4814
4800
  error: {
4815
- code: "api_key_malformed";
4801
+ code: "upstream_error";
4816
4802
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4817
4803
  message: string;
4818
4804
  };
4819
4805
  requestId: string;
4820
4806
  };
4821
4807
  outputFormat: "json";
4822
- status: 400;
4808
+ status: 502;
4823
4809
  input: {};
4824
4810
  } | {
4825
4811
  output: {
4826
4812
  error: {
4827
- code: "api_key_invalid" | "api_key_missing";
4813
+ code: "api_key_malformed";
4828
4814
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4829
4815
  message: string;
4830
4816
  };
4831
4817
  requestId: string;
4832
4818
  };
4833
4819
  outputFormat: "json";
4834
- status: 401;
4820
+ status: 400;
4835
4821
  input: {};
4836
4822
  } | {
4837
4823
  output: {
4838
4824
  error: {
4839
- code: "upstream_error";
4825
+ code: "api_key_invalid" | "api_key_missing";
4840
4826
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4841
4827
  message: string;
4842
4828
  };
4843
4829
  requestId: string;
4844
4830
  };
4845
4831
  outputFormat: "json";
4846
- status: 502;
4832
+ status: 401;
4847
4833
  input: {};
4848
4834
  } | {
4849
4835
  output: {
@@ -4880,14 +4866,14 @@ export declare function management(options?: management.Options): import("hono/h
4880
4866
  $post: {
4881
4867
  output: {
4882
4868
  error: {
4883
- code: "api_key_malformed";
4869
+ code: "upstream_error";
4884
4870
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4885
4871
  message: string;
4886
4872
  };
4887
4873
  requestId: string;
4888
4874
  };
4889
4875
  outputFormat: "json";
4890
- status: 400;
4876
+ status: 502;
4891
4877
  input: {
4892
4878
  param: {
4893
4879
  invitationId: string;
@@ -4896,14 +4882,14 @@ export declare function management(options?: management.Options): import("hono/h
4896
4882
  } | {
4897
4883
  output: {
4898
4884
  error: {
4899
- code: "api_key_invalid" | "api_key_missing";
4885
+ code: "api_key_malformed";
4900
4886
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4901
4887
  message: string;
4902
4888
  };
4903
4889
  requestId: string;
4904
4890
  };
4905
4891
  outputFormat: "json";
4906
- status: 401;
4892
+ status: 400;
4907
4893
  input: {
4908
4894
  param: {
4909
4895
  invitationId: string;
@@ -4912,14 +4898,14 @@ export declare function management(options?: management.Options): import("hono/h
4912
4898
  } | {
4913
4899
  output: {
4914
4900
  error: {
4915
- code: "upstream_error";
4901
+ code: "api_key_invalid" | "api_key_missing";
4916
4902
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4917
4903
  message: string;
4918
4904
  };
4919
4905
  requestId: string;
4920
4906
  };
4921
4907
  outputFormat: "json";
4922
- status: 502;
4908
+ status: 401;
4923
4909
  input: {
4924
4910
  param: {
4925
4911
  invitationId: string;
@@ -4993,14 +4979,14 @@ export declare function management(options?: management.Options): import("hono/h
4993
4979
  $post: {
4994
4980
  output: {
4995
4981
  error: {
4996
- code: "api_key_malformed";
4982
+ code: "upstream_error";
4997
4983
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4998
4984
  message: string;
4999
4985
  };
5000
4986
  requestId: string;
5001
4987
  };
5002
4988
  outputFormat: "json";
5003
- status: 400;
4989
+ status: 502;
5004
4990
  input: {
5005
4991
  param: {
5006
4992
  invitationId: string;
@@ -5009,14 +4995,14 @@ export declare function management(options?: management.Options): import("hono/h
5009
4995
  } | {
5010
4996
  output: {
5011
4997
  error: {
5012
- code: "api_key_invalid" | "api_key_missing";
4998
+ code: "api_key_malformed";
5013
4999
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5014
5000
  message: string;
5015
5001
  };
5016
5002
  requestId: string;
5017
5003
  };
5018
5004
  outputFormat: "json";
5019
- status: 401;
5005
+ status: 400;
5020
5006
  input: {
5021
5007
  param: {
5022
5008
  invitationId: string;
@@ -5025,14 +5011,14 @@ export declare function management(options?: management.Options): import("hono/h
5025
5011
  } | {
5026
5012
  output: {
5027
5013
  error: {
5028
- code: "upstream_error";
5014
+ code: "api_key_invalid" | "api_key_missing";
5029
5015
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5030
5016
  message: string;
5031
5017
  };
5032
5018
  requestId: string;
5033
5019
  };
5034
5020
  outputFormat: "json";
5035
- status: 502;
5021
+ status: 401;
5036
5022
  input: {
5037
5023
  param: {
5038
5024
  invitationId: string;
@@ -5104,14 +5090,14 @@ export declare function management(options?: management.Options): import("hono/h
5104
5090
  $get: {
5105
5091
  output: {
5106
5092
  error: {
5107
- code: "api_key_malformed";
5093
+ code: "upstream_error";
5108
5094
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5109
5095
  message: string;
5110
5096
  };
5111
5097
  requestId: string;
5112
5098
  };
5113
5099
  outputFormat: "json";
5114
- status: 400;
5100
+ status: 502;
5115
5101
  input: {
5116
5102
  param: {
5117
5103
  orgId: string;
@@ -5124,14 +5110,14 @@ export declare function management(options?: management.Options): import("hono/h
5124
5110
  } | {
5125
5111
  output: {
5126
5112
  error: {
5127
- code: "api_key_invalid" | "api_key_missing";
5113
+ code: "api_key_malformed";
5128
5114
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5129
5115
  message: string;
5130
5116
  };
5131
5117
  requestId: string;
5132
5118
  };
5133
5119
  outputFormat: "json";
5134
- status: 401;
5120
+ status: 400;
5135
5121
  input: {
5136
5122
  param: {
5137
5123
  orgId: string;
@@ -5144,14 +5130,14 @@ export declare function management(options?: management.Options): import("hono/h
5144
5130
  } | {
5145
5131
  output: {
5146
5132
  error: {
5147
- code: "api_key_forbidden";
5133
+ code: "api_key_invalid" | "api_key_missing";
5148
5134
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5149
5135
  message: string;
5150
5136
  };
5151
5137
  requestId: string;
5152
5138
  };
5153
5139
  outputFormat: "json";
5154
- status: 403;
5140
+ status: 401;
5155
5141
  input: {
5156
5142
  param: {
5157
5143
  orgId: string;
@@ -5164,14 +5150,14 @@ export declare function management(options?: management.Options): import("hono/h
5164
5150
  } | {
5165
5151
  output: {
5166
5152
  error: {
5167
- code: "payment_required" | "rate_limit_exceeded";
5153
+ code: "api_key_forbidden";
5168
5154
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5169
5155
  message: string;
5170
5156
  };
5171
5157
  requestId: string;
5172
5158
  };
5173
5159
  outputFormat: "json";
5174
- status: 429;
5160
+ status: 403;
5175
5161
  input: {
5176
5162
  param: {
5177
5163
  orgId: string;
@@ -5184,14 +5170,14 @@ export declare function management(options?: management.Options): import("hono/h
5184
5170
  } | {
5185
5171
  output: {
5186
5172
  error: {
5187
- code: "query_invalid";
5173
+ code: "payment_required" | "rate_limit_exceeded";
5188
5174
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5189
5175
  message: string;
5190
5176
  };
5191
5177
  requestId: string;
5192
5178
  };
5193
5179
  outputFormat: "json";
5194
- status: 400;
5180
+ status: 429;
5195
5181
  input: {
5196
5182
  param: {
5197
5183
  orgId: string;
@@ -5204,14 +5190,14 @@ export declare function management(options?: management.Options): import("hono/h
5204
5190
  } | {
5205
5191
  output: {
5206
5192
  error: {
5207
- code: "upstream_error";
5193
+ code: "query_invalid";
5208
5194
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5209
5195
  message: string;
5210
5196
  };
5211
5197
  requestId: string;
5212
5198
  };
5213
5199
  outputFormat: "json";
5214
- status: 502;
5200
+ status: 400;
5215
5201
  input: {
5216
5202
  param: {
5217
5203
  orgId: string;
@@ -5263,26 +5249,7 @@ export declare function management(options?: management.Options): import("hono/h
5263
5249
  };
5264
5250
  } | {
5265
5251
  output: {
5266
- error: {
5267
- code: "billing_unconfigured";
5268
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5269
- message: string;
5270
- };
5271
- requestId: string;
5272
- };
5273
- outputFormat: "json";
5274
- status: 501;
5275
- input: {
5276
- param: {
5277
- orgId: string;
5278
- };
5279
- } & {
5280
- query?: {
5281
- environment?: string | string[];
5282
- } | undefined;
5283
- };
5284
- } | {
5285
- output: {
5252
+ enabledSources: ("stripe" | "tempo")[];
5286
5253
  spend?: {
5287
5254
  amount: string;
5288
5255
  currency: "usd";
@@ -5318,14 +5285,14 @@ export declare function management(options?: management.Options): import("hono/h
5318
5285
  $patch: {
5319
5286
  output: {
5320
5287
  error: {
5321
- code: "api_key_malformed";
5288
+ code: "upstream_error";
5322
5289
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5323
5290
  message: string;
5324
5291
  };
5325
5292
  requestId: string;
5326
5293
  };
5327
5294
  outputFormat: "json";
5328
- status: 400;
5295
+ status: 502;
5329
5296
  input: {
5330
5297
  param: {
5331
5298
  orgId: string;
@@ -5350,14 +5317,14 @@ export declare function management(options?: management.Options): import("hono/h
5350
5317
  } | {
5351
5318
  output: {
5352
5319
  error: {
5353
- code: "api_key_invalid" | "api_key_missing";
5320
+ code: "api_key_malformed";
5354
5321
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5355
5322
  message: string;
5356
5323
  };
5357
5324
  requestId: string;
5358
5325
  };
5359
5326
  outputFormat: "json";
5360
- status: 401;
5327
+ status: 400;
5361
5328
  input: {
5362
5329
  param: {
5363
5330
  orgId: string;
@@ -5382,14 +5349,14 @@ export declare function management(options?: management.Options): import("hono/h
5382
5349
  } | {
5383
5350
  output: {
5384
5351
  error: {
5385
- code: "api_key_forbidden";
5352
+ code: "api_key_invalid" | "api_key_missing";
5386
5353
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5387
5354
  message: string;
5388
5355
  };
5389
5356
  requestId: string;
5390
5357
  };
5391
5358
  outputFormat: "json";
5392
- status: 403;
5359
+ status: 401;
5393
5360
  input: {
5394
5361
  param: {
5395
5362
  orgId: string;
@@ -5414,14 +5381,14 @@ export declare function management(options?: management.Options): import("hono/h
5414
5381
  } | {
5415
5382
  output: {
5416
5383
  error: {
5417
- code: "payment_required" | "rate_limit_exceeded";
5384
+ code: "api_key_forbidden";
5418
5385
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5419
5386
  message: string;
5420
5387
  };
5421
5388
  requestId: string;
5422
5389
  };
5423
5390
  outputFormat: "json";
5424
- status: 429;
5391
+ status: 403;
5425
5392
  input: {
5426
5393
  param: {
5427
5394
  orgId: string;
@@ -5446,14 +5413,14 @@ export declare function management(options?: management.Options): import("hono/h
5446
5413
  } | {
5447
5414
  output: {
5448
5415
  error: {
5449
- code: "query_invalid";
5416
+ code: "payment_required" | "rate_limit_exceeded";
5450
5417
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5451
5418
  message: string;
5452
5419
  };
5453
5420
  requestId: string;
5454
5421
  };
5455
5422
  outputFormat: "json";
5456
- status: 400;
5423
+ status: 429;
5457
5424
  input: {
5458
5425
  param: {
5459
5426
  orgId: string;
@@ -5478,14 +5445,14 @@ export declare function management(options?: management.Options): import("hono/h
5478
5445
  } | {
5479
5446
  output: {
5480
5447
  error: {
5481
- code: "upstream_error";
5448
+ code: "query_invalid";
5482
5449
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5483
5450
  message: string;
5484
5451
  };
5485
5452
  requestId: string;
5486
5453
  };
5487
5454
  outputFormat: "json";
5488
- status: 502;
5455
+ status: 400;
5489
5456
  input: {
5490
5457
  param: {
5491
5458
  orgId: string;
@@ -5573,38 +5540,7 @@ export declare function management(options?: management.Options): import("hono/h
5573
5540
  };
5574
5541
  } | {
5575
5542
  output: {
5576
- error: {
5577
- code: "billing_unconfigured";
5578
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5579
- message: string;
5580
- };
5581
- requestId: string;
5582
- };
5583
- outputFormat: "json";
5584
- status: 501;
5585
- input: {
5586
- param: {
5587
- orgId: string;
5588
- };
5589
- } & {
5590
- query?: {
5591
- environment?: string | string[];
5592
- } | undefined;
5593
- } & {
5594
- json: {
5595
- spendLimit?: {
5596
- amount: string;
5597
- currency?: "usd" | undefined;
5598
- period?: "month" | undefined;
5599
- } | null | undefined;
5600
- txFeeLimit?: {
5601
- amount: string;
5602
- currency?: "usd" | undefined;
5603
- } | null | undefined;
5604
- };
5605
- };
5606
- } | {
5607
- output: {
5543
+ enabledSources: ("stripe" | "tempo")[];
5608
5544
  spend?: {
5609
5545
  amount: string;
5610
5546
  currency: "usd";
@@ -5684,14 +5620,14 @@ export declare function management(options?: management.Options): import("hono/h
5684
5620
  $post: {
5685
5621
  output: {
5686
5622
  error: {
5687
- code: "api_key_malformed";
5623
+ code: "upstream_error";
5688
5624
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5689
5625
  message: string;
5690
5626
  };
5691
5627
  requestId: string;
5692
5628
  };
5693
5629
  outputFormat: "json";
5694
- status: 400;
5630
+ status: 502;
5695
5631
  input: {
5696
5632
  param: {
5697
5633
  orgId: string;
@@ -5704,14 +5640,14 @@ export declare function management(options?: management.Options): import("hono/h
5704
5640
  } | {
5705
5641
  output: {
5706
5642
  error: {
5707
- code: "api_key_invalid" | "api_key_missing";
5643
+ code: "api_key_malformed";
5708
5644
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5709
5645
  message: string;
5710
5646
  };
5711
5647
  requestId: string;
5712
5648
  };
5713
5649
  outputFormat: "json";
5714
- status: 401;
5650
+ status: 400;
5715
5651
  input: {
5716
5652
  param: {
5717
5653
  orgId: string;
@@ -5724,14 +5660,14 @@ export declare function management(options?: management.Options): import("hono/h
5724
5660
  } | {
5725
5661
  output: {
5726
5662
  error: {
5727
- code: "api_key_forbidden";
5663
+ code: "api_key_invalid" | "api_key_missing";
5728
5664
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5729
5665
  message: string;
5730
5666
  };
5731
5667
  requestId: string;
5732
5668
  };
5733
5669
  outputFormat: "json";
5734
- status: 403;
5670
+ status: 401;
5735
5671
  input: {
5736
5672
  param: {
5737
5673
  orgId: string;
@@ -5744,14 +5680,14 @@ export declare function management(options?: management.Options): import("hono/h
5744
5680
  } | {
5745
5681
  output: {
5746
5682
  error: {
5747
- code: "payment_required" | "rate_limit_exceeded";
5683
+ code: "api_key_forbidden";
5748
5684
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5749
5685
  message: string;
5750
5686
  };
5751
5687
  requestId: string;
5752
5688
  };
5753
5689
  outputFormat: "json";
5754
- status: 429;
5690
+ status: 403;
5755
5691
  input: {
5756
5692
  param: {
5757
5693
  orgId: string;
@@ -5764,14 +5700,14 @@ export declare function management(options?: management.Options): import("hono/h
5764
5700
  } | {
5765
5701
  output: {
5766
5702
  error: {
5767
- code: "query_invalid";
5703
+ code: "payment_required" | "rate_limit_exceeded";
5768
5704
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5769
5705
  message: string;
5770
5706
  };
5771
5707
  requestId: string;
5772
5708
  };
5773
5709
  outputFormat: "json";
5774
- status: 400;
5710
+ status: 429;
5775
5711
  input: {
5776
5712
  param: {
5777
5713
  orgId: string;
@@ -5784,14 +5720,14 @@ export declare function management(options?: management.Options): import("hono/h
5784
5720
  } | {
5785
5721
  output: {
5786
5722
  error: {
5787
- code: "upstream_error";
5723
+ code: "query_invalid";
5788
5724
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5789
5725
  message: string;
5790
5726
  };
5791
5727
  requestId: string;
5792
5728
  };
5793
5729
  outputFormat: "json";
5794
- status: 502;
5730
+ status: 400;
5795
5731
  input: {
5796
5732
  param: {
5797
5733
  orgId: string;
@@ -5844,14 +5780,14 @@ export declare function management(options?: management.Options): import("hono/h
5844
5780
  } | {
5845
5781
  output: {
5846
5782
  error: {
5847
- code: "billing_unconfigured";
5783
+ code: "forbidden";
5848
5784
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5849
5785
  message: string;
5850
5786
  };
5851
5787
  requestId: string;
5852
5788
  };
5853
5789
  outputFormat: "json";
5854
- status: 501;
5790
+ status: 403;
5855
5791
  input: {
5856
5792
  param: {
5857
5793
  orgId: string;
@@ -5864,7 +5800,7 @@ export declare function management(options?: management.Options): import("hono/h
5864
5800
  } | {
5865
5801
  output: {
5866
5802
  error: {
5867
- code: "forbidden";
5803
+ code: "billing_source_disabled";
5868
5804
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5869
5805
  message: string;
5870
5806
  };
@@ -5884,14 +5820,14 @@ export declare function management(options?: management.Options): import("hono/h
5884
5820
  } | {
5885
5821
  output: {
5886
5822
  error: {
5887
- code: "early_access_required";
5823
+ code: "billing_unconfigured";
5888
5824
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5889
5825
  message: string;
5890
5826
  };
5891
5827
  requestId: string;
5892
5828
  };
5893
5829
  outputFormat: "json";
5894
- status: 403;
5830
+ status: 501;
5895
5831
  input: {
5896
5832
  param: {
5897
5833
  orgId: string;
@@ -5923,14 +5859,14 @@ export declare function management(options?: management.Options): import("hono/h
5923
5859
  $post: {
5924
5860
  output: {
5925
5861
  error: {
5926
- code: "api_key_malformed";
5862
+ code: "upstream_error";
5927
5863
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5928
5864
  message: string;
5929
5865
  };
5930
5866
  requestId: string;
5931
5867
  };
5932
5868
  outputFormat: "json";
5933
- status: 400;
5869
+ status: 502;
5934
5870
  input: {
5935
5871
  param: {
5936
5872
  orgId: string;
@@ -5943,14 +5879,14 @@ export declare function management(options?: management.Options): import("hono/h
5943
5879
  } | {
5944
5880
  output: {
5945
5881
  error: {
5946
- code: "api_key_invalid" | "api_key_missing";
5882
+ code: "api_key_malformed";
5947
5883
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5948
5884
  message: string;
5949
5885
  };
5950
5886
  requestId: string;
5951
5887
  };
5952
5888
  outputFormat: "json";
5953
- status: 401;
5889
+ status: 400;
5954
5890
  input: {
5955
5891
  param: {
5956
5892
  orgId: string;
@@ -5963,14 +5899,14 @@ export declare function management(options?: management.Options): import("hono/h
5963
5899
  } | {
5964
5900
  output: {
5965
5901
  error: {
5966
- code: "api_key_forbidden";
5902
+ code: "api_key_invalid" | "api_key_missing";
5967
5903
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5968
5904
  message: string;
5969
5905
  };
5970
5906
  requestId: string;
5971
5907
  };
5972
5908
  outputFormat: "json";
5973
- status: 403;
5909
+ status: 401;
5974
5910
  input: {
5975
5911
  param: {
5976
5912
  orgId: string;
@@ -5983,14 +5919,14 @@ export declare function management(options?: management.Options): import("hono/h
5983
5919
  } | {
5984
5920
  output: {
5985
5921
  error: {
5986
- code: "payment_required" | "rate_limit_exceeded";
5922
+ code: "api_key_forbidden";
5987
5923
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5988
5924
  message: string;
5989
5925
  };
5990
5926
  requestId: string;
5991
5927
  };
5992
5928
  outputFormat: "json";
5993
- status: 429;
5929
+ status: 403;
5994
5930
  input: {
5995
5931
  param: {
5996
5932
  orgId: string;
@@ -6003,14 +5939,14 @@ export declare function management(options?: management.Options): import("hono/h
6003
5939
  } | {
6004
5940
  output: {
6005
5941
  error: {
6006
- code: "query_invalid";
5942
+ code: "payment_required" | "rate_limit_exceeded";
6007
5943
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6008
5944
  message: string;
6009
5945
  };
6010
5946
  requestId: string;
6011
5947
  };
6012
5948
  outputFormat: "json";
6013
- status: 400;
5949
+ status: 429;
6014
5950
  input: {
6015
5951
  param: {
6016
5952
  orgId: string;
@@ -6023,14 +5959,14 @@ export declare function management(options?: management.Options): import("hono/h
6023
5959
  } | {
6024
5960
  output: {
6025
5961
  error: {
6026
- code: "upstream_error";
5962
+ code: "query_invalid";
6027
5963
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6028
5964
  message: string;
6029
5965
  };
6030
5966
  requestId: string;
6031
5967
  };
6032
5968
  outputFormat: "json";
6033
- status: 502;
5969
+ status: 400;
6034
5970
  input: {
6035
5971
  param: {
6036
5972
  orgId: string;
@@ -6142,14 +6078,14 @@ export declare function management(options?: management.Options): import("hono/h
6142
6078
  $get: {
6143
6079
  output: {
6144
6080
  error: {
6145
- code: "api_key_malformed";
6081
+ code: "upstream_error";
6146
6082
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6147
6083
  message: string;
6148
6084
  };
6149
6085
  requestId: string;
6150
6086
  };
6151
6087
  outputFormat: "json";
6152
- status: 400;
6088
+ status: 502;
6153
6089
  input: {
6154
6090
  param: {
6155
6091
  orgId: string;
@@ -6162,14 +6098,14 @@ export declare function management(options?: management.Options): import("hono/h
6162
6098
  } | {
6163
6099
  output: {
6164
6100
  error: {
6165
- code: "api_key_invalid" | "api_key_missing";
6101
+ code: "api_key_malformed";
6166
6102
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6167
6103
  message: string;
6168
6104
  };
6169
6105
  requestId: string;
6170
6106
  };
6171
6107
  outputFormat: "json";
6172
- status: 401;
6108
+ status: 400;
6173
6109
  input: {
6174
6110
  param: {
6175
6111
  orgId: string;
@@ -6182,14 +6118,14 @@ export declare function management(options?: management.Options): import("hono/h
6182
6118
  } | {
6183
6119
  output: {
6184
6120
  error: {
6185
- code: "api_key_forbidden";
6121
+ code: "api_key_invalid" | "api_key_missing";
6186
6122
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6187
6123
  message: string;
6188
6124
  };
6189
6125
  requestId: string;
6190
6126
  };
6191
6127
  outputFormat: "json";
6192
- status: 403;
6128
+ status: 401;
6193
6129
  input: {
6194
6130
  param: {
6195
6131
  orgId: string;
@@ -6202,14 +6138,14 @@ export declare function management(options?: management.Options): import("hono/h
6202
6138
  } | {
6203
6139
  output: {
6204
6140
  error: {
6205
- code: "payment_required" | "rate_limit_exceeded";
6141
+ code: "api_key_forbidden";
6206
6142
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6207
6143
  message: string;
6208
6144
  };
6209
6145
  requestId: string;
6210
6146
  };
6211
6147
  outputFormat: "json";
6212
- status: 429;
6148
+ status: 403;
6213
6149
  input: {
6214
6150
  param: {
6215
6151
  orgId: string;
@@ -6222,14 +6158,14 @@ export declare function management(options?: management.Options): import("hono/h
6222
6158
  } | {
6223
6159
  output: {
6224
6160
  error: {
6225
- code: "query_invalid";
6161
+ code: "payment_required" | "rate_limit_exceeded";
6226
6162
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6227
6163
  message: string;
6228
6164
  };
6229
6165
  requestId: string;
6230
6166
  };
6231
6167
  outputFormat: "json";
6232
- status: 400;
6168
+ status: 429;
6233
6169
  input: {
6234
6170
  param: {
6235
6171
  orgId: string;
@@ -6242,14 +6178,14 @@ export declare function management(options?: management.Options): import("hono/h
6242
6178
  } | {
6243
6179
  output: {
6244
6180
  error: {
6245
- code: "upstream_error";
6181
+ code: "query_invalid";
6246
6182
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6247
6183
  message: string;
6248
6184
  };
6249
6185
  requestId: string;
6250
6186
  };
6251
6187
  outputFormat: "json";
6252
- status: 502;
6188
+ status: 400;
6253
6189
  input: {
6254
6190
  param: {
6255
6191
  orgId: string;
@@ -6353,14 +6289,14 @@ export declare function management(options?: management.Options): import("hono/h
6353
6289
  $delete: {
6354
6290
  output: {
6355
6291
  error: {
6356
- code: "api_key_malformed";
6292
+ code: "upstream_error";
6357
6293
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6358
6294
  message: string;
6359
6295
  };
6360
6296
  requestId: string;
6361
6297
  };
6362
6298
  outputFormat: "json";
6363
- status: 400;
6299
+ status: 502;
6364
6300
  input: {
6365
6301
  param: {
6366
6302
  methodId: string;
@@ -6374,14 +6310,14 @@ export declare function management(options?: management.Options): import("hono/h
6374
6310
  } | {
6375
6311
  output: {
6376
6312
  error: {
6377
- code: "api_key_invalid" | "api_key_missing";
6313
+ code: "api_key_malformed";
6378
6314
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6379
6315
  message: string;
6380
6316
  };
6381
6317
  requestId: string;
6382
6318
  };
6383
6319
  outputFormat: "json";
6384
- status: 401;
6320
+ status: 400;
6385
6321
  input: {
6386
6322
  param: {
6387
6323
  methodId: string;
@@ -6395,14 +6331,14 @@ export declare function management(options?: management.Options): import("hono/h
6395
6331
  } | {
6396
6332
  output: {
6397
6333
  error: {
6398
- code: "api_key_forbidden";
6334
+ code: "api_key_invalid" | "api_key_missing";
6399
6335
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6400
6336
  message: string;
6401
6337
  };
6402
6338
  requestId: string;
6403
6339
  };
6404
6340
  outputFormat: "json";
6405
- status: 403;
6341
+ status: 401;
6406
6342
  input: {
6407
6343
  param: {
6408
6344
  methodId: string;
@@ -6416,14 +6352,14 @@ export declare function management(options?: management.Options): import("hono/h
6416
6352
  } | {
6417
6353
  output: {
6418
6354
  error: {
6419
- code: "payment_required" | "rate_limit_exceeded";
6355
+ code: "api_key_forbidden";
6420
6356
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6421
6357
  message: string;
6422
6358
  };
6423
6359
  requestId: string;
6424
6360
  };
6425
6361
  outputFormat: "json";
6426
- status: 429;
6362
+ status: 403;
6427
6363
  input: {
6428
6364
  param: {
6429
6365
  methodId: string;
@@ -6437,14 +6373,14 @@ export declare function management(options?: management.Options): import("hono/h
6437
6373
  } | {
6438
6374
  output: {
6439
6375
  error: {
6440
- code: "query_invalid";
6376
+ code: "payment_required" | "rate_limit_exceeded";
6441
6377
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6442
6378
  message: string;
6443
6379
  };
6444
6380
  requestId: string;
6445
6381
  };
6446
6382
  outputFormat: "json";
6447
- status: 400;
6383
+ status: 429;
6448
6384
  input: {
6449
6385
  param: {
6450
6386
  methodId: string;
@@ -6458,14 +6394,14 @@ export declare function management(options?: management.Options): import("hono/h
6458
6394
  } | {
6459
6395
  output: {
6460
6396
  error: {
6461
- code: "upstream_error";
6397
+ code: "query_invalid";
6462
6398
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6463
6399
  message: string;
6464
6400
  };
6465
6401
  requestId: string;
6466
6402
  };
6467
6403
  outputFormat: "json";
6468
- status: 502;
6404
+ status: 400;
6469
6405
  input: {
6470
6406
  param: {
6471
6407
  methodId: string;
@@ -6520,27 +6456,7 @@ export declare function management(options?: management.Options): import("hono/h
6520
6456
  };
6521
6457
  } | {
6522
6458
  output: {
6523
- error: {
6524
- code: "billing_unconfigured";
6525
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6526
- message: string;
6527
- };
6528
- requestId: string;
6529
- };
6530
- outputFormat: "json";
6531
- status: 501;
6532
- input: {
6533
- param: {
6534
- methodId: string;
6535
- orgId: string;
6536
- };
6537
- } & {
6538
- query?: {
6539
- environment?: string | string[];
6540
- } | undefined;
6541
- };
6542
- } | {
6543
- output: {
6459
+ enabledSources: ("stripe" | "tempo")[];
6544
6460
  spend?: {
6545
6461
  amount: string;
6546
6462
  currency: "usd";
@@ -6570,6 +6486,27 @@ export declare function management(options?: management.Options): import("hono/h
6570
6486
  environment?: string | string[];
6571
6487
  } | undefined;
6572
6488
  };
6489
+ } | {
6490
+ output: {
6491
+ error: {
6492
+ code: "billing_unconfigured";
6493
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6494
+ message: string;
6495
+ };
6496
+ requestId: string;
6497
+ };
6498
+ outputFormat: "json";
6499
+ status: 501;
6500
+ input: {
6501
+ param: {
6502
+ methodId: string;
6503
+ orgId: string;
6504
+ };
6505
+ } & {
6506
+ query?: {
6507
+ environment?: string | string[];
6508
+ } | undefined;
6509
+ };
6573
6510
  } | {
6574
6511
  output: {
6575
6512
  error: {
@@ -6666,14 +6603,14 @@ export declare function management(options?: management.Options): import("hono/h
6666
6603
  $post: {
6667
6604
  output: {
6668
6605
  error: {
6669
- code: "api_key_malformed";
6606
+ code: "upstream_error";
6670
6607
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6671
6608
  message: string;
6672
6609
  };
6673
6610
  requestId: string;
6674
6611
  };
6675
6612
  outputFormat: "json";
6676
- status: 400;
6613
+ status: 502;
6677
6614
  input: {
6678
6615
  param: {
6679
6616
  orgId: string;
@@ -6690,14 +6627,14 @@ export declare function management(options?: management.Options): import("hono/h
6690
6627
  } | {
6691
6628
  output: {
6692
6629
  error: {
6693
- code: "api_key_invalid" | "api_key_missing";
6630
+ code: "api_key_malformed";
6694
6631
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6695
6632
  message: string;
6696
6633
  };
6697
6634
  requestId: string;
6698
6635
  };
6699
6636
  outputFormat: "json";
6700
- status: 401;
6637
+ status: 400;
6701
6638
  input: {
6702
6639
  param: {
6703
6640
  orgId: string;
@@ -6714,14 +6651,14 @@ export declare function management(options?: management.Options): import("hono/h
6714
6651
  } | {
6715
6652
  output: {
6716
6653
  error: {
6717
- code: "upstream_error";
6654
+ code: "api_key_invalid" | "api_key_missing";
6718
6655
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6719
6656
  message: string;
6720
6657
  };
6721
6658
  requestId: string;
6722
6659
  };
6723
6660
  outputFormat: "json";
6724
- status: 502;
6661
+ status: 401;
6725
6662
  input: {
6726
6663
  param: {
6727
6664
  orgId: string;
@@ -6847,14 +6784,14 @@ export declare function management(options?: management.Options): import("hono/h
6847
6784
  $get: {
6848
6785
  output: {
6849
6786
  error: {
6850
- code: "api_key_malformed";
6787
+ code: "upstream_error";
6851
6788
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6852
6789
  message: string;
6853
6790
  };
6854
6791
  requestId: string;
6855
6792
  };
6856
6793
  outputFormat: "json";
6857
- status: 400;
6794
+ status: 502;
6858
6795
  input: {
6859
6796
  param: {
6860
6797
  orgId: string;
@@ -6863,14 +6800,14 @@ export declare function management(options?: management.Options): import("hono/h
6863
6800
  } | {
6864
6801
  output: {
6865
6802
  error: {
6866
- code: "api_key_invalid" | "api_key_missing";
6803
+ code: "api_key_malformed";
6867
6804
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6868
6805
  message: string;
6869
6806
  };
6870
6807
  requestId: string;
6871
6808
  };
6872
6809
  outputFormat: "json";
6873
- status: 401;
6810
+ status: 400;
6874
6811
  input: {
6875
6812
  param: {
6876
6813
  orgId: string;
@@ -6879,14 +6816,14 @@ export declare function management(options?: management.Options): import("hono/h
6879
6816
  } | {
6880
6817
  output: {
6881
6818
  error: {
6882
- code: "upstream_error";
6819
+ code: "api_key_invalid" | "api_key_missing";
6883
6820
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6884
6821
  message: string;
6885
6822
  };
6886
6823
  requestId: string;
6887
6824
  };
6888
6825
  outputFormat: "json";
6889
- status: 502;
6826
+ status: 401;
6890
6827
  input: {
6891
6828
  param: {
6892
6829
  orgId: string;
@@ -6974,14 +6911,14 @@ export declare function management(options?: management.Options): import("hono/h
6974
6911
  $patch: {
6975
6912
  output: {
6976
6913
  error: {
6977
- code: "api_key_malformed";
6914
+ code: "upstream_error";
6978
6915
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6979
6916
  message: string;
6980
6917
  };
6981
6918
  requestId: string;
6982
6919
  };
6983
6920
  outputFormat: "json";
6984
- status: 400;
6921
+ status: 502;
6985
6922
  input: {
6986
6923
  param: {
6987
6924
  inviteLinkId: string;
@@ -6995,14 +6932,14 @@ export declare function management(options?: management.Options): import("hono/h
6995
6932
  } | {
6996
6933
  output: {
6997
6934
  error: {
6998
- code: "api_key_invalid" | "api_key_missing";
6935
+ code: "api_key_malformed";
6999
6936
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7000
6937
  message: string;
7001
6938
  };
7002
6939
  requestId: string;
7003
6940
  };
7004
6941
  outputFormat: "json";
7005
- status: 401;
6942
+ status: 400;
7006
6943
  input: {
7007
6944
  param: {
7008
6945
  inviteLinkId: string;
@@ -7016,14 +6953,14 @@ export declare function management(options?: management.Options): import("hono/h
7016
6953
  } | {
7017
6954
  output: {
7018
6955
  error: {
7019
- code: "upstream_error";
6956
+ code: "api_key_invalid" | "api_key_missing";
7020
6957
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7021
6958
  message: string;
7022
6959
  };
7023
6960
  requestId: string;
7024
6961
  };
7025
6962
  outputFormat: "json";
7026
- status: 502;
6963
+ status: 401;
7027
6964
  input: {
7028
6965
  param: {
7029
6966
  inviteLinkId: string;
@@ -7155,14 +7092,14 @@ export declare function management(options?: management.Options): import("hono/h
7155
7092
  $delete: {
7156
7093
  output: {
7157
7094
  error: {
7158
- code: "api_key_malformed";
7095
+ code: "upstream_error";
7159
7096
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7160
7097
  message: string;
7161
7098
  };
7162
7099
  requestId: string;
7163
7100
  };
7164
7101
  outputFormat: "json";
7165
- status: 400;
7102
+ status: 502;
7166
7103
  input: {
7167
7104
  param: {
7168
7105
  inviteLinkId: string;
@@ -7172,14 +7109,14 @@ export declare function management(options?: management.Options): import("hono/h
7172
7109
  } | {
7173
7110
  output: {
7174
7111
  error: {
7175
- code: "api_key_invalid" | "api_key_missing";
7112
+ code: "api_key_malformed";
7176
7113
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7177
7114
  message: string;
7178
7115
  };
7179
7116
  requestId: string;
7180
7117
  };
7181
7118
  outputFormat: "json";
7182
- status: 401;
7119
+ status: 400;
7183
7120
  input: {
7184
7121
  param: {
7185
7122
  inviteLinkId: string;
@@ -7189,14 +7126,14 @@ export declare function management(options?: management.Options): import("hono/h
7189
7126
  } | {
7190
7127
  output: {
7191
7128
  error: {
7192
- code: "upstream_error";
7129
+ code: "api_key_invalid" | "api_key_missing";
7193
7130
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7194
7131
  message: string;
7195
7132
  };
7196
7133
  requestId: string;
7197
7134
  };
7198
7135
  outputFormat: "json";
7199
- status: 502;
7136
+ status: 401;
7200
7137
  input: {
7201
7138
  param: {
7202
7139
  inviteLinkId: string;
@@ -7290,14 +7227,14 @@ export declare function management(options?: management.Options): import("hono/h
7290
7227
  $get: {
7291
7228
  output: {
7292
7229
  error: {
7293
- code: "api_key_malformed";
7230
+ code: "upstream_error";
7294
7231
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7295
7232
  message: string;
7296
7233
  };
7297
7234
  requestId: string;
7298
7235
  };
7299
7236
  outputFormat: "json";
7300
- status: 400;
7237
+ status: 502;
7301
7238
  input: {
7302
7239
  param: {
7303
7240
  inviteLinkId: string;
@@ -7307,14 +7244,14 @@ export declare function management(options?: management.Options): import("hono/h
7307
7244
  } | {
7308
7245
  output: {
7309
7246
  error: {
7310
- code: "api_key_invalid" | "api_key_missing";
7247
+ code: "api_key_malformed";
7311
7248
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7312
7249
  message: string;
7313
7250
  };
7314
7251
  requestId: string;
7315
7252
  };
7316
7253
  outputFormat: "json";
7317
- status: 401;
7254
+ status: 400;
7318
7255
  input: {
7319
7256
  param: {
7320
7257
  inviteLinkId: string;
@@ -7324,14 +7261,14 @@ export declare function management(options?: management.Options): import("hono/h
7324
7261
  } | {
7325
7262
  output: {
7326
7263
  error: {
7327
- code: "upstream_error";
7264
+ code: "api_key_invalid" | "api_key_missing";
7328
7265
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7329
7266
  message: string;
7330
7267
  };
7331
7268
  requestId: string;
7332
7269
  };
7333
7270
  outputFormat: "json";
7334
- status: 502;
7271
+ status: 401;
7335
7272
  input: {
7336
7273
  param: {
7337
7274
  inviteLinkId: string;
@@ -7433,14 +7370,14 @@ export declare function management(options?: management.Options): import("hono/h
7433
7370
  $post: {
7434
7371
  output: {
7435
7372
  error: {
7436
- code: "api_key_malformed";
7373
+ code: "upstream_error";
7437
7374
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7438
7375
  message: string;
7439
7376
  };
7440
7377
  requestId: string;
7441
7378
  };
7442
7379
  outputFormat: "json";
7443
- status: 400;
7380
+ status: 502;
7444
7381
  input: {
7445
7382
  json: {
7446
7383
  token: string;
@@ -7449,14 +7386,14 @@ export declare function management(options?: management.Options): import("hono/h
7449
7386
  } | {
7450
7387
  output: {
7451
7388
  error: {
7452
- code: "api_key_invalid" | "api_key_missing";
7389
+ code: "api_key_malformed";
7453
7390
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7454
7391
  message: string;
7455
7392
  };
7456
7393
  requestId: string;
7457
7394
  };
7458
7395
  outputFormat: "json";
7459
- status: 401;
7396
+ status: 400;
7460
7397
  input: {
7461
7398
  json: {
7462
7399
  token: string;
@@ -7465,14 +7402,14 @@ export declare function management(options?: management.Options): import("hono/h
7465
7402
  } | {
7466
7403
  output: {
7467
7404
  error: {
7468
- code: "upstream_error";
7405
+ code: "api_key_invalid" | "api_key_missing";
7469
7406
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7470
7407
  message: string;
7471
7408
  };
7472
7409
  requestId: string;
7473
7410
  };
7474
7411
  outputFormat: "json";
7475
- status: 502;
7412
+ status: 401;
7476
7413
  input: {
7477
7414
  json: {
7478
7415
  token: string;
@@ -7545,14 +7482,14 @@ export declare function management(options?: management.Options): import("hono/h
7545
7482
  $post: {
7546
7483
  output: {
7547
7484
  error: {
7548
- code: "api_key_malformed";
7485
+ code: "upstream_error";
7549
7486
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7550
7487
  message: string;
7551
7488
  };
7552
7489
  requestId: string;
7553
7490
  };
7554
7491
  outputFormat: "json";
7555
- status: 400;
7492
+ status: 502;
7556
7493
  input: {
7557
7494
  json: {
7558
7495
  token: string;
@@ -7561,14 +7498,14 @@ export declare function management(options?: management.Options): import("hono/h
7561
7498
  } | {
7562
7499
  output: {
7563
7500
  error: {
7564
- code: "api_key_invalid" | "api_key_missing";
7501
+ code: "api_key_malformed";
7565
7502
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7566
7503
  message: string;
7567
7504
  };
7568
7505
  requestId: string;
7569
7506
  };
7570
7507
  outputFormat: "json";
7571
- status: 401;
7508
+ status: 400;
7572
7509
  input: {
7573
7510
  json: {
7574
7511
  token: string;
@@ -7577,14 +7514,14 @@ export declare function management(options?: management.Options): import("hono/h
7577
7514
  } | {
7578
7515
  output: {
7579
7516
  error: {
7580
- code: "upstream_error";
7517
+ code: "api_key_invalid" | "api_key_missing";
7581
7518
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7582
7519
  message: string;
7583
7520
  };
7584
7521
  requestId: string;
7585
7522
  };
7586
7523
  outputFormat: "json";
7587
- status: 502;
7524
+ status: 401;
7588
7525
  input: {
7589
7526
  json: {
7590
7527
  token: string;
@@ -7674,7 +7611,7 @@ export declare function management(options?: management.Options): import("hono/h
7674
7611
  $post: {
7675
7612
  output: {
7676
7613
  error: {
7677
- code: "api_key_malformed";
7614
+ code: "chain_id_unsupported";
7678
7615
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
7679
7616
  message: string;
7680
7617
  };
@@ -8020,14 +7957,14 @@ export declare function management(options?: management.Options): import("hono/h
8020
7957
  } | {
8021
7958
  output: {
8022
7959
  error: {
8023
- code: "api_key_invalid" | "api_key_missing";
7960
+ code: "upstream_error";
8024
7961
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
8025
7962
  message: string;
8026
7963
  };
8027
7964
  requestId: string;
8028
7965
  };
8029
7966
  outputFormat: "json";
8030
- status: 401;
7967
+ status: 502;
8031
7968
  input: {
8032
7969
  param: {
8033
7970
  orgId: string;
@@ -8366,14 +8303,14 @@ export declare function management(options?: management.Options): import("hono/h
8366
8303
  } | {
8367
8304
  output: {
8368
8305
  error: {
8369
- code: "upstream_error";
8306
+ code: "api_key_malformed";
8370
8307
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
8371
8308
  message: string;
8372
8309
  };
8373
8310
  requestId: string;
8374
8311
  };
8375
8312
  outputFormat: "json";
8376
- status: 502;
8313
+ status: 400;
8377
8314
  input: {
8378
8315
  param: {
8379
8316
  orgId: string;
@@ -8712,14 +8649,14 @@ export declare function management(options?: management.Options): import("hono/h
8712
8649
  } | {
8713
8650
  output: {
8714
8651
  error: {
8715
- code: "chain_id_unsupported";
8652
+ code: "api_key_invalid" | "api_key_missing";
8716
8653
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
8717
8654
  message: string;
8718
8655
  };
8719
8656
  requestId: string;
8720
8657
  };
8721
8658
  outputFormat: "json";
8722
- status: 400;
8659
+ status: 401;
8723
8660
  input: {
8724
8661
  param: {
8725
8662
  orgId: string;
@@ -12243,14 +12180,14 @@ export declare function management(options?: management.Options): import("hono/h
12243
12180
  $get: {
12244
12181
  output: {
12245
12182
  error: {
12246
- code: "api_key_malformed";
12183
+ code: "upstream_error";
12247
12184
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12248
12185
  message: string;
12249
12186
  };
12250
12187
  requestId: string;
12251
12188
  };
12252
12189
  outputFormat: "json";
12253
- status: 400;
12190
+ status: 502;
12254
12191
  input: {
12255
12192
  param: {
12256
12193
  orgId: string;
@@ -12259,14 +12196,14 @@ export declare function management(options?: management.Options): import("hono/h
12259
12196
  } | {
12260
12197
  output: {
12261
12198
  error: {
12262
- code: "api_key_invalid" | "api_key_missing";
12199
+ code: "api_key_malformed";
12263
12200
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12264
12201
  message: string;
12265
12202
  };
12266
12203
  requestId: string;
12267
12204
  };
12268
12205
  outputFormat: "json";
12269
- status: 401;
12206
+ status: 400;
12270
12207
  input: {
12271
12208
  param: {
12272
12209
  orgId: string;
@@ -12275,14 +12212,14 @@ export declare function management(options?: management.Options): import("hono/h
12275
12212
  } | {
12276
12213
  output: {
12277
12214
  error: {
12278
- code: "upstream_error";
12215
+ code: "api_key_invalid" | "api_key_missing";
12279
12216
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12280
12217
  message: string;
12281
12218
  };
12282
12219
  requestId: string;
12283
12220
  };
12284
12221
  outputFormat: "json";
12285
- status: 502;
12222
+ status: 401;
12286
12223
  input: {
12287
12224
  param: {
12288
12225
  orgId: string;
@@ -12401,14 +12338,14 @@ export declare function management(options?: management.Options): import("hono/h
12401
12338
  $get: {
12402
12339
  output: {
12403
12340
  error: {
12404
- code: "api_key_malformed";
12341
+ code: "upstream_error";
12405
12342
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12406
12343
  message: string;
12407
12344
  };
12408
12345
  requestId: string;
12409
12346
  };
12410
12347
  outputFormat: "json";
12411
- status: 400;
12348
+ status: 502;
12412
12349
  input: {
12413
12350
  param: {
12414
12351
  id: string;
@@ -12425,14 +12362,14 @@ export declare function management(options?: management.Options): import("hono/h
12425
12362
  } | {
12426
12363
  output: {
12427
12364
  error: {
12428
- code: "api_key_invalid" | "api_key_missing";
12365
+ code: "api_key_malformed";
12429
12366
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12430
12367
  message: string;
12431
12368
  };
12432
12369
  requestId: string;
12433
12370
  };
12434
12371
  outputFormat: "json";
12435
- status: 401;
12372
+ status: 400;
12436
12373
  input: {
12437
12374
  param: {
12438
12375
  id: string;
@@ -12449,14 +12386,14 @@ export declare function management(options?: management.Options): import("hono/h
12449
12386
  } | {
12450
12387
  output: {
12451
12388
  error: {
12452
- code: "query_invalid";
12389
+ code: "api_key_invalid" | "api_key_missing";
12453
12390
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12454
12391
  message: string;
12455
12392
  };
12456
12393
  requestId: string;
12457
12394
  };
12458
12395
  outputFormat: "json";
12459
- status: 400;
12396
+ status: 401;
12460
12397
  input: {
12461
12398
  param: {
12462
12399
  id: string;
@@ -12473,14 +12410,14 @@ export declare function management(options?: management.Options): import("hono/h
12473
12410
  } | {
12474
12411
  output: {
12475
12412
  error: {
12476
- code: "upstream_error";
12413
+ code: "query_invalid";
12477
12414
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12478
12415
  message: string;
12479
12416
  };
12480
12417
  requestId: string;
12481
12418
  };
12482
12419
  outputFormat: "json";
12483
- status: 502;
12420
+ status: 400;
12484
12421
  input: {
12485
12422
  param: {
12486
12423
  id: string;
@@ -12656,14 +12593,14 @@ export declare function management(options?: management.Options): import("hono/h
12656
12593
  $get: {
12657
12594
  output: {
12658
12595
  error: {
12659
- code: "api_key_malformed";
12596
+ code: "upstream_error";
12660
12597
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12661
12598
  message: string;
12662
12599
  };
12663
12600
  requestId: string;
12664
12601
  };
12665
12602
  outputFormat: "json";
12666
- status: 400;
12603
+ status: 502;
12667
12604
  input: {
12668
12605
  param: {
12669
12606
  deliveryId: string;
@@ -12674,14 +12611,14 @@ export declare function management(options?: management.Options): import("hono/h
12674
12611
  } | {
12675
12612
  output: {
12676
12613
  error: {
12677
- code: "api_key_invalid" | "api_key_missing";
12614
+ code: "api_key_malformed";
12678
12615
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12679
12616
  message: string;
12680
12617
  };
12681
12618
  requestId: string;
12682
12619
  };
12683
12620
  outputFormat: "json";
12684
- status: 401;
12621
+ status: 400;
12685
12622
  input: {
12686
12623
  param: {
12687
12624
  deliveryId: string;
@@ -12692,14 +12629,14 @@ export declare function management(options?: management.Options): import("hono/h
12692
12629
  } | {
12693
12630
  output: {
12694
12631
  error: {
12695
- code: "upstream_error";
12632
+ code: "api_key_invalid" | "api_key_missing";
12696
12633
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
12697
12634
  message: string;
12698
12635
  };
12699
12636
  requestId: string;
12700
12637
  };
12701
12638
  outputFormat: "json";
12702
- status: 502;
12639
+ status: 401;
12703
12640
  input: {
12704
12641
  param: {
12705
12642
  deliveryId: string;
@@ -13141,14 +13078,14 @@ export declare function management(options?: management.Options): import("hono/h
13141
13078
  $post: {
13142
13079
  output: {
13143
13080
  error: {
13144
- code: "api_key_malformed";
13081
+ code: "upstream_error";
13145
13082
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13146
13083
  message: string;
13147
13084
  };
13148
13085
  requestId: string;
13149
13086
  };
13150
13087
  outputFormat: "json";
13151
- status: 400;
13088
+ status: 502;
13152
13089
  input: {
13153
13090
  param: {
13154
13091
  deliveryId: string;
@@ -13159,14 +13096,14 @@ export declare function management(options?: management.Options): import("hono/h
13159
13096
  } | {
13160
13097
  output: {
13161
13098
  error: {
13162
- code: "api_key_invalid" | "api_key_missing";
13099
+ code: "api_key_malformed";
13163
13100
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13164
13101
  message: string;
13165
13102
  };
13166
13103
  requestId: string;
13167
13104
  };
13168
13105
  outputFormat: "json";
13169
- status: 401;
13106
+ status: 400;
13170
13107
  input: {
13171
13108
  param: {
13172
13109
  deliveryId: string;
@@ -13177,14 +13114,14 @@ export declare function management(options?: management.Options): import("hono/h
13177
13114
  } | {
13178
13115
  output: {
13179
13116
  error: {
13180
- code: "upstream_error";
13117
+ code: "api_key_invalid" | "api_key_missing";
13181
13118
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13182
13119
  message: string;
13183
13120
  };
13184
13121
  requestId: string;
13185
13122
  };
13186
13123
  outputFormat: "json";
13187
- status: 502;
13124
+ status: 401;
13188
13125
  input: {
13189
13126
  param: {
13190
13127
  deliveryId: string;
@@ -13324,14 +13261,14 @@ export declare function management(options?: management.Options): import("hono/h
13324
13261
  $patch: {
13325
13262
  output: {
13326
13263
  error: {
13327
- code: "api_key_malformed";
13264
+ code: "upstream_error";
13328
13265
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13329
13266
  message: string;
13330
13267
  };
13331
13268
  requestId: string;
13332
13269
  };
13333
13270
  outputFormat: "json";
13334
- status: 400;
13271
+ status: 502;
13335
13272
  input: {
13336
13273
  param: {
13337
13274
  id: string;
@@ -13345,14 +13282,14 @@ export declare function management(options?: management.Options): import("hono/h
13345
13282
  } | {
13346
13283
  output: {
13347
13284
  error: {
13348
- code: "api_key_invalid" | "api_key_missing";
13285
+ code: "api_key_malformed";
13349
13286
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13350
13287
  message: string;
13351
13288
  };
13352
13289
  requestId: string;
13353
13290
  };
13354
13291
  outputFormat: "json";
13355
- status: 401;
13292
+ status: 400;
13356
13293
  input: {
13357
13294
  param: {
13358
13295
  id: string;
@@ -13366,14 +13303,14 @@ export declare function management(options?: management.Options): import("hono/h
13366
13303
  } | {
13367
13304
  output: {
13368
13305
  error: {
13369
- code: "upstream_error";
13306
+ code: "api_key_invalid" | "api_key_missing";
13370
13307
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13371
13308
  message: string;
13372
13309
  };
13373
13310
  requestId: string;
13374
13311
  };
13375
13312
  outputFormat: "json";
13376
- status: 502;
13313
+ status: 401;
13377
13314
  input: {
13378
13315
  param: {
13379
13316
  id: string;
@@ -13562,14 +13499,14 @@ export declare function management(options?: management.Options): import("hono/h
13562
13499
  $delete: {
13563
13500
  output: {
13564
13501
  error: {
13565
- code: "api_key_malformed";
13502
+ code: "upstream_error";
13566
13503
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13567
13504
  message: string;
13568
13505
  };
13569
13506
  requestId: string;
13570
13507
  };
13571
13508
  outputFormat: "json";
13572
- status: 400;
13509
+ status: 502;
13573
13510
  input: {
13574
13511
  param: {
13575
13512
  id: string;
@@ -13579,14 +13516,14 @@ export declare function management(options?: management.Options): import("hono/h
13579
13516
  } | {
13580
13517
  output: {
13581
13518
  error: {
13582
- code: "api_key_invalid" | "api_key_missing";
13519
+ code: "api_key_malformed";
13583
13520
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13584
13521
  message: string;
13585
13522
  };
13586
13523
  requestId: string;
13587
13524
  };
13588
13525
  outputFormat: "json";
13589
- status: 401;
13526
+ status: 400;
13590
13527
  input: {
13591
13528
  param: {
13592
13529
  id: string;
@@ -13596,14 +13533,14 @@ export declare function management(options?: management.Options): import("hono/h
13596
13533
  } | {
13597
13534
  output: {
13598
13535
  error: {
13599
- code: "upstream_error";
13536
+ code: "api_key_invalid" | "api_key_missing";
13600
13537
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
13601
13538
  message: string;
13602
13539
  };
13603
13540
  requestId: string;
13604
13541
  };
13605
13542
  outputFormat: "json";
13606
- status: 502;
13543
+ status: 401;
13607
13544
  input: {
13608
13545
  param: {
13609
13546
  id: string;