tapimo 0.4.1 → 0.4.4

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 (263) hide show
  1. package/README.md +1 -1
  2. package/dist/ApiKey.d.ts +1 -9
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +2 -3
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +53 -27
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +32 -17
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +1990 -1442
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +23 -9
  13. package/dist/App.js.map +1 -1
  14. package/dist/Assets.d.ts +10 -0
  15. package/dist/Assets.d.ts.map +1 -1
  16. package/dist/Assets.js +4 -0
  17. package/dist/Assets.js.map +1 -1
  18. package/dist/Auth.d.ts +2 -1
  19. package/dist/Auth.d.ts.map +1 -1
  20. package/dist/Auth.js +2 -1
  21. package/dist/Auth.js.map +1 -1
  22. package/dist/Scope.d.ts +40 -15
  23. package/dist/Scope.d.ts.map +1 -1
  24. package/dist/Scope.js +44 -13
  25. package/dist/Scope.js.map +1 -1
  26. package/dist/admin/App.d.ts +560 -9
  27. package/dist/admin/App.d.ts.map +1 -1
  28. package/dist/admin/App.js +38 -6
  29. package/dist/admin/App.js.map +1 -1
  30. package/dist/admin/apps/api-keys.d.ts +10 -24
  31. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  32. package/dist/admin/apps/api-keys.js +10 -3
  33. package/dist/admin/apps/api-keys.js.map +1 -1
  34. package/dist/admin/apps/organizations.d.ts +833 -0
  35. package/dist/admin/apps/organizations.d.ts.map +1 -0
  36. package/dist/admin/apps/organizations.js +733 -0
  37. package/dist/admin/apps/organizations.js.map +1 -0
  38. package/dist/admin/apps/scopes.d.ts +8 -0
  39. package/dist/admin/apps/scopes.d.ts.map +1 -1
  40. package/dist/admin/apps/verified-tokens.d.ts +57 -57
  41. package/dist/admin/ui.generated.d.ts +1 -1
  42. package/dist/admin/ui.generated.d.ts.map +1 -1
  43. package/dist/admin/ui.generated.js +53 -13
  44. package/dist/admin/ui.generated.js.map +1 -1
  45. package/dist/analytics/Analytics.d.ts +10 -0
  46. package/dist/analytics/Analytics.d.ts.map +1 -1
  47. package/dist/analytics/Analytics.js +8 -0
  48. package/dist/analytics/Analytics.js.map +1 -1
  49. package/dist/analytics/tables/requestEvents.d.ts +9 -0
  50. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  51. package/dist/analytics/tables/requestEvents.js +14 -0
  52. package/dist/analytics/tables/requestEvents.js.map +1 -1
  53. package/dist/apps/data/App.d.ts +1304 -1304
  54. package/dist/apps/data/FundingRouteProviders.d.ts +4 -22
  55. package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -1
  56. package/dist/apps/data/FundingRouteProviders.js +10 -120
  57. package/dist/apps/data/FundingRouteProviders.js.map +1 -1
  58. package/dist/apps/data/routes/activities.d.ts +38 -38
  59. package/dist/apps/data/routes/addresses.d.ts +24 -24
  60. package/dist/apps/data/routes/blocks.d.ts +39 -39
  61. package/dist/apps/data/routes/fee-amm.d.ts +20 -20
  62. package/dist/apps/data/routes/funding.js +7 -7
  63. package/dist/apps/data/routes/funding.js.map +1 -1
  64. package/dist/apps/data/routes/indexer.d.ts +5 -5
  65. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  66. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  67. package/dist/apps/management/App.d.ts +808 -267
  68. package/dist/apps/management/App.d.ts.map +1 -1
  69. package/dist/apps/management/App.js +2 -2
  70. package/dist/apps/management/Billing.d.ts +3 -0
  71. package/dist/apps/management/Billing.d.ts.map +1 -1
  72. package/dist/apps/management/Billing.js +7 -2
  73. package/dist/apps/management/Billing.js.map +1 -1
  74. package/dist/apps/management/routes/api-keys.d.ts +116 -100
  75. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  76. package/dist/apps/management/routes/api-keys.js +41 -30
  77. package/dist/apps/management/routes/api-keys.js.map +1 -1
  78. package/dist/apps/management/routes/billing.d.ts +182 -50
  79. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  80. package/dist/apps/management/routes/billing.js +14 -14
  81. package/dist/apps/management/routes/billing.js.map +1 -1
  82. package/dist/apps/management/routes/invitations.d.ts +93 -20
  83. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  84. package/dist/apps/management/routes/invitations.js +12 -15
  85. package/dist/apps/management/routes/invitations.js.map +1 -1
  86. package/dist/apps/management/routes/members.d.ts +89 -18
  87. package/dist/apps/management/routes/members.d.ts.map +1 -1
  88. package/dist/apps/management/routes/members.js +10 -10
  89. package/dist/apps/management/routes/members.js.map +1 -1
  90. package/dist/apps/management/routes/orgs.d.ts +100 -40
  91. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  92. package/dist/apps/management/routes/orgs.js +19 -19
  93. package/dist/apps/management/routes/orgs.js.map +1 -1
  94. package/dist/apps/management/routes/projects.d.ts +122 -33
  95. package/dist/apps/management/routes/projects.d.ts.map +1 -1
  96. package/dist/apps/management/routes/projects.js +12 -13
  97. package/dist/apps/management/routes/projects.js.map +1 -1
  98. package/dist/apps/management/routes/scopes.d.ts +4 -18
  99. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  100. package/dist/apps/management/routes/scopes.js +6 -7
  101. package/dist/apps/management/routes/scopes.js.map +1 -1
  102. package/dist/apps/management/routes/usage.d.ts +63 -19
  103. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  104. package/dist/apps/management/routes/usage.js +9 -10
  105. package/dist/apps/management/routes/usage.js.map +1 -1
  106. package/dist/apps/mcp.d.ts.map +1 -1
  107. package/dist/apps/mcp.js +38 -4
  108. package/dist/apps/mcp.js.map +1 -1
  109. package/dist/apps/relay/App.d.ts +26 -4
  110. package/dist/apps/relay/App.d.ts.map +1 -1
  111. package/dist/apps/relay/App.js +17 -14
  112. package/dist/apps/relay/App.js.map +1 -1
  113. package/dist/cloudflare.d.ts +2 -0
  114. package/dist/cloudflare.d.ts.map +1 -1
  115. package/dist/cloudflare.js +4 -0
  116. package/dist/cloudflare.js.map +1 -1
  117. package/dist/db/Db.d.ts +5 -3
  118. package/dist/db/Db.d.ts.map +1 -1
  119. package/dist/db/Db.js +52 -0
  120. package/dist/db/Db.js.map +1 -1
  121. package/dist/db/Schema.d.ts +13 -0
  122. package/dist/db/Schema.d.ts.map +1 -1
  123. package/dist/db/Schema.js +16 -1
  124. package/dist/db/Schema.js.map +1 -1
  125. package/dist/db/tables/adminAuditLogs.d.ts +27 -0
  126. package/dist/db/tables/adminAuditLogs.d.ts.map +1 -0
  127. package/dist/db/tables/adminAuditLogs.js +19 -0
  128. package/dist/db/tables/adminAuditLogs.js.map +1 -0
  129. package/dist/db/tables/invitations.d.ts +1 -1
  130. package/dist/db/tables/invitations.d.ts.map +1 -1
  131. package/dist/db/tables/memberships.d.ts +32 -4
  132. package/dist/db/tables/memberships.d.ts.map +1 -1
  133. package/dist/db/tables/memberships.js +31 -0
  134. package/dist/db/tables/memberships.js.map +1 -1
  135. package/dist/db/tables/organizations.d.ts +43 -1
  136. package/dist/db/tables/organizations.d.ts.map +1 -1
  137. package/dist/db/tables/organizations.js +103 -0
  138. package/dist/db/tables/organizations.js.map +1 -1
  139. package/dist/db/tables/projects.d.ts +25 -0
  140. package/dist/db/tables/projects.d.ts.map +1 -1
  141. package/dist/db/tables/projects.js +22 -0
  142. package/dist/db/tables/projects.js.map +1 -1
  143. package/dist/db/tables/webhookDeliveries.d.ts +26 -0
  144. package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
  145. package/dist/db/tables/webhookDeliveries.js +37 -0
  146. package/dist/db/tables/webhookDeliveries.js.map +1 -1
  147. package/dist/internal/Auth.d.ts +46 -40
  148. package/dist/internal/Auth.d.ts.map +1 -1
  149. package/dist/internal/Auth.js +118 -69
  150. package/dist/internal/Auth.js.map +1 -1
  151. package/dist/internal/Cursor.d.ts +1 -1
  152. package/dist/internal/Cursor.d.ts.map +1 -1
  153. package/dist/internal/Cursor.js +4 -0
  154. package/dist/internal/Cursor.js.map +1 -1
  155. package/dist/internal/EdgeCache.d.ts.map +1 -1
  156. package/dist/internal/EdgeCache.js +2 -0
  157. package/dist/internal/EdgeCache.js.map +1 -1
  158. package/dist/internal/Errors.d.ts +6 -0
  159. package/dist/internal/Errors.d.ts.map +1 -0
  160. package/dist/internal/Errors.js +16 -0
  161. package/dist/internal/Errors.js.map +1 -0
  162. package/dist/internal/FundingRoutes.d.ts +15 -43
  163. package/dist/internal/FundingRoutes.d.ts.map +1 -1
  164. package/dist/internal/FundingRoutes.js +8 -17
  165. package/dist/internal/FundingRoutes.js.map +1 -1
  166. package/dist/internal/Log.d.ts +16 -1
  167. package/dist/internal/Log.d.ts.map +1 -1
  168. package/dist/internal/Log.js +5 -3
  169. package/dist/internal/Log.js.map +1 -1
  170. package/dist/internal/Store.d.ts +61 -16
  171. package/dist/internal/Store.d.ts.map +1 -1
  172. package/dist/internal/Store.js +72 -17
  173. package/dist/internal/Store.js.map +1 -1
  174. package/dist/internal/Viem.d.ts +1 -1
  175. package/dist/internal/index.d.ts +27 -0
  176. package/dist/internal/index.d.ts.map +1 -0
  177. package/dist/internal/index.js +27 -0
  178. package/dist/internal/index.js.map +1 -0
  179. package/package.json +8 -3
  180. package/src/ApiKey.ts +2 -3
  181. package/src/ApiKeys.ts +95 -17
  182. package/src/App.test.ts +104 -6
  183. package/src/App.ts +29 -9
  184. package/src/Assets.ts +8 -0
  185. package/src/Auth.test-d.ts +36 -0
  186. package/src/Auth.ts +20 -1
  187. package/src/Client.test-d.ts +17 -17
  188. package/src/Scope.test.ts +34 -0
  189. package/src/Scope.ts +53 -17
  190. package/src/admin/App.test.ts +33 -3
  191. package/src/admin/App.ts +49 -14
  192. package/src/admin/apps/api-keys.ts +10 -3
  193. package/src/admin/apps/organizations.test.ts +455 -0
  194. package/src/admin/apps/organizations.ts +953 -0
  195. package/src/admin/apps/scopes.test.ts +10 -0
  196. package/src/admin/ui/plugin.ts +1 -1
  197. package/src/admin/ui/src/components/MobileProfile.tsx +2 -0
  198. package/src/admin/ui/src/components/ThemeToggle.tsx +20 -0
  199. package/src/admin/ui/src/lib/api-keys.ts +36 -19
  200. package/src/admin/ui/src/lib/config.ts +2 -3
  201. package/src/admin/ui/src/lib/organizations.test.ts +89 -0
  202. package/src/admin/ui/src/lib/organizations.ts +262 -0
  203. package/src/admin/ui/src/lib/query-client.ts +3 -1
  204. package/src/admin/ui/src/lib/theme.ts +57 -0
  205. package/src/admin/ui/src/routeTree.gen.ts +47 -4
  206. package/src/admin/ui/src/routes/__root.tsx +18 -3
  207. package/src/admin/ui/src/routes/api-keys.tsx +52 -7
  208. package/src/admin/ui/src/routes/index.tsx +1 -1
  209. package/src/admin/ui/src/routes/organizations.tsx +158 -0
  210. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +710 -0
  211. package/src/admin/ui/src/start.ts +6 -0
  212. package/src/admin/ui.generated.ts +63 -13
  213. package/src/analytics/Analytics.ts +25 -0
  214. package/src/analytics/tables/requestEvents.ts +33 -0
  215. package/src/apps/composition.test.ts +82 -2
  216. package/src/apps/data/FundingRouteProviders.test.ts +37 -93
  217. package/src/apps/data/FundingRouteProviders.ts +14 -161
  218. package/src/apps/data/routes/funding.test.ts +7 -42
  219. package/src/apps/data/routes/funding.ts +8 -8
  220. package/src/apps/data/routes/indexer.test.ts +2 -2
  221. package/src/apps/data/routes/webhooks.test.ts +2 -2
  222. package/src/apps/management/App.ts +2 -2
  223. package/src/apps/management/Billing.ts +10 -2
  224. package/src/apps/management/routes/api-keys.test.ts +137 -1
  225. package/src/apps/management/routes/api-keys.ts +63 -38
  226. package/src/apps/management/routes/billing.ts +14 -14
  227. package/src/apps/management/routes/invitations.test.ts +102 -1
  228. package/src/apps/management/routes/invitations.ts +13 -15
  229. package/src/apps/management/routes/members.ts +10 -10
  230. package/src/apps/management/routes/orgs.test.ts +78 -16
  231. package/src/apps/management/routes/orgs.ts +21 -20
  232. package/src/apps/management/routes/projects.ts +12 -13
  233. package/src/apps/management/routes/scopes.test.ts +16 -0
  234. package/src/apps/management/routes/scopes.ts +6 -7
  235. package/src/apps/management/routes/usage.ts +9 -14
  236. package/src/apps/mcp.test.ts +72 -7
  237. package/src/apps/mcp.ts +46 -4
  238. package/src/apps/relay/App.test.ts +23 -18
  239. package/src/apps/relay/App.ts +35 -14
  240. package/src/cloudflare.ts +5 -0
  241. package/src/db/Db.ts +59 -3
  242. package/src/db/Schema.ts +20 -1
  243. package/src/db/tables/adminAuditLogs.ts +47 -0
  244. package/src/db/tables/invitations.ts +1 -1
  245. package/src/db/tables/memberships.ts +59 -3
  246. package/src/db/tables/organizations.ts +148 -1
  247. package/src/db/tables/projects.ts +47 -0
  248. package/src/db/tables/webhookDeliveries.ts +83 -0
  249. package/src/internal/Auth.test.ts +571 -23
  250. package/src/internal/Auth.ts +166 -94
  251. package/src/internal/Cursor.test.ts +10 -0
  252. package/src/internal/Cursor.ts +5 -1
  253. package/src/internal/EdgeCache.test.ts +11 -0
  254. package/src/internal/EdgeCache.ts +2 -0
  255. package/src/internal/FundingRoutes.test.ts +8 -8
  256. package/src/internal/FundingRoutes.ts +25 -29
  257. package/src/internal/Log.test.ts +41 -3
  258. package/src/internal/Log.ts +23 -4
  259. package/src/internal/Store.test-d.ts +15 -0
  260. package/src/internal/Store.test.ts +153 -2
  261. package/src/internal/Store.ts +157 -41
  262. package/src/internal/index.test.ts +34 -0
  263. package/src/internal/index.ts +26 -0
@@ -67,8 +67,8 @@ export type Environment = {
67
67
  * invitations, and API-key management. Every route reads its dependencies from
68
68
  * request context set by {@link App.create}.
69
69
  *
70
- * The session-auth surface (`/v1/auth/siwe` + `session` capability) is owned by
71
- * {@link App.create}, so management routes gate on a session without owning it.
70
+ * The session-auth surface is owned by {@link App.create}; management routes
71
+ * reference it alongside scoped API-key access.
72
72
  *
73
73
  * ```ts
74
74
  * App.create(options).route('/', management())
@@ -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: "upstream_error";
82
+ code: "api_key_malformed";
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: 502;
89
+ status: 400;
90
90
  input: {};
91
91
  } | {
92
92
  output: {
93
93
  error: {
94
- code: "api_key_malformed";
94
+ code: "api_key_invalid" | "api_key_missing";
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: 400;
101
+ status: 401;
102
102
  input: {};
103
103
  } | {
104
104
  output: {
105
105
  error: {
106
- code: "api_key_invalid" | "api_key_missing";
106
+ code: "upstream_error";
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: 401;
113
+ status: 502;
114
114
  input: {};
115
115
  } | {
116
116
  output: {
@@ -203,7 +203,7 @@ export declare function management(options?: management.Options): import("hono/h
203
203
  output: {
204
204
  data: {
205
205
  description: string;
206
- scope: "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write";
206
+ scope: string;
207
207
  selfServe: boolean;
208
208
  }[];
209
209
  };
@@ -217,14 +217,14 @@ export declare function management(options?: management.Options): import("hono/h
217
217
  $get: {
218
218
  output: {
219
219
  error: {
220
- code: "upstream_error";
220
+ code: "api_key_malformed";
221
221
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
222
222
  message: string;
223
223
  };
224
224
  requestId: string;
225
225
  };
226
226
  outputFormat: "json";
227
- status: 502;
227
+ status: 400;
228
228
  input: {
229
229
  param: {
230
230
  orgId: string;
@@ -241,14 +241,14 @@ export declare function management(options?: management.Options): import("hono/h
241
241
  } | {
242
242
  output: {
243
243
  error: {
244
- code: "api_key_malformed";
244
+ code: "api_key_invalid" | "api_key_missing";
245
245
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
246
246
  message: string;
247
247
  };
248
248
  requestId: string;
249
249
  };
250
250
  outputFormat: "json";
251
- status: 400;
251
+ status: 401;
252
252
  input: {
253
253
  param: {
254
254
  orgId: string;
@@ -265,14 +265,38 @@ export declare function management(options?: management.Options): import("hono/h
265
265
  } | {
266
266
  output: {
267
267
  error: {
268
- code: "api_key_invalid" | "api_key_missing";
268
+ code: "api_key_forbidden";
269
269
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
270
270
  message: string;
271
271
  };
272
272
  requestId: string;
273
273
  };
274
274
  outputFormat: "json";
275
- status: 401;
275
+ status: 403;
276
+ input: {
277
+ param: {
278
+ orgId: string;
279
+ };
280
+ } & {
281
+ query?: {
282
+ environment?: string | string[];
283
+ from?: string | string[];
284
+ interval?: string | string[];
285
+ projectId?: string | string[];
286
+ to?: string | string[];
287
+ } | undefined;
288
+ };
289
+ } | {
290
+ output: {
291
+ error: {
292
+ code: "payment_required" | "rate_limit_exceeded";
293
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
294
+ message: string;
295
+ };
296
+ requestId: string;
297
+ };
298
+ outputFormat: "json";
299
+ status: 429;
276
300
  input: {
277
301
  param: {
278
302
  orgId: string;
@@ -313,14 +337,14 @@ export declare function management(options?: management.Options): import("hono/h
313
337
  } | {
314
338
  output: {
315
339
  error: {
316
- code: "forbidden";
340
+ code: "upstream_error";
317
341
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
318
342
  message: string;
319
343
  };
320
344
  requestId: string;
321
345
  };
322
346
  outputFormat: "json";
323
- status: 403;
347
+ status: 502;
324
348
  input: {
325
349
  param: {
326
350
  orgId: string;
@@ -460,14 +484,14 @@ export declare function management(options?: management.Options): import("hono/h
460
484
  $get: {
461
485
  output: {
462
486
  error: {
463
- code: "upstream_error";
487
+ code: "api_key_malformed";
464
488
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
465
489
  message: string;
466
490
  };
467
491
  requestId: string;
468
492
  };
469
493
  outputFormat: "json";
470
- status: 502;
494
+ status: 400;
471
495
  input: {
472
496
  param: {
473
497
  orgId: string;
@@ -484,14 +508,14 @@ export declare function management(options?: management.Options): import("hono/h
484
508
  } | {
485
509
  output: {
486
510
  error: {
487
- code: "api_key_malformed";
511
+ code: "api_key_invalid" | "api_key_missing";
488
512
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
489
513
  message: string;
490
514
  };
491
515
  requestId: string;
492
516
  };
493
517
  outputFormat: "json";
494
- status: 400;
518
+ status: 401;
495
519
  input: {
496
520
  param: {
497
521
  orgId: string;
@@ -508,14 +532,38 @@ export declare function management(options?: management.Options): import("hono/h
508
532
  } | {
509
533
  output: {
510
534
  error: {
511
- code: "api_key_invalid" | "api_key_missing";
535
+ code: "api_key_forbidden";
512
536
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
513
537
  message: string;
514
538
  };
515
539
  requestId: string;
516
540
  };
517
541
  outputFormat: "json";
518
- status: 401;
542
+ status: 403;
543
+ input: {
544
+ param: {
545
+ orgId: string;
546
+ };
547
+ } & {
548
+ query?: {
549
+ environment?: string | string[];
550
+ from?: string | string[];
551
+ interval?: string | string[];
552
+ projectId?: string | string[];
553
+ to?: string | string[];
554
+ } | undefined;
555
+ };
556
+ } | {
557
+ output: {
558
+ error: {
559
+ code: "payment_required" | "rate_limit_exceeded";
560
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
561
+ message: string;
562
+ };
563
+ requestId: string;
564
+ };
565
+ outputFormat: "json";
566
+ status: 429;
519
567
  input: {
520
568
  param: {
521
569
  orgId: string;
@@ -556,14 +604,14 @@ export declare function management(options?: management.Options): import("hono/h
556
604
  } | {
557
605
  output: {
558
606
  error: {
559
- code: "forbidden";
607
+ code: "upstream_error";
560
608
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
561
609
  message: string;
562
610
  };
563
611
  requestId: string;
564
612
  };
565
613
  outputFormat: "json";
566
- status: 403;
614
+ status: 502;
567
615
  input: {
568
616
  param: {
569
617
  orgId: string;
@@ -658,14 +706,14 @@ export declare function management(options?: management.Options): import("hono/h
658
706
  $get: {
659
707
  output: {
660
708
  error: {
661
- code: "upstream_error";
709
+ code: "api_key_malformed";
662
710
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
663
711
  message: string;
664
712
  };
665
713
  requestId: string;
666
714
  };
667
715
  outputFormat: "json";
668
- status: 502;
716
+ status: 400;
669
717
  input: {
670
718
  param: {
671
719
  orgId: string;
@@ -674,14 +722,14 @@ export declare function management(options?: management.Options): import("hono/h
674
722
  } | {
675
723
  output: {
676
724
  error: {
677
- code: "api_key_malformed";
725
+ code: "api_key_invalid" | "api_key_missing";
678
726
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
679
727
  message: string;
680
728
  };
681
729
  requestId: string;
682
730
  };
683
731
  outputFormat: "json";
684
- status: 400;
732
+ status: 401;
685
733
  input: {
686
734
  param: {
687
735
  orgId: string;
@@ -690,14 +738,14 @@ export declare function management(options?: management.Options): import("hono/h
690
738
  } | {
691
739
  output: {
692
740
  error: {
693
- code: "api_key_invalid" | "api_key_missing";
741
+ code: "api_key_forbidden";
694
742
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
695
743
  message: string;
696
744
  };
697
745
  requestId: string;
698
746
  };
699
747
  outputFormat: "json";
700
- status: 401;
748
+ status: 403;
701
749
  input: {
702
750
  param: {
703
751
  orgId: string;
@@ -706,14 +754,30 @@ export declare function management(options?: management.Options): import("hono/h
706
754
  } | {
707
755
  output: {
708
756
  error: {
709
- code: "forbidden";
757
+ code: "payment_required" | "rate_limit_exceeded";
710
758
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
711
759
  message: string;
712
760
  };
713
761
  requestId: string;
714
762
  };
715
763
  outputFormat: "json";
716
- status: 403;
764
+ status: 429;
765
+ input: {
766
+ param: {
767
+ orgId: string;
768
+ };
769
+ };
770
+ } | {
771
+ output: {
772
+ error: {
773
+ code: "upstream_error";
774
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
775
+ message: string;
776
+ };
777
+ requestId: string;
778
+ };
779
+ outputFormat: "json";
780
+ status: 502;
717
781
  input: {
718
782
  param: {
719
783
  orgId: string;
@@ -775,14 +839,14 @@ export declare function management(options?: management.Options): import("hono/h
775
839
  $patch: {
776
840
  output: {
777
841
  error: {
778
- code: "upstream_error";
842
+ code: "api_key_malformed";
779
843
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
780
844
  message: string;
781
845
  };
782
846
  requestId: string;
783
847
  };
784
848
  outputFormat: "json";
785
- status: 502;
849
+ status: 400;
786
850
  input: {
787
851
  param: {
788
852
  orgId: string;
@@ -796,14 +860,14 @@ export declare function management(options?: management.Options): import("hono/h
796
860
  } | {
797
861
  output: {
798
862
  error: {
799
- code: "api_key_malformed";
863
+ code: "api_key_invalid" | "api_key_missing";
800
864
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
801
865
  message: string;
802
866
  };
803
867
  requestId: string;
804
868
  };
805
869
  outputFormat: "json";
806
- status: 400;
870
+ status: 401;
807
871
  input: {
808
872
  param: {
809
873
  orgId: string;
@@ -817,14 +881,14 @@ export declare function management(options?: management.Options): import("hono/h
817
881
  } | {
818
882
  output: {
819
883
  error: {
820
- code: "api_key_invalid" | "api_key_missing";
884
+ code: "api_key_forbidden";
821
885
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
822
886
  message: string;
823
887
  };
824
888
  requestId: string;
825
889
  };
826
890
  outputFormat: "json";
827
- status: 401;
891
+ status: 403;
828
892
  input: {
829
893
  param: {
830
894
  orgId: string;
@@ -838,14 +902,35 @@ export declare function management(options?: management.Options): import("hono/h
838
902
  } | {
839
903
  output: {
840
904
  error: {
841
- code: "forbidden";
905
+ code: "payment_required" | "rate_limit_exceeded";
842
906
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
843
907
  message: string;
844
908
  };
845
909
  requestId: string;
846
910
  };
847
911
  outputFormat: "json";
848
- status: 403;
912
+ status: 429;
913
+ input: {
914
+ param: {
915
+ orgId: string;
916
+ userId: string;
917
+ };
918
+ } & {
919
+ json: {
920
+ role: "admin" | "member" | "owner";
921
+ };
922
+ };
923
+ } | {
924
+ output: {
925
+ error: {
926
+ code: "upstream_error";
927
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
928
+ message: string;
929
+ };
930
+ requestId: string;
931
+ };
932
+ outputFormat: "json";
933
+ status: 502;
849
934
  input: {
850
935
  param: {
851
936
  orgId: string;
@@ -988,14 +1073,14 @@ export declare function management(options?: management.Options): import("hono/h
988
1073
  $delete: {
989
1074
  output: {
990
1075
  error: {
991
- code: "upstream_error";
1076
+ code: "api_key_malformed";
992
1077
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
993
1078
  message: string;
994
1079
  };
995
1080
  requestId: string;
996
1081
  };
997
1082
  outputFormat: "json";
998
- status: 502;
1083
+ status: 400;
999
1084
  input: {
1000
1085
  param: {
1001
1086
  orgId: string;
@@ -1005,14 +1090,14 @@ export declare function management(options?: management.Options): import("hono/h
1005
1090
  } | {
1006
1091
  output: {
1007
1092
  error: {
1008
- code: "api_key_malformed";
1093
+ code: "api_key_invalid" | "api_key_missing";
1009
1094
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1010
1095
  message: string;
1011
1096
  };
1012
1097
  requestId: string;
1013
1098
  };
1014
1099
  outputFormat: "json";
1015
- status: 400;
1100
+ status: 401;
1016
1101
  input: {
1017
1102
  param: {
1018
1103
  orgId: string;
@@ -1022,14 +1107,14 @@ export declare function management(options?: management.Options): import("hono/h
1022
1107
  } | {
1023
1108
  output: {
1024
1109
  error: {
1025
- code: "api_key_invalid" | "api_key_missing";
1110
+ code: "api_key_forbidden";
1026
1111
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1027
1112
  message: string;
1028
1113
  };
1029
1114
  requestId: string;
1030
1115
  };
1031
1116
  outputFormat: "json";
1032
- status: 401;
1117
+ status: 403;
1033
1118
  input: {
1034
1119
  param: {
1035
1120
  orgId: string;
@@ -1039,14 +1124,31 @@ export declare function management(options?: management.Options): import("hono/h
1039
1124
  } | {
1040
1125
  output: {
1041
1126
  error: {
1042
- code: "forbidden";
1127
+ code: "payment_required" | "rate_limit_exceeded";
1043
1128
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1044
1129
  message: string;
1045
1130
  };
1046
1131
  requestId: string;
1047
1132
  };
1048
1133
  outputFormat: "json";
1049
- status: 403;
1134
+ status: 429;
1135
+ input: {
1136
+ param: {
1137
+ orgId: string;
1138
+ userId: string;
1139
+ };
1140
+ };
1141
+ } | {
1142
+ output: {
1143
+ error: {
1144
+ code: "upstream_error";
1145
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1146
+ message: string;
1147
+ };
1148
+ requestId: string;
1149
+ };
1150
+ outputFormat: "json";
1151
+ status: 502;
1050
1152
  input: {
1051
1153
  param: {
1052
1154
  orgId: string;
@@ -1087,6 +1189,23 @@ export declare function management(options?: management.Options): import("hono/h
1087
1189
  userId: string;
1088
1190
  };
1089
1191
  };
1192
+ } | {
1193
+ output: {
1194
+ error: {
1195
+ code: "forbidden";
1196
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1197
+ message: string;
1198
+ };
1199
+ requestId: string;
1200
+ };
1201
+ outputFormat: "json";
1202
+ status: 403;
1203
+ input: {
1204
+ param: {
1205
+ orgId: string;
1206
+ userId: string;
1207
+ };
1208
+ };
1090
1209
  } | {
1091
1210
  output: {
1092
1211
  error: {
@@ -1140,14 +1259,14 @@ export declare function management(options?: management.Options): import("hono/h
1140
1259
  $post: {
1141
1260
  output: {
1142
1261
  error: {
1143
- code: "upstream_error";
1262
+ code: "api_key_malformed";
1144
1263
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1145
1264
  message: string;
1146
1265
  };
1147
1266
  requestId: string;
1148
1267
  };
1149
1268
  outputFormat: "json";
1150
- status: 502;
1269
+ status: 400;
1151
1270
  input: {
1152
1271
  param: {
1153
1272
  orgId: string;
@@ -1157,20 +1276,20 @@ export declare function management(options?: management.Options): import("hono/h
1157
1276
  json: {
1158
1277
  environment?: "production" | "sandbox" | undefined;
1159
1278
  name?: string | undefined;
1160
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1279
+ scopes?: string[] | undefined;
1161
1280
  };
1162
1281
  };
1163
1282
  } | {
1164
1283
  output: {
1165
1284
  error: {
1166
- code: "api_key_malformed";
1285
+ code: "api_key_invalid" | "api_key_missing";
1167
1286
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1168
1287
  message: string;
1169
1288
  };
1170
1289
  requestId: string;
1171
1290
  };
1172
1291
  outputFormat: "json";
1173
- status: 400;
1292
+ status: 401;
1174
1293
  input: {
1175
1294
  param: {
1176
1295
  orgId: string;
@@ -1180,20 +1299,20 @@ export declare function management(options?: management.Options): import("hono/h
1180
1299
  json: {
1181
1300
  environment?: "production" | "sandbox" | undefined;
1182
1301
  name?: string | undefined;
1183
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1302
+ scopes?: string[] | undefined;
1184
1303
  };
1185
1304
  };
1186
1305
  } | {
1187
1306
  output: {
1188
1307
  error: {
1189
- code: "api_key_invalid" | "api_key_missing";
1308
+ code: "upstream_error";
1190
1309
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1191
1310
  message: string;
1192
1311
  };
1193
1312
  requestId: string;
1194
1313
  };
1195
1314
  outputFormat: "json";
1196
- status: 401;
1315
+ status: 502;
1197
1316
  input: {
1198
1317
  param: {
1199
1318
  orgId: string;
@@ -1203,20 +1322,20 @@ export declare function management(options?: management.Options): import("hono/h
1203
1322
  json: {
1204
1323
  environment?: "production" | "sandbox" | undefined;
1205
1324
  name?: string | undefined;
1206
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1325
+ scopes?: string[] | undefined;
1207
1326
  };
1208
1327
  };
1209
1328
  } | {
1210
1329
  output: {
1211
1330
  error: {
1212
- code: "forbidden";
1331
+ code: "param_invalid";
1213
1332
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1214
1333
  message: string;
1215
1334
  };
1216
1335
  requestId: string;
1217
1336
  };
1218
1337
  outputFormat: "json";
1219
- status: 403;
1338
+ status: 400;
1220
1339
  input: {
1221
1340
  param: {
1222
1341
  orgId: string;
@@ -1226,13 +1345,13 @@ export declare function management(options?: management.Options): import("hono/h
1226
1345
  json: {
1227
1346
  environment?: "production" | "sandbox" | undefined;
1228
1347
  name?: string | undefined;
1229
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1348
+ scopes?: string[] | undefined;
1230
1349
  };
1231
1350
  };
1232
1351
  } | {
1233
1352
  output: {
1234
1353
  error: {
1235
- code: "param_invalid";
1354
+ code: "body_invalid";
1236
1355
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1237
1356
  message: string;
1238
1357
  };
@@ -1249,20 +1368,20 @@ export declare function management(options?: management.Options): import("hono/h
1249
1368
  json: {
1250
1369
  environment?: "production" | "sandbox" | undefined;
1251
1370
  name?: string | undefined;
1252
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1371
+ scopes?: string[] | undefined;
1253
1372
  };
1254
1373
  };
1255
1374
  } | {
1256
1375
  output: {
1257
1376
  error: {
1258
- code: "body_invalid";
1377
+ code: "forbidden";
1259
1378
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1260
1379
  message: string;
1261
1380
  };
1262
1381
  requestId: string;
1263
1382
  };
1264
1383
  outputFormat: "json";
1265
- status: 400;
1384
+ status: 403;
1266
1385
  input: {
1267
1386
  param: {
1268
1387
  orgId: string;
@@ -1272,7 +1391,7 @@ export declare function management(options?: management.Options): import("hono/h
1272
1391
  json: {
1273
1392
  environment?: "production" | "sandbox" | undefined;
1274
1393
  name?: string | undefined;
1275
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1394
+ scopes?: string[] | undefined;
1276
1395
  };
1277
1396
  };
1278
1397
  } | {
@@ -1295,7 +1414,7 @@ export declare function management(options?: management.Options): import("hono/h
1295
1414
  json: {
1296
1415
  environment?: "production" | "sandbox" | undefined;
1297
1416
  name?: string | undefined;
1298
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1417
+ scopes?: string[] | undefined;
1299
1418
  };
1300
1419
  };
1301
1420
  } | {
@@ -1318,7 +1437,7 @@ export declare function management(options?: management.Options): import("hono/h
1318
1437
  json: {
1319
1438
  environment?: "production" | "sandbox" | undefined;
1320
1439
  name?: string | undefined;
1321
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1440
+ scopes?: string[] | undefined;
1322
1441
  };
1323
1442
  };
1324
1443
  } | {
@@ -1341,7 +1460,7 @@ export declare function management(options?: management.Options): import("hono/h
1341
1460
  json: {
1342
1461
  environment?: "production" | "sandbox" | undefined;
1343
1462
  name?: string | undefined;
1344
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1463
+ scopes?: string[] | undefined;
1345
1464
  };
1346
1465
  };
1347
1466
  } | {
@@ -1354,7 +1473,7 @@ export declare function management(options?: management.Options): import("hono/h
1354
1473
  name?: string | undefined;
1355
1474
  orgId: string;
1356
1475
  projectId?: string | undefined;
1357
- scopes: ("*" | "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[];
1476
+ scopes: string[];
1358
1477
  tokenLast4: string;
1359
1478
  token: string;
1360
1479
  };
@@ -1369,7 +1488,7 @@ export declare function management(options?: management.Options): import("hono/h
1369
1488
  json: {
1370
1489
  environment?: "production" | "sandbox" | undefined;
1371
1490
  name?: string | undefined;
1372
- scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
1491
+ scopes?: string[] | undefined;
1373
1492
  };
1374
1493
  };
1375
1494
  };
@@ -1379,14 +1498,14 @@ export declare function management(options?: management.Options): import("hono/h
1379
1498
  $get: {
1380
1499
  output: {
1381
1500
  error: {
1382
- code: "upstream_error";
1501
+ code: "api_key_malformed";
1383
1502
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1384
1503
  message: string;
1385
1504
  };
1386
1505
  requestId: string;
1387
1506
  };
1388
1507
  outputFormat: "json";
1389
- status: 502;
1508
+ status: 400;
1390
1509
  input: {
1391
1510
  param: {
1392
1511
  orgId: string;
@@ -1400,14 +1519,14 @@ export declare function management(options?: management.Options): import("hono/h
1400
1519
  } | {
1401
1520
  output: {
1402
1521
  error: {
1403
- code: "api_key_malformed";
1522
+ code: "api_key_invalid" | "api_key_missing";
1404
1523
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1405
1524
  message: string;
1406
1525
  };
1407
1526
  requestId: string;
1408
1527
  };
1409
1528
  outputFormat: "json";
1410
- status: 400;
1529
+ status: 401;
1411
1530
  input: {
1412
1531
  param: {
1413
1532
  orgId: string;
@@ -1421,14 +1540,14 @@ export declare function management(options?: management.Options): import("hono/h
1421
1540
  } | {
1422
1541
  output: {
1423
1542
  error: {
1424
- code: "api_key_invalid" | "api_key_missing";
1543
+ code: "api_key_forbidden";
1425
1544
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1426
1545
  message: string;
1427
1546
  };
1428
1547
  requestId: string;
1429
1548
  };
1430
1549
  outputFormat: "json";
1431
- status: 401;
1550
+ status: 403;
1432
1551
  input: {
1433
1552
  param: {
1434
1553
  orgId: string;
@@ -1442,14 +1561,14 @@ export declare function management(options?: management.Options): import("hono/h
1442
1561
  } | {
1443
1562
  output: {
1444
1563
  error: {
1445
- code: "query_invalid";
1564
+ code: "payment_required" | "rate_limit_exceeded";
1446
1565
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1447
1566
  message: string;
1448
1567
  };
1449
1568
  requestId: string;
1450
1569
  };
1451
1570
  outputFormat: "json";
1452
- status: 400;
1571
+ status: 429;
1453
1572
  input: {
1454
1573
  param: {
1455
1574
  orgId: string;
@@ -1463,14 +1582,14 @@ export declare function management(options?: management.Options): import("hono/h
1463
1582
  } | {
1464
1583
  output: {
1465
1584
  error: {
1466
- code: "forbidden";
1585
+ code: "query_invalid";
1467
1586
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1468
1587
  message: string;
1469
1588
  };
1470
1589
  requestId: string;
1471
1590
  };
1472
1591
  outputFormat: "json";
1473
- status: 403;
1592
+ status: 400;
1474
1593
  input: {
1475
1594
  param: {
1476
1595
  orgId: string;
@@ -1484,14 +1603,35 @@ export declare function management(options?: management.Options): import("hono/h
1484
1603
  } | {
1485
1604
  output: {
1486
1605
  error: {
1487
- code: "param_invalid";
1606
+ code: "upstream_error";
1488
1607
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1489
1608
  message: string;
1490
1609
  };
1491
1610
  requestId: string;
1492
1611
  };
1493
1612
  outputFormat: "json";
1494
- status: 400;
1613
+ status: 502;
1614
+ input: {
1615
+ param: {
1616
+ orgId: string;
1617
+ projectId: string;
1618
+ };
1619
+ } & {
1620
+ query?: {
1621
+ environment?: string | string[];
1622
+ } | undefined;
1623
+ };
1624
+ } | {
1625
+ output: {
1626
+ error: {
1627
+ code: "param_invalid";
1628
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1629
+ message: string;
1630
+ };
1631
+ requestId: string;
1632
+ };
1633
+ outputFormat: "json";
1634
+ status: 400;
1495
1635
  input: {
1496
1636
  param: {
1497
1637
  orgId: string;
@@ -1555,7 +1695,7 @@ export declare function management(options?: management.Options): import("hono/h
1555
1695
  name?: string | undefined;
1556
1696
  orgId: string;
1557
1697
  projectId?: string | undefined;
1558
- scopes: ("*" | "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[];
1698
+ scopes: string[];
1559
1699
  tokenLast4: string;
1560
1700
  }[];
1561
1701
  };
@@ -1578,14 +1718,14 @@ export declare function management(options?: management.Options): import("hono/h
1578
1718
  $get: {
1579
1719
  output: {
1580
1720
  error: {
1581
- code: "upstream_error";
1721
+ code: "api_key_malformed";
1582
1722
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1583
1723
  message: string;
1584
1724
  };
1585
1725
  requestId: string;
1586
1726
  };
1587
1727
  outputFormat: "json";
1588
- status: 502;
1728
+ status: 400;
1589
1729
  input: {
1590
1730
  param: {
1591
1731
  orgId: string;
@@ -1598,14 +1738,14 @@ export declare function management(options?: management.Options): import("hono/h
1598
1738
  } | {
1599
1739
  output: {
1600
1740
  error: {
1601
- code: "api_key_malformed";
1741
+ code: "api_key_invalid" | "api_key_missing";
1602
1742
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1603
1743
  message: string;
1604
1744
  };
1605
1745
  requestId: string;
1606
1746
  };
1607
1747
  outputFormat: "json";
1608
- status: 400;
1748
+ status: 401;
1609
1749
  input: {
1610
1750
  param: {
1611
1751
  orgId: string;
@@ -1618,14 +1758,34 @@ export declare function management(options?: management.Options): import("hono/h
1618
1758
  } | {
1619
1759
  output: {
1620
1760
  error: {
1621
- code: "api_key_invalid" | "api_key_missing";
1761
+ code: "api_key_forbidden";
1622
1762
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1623
1763
  message: string;
1624
1764
  };
1625
1765
  requestId: string;
1626
1766
  };
1627
1767
  outputFormat: "json";
1628
- status: 401;
1768
+ status: 403;
1769
+ input: {
1770
+ param: {
1771
+ orgId: string;
1772
+ };
1773
+ } & {
1774
+ query?: {
1775
+ environment?: string | string[];
1776
+ } | undefined;
1777
+ };
1778
+ } | {
1779
+ output: {
1780
+ error: {
1781
+ code: "payment_required" | "rate_limit_exceeded";
1782
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1783
+ message: string;
1784
+ };
1785
+ requestId: string;
1786
+ };
1787
+ outputFormat: "json";
1788
+ status: 429;
1629
1789
  input: {
1630
1790
  param: {
1631
1791
  orgId: string;
@@ -1658,14 +1818,14 @@ export declare function management(options?: management.Options): import("hono/h
1658
1818
  } | {
1659
1819
  output: {
1660
1820
  error: {
1661
- code: "forbidden";
1821
+ code: "upstream_error";
1662
1822
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1663
1823
  message: string;
1664
1824
  };
1665
1825
  requestId: string;
1666
1826
  };
1667
1827
  outputFormat: "json";
1668
- status: 403;
1828
+ status: 502;
1669
1829
  input: {
1670
1830
  param: {
1671
1831
  orgId: string;
@@ -1746,7 +1906,7 @@ export declare function management(options?: management.Options): import("hono/h
1746
1906
  name?: string | undefined;
1747
1907
  orgId: string;
1748
1908
  projectId?: string | undefined;
1749
- scopes: ("*" | "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[];
1909
+ scopes: string[];
1750
1910
  tokenLast4: string;
1751
1911
  }[];
1752
1912
  };
@@ -1768,14 +1928,14 @@ export declare function management(options?: management.Options): import("hono/h
1768
1928
  $delete: {
1769
1929
  output: {
1770
1930
  error: {
1771
- code: "upstream_error";
1931
+ code: "api_key_malformed";
1772
1932
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1773
1933
  message: string;
1774
1934
  };
1775
1935
  requestId: string;
1776
1936
  };
1777
1937
  outputFormat: "json";
1778
- status: 502;
1938
+ status: 400;
1779
1939
  input: {
1780
1940
  param: {
1781
1941
  keyId: string;
@@ -1786,14 +1946,14 @@ export declare function management(options?: management.Options): import("hono/h
1786
1946
  } | {
1787
1947
  output: {
1788
1948
  error: {
1789
- code: "api_key_malformed";
1949
+ code: "api_key_invalid" | "api_key_missing";
1790
1950
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1791
1951
  message: string;
1792
1952
  };
1793
1953
  requestId: string;
1794
1954
  };
1795
1955
  outputFormat: "json";
1796
- status: 400;
1956
+ status: 401;
1797
1957
  input: {
1798
1958
  param: {
1799
1959
  keyId: string;
@@ -1804,14 +1964,14 @@ export declare function management(options?: management.Options): import("hono/h
1804
1964
  } | {
1805
1965
  output: {
1806
1966
  error: {
1807
- code: "api_key_invalid" | "api_key_missing";
1967
+ code: "api_key_forbidden";
1808
1968
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1809
1969
  message: string;
1810
1970
  };
1811
1971
  requestId: string;
1812
1972
  };
1813
1973
  outputFormat: "json";
1814
- status: 401;
1974
+ status: 403;
1815
1975
  input: {
1816
1976
  param: {
1817
1977
  keyId: string;
@@ -1822,14 +1982,32 @@ export declare function management(options?: management.Options): import("hono/h
1822
1982
  } | {
1823
1983
  output: {
1824
1984
  error: {
1825
- code: "forbidden";
1985
+ code: "payment_required" | "rate_limit_exceeded";
1826
1986
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1827
1987
  message: string;
1828
1988
  };
1829
1989
  requestId: string;
1830
1990
  };
1831
1991
  outputFormat: "json";
1832
- status: 403;
1992
+ status: 429;
1993
+ input: {
1994
+ param: {
1995
+ keyId: string;
1996
+ orgId: string;
1997
+ projectId: string;
1998
+ };
1999
+ };
2000
+ } | {
2001
+ output: {
2002
+ error: {
2003
+ code: "upstream_error";
2004
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2005
+ message: string;
2006
+ };
2007
+ requestId: string;
2008
+ };
2009
+ outputFormat: "json";
2010
+ status: 502;
1833
2011
  input: {
1834
2012
  param: {
1835
2013
  keyId: string;
@@ -1929,50 +2107,62 @@ export declare function management(options?: management.Options): import("hono/h
1929
2107
  $get: {
1930
2108
  output: {
1931
2109
  error: {
1932
- code: "upstream_error";
2110
+ code: "api_key_malformed";
1933
2111
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1934
2112
  message: string;
1935
2113
  };
1936
2114
  requestId: string;
1937
2115
  };
1938
2116
  outputFormat: "json";
1939
- status: 502;
2117
+ status: 400;
1940
2118
  input: {};
1941
2119
  } | {
1942
2120
  output: {
1943
2121
  error: {
1944
- code: "api_key_malformed";
2122
+ code: "api_key_invalid" | "api_key_missing";
1945
2123
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1946
2124
  message: string;
1947
2125
  };
1948
2126
  requestId: string;
1949
2127
  };
1950
2128
  outputFormat: "json";
1951
- status: 400;
2129
+ status: 401;
1952
2130
  input: {};
1953
2131
  } | {
1954
2132
  output: {
1955
2133
  error: {
1956
- code: "api_key_invalid" | "api_key_missing";
2134
+ code: "api_key_forbidden";
1957
2135
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1958
2136
  message: string;
1959
2137
  };
1960
2138
  requestId: string;
1961
2139
  };
1962
2140
  outputFormat: "json";
1963
- status: 401;
2141
+ status: 403;
1964
2142
  input: {};
1965
2143
  } | {
1966
2144
  output: {
1967
2145
  error: {
1968
- code: "forbidden";
2146
+ code: "payment_required" | "rate_limit_exceeded";
1969
2147
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1970
2148
  message: string;
1971
2149
  };
1972
2150
  requestId: string;
1973
2151
  };
1974
2152
  outputFormat: "json";
1975
- status: 403;
2153
+ status: 429;
2154
+ input: {};
2155
+ } | {
2156
+ output: {
2157
+ error: {
2158
+ code: "upstream_error";
2159
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2160
+ message: string;
2161
+ };
2162
+ requestId: string;
2163
+ };
2164
+ outputFormat: "json";
2165
+ status: 502;
1976
2166
  input: {};
1977
2167
  } | {
1978
2168
  output: {
@@ -1994,14 +2184,14 @@ export declare function management(options?: management.Options): import("hono/h
1994
2184
  $post: {
1995
2185
  output: {
1996
2186
  error: {
1997
- code: "upstream_error";
2187
+ code: "api_key_malformed";
1998
2188
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1999
2189
  message: string;
2000
2190
  };
2001
2191
  requestId: string;
2002
2192
  };
2003
2193
  outputFormat: "json";
2004
- status: 502;
2194
+ status: 400;
2005
2195
  input: {
2006
2196
  json: {
2007
2197
  name: string;
@@ -2010,14 +2200,14 @@ export declare function management(options?: management.Options): import("hono/h
2010
2200
  } | {
2011
2201
  output: {
2012
2202
  error: {
2013
- code: "api_key_malformed";
2203
+ code: "api_key_invalid" | "api_key_missing";
2014
2204
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2015
2205
  message: string;
2016
2206
  };
2017
2207
  requestId: string;
2018
2208
  };
2019
2209
  outputFormat: "json";
2020
- status: 400;
2210
+ status: 401;
2021
2211
  input: {
2022
2212
  json: {
2023
2213
  name: string;
@@ -2026,14 +2216,14 @@ export declare function management(options?: management.Options): import("hono/h
2026
2216
  } | {
2027
2217
  output: {
2028
2218
  error: {
2029
- code: "api_key_invalid" | "api_key_missing";
2219
+ code: "upstream_error";
2030
2220
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2031
2221
  message: string;
2032
2222
  };
2033
2223
  requestId: string;
2034
2224
  };
2035
2225
  outputFormat: "json";
2036
- status: 401;
2226
+ status: 502;
2037
2227
  input: {
2038
2228
  json: {
2039
2229
  name: string;
@@ -2042,14 +2232,14 @@ export declare function management(options?: management.Options): import("hono/h
2042
2232
  } | {
2043
2233
  output: {
2044
2234
  error: {
2045
- code: "forbidden";
2235
+ code: "body_invalid";
2046
2236
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2047
2237
  message: string;
2048
2238
  };
2049
2239
  requestId: string;
2050
2240
  };
2051
2241
  outputFormat: "json";
2052
- status: 403;
2242
+ status: 400;
2053
2243
  input: {
2054
2244
  json: {
2055
2245
  name: string;
@@ -2058,14 +2248,14 @@ export declare function management(options?: management.Options): import("hono/h
2058
2248
  } | {
2059
2249
  output: {
2060
2250
  error: {
2061
- code: "body_invalid";
2251
+ code: "forbidden";
2062
2252
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2063
2253
  message: string;
2064
2254
  };
2065
2255
  requestId: string;
2066
2256
  };
2067
2257
  outputFormat: "json";
2068
- status: 400;
2258
+ status: 403;
2069
2259
  input: {
2070
2260
  json: {
2071
2261
  name: string;
@@ -2125,7 +2315,7 @@ export declare function management(options?: management.Options): import("hono/h
2125
2315
  } | {
2126
2316
  output: {
2127
2317
  error: {
2128
- code: "forbidden";
2318
+ code: "api_key_forbidden";
2129
2319
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2130
2320
  message: string;
2131
2321
  };
@@ -2138,6 +2328,22 @@ export declare function management(options?: management.Options): import("hono/h
2138
2328
  orgId: string;
2139
2329
  };
2140
2330
  };
2331
+ } | {
2332
+ output: {
2333
+ error: {
2334
+ code: "payment_required" | "rate_limit_exceeded";
2335
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2336
+ message: string;
2337
+ };
2338
+ requestId: string;
2339
+ };
2340
+ outputFormat: "json";
2341
+ status: 429;
2342
+ input: {
2343
+ param: {
2344
+ orgId: string;
2345
+ };
2346
+ };
2141
2347
  } | {
2142
2348
  output: {
2143
2349
  error: {
@@ -2192,14 +2398,14 @@ export declare function management(options?: management.Options): import("hono/h
2192
2398
  $patch: {
2193
2399
  output: {
2194
2400
  error: {
2195
- code: "upstream_error";
2401
+ code: "api_key_malformed";
2196
2402
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2197
2403
  message: string;
2198
2404
  };
2199
2405
  requestId: string;
2200
2406
  };
2201
2407
  outputFormat: "json";
2202
- status: 502;
2408
+ status: 400;
2203
2409
  input: {
2204
2410
  param: {
2205
2411
  orgId: string;
@@ -2212,14 +2418,14 @@ export declare function management(options?: management.Options): import("hono/h
2212
2418
  } | {
2213
2419
  output: {
2214
2420
  error: {
2215
- code: "api_key_malformed";
2421
+ code: "api_key_invalid" | "api_key_missing";
2216
2422
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2217
2423
  message: string;
2218
2424
  };
2219
2425
  requestId: string;
2220
2426
  };
2221
2427
  outputFormat: "json";
2222
- status: 400;
2428
+ status: 401;
2223
2429
  input: {
2224
2430
  param: {
2225
2431
  orgId: string;
@@ -2232,14 +2438,14 @@ export declare function management(options?: management.Options): import("hono/h
2232
2438
  } | {
2233
2439
  output: {
2234
2440
  error: {
2235
- code: "api_key_invalid" | "api_key_missing";
2441
+ code: "api_key_forbidden";
2236
2442
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2237
2443
  message: string;
2238
2444
  };
2239
2445
  requestId: string;
2240
2446
  };
2241
2447
  outputFormat: "json";
2242
- status: 401;
2448
+ status: 403;
2243
2449
  input: {
2244
2450
  param: {
2245
2451
  orgId: string;
@@ -2252,14 +2458,34 @@ export declare function management(options?: management.Options): import("hono/h
2252
2458
  } | {
2253
2459
  output: {
2254
2460
  error: {
2255
- code: "forbidden";
2461
+ code: "payment_required" | "rate_limit_exceeded";
2256
2462
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2257
2463
  message: string;
2258
2464
  };
2259
2465
  requestId: string;
2260
2466
  };
2261
2467
  outputFormat: "json";
2262
- status: 403;
2468
+ status: 429;
2469
+ input: {
2470
+ param: {
2471
+ orgId: string;
2472
+ };
2473
+ } & {
2474
+ json: {
2475
+ name: string;
2476
+ };
2477
+ };
2478
+ } | {
2479
+ output: {
2480
+ error: {
2481
+ code: "upstream_error";
2482
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2483
+ message: string;
2484
+ };
2485
+ requestId: string;
2486
+ };
2487
+ outputFormat: "json";
2488
+ status: 502;
2263
2489
  input: {
2264
2490
  param: {
2265
2491
  orgId: string;
@@ -2355,14 +2581,14 @@ export declare function management(options?: management.Options): import("hono/h
2355
2581
  $delete: {
2356
2582
  output: {
2357
2583
  error: {
2358
- code: "upstream_error";
2584
+ code: "api_key_malformed";
2359
2585
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2360
2586
  message: string;
2361
2587
  };
2362
2588
  requestId: string;
2363
2589
  };
2364
2590
  outputFormat: "json";
2365
- status: 502;
2591
+ status: 400;
2366
2592
  input: {
2367
2593
  param: {
2368
2594
  orgId: string;
@@ -2371,14 +2597,14 @@ export declare function management(options?: management.Options): import("hono/h
2371
2597
  } | {
2372
2598
  output: {
2373
2599
  error: {
2374
- code: "api_key_malformed";
2600
+ code: "api_key_invalid" | "api_key_missing";
2375
2601
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2376
2602
  message: string;
2377
2603
  };
2378
2604
  requestId: string;
2379
2605
  };
2380
2606
  outputFormat: "json";
2381
- status: 400;
2607
+ status: 401;
2382
2608
  input: {
2383
2609
  param: {
2384
2610
  orgId: string;
@@ -2387,14 +2613,14 @@ export declare function management(options?: management.Options): import("hono/h
2387
2613
  } | {
2388
2614
  output: {
2389
2615
  error: {
2390
- code: "api_key_invalid" | "api_key_missing";
2616
+ code: "api_key_forbidden";
2391
2617
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2392
2618
  message: string;
2393
2619
  };
2394
2620
  requestId: string;
2395
2621
  };
2396
2622
  outputFormat: "json";
2397
- status: 401;
2623
+ status: 403;
2398
2624
  input: {
2399
2625
  param: {
2400
2626
  orgId: string;
@@ -2403,14 +2629,30 @@ export declare function management(options?: management.Options): import("hono/h
2403
2629
  } | {
2404
2630
  output: {
2405
2631
  error: {
2406
- code: "forbidden";
2632
+ code: "payment_required" | "rate_limit_exceeded";
2407
2633
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2408
2634
  message: string;
2409
2635
  };
2410
2636
  requestId: string;
2411
2637
  };
2412
2638
  outputFormat: "json";
2413
- status: 403;
2639
+ status: 429;
2640
+ input: {
2641
+ param: {
2642
+ orgId: string;
2643
+ };
2644
+ };
2645
+ } | {
2646
+ output: {
2647
+ error: {
2648
+ code: "upstream_error";
2649
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2650
+ message: string;
2651
+ };
2652
+ requestId: string;
2653
+ };
2654
+ outputFormat: "json";
2655
+ status: 502;
2414
2656
  input: {
2415
2657
  param: {
2416
2658
  orgId: string;
@@ -2466,14 +2708,14 @@ export declare function management(options?: management.Options): import("hono/h
2466
2708
  $get: {
2467
2709
  output: {
2468
2710
  error: {
2469
- code: "upstream_error";
2711
+ code: "api_key_malformed";
2470
2712
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2471
2713
  message: string;
2472
2714
  };
2473
2715
  requestId: string;
2474
2716
  };
2475
2717
  outputFormat: "json";
2476
- status: 502;
2718
+ status: 400;
2477
2719
  input: {
2478
2720
  param: {
2479
2721
  orgId: string;
@@ -2482,14 +2724,14 @@ export declare function management(options?: management.Options): import("hono/h
2482
2724
  } | {
2483
2725
  output: {
2484
2726
  error: {
2485
- code: "api_key_malformed";
2727
+ code: "api_key_invalid" | "api_key_missing";
2486
2728
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2487
2729
  message: string;
2488
2730
  };
2489
2731
  requestId: string;
2490
2732
  };
2491
2733
  outputFormat: "json";
2492
- status: 400;
2734
+ status: 401;
2493
2735
  input: {
2494
2736
  param: {
2495
2737
  orgId: string;
@@ -2498,14 +2740,14 @@ export declare function management(options?: management.Options): import("hono/h
2498
2740
  } | {
2499
2741
  output: {
2500
2742
  error: {
2501
- code: "api_key_invalid" | "api_key_missing";
2743
+ code: "api_key_forbidden";
2502
2744
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2503
2745
  message: string;
2504
2746
  };
2505
2747
  requestId: string;
2506
2748
  };
2507
2749
  outputFormat: "json";
2508
- status: 401;
2750
+ status: 403;
2509
2751
  input: {
2510
2752
  param: {
2511
2753
  orgId: string;
@@ -2514,14 +2756,30 @@ export declare function management(options?: management.Options): import("hono/h
2514
2756
  } | {
2515
2757
  output: {
2516
2758
  error: {
2517
- code: "forbidden";
2759
+ code: "payment_required" | "rate_limit_exceeded";
2518
2760
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2519
2761
  message: string;
2520
2762
  };
2521
2763
  requestId: string;
2522
2764
  };
2523
2765
  outputFormat: "json";
2524
- status: 403;
2766
+ status: 429;
2767
+ input: {
2768
+ param: {
2769
+ orgId: string;
2770
+ };
2771
+ };
2772
+ } | {
2773
+ output: {
2774
+ error: {
2775
+ code: "upstream_error";
2776
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2777
+ message: string;
2778
+ };
2779
+ requestId: string;
2780
+ };
2781
+ outputFormat: "json";
2782
+ status: 502;
2525
2783
  input: {
2526
2784
  param: {
2527
2785
  orgId: string;
@@ -2584,14 +2842,34 @@ export declare function management(options?: management.Options): import("hono/h
2584
2842
  $post: {
2585
2843
  output: {
2586
2844
  error: {
2587
- code: "upstream_error";
2845
+ code: "api_key_malformed";
2846
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2847
+ message: string;
2848
+ };
2849
+ requestId: string;
2850
+ };
2851
+ outputFormat: "json";
2852
+ status: 400;
2853
+ input: {
2854
+ param: {
2855
+ orgId: string;
2856
+ };
2857
+ } & {
2858
+ json: {
2859
+ name: string;
2860
+ };
2861
+ };
2862
+ } | {
2863
+ output: {
2864
+ error: {
2865
+ code: "api_key_invalid" | "api_key_missing";
2588
2866
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2589
2867
  message: string;
2590
2868
  };
2591
2869
  requestId: string;
2592
2870
  };
2593
2871
  outputFormat: "json";
2594
- status: 502;
2872
+ status: 401;
2595
2873
  input: {
2596
2874
  param: {
2597
2875
  orgId: string;
@@ -2604,14 +2882,14 @@ export declare function management(options?: management.Options): import("hono/h
2604
2882
  } | {
2605
2883
  output: {
2606
2884
  error: {
2607
- code: "api_key_malformed";
2885
+ code: "api_key_forbidden";
2608
2886
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2609
2887
  message: string;
2610
2888
  };
2611
2889
  requestId: string;
2612
2890
  };
2613
2891
  outputFormat: "json";
2614
- status: 400;
2892
+ status: 403;
2615
2893
  input: {
2616
2894
  param: {
2617
2895
  orgId: string;
@@ -2624,14 +2902,14 @@ export declare function management(options?: management.Options): import("hono/h
2624
2902
  } | {
2625
2903
  output: {
2626
2904
  error: {
2627
- code: "api_key_invalid" | "api_key_missing";
2905
+ code: "payment_required" | "rate_limit_exceeded";
2628
2906
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2629
2907
  message: string;
2630
2908
  };
2631
2909
  requestId: string;
2632
2910
  };
2633
2911
  outputFormat: "json";
2634
- status: 401;
2912
+ status: 429;
2635
2913
  input: {
2636
2914
  param: {
2637
2915
  orgId: string;
@@ -2644,14 +2922,14 @@ export declare function management(options?: management.Options): import("hono/h
2644
2922
  } | {
2645
2923
  output: {
2646
2924
  error: {
2647
- code: "forbidden";
2925
+ code: "upstream_error";
2648
2926
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2649
2927
  message: string;
2650
2928
  };
2651
2929
  requestId: string;
2652
2930
  };
2653
2931
  outputFormat: "json";
2654
- status: 403;
2932
+ status: 502;
2655
2933
  input: {
2656
2934
  param: {
2657
2935
  orgId: string;
@@ -2782,7 +3060,7 @@ export declare function management(options?: management.Options): import("hono/h
2782
3060
  } | {
2783
3061
  output: {
2784
3062
  error: {
2785
- code: "forbidden";
3063
+ code: "api_key_forbidden";
2786
3064
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2787
3065
  message: string;
2788
3066
  };
@@ -2796,6 +3074,23 @@ export declare function management(options?: management.Options): import("hono/h
2796
3074
  projectId: string;
2797
3075
  };
2798
3076
  };
3077
+ } | {
3078
+ output: {
3079
+ error: {
3080
+ code: "payment_required" | "rate_limit_exceeded";
3081
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3082
+ message: string;
3083
+ };
3084
+ requestId: string;
3085
+ };
3086
+ outputFormat: "json";
3087
+ status: 429;
3088
+ input: {
3089
+ param: {
3090
+ orgId: string;
3091
+ projectId: string;
3092
+ };
3093
+ };
2799
3094
  } | {
2800
3095
  output: {
2801
3096
  error: {
@@ -2854,14 +3149,14 @@ export declare function management(options?: management.Options): import("hono/h
2854
3149
  $patch: {
2855
3150
  output: {
2856
3151
  error: {
2857
- code: "upstream_error";
3152
+ code: "api_key_malformed";
2858
3153
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2859
3154
  message: string;
2860
3155
  };
2861
3156
  requestId: string;
2862
3157
  };
2863
3158
  outputFormat: "json";
2864
- status: 502;
3159
+ status: 400;
2865
3160
  input: {
2866
3161
  param: {
2867
3162
  orgId: string;
@@ -2875,14 +3170,14 @@ export declare function management(options?: management.Options): import("hono/h
2875
3170
  } | {
2876
3171
  output: {
2877
3172
  error: {
2878
- code: "api_key_malformed";
3173
+ code: "api_key_invalid" | "api_key_missing";
2879
3174
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2880
3175
  message: string;
2881
3176
  };
2882
3177
  requestId: string;
2883
3178
  };
2884
3179
  outputFormat: "json";
2885
- status: 400;
3180
+ status: 401;
2886
3181
  input: {
2887
3182
  param: {
2888
3183
  orgId: string;
@@ -2896,14 +3191,14 @@ export declare function management(options?: management.Options): import("hono/h
2896
3191
  } | {
2897
3192
  output: {
2898
3193
  error: {
2899
- code: "api_key_invalid" | "api_key_missing";
3194
+ code: "api_key_forbidden";
2900
3195
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2901
3196
  message: string;
2902
3197
  };
2903
3198
  requestId: string;
2904
3199
  };
2905
3200
  outputFormat: "json";
2906
- status: 401;
3201
+ status: 403;
2907
3202
  input: {
2908
3203
  param: {
2909
3204
  orgId: string;
@@ -2917,14 +3212,35 @@ export declare function management(options?: management.Options): import("hono/h
2917
3212
  } | {
2918
3213
  output: {
2919
3214
  error: {
2920
- code: "forbidden";
3215
+ code: "payment_required" | "rate_limit_exceeded";
2921
3216
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2922
3217
  message: string;
2923
3218
  };
2924
3219
  requestId: string;
2925
3220
  };
2926
3221
  outputFormat: "json";
2927
- status: 403;
3222
+ status: 429;
3223
+ input: {
3224
+ param: {
3225
+ orgId: string;
3226
+ projectId: string;
3227
+ };
3228
+ } & {
3229
+ json: {
3230
+ name: string;
3231
+ };
3232
+ };
3233
+ } | {
3234
+ output: {
3235
+ error: {
3236
+ code: "upstream_error";
3237
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3238
+ message: string;
3239
+ };
3240
+ requestId: string;
3241
+ };
3242
+ outputFormat: "json";
3243
+ status: 502;
2928
3244
  input: {
2929
3245
  param: {
2930
3246
  orgId: string;
@@ -3026,14 +3342,14 @@ export declare function management(options?: management.Options): import("hono/h
3026
3342
  $delete: {
3027
3343
  output: {
3028
3344
  error: {
3029
- code: "upstream_error";
3345
+ code: "api_key_malformed";
3030
3346
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3031
3347
  message: string;
3032
3348
  };
3033
3349
  requestId: string;
3034
3350
  };
3035
3351
  outputFormat: "json";
3036
- status: 502;
3352
+ status: 400;
3037
3353
  input: {
3038
3354
  param: {
3039
3355
  orgId: string;
@@ -3043,14 +3359,14 @@ export declare function management(options?: management.Options): import("hono/h
3043
3359
  } | {
3044
3360
  output: {
3045
3361
  error: {
3046
- code: "api_key_malformed";
3362
+ code: "api_key_invalid" | "api_key_missing";
3047
3363
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3048
3364
  message: string;
3049
3365
  };
3050
3366
  requestId: string;
3051
3367
  };
3052
3368
  outputFormat: "json";
3053
- status: 400;
3369
+ status: 401;
3054
3370
  input: {
3055
3371
  param: {
3056
3372
  orgId: string;
@@ -3060,14 +3376,14 @@ export declare function management(options?: management.Options): import("hono/h
3060
3376
  } | {
3061
3377
  output: {
3062
3378
  error: {
3063
- code: "api_key_invalid" | "api_key_missing";
3379
+ code: "api_key_forbidden";
3064
3380
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3065
3381
  message: string;
3066
3382
  };
3067
3383
  requestId: string;
3068
3384
  };
3069
3385
  outputFormat: "json";
3070
- status: 401;
3386
+ status: 403;
3071
3387
  input: {
3072
3388
  param: {
3073
3389
  orgId: string;
@@ -3077,14 +3393,31 @@ export declare function management(options?: management.Options): import("hono/h
3077
3393
  } | {
3078
3394
  output: {
3079
3395
  error: {
3080
- code: "forbidden";
3396
+ code: "payment_required" | "rate_limit_exceeded";
3081
3397
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3082
3398
  message: string;
3083
3399
  };
3084
3400
  requestId: string;
3085
3401
  };
3086
3402
  outputFormat: "json";
3087
- status: 403;
3403
+ status: 429;
3404
+ input: {
3405
+ param: {
3406
+ orgId: string;
3407
+ projectId: string;
3408
+ };
3409
+ };
3410
+ } | {
3411
+ output: {
3412
+ error: {
3413
+ code: "upstream_error";
3414
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3415
+ message: string;
3416
+ };
3417
+ requestId: string;
3418
+ };
3419
+ outputFormat: "json";
3420
+ status: 502;
3088
3421
  input: {
3089
3422
  param: {
3090
3423
  orgId: string;
@@ -3144,14 +3477,14 @@ export declare function management(options?: management.Options): import("hono/h
3144
3477
  $post: {
3145
3478
  output: {
3146
3479
  error: {
3147
- code: "upstream_error";
3480
+ code: "api_key_malformed";
3148
3481
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3149
3482
  message: string;
3150
3483
  };
3151
3484
  requestId: string;
3152
3485
  };
3153
3486
  outputFormat: "json";
3154
- status: 502;
3487
+ status: 400;
3155
3488
  input: {
3156
3489
  param: {
3157
3490
  orgId: string;
@@ -3165,14 +3498,14 @@ export declare function management(options?: management.Options): import("hono/h
3165
3498
  } | {
3166
3499
  output: {
3167
3500
  error: {
3168
- code: "api_key_malformed";
3501
+ code: "api_key_invalid" | "api_key_missing";
3169
3502
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3170
3503
  message: string;
3171
3504
  };
3172
3505
  requestId: string;
3173
3506
  };
3174
3507
  outputFormat: "json";
3175
- status: 400;
3508
+ status: 401;
3176
3509
  input: {
3177
3510
  param: {
3178
3511
  orgId: string;
@@ -3186,14 +3519,14 @@ export declare function management(options?: management.Options): import("hono/h
3186
3519
  } | {
3187
3520
  output: {
3188
3521
  error: {
3189
- code: "api_key_invalid" | "api_key_missing";
3522
+ code: "api_key_forbidden";
3190
3523
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3191
3524
  message: string;
3192
3525
  };
3193
3526
  requestId: string;
3194
3527
  };
3195
3528
  outputFormat: "json";
3196
- status: 401;
3529
+ status: 403;
3197
3530
  input: {
3198
3531
  param: {
3199
3532
  orgId: string;
@@ -3207,14 +3540,35 @@ export declare function management(options?: management.Options): import("hono/h
3207
3540
  } | {
3208
3541
  output: {
3209
3542
  error: {
3210
- code: "forbidden";
3543
+ code: "payment_required" | "rate_limit_exceeded";
3211
3544
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3212
3545
  message: string;
3213
3546
  };
3214
3547
  requestId: string;
3215
3548
  };
3216
3549
  outputFormat: "json";
3217
- status: 403;
3550
+ status: 429;
3551
+ input: {
3552
+ param: {
3553
+ orgId: string;
3554
+ };
3555
+ } & {
3556
+ json: {
3557
+ email: string;
3558
+ role: "admin" | "member" | "owner";
3559
+ };
3560
+ };
3561
+ } | {
3562
+ output: {
3563
+ error: {
3564
+ code: "upstream_error";
3565
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3566
+ message: string;
3567
+ };
3568
+ requestId: string;
3569
+ };
3570
+ outputFormat: "json";
3571
+ status: 502;
3218
3572
  input: {
3219
3573
  param: {
3220
3574
  orgId: string;
@@ -3288,6 +3642,27 @@ export declare function management(options?: management.Options): import("hono/h
3288
3642
  role: "admin" | "member" | "owner";
3289
3643
  };
3290
3644
  };
3645
+ } | {
3646
+ output: {
3647
+ error: {
3648
+ code: "forbidden";
3649
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3650
+ message: string;
3651
+ };
3652
+ requestId: string;
3653
+ };
3654
+ outputFormat: "json";
3655
+ status: 403;
3656
+ input: {
3657
+ param: {
3658
+ orgId: string;
3659
+ };
3660
+ } & {
3661
+ json: {
3662
+ email: string;
3663
+ role: "admin" | "member" | "owner";
3664
+ };
3665
+ };
3291
3666
  } | {
3292
3667
  output: {
3293
3668
  createdAt: string;
@@ -3317,14 +3692,14 @@ export declare function management(options?: management.Options): import("hono/h
3317
3692
  $get: {
3318
3693
  output: {
3319
3694
  error: {
3320
- code: "upstream_error";
3695
+ code: "api_key_malformed";
3321
3696
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3322
3697
  message: string;
3323
3698
  };
3324
3699
  requestId: string;
3325
3700
  };
3326
3701
  outputFormat: "json";
3327
- status: 502;
3702
+ status: 400;
3328
3703
  input: {
3329
3704
  param: {
3330
3705
  orgId: string;
@@ -3333,14 +3708,14 @@ export declare function management(options?: management.Options): import("hono/h
3333
3708
  } | {
3334
3709
  output: {
3335
3710
  error: {
3336
- code: "api_key_malformed";
3711
+ code: "api_key_invalid" | "api_key_missing";
3337
3712
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3338
3713
  message: string;
3339
3714
  };
3340
3715
  requestId: string;
3341
3716
  };
3342
3717
  outputFormat: "json";
3343
- status: 400;
3718
+ status: 401;
3344
3719
  input: {
3345
3720
  param: {
3346
3721
  orgId: string;
@@ -3349,14 +3724,14 @@ export declare function management(options?: management.Options): import("hono/h
3349
3724
  } | {
3350
3725
  output: {
3351
3726
  error: {
3352
- code: "api_key_invalid" | "api_key_missing";
3727
+ code: "api_key_forbidden";
3353
3728
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3354
3729
  message: string;
3355
3730
  };
3356
3731
  requestId: string;
3357
3732
  };
3358
3733
  outputFormat: "json";
3359
- status: 401;
3734
+ status: 403;
3360
3735
  input: {
3361
3736
  param: {
3362
3737
  orgId: string;
@@ -3365,14 +3740,30 @@ export declare function management(options?: management.Options): import("hono/h
3365
3740
  } | {
3366
3741
  output: {
3367
3742
  error: {
3368
- code: "forbidden";
3743
+ code: "payment_required" | "rate_limit_exceeded";
3369
3744
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3370
3745
  message: string;
3371
3746
  };
3372
3747
  requestId: string;
3373
3748
  };
3374
3749
  outputFormat: "json";
3375
- status: 403;
3750
+ status: 429;
3751
+ input: {
3752
+ param: {
3753
+ orgId: string;
3754
+ };
3755
+ };
3756
+ } | {
3757
+ output: {
3758
+ error: {
3759
+ code: "upstream_error";
3760
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3761
+ message: string;
3762
+ };
3763
+ requestId: string;
3764
+ };
3765
+ outputFormat: "json";
3766
+ status: 502;
3376
3767
  input: {
3377
3768
  param: {
3378
3769
  orgId: string;
@@ -3436,14 +3827,14 @@ export declare function management(options?: management.Options): import("hono/h
3436
3827
  $delete: {
3437
3828
  output: {
3438
3829
  error: {
3439
- code: "upstream_error";
3830
+ code: "api_key_malformed";
3440
3831
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3441
3832
  message: string;
3442
3833
  };
3443
3834
  requestId: string;
3444
3835
  };
3445
3836
  outputFormat: "json";
3446
- status: 502;
3837
+ status: 400;
3447
3838
  input: {
3448
3839
  param: {
3449
3840
  invitationId: string;
@@ -3453,14 +3844,14 @@ export declare function management(options?: management.Options): import("hono/h
3453
3844
  } | {
3454
3845
  output: {
3455
3846
  error: {
3456
- code: "api_key_malformed";
3847
+ code: "api_key_invalid" | "api_key_missing";
3457
3848
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3458
3849
  message: string;
3459
3850
  };
3460
3851
  requestId: string;
3461
3852
  };
3462
3853
  outputFormat: "json";
3463
- status: 400;
3854
+ status: 401;
3464
3855
  input: {
3465
3856
  param: {
3466
3857
  invitationId: string;
@@ -3470,14 +3861,14 @@ export declare function management(options?: management.Options): import("hono/h
3470
3861
  } | {
3471
3862
  output: {
3472
3863
  error: {
3473
- code: "api_key_invalid" | "api_key_missing";
3864
+ code: "api_key_forbidden";
3474
3865
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3475
3866
  message: string;
3476
3867
  };
3477
3868
  requestId: string;
3478
3869
  };
3479
3870
  outputFormat: "json";
3480
- status: 401;
3871
+ status: 403;
3481
3872
  input: {
3482
3873
  param: {
3483
3874
  invitationId: string;
@@ -3487,14 +3878,31 @@ export declare function management(options?: management.Options): import("hono/h
3487
3878
  } | {
3488
3879
  output: {
3489
3880
  error: {
3490
- code: "forbidden";
3881
+ code: "payment_required" | "rate_limit_exceeded";
3491
3882
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3492
3883
  message: string;
3493
3884
  };
3494
3885
  requestId: string;
3495
3886
  };
3496
3887
  outputFormat: "json";
3497
- status: 403;
3888
+ status: 429;
3889
+ input: {
3890
+ param: {
3891
+ invitationId: string;
3892
+ orgId: string;
3893
+ };
3894
+ };
3895
+ } | {
3896
+ output: {
3897
+ error: {
3898
+ code: "upstream_error";
3899
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3900
+ message: string;
3901
+ };
3902
+ requestId: string;
3903
+ };
3904
+ outputFormat: "json";
3905
+ status: 502;
3498
3906
  input: {
3499
3907
  param: {
3500
3908
  invitationId: string;
@@ -3571,38 +3979,38 @@ export declare function management(options?: management.Options): import("hono/h
3571
3979
  $get: {
3572
3980
  output: {
3573
3981
  error: {
3574
- code: "upstream_error";
3982
+ code: "api_key_malformed";
3575
3983
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3576
3984
  message: string;
3577
3985
  };
3578
3986
  requestId: string;
3579
3987
  };
3580
3988
  outputFormat: "json";
3581
- status: 502;
3989
+ status: 400;
3582
3990
  input: {};
3583
3991
  } | {
3584
3992
  output: {
3585
3993
  error: {
3586
- code: "api_key_malformed";
3994
+ code: "api_key_invalid" | "api_key_missing";
3587
3995
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3588
3996
  message: string;
3589
3997
  };
3590
3998
  requestId: string;
3591
3999
  };
3592
4000
  outputFormat: "json";
3593
- status: 400;
4001
+ status: 401;
3594
4002
  input: {};
3595
4003
  } | {
3596
4004
  output: {
3597
4005
  error: {
3598
- code: "api_key_invalid" | "api_key_missing";
4006
+ code: "upstream_error";
3599
4007
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3600
4008
  message: string;
3601
4009
  };
3602
4010
  requestId: string;
3603
4011
  };
3604
4012
  outputFormat: "json";
3605
- status: 401;
4013
+ status: 502;
3606
4014
  input: {};
3607
4015
  } | {
3608
4016
  output: {
@@ -3639,14 +4047,14 @@ export declare function management(options?: management.Options): import("hono/h
3639
4047
  $post: {
3640
4048
  output: {
3641
4049
  error: {
3642
- code: "upstream_error";
4050
+ code: "api_key_malformed";
3643
4051
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3644
4052
  message: string;
3645
4053
  };
3646
4054
  requestId: string;
3647
4055
  };
3648
4056
  outputFormat: "json";
3649
- status: 502;
4057
+ status: 400;
3650
4058
  input: {
3651
4059
  param: {
3652
4060
  invitationId: string;
@@ -3655,14 +4063,14 @@ export declare function management(options?: management.Options): import("hono/h
3655
4063
  } | {
3656
4064
  output: {
3657
4065
  error: {
3658
- code: "api_key_malformed";
4066
+ code: "api_key_invalid" | "api_key_missing";
3659
4067
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3660
4068
  message: string;
3661
4069
  };
3662
4070
  requestId: string;
3663
4071
  };
3664
4072
  outputFormat: "json";
3665
- status: 400;
4073
+ status: 401;
3666
4074
  input: {
3667
4075
  param: {
3668
4076
  invitationId: string;
@@ -3671,14 +4079,14 @@ export declare function management(options?: management.Options): import("hono/h
3671
4079
  } | {
3672
4080
  output: {
3673
4081
  error: {
3674
- code: "api_key_invalid" | "api_key_missing";
4082
+ code: "upstream_error";
3675
4083
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3676
4084
  message: string;
3677
4085
  };
3678
4086
  requestId: string;
3679
4087
  };
3680
4088
  outputFormat: "json";
3681
- status: 401;
4089
+ status: 502;
3682
4090
  input: {
3683
4091
  param: {
3684
4092
  invitationId: string;
@@ -3687,14 +4095,14 @@ export declare function management(options?: management.Options): import("hono/h
3687
4095
  } | {
3688
4096
  output: {
3689
4097
  error: {
3690
- code: "forbidden";
4098
+ code: "param_invalid";
3691
4099
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3692
4100
  message: string;
3693
4101
  };
3694
4102
  requestId: string;
3695
4103
  };
3696
4104
  outputFormat: "json";
3697
- status: 403;
4105
+ status: 400;
3698
4106
  input: {
3699
4107
  param: {
3700
4108
  invitationId: string;
@@ -3703,14 +4111,14 @@ export declare function management(options?: management.Options): import("hono/h
3703
4111
  } | {
3704
4112
  output: {
3705
4113
  error: {
3706
- code: "param_invalid";
4114
+ code: "forbidden";
3707
4115
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3708
4116
  message: string;
3709
4117
  };
3710
4118
  requestId: string;
3711
4119
  };
3712
4120
  outputFormat: "json";
3713
- status: 400;
4121
+ status: 403;
3714
4122
  input: {
3715
4123
  param: {
3716
4124
  invitationId: string;
@@ -3752,14 +4160,14 @@ export declare function management(options?: management.Options): import("hono/h
3752
4160
  $post: {
3753
4161
  output: {
3754
4162
  error: {
3755
- code: "upstream_error";
4163
+ code: "api_key_malformed";
3756
4164
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3757
4165
  message: string;
3758
4166
  };
3759
4167
  requestId: string;
3760
4168
  };
3761
4169
  outputFormat: "json";
3762
- status: 502;
4170
+ status: 400;
3763
4171
  input: {
3764
4172
  param: {
3765
4173
  invitationId: string;
@@ -3768,14 +4176,14 @@ export declare function management(options?: management.Options): import("hono/h
3768
4176
  } | {
3769
4177
  output: {
3770
4178
  error: {
3771
- code: "api_key_malformed";
4179
+ code: "api_key_invalid" | "api_key_missing";
3772
4180
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3773
4181
  message: string;
3774
4182
  };
3775
4183
  requestId: string;
3776
4184
  };
3777
4185
  outputFormat: "json";
3778
- status: 400;
4186
+ status: 401;
3779
4187
  input: {
3780
4188
  param: {
3781
4189
  invitationId: string;
@@ -3784,14 +4192,14 @@ export declare function management(options?: management.Options): import("hono/h
3784
4192
  } | {
3785
4193
  output: {
3786
4194
  error: {
3787
- code: "api_key_invalid" | "api_key_missing";
4195
+ code: "upstream_error";
3788
4196
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3789
4197
  message: string;
3790
4198
  };
3791
4199
  requestId: string;
3792
4200
  };
3793
4201
  outputFormat: "json";
3794
- status: 401;
4202
+ status: 502;
3795
4203
  input: {
3796
4204
  param: {
3797
4205
  invitationId: string;
@@ -3800,14 +4208,14 @@ export declare function management(options?: management.Options): import("hono/h
3800
4208
  } | {
3801
4209
  output: {
3802
4210
  error: {
3803
- code: "forbidden";
4211
+ code: "param_invalid";
3804
4212
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3805
4213
  message: string;
3806
4214
  };
3807
4215
  requestId: string;
3808
4216
  };
3809
4217
  outputFormat: "json";
3810
- status: 403;
4218
+ status: 400;
3811
4219
  input: {
3812
4220
  param: {
3813
4221
  invitationId: string;
@@ -3816,14 +4224,14 @@ export declare function management(options?: management.Options): import("hono/h
3816
4224
  } | {
3817
4225
  output: {
3818
4226
  error: {
3819
- code: "param_invalid";
4227
+ code: "forbidden";
3820
4228
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3821
4229
  message: string;
3822
4230
  };
3823
4231
  requestId: string;
3824
4232
  };
3825
4233
  outputFormat: "json";
3826
- status: 400;
4234
+ status: 403;
3827
4235
  input: {
3828
4236
  param: {
3829
4237
  invitationId: string;
@@ -3863,14 +4271,14 @@ export declare function management(options?: management.Options): import("hono/h
3863
4271
  $get: {
3864
4272
  output: {
3865
4273
  error: {
3866
- code: "upstream_error";
4274
+ code: "api_key_malformed";
3867
4275
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3868
4276
  message: string;
3869
4277
  };
3870
4278
  requestId: string;
3871
4279
  };
3872
4280
  outputFormat: "json";
3873
- status: 502;
4281
+ status: 400;
3874
4282
  input: {
3875
4283
  param: {
3876
4284
  orgId: string;
@@ -3883,14 +4291,14 @@ export declare function management(options?: management.Options): import("hono/h
3883
4291
  } | {
3884
4292
  output: {
3885
4293
  error: {
3886
- code: "api_key_malformed";
4294
+ code: "api_key_invalid" | "api_key_missing";
3887
4295
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3888
4296
  message: string;
3889
4297
  };
3890
4298
  requestId: string;
3891
4299
  };
3892
4300
  outputFormat: "json";
3893
- status: 400;
4301
+ status: 401;
3894
4302
  input: {
3895
4303
  param: {
3896
4304
  orgId: string;
@@ -3903,14 +4311,34 @@ export declare function management(options?: management.Options): import("hono/h
3903
4311
  } | {
3904
4312
  output: {
3905
4313
  error: {
3906
- code: "api_key_invalid" | "api_key_missing";
4314
+ code: "api_key_forbidden";
3907
4315
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3908
4316
  message: string;
3909
4317
  };
3910
4318
  requestId: string;
3911
4319
  };
3912
4320
  outputFormat: "json";
3913
- status: 401;
4321
+ status: 403;
4322
+ input: {
4323
+ param: {
4324
+ orgId: string;
4325
+ };
4326
+ } & {
4327
+ query?: {
4328
+ environment?: string | string[];
4329
+ } | undefined;
4330
+ };
4331
+ } | {
4332
+ output: {
4333
+ error: {
4334
+ code: "payment_required" | "rate_limit_exceeded";
4335
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4336
+ message: string;
4337
+ };
4338
+ requestId: string;
4339
+ };
4340
+ outputFormat: "json";
4341
+ status: 429;
3914
4342
  input: {
3915
4343
  param: {
3916
4344
  orgId: string;
@@ -3943,14 +4371,14 @@ export declare function management(options?: management.Options): import("hono/h
3943
4371
  } | {
3944
4372
  output: {
3945
4373
  error: {
3946
- code: "forbidden";
4374
+ code: "upstream_error";
3947
4375
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3948
4376
  message: string;
3949
4377
  };
3950
4378
  requestId: string;
3951
4379
  };
3952
4380
  outputFormat: "json";
3953
- status: 403;
4381
+ status: 502;
3954
4382
  input: {
3955
4383
  param: {
3956
4384
  orgId: string;
@@ -4057,14 +4485,14 @@ export declare function management(options?: management.Options): import("hono/h
4057
4485
  $patch: {
4058
4486
  output: {
4059
4487
  error: {
4060
- code: "upstream_error";
4488
+ code: "api_key_malformed";
4061
4489
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4062
4490
  message: string;
4063
4491
  };
4064
4492
  requestId: string;
4065
4493
  };
4066
4494
  outputFormat: "json";
4067
- status: 502;
4495
+ status: 400;
4068
4496
  input: {
4069
4497
  param: {
4070
4498
  orgId: string;
@@ -4089,14 +4517,14 @@ export declare function management(options?: management.Options): import("hono/h
4089
4517
  } | {
4090
4518
  output: {
4091
4519
  error: {
4092
- code: "api_key_malformed";
4520
+ code: "api_key_invalid" | "api_key_missing";
4093
4521
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4094
4522
  message: string;
4095
4523
  };
4096
4524
  requestId: string;
4097
4525
  };
4098
4526
  outputFormat: "json";
4099
- status: 400;
4527
+ status: 401;
4100
4528
  input: {
4101
4529
  param: {
4102
4530
  orgId: string;
@@ -4121,14 +4549,46 @@ export declare function management(options?: management.Options): import("hono/h
4121
4549
  } | {
4122
4550
  output: {
4123
4551
  error: {
4124
- code: "api_key_invalid" | "api_key_missing";
4552
+ code: "api_key_forbidden";
4125
4553
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4126
4554
  message: string;
4127
4555
  };
4128
4556
  requestId: string;
4129
4557
  };
4130
4558
  outputFormat: "json";
4131
- status: 401;
4559
+ status: 403;
4560
+ input: {
4561
+ param: {
4562
+ orgId: string;
4563
+ };
4564
+ } & {
4565
+ query?: {
4566
+ environment?: string | string[];
4567
+ } | undefined;
4568
+ } & {
4569
+ json: {
4570
+ spendLimit?: {
4571
+ amount: string;
4572
+ currency?: "usd" | undefined;
4573
+ period?: "month" | undefined;
4574
+ } | null | undefined;
4575
+ txFeeLimit?: {
4576
+ amount: string;
4577
+ currency?: "usd" | undefined;
4578
+ } | null | undefined;
4579
+ };
4580
+ };
4581
+ } | {
4582
+ output: {
4583
+ error: {
4584
+ code: "payment_required" | "rate_limit_exceeded";
4585
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4586
+ message: string;
4587
+ };
4588
+ requestId: string;
4589
+ };
4590
+ outputFormat: "json";
4591
+ status: 429;
4132
4592
  input: {
4133
4593
  param: {
4134
4594
  orgId: string;
@@ -4185,14 +4645,14 @@ export declare function management(options?: management.Options): import("hono/h
4185
4645
  } | {
4186
4646
  output: {
4187
4647
  error: {
4188
- code: "forbidden";
4648
+ code: "upstream_error";
4189
4649
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4190
4650
  message: string;
4191
4651
  };
4192
4652
  requestId: string;
4193
4653
  };
4194
4654
  outputFormat: "json";
4195
- status: 403;
4655
+ status: 502;
4196
4656
  input: {
4197
4657
  param: {
4198
4658
  orgId: string;
@@ -4391,14 +4851,14 @@ export declare function management(options?: management.Options): import("hono/h
4391
4851
  $post: {
4392
4852
  output: {
4393
4853
  error: {
4394
- code: "upstream_error";
4854
+ code: "api_key_malformed";
4395
4855
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4396
4856
  message: string;
4397
4857
  };
4398
4858
  requestId: string;
4399
4859
  };
4400
4860
  outputFormat: "json";
4401
- status: 502;
4861
+ status: 400;
4402
4862
  input: {
4403
4863
  param: {
4404
4864
  orgId: string;
@@ -4411,14 +4871,14 @@ export declare function management(options?: management.Options): import("hono/h
4411
4871
  } | {
4412
4872
  output: {
4413
4873
  error: {
4414
- code: "api_key_malformed";
4874
+ code: "api_key_invalid" | "api_key_missing";
4415
4875
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4416
4876
  message: string;
4417
4877
  };
4418
4878
  requestId: string;
4419
4879
  };
4420
4880
  outputFormat: "json";
4421
- status: 400;
4881
+ status: 401;
4422
4882
  input: {
4423
4883
  param: {
4424
4884
  orgId: string;
@@ -4431,14 +4891,34 @@ export declare function management(options?: management.Options): import("hono/h
4431
4891
  } | {
4432
4892
  output: {
4433
4893
  error: {
4434
- code: "api_key_invalid" | "api_key_missing";
4894
+ code: "api_key_forbidden";
4435
4895
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4436
4896
  message: string;
4437
4897
  };
4438
4898
  requestId: string;
4439
4899
  };
4440
4900
  outputFormat: "json";
4441
- status: 401;
4901
+ status: 403;
4902
+ input: {
4903
+ param: {
4904
+ orgId: string;
4905
+ };
4906
+ } & {
4907
+ query?: {
4908
+ environment?: string | string[];
4909
+ } | undefined;
4910
+ };
4911
+ } | {
4912
+ output: {
4913
+ error: {
4914
+ code: "payment_required" | "rate_limit_exceeded";
4915
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4916
+ message: string;
4917
+ };
4918
+ requestId: string;
4919
+ };
4920
+ outputFormat: "json";
4921
+ status: 429;
4442
4922
  input: {
4443
4923
  param: {
4444
4924
  orgId: string;
@@ -4471,14 +4951,14 @@ export declare function management(options?: management.Options): import("hono/h
4471
4951
  } | {
4472
4952
  output: {
4473
4953
  error: {
4474
- code: "forbidden";
4954
+ code: "upstream_error";
4475
4955
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4476
4956
  message: string;
4477
4957
  };
4478
4958
  requestId: string;
4479
4959
  };
4480
4960
  outputFormat: "json";
4481
- status: 403;
4961
+ status: 502;
4482
4962
  input: {
4483
4963
  param: {
4484
4964
  orgId: string;
@@ -4570,14 +5050,14 @@ export declare function management(options?: management.Options): import("hono/h
4570
5050
  $post: {
4571
5051
  output: {
4572
5052
  error: {
4573
- code: "upstream_error";
5053
+ code: "api_key_malformed";
4574
5054
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4575
5055
  message: string;
4576
5056
  };
4577
5057
  requestId: string;
4578
5058
  };
4579
5059
  outputFormat: "json";
4580
- status: 502;
5060
+ status: 400;
4581
5061
  input: {
4582
5062
  param: {
4583
5063
  orgId: string;
@@ -4590,14 +5070,14 @@ export declare function management(options?: management.Options): import("hono/h
4590
5070
  } | {
4591
5071
  output: {
4592
5072
  error: {
4593
- code: "api_key_malformed";
5073
+ code: "api_key_invalid" | "api_key_missing";
4594
5074
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4595
5075
  message: string;
4596
5076
  };
4597
5077
  requestId: string;
4598
5078
  };
4599
5079
  outputFormat: "json";
4600
- status: 400;
5080
+ status: 401;
4601
5081
  input: {
4602
5082
  param: {
4603
5083
  orgId: string;
@@ -4610,14 +5090,34 @@ export declare function management(options?: management.Options): import("hono/h
4610
5090
  } | {
4611
5091
  output: {
4612
5092
  error: {
4613
- code: "api_key_invalid" | "api_key_missing";
5093
+ code: "api_key_forbidden";
4614
5094
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4615
5095
  message: string;
4616
5096
  };
4617
5097
  requestId: string;
4618
5098
  };
4619
5099
  outputFormat: "json";
4620
- status: 401;
5100
+ status: 403;
5101
+ input: {
5102
+ param: {
5103
+ orgId: string;
5104
+ };
5105
+ } & {
5106
+ query?: {
5107
+ environment?: string | string[];
5108
+ } | undefined;
5109
+ };
5110
+ } | {
5111
+ output: {
5112
+ error: {
5113
+ code: "payment_required" | "rate_limit_exceeded";
5114
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5115
+ message: string;
5116
+ };
5117
+ requestId: string;
5118
+ };
5119
+ outputFormat: "json";
5120
+ status: 429;
4621
5121
  input: {
4622
5122
  param: {
4623
5123
  orgId: string;
@@ -4650,14 +5150,14 @@ export declare function management(options?: management.Options): import("hono/h
4650
5150
  } | {
4651
5151
  output: {
4652
5152
  error: {
4653
- code: "forbidden";
5153
+ code: "upstream_error";
4654
5154
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4655
5155
  message: string;
4656
5156
  };
4657
5157
  requestId: string;
4658
5158
  };
4659
5159
  outputFormat: "json";
4660
- status: 403;
5160
+ status: 502;
4661
5161
  input: {
4662
5162
  param: {
4663
5163
  orgId: string;
@@ -4769,14 +5269,14 @@ export declare function management(options?: management.Options): import("hono/h
4769
5269
  $get: {
4770
5270
  output: {
4771
5271
  error: {
4772
- code: "upstream_error";
5272
+ code: "api_key_malformed";
4773
5273
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4774
5274
  message: string;
4775
5275
  };
4776
5276
  requestId: string;
4777
5277
  };
4778
5278
  outputFormat: "json";
4779
- status: 502;
5279
+ status: 400;
4780
5280
  input: {
4781
5281
  param: {
4782
5282
  orgId: string;
@@ -4789,14 +5289,14 @@ export declare function management(options?: management.Options): import("hono/h
4789
5289
  } | {
4790
5290
  output: {
4791
5291
  error: {
4792
- code: "api_key_malformed";
5292
+ code: "api_key_invalid" | "api_key_missing";
4793
5293
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4794
5294
  message: string;
4795
5295
  };
4796
5296
  requestId: string;
4797
5297
  };
4798
5298
  outputFormat: "json";
4799
- status: 400;
5299
+ status: 401;
4800
5300
  input: {
4801
5301
  param: {
4802
5302
  orgId: string;
@@ -4809,14 +5309,34 @@ export declare function management(options?: management.Options): import("hono/h
4809
5309
  } | {
4810
5310
  output: {
4811
5311
  error: {
4812
- code: "api_key_invalid" | "api_key_missing";
5312
+ code: "api_key_forbidden";
4813
5313
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4814
5314
  message: string;
4815
5315
  };
4816
5316
  requestId: string;
4817
5317
  };
4818
5318
  outputFormat: "json";
4819
- status: 401;
5319
+ status: 403;
5320
+ input: {
5321
+ param: {
5322
+ orgId: string;
5323
+ };
5324
+ } & {
5325
+ query?: {
5326
+ environment?: string | string[];
5327
+ } | undefined;
5328
+ };
5329
+ } | {
5330
+ output: {
5331
+ error: {
5332
+ code: "payment_required" | "rate_limit_exceeded";
5333
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5334
+ message: string;
5335
+ };
5336
+ requestId: string;
5337
+ };
5338
+ outputFormat: "json";
5339
+ status: 429;
4820
5340
  input: {
4821
5341
  param: {
4822
5342
  orgId: string;
@@ -4849,14 +5369,14 @@ export declare function management(options?: management.Options): import("hono/h
4849
5369
  } | {
4850
5370
  output: {
4851
5371
  error: {
4852
- code: "forbidden";
5372
+ code: "upstream_error";
4853
5373
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4854
5374
  message: string;
4855
5375
  };
4856
5376
  requestId: string;
4857
5377
  };
4858
5378
  outputFormat: "json";
4859
- status: 403;
5379
+ status: 502;
4860
5380
  input: {
4861
5381
  param: {
4862
5382
  orgId: string;
@@ -4960,14 +5480,14 @@ export declare function management(options?: management.Options): import("hono/h
4960
5480
  $delete: {
4961
5481
  output: {
4962
5482
  error: {
4963
- code: "upstream_error";
5483
+ code: "api_key_malformed";
4964
5484
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4965
5485
  message: string;
4966
5486
  };
4967
5487
  requestId: string;
4968
5488
  };
4969
5489
  outputFormat: "json";
4970
- status: 502;
5490
+ status: 400;
4971
5491
  input: {
4972
5492
  param: {
4973
5493
  methodId: string;
@@ -4981,14 +5501,14 @@ export declare function management(options?: management.Options): import("hono/h
4981
5501
  } | {
4982
5502
  output: {
4983
5503
  error: {
4984
- code: "api_key_malformed";
5504
+ code: "api_key_invalid" | "api_key_missing";
4985
5505
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4986
5506
  message: string;
4987
5507
  };
4988
5508
  requestId: string;
4989
5509
  };
4990
5510
  outputFormat: "json";
4991
- status: 400;
5511
+ status: 401;
4992
5512
  input: {
4993
5513
  param: {
4994
5514
  methodId: string;
@@ -5002,14 +5522,35 @@ export declare function management(options?: management.Options): import("hono/h
5002
5522
  } | {
5003
5523
  output: {
5004
5524
  error: {
5005
- code: "api_key_invalid" | "api_key_missing";
5525
+ code: "api_key_forbidden";
5006
5526
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5007
5527
  message: string;
5008
5528
  };
5009
5529
  requestId: string;
5010
5530
  };
5011
5531
  outputFormat: "json";
5012
- status: 401;
5532
+ status: 403;
5533
+ input: {
5534
+ param: {
5535
+ methodId: string;
5536
+ orgId: string;
5537
+ };
5538
+ } & {
5539
+ query?: {
5540
+ environment?: string | string[];
5541
+ } | undefined;
5542
+ };
5543
+ } | {
5544
+ output: {
5545
+ error: {
5546
+ code: "payment_required" | "rate_limit_exceeded";
5547
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5548
+ message: string;
5549
+ };
5550
+ requestId: string;
5551
+ };
5552
+ outputFormat: "json";
5553
+ status: 429;
5013
5554
  input: {
5014
5555
  param: {
5015
5556
  methodId: string;
@@ -5044,14 +5585,14 @@ export declare function management(options?: management.Options): import("hono/h
5044
5585
  } | {
5045
5586
  output: {
5046
5587
  error: {
5047
- code: "forbidden";
5588
+ code: "upstream_error";
5048
5589
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5049
5590
  message: string;
5050
5591
  };
5051
5592
  requestId: string;
5052
5593
  };
5053
5594
  outputFormat: "json";
5054
- status: 403;
5595
+ status: 502;
5055
5596
  input: {
5056
5597
  param: {
5057
5598
  methodId: string;